1 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * buffer_funcs.C (setCounter): put the code to compute enum label
4 here (where it belongs).
6 * counters.C (enumLabel): move code to buffer_funcs.C.
8 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
10 * outputparams.[Ch]: store local_font instead of local_language
11 * paragraph.C (simpleTeXOnePar): adapt to the change above
13 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
16 * counters.[Ch]: clean up special code for Hebrew.
18 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
23 2005-09-08 Angus Leeming <leeming@lyx.org>
26 * lyxrc.C: correct grammar describing invocation of the
29 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * text.C (read): remove unused variable.
32 (readParToken): remove static Change variable (never good in
33 recursive settings...); add it as a parameter instead.
35 * paragraph_pimpl.C (acceptChange): make debug info conditional.
37 * metricsinfo.C (PainterInfo): add new member erased_.
39 * rowpainter.C (RowPainter): add erased_ member, initialized from
41 (paintInset): pass erased_ to Inset::draw.
43 * lyxfunc.C (lookupChange): new function. Tells whether change
44 tracking is disabled at a given postion.
45 (getStatus): disable some actions when in deleted text with change
48 2005-08-03 John Levon <levon@movementarian.org>
50 * tabular.C (appendColumn, setMultiColumn): adapt to change to
53 * paragraph_pimpl.C (markErased): add bool argument and handle it.
54 Also make sure to mark insets recursively.
55 (rejectChange, erase): be recursive
57 * paragraph.C (markErased): add bool argument.
58 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * lyxfind.C (findNextChange): tiny cleanup.
62 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
63 change tracking with the cursor in an inset; make sure the first
64 change is not skipped.
66 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
68 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
69 tabularStackDirty to work around bug 1919 (tabular needs
70 to know whether its own cell paste buffer or the one of
72 * CutAndPaste.C: mark tabular_stack_ clean after copy.
74 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
76 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
78 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
80 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
81 use old deleteion algorithm when changetracking is on.
83 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
85 * messages.C (get): add debug output.
87 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
89 * text.C (cursorX): fix bug 1965: cursor movement at
90 line end broken in RtL.
91 (drawSelection): fix bug 1970: drawing of single-line
92 selection broken for RtL.
94 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
98 * dociterator.h (clear, push_back, pop_back): change from
101 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
102 and changed to just return the value of the item depth; take a
103 ParIterator as argument; take the itemdepth at outer nesting level
104 in account if necessary; cleanup and comment the code.
105 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
106 and changed to just return true if reset is needed; take a
107 ParIterator as argument; cleanup and comment the code.
108 (setCounter): adapt to above changes.
110 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * text3.C (dispatch): make debug message optional
114 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
116 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
119 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
121 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
123 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
125 * text.C (insertChar):
126 * text2.C (deleteEmptyParagraphMechanism): take care whether
127 a blank has been deleted (in change tracking mode) (bug 1254).
129 2005-07-20 John Levon <levon@movementarian.org>
131 * text2.C (insertStringAsLines): remove old dubious code,
134 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
136 * MenuBackend.C (expandToc): use Floating::listName() as title of
139 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
141 * toc.[Ch]: Do not use translatable strings (bug 1870).
143 2005-07-20 John Levon <levon@movementarian.org>
145 * tabular.C: fix 1748 - setting multicolumn adds
146 left line to the first cell
148 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
151 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
154 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
156 * messages.C: supress some lyxerr messages
158 2005-07-18 Juergen Vigna <jug@lyx.org>
160 * text.C (drawSelection): honor boundary when asking for cursorX.
162 2005-07-17 José Matos <jamatos@fc.up.pt>
164 * tabular.C (recalculateMulticolumns): fix handling of one column
167 2005-07-17 Juergen Vigna <jug@lyx.org>
169 * text.C (Delete, backspace): fixed so that paragraph with the
170 same layout can be merged by Delete/Backspace.
172 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
174 * text.C (readParToken): fix spelling.
176 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
178 * text2.C: fix counter update for DEPM problem reported by
181 2005-07-17 Juergen Vigna <jug@lyx.org>
183 * BufferView_pimpl.C (setBuffer): save/restore the
184 cursor/selection when switching buffers
187 * buffer.C (saveCursor): add saveDocumentIterators to save the
188 cursor when switching buffer.
190 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
193 * buffer.C: clarify message
195 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
197 * dociterator.C (DocIterator): fix initialization order
199 2005-07-17 Juergen Vigna <jug@lyx.org>
201 * text2.C (cursorHome):
202 * text.C (drawSelection, cursorX):
203 * dociterator.C (textRow): add boundary to getRow() call
205 * paragraph.C (getRow): implementation of below
207 * paragraph.h: add parameter boundary for getRow() function
209 2005-07-17 José Matos <jamatos@fc.up.pt>
213 * tex-strings.[Ch]: new file format, remove support for a4.sty,
214 a4wide.sty and a4widemargins.
216 2005-07-17 Juergen Vigna <jug@lyx.org>
218 * text2.C (cursorLeft): fix one of error
220 2005-07-17 Juergen Vigna <jug@lyx.org>
222 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
224 more fixes for boundary handling
226 * text3.C (dispatch): don't reset cursor if boundary has changed
229 2005-07-16 Juergen Vigna <jug@lyx.org>
231 * text2.C (getColumnNearX): hopefully got it right now,
232 check if we are on column 0 for special case.
234 2005-07-16 Juergen Vigna <jug@lyx.org>
236 * text2.C (getColumnNearX): handle special case Newline Inset
238 * text.C (singleWidth): Just remove bogus check
240 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
242 * funcrequest.C (split): avoid reading uninitialized char c
244 2005-07-16 José Matos <jamatos@fc.up.pt>
250 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
251 single papersize variable.
253 2005-07-16 Juergen Vigna <jug@lyx.org>
255 * text3.C (dispatch): honor boundary when checking if a cursor
256 movement has been done
258 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
259 (setCursor, setCursorIntern): fix cursor movement with boundary
261 2005-07-16 Juergen Vigna <jug@lyx.org>
263 * text.C (currentState): output the actual Boundary
265 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
267 * factory.C (createInset): fix bad logic for tabular creation
269 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
271 * lyx_main.C (init): change some reLyX reference to tex2lyx
273 2005-07-16 Juergen Vigna <jug@lyx.org>
275 * dociterator.C (DocIterator): initialize boundary
277 2005-07-16 Juergen Vigna <jug@lyx.org>
279 * text2.C (getColumnNearX): Consider rows without trailing blank.
281 2005-07-16 André Pönitz <poenitz@gmx.net>
283 * lyxfont.h: Change order of declarations to give the compiler
284 a better chance to inline things
286 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
287 questions on unsaved docs for better scritability
289 2005-07-16 André Pönitz <poenitz@gmx.net>
291 * paragraph.h (getChar): remove asserts as the same kind of security
292 can be achieved by using a suitable standard library implementation
293 and the function was in the critical path (25.9% in profiler)
295 2005-07-16 Juergen Vigna <jug@lyx.org>
297 * cursor.C (bruteFind2):
298 * bufferview_funcs.C (coordOffset):
299 * text.C (cursorX,cursorY): Handle cursor position after last char
300 in row before a inset which uses a whole row.
302 2005-07-15 José Matos <jamatos@lyx.org>
304 * output_plaintext.[Ch] (writeFileAscii): control reference title
306 (asciiParagraph): noparbreak was already deal and was incorrectly
309 2005-07-15 Juergen Vigna <jug@lyx.org>
311 * lyxfunc.C (dispatch): save and restore the cursor after a
314 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
316 * text.C (backspace): bug 806 for empty keepempty paragraphs we
317 change the layout to default before letting DEPM do its thing.
319 * paragraph_funcs.C (breakParagraph): dont reset the layout on
322 * text.C (setCursorFromCoordinates): add a debug statement
324 * text2.C (getColumnNearX): bug 1825 make sure that we don't
325 return a pos that is not on the row
327 * output_latex.C (TeXDeeper): get rid of potential dereferencing
328 of past the end iterator
330 2005-07-14 André Pönitz <poenitz@gmx.net>
332 * undo.C (recordUndoFullBuffer): implement undo for
335 2005-07-14 André Pönitz <poenitz@gmx.net>
337 * cursor.C (setSelection): open insets when selection is set there
338 to avoid crashs with cold coord cache
340 2005-07-14 André Pönitz <poenitz@gmx.net>
342 * trans_mgr.C (insert): move cursor to the right after inserting
345 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
347 * BufferView_pimpl.C (update): dampen some of the debug blabbering
348 * factory.C (readInset): ditto
349 * text.C, text2.C: ditto
351 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * buffer.C: format incremented to 242. There is no file format per
354 se, but the "frenchb" language has been removed from lib/language
355 and has to be translated to "french" by lyx2lyx.
357 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
359 * cursor_slice.h, dociterator.h: add some documentation
360 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
362 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
364 * text.C (leftMargin): do not add identation to display() style
365 insets, because they are always centered (bug 1293).
367 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
369 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
370 formatted_time methods in support/lyxtime.
372 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
374 * toc.[Ch]: new method getGuiName, which is used by the frontends
375 to set the toc combo (fixes bug 1870). Make TOC string translatable.
377 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
379 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
380 StableDocIterator const &)
381 * undo.C (recordUndo): use the above instead of cell.size() comparison
382 (fixes bug 1808; instructed by Andr�.
384 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
387 * dociterator.h: Fix the assert when copying rows/cols in math
389 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
391 * BufferView_pimpl.C:
393 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
395 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
396 (findInset): new functions, refactored from goto Inset that return
397 the position of a certain inset without setting the buffer's cursor
399 (gotoInset): rewrite to call findInset and then set the cursor
402 2005-06-16 Angus Leeming <leeming@lyx.org>
404 * lyxrc.C (output, read): wrap all input and output of paths with
405 calls to os::internal_path and os::external_path, respectively.
406 (output): wrap bind_file inside quotes.
408 * format.C (view): enable the viewer to use the '$$s' placeholder.
410 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
412 * LColor.[Ch] (getFromLaTeXName): new
414 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
416 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
418 2005-06-14 Angus Leeming <leeming@lyx.org>
420 * lyx_main.C (init): ensure that the LyX binary dir is the first
421 element in the PATH on non-POSIX builds.
423 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
425 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
427 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * rowpainter.C (paintInset, paintHebrewComposeChar)
430 (paintArabicComposeChar, paintChars): add a LyXFont argument.
431 (paintChars): use getFontSpan to reduce calls to getFont to a
432 minimum; use Paragraph::lookupChange instead of isXXXText.
433 (paintForeignMark): rename LyXFont argument.
434 (paintFromPos): pass a LyXFont object to the various paintXXX
437 * FontIterator.C (FontIterator, operator++): use
438 Paragraph::getFontSpan
440 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
441 version that returns the font span as a pair.
443 2005-06-09 Angus Leeming <leeming@lyx.org>
445 * converter.C (convert): Don't forget "outfile = real_outfile" as
446 the final step in a conversion where the input and output file names
447 are the same. Otherwise, future conversion steps won't work...
449 2005-06-09 Angus Leeming <leeming@lyx.org>
451 * lyxsocket.C: remove stub code as it isn't needed by
452 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
454 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
456 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
457 effectively disabled -x
459 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
461 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
462 when it actually makes sense.
464 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
466 * BufferView_pimpl.C: revert to showCursor in connection with
467 Lars's front-end stack
469 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
471 * text.C (redoParagraph): move cursor right after a bibitem
474 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
476 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * buffer_funcs.C (bufferErrors): fix computation of the end of an
481 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
483 * BufferView.[Ch] (update):
484 * BufferView_pimpl.[Ch] (update, metrics):
485 * dimension.h (operator==):
486 * lyxfunc.C (dispatch):
487 * metricsinfo.h (ViewMetricsInfo):
488 * rowpainter.C (paintText):
490 * text.C (redoParagraph):
491 * text3.C (dispatch): Make LyX only repaint current paragraph in
492 case of character insert --> speedup. Also fix cursor draw
495 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
497 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
498 avoid a crash (bug 1891)
500 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
504 * text2.C (getStringToIndex): constify cur argument.
506 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
507 argument has been given
508 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
509 try to invoke LFUN_INSET_APPLY).
511 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
512 if no inset was created by doInsertInset
513 (doInsertInset): return true if an inset has been inserted.
515 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * vspace.C (asGUIName): new method. A version of the space
518 suitable for showing on screen.
520 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
523 * lyxrc.C: rename "ASCII" to "Plain Text"
525 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * buffer_funcs.C (expandLabel): take a Buffer as argument;
528 translate the labelstring.
529 (setCounter): translate labelstring as needed.
531 * output_docbook.C (makeCommand): fix expandLabel invokation
533 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
535 * BufferView.C: fix dialog title
537 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
539 * lyx_main.C (priv_exec): fix logic error with help from Angus
540 * lyx_main.C (parse_execute): set is_gui = false and remove now
541 obsolete comment about a segfault
543 2005-05-18 Angus Leeming <leeming@lyx.org>
545 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
547 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
549 * tabular.[hC]: added setCellInset to fix tabular paste.
551 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
553 * buffer.C (save): check if destination is writable before trying
556 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
558 * BufferView_pimpl.C (update): fix processEvents -caused update
561 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
563 * buffer_funcs.C (setCounter): fix test for numbering of
566 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
567 depth correctly; use optional argument when it exists
569 * lyxtextclass.C: remove unused MaxCounterTags enum
570 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
571 (max_toclevel, min_toclevel): new methods.
573 * MenuBackend.C (expandToc2): fix case where depth is smaller than
574 the smallest depth in toc.
576 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
577 layouts that should not appear in a table of contents.
579 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
581 * cursor.h (undispatched, noUpdate): add comments from Andr�
582 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
586 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
588 2005-05-07 André Pönitz <poenitz@gmx.net>
590 * cursor.[Ch] (leaveInset): new function
592 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
594 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
596 2005-05-04 Angus Leeming <leeming@lyx.org>
598 * lyxfunc.C (getStatus): disable the spell checker dialog if
599 none of USE_[AIP]SPELL are defined.
601 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
603 * tabular.C (setWidthOfCell): remove obsolete comment
605 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
607 * paragraph.C (bibitem):
608 * buffer_funcs.C (setCounter):
609 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
611 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
613 * text3.C (getStatus): immediately return after setOnOff
615 * rowpainter.C: fix drawing of appendix start
617 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
619 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
620 SwitchBetweenClasses and remove the unused return value.
621 Handle character styles, too
623 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
625 * factory.C (createInset): handle undefined character styles
627 2005-05-02 Angus Leeming <leeming@lyx.org>
629 * buffer.C: protect the #include of utime.h with a preprocessor
632 2005-05-02 Angus Leeming <leeming@lyx.org>
634 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
635 function so that auto-saving works, albeit in a blocking manner.
637 * Makefile.am: make compilation of the client sub directory, of
638 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
639 on conditionals set at configure time.
641 * SpellBase.[Ch]: no longer an abstract base class. Instead,
642 it can be compiled in its own right but has no-op functionality.
644 * aspell.C, pspell.C: remove preprocessor guards. The files should
645 be compiled only if the necessary functionality exists.
647 * lyxserver.C, lyxsocket.C: disable on Windows.
649 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
651 * text.C (leftMargin): Fix the parindent use bug (1764)
654 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
656 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
659 2005-04-25 Angus Leeming <leeming@lyx.org>
667 include <config.h> in .C files, not .h ones.
669 protect headers inside preprocessor guards.
671 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
673 * FuncStatus.h (StatusCodes): document
675 2005-04-21 André Pönitz <poenitz@gmx.net>
677 * FuncStatus.h (enabled, onoff): document
679 2005-04-19 Angus Leeming <leeming@lyx.org>
681 * BufferView_pimpl.C (cursorToggle): no longer test whether
682 any child processes have been reaped before calling
683 handleCompletedProcesses().
685 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
687 * text3.C (dispatch): fix, finally fix, the language problem in
688 new lyxtexts, without disabling on-the-fly font changes (Helge's
691 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
693 * text3.C (dispatch): set cursor on double/triple click events
696 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
699 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
701 * rowpainter.C (paintFirst): simplify the code a little bit. In
702 particular, remove the test for secnumdepth.
703 * text.C (setHeightOfRow): only allocate space for chapter number
704 when updateCounters provided an actual label, instead of looking
705 at secnumdepth directly.
707 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
709 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
710 paragraphs when secnumdepth is large enough or, for environments,
711 when they are not the first in a sequence.
713 2005-04-17 Angus Leeming <leeming@lyx.org>
715 * buffer.C (makeLaTeXFile): replace code to manipulate a path
716 containing space and '~' characters with a call to latex_path().
718 2005-04-17 Angus Leeming <leeming@lyx.org>
720 * converter.C (convert): protect all args of convertDefault.sh
723 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * text3.C (dispatch): change the layout to "Caption" after inserting
728 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
730 * text3.C (dispatch): fix language problem in newly created
731 textinsets (and main text) in non-english docs
733 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
735 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
736 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
737 * text3.C (getStatus): disable LFUN_INSET_MODIFY
739 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
744 * rowpainter.C (getFont): Fix metrics bug introduced by inset
747 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
749 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
750 output of \item arguments without trailing text.
752 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
754 * FontIterator.C (operator*): avoid a copy of the font.
756 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
758 * rowpainter.C (getFont): fix language bug from previous fix
760 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
762 * rowpainter.C (RowPainter, getFont): fix font inside inset
765 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
767 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
768 preventing inserted font, deco, delim insets jumping to start of
771 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * lyxfunc.C (dispatch): translate message before sending it to the
776 2005-03-29 Angus Leeming <leeming@lyx.org>
778 * lyx_main.C (priv_exec): call os::internal_path on each file passed
779 to LyX on the command line.
781 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
783 * vc-backend.C: use QuoteName to protect file names wherever
786 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
789 * BranchList.h: fix bugs 1844,1845: document settings don't
792 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
794 * lyxrc.C (setDefaults, read, output, getDescription): add support
795 for tex_allows_spaces.
797 * exporter.C (Export): allows files in directory containing spaces
798 if tex_allows_spaces is true.
800 * buffer.C (makeLaTeXFile): if the document path contains spaces,
801 output it in double quotes.
803 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
805 * rowpainter.C: use default text height for drawing change tracker
808 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
810 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
812 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
815 directory is missing.
817 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
819 * text2.C: fixed the fix, extended to other case.
821 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
823 * text2.C: fix for cursor up/down stuck in math [bug 1792]
825 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
827 * text2.C (cursorUp): get rid of a crash
828 * text.C (x2pos): add an assert
830 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
832 * lyxfunc.C (getStatus): fix warning when assertions are disabled
836 * dociterator.C: include <boost/current_function.hpp>, which is
837 needed when assertions are disabled.
839 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
841 * text2.C: fix for stuck cursor when traversing two
842 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
844 2005-02-25 Andreas Vox <avox@arcor.de>
846 * output_docbook.C (makeParagraph): suppress trailing newline
847 after a run of paragraphs
849 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
851 * paragraph.C: fix for confused change tracker when pasting
852 text that begins with a lineseparator. [bug 1827]
853 (setChange(0, Change::INSERTED);)
855 * paragraph_funcs.C: fix for lost changes on triple-paste
856 in change tracking mode [bug 1827] (par.setChange()).
858 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * text2.C (updateCounters, setCounter, expandLabel): move to
863 * buffer_funcs.C (updateCounters): turn into a free standing
864 function and add a buffer parameter. Remove dead code for tracking
866 (setCounter): change into a free-standing function which gets a
867 dociterator as argument. Use this iterator to fix captions in a
868 simple way. When no float is found above the caption, use the
869 labelstring of the caption layout as default.
871 * text.C (breakParagraph, backspace):
872 * text2.C (init, setLayout, changeDepth):
873 * text3.C (dispatch):
874 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
877 * dociterator.C (forwardPar): make it much faster by calling
878 forwardPos() only when really necessary.
880 * output_docbook.C (makeCommand): adapt to expandLabel move.
882 * cursor.C: remove unused variable
884 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
886 * paragraph_funcs.C: fix crash when pasting insets in change
887 tracking mode [bug 1277] (honour change type in moveItem).
889 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
891 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
893 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 * BufferView.C (setCursor): change to use a DocIterator.
896 (gotoLabel): use BufferView::setCursor (other part of bug 781).
897 (putSelectionAt): adapt to BufferView::setCursor change.
899 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
900 moved here from LyXText and rewritten to use proper cursor
901 methods. Fixes bug 1787, 616 and 835.
903 * BufferView_pimpl.C (restorePosition): set the cursor correctly
904 when inside an inset (part of bug 781).
905 (dispatch): adapt to change of BufferView::setCursor.
906 (getStatus, dispatch): handle LFUN_GOTOERROR,
907 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
909 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
910 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
911 * text3.C (gotoNextInset, gotoInset): removed.
913 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
917 2005-02-15 Angus Leeming <leeming@lyx.org>
919 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
920 can be used meaningfully in a comparison.
922 2005-02-13 André Pönitz <poenitz@gmx.net>
924 * bufferview_funcs.C (coordOffset): improve cursor drawing
926 2005-02-13 André Pönitz <poenitz@gmx.net>
928 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
929 * Cursor.C (dispatch): use fixIfBroken
930 * lyxfunc.C (getStatus): use fixIfBroken
932 2005-02-15 Angus Leeming <leeming@lyx.org>
934 * lyx_main.C (error_handler):
936 * lyxrc.C (setDefaults):
938 #include "environment.h".
940 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
942 2005-02-15 Angus Leeming <leeming@lyx.org>
944 * lyxserver.C (startPipe): squash MSVC warning "local variable
945 'fd' used without having been initialized".
947 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
949 * BufferView_pimpl.C: revert accidental commit.
951 2005-02-14 André Pönitz <poenitz@gmx.net>
953 * dociterator.[Ch]: new member forwardPosNoDescent(),
954 which doesn't enter nested insets.
955 * text2.C (setFont): use forwardPosNoDescent() instead
956 of ForwardPos() (fixes crash on font change).
958 2005-02-13 Angus Leeming <leeming@lyx.org>
960 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
961 only if lyxrc.path_prefix is not empty.
963 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
965 * bufferparams.C (readGraphicsDriver): prevent crash
967 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
969 * text2.C (setCounter): check for inInset() == 0
971 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
973 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
974 but use update() to get correct screen display; use convert
975 instead of istringstream.
976 (getStatus): handle LFUN_GOTO_PARAGRAPH
978 * lyxfunc.C (dispatch, getStatus): do not handle
979 LFUN_GOTO_PARAGRAPH here.
981 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
983 * text3.C (dispatch): size() -> depth()
985 * text2.C: remove some debug output
987 * paragraph.C: ws changes only
989 * lyxfunc.C (getStatus): size() -> depth()
991 * dociterator.h (clear, push_back, pop_back, internalData,
992 operator[], resize, empty): new functions
993 Make StableDocIterator and operator== be friends. Don't inherit
994 from std::vector use a privat class variable slices_ instead.
997 * dociterator.C: update because of not inheriting from std::vector
998 anymore. Call explictly to slices_ instead. Use depth() instead of
999 size() and top() instead of back()
1001 * cursor.C: chagne size() -> depth and back() -> top(). Also
1002 remove some direct operator[](i) calls in favour of foo[i]
1003 (getFont): remove some dead code
1005 * bufferview_funcs.C (coordOffset): size() -> depth()
1007 * buffer.C: ws changes only
1009 * CutAndPaste.C (eraseSelection): back() -> top()
1011 * BufferView_pimpl.C (selectionRequested): back() -> top()
1013 * BufferView.C (setCursor): size() -> depth()
1015 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1017 * text3.C (cursorPrevious): return true if depm changed something
1019 (dispatch): rename sl to oldTopSlice, remove moving use the new
1020 NoUpdate func attrib instead. Make sure that needsUpdate is set
1021 for function that have NoUpdate, but where depm might have changed
1024 * text2.C (cursorLeft): make us return true if depm changed
1026 (cursorRight): ditto
1027 (cursorUpParagraph): ditto
1028 (curosrDownParagraph): ditto
1029 (cursorUp, cursorDown): ditto, make sure to read comments in code
1030 (deleteEmptyParagraphMechanism): remove an assert, also return
1031 true if just a single char was deleted.
1033 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1034 cursor that we modify, to avoid modifying an active cursor before
1035 we call setCursor. This allows depm to run. Also return true if
1036 depm deleted something.
1038 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1039 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1040 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1041 something was changed in the buffer because of them (ie. depm run)
1043 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1044 debug messages. Make update by default be false. Make sure that
1045 the result of update is retained throught several calls down to
1048 * LyXAction.h: add a new func_attrib: NoUpdate
1050 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1051 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1052 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1054 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1056 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1058 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1059 bv_->owner(), bv_->buffer() by direct references to the private
1061 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1062 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1063 (fitCursor): center() is in BufferView::Pimpl.
1064 (getStatus, trackChanges, dispatch): no need for a temporary buf
1066 (fitCursor, workAreaDispatch): use workarea().workheight()
1068 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1070 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1072 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1074 * buffer.C: format up to 241.
1075 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1076 break if pasting into ERT
1077 * lyxfunc.C (getStatus): suppress mathpanel and
1078 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1080 2005-02-01 Angus Leeming <leeming@lyx.org>
1082 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1084 2005-02-01 Angus Leeming <leeming@lyx.org>
1086 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1087 calling fs::is_directory().
1089 2005-01-31 Angus Leeming <leeming@lyx.org>
1091 * lyx_main.C (priv_exec): specify explicitly the relative location
1092 of the top level build directory when run in-place.
1094 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1096 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1097 LyXText containing the cursor, not the top-level one.
1099 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1101 (insertStringAsLines): rename par to pit; use temporary variable
1102 par to hold a Paragraph; do not store par.layout() in a variable,
1103 since the pointer may die when breaking paragraphs; pass pars to
1104 breakParagraph() instead of Buffer::paragraphs().
1106 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1108 * lyxlex_pimpl.h: #include <fstream>.
1110 * BufferView.[Ch] (getLyXText): add a const version.
1112 * BufferView_pimpl.C: add debug aids.
1117 * paragraph_funcs.h: add commentary explaining what the class does.
1120 * coordcache.[Ch]: add lots of commentary.
1121 (startUpdating, doneUpdating): debug aids.
1122 (arrays, insets, parPos, getParPos): accessors to private data.
1124 * cursor_slice.[Ch] (text): add a const version.
1125 * dociterator.[Ch] (text, innerText): add const versions.
1127 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1130 * paragraph.C (getRow, pos2ros): add asserts.
1132 * paragraph.h: add commentary. Lots of.
1134 * paragraph.[Ch] (metrucs, draw): removed.
1137 * rowpainter.[Ch]: const-correct changes.
1139 * text.C: various obvious clean-ups. Removal of ancient cruft.
1142 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * vc-backend.C (find_file): rewrite to use boost.filesystem
1147 * main.C (main): set default name check for boost.filesystem to
1150 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1153 (actOnUpdatedPrefs): ditto
1155 * lyx_main.C (init): rewrite to use boost.filesystem
1156 (queryUserLyXDir): ditto
1158 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1159 (getContentsOfAsciiFile): ditto
1161 * lastfiles.C (readFile): rewrite to use boost.filesystem
1163 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1165 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1166 (loadLyXFile): ditto
1168 * buffer.C (Buffer): adjust for destroydir
1169 (getLogName): rewrite to use boost.filesystem
1170 (setFileName): ditto
1171 (save): use fs::copy_file (from fs_extras)
1173 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1175 * LaTeX.C (run): rewrite to use boost.filesystem
1176 (scanAuxFiles): ditto
1177 (handleFoundFile): ditto
1179 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1181 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1183 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1185 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1187 * lyxlayout.[Ch]: change some vars from float to double
1189 * buffer.C (readFile): make a local var const
1191 * Several files: use convert<> instead of atoi,strToXXX and friends
1193 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1195 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1196 holds the contents of packages.lst. New functions getAvailable
1197 and isAvailable to parse and check that list, resp.
1201 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1203 * bufferparams.[Ch]: new param output_changes.
1205 * Buffer.C: increase file format to 240.
1206 Use output_changes and isVailable.
1210 * paragraph_pimpl.C: Use output_changes and isVailable.
1212 2005-01-23 Angus Leeming <leeming@lyx.org>
1214 * output_latex.C: #include "insetbibitem.h", rather than
1215 forward declare function bibitemWidest.
1217 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1219 * lyx_main.C (init): make it compile on the Mac.
1221 2005-01-20 Angus Leeming <leeming@lyx.org>
1223 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1224 (setLyXMisc): (char string literal) != (char string literal) is
1225 performing a comparison on the addresses. Convert one operand
1226 explicitly to string to guarantee expected behaviour.
1229 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1232 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1234 * output_plaintext.C: remove unneeded #include gzstream.h.
1236 2005-01-20 Angus Leeming <leeming@lyx.org>
1238 * SpellBase.h: rename some of the elements of the Result enum.
1245 * pspell.C (check): ditto
1247 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1249 * buffer.C: add #include <fstream>.
1251 * lyx_main.C (init): Compile fix.
1253 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1255 2005-01-20 Angus Leeming <leeming@lyx.org>
1257 * mover.h: change commentary to reflect the changed meaning of
1258 the $$s placeholder.
1260 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1262 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1264 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1266 2005-01-20 Angus Leeming <leeming@lyx.org>
1268 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1269 printing diagnostic data by not dereferecing an iterator past the
1272 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1274 * buffer.C (readHeader): use "&&" rather than "and".
1276 * lyxserver.h (inPipeName, outPipeName): make these const.
1278 2005-01-19 Angus Leeming <leeming@lyx.org>
1280 * lyx_main.C (error_handler, init): protect SIGHUP with
1281 #ifdef SIGHUP guards.
1283 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1285 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1287 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1289 * text.C (setHeightOfRow): add a margin at the top and bottom of
1290 the document (bug 1761)
1292 2005-01-17 Angus Leeming <leeming@lyx.org>
1294 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1295 with "python ". Workaround for a brain-dead Windows.
1297 2005-01-16 Angus Leeming <leeming@lyx.org>
1299 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1300 for MacOSX and Windows to use prependEnvPath.
1301 Strip out the hard-coded block to add elements to the PATH for
1302 MacOSX and replace it with a call to prependEnvPath using the
1303 contents of LyXRC::path_prefix.
1304 (queryUserLyXDir): strip out the code to run reconfigure, instead
1305 returning a boolean indicating the necessity to do so.
1306 (reconfigureUserLyXDir): contains the code to reconfigure the
1307 user support directory. Is now called after the various LyXRC data
1308 files have been read.
1310 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1312 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1314 * converter.[Ch] (convert): take a new parameter try_default. Use
1315 a default converter (imagemagick) if try_default is true.
1317 2005-01-13 Angus Leeming <leeming@lyx.org>
1319 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1320 os::cygwin_path_fix.
1321 (write): output LyXRC::cygwin_path_fix as necessary.
1323 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1326 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1328 2005-01-12 Angus Leeming <leeming@lyx.org>
1330 * lyx_main.C (init): set the PATH variable to include the
1331 directory containing the LyX binary when running on Mac or Windows.
1333 2005-01-12 Angus Leeming <leeming@lyx.org>
1335 * lyx_main.C (init): remove cruft that purports to set the locale
1336 dir. It doesn't and is not needed anyway.
1338 2005-01-10 Angus Leeming <leeming@lyx.org>
1340 * Makefile.am: remove the lyx_main.C special casing.
1342 * BufferView_pimpl.C:
1348 * messages.C: use support/package.h to provide the paths to the
1349 various directories used by LyX.
1351 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1353 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1354 layout if pasting into an empty paragraph)
1356 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1358 * tex-accent.C: add <string>
1360 2005-01-06 José Matos <jamatos@lyx.org>
1362 * ParagraphParameters.C (write): put every parameter in its own line.
1363 * paragraph.C (write): reduce number of consecutive empty lines exported.
1364 * buffer.C (LYX_FORMAT): increase file format to 239.
1366 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1368 * everywhere: change support/tostr.h -> support/convert.h
1370 * tabular.C: make all write_attributes templates, tostr -> convert
1372 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1373 (emptyTag): and -> &&, and fix type for ret from getChar
1374 (getFirstWord): fix type for ret from getChar
1375 (onlyText): and -> &&
1376 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1379 * toc.C (goTo, action):
1380 * text3.C (dispatch):
1381 * text.C (currentState):
1382 * tex-accent.C (DoAccent):
1385 * lyxfunc.C (menuNew):
1386 * lyxfinc.C (replace):
1387 * counters.C (laberItem):
1388 * bufferview_funcs.C (font2string):
1389 * bufferparams.C (writeFile):
1390 * buffer.C (readFile):
1392 * MenuBackend.C: tostr -> convert
1394 * LaTeX.C (runMessage): fix format
1395 (scanAuxFiles): tostr -> convert
1397 * BufferView_pimpl.C (savePosition): fix format
1398 (restorePosition): ditto
1401 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1403 * Spacing.[Ch]: New method getValueAsString().
1407 * ParagraphParameters.C:
1410 * text3.C: store/read spacing value as string.
1412 * rowpainter.C: change float value (spacing_val) to double.
1414 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1415 broken custom document spacing).
1417 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1419 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1420 namespace, also more use of temp references and const
1422 * cursor.[Ch] (getStatus): move to lyxfunc.C
1424 * bufferparams.C: reformat slightly
1426 * bufferview_funcs.C (font2string): constify arg
1432 * buffer_funcs.C: (many funcs): constify arg on function
1433 definitions, also make more local vars const, also add ASSERTS on
1436 * buffer.C (LYX_FORMAT): put const in correct place
1437 (many funcs): constify arg on function definitions, also make
1438 more local vars const
1440 * aspell_local.h: remove "struct" from typdef setup
1442 * aspell.C (check): make word_ok const
1443 (nextMiss): simplify slightly
1446 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1448 * lyxrc.[Ch]: store all float values as strings.
1449 use int (not float) for lyxrc.dpi.
1451 2005-01-04 Angus Leeming <leeming@lyx.org>
1453 * lyx_cb.C (Reconfigure):
1454 * lyx_main.C (queryUserLyXDir):
1455 to run the <system_lyxdir>/configure correctly on Windows, prefix
1456 the path to the script with "sh " when generating the string that
1457 is passed to system().
1459 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1461 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1463 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1465 * lyxlength.C (asLatexString): get rid of setprecision
1467 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1469 * text2.C (setLayout): remove unused variable endpit.
1470 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1472 * paragraph.C (onlyText): remove unused variable style.
1474 * cursor.C (bruteFind): remove unused variables beg and end.
1476 * Makefile.am (dist_noinset_DATA): not needed anymore
1478 * cheaders/*: remove.
1480 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1482 * text3.C: fix LFUN_MATH_MODE.
1484 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1486 * buffer_funcs.C (countWords): new function. Counts words between
1489 * BufferView_pimpl.C (getStatus, dispatch): handle
1492 * LyXAction.C (init):
1493 * lfuns.h: add LFUN_WORDS_COUNT.
1495 2004-12-19 Angus Leeming <leeming@lyx.org>
1497 * buffer.C (save): s/slashify_path/internal_path/.
1499 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1501 * lyxfind.C (findChange): do not search for end of pars, because
1502 the change tracker cannot handle this (fixes bug 1719).
1504 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1506 * paragraph.[Ch] (autoBreakRows): remove
1508 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1510 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1511 avoid using the paragraph one
1513 * text2.C (LyXText, insertStringAsLines): adjust
1515 2004-12-16 Angus Leeming <leeming@lyx.org>
1519 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1521 2004-12-14 Angus Leeming <leeming@lyx.org>
1523 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1525 * bufferlist.C (emergencyWrite):
1526 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1529 2004-12-14 Angus Leeming <leeming@lyx.org>
1531 * main.C: (main): no longer pass pointers to os::init.
1533 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1535 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1536 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1538 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1541 * text3.C: remove selection_possible global flag
1543 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1545 * text2.C (getSelectionSpan): remove
1546 (changeDepth, changeDepthAllowed): adjust
1548 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1550 * Makefile.am (BOOST_LIBS): use boost variables
1552 2004-12-03 José Matos <jamatos@lyx.org>
1554 * buffer.C: format up to 238.
1556 2004-12-03 José Matos <jamatos@lyx.org>
1558 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1560 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1562 * cursor.C (goUpDown): remove call to idxUpDown2
1564 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1566 * tabular.[Ch]: use size_t-like types for cell, row and column
1569 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 * lyxfunc.C (getStatus): do not lose previous information when
1572 calling BufferView::getStatus; do not set a default "Command
1573 disabled" message at the beginning, but just before returning.
1575 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1577 * cursor.h (getStatus): add better comment from src/cursor.C
1579 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 * text3.C (getStatus): return false when the lfun is not handled
1583 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1585 * broken_headers.h: remove
1587 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1589 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1591 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1592 offset_ref accessors
1594 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1595 top_y_, merge fitcursor with update
1596 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1598 (metrics): introduce
1599 (workAreaDispatch): adapt to new coord scheme
1600 (redoCurrentBuffer): remove
1602 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1604 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1607 * coordcache.[Ch]: add paragraph cache and helpers
1609 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1612 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1613 (targetX, setTargetX): introduce
1615 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1616 baseline -> ascent, as the rest of lyx
1618 * lyxtext.h: remove redoParagraphs, updateParPositions,
1619 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1620 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1621 have ascent/descent (ascent is ascent of first par)
1623 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1626 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1628 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1630 * pariterator.C: fix infinite loop introduced in par->pit renaming
1632 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1633 in insets and LyXText, draw two off-screen paragraphs using
1634 NullPainter, and adapt to new coord scheme
1638 * text3.C: adapt lfun handlers to the new coord scheme, which
1639 means: there's only guaranteed coord information for onscreen pars
1640 plus one above and one below. This implies that one can do search
1641 from y coordinates in the range [-1,workHeight]
1643 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1645 * rename a lot of InsetOld to InsetBase
1647 2004-11-25 Angus Leeming <leeming@lyx.org>
1649 * BufferView_pimpl.C:
1651 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1653 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1655 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1656 call BufferView::getStatus if LCursor::getStatus did nothing
1657 (setStatusMessage, getStatusMessage): removed.
1659 * FuncStatus.C (message): new methods. Used to provide an error
1660 message indicating why a command is disabled.
1661 (clear, |=, FuncStatus): update for message.
1663 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1665 * lyxfunc.C (dispatch): always call sendDispatchMessage
1667 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1670 * BufferView_pimpl.C:
1675 * cursor_slice.[Ch]:
1678 * paragraph_funcs.C:
1684 * undo.C: par->pit renaming
1686 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1688 * tabular.C (cellstruct): use initialization, store a shared_ptr
1689 to insettext instead of the insettext directly, adjust to fit.
1690 (operator=): new function
1691 (swap): new function
1692 (rowstruct): use initialization
1693 (columnstruct): use initialization
1694 (ltType): use initialization
1697 * lyxlength.h (swap): new function
1699 * LColor.[Ch] (operator=): use the common semantics
1701 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1703 * lyxfind.C (findNextChange): update the bufferview after setting
1706 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1708 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1709 number of InsetOptArgs has already been inserted.
1711 * output_latex.C (latexOptArgInsets): new method. This outputs all
1712 the optarg insets, up to the limit defined in the layout file.
1713 (optArgInset): removed
1714 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1716 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1718 * paragraph.C (isLetter): remove special spellchecker-related
1719 code; return true also for digits
1720 (isWord, isKomma): remove
1722 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1723 * lyxfind.C (MatchString()): use isLetter instead of isWord
1725 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * pariterator.h (operatir=): comment out un-implemented member
1730 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1733 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1735 * lyxfont.h: include LColor.h to satisfy concept checks.
1737 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1739 * pariterator.h: add typdefs for value_type, difference_type,
1740 pointer and reference to satisfy concept checks. Also add default
1741 constructor for same reason.
1743 * pariterator.C (operator++): add post-increment operator to
1744 satisfy concept checks.
1746 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1749 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1751 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1752 checks. Also rename base_type to BaseType to follow naming
1755 * FloatList.h: include Floating.h to satisfy concept checks.
1757 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1759 * lyxfunc.C (getStatus): when the origin of the request is menu or
1760 toolbar, and the LyXView does not have focus, do as if there was
1761 no buffer (bug 1720)
1763 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1764 FuncRequest to individual entries of LFUN_SEQUENCE
1766 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1768 * output_latex.C (TeXOnePar): override runparams.moving_arg
1769 according to the needprotect value of the current paragraph (bug
1772 * paragraph.C (simpleTeXOnePar): no need to override
1773 runparams.moving_args here
1775 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1777 * vspace.C: fix off-by-one-error, related to fix #1682
1779 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1781 * lengthcommon.C: a more general fix for bug 1682
1783 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1785 * text.C (backspace): fix crash
1787 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1789 * format.[Ch] (getFormatFromFile): new method
1790 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1792 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1796 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1798 * lyxfunc.C (dispatch): remove the verbose argument
1799 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1802 * kbmap.C (defkey): set the origin of func to KEYBOARD
1804 * MenuBackend.C (MenuItem):
1805 * ToolbarBackend.C (add): set the origin of func to UI
1807 * funcrequest.[Ch]: add origin member, which indicates which part
1808 of LyX requests an action
1810 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1812 * converter.C (move): don't lie in the error message
1813 * converter.h (isReachable, move): document
1815 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1817 * buffer.C: remove unused using lyx::support::atoi
1818 * paragraph_funcs.C: ditto
1820 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * bufferlist.C (exists): use bind and equal_to instead of
1825 * lyxtextclasslist.C (NumberOfClass): ditto
1827 * cursor.C (insert): use for_each instead of explicit for loop
1829 * bufferlist.C (getFileNames): use std::transform and
1830 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1832 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1835 * buffer.C (changeLanguage): use for_each instead of explicit for
1837 (hasParWithID): implement using getParFromID
1839 * LaTeXFeatures.C: ws change only
1841 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1844 * BufferView_pimpl.C (trackChanges): use for_each instead of
1847 2004-11-04 André Pönitz <poenitz@gmx.net>
1850 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1852 * dociterator.C (asDocIterator): use hard assert again.
1854 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1856 * lyxlength.C (asLatexString): rewrite so that it does not use
1859 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1861 * text3.C (specialChar, dispatch): make sure cursor moves to the
1862 right after inserting an inset
1864 2004-11-02 José Matos <jamatos@lyx.org>
1866 * output_docbook.C (docbook):
1867 * paragraph.C (getID):
1868 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1869 garantee that the output is always legal.
1871 * tabular.C (docbook):
1872 * outputprams.[Ch]: remove mixed contents.
1874 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1876 * text2.C (setCounter): prevent endless loop
1878 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1880 * exporter.C (copyFile): use the mover instead of support::copy()
1881 * exporter.C (Export): pass format and latex name to copyFile()
1882 * exporter.h (addExternalFile): document
1883 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1885 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1887 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1889 2004-10-30 José Matos <jamatos@lyx.org>
1891 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1892 text and no inset or font change. This allows to use CDATA
1893 sections just for the whole paragraph.
1895 2004-10-30 José Matos <jamatos@lyx.org>
1897 * paragraph.C (getFirstWord): remove unused variable.
1899 2004-10-30 José Matos <jamatos@lyx.org>
1901 * paragraph.C (getFirstWord): the content should always be escaped
1903 (simpleDocBookOnePar):
1904 * output_docbook.C (makeEnvironment): replace reference to CDATA
1907 2004-10-30 José Matos <jamatos@lyx.org>
1909 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1911 2004-10-30 José Matos <jamatos@lyx.org>
1913 * output_docbook.C (makeParagraphs):
1914 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1915 standard paragraph has only a given type of content drop the wrapper.
1917 2004-10-29 José Matos <jamatos@lyx.org>
1919 * output_docbook.C (makeEnvironment):
1921 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1923 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1925 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1926 (cleanID): sanitize any id.
1928 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1930 * buffer.C, lyxlex_pimpl.C:
1931 * lyxlex_pimpl.C (setFile):
1932 s/getExtFromContents/getFormatFromContents/
1934 2004-10-28 José Matos <jamatos@lyx.org>
1936 * output_docbook.C (makeEnvironment): move id to broadest possible
1939 * sgml.C (openTag): apply substitution of <> for all attributes.
1941 2004-10-28 José Matos <jamatos@lyx.org>
1943 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1944 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1945 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1947 * sgml.[Ch]: new version for open and closeTag for paragraph and
1948 for strings. Now they handle the ids of paragraphs.
1950 2004-10-26 Angus Leeming <leeming@lyx.org>
1952 * Makefile.am: add mover.[Ch].
1954 * converter.C (convert, move): use the new Movers to move external
1955 files to the temp directory.
1957 * lyx_main.C (init): ensure that the global system_movers data
1960 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1963 * mover.[Ch]: new files, defining a Mover as a utility to move an
1964 external file between directories and, if necessary, manipulate this
1965 file using a helper script.
1967 2004-10-25 José Matos <jamatos@lyx.org>
1969 * output_docbook.C (makeCommand): merge two if's that tested the
1972 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1974 * sgml.C (escapeString): fix warning in a better way
1976 2004-10-25 José Matos <jamatos@lyx.org>
1978 * sgml.C (escapeString): import the require boosts header file for
1979 tie, and avoid a signed unsigned comparison.
1981 2004-10-25 José Matos <jamatos@lyx.org>
1983 * sgml.h: add #include <string>
1985 2004-10-25 José Matos <jamatos@lyx.org>
1987 * sgml.[Ch] (escapeString): new function to escape all the string.
1989 2004-10-24 José Matos <jamatos@lyx.org>
1991 * paragraph.[Ch] (getFirstWord): new function to get the first
1992 word. Useful for description.
1993 (simpleDocBookOnePar): remove depth argument, add another that
1994 says where to start the paragraph.
1996 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1997 use the new functions to fix cleanly the support for descriptions.
1999 2004-10-24 José Matos <jamatos@lyx.org>
2001 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2002 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2003 * output_linuxdoc.C (linuxdocParagraphs):
2004 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2005 add buffer as argument.
2007 2004-10-24 José Matos <jamatos@lyx.org>
2009 * output_docbook.C (makeEnvironment, searchEnvironment): place
2010 CDATA inside paragraphs and fix scope for listitems.
2012 2004-10-24 José Matos <jamatos@lyx.org>
2014 * output_docbook.C: remove using statement for stack.
2016 2004-10-23 José Matos <jamatos@lyx.org>
2018 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2019 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2020 docbook. The new scheme is recursive and makes use of iterators, the
2021 same as latex export works.
2022 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2023 directly with the paragraph contents. This code was moved up to
2024 output_docbook.C (docbookParagraphs).
2025 * sgml.C (openTag, closeTag): removed unneeded newlines.
2026 (closeEnvTags) removed.
2028 2004-10-23 André Pönitz <poenitz@gmx.net>
2030 * undo.C (textUndoOrRedo):
2031 * dociterator.C (asDocIterator): work around crash
2033 * cursor.C (getStatus): replace ASSERT by more verbose error message
2034 and manual correction of the problem. Should increase stability
2035 while providing more sensible information.
2037 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2039 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2041 * bufferlist.C (previous, next): new methods
2044 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2046 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2048 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2049 entities to preamble.
2051 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2053 * messages.C (Pimpl): strip off translation context information
2055 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2057 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2058 the cursor is correct (bug 1694)
2060 2004-10-13 José Matos <jamatos@lyx.org>
2062 * output_docbook.C (docbookParagraphs): fix closing tags in the
2063 end of the document.
2065 2004-10-09 José Matos <jamatos@lyx.org>
2067 * buffer.C: format up to 237.
2068 * bufferparams.C (write): use tostr to convert booleans to strings.
2070 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2072 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2074 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2076 * LaTeX.C: implement use of babel language in xindy.
2078 2004-10-05 José Matos <jamatos@lyx.org>
2080 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2081 Add new translators to help reading and writing the lyx file.
2083 2004-10-05 José Matos <jamatos@lyx.org>
2085 * ParagraphParameters.C (read):
2086 * text.C (readParToken): replace nexToken by more appropriate lex
2089 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2091 * LaTeX.C (runMakeIndex):
2092 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2093 (usually 'makeindex') configurable.
2095 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2096 with a variable rather than with a number.
2098 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2100 * output_latex.C (TeXOnePar): make sure font setting is the first
2101 thing that gets output (and the last at the end). Should fix bug
2104 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2106 * pch.h: use proper signal include
2108 * LaTeX.h: Use preferred calling of Boost.Signal
2111 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * pch.h: dont include <boost/function/function0.hpp>
2115 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2117 * paragraph_pimpl.h: remove usage of ShareContainer
2119 * paragraph_pimpl.C: remove initialization of ShareContainer.
2121 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2125 * BufferView.C (putSelectionAt): change the semantics when
2126 backwards == true: now, this just swaps cursor and anchor wrt the
2129 * BufferView.h (putSelectionAt): add some documentation
2131 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2132 make sure backwardChar is done at least once (to avoid getting
2134 (findNextChange): use putSelectionAt in the forward direction
2135 (operator()): use Paragraph::isWord
2137 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * Spacing.C (set): c_str fix
2141 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2143 * lyx_cb.C (Reconfigure): quote the name of configure script in
2144 case it contains spaces
2146 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2150 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2151 (BOOST_LIBS): use top_buildir when looking for the file
2153 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2155 * pch.h: do not use include boost/format.hpp, multiple symbols
2156 will result (gcc bug)
2159 2004-08-23 José Matos <jamatos@lyx.org>
2161 * bufferparams.C (readToken): fix reading of the author field.
2163 2004-08-20 José Matos <jamatos@lyx.org>
2165 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2167 2004-08-20 José Matos <jamatos@lyx.org>
2169 * lyxlex.[Ch] (findToken): remove function.
2171 * ParagraphParameters.C (findToken):
2172 * bufferparams.C (findToken): replace call for previous function
2173 with local copy. This local function has one more argument, the
2174 read string argument.
2176 2004-08-16 José Matos <jamatos@lyx.org>
2178 * ParagraphParameters.C (write):
2179 * Spacing.C (writeFile):
2180 * bufferparams.C (writeLaTeX):
2181 * lyx_cb.C (Reconfigure):
2182 * paragraph.C (write):
2183 * tabular.C (write): remove unnecessary space at end of line.
2186 2004-08-16 José Matos <jamatos@lyx.org>
2188 * text.C (readParagraph): remove debug message.
2190 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2192 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2195 * output_plaintext.C (asciiParagraph): set depth correctly
2197 * outputparams.h: add member depth
2199 * paragraph_funcs.C (ownerPar): remove.
2201 * text2.C (setCounter): remove first_pit; comment out some
2202 non-working code that uses ownerPar
2204 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2207 2004-08-16 José Matos <jamatos@lyx.org>
2209 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2210 For the same level of importance use the same chanel to report problems.
2211 (read): add code to deal with \begin_body and \end_body.
2214 2004-08-15 José Matos <jamatos@lyx.org>
2216 * lyxlex.C (getString): fix comment, buffer::readBody is now
2217 buffer:readDocument.
2219 * tex-strings.C (string_papersize): Default -> default,
2220 Custom -> custom, for consistency with other options.
2222 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2226 * Makefile.am: support pch
2228 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2230 * text.C (readParToken): remove the static LyXFont variable and
2231 pass it as a parameter instead. This fixes a nasty bug where an
2232 inset will be inserted with a bad font in some situations
2233 (readParagraph): adapt
2235 * text2.C (setCounter): reduce number of calls to pars_[pit]
2237 * text.C (singleWidth): add an assert, fix a test
2239 * rowpainter.C (paintText): reduce number of calls to singleWidth
2241 * paragraph.C (isHfill):
2242 (isNewline): ws only
2244 2004-08-14 André Pönitz <poenitz@gmx.net>
2249 * lyxtext.h (several functions): use a Paragraph & argument
2252 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2254 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2256 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2258 * text.C (singleWidth): remove useless test
2260 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2262 * tabular.h: remove bogus comments
2264 * tabular.C (getDescentOfRow):
2265 (isPartOfMultiColumn): add assertions
2267 * lyxlength.C (inPixels): remove #warning
2269 2004-08-14 André Pönitz <poenitz@gmx.net>
2271 * paragraph.h: inline getChar()
2273 * BufferView.h: remove unused declarations
2275 2004-08-14 José Matos <jamatos@lyx.org>
2277 * Buffer.[Ch] (readDocument): new name for old readBody.
2278 * Buffer.C: new file format, new keywords: \begin_document,
2279 \begin_header, \begin_body, \end_body.
2281 * bufferparams.C (readToken): replace all calls to lex.nextToken
2282 by lex.next(). Do the same to eatLine except where really needed.
2284 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2285 line when writing to the lyx file.
2287 * output_plaintext.C (asciiParagraph): fix Bibliography style
2290 * text.C (read): fix end of file handling.
2292 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2294 * MenuBackend.C (Menu::operator[]): new method to access
2295 individual menu items
2296 (Menu::hasFunc): new method. search for an item that corresponds
2298 (MenuBackend::specialMenu): new method
2299 (MenuBackend::expand): if a special menu has been set, skip
2300 entries whose func() appears in this menu
2302 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2304 * text3.C: use Debug::DEBUG a bit more
2306 * text.C (leftMargin): try to simplify a tiny bit change var x to
2307 l_margin. Dont output the wide margins always.
2308 (rightMargin): no margin in inner texts
2310 * rowpainter.h (nestMargin): new func
2311 (changebarMargin): new func
2312 (rightMargin): new func
2314 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2318 * factory.C (createInset): modify setDrawFrame
2320 * cursor.C: use Debug::DEBUG a bit more
2322 2004-08-14 André Pönitz <poenitz@gmx.net>
2325 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2326 cache for all insets in (at least partially) visible (top-level)
2329 * BufferView_pimpl.C: reset external coord cache before every update.
2330 This means the coord cache only contains valid entries.
2332 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2335 * BufferView_pimpl.C (getInsetByCode): move function out of class
2336 and change in to a template in anon namespace. Also fix to do what
2339 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2342 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2344 (breakParagraph): rename par to par_offset and use a local
2345 reference. Add code to keep the language over a rebreak.
2346 (breakParagraphConservative): rename par to par_offset, use a
2348 (mergeParagraph): ditto
2350 (isFirstInSequence): ditto
2351 (outerFont): rename pit to par_offset
2353 * paragraph.C: ws change
2354 * paragraph.h: ditto
2358 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2360 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2363 * paragraph.C (simpleTeXOnePar): when we have a \item with
2364 optional argument, enclose the argument with curly brackets (in
2365 case it contains a closing square bracket)
2369 * text3.C (checkInsetHit): constify
2371 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2373 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2374 documents (bug 1629)
2376 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2378 Fix toggling of collapsable insets with the mouse (bug 1558)
2380 * lyxfunc.C (dispatch): adapt to LCursor changes
2382 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2383 make sure that dispatch is not invoked twice
2385 * cursor.C (needsUpdate): new method
2386 (dispatch): return void
2387 (result): new method, to access the DispatchResult of the cursor.
2389 2004-08-13 José Matos <jamatos@lyx.org>
2391 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2393 2004-08-13 André Pönitz <poenitz@gmx.net>
2395 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2397 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2400 2004-08-12 André Pönitz <poenitz@gmx.net>
2402 * text3.C: take out the 'cursor right' form insertInset and only
2403 do it in those places when it is really needed. Fixes crash on
2406 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2408 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2410 * BufferView_pimpl.C (setBuffer): initialize the current font of
2411 the underlying LyXText
2413 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2415 * kbsequence.C (print): use UI native formatting for menu
2418 * text.C (insertChar): call Paragraph::insertChar with a font
2421 * paragraph.C (insertInset, insertChar): the version that takes a
2422 LyXFont argument is now a wrapper around the other one (the
2423 opposite used to be true).
2425 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2426 argument. Font setting is done in Paragraph now.
2428 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2430 * outputparams.h: add new members intitle and lang.
2432 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2433 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2435 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2437 * text3.C (dispatch): remove special handling of button 4 and 5,
2438 it is now taken care of in the frontend code.
2440 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2442 * Spacing.h: add <string> (STLPort compile fix)
2444 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2446 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2448 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2450 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2453 * converter.C (showMessage): inherit from unary_function, make
2456 * buffer.C (writeFile): initialize retval
2458 * InsetList.h: rename private variable list to list_
2459 * InsetList.[Ch]: adjust accordingly.
2461 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2463 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2464 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2465 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2466 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2467 * ParagraphParameters.C, LaTeXFeatures.C: replace
2468 "support/std_sstream.h" with <sstream>
2470 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2473 * lyxsocket.C (LyXServerSocket): ditto
2474 (serverCallback): ditto
2476 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2478 * LaTeXFeatures.C: check release date when loading jurabib.
2480 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2482 * lyxserver.C (startPipe): call register_socket_callback
2483 (endPipe): call unregister_socket_callback
2485 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2487 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2488 (LyXServerSocket): register the callback
2489 (LyXServerSocket): unregister the callback
2490 (fd): delete function
2491 (serverCallback): improve error checking and setup the callbacks.
2492 (dataCallback): change arg to fd.
2493 (writeln): new func (copied fro the client socket) used for server
2495 (LyXDataSocket): simplify
2496 (~LyXDataSocket): close ann unregiser callback
2497 (server): delete function
2498 (fd): delete function
2499 (readln): small changes, improve some std::string usage
2500 (writeln): constify a bit
2502 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2504 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2507 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2510 after it has been populated
2512 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2514 * text2.C (insertInset): move cursor when inserting inset.
2516 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2518 * kbmap.C (findbindings): a couple of new methods. returns a
2519 container of kb_sequence objects. The real work is done by the
2520 private recursive version
2521 (printbindings): uses findbindings to print out a bracketed list
2522 of bindings (renamed from findbinding).
2524 * MenuBackend.C (binding): use kb_keymap::findbindings
2526 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2528 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2530 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2532 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2534 * paragraph.C (isWord): return true on insets that report
2537 * text.C (getWord): use Paragraph::isWord to decide what is in a
2538 word and what is not; fix bug 1609.
2540 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2542 * tex-strings.C: add "none" to string_paperpackages[], fixes
2543 off-by-one-error in the paperpackage selection.
2546 * tex-strings.[Ch]: char const * string[n]
2547 -> char const * const string[]
2549 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2551 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2552 command, return early.
2554 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * debug.h: add DEBUG to enum and fix size of ANY.
2558 * debug.C: add support for Debug::DEBUG
2559 (showTags): cast errorTags.level to unsigned int
2561 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2562 (redoCurrentBuffer): ditto
2563 (updateScrollbar): ditto
2564 * cursor.C (dispatch): ditto
2565 * text2.C (setLayout): ditto
2567 (updateCounters): ditto
2569 (deleteEmptyParagraphMechanism): ditto
2571 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2574 annotations to cleanup the Makefile slightly.
2576 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2578 * lyxrc.C: do not set user_email to a default value but use empty
2579 instead. The entry used to be translated, which does not work
2580 since at the point where lyxrc is constructed there is no
2581 translation service available
2583 * messages.C (getLocaleDir): remove and use directly
2584 lyx_localedir() instead
2586 2004-06-02 Angus Leeming <leeming@lyx.org>
2588 Fix crash caused by dereferencing null pointer 'exportdata' in
2589 OutputParams by creating a new ExportData variable on the heap,
2590 storing it in a boost::shared_ptr.
2591 The crash was triggered when generating an Instant Preview
2592 of an external inset.
2594 * Makefile.am: add outputparams.C
2596 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2597 (c-tor): allocate memory to it.
2599 * exporter.C (c-tor): associated changes.
2601 2004-06-01 Angus Leeming <leeming@lyx.org>
2603 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2604 contains data before calling isInset(0). (Bug 1513.)
2606 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2608 * exporter.C (checkOverwrite): new method
2609 * exporter.C (copyFile): new method
2610 * exporter.C (Export): copy referenced files to the document dir
2611 * exporter.[Ch]: new class ExportedFile
2612 * exporter.[Ch]: new class ExportData. Contains currently the
2613 names of referenced external files
2614 * outputparams.h: add exportdata member.
2616 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2618 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2621 2004-05-19 Angus Leeming <leeming@lyx.org>
2626 * lyxfunc.C: small changes due to the introduction of namespace
2627 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2629 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2631 * text3.C (dispatch): supress update when only moving the cursor
2632 * cursor.C (selHandle): remove commented code
2634 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2636 * paragraph.C (startTeXParParams): correct column count
2637 * CutAndPaste.C (pasteSelection): remove const_cast
2638 * output_docbook.C (docbookParagraphs): remove const_cast
2639 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2640 const_cast and return ParagraphList::const_iterator
2641 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2642 * output_plaintext.C (writeFileAscii): remove const_cast
2643 * paragraph.[Ch] (simpleTeXOnePar): make const
2644 * paragraph_funcs.C (outerPar): use const iterators
2645 * paragraph_pimpl.C (validate): use const iterators
2646 * text.C (setHeightOfRow): use const iterators
2648 2004-05-17 Angus Leeming <leeming@lyx.org>
2651 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2653 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2654 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2655 if the citation engine has changed.
2657 2004-05-14 José Matos <jamatos@lyx.org>
2659 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2660 if the textclass does not provide it. Have it different for sgml and
2662 support the language of document.
2663 * output_docbook.C (docbookParagraphs):
2664 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2665 first anchor as the id of the paragraph, remove special case code.
2666 * sgml.C (escapeChar): escape only < & >.
2668 2004-05-14 Angus Leeming <leeming@lyx.org>
2670 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2671 dependencies on src/frontends/controllers/biblio.h. Define a
2672 CiteEngine_enum wrapper class to enable the enum to be forward
2675 2004-05-12 Angus Leeming <leeming@lyx.org>
2677 * buffer.C: up LYX_FORMAT to 234.
2678 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2679 use_numerical_citations with a single biblio::CiteEngine cite_engine
2681 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2683 2004-05-13 José Matos <jamatos@lyx.org>
2686 * converter.C (Converter, readFlags): add xml member.
2687 * outputparams.h: add XML flavor.
2688 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2690 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2692 * lyxfunc.C (dispatch):
2693 (getStatus): fix handling of LFUN_SEQUENCE
2695 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2697 * debug.C (showLevel): do not forget the end-of-line marker
2699 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2701 * kbmap.C (read): do not stop parsing a bind file when an error
2704 2004-04-29 Angus Leeming <leeming@lyx.org>
2709 * text2.C: wrap a bunch of #warning statements
2710 inside #ifdef WITH_WARNINGS blocks.
2712 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2714 * buffer.C: increment format to 233.
2716 2004-04-28 Angus Leeming <leeming@lyx.org>
2718 * BufferView_pimpl.C:
2721 s/updateToolbar()/updateToolbars()/
2722 s/Toolbar.h/Toolbars.h/
2724 2004-04-28 Angus Leeming <leeming@lyx.org>
2726 * BufferView.[Ch] (c-tor):
2727 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2728 No longer passes these data to the WorkArea generator.
2730 2004-04-28 Angus Leeming <leeming@lyx.org>
2732 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2734 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2736 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2738 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2740 * output_latex.C (TeXEnvironment): make sure that there is a line
2741 break before \end{foo} for the last paragraph of a document
2742 (TeXOnePar): if the paragraph is at the end of the document (or
2743 inset) and the language has to be reset, then make sure that the
2744 line break is _before_ the language command, not after (fixes bug
2745 1225); also make sure that the language reset command is the first
2746 thing after the paragraph (to ensure proper nesting of
2747 environments and thus fix bug 1404)
2749 2004-04-21 John Levon <levon@movementarian.org>
2752 * ToolbarBackend.C: make "name" be a programmatic name
2753 and a gui_name field.
2755 * lyxfunc.C: display the minibuffer on M-x
2757 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2759 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2762 2004-04-19 Angus Leeming <leeming@lyx.org>
2764 * BufferView_pimpl.C (setBuffer): changed preview interface.
2766 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2769 2004-04-19 John Levon <levon@movementarian.org>
2771 * BufferView_pimpl.C:
2772 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2774 2004-04-05 Angus Leeming <leeming@lyx.org>
2776 * text.C (redoParagraphs): add call to updateCounters(), thereby
2777 fixing the missing "Figure #:" label from the caption of a
2780 2004-04-13 Angus Leeming <leeming@lyx.org>
2782 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2783 cursor is clicked out of an inset.
2785 2004-04-13 Angus Leeming <leeming@lyx.org>
2787 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2788 than an InsetOld one.
2790 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2792 * format.[Ch]: add editor to Format
2793 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2794 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2796 2004-04-08 André Pönitz <poenitz@gmx.net>
2798 * metricsinfo.h: remove PainterInfo::width member
2800 2004-04-08 Angus Leeming <leeming@lyx.org>
2802 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2803 "\providecommand" rather than "\newcommand", thereby preventing
2804 clashes with packages that define "\boldsymbol" themselves.
2807 2004-04-08 Angus Leeming <leeming@lyx.org>
2809 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2810 thereby squashing an unnecessary warning.
2812 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2814 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2817 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2819 * BufferView.C (setCursor): call redoParagraph (some insets could
2821 (putSelectionAt): remove the 'double update' trick
2823 * BufferView_pimpl.C (fitCursor): call refreshPar
2824 (workAreaDispatch): remove an uneeded update call
2825 (dispatch): remove some manual update calls
2827 * cursor.[Ch]: remove cached_y_, updatePos
2828 (selHandle): set noUpdate when appropriate
2830 * lyxfunc.C (dispatch): track if we need an update
2832 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2834 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2835 (paintSelection): cheap optimization, do not call cursorX when not
2837 (paintPars): change signature
2840 (paintTextInset): adjust
2844 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2846 * lengthcommon.C: compilation fix: remove explicit array size from
2847 unit_name[] and friends
2849 2004-04-05 Angus Leeming <leeming@lyx.org>
2851 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2853 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2854 present only for the preferences dialog.
2855 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2857 2004-04-05 Angus Leeming <leeming@lyx.org>
2859 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2860 to enable the frontends to export changes to lyxrc correctly.
2862 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2864 2004-04-07 André Pönitz <poenitz@gmx.net>
2866 * cursor.[Ch] (selClear, adjust): remove math
2868 * cursor_slice.C: more agressive assert
2871 * BufferView_pimpl.C: rework mouse event dispatch
2878 2004-04-05 André Pönitz <poenitz@gmx.net>
2880 * cursor.[Ch] (valign, halign...): remove unneeded functions
2882 2004-04-05 Angus Leeming <leeming@lyx.org>
2884 * lyxlength.[Ch] (unit_name et al.): const-correct.
2886 2004-04-05 Angus Leeming <leeming@lyx.org>
2888 * BufferView_pimpl.C:
2897 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2899 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2901 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2903 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2905 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2906 * BufferView_pimpl.[Ch] (getStatus)
2907 * BufferView.[Ch] (getStatus): add
2908 * lyxfunc.C (getStatus): move lfuns handled in
2909 BufferView::dispatch to te function above
2910 * Cursor.C (setSelection): set selection() = true
2912 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2914 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2916 2004-03-31 Angus Leeming <leeming@lyx.org>
2918 * lyxfunc.C (dispatch): Fall through to the generic
2919 Dialogs::show("preamble").
2921 2004-03-31 Angus Leeming <leeming@lyx.org>
2923 * lyxfunc.C (dispatch): Fall through to the generic
2924 Dialogs::show("spellchecker").
2926 2004-03-31 Angus Leeming <leeming@lyx.org>
2928 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2931 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2936 * insetiterator.[Ch]:
2941 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2943 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2945 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2946 insets where we are putting the cursor.
2948 2004-03-31 Angus Leeming <leeming@lyx.org>
2951 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2953 * lyxrc.[Ch] (read, write): overloaded member functions taking
2954 a std::[io]stream arguments.
2956 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2958 2004-03-31 Angus Leeming <leeming@lyx.org>
2960 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2961 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2963 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2964 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2966 2004-03-31 Angus Leeming <leeming@lyx.org>
2968 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2969 the LFUN_ALL_INSETS_TOGGLE code.
2971 2004-03-30 Angus Leeming <leeming@lyx.org>
2973 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2974 has died. Fall through to the generic Dialogs::show("document").
2976 2004-03-30 Angus Leeming <leeming@lyx.org>
2979 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2980 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2982 * lyxfunc.C (getStatus, dispatch): define the actions for these
2983 lfuns. Little more than a cut and pste job from ControlDocument.C
2985 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2987 2004-03-30 Angus Leeming <leeming@lyx.org>
2990 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2991 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2993 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2994 open/closed state of ollapsable insets. Usage:
2996 all-inset-toggle <state> <name>, where
2997 <state> == "open" || "closed" || "toggle" and
2998 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3000 * lyxtext.h, text2.C (toggleInset): removed.
3002 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3003 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3004 now passes LFUN_INSET_TOGGLE to the found inset.
3006 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3007 is now invoked as "all-insets-toggle toggle branch".
3009 2004-03-30 Angus Leeming <leeming@lyx.org>
3013 * pariterator.[Ch]: added/corrected header blurb.
3015 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3017 * dociterator.[Ch]: add an inset_ member
3018 (backwardPos): implemented
3019 (backwardPos, forwardPos): use inset_ when the stack is empty.
3020 (doc_iterator_begin, doc_iterator_end): implemented
3021 * pariterator.[Ch]: adjust, add begin, end
3022 * insetiterator.[Ch]: adjust, add begin, end
3026 * BufferView_pimpl.C:
3027 * CutAndPaste.C: adjust
3029 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3031 * buffer.C: increment file format to 232.
3032 * LaTeXFeatures.C: add bibtopic package.
3033 * bufferparams.[Ch]: param \use_bibtopic.
3035 * lyxrc.[Ch]: add lyxrc bibtex_command
3036 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3038 * buffer.C: increment file format to 231.
3040 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3042 * dociterator.C: implement forwardPar
3043 * iterators.[Ch]: remove, replaced by
3044 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3046 * BufferView_pimpl.C:
3049 * bufferview_funcs.C:
3055 * Makefile.am: adjust
3057 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3059 * CutAndPaste.C (pasteSelection): fix 2 crashes
3060 (eraseSelection): fix a crash
3061 * paragraph_funcs.C: remove a warning
3063 2004-03-28 Angus Leeming <leeming@lyx.org>
3066 * LyXAction.C (init): new LFUN_PRINT.
3068 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3070 2004-03-27 Angus Leeming <leeming@lyx.org>
3073 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3075 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3077 2004-03-27 Angus Leeming <leeming@lyx.org>
3079 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3080 insetlist always contains non-null pointers to insets.
3082 2004-03-26 Angus Leeming <leeming@lyx.org>
3084 * src/BufferView_pimpl.C:
3085 * src/CutAndPaste.C:
3088 * src/output_plaintext.C:
3089 * src/outputparams.h:
3090 * src/paragraph_funcs.C:
3094 * src/frontends/controllers/ControlErrorList.C:
3095 * src/frontends/gtk/FileDialogPrivate.C:
3096 * src/frontends/gtk/GPainter.C:
3097 * src/frontends/gtk/GToolbar.C:
3098 * src/frontends/qt2/QRef.C:
3099 * src/mathed/math_scriptinset.C: squash compiler warnings.
3101 2004-03-26 Angus Leeming <leeming@lyx.org>
3103 * ispell.C (LaunchIspell::start):
3104 * lyx_cb.C (AutoSaveBuffer::start):
3105 invoke run(DontWait) rather than runNonBlocking().
3107 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3109 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3111 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3113 * kbsequence.C (print): adjust
3115 * kbmap.C (printKeySym): rename and change signature
3116 (printKey): use LyXKeySym::print()
3118 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3120 * undo.C: add using std::advance to compile for stlport
3122 2004-03-24 Angus Leeming <leeming@lyx.org>
3124 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3125 it leads to a crash when no buffer is present.
3127 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3128 Martin Vermeer <martin.vermeer@hut.fi>
3130 * lyxfunc.C (dispatch):
3131 * bufferparams.C (readToken): use the new LColor::setColor
3133 * LColor.[Ch] (setColor): new version that takes two strings as
3134 argument and creates a new color entry if necessary
3136 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3138 * buffer.C (makeLaTeXFile): if the main latex file that is
3139 processed is usually a subdocument of some master, then pretend
3140 for a while that it is actually the master
3142 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3144 * buffer.C (getLabelList):
3145 (getBibkeyList): use getMasterBuffer()
3146 (getMasterBuffer): new method. Returns the main document in the
3147 case where one is using included documents.
3149 2004-03-25 André Pönitz <poenitz@gmx.net>
3153 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3155 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3157 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3158 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3160 * ParameterStruct.h: merge with ParagraphParameters
3162 * lyxtext.h: remove LyXText::parOffset() and getPar()
3164 * text3.C: Remove all 'manual' update calls. We do now one per user
3165 interaction which is completely sufficient.
3169 * BufferView_pimpl.C:
3170 * FontIterator.[Ch]:
3172 * ParagraphParameters.[Ch]:
3177 * cursor_slice.[Ch]:
3184 * output_docbook.[Ch]:
3185 * output_latex.[Ch]:
3186 * output_linuxdoc.[Ch]:
3187 * output_plaintext.[Ch]:
3189 * paragraph_funcs.[Ch]:
3190 * paragraph_pimpl.[Ch]:
3198 * frontends/controllers/ControlDocument.C:
3199 * frontends/controllers/ControlErrorList.C:
3200 * frontends/controllers/ControlSpellchecker.C:
3203 * insets/insetbase.h:
3204 * insets/insetbibitem.C:
3205 * insets/insetbox.C:
3206 * insets/insetbranch.C:
3207 * insets/insetcaption.C:
3208 * insets/insetcharstyle.C:
3209 * insets/insetcharstyle.h:
3210 * insets/insetcollapsable.C:
3211 * insets/insetcollapsable.h:
3212 * insets/insetert.C:
3213 * insets/insetfloat.C:
3214 * insets/insetfoot.C:
3215 * insets/insetmarginal.C:
3216 * insets/insetnote.C:
3217 * insets/insetoptarg.C:
3218 * insets/insettabular.C:
3219 * insets/insettext.C:
3220 * insets/insettext.h:
3221 * insets/insetwrap.C:
3222 * mathed/math_mboxinset.C:
3223 * mathed/math_nestinset.C:
3224 * mathed/math_scriptinset.C:
3225 * mathed/math_scriptinset.h:
3228 2004-03-24 Angus Leeming <leeming@lyx.org>
3230 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3231 deal with any child processes that have finished but are waiting to
3232 communicate this fact to the rest of LyX.
3234 2004-03-24 Angus Leeming <leeming@lyx.org>
3236 64-bit compile fixes.
3238 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3239 (c-tor): pass lyx::pos_types rather than ints.
3241 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3244 * text.C (Delete): compile fix.
3245 (getPar): ensure that function declaration is the same as that in
3248 2004-03-23 Angus Leeming <leeming@lyx.org>
3250 * ispell.C (LaunchIspell):
3251 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3252 a boost::shred_ptr rather than a std::auto_ptr.
3254 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3256 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3257 handle LFUN_FILE_INSERT_*
3259 * lyxrc.C (setDefaults, getDescription, output, read):
3260 * lyxrc.h: remove ps_command
3262 2004-03-22 Angus Leeming <leeming@lyx.org>
3264 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3265 Ensure that error_handler is processed once only and that all data
3266 is saved before attempting to output any warning messages.
3268 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3270 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3272 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3274 2004-03-19 André Pönitz <poenitz@gmx.net>
3276 * cursor.[Ch] (reset): take main text inset as argument
3278 * BufferView: adjust
3279 * BufferView_pimpl.C: adjust
3281 * paragraph.[Ch]: fix completely broken operator=()
3283 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3285 * LColor.C (getFromLyXName): make sure that the color name is used
3288 2004-03-17 Angus Leeming <leeming@lyx.org>
3291 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3293 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3294 dialog and to kill a forked process.
3296 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3298 * text2.C (setCursorFromCoordinates): fix font problem
3300 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3302 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3303 bogus "rebuild cursor" code
3305 2004-03-11 André Pönitz <poenitz@gmx.net>
3307 * buffer.[Ch]: use InsetText instead of LyXText as container for
3310 * dociterator.[Ch]: drop the BufferView * member which is not needed
3311 anymore after the change to buffer.C
3313 * paragraph_funcs.C:
3317 * BufferView_pimpl.[Ch]:
3319 * cursor_slice.[Ch]: adjust
3321 * text3.C: fix bug in mathDispatch
3323 2004-03-08 André Pönitz <poenitz@gmx.net>
3325 * undo.[Ch]: use 'StableDocumentIterator' as base for
3328 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3331 * bufferparams.[Ch]: add jurabib support and param.
3333 * LaTeX.C: add FIXME/comment.
3335 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3337 * buffer.C: increment file format to 230.
3339 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3341 * cursor.C (dispatch): avoid infinite loops
3343 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3345 * rowpainter.C (paintSelection): fix x coordinates
3347 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3349 * text.C (rowBreakPoint): fix breaking before displayed insets
3351 2004-03-01 André Pönitz <poenitz@gmx.net>
3353 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3355 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3359 * BufferView_pimpl.C:
3367 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3373 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3374 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3376 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3378 * Bidi.[Ch] (computeTables): const correctness
3379 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3380 fill_hfill, fill_label_hfill and x from Row
3381 * lyxtext.h: prepareToPrint returns a RowMetrics
3382 * rowPainter.C: adjust
3383 * text.C (prepareToPrint): use width, not textWidth. adjust
3384 (redoParagraphInternal, cursorX): adjust
3385 * text2.C (getColumnNearX): adjust
3386 (init): put a default value to the top LyXText::width
3388 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3390 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3392 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3394 * lyxtext.h: add FontIterator class
3396 * text.C (FontIterator, operator*, operator->, operator++): add
3397 (rowBreakPoint, setRowWidth): adjust (fixing a
3400 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3402 * BufferView_pimpl.C (workAreaDispatch): allow also
3403 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3405 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3407 * text.C (rowBreakPoint): fix a bug showing with very large insets
3409 2004-02-25 André Pönitz <poenitz@gmx.net>
3412 * cursor.[Ch]: move some mathed specific code to mathed
3414 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3416 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3417 use_tempdir in preferences
3418 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3420 * lyx_main.C: ensure that tempdir is valid
3421 * lyxlex.h: correct typo
3422 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3423 * paragraph.[Ch] (isMultiLingual): make const
3424 * cursor.[Ch] (openable): make const
3426 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3428 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3430 2004-02-20 André Pönitz <poenitz@gmx.net>
3432 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3434 * cursor.[Ch]: prepare for localized getStatus()
3440 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3442 2004-02-20 André Pönitz <poenitz@gmx.net>
3444 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3446 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3448 * text2.C (setCursorFromCoordinates): switch to absolute coords
3450 (cursorDown): adjust
3451 * text3.C (dispatch): adjust
3453 2004-02-16 André Pönitz <poenitz@gmx.net>
3455 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3458 * cursor_slice.[Ch]: remove unneeded acessor function
3460 * lyxtext.h: rename rtl() to isRTL()
3468 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3470 * rowpainter.C (paintSelection): coord fix
3472 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3474 * Spacing.C: compile fix
3476 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3478 * cursor.C (dispatch): restore current_ before returning
3480 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3482 * text2.C (cursorUp, cursorDown): fix coords
3485 2004-02-12 André Pönitz <poenitz@gmx.net>
3490 * text3.C: add LCursor & parameter to most cursor movement functions
3491 remove usage of LyXText::cursorRow() and cursorPar()
3493 * cursor.[Ch]: add textRow() needed members
3496 * BufferView_pimpl.C:
3499 * BufferView_pimpl.C: adjust
3501 2004-02-11 André Pönitz <poenitz@gmx.net>
3505 * BufferView_pimpl.C: shift undo/redo handling
3507 * cursor.[Ch]: fix mathed crash
3510 * lyxtext.h: move selectionAsText to LCursor
3518 * rowpainter.C: fix excessive drawing
3520 2004-02-06 André Pönitz <poenitz@gmx.net>
3523 * BufferView_pimpl.[Ch]:
3524 * text3.C: move some text specific LFUN handling
3526 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3528 * text3.C (checkInsetHit): adjust coords
3529 * text2.C (getColumnNearX): adjust coords
3530 (edit): adjust coords
3531 * text.C (getRowNearY): add two asserts
3533 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3536 * format.C: add using std::distance to compile on gcc 2.95/stlport
3538 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3540 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3542 2004-02-04 André Pönitz <poenitz@gmx.net>
3544 * BufferView.[Ch] (insertInset):
3545 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3550 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3552 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3553 on the default clause of the switch
3554 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3555 wasn't catched by LCursor::dispatch
3557 2004-02-03 André Pönitz <poenitz@gmx.net>
3560 * cursor.[Ch]: some additional asserts
3562 * undo.[Ch]: remove LyXText dependency in interface
3566 * lyxtext.h (firstPar, lastPar): remove dead functions
3571 * paragraph.[Ch]: adjust
3573 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3575 * lyxfind.C (find): fix argument order in call to ::find
3577 2004-02-02 André Pönitz <poenitz@gmx.net>
3579 * cursor.[Ch]: remove direct access to anchor
3581 * text.C: remove findText() hack
3583 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3585 * iterators.[Ch] (lockPath): remove in favour of...
3586 * BufferView.[Ch] (setCursor): this addition
3587 * BufferView.C (putSelectionAt): adjust
3588 * undo.C (performUndoOrRedo): adjust
3589 * lyxfunc.C (dispatch): adjust
3591 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3593 * iterators.C (lockPath): add a missing slice
3594 * undo.C (performUndoOrRedo): remove redundant positioning code
3596 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3598 * vc-backend.C (scanMaster): ";" -> ';'
3600 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3602 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3603 std::binary_function
3605 * lyxtextclass.C (compare_name): rename to...
3606 (LayoutNamesEqual): ...this
3608 * lyxlex_pimpl.C (compare_tags): inherit from
3609 std::binary_function, put back into anon namespace
3611 * lyxfind.C (MatchString): inherig from std::binary_function
3612 (findChange): use empty() istead of !size()
3614 * format.C (FormatNamesEqual): new functor
3621 * converter.C (compare_Converter): rename to...
3622 (ConverterEqual): ...this, and fixup a bit.
3623 (getConverter): use it, and make function const
3624 (getNumber): use it, and make function const
3628 * bufferlist.C: add using boost::bind
3630 * MenuBackend.C (MenuNamesEqual): new functor
3631 (hasMenu): use it, and make function const
3632 (hasSubmenu): use nested bind to get rid of compare_memfun.
3634 2004-01-30 André Pönitz <poenitz@gmx.net>
3636 * BufferView_pimpl.C:
3639 * cursor_slice.[Ch]:
3642 * paragraph_funcs.C:
3643 * paragraph_funcs.h:
3647 * text3.C: move some of the edit(x,y) handling to the insets
3648 some coordinate changes.
3650 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3652 * text.C: add using statements for std::advance and std::distance
3654 * paragraph.C: add using statement for std::distance
3656 * lyxfind.C: add using statement for std::advance
3658 * cursor.C (region): remove std:: from swap
3659 (openable): use nucleus in stead of operator->
3661 * BufferView.C: add using statements for std::distance and std::swap
3663 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3665 * iterators.C: Remove the pimple, move the needed structures to
3666 the header file. Create accessor for the positions stack.
3667 (asPosIterator): remove function
3669 * PosIterator.C (PosIterator): move constructors to top of file
3670 (PosIterator): reimplement the constructor taking a ParIterator in
3672 (setFrom): new function
3673 (operator!=): inline it
3675 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * lyxfind.C (replaceAll): use std::advance
3679 * iterators.h: inherit from std::iterator.
3681 * PosIterator.C (advance, distance): remove
3682 * PosIterator.h: interit from std::iterator.
3684 2004-01-26 André Pönitz <poenitz@gmx.net>
3687 * BufferView_pimpl.[Ch]:
3691 * bufferview_funcs.C:
3701 * output_linuxdoc.C:
3702 * output_plaintext.C:
3704 * paragraph_funcs.[Ch]:
3705 * paragraph_pimpl.[Ch]:
3711 * text3.C: more IU: dumps most of the rest of the mathcursor
3712 implementation into cursor.[Ch]; "globalize" a bit of it.
3714 2004-01-25 Angus Leeming <leeming@lyx.org>
3716 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3718 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3720 * LaTeXFeatures.h: add nice_ and nice() const
3721 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3723 2004-01-20 André Pönitz <poenitz@gmx.net>
3726 * BufferView_pimpl.C:
3728 * bufferview_funcs.C:
3730 * cursor_slice.[Ch]:
3741 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3742 LCursor and mathcursor parts to LCursor and InsetBase.
3744 2004-01-15 André Pönitz <poenitz@gmx.net>
3746 * cursor_slice.[Ch]: add a few covienience functions
3748 * funcrequest.[Ch]: remove BufferView * member
3750 * BufferView_pimpl.C:
3757 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3759 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3761 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3762 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3764 2004-01-13 André Pönitz <poenitz@gmx.net>
3767 * lyxtext.h: hide cursor and selection anchor behind accessor function
3770 * BufferView_pimpl.[Ch]:
3772 * bufferview_funcs.C:
3782 * cursor_slice.[Ch]: some integer type changes for inset unification
3784 * lyxcursor.[hC]: remove, it's CursorSlice now.
3787 * BufferView_pimpl.[Ch]:
3788 * bufferview_funcs.C:
3794 * textcursor.[Ch]: adjust
3796 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3798 * text2.C (undoSpan): add and use
3799 * text.C (breakParagraph): use undoSpan (fix bug 578)
3802 2004-01-08 Angus Leeming <leeming@lyx.org>
3804 * BufferView_pimpl.C (MenuInsertLyXFile):
3805 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3806 * lyxfunc.C (menuNew, open, doImport):
3807 FileFilterList change to the FileDialog open and save functions.
3809 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * ShareContainer.h: make isEqual and isUnique adaptable
3813 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3815 2004-01-07 Angus Leeming <leeming@lyx.org>
3818 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3820 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3822 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3823 functions replacing find, replace and replaceAll.
3825 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3826 LFUN_WORDFIND(FORWARD|BACKWARD).
3828 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3830 * text.C (breakParagraph): remove an outdated #warning
3832 2004-01-07 André Pönitz <poenitz@gmx.net>
3834 * lyxfind.C: somewhat clearer logic
3836 * text.C: prevent crash in cursorX on unitialized row cache
3838 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3840 * lyxcursor.[Ch] (operator>): add
3841 * textcursor.C (selStart, selEnd): use std::min and std::max
3843 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3845 * Chktex.C: include boost/format.hpp
3847 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * InsetList.C: replace functor MathcIt with adaptable functor
3851 (insetIterator): modify accordingly
3853 * BranchList.h: move the BranchNamesEqual functor here from...
3854 * BranchList.C: ... to here
3856 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3858 (add): replace a finding loop with std::find_if.
3860 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3862 * output_docbook.C: moving LatexParam functionality into
3865 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3867 * buffer.C: increment format to 229.
3869 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3872 * lyx_sty.[Ch]: remove minipageindent_def
3878 * text3.C: remove LFUN_INSET_MINIPAGE
3880 2003-12-28 Angus Leeming <leeming@lyx.org>
3882 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3884 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3886 * text2.C (setParagraph): fix off-by-one crash
3888 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3890 * output_docbook.C: header stuff for AGU
3892 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3894 * text2.C (redoCursor): remove
3897 * BufferView_pimpl.C: remove calls to redoCursor and
3898 setCursor(cursor.par(), cursor.pos()) all around
3900 2003-12-15 Angus Leeming <leeming@lyx.org>
3902 * buffer.C: up the format to 228.
3904 2003-12-15 André Pönitz <poenitz@gmx.net>
3906 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3911 * BufferView_pimpl.C:
3920 2003-12-15 Angus Leeming <leeming@lyx.org>
3922 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3923 than getFromGUIName to manipulate the color.
3925 2003-12-14 Angus Leeming <leeming@lyx.org>
3927 * BranchList.[Ch]: minimize the API.
3928 (Branch::getBranch, getColor): now return a 'const &'.
3929 (Branch::setSelected) now returns a bool set to true if the
3930 selection status changes.
3931 (BranchList::clear, size, getColor, setColor, setSelected,
3932 allBranches, allSelected, separator): removed.
3933 (BranchList::find): new functions, returning the Branch with
3935 (BranchList::add, remove): return a bool indicating that
3936 the operation was successful.
3938 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3939 new InsetBranch::isBranchSlected member function.
3941 * LColor.[Ch]: mimimize the API.
3942 (fill): renamed as addColor and made private.
3943 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3944 versions of these functions taking a string arg have been removed.
3946 * bufferparams.C (readToken):
3947 * lyxfunc.C (dispatch):
3948 * lyxrc.C (read): changes due to the altered BranchList and
3951 * factory.C (createInset, readInset): changes due to altered
3954 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3957 * lyxfunc.C: remove insetminipage. "minipage-insert"
3958 now produces a frameless minipage box inset.
3960 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3962 * textcursor.[Ch] (selStart,selEnd): add new methods
3963 remove selection::start, end, use LyXCursor::operator<
3964 * lyxcursor.[Ch] (operator<): add
3965 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3966 * BufferView.[Ch] (unsetXSel): add
3967 * text2.C (clearSelection): use unsetXSel,adjust
3970 * rowpainter.C: adjust
3971 * bufferview_funcs.C (put_selection_at): adjust
3973 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3975 * BufferView_pimpl.C: small coord. correction
3977 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3979 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3980 dragging over the splash screen.
3982 2003-12-11 Angus Leeming <leeming@lyx.org>
3984 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3985 as it is now handled in LyXText::dispatch.
3987 * text3.C (doInsertInset): remove a level of nesting.
3989 2003-12-11 Angus Leeming <leeming@lyx.org>
3991 * factory.C (createInset): changes due to the changed interface to
3992 InsetCommandMailer::string2params.
3994 2003-12-10 Angus Leeming <leeming@lyx.org>
3996 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3997 'dialog-show-new-inset <inset name>'
3999 2003-12-10 Angus Leeming <leeming@lyx.org>
4001 * buffer.C: up the format to 227.
4003 * factory.C: the box inset is now identified simply by 'Box'.
4005 2003-12-10 Angus Leeming <leeming@lyx.org>
4007 * buffer.C: up the format to 226.
4009 * factory.C: the note inset is now identified simply by 'Note'.
4011 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4013 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4014 when a pit is enough. Standarize a couple of loops.
4016 2003-12-05 Angus Leeming <leeming@lyx.org>
4018 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4019 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4020 data to the re-worked "log" dialog.
4022 2003-12-03 André Pönitz <poenitz@gmx.net>
4028 * paragraph_funcs.C:
4030 * text2.C: use Inset::getText instead of Inset::getParagraph
4032 2003-12-03 André Pönitz <poenitz@gmx.net>
4036 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4037 InsetText::read() as LyXText::read()
4039 2003-12-02 Angus Leeming <leeming@lyx.org>
4041 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4042 type. Add a comment in the implementation that the function uses
4043 the stream's bad() function rather than fail() as the std::streams
4046 2003-12-02 André Pönitz <poenitz@gmx.net>
4048 * lyxlex.[Ch]: make interface more similar to std::stream
4050 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4052 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4054 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4056 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4058 * vspace.[Ch]: remove VSpace::NONE
4060 2003-12-01 André Pönitz <poenitz@gmx.net>
4063 * lyxtext.h: move ParagraphList member to LyXText
4064 rename LyXText::ownerParagraphs to LyXText::paragraph
4067 * bufferview_funcs.C:
4077 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4079 * undo.C: fix cursor positioning
4081 2003-12-01 John Levon <levon@movementarian.org>
4083 * BufferView_pimpl.C: fix a crash on exit with
4086 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4088 * BranchList.C: fix setSelected() method.
4090 2003-11-28 André Pönitz <poenitz@gmx.net>
4092 * ParagraphParameters.[Ch]:
4093 * ParameterStruct.h: remove space above/below from Paragraph to
4096 * BufferView_pimpl.C:
4102 * paragraph_funcs.C:
4108 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4110 * factory.C: Syntax change for CharStyles
4112 2003-11-28 André Pönitz <poenitz@gmx.net>
4117 * buffer.[Ch]: move LyXText member
4119 2003-11-28 André Pönitz <poenitz@gmx.net>
4121 * BufferView.[Ch]: make LyXText * text a private member
4123 * BufferView_pimpl.C:
4134 * output_plaintext.C: cleanup
4136 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4139 * lyxtextclass.[Ch]: parametrize SGML document header
4141 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4144 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4147 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4149 * text2.C (setFont): rework using PosIterator (no more recursive)
4150 (setCharFont): no more needed
4151 (setLayout): no more selection cursors fiddling (done by redoCursor)
4152 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4153 destroy remaining ones)
4155 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4157 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4159 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4162 * text3.C: adjust + re-allow multi par depth changes
4163 * textcursor.C: simplify a bit
4165 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4171 * src/output_docbook.C:
4172 * src/output_latex.C:
4177 * src/text2.C: Introducing a number of tags parametrizing various
4178 XML formats that we may want to support
4180 2003-11-25 André Pönitz <poenitz@gmx.net>
4182 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4184 * lyxtext.h (leftMargin/rightMargin): simplify interface
4191 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4193 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4194 master file to any child files. Fixes bug 546.
4196 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4198 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4200 2003-11-24 André Pönitz <poenitz@gmx.net>
4202 * rowpainter.C: simplification
4204 * text2.C (updateCounters): remove call to redoParagraph on
4205 changed labels as this is far too expensive.
4207 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4209 * converter.C (convert): fix a crash: this function gets
4210 called with buffer == 0 from importer code.
4212 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * text3.C (cursorPrevious): make sure that we do not compare
4215 iterators form different containers.
4218 * rowpainter.C (paintSelection): make sure that we do not compare
4219 iterators from different containers.
4221 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4222 iterators from different ParagraphList containers.
4225 * text2.C (LyXText): change order of initialization slightly
4226 (operator=): new function. copy all variables except cache_par_
4227 (moveUp): make sure that we do not compare iterators from
4228 different ParagraphList constainers.
4231 * text.C (firstPar): new function
4232 (lastPar): new function
4233 (endPar): new function
4235 * lyxtext.h: move things around and group public functions, public
4236 variables, private functions, private variables
4238 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4240 * factory.C: change call to InsetERT constructor to avoid
4241 additional invocation of method status
4242 * text2.C (toggleInset): remove redundant update() call
4243 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4244 instead of a Bufferview pointer
4246 2003-11-21 André Pönitz <poenitz@gmx.net>
4248 * rowpainter.C: simplification
4250 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4252 * text3.C (dispatch): make possible to extend a word/row selection
4255 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4257 * lyxtext.h: x0_,y0_ -> xo_,yo_
4258 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4259 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4260 * rowpainter.C (paintRows): paint full paragraphs
4262 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4264 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4267 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4269 * lyxtext.h: add x0_, y0_
4270 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4271 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4273 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4275 * text2.C (setCursorIntern): move the x_target update here *
4276 * text3.C: change some bv() to true/false in calls to
4277 cursorUp/Down/Right/Left
4278 * cursor.C: use helper function.
4280 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4282 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4283 * paragraph_funcs.[Ch]: correct comment
4284 * rowpainter.C: do not paint selections away from bv->cursor()
4285 Fix a long standing selection painting bug.
4286 * text3.C: generalize mouse-selection code to LyXTexts other that
4288 * textcursor.C: do not use y coords if we can use par offsets
4290 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4292 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4293 cursor position after e.g. inset insert)
4295 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4297 * lyxfind.C (replace): adjust to locking removal + some
4300 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4302 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4305 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4308 * output_docbook.C: XML sanitation: new layout
4309 parameters InnerTag and CommandDepth
4311 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4313 * BufferView_pimpl.C:
4315 * text3.C: Fix the insertion and modification of button-style
4318 2003-11-13 André Pönitz <poenitz@gmx.net>
4320 * InsetList.[Ch]: remove deleteLyXText
4322 * paragraph.[Ch]: cache beginOfBody position
4327 * text3.C: remove superfluous update() calls
4331 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4333 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4334 * BufferView.C (fitLockedInsetCursor): remove
4335 * cursor.[Ch] (getDim): add
4336 * text.C (getRowNearY): add faster version
4337 * text3.C: remove some update calls
4339 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4351 * text3.C: The Character Style /XML short element patch.
4353 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4356 * factory.C: Small step to solving 'unable to insert some insets'
4359 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4361 * cursor.[Ch] (updatePos): new function for updating the y
4362 position of the tip inset
4363 * bufferview_funcs.C (put_selection_at):
4364 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4366 2003-11-11 André Pönitz <poenitz@gmx.net>
4368 * text.C: remove big comment on invalid Paragraph pointers as it is
4371 2003-11-11 André Pönitz <poenitz@gmx.net>
4373 * text_funcs.[Ch]: merge with ...
4381 * Makefile.am: remove text_funcs.[Ch]
4383 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4385 * cursor.C (getPos): return absolute cached y coord
4387 * BufferView_pimpl.C (fitCursor): new simplistic code
4388 (workAreaDispatch): add a fitCursor call
4390 2003-11-10 André Pönitz <poenitz@gmx.net>
4393 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4395 2003-11-10 André Pönitz <poenitz@gmx.net>
4397 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4398 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4399 indicate that the cursor needs to leave an inset
4401 * lyxtext.h: remove inset locking
4403 * cursor.[Ch]: re-implement functionality provided by inset locking
4406 * BufferView_pimpl.[Ch]:
4408 * bufferview_funcs.[Ch]:
4420 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4422 * PosIterator.[Ch]: replace the stack with a vector, add inset
4424 * iterators.[C]: adjust
4426 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4428 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4430 * paragraph_funcs.C (readParToken): put the correct id in the
4431 error item, not the id of the top paragraph
4433 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4435 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4436 * bufferview_funcs.C (put_selection_at): use the above
4438 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4440 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4442 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4444 * output_linuxdoc.h:
4445 * output_plaintext.h:
4447 * output_docbook.h: add #include statements
4449 2003-11-05 José Matos <jamatos@lyx.org>
4451 * output_docbook.[Ch]:
4452 * output_latex.[Ch]:
4453 * output_linuxdoc.[Ch]:
4454 * output_plaintext.[Ch]: New files for output formats.
4455 * output.[Ch]: New file for helper functions.
4458 * paragraph_funcs.[Ch]: output functions moved to new files.
4460 * outputparams.h: rename of latexrunparams.h
4468 * paragraph_funcs.[Ch]:
4469 * paragraph_pimpl.[Ch]:
4470 * tabular.[Ch]: rename ascii to plaintext
4471 and LatexRunParams to OutputParams.
4473 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4475 * iterators.[Ch] (text): require bv argument
4476 * undo.C (recordUndo):
4477 * lyxfunc.C (dispatch):
4478 * bufferview_funcs.C (put_selection_at): adjust
4480 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4482 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4484 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4486 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4489 2003-11-04 André Pönitz <poenitz@gmx.net>
4491 * cursor.[Ch]: restructure
4494 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4496 * iterators.[Ch] (asCursor): remove
4498 * lfuns.h: remove LFUN_INSET_EDIT
4504 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4506 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4508 * lyxfind.[Ch]: complete overhaul
4509 * BufferView_pimpl.C:
4511 * paragraph.[Ch] (insert): add
4513 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4517 * text.C: remove dead spellcheck code
4519 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * dispatchresult.h: add a val setter
4523 * cursor.C (dispatch): use a tempvar for data_[i]
4525 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4527 * PosIterator.[Ch]: compile fix
4529 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4531 * text.C (cursorPar): deactivate the cursor cache
4533 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4535 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4537 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4539 * text3.C (dispatch): adjust for new DisptchResult semantics.
4541 * lyxfunc.C (dispatch): handle update when return from
4542 Cursor::dispatch, adjust for new DispatchResult semantics.
4544 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4545 DispatchResult(true) mean to not update. Add class functions for
4546 setting dispatched and update, as well as reading.
4548 * cursor.C (dispatch): don't handle update here
4550 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4553 * trans_mgr.C: adjust
4555 * paragraph_funcs.C (readParToken): exception safety
4557 * lyxvc.h: store the vcs pointer in a scoped_ptr
4560 * lyxsocket.C (serverCallback): exception safety
4562 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4564 * ispell.C (clone): make it return a auto_ptr
4566 * factory.C (createInset): exception safety
4567 (readInset): exception safety
4569 * bufferlist.C (newBuffer): exception safety
4571 * Thesaurus.C (Thesaurus): use initialization for aik_
4573 * MenuBackend.C (expandToc): exception safety.
4575 2003-11-03 André Pönitz <poenitz@gmx.net>
4579 * bufferview_funcs.C: remove getInsetFromId()
4582 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4588 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4590 * PosIterator.C (distance, advance): new
4591 * bufferview_funcs.[Ch] (put_selection_at): new
4592 * iterators.[Ch] (lockPath): new
4594 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4596 * iterators.[Ch] (asPosIterator): added
4597 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4598 * PosIterator.[Ch]: added
4600 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * cursor.C (dispatch):
4605 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4607 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4608 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4609 contructor, add a class function dispatched. Remove operator>=
4611 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * debug.C: only use the default constructor for debugstream
4616 * main.C (main): include debug.h and setup the lyxerr streambuf
4619 2003-10-31 José Matos <jamatos@lyx.org>
4621 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4623 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4624 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4625 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4626 * paragraph_pimpl.C (simpleTeXSpecialC):
4627 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4628 add LatexRunParams argument.
4630 * exporter.C (Export): change call accordingly.
4632 * latexrunparams.h: add new member to take care of the other backends.
4633 2003-10-30 José Matos <jamatos@lyx.org>
4635 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4636 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4637 factorise code for paragraph output.
4639 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4642 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4644 * text3.C (dispatch):
4645 * lyxfunc.C (dispatch):
4646 * cursor.C (dispatch):
4647 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4649 * dispatchresult.h: make the dispatch_result_t ctor explicit
4651 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4654 * buffer.C: small refactoring of docbook stuff
4656 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4658 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4661 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4664 operator dispatch_result_t, and operators for == != and >=
4666 * cursor.C (dispatch): adjust for operator dispatch_result_t
4667 removal. comment out call to update
4669 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4671 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4679 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4682 * dispatchresult.h: new file, DispatchResult broken out of
4685 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4687 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4689 * text.C (rowBreakPoint): put a hack inside #if 0
4691 2003-10-28 André Pönitz <poenitz@gmx.net>
4695 * paragraph_funcs.C:
4698 * text2.C: general cleanup (lots of small stuff)
4700 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4702 * text2.C (cursorEnd): simple fix to the "end key goes to one
4703 before the end on last row" bug
4705 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4707 * text.C (backspace): fix the "zombie characters"
4709 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4711 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4713 2003-10-27 André Pönitz <poenitz@gmx.net>
4715 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4717 * factory.C: handle new InsetPagebreak, InsetLine
4719 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4720 and move handling into new InsetPagebreak, InsetLine
4722 * BufferView_pimpl.C:
4724 * ParagraphParameters.C:
4725 * ParameterStruct.h:
4730 * paragraph_funcs.C:
4731 * paragraph_pimpl.C:
4737 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4740 * lyxrow_funcs.[Ch]:
4746 * text3.C: remove lastPos uses in favour of Row::endpos
4748 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4750 * undo.C (performUndoOrRedo): fix two crashes by setting a
4751 cursor by hand and reordering some calls. Use bv->lockInset instead
4752 of inset->edit because the latter loses cursor information
4754 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4756 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4758 (rowBreakPoint): fix width. change point to point + 1.
4759 Add a missing check.
4761 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4764 * lyxfunc.C: fix (at least partly) the problems
4765 with the Nav menu and headers inside branch insets
4768 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4770 * paragraph.C (getChar): add strong asserts
4772 * lyxrow_funcs.C (lastPos): remove hideous hack
4774 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4775 (fill): adjust to that (avoid an infinite loop)
4777 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4779 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4781 2003-10-23 André Pönitz <poenitz@gmx.net>
4783 * RowList_fwd.h: change list<> to vector<> to gain speed
4784 after suggestion from Alfredo
4786 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4788 * lyxtext.h: move the bidi stuff from here...
4791 * Bidi.[Ch]: ... to here
4793 2003-10-23 André Pönitz <poenitz@gmx.net>
4796 * text.C (isLastRow, isFirstRow): new functions
4798 * paragraph.h: new width cache member
4800 * rowpainter.C: replace RowList::iterator with Row & where possible
4802 * lyxfunc.C: replace several view()->text with a single call
4804 * toc.C: fix 'unused' warning
4806 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4809 when woring with stream::pos_type
4810 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4812 2003-10-22 André Pönitz <poenitz@gmx.net>
4815 * text.C: use Row & instead of RowList::iterator
4817 * lyxrow.h: rename end() to endpos()
4823 2003-10-22 Angus Leeming <leeming@lyx.org>
4825 * buffer.[Ch] (fully_loaded): new member function, returning true
4826 only when the file has been loaded fully.
4827 Used to prevent the premature generation of previews and by the
4828 citation inset to prevent computation of the natbib-style label.
4830 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4831 templates are all set up.
4833 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4835 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4837 * text.C: fixed an "oops" in the "is a bit silly"
4840 2003-10-21 André Pönitz <poenitz@gmx.net>
4842 * FuncStatus.[Ch]: small stuff, whitespace
4844 * lyxfont.[Ch]: operator<<() for debug reasons
4848 * lyxtext.h: whitespace, spelling
4850 * paragraph.C: naming of variables
4853 * text2.C: small stuff
4856 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4858 * text.C: (1) finish off the inset display() work;
4859 (2) fix the "is a bit silly" bug (accessing char
4862 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4864 * text.C: re-introduce display() for insets, fixing the
4865 various bugs (stretch of line above, math inset
4868 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4870 * text.C (rightMargin): remove spurious semicolon
4872 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4875 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4877 * text3.C: fix one crash due to wrong cursor def
4879 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4881 * vc-backend.C (scanMaster): make the regex static
4883 * LaTeX.C (scanAuxFile): make the regexs static
4885 * text3.C (doInsertInset, dispatch, dispatch):
4886 * text2.C (cursorUp, cursorDown):
4887 * text.C (selectNextWordToSpellcheck):
4888 * BufferView_pimpl.C (dispatch):
4889 * lyxfunc.C (dispatch): localDispatch -> dispatch
4891 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4893 * lyxsocket.C: include <cerrno>
4895 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * lyxfunc.C (dispatch): remove textcache stuff
4899 * bufferlist.C (release): remove textcache stuff
4902 * TextCache.C: delete file
4903 * TextCache.h: delete file
4905 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4907 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4908 delete of the bv_->text.
4909 (resizeCurrentBuffer): remove texcache stuff
4910 (workAreaResize): ditto
4912 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4917 2003-10-16 André Pönitz <poenitz@gmx.net>
4924 * text3.C: speed up by storing y positions per paragraph plus per-row
4925 offset instead of having a 'full' y position in the row.
4927 2003-10-15 André Pönitz <poenitz@gmx.net>
4931 * undo.[Ch]: make undo aware of inner insets
4933 2003-10-14 Angus Leeming <leeming@lyx.org>
4935 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4936 static member functions LyX::ref() and LyX::cref.
4937 (lastfiles): new accessor functions for the new lastfiles_ member var.
4938 (addLyXView, views_): add a new LyXView to the list of views_.
4939 (updateInset): loop over all LyXViews to call their own updateInset
4940 member function, returning a pointer to the Buffer owning the inset.
4942 * BufferView_pimpl.C (loadLyXFile):
4943 * MenuBackend.C (expandLastfiles):
4944 * bufferlist.C (MenuWrite, QuitLyX):
4945 lastfiles is no longer a global variable.
4946 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4948 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4949 static function. Access through LyX::cref().emergencyCleanup().
4951 2003-10-14 André Pönitz <poenitz@gmx.net>
4953 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4955 * undo.[Ch]: restoring part of 'undo in insets'
4958 * undo_funcs.[Ch]: merge with undo.[Ch]
4960 * tabular.C: small cleansing stuff
4962 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4964 * paragraph_funcs.C (readParToken): report unknown insets as error
4965 boxes. Use the outer paragraph as location (also for unknown
4968 * factory.C (readInset): do not abort on reading an unknown inset.
4969 Eat it and return 0.
4971 2003-10-13 Angus Leeming <leeming@lyx.org>
4973 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4975 * lyxrc.C: displayTranslator is now a function,
4976 declared in GraphicsTypes.h.
4978 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4980 * format.C: new placeholder $$a to pass the socket address.
4982 * bufferlist.[Ch]: new function getBufferFromTmp.
4984 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4985 files in the temporary dir.
4987 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4989 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4991 * Makefile.am: add lyxsocket.[Ch].
4993 * lyx_main.C (error_handler): handle SIGPIPE.
4995 2003-10-13 André Pönitz <poenitz@gmx.net>
4997 * BufferView_pimpl.C:
5002 * undo_funcs.[Ch]: use paroffset_type instead of
5003 ParagraphList::iterators to prevent multiple conversion
5004 (and get a more robust interface)
5006 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5008 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5010 * text3.C (dispatch): ditto
5012 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5015 move the onlyfile, use onlyfile instead of foundfile in a couple
5018 * DepTable.C (update): flush the error stream a bit more
5020 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * lyxserver.C (callback): adjust
5024 * lyxfunc.C (getStatus): add a missing brace in commented code
5025 (ensureBufferClean): reindent
5026 (dispatch): delete version taking a string
5028 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5030 * LaTeX.C (deplog): move found file handlig from here...
5031 (handleFoundFile): .. to new function here.
5032 (deplog): make sure to discover several files mentioned on the
5035 2003-10-10 André Pönitz <poenitz@gmx.net>
5042 * text3.C: fix some of the tabular crashes
5044 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5046 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5048 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5050 2003-10-09 André Pönitz <poenitz@gmx.net>
5052 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5055 * BufferView_pimpl.C:
5056 * bufferview_funcs.C:
5067 * undo_funcs.C: adjust
5069 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5071 * text2.C (incrementItemDepth): new function, use a backtracking
5072 algorithm to discover the correct item depth.
5073 (resetEnumCounterIfNeeded): new function, use a backtracking
5074 algorithm to discover if counter reset is needed.
5075 (setCounter): use them. Simplify a bit. Add different labels for
5076 different item depths for itemize.
5078 * paragraph.C (Paragraph): remove initialization of enumdepth
5081 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5082 enumerate and itemize. Change the type of itemdepth to signed char.
5084 2003-10-08 André Pönitz <poenitz@gmx.net>
5086 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5091 * tabular.[Ch]: fix crash after 'row-insert'
5093 2003-10-08 Angus Leeming <leeming@lyx.org>
5095 Fix doxygen warnings.
5097 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5098 Remove CutAndPaste:: prefix from header file declaration.
5100 * LColor.h (fill): remove LColor:: prefix from declaration.
5102 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5103 use lyx::depth_type rather than Paragraph::depth_type so that
5104 header file and .C file match.
5106 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5108 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5109 * aspell.C: \file aspell_local.C -> \file aspell.C
5110 * gettext.C: \file gettext.C -> \file src/gettext.C
5111 * gettext.h: \file gettext.h -> \file src/gettext.h
5112 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5113 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5114 * text.C: \file text.C -> \file src/text.C
5116 * toc.C: move comment so that doxygen is not confused.
5118 2003-10-07 Angus Leeming <leeming@lyx.org>
5120 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5122 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5125 * aspell_local.h: add forgotten std::string's.
5127 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5134 * text3.C: The Box patch. Fancybox support, minipage, parbox
5136 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5142 * ParagraphParameters.h:
5152 * lyxtextclasslist.h:
5155 * paragraph_pimpl.C:
5156 * textcursor.h: add <string> and other small fixes to make Lars'
5157 std::string patch compile with STLport.
5159 2003-10-06 Angus Leeming <leeming@lyx.org>
5161 * LColor.h: Add missing #include <string>.
5163 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * All most all file in all subdirs: Make <string> be the prefered
5166 way of getting to std::string, add using declarations.
5168 2003-10-06 André Pönitz <poenitz@gmx.net>
5170 * metricsinfo.C: initialize LyXFont before changing attribute.
5171 (fixes the 'math in \emph is upright' bug)
5173 2003-10-06 André Pönitz <poenitz@gmx.net>
5175 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5177 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5180 * paragraph_pimpl.C: Small fixes to build using STLport
5182 2003-10-02 André Pönitz <poenitz@gmx.net>
5185 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5187 2003-10-01 André Pönitz <poenitz@gmx.net>
5189 * factory.C: assert early
5191 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * lyx_main.C: remove the global debug object
5195 * debug.h: adjust for new debugstream
5197 * debug.C: adjust for new debugstream and keep the global debug
5200 2003-09-22 Angus Leeming <leeming@lyx.org>
5202 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5203 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5204 an incomplete class LyXFont.
5206 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5208 * factory.C: bug fix in branches
5210 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * lyxfunc.C (processKeySym): adjust
5214 (dispatch): change arg name from ev to func, adjust
5215 (sendDispatchMessage): ditto
5217 * lyx_main.C (defaultKeyBindings): adjust keybindings
5218 (deadKeyBindings): ditto
5220 * kbsequence.C (addkey): return a FuncRequest
5222 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5224 * kbmap.C (bind): take a FuncRequest as arg, adjust
5227 (defkey): change to take a FuncRequest as arg, adjust
5228 (findbinding): take a FuncRequest as arg, adjust.
5230 * funcrequest.h (operator=): added
5232 * funcrequest.C (FuncRequest): default kb_action changed from
5233 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5235 * buffer.C (dispatch): simplify
5236 (dispatch): adjust to take a FuncRequest as arg, adjust
5238 * boost.C (assertion_failed): change assertion message slightly
5240 * ToolbarBackend.C (read): simplify
5242 * MenuBackend.C (binding): adjust call to findbinding, add a
5243 message if no binding is found.
5245 (expandToc): correct by adding a empty FuncRequest
5247 * LyXAction.C: include <boost/assert.hpp>
5248 (isPseudoAction): delete function
5249 (LookupFunc): change name to...
5250 (lookupFunc): this. change return type to FuncRequest.
5251 (getActionName): take kb_action as arg, simplify
5252 (funcHasFlag): add an assert, simplify.
5254 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * toc.C (action): return a FuncRequest, simplify
5258 * lyxfunc.C (processKeySym): adjust
5259 (getStatus): delete version that takes an int.
5261 (dispatch): delete version that takes action as int
5263 (sendDispatchMessage): simplify and adjust
5265 * funcrequest.C (getArg): take unsigned int as arg
5267 * ToolbarBackend.C (read): adjust
5268 (add): delete version that takes func as a string.
5269 (getIton): take a FuncRequest as arg
5271 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5274 * MenuBackend.C (MenuItem): add a new construct that only takes a
5275 Kind, simplify the constructor use for submenus.
5277 (expandLastfiles): adjust
5278 (expandDocuments): adjust
5279 (expandFormats): adjust
5280 (expandFloatListInsert): adjust
5281 (expandFloatInsert): adjust
5282 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5284 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5285 Remove class variables lyx_pseudo_map and lyx_arg_map
5287 * LyXAction.C (searchActionArg): delete function
5288 (getPseudoAction): delete function
5289 (retrieveActionArg): delete function
5290 (LookupFunc): make it return kb_action, simplify.
5291 (getActionName): simplify
5293 * factory.C (createInset): fix new bug
5295 2003-09-19 Angus Leeming <leeming@lyx.org>
5297 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5298 masterFilename_ parameter in the include inset.
5300 * factory.C (createInset): changes due to the changes to InsetInclude.
5302 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5304 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5306 2003-09-18 Angus Leeming <leeming@lyx.org>
5309 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5310 Inset::fillWithBibKeys.
5311 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5313 2003-09-18 Angus Leeming <leeming@lyx.org>
5315 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5317 (ctor): pass and store a 'Buffer const &'
5318 (buffer): new member function.
5320 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5321 '*this' to the LaTeXFeatures ctor.
5323 2003-09-18 Angus Leeming <leeming@lyx.org>
5329 * text.C: rename EnumLColor as LColor_color.
5331 2003-09-18 Angus Leeming <leeming@lyx.org>
5333 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5334 remove #include "insets/insetbase.h" from cursor.h.
5336 2003-09-18 Angus Leeming <leeming@lyx.org>
5338 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5339 InsetOld_code to remove #include "inset.h".
5341 * iterators.C: add #include "insets/inset.h"
5343 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5345 * BufferView.C: remove more locking stuff that apparently doesn't
5346 do anything sensible.
5348 2003-09-16 André Pönitz <poenitz@gmx.net>
5351 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5354 2003-09-16 Angus Leeming <leeming@lyx.org>
5356 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5358 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5361 * paragraph.h: remove #include "lyxfont.h". Forward declare
5364 2003-09-16 Angus Leeming <leeming@lyx.org>
5366 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5367 of support/textutils.h.
5368 (isWord): move the contents of support/textutils.h's IsWordChar here.
5374 * text2.C: add #include "paragraph.h".
5377 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5379 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5385 * LaTeX.C: use namespace alias for lyx::support::os
5387 2003-09-16 Angus Leeming <leeming@lyx.org>
5390 * bufferview_funcs.C:
5393 * paragraph_pimpl.C:
5395 * text.C: add #include "LColor.h".
5397 2003-09-16 Angus Leeming <leeming@lyx.org>
5399 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5400 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5402 Store the FontBits::color variable as an int rather than as an
5403 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5406 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5407 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5408 string calls together.
5410 * lyxrc.C: add #include "LColor.h".
5412 2003-09-15 Angus Leeming <leeming@lyx.org>
5414 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5417 2003-09-15 Angus Leeming <leeming@lyx.org>
5419 * LColor.h: add an EnumLColor wrapper for LColor::color.
5421 * lyxfont.[Ch] (color, setColor, realColor):
5422 * lyxtext.h, text.C (backgroundColor):
5423 pass EnumLColor args to/from the functions, rather than LColor::color
5427 * lyxtext.h: forward declare EnumLColor.
5429 * lyx_main.C: add #include "LColor.h".
5431 2003-09-15 Angus Leeming <leeming@lyx.org>
5433 * .cvsignore: add lyx-gtk.
5435 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * ParagraphParameters.C
5444 * bufferview_funcs.C
5454 * vc-backend.C: remove usage of STRCONV
5456 2003-09-15 Angus Leeming <leeming@lyx.org>
5458 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5459 explicitly define the color passed to the painter.
5461 2003-09-15 Angus Leeming <leeming@lyx.org>
5463 * bufferparams.C (BufferParams): reorder member initializers to avoid
5466 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5468 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5469 * text.C (updateRowPositions): remove an unusual nop
5471 2003-09-12 André Pönitz <poenitz@gmx.net>
5473 * BufferView_pimpl.C:
5482 * Counters.[Ch]: finish the 'automatic counters' job
5484 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5486 * aspell.C: include <boost/assert.cpp> (compile fix)
5488 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5490 * boost.C (assertion_failed): use lyx::support::abort instead of
5493 2003-09-10 Angus Leeming <leeming@lyx.org>
5495 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5496 with their _fwd progeny.
5498 2003-09-09 Angus Leeming <leeming@lyx.org>
5500 134 files throughtout the source tree: replace 'using namespace abc;'
5501 directives with the appropriate 'using abc::xyz;' declarations.
5503 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5505 * boost.C (emergencyCleanup): moved here from LAssert.c
5506 (assertion_failed): new function, called by BOOST_ASSERT
5508 * several files: change Assert to BOOST_ASSERT
5510 2003-09-09 Angus Leeming <leeming@lyx.org>
5512 * buffer.[Ch]: Add an Impl class and move Buffer's member
5513 variables into it. As a result move several header files out of
5516 Add header files to lots of .C files all over the tree as a result.
5518 2003-09-09 Angus Leeming <leeming@lyx.org>
5520 * buffer.[Ch]: make Buffer's member variables private. Add
5523 Lots of changes all over the tree as a result.
5525 2003-09-08 Angus Leeming <leeming@lyx.org>
5527 * graph.C: #include <config.h>.
5529 2003-09-08 Angus Leeming <leeming@lyx.org>
5533 * BufferView_pimpl.C:
5562 * toc.C: remove redundant using directives.
5564 2003-09-07 Angus Leeming <leeming@lyx.org>
5566 * LaTeXFeatures.h: remove #include "support/types.h".
5567 * ToolbarBackend.h: remove #include <algorithm>.
5568 * changes.h: remove #include <ctime>.
5569 * debug.h: remove #include <iosfwd>.
5570 * graph.h: remove #include "support/std_string.h".
5571 * lyx_main.h: remove #include <csignal>.
5572 * lyxlex_pimpl.h: remove #include <fstream>.
5573 * sgml.h: remove #include <algorithm>, <utility>.
5574 * toc.h: remove #include "support/std_ostream.h".
5575 Add #include <iosfwd>.
5577 2003-09-07 Angus Leeming <leeming@lyx.org>
5579 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5581 * converter.h: forward declare LatexRunParams.
5582 * encoding.h: remove #include "lyxrc.h".
5583 * lyxtext.h: remove #include "LColor.h".
5584 * lyxtextclass.h: remove #include "support/types.h".
5585 * trans.h: remove #include "tex-accent.h".
5586 * trans_mgr.h: remove #include "tex-accent.h".
5587 * insets/inset.h: remove #include "support/types.h", <vector>.
5588 * insets/insetcollapsable.h: remove #include "LColor.h".
5589 * insets/insetinclude.h: remove #include "dimension.h".
5590 * insets/insetlatexaccent.h: remove #include "dimension.h".
5591 * insets/insetoptarg.h:: remove #include "insettext.h".
5592 * insets/insettext.h: remove #include "dimension.h",
5593 <boost/shared_ptr.hpp>
5595 * insets/renderers.h: add #include "dimension.h".
5596 * insets/updatableinset.h: add #include "support/types.h".
5598 * many .C files: Associated changes.
5600 2003-09-06 Angus Leeming <leeming@lyx.org>
5602 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5603 one, inside testInvariant.
5605 * PrinterParams.C: new file.
5606 * PrinterParams.[Ch]: move the function bodies out of line.
5608 2003-09-06 Angus Leeming <leeming@lyx.org>
5610 * ParagraphParameters.h: forward declare ParameterStruct rather than
5611 including its header file.
5612 (depth): moved out-of-line.
5614 2003-09-06 Angus Leeming <leeming@lyx.org>
5616 * BufferView_pimpl.h:
5619 * lyxfunc.h: forward declare LyXKeySym rather than
5620 #include "frontends/LyXKeySym.h".
5622 * BufferView_pimpl.C:
5625 * lyxfunc.C: associated changes.
5627 2003-09-06 Angus Leeming <leeming@lyx.org>
5629 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5630 As a result, can remove the #include "insets/inset.h" from BufferView.h
5632 2003-09-06 Angus Leeming <leeming@lyx.org>
5634 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5635 As a result, can remove the #include "insets/inset.h" from BufferView.h
5637 2003-09-06 Angus Leeming <leeming@lyx.org>
5643 * bufferview_funcs.C:
5644 * BufferView_pimpl.C:
5649 * ParagraphParameters.C:
5654 * frontends/controllers/ControlDocument.C:
5655 * insets/insetcaption.C: rearrange the #includes into some sort of
5658 * buffer.h: remove #includes ErrorList.h, undo.h
5660 2003-09-06 Angus Leeming <leeming@lyx.org>
5662 * support/types.h: add a 'depth_type' typedef, used to store the
5663 nesting depth of a paragraph.
5666 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5667 defining explicitly.
5670 * paragraph_funcs.h:
5671 * ParagraphParameters.h:
5672 * sgml.h: use lyx::depth_type rather than Paragraph or
5673 ParameterStruct's depth_type.
5676 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5679 * BufferView_pimpl.C:
5681 * ParagraphParameters.C:
5684 * bufferview_funcs.C:
5691 * frontends/LyXView.C:
5692 * frontends/controllers/ControlDocument.C:
5693 * frontends/controllers/ControlErrorList.C:
5694 * insets/insetbibitem.C:
5695 * insets/insetbranch.C:
5696 * insets/insetcaption.C:
5697 * insets/insetcollapsable.C:
5698 * insets/insetenv.C:
5699 * insets/insetert.C:
5700 * insets/insetfloat.C:
5701 * insets/insetfoot.C:
5702 * insets/insetfootlike.C:
5703 * insets/insetnewline.C:
5704 * insets/insetquotes.C:
5705 * insets/insettabular.C:
5706 * insets/insettext.C:
5707 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5709 * frontends/controllers/ControlChanges.C: #include "changes.h".
5711 2003-09-06 Angus Leeming <leeming@lyx.org>
5713 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5714 than #including paragraph.h.
5717 * RowList.h: deleted. Superfluous.
5727 * insets/insettext.h: use ParagraphList_fwd.h rather than
5730 * paragraph.h: don't forward declare ParagraphList.
5733 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5734 rather than ParagraphList.h. paragraph.h is still needed for the
5735 Paragraph::depth_type parameters.
5737 * textcursor.h: enable it to compile stand-alone in light of the
5740 * bufferview_funcs.C:
5752 * frontends/controllers/ControlParagraph.C:
5753 * frontends/controllers/ControlTabular.C:
5754 * insets/insetmarginal.C:
5755 * insets/insetminipage.C:
5756 * insets/insetnote.C:
5757 * insets/insetoptarg.C: add header files needed to compile again.
5759 2003-09-06 Angus Leeming <leeming@lyx.org>
5761 * RowList_fwd.h: new file, forward-declaring Row rather than
5762 #including lyxrow.h.
5767 * insets/insettext.h: use it instead of RowList.h
5769 * bufferview_funcs.C:
5776 * text3.C: #include "RowList.h".
5778 2003-09-05 Angus Leeming <leeming@lyx.org>
5780 * factory.C (createInset):
5781 * vspace.C (c-tor): replace sscanf call with an istringstream.
5782 * ispell.C: re-add missing HP/UX headers.
5783 * lyxserver.C: re-add missing os2 headers.
5785 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5794 * text3.C: re-add missing system headers, needed for 2.95.2.
5796 2003-09-05 Angus Leeming <leeming@lyx.org>
5798 Changes most place everywhere due to the removal of using directives
5799 from support/std_sstream.h.
5801 2003-09-05 Angus Leeming <leeming@lyx.org>
5803 Replace LString.h with support/std_string.h,
5804 Lsstream.h with support/std_sstream.h,
5805 support/LIstream.h with support/std_istream.h,
5806 support/LOstream.h with support/std_ostream.h.
5808 Changes resulting throughout the tree.
5810 2003-09-05 Angus Leeming <leeming@lyx.org>
5812 * sgml.h: ensure that the header file can be compiled stand-alone.
5813 * *.C: strip out redundant #includes. (320 in total.)
5815 2003-09-04 Angus Leeming <leeming@lyx.org>
5817 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5818 here (from getPackages).
5820 * debug.[Ch]: add a new EXTERNAL tag.
5822 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5824 * text2.C (cursorEnd): simplify
5826 (getColumnNearX): adjust
5828 * text.C (computeBidiTables): adjust
5831 * rowpainter.C (paintChars): adjust
5832 (paintSelection): adjust
5833 (paintChangeBar): adjust
5836 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5838 (numberOfSeparators): adjust
5840 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5846 * text3.C: Restricts the mouse click functionality
5847 of insets like bibtex, include, toc and floatlist to the visible
5848 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5849 up the dialogs. Cursor has to be in front of the inset (i.e.
5850 start of row) for this to function.
5852 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5854 * bufferview_funcs.C (currentState): output row information
5856 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5858 * bufferview_funcs.C (currentState): output paragraph position
5860 2003-09-04 Angus Leeming <leeming@lyx.org>
5862 * FloatList.h: move out #include "Floating.h".
5863 * LaTeX.h: move out #include "DepTable.h".
5864 * LyXAction.h: move out #include "funcrequest.h".
5865 * buffer.h: move out #include "author.h", "iterators.h".
5866 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5867 * lyx_main.h: move out #include "errorlist.h".
5868 * lyxfunc.h: move out #include "FuncStatus.h".
5869 * lyxtext: move out #include "lyxcursor.h".
5870 * paragraph_pimpl.h: move out #include "counters.h".
5872 2003-09-03 Angus Leeming <leeming@lyx.org>
5874 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5875 preamble_snippets list, enabling us to add snippets to the preamble
5876 only if the snippet was not there already.
5878 2003-09-04 Angus Leeming <leeming@lyx.org>
5880 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5882 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5887 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5889 * BranchList.C: point fix, earlier forgotten
5891 2003-09-02 Angus Leeming <leeming@lyx.org>
5893 * box.C (contains): renamed from 'contained' after a fantastic
5896 2003-09-02 John Levon <levon@movementarian.org>
5902 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5904 2003-09-02 John Levon <levon@movementarian.org>
5906 * text2.C: simplification of cursorEnd(), including partial
5909 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * buffer.C (readFile): add a space
5913 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5915 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5917 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * buffer.C (readFile): new function, take a filename and a
5920 ParagraphList::iterator
5922 (readFile): adjust, make it private. don't use setStream, make
5923 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5924 always contain the filename.
5926 * BufferView.C (insertLyXFile): simplify and make it work for
5929 2003-08-30 John Levon <levon@movementarian.org>
5931 * Makefile.am: fix dist (from Kayvan)
5933 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5935 * most files: change to use const Buffer refs
5937 2003-08-27 André Pönitz <poenitz@gmx.net>
5939 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5940 on top of ownerPar().
5942 2003-08-27 John Levon <levon@movementarian.org>
5944 * funcrequest.C: properly initialise POD members
5946 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5948 * lyxtext.h (top_y): move top_y from here
5953 * BufferView_pimpl.[Ch]: to here
5954 * frontends/screen.C:
5955 * insets/insettabular.C:
5956 * insets/insettext.C: adjust
5957 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5959 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5962 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5964 2003-08-26 André Pönitz <poenitz@gmx.net>
5966 * paragraph_func.[Ch] (outerPar): new function
5969 * paragraph_funcs.C:
5970 * paragraph_funcs.h:
5971 * paragraph_pimpl.C:
5972 * text2.C: remove Inset::par_owner
5974 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5979 * text2.C: eliminates the needFullRow/display() stuff
5980 altogether, putting the logic in metrics/draw in the insets.
5982 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5984 * text2.C (redoParagraphInternal, redoParagraphs):
5985 * text.C (redoParagraph): add a call to updateRowPositions at the
5986 end of each 'metrics-like' call. Remove all others.
5987 (getRow): remove the 'y-computing' version.
5988 (getRowNearY): do not compute nor return the real y. Solve the
5989 'y < 0' problem and simplify.
5991 2003-08-22 Angus Leeming <leeming@lyx.org>
5993 * *.[Ch]: clean-up of licence and author blurbs.
5994 Also move config.h out of a few .h files and into a few .C files.
5996 2003-08-22 André Pönitz <poenitz@gmx.net>
5998 * lyxrow.[Ch]: add x_ and *fill_ members
6003 * text2.C: adjust/remove prepareToPrint() calls
6005 2003-08-22 André Pönitz <poenitz@gmx.net>
6007 * lyxrow.[Ch]: add end_ member
6009 * lyxrow_funcs.C: use LyXRow::end_
6011 * lyxtext.h (singleWidth): add LyXFont parameter
6014 * text2.C: adjust LyXText::singleWidth() calls
6016 * text.C (redoParagraph): simplify row breaking logic
6019 2003-08-19 André Pönitz <poenitz@gmx.net>
6021 * funcrequest.C: initialize button_ member
6024 * rowpainter.[Ch]: interface consolidation
6026 2003-08-18 André Pönitz <poenitz@gmx.net>
6029 * BufferView_pimpl.C:
6031 * paragraph_funcs.C:
6033 * text3.C: remove LyXScreen::draw() and fitCursor calls
6035 * BranchList.h: remove spurious semicolons
6037 * MenuBackend.C: fix branchlist related crash
6039 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6047 * bufferparams.[Ch]:
6051 * text3.C: implements the 'branch inset'
6052 idea. This allows the output of various versions of a document
6053 from a single source version, selectively outputing or suppressing
6054 output of parts of the text.
6055 This implementation contains a 'branch list editor' in a separate
6056 tab of the document settings dialog. Branches are user definable
6057 and have a "display colour" to distinguish them on-screen.
6059 ColorHandler was somewhat cleaned up.
6060 (1) make possible a dynamically growing LColor list by allowing
6061 the graphic context cache to grow along (vector);
6062 (2) eliminate an IMHO unnecessary step in colour allocation.
6064 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6066 * BufferView_pimpl.C: compile fix
6068 2003-08-15 André Pönitz <poenitz@gmx.net>
6070 * rowpainter.C: remove extra metrics calls
6072 * lyxtext.h: merge the two constructors into a single one,
6073 pass reference to owner's par list
6075 * BufferView_pimpl.C:
6079 2003-08-15 André Pönitz <poenitz@gmx.net>
6081 * lyxrow_funcs.[Ch]:
6084 * paragraph_funcs.C:
6089 * text_funcs.C: split LyXText::rowlist_ into individual
6090 Paragraph::rows_ chunks
6093 * BufferView_pimpl.[Ch]:
6096 * text3.C: remove toggleSelection()
6098 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6100 * bufferlist.C: beautify two alerts (shorter text of buttons)
6101 * buffer.C: Remove redundant ' ' from message
6103 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6104 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6105 rename VALIGN_CENTER to VALIGN_MIDDLE
6107 2003-08-11 André Pönitz <poenitz@gmx.net>
6109 * lyxtext.h (getPar):
6110 * text.C: new function
6112 2003-08-11 André Pönitz <poenitz@gmx.net>
6115 * tracer.[Ch]: remove unneeded files
6117 * InsetList.[Ch]: remove resizeInsetsLyXText()
6122 * text3.C: merge insertParagraphs() and appendParagraph()
6123 remove breakAgain(), update()
6125 * BufferView_pimpl.[Ch]:
6126 * bufferview_funcs.[Ch]:
6130 * tabular.C: adjust after text & InsetList changes.
6132 2003-08-08 André Pönitz <poenitz@gmx.net>
6134 * text.C (insertChar, backspace): replace rowlist fiddling
6135 with rebreak of full par
6138 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6139 checkParagraph, updateInset): removed
6141 2003-08-07 André Pönitz <poenitz@gmx.net>
6144 * text3.C: merge some LFUN handlers, remove dead code
6146 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6148 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6150 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6152 * text2.C (DEPM): fix part of bug 1255 and 1256
6154 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6156 * BufferView_pimpl.C (workAreaDispatch): change to use
6157 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6158 that are no mouse related.
6160 2003-08-05 André Pönitz <poenitz@gmx.net>
6163 * BufferView_pimpl.[Ch]:
6164 * bufferview_funcs.C:
6166 * text3.C: rip out "deep update"
6168 * textcursor.[Ch] (last_sel_cursor): remove unused member
6170 2003-08-04 André Pönitz <poenitz@gmx.net>
6173 * BufferView_pimpl.[Ch]:
6174 * ParagraphParameters.C:
6175 * bufferview_funcs.C:
6181 * text3.C: replace "complicated" BufferView::update(...) calls with
6184 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6186 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6188 * Makefile.am (lyx_SOURCES): add paper.h
6190 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6192 * Makefile.am: move things around so that both lyx-qt and
6193 lyx-xforms can be built (according to --with-frontend). Then lyx
6194 is a symbolic link to lyx-[firstfrontend]
6196 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6198 * Always use std::endl with lyxerr
6200 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6202 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6204 2003-08-01 André Pönitz <poenitz@gmx.net>
6207 * BufferView_pimpl.[Ch]:
6209 * text3.C: merge BufferView::repaint() and BufferView::update()
6211 2003-08-01 José Matos <jamatos@lyx.org>
6213 * buffer.[Ch]: file_format is no longer a buffer data element.
6215 2003-08-01 André Pönitz <poenitz@gmx.net>
6220 * text2.C: make redoParagraph more independent of current cursor
6222 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6224 * text2.C: remove unneeded members
6226 2003-07-30 André Pönitz <poenitz@gmx.net>
6228 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6230 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6231 create a single function...
6233 * paragraph_funcs.C (moveItem): ... here.
6236 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6238 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6240 * LColor.[Ch]: Add comment and greyedout logical colors.
6242 2003-07-30 André Pönitz <poenitz@gmx.net>
6244 * tabular.C: don't use Assert too heavily. This crashes where it
6247 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6249 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6250 is disabled (bug 1232)
6252 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6254 * factory.C: limited 'arg' scope
6256 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6258 * factory.C: fixed Note submenu issues
6260 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6262 * factory.C: submenu for Note/Comment/Greyedout
6264 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6267 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6269 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6272 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6273 greyedout. Patch provided by Jürgen Spitzmüller.
6275 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6277 * kbmap.C (read): fix error message when reading bind files
6279 2003-07-29 Angus Leeming <leeming@lyx.org>
6281 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6282 certainly does not do what it purports to do. I am doing it, and
6283 us, a favour by killing it.
6285 2003-07-28 José Matos <jamatos@lyx.org>
6287 * buffer.C (readBody, do_writeFile):
6288 * paragraph.C(readParagraph): \end_document replaces \the_end.
6290 2003-07-29 André Pönitz <poenitz@gmx.net>
6293 * BufferView_pimpl.[Ch]:
6297 * textcursor.[Ch]: remove toggleToggle & Co
6299 2003-07-28 José Matos <jamatos@fep.up.pt>
6301 * buffer.C (readParagraph):
6302 * params_func (readParToken, readParagraph):
6303 * paragraph.C (write): \layout -> \begin_layout.
6305 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6307 * lyxlex_pimpl.C (setFile): clean up slightly.
6309 * bufferparams.h: add compressed var
6311 * buffer_funcs.C (readFile): adjust for LyXLex change
6312 (newFile): ditto + simplify
6314 * buffer.C (writeFile): handle writing of compressed files
6316 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6317 Check if the file is compressed and set a bufferparm if so.
6319 * Makefile.am (lyx_LDADD): remove explicit -lz
6321 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6323 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6324 makeDocBookFile): put the real LyX version in the first line of
6328 * version.C.in: remove lyx_docversion
6330 * tabular.C (write_attribute): add a template-based version to
6331 write enums properly
6333 2003-07-28 André Pönitz <poenitz@gmx.net>
6338 * text3.C: use doubles again for x-coordinates. They are needed.
6340 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6342 * messages.C (getLocaleDir): use lyx_localedir()
6344 * lyxlex_pimpl.C (setFile): compress stuff
6346 * buffer.C (writeFile): add some compression stuff
6347 (do_writeFile): new func, dont call expliti close... will this
6350 * Makefile.am (lyx_LDADD): add -lz
6352 2003-07-28 José Matos <jamatos@fep.up.pt>
6354 * buffer.C: increment file format.
6355 * paragraph_funcs (readParagraph, readParToken):
6356 * paragraph.C (readParagraph): add \end_layout.
6358 2003-07-27 Angus Leeming <leeming@lyx.org>
6360 * Makefile.am: remove special casing for configure-time setting of
6361 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6363 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6364 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6366 2003-07-26 André Pönitz <poenitz@gmx.net>
6368 * paragraph_func.[Ch]:
6369 * paragraph.C (realizeFont): inline it whereever it is used
6374 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6377 2003-07-26 André Pönitz <poenitz@gmx.net>
6381 * text2.C: get rid of LyXText::need_break_row
6383 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6385 * toc.[Ch]: put namespace toc inside namespace lyx
6387 * MenuBackend.C (expandToc2): adjust for lyx::toc
6390 * lyxfunc.C (dispatch): adjust for lyx::find
6392 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6393 lyx::find instead. Reorganize a bit.
6394 (LyXReplace): rename to replace
6395 (LyXFind): rename to find
6397 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6400 2003-07-26 André Pönitz <poenitz@gmx.net>
6402 * text.C (setHeightOfRow): restrict scope of temporary variable
6404 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6405 code (never has been used?)
6407 2003-07-27 Asger Alstrup <alstrup@local>
6409 * text.C (fill): Optimise algorithm to exploit that we can reuse
6410 the LyXFont for many characters.
6411 (setHeightOfRow): Same thing.
6412 (rowBreakPoint): Same thing.
6414 2003-07-26 Asger Alstrup <alstrup@local>
6416 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6418 * text.C (singleWidth): Spurious font copying in hot-spot
6419 singleWidth avoided. Reorder tests for arabic for efficiency.
6421 * text.C (fill): handle empty paragraphs better.
6423 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6426 * encoding.h: add includes
6428 * lyxrc.C: remove reading of bind files
6430 * lyx_main.C (init): setup bindings and menus only if we have a
6433 * kbmap.C (read): new method. Do the actual reading of bind
6436 * converter.C (dvipdfm_options):
6439 (output): adapt PAPER_* enums.
6441 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6443 * bufferparams.h: remove paper-related enums from there
6445 * paper.h: New file. A trivial header file to hold paper-related
6446 enums. It should later expand to contain many paper-related
6449 * lyxrc.C: declare extern displayTranslator
6451 2003-07-27 José Matos <jamatos@fep.up.pt>
6453 * tabular.[Ch] (linuxdoc): add support for tables and figures
6456 2003-07-27 José Matos <jamatos@fep.up.pt>
6458 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6459 consistency in both functions.
6460 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6462 2003-07-26 Asger Alstrup <alstrup@local>
6464 * rowpainter.C (paintRows): Change algorithm to work directly on
6465 the insets rather than asking every character in the document
6466 whether its an inset.
6468 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6470 * buffer.C (openFileWrite): factorize some code
6472 2003-07-26 Angus Leeming <leeming@lyx.org>
6475 * lyx_main.[Ch]: replace occurances of system_tempdir with
6478 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6480 * rename Inset to InsetOld
6482 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6484 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6485 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6486 which I think is a bit clearer. EDIT is gone, since it was
6487 premature optimisation, and broken for mathed anyway.
6488 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6489 with cursor positioning in insets as well (math insets still do not
6490 work, but that's a different story anyway.) It mysteriously
6491 crashes sometimes with undo in the first paragraph, but I'm fairly
6492 confident that this is a compiler bug.
6494 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6496 * paragraph.C (Paragraph): adjust for new clone return type
6498 (copyIntoMinibuffer): ditto
6500 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6502 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6503 by not having a special case, and always doing a full rebreak of
6504 the document after undo.
6506 2003-07-23 Angus Leeming <leeming@lyx.org>
6508 * factory.C (createInset): InsetExternal::setParams now takes a
6511 2003-07-23 Angus Leeming <leeming@lyx.org>
6513 * factory.C (createInset): changed interface to the external and
6514 graphics mailers' string2params functions.
6516 2003-07-23 Angus Leeming <leeming@lyx.org>
6518 * factory.C (createInset): pass a
6519 Buffer const * parameter to InsetExternalMailer's string2params.
6521 2003-07-22 John Levon <levon@movementarian.org>
6523 * Thesaurus.h: include the right aiksaurus header
6525 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6527 * MenuBackend.C (expand): check menu shortcuts unconditionally
6529 2003-07-21 Angus Leeming <leeming@lyx.org>
6531 * factory.C (createInset): pass a
6532 buffer_path parameter to InsetGraphicsMailer's string2params.
6534 2003-07-21 Angus Leeming <leeming@lyx.org>
6536 * BufferView_pimpl.C (buffer):
6539 * lyxfunc.C (dispatch):
6540 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6541 rather than the grfx shortcut.
6543 2003-07-21 André Pönitz <poenitz@gmx.net>
6545 * rowpainter.C: remove unused variables
6548 * tabular_funcs.h: move to tabular.C
6549 * Makefile.am: adjust
6551 * tabular.[Ch]: basic optical cleaning
6553 * author.h: pass references, not values
6555 2003-07-18 André Pönitz <poenitz@gmx.net>
6563 * text3.C: two-phase drawing for InsetText and InsetTabular
6564 some float -> int changes.
6566 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6568 * lyx_main.C: fix the fix
6570 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6572 * lyx_main.C: fix a crash in batch mode if no files specified
6575 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6577 * format.[Ch] (papersize): moved to BufferParams
6578 * converter.[Ch] (dvips_options): moved to BufferParams
6579 (dvipdfm_options): moved to anon namespace
6580 * bufferparams.[Ch]: added above functions.
6582 2003-07-17 André Pönitz <poenitz@gmx.net>
6586 * text2.C: don't call inset->update() anymore
6588 * metricsinfo.[Ch]: add convenience constructor
6590 2003-07-16 André Pönitz <poenitz@gmx.net>
6595 * text2.C: replace the LyXCursor::irow_ member with
6596 on-demand computation of the value
6598 2003-07-16 John Levon <levon@movementarian.org>
6600 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6602 2003-07-15 André Pönitz <poenitz@gmx.net>
6605 * text2.C: remove no more needed refresh_row
6607 2003-07-15 André Pönitz <poenitz@gmx.net>
6612 * text3.C: refresh_status tristate -> need_update bool
6614 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6616 * lyxtext.h (init): remove reinit argument (act as if always true)
6617 * text2.C: adjust to that
6619 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6621 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6622 * text3.C: use it to delete selections in some cases
6623 (bugs 441, 673, 702, 954).
6625 2003-07-14 André Pönitz <poenitz@gmx.net>
6627 * rowpainter.[Ch]: reduce interface
6629 2003-07-14 André Pönitz <poenitz@gmx.net>
6631 * BufferView_pimpl.C:
6632 * text2.C: adjust after removing unused BufferView * argument
6634 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6636 * text2.C (init): fix a crash fired on resize
6638 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6640 * buffer.[Ch]: added new closing signal
6641 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6642 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6643 BufferView::Pimpl via the closing the signal
6645 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6647 * buffer.[Ch]: take out all bv-related from buffer
6649 * BufferView_pimpl.[Ch]: connect to new signals
6650 * CutAndPaste.C: removed useless asserts
6651 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6654 * lyxfunc.C: moved view-related funciontality from vc here
6655 * paragraph.C: removed outdated comments
6658 2003-07-10 André Pönitz <poenitz@gmx.net>
6660 * BufferView_pimpl.C:
6664 * text2.C: remove InsetText::InnerCache, clean up consequences
6666 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6668 * ispell.C: fix two typos in error messages
6670 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6672 * Extend Note inset to other forms of annotation like Comment
6673 and Greyedout. Right button click gives dialog.
6675 Files modified or added (+):
6679 * ControlNote.[Ch] +
6681 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6682 frontends/controllers
6686 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6688 * aspell.C: add missing namespace lyx::support
6690 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6692 * BufferView.[Ch] (newFile): Add
6693 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6694 * LaTeX.[Ch] (message): added this signal and use it
6695 * buffer.[Ch] (busy, message): added these signals and use them
6696 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6700 * importer.C: use buffer signals instead of direct bv calling
6701 * lyx_cb.[Ch] (ShowMessage): removed
6704 * paragraph_funcs.C:
6705 * text2.C: use buffer signals
6707 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6709 * introduce namespace lyx::graphics
6711 2003-07-02 André Pönitz <poenitz@gmx.net>
6713 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6715 2003-07-01 André Pönitz <poenitz@gmx.net>
6722 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6723 text*.C to text_func.C
6725 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * introduce namespace lyx::support
6729 2003-06-30 André Pönitz <poenitz@gmx.net>
6734 * text.C: re-enable --with-included-string
6736 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * textcursor.C: add <config.h>
6740 * text.C (getWord): remove const from word_location arg
6742 * lyxvc.C (getLogFile): fix const type order
6744 * lyxtext.h: remove const from word_location arg, add arg name
6746 * lyxlayout.h: currect type on labeltype.
6748 * importer.C: correct \file
6750 * converter.C (intToFormat): use std:: on ret val, ws changes
6752 * bufferlist.h: correct \file
6754 * buffer.C (makeLinuxDocFile): fix const type order
6755 (makeDocBookFile): ditto
6756 (fillWithBibKeys): use std:: on stdlib args.
6758 * CutAndPaste.C: fix authors.
6759 (availableSelections): use std:: on return vector
6761 2003-06-27 André Pönitz <poenitz@gmx.net>
6763 * BufferView_pimpl.C:
6764 * bufferview_funcs.C:
6772 * text3.C: remove LyXCursor::row_ member
6775 * text.C: rename fullRebreak() to partialRebreak() and implement
6776 a fullRebreak() that really bereks fully
6778 * textcursor.h: new struct for cursor-related data
6780 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6782 * lyx_main.C (LyX): get full path of document loaded on the
6785 2003-06-26 André Pönitz <poenitz@gmx.net>
6787 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6788 remove unused/broken operator>,<,>=.
6790 * text.C: remove only use of broken operator<= in an Assert().
6792 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6794 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6795 moved errorlist_.clear to showErrorList
6797 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6799 * converter.C (scanLog, runLaTeX):
6800 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6801 move the bv->showErrorList call to the callers
6802 * lyxfunc.C: i.e. here...
6804 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6805 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6806 namespace, the second to...
6807 * buffer_funcs (BufferFormat, parseErrors): added
6808 * errorlist.C (ErrorList(TeXErrors const &)): removed
6810 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6812 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6814 2003-06-24 "Garst R. Reese" <reese@isn.net>
6818 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6820 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6822 * version.C.in: change docversion to 1.4
6824 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6826 * buffer.C: fix a bug just introduced
6828 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6830 * buffer.[Ch]: added the parseError signal and use it, removed
6832 * BufferView.[Ch] (addError): moved to ...
6833 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6834 to the Buffer::parseError signal to catch (guess what) parse errors
6835 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6837 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6839 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6840 ability to create a buffer and to return an existing one from
6841 the list. Moved these functions to...
6842 * buffer_funcs.[Ch]: added
6843 * BufferView.[Ch] (loadLyXFile): added
6844 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6845 job removed from bufferlist::loadLyXFile.
6846 * buffer.C (setReadOnly): make it work without view
6847 (i.e added an if (users))
6849 2003-06-19 Angus Leeming <leeming@lyx.org>
6852 * LyXAction.C (init):
6853 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6854 with LFUN_DIALOG_SHOW <name> <data>.
6856 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6858 * CutAndPaste.C (availableSelections): small compilation fix for
6859 ancient (gcc 2.9x) compilers
6861 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6863 * text3.C (cursorNext): add tmp var
6865 * text2.C (updateCounters): for function calling out of for clause
6866 (replaceSelectionWithString): ditto
6867 (insertStringAsParagraphs): ditto
6868 (getColumnNearX): add tmp var
6869 (setCursorFromCoordinates): add tmp var
6870 (cursorDownParagraph): add tmp var
6871 (deleteEmptyParagraphMechanism): add tmp var
6873 * text.C (insertChar): add tmp var
6875 * rowpainter.C (paintDepthBar): add tmp var
6877 * CutAndPaste.C (availableSelections): potentially check all
6878 paragraphs in a cut to fill the shown strings.
6880 2003-06-18 André Pönitz <poenitz@gmx.net>
6882 * kbmap.[Ch]: use vector<> instead of list<>
6884 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6886 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6887 pasteSelection with index
6889 * text2.C (pasteSelection): modify, call pasteSelection with index
6891 * paragraph.C (asString): reimplement version with no interval to
6892 call the one with interval.
6894 * lyxtext.h: add index arg to pasteSelection
6896 * MenuBackend.C (MenuItem): handle PasteRecent
6897 (Menu::read::Menutags): add md_pasterecent
6899 (expandPasteRecent): new function
6902 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6904 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6906 (availableSelections): new function
6908 2003-06-17 Angus Leeming <leeming@lyx.org>
6910 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6912 2003-06-17 Angus Leeming <leeming@lyx.org>
6915 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6917 * lyxfunc.C (dispatch): invoke it.
6919 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6921 * iterators.C (operator++, ParPosition): reintroduce some
6922 const_cast for the benefit of older compilers.
6924 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6926 * text3.C (dispatch): do not modify clipboard when doing
6927 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6928 LFUN_DELETE_SKIP on a selection selection
6930 2003-06-16 André Pönitz <poenitz@gmx.net>
6936 * tabular.[Ch]: IU of clone() and getLabelList();
6938 2003-06-13 André Pönitz <poenitz@gmx.net>
6940 * tabular.h: compactification
6942 2003-06-12 André Pönitz <poenitz@gmx.net>
6946 * tabular_funcs.h: some renaming plus whitespace
6948 2003-06-12 André Pönitz <poenitz@gmx.net>
6951 * BufferView_pimpl.C:
6957 * toc.C: Return a Paragraph & for ParIterator::operator*()
6959 2003-06-11 John Levon <levon@movementarian.org>
6963 * ToolbarBackend.C: add "Toolbars" section and
6966 2003-06-10 Angus Leeming <leeming@lyx.org>
6969 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6971 * lyxfunc.C (dispatch): invoke it.
6973 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6975 * main.C: protect <ios> with HAVE_IOS
6976 (main): protect sync_with_stdio with HAVE_IOS
6978 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6980 * text2.C (cutSelection): adjust
6981 (pasteSelection): adjust
6983 * messages.C: handle get of empty string
6985 * main.C (main): use sync_with_stdio(false)
6987 * lyxfunc.C (dispatch): adjust
6989 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6990 (WriteAs): remove unneeded BufferView arg.
6992 * bufferparams.h: use correct types on papersize, papersize2 and
6995 * bufferparams.C (readToken): adjust for type
6996 (writeLaTeX): add missing cases to switch.
6998 * bufferlist.C (quitWriteBuffer): adjust
7001 * buffer.C (asciiParagraph): remove some commented code.
7003 * CutAndPaste.C: remove current_view extern variable.
7004 (cutSelection): add BufferParams arg.
7005 (eraseSelection): add BufferParams arg.
7006 (pasteSelection): add Buffer const & arg
7008 2003-06-07 John Levon <levon@movementarian.org>
7011 * paragraph_funcs.C:
7012 * paragraph_pimpl.C:
7016 * paragraph.C: allow InsetERT to freely space lines,
7017 and some consolidation of code
7019 2003-06-06 José Matos <jamatos@fep.up.pt>
7021 * buffer.C (makeDocBookFile): fix bug #821
7023 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7025 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7027 2003-06-04 Angus Leeming <leeming@lyx.org>
7029 * buffer.C: bump format to 224.
7031 2003-06-05 André Pönitz <poenitz@gmx.net>
7033 * text2.C (redoParagraphs): remove two const_cast<>
7035 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7037 * ParagraphList.h: remove last remnants of NO_STD_LIST
7039 2003-06-03 Angus Leeming <leeming@lyx.org>
7041 * factory.C (createInset): small change to the way InsetExternal's params
7044 2003-06-04 André Pönitz <poenitz@gmx.net>
7046 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7048 * paragraph_pimpl.h:
7049 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7051 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7053 * undo_funcs.C: make some simple cases of undo work again
7055 2003-06-03 John Levon <levon@movementarian.org>
7057 * ispell.C: HPUX doesn't have sys/select.h
7060 2003-06-03 John Levon <levon@movementarian.org>
7062 * CutAndPaste.C: update tabular and include inset
7067 * paragraph.C: remove owningBuffer(), don't pass Buffer
7070 * factory.C: insetGraphicsParams changed
7072 2003-06-02 John Levon <levon@movementarian.org>
7078 * text3.C: remove insetparent
7080 2003-06-02 John Levon <levon@movementarian.org>
7083 * buffer.C: fix inset_iterator.end(), move out of line
7086 2003-06-01 John Levon <levon@movementarian.org>
7088 * text3.C: use a proper cut/paste when doing inset
7089 insert (from Jürgen Spitzmüller)
7091 2003-06-01 John Levon <levon@movementarian.org>
7093 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7095 2003-05-30 André Pönitz <poenitz@gmx.net>
7097 * rowpainter.C: unify second drawing phase
7099 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * trans_mgr.C: remove one case of current_view
7103 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7105 * paragraph_funcs.h: remove paragraph.h include
7107 * paragraph.h: delete NO_STD_LIST stuff
7109 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7111 * buffer.h: remove paragraph.h include
7113 * ParagraphList.C: delete file
7115 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7117 * toc.C (getTocList): adjust
7119 * paragraph_pimpl.C (validate): adjust
7121 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7123 * paragraph.C (Paragraph): adjust
7124 (getPositionOfInset): use const_iterator, adjust
7125 (bibitem): use const_iterator, adjust
7126 (setInsetOwner): adjust
7128 * iterators.C (operator++): adjust
7130 * InsetList.[Ch]: Replace selfmade iterator with standard
7131 vector::iterator also introduce const_iterator. Remove getPos,
7132 getInset and setInset from InsetTable. Adjust accordingly.
7134 * BufferView.C (lockInset): adjust
7135 (ChangeInsets): adjust
7137 * tabular.[Ch]: delete commented same_id functions
7139 2003-05-28 John Levon <levon@movementarian.org>
7141 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7143 2003-05-28 André Pönitz <poenitz@gmx.net>
7145 * metricsinfo.[Ch]: remove 'fullredraw' member
7147 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7149 * lyxtextclass.C (operator): remove caching.
7151 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7155 * text2.C (cursorBottom): adjust
7156 (setCounter): use ParagraphList::find, adjust
7158 * text.C (workWidth): use ParagraphList::find, adjust
7160 * lyxcursor.C (LyXCursor): adjust
7162 * buffer.C (inset_iterator): adjust
7164 * ParagraphList.h: make iterator(value_type) private, make
7165 ParagraphList a friend of iterator.
7167 * ParagraphList.C (find): new function
7169 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7171 2003-05-27 André Pönitz <poenitz@gmx.net>
7173 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7175 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7177 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7179 2003-05-26 John Levon <levon@movementarian.org>
7181 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7183 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7185 * remove same_id from function signatures, adjust.
7187 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7189 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7191 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7193 * paragraph.C (Paragraph): get rid of same_ids parameter
7195 * ParagraphList.C (insert): adjust
7198 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * paragraph_funcs.C (breakParagraph): adjust
7201 (breakParagraphConservative): adjust
7203 * buffer.C (readParagraph): adjust
7205 * ParagraphList.C (insert): take a reference instead of a pointer
7208 * paragraph.[Ch] (id): new function
7210 * bufferlist.C (newFile): adjust
7212 * ParagraphList.C (ParagraphList): adjust
7214 (push_back): take a reference instead of a pointer.
7216 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7218 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7221 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7222 set else use old code.
7224 * ParagraphList.C: remove all NO_NEXT code and only compile this
7225 code of NO_STD_LIST is set.
7227 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7229 * BufferView_pimpl.C:
7239 * graphics/GraphicsConverter.C:
7240 * graphics/PreviewLoader.C: header adjustment
7242 2003-05-23 Angus Leeming <leeming@lyx.org>
7244 * LaTeXFeatures.[Ch] (useBabel): new method.
7245 * bufferparams.C (writeLaTeX): use it.
7247 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7249 * ParagraphList.h (set): remove unused function.
7251 2003-05-23 André Pönitz <poenitz@gmx.net>
7254 * BufferView_pimpl.C:
7258 * undo_funcs.C: setUndo reworked
7260 * iterators.[Ch]: add access to topmost ParagraphList
7262 * lyxtext.[Ch] (workWidth): add a const
7264 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7266 * texrow.[Ch] (increasePos): remove function
7267 * exporter.C (export): removed unused var and outdated comment
7269 2003-05-23 Angus Leeming <leeming@lyx.org>
7271 * latexrunparams.h: rename fragile as moving_arg.
7272 * paragraph.C (simpleTeXOnePar): ditto.
7273 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7275 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7279 (textUndoOrRedo): comment out a currently unused var.
7281 * paragraph.h (NO_NEXT): enable NO_NEXT
7283 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7285 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7287 * exporter.C (Export): adjust for removeAutoInsets removal.
7289 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7291 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7293 * BufferView.[Ch] (removeAutoInsets): delete function
7295 2003-05-22 Angus Leeming <leeming@lyx.org>
7297 * latexrunparams.h: add a free_spacing variable.
7299 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7300 to pass moving_arg, as the data is stored in runparams.fragile.
7302 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7303 to Inset::latexOptional or to simpleTeXOnePar.
7305 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7306 free_spacing arg to Inset::latexOptional.
7308 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7311 2003-05-22 Angus Leeming <leeming@lyx.org>
7313 * latexrunparams.h: add fragile and use_babel variables.
7315 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7316 * buffer.C (makeLaTeXFile): store this returned value in
7317 runparams.use_babel, thus passing it to the inset::latex methods.
7319 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7320 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7322 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7323 longer has a fragile arg, as it is stored in runparams.fragile.
7325 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7326 moving_arg parameter as the data is stored in runparams.fragile.
7328 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7329 a fragile parameter as the data is stored in runparams.fragile.
7331 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7335 2003-05-22 Angus Leeming <leeming@lyx.org>
7337 * latexrunparams.h: add a 'bool nice' which defaults to false.
7339 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7340 now encapsulated within runparams.
7342 * bufferlist.C (updateIncludedTeXfiles):
7343 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7345 2003-05-22 Angus Leeming <leeming@lyx.org>
7347 * latexrunparams.h: new file containing struct LatexRunParams.
7348 * Makefile.am: add new file.
7350 * LaTeX.[Ch] (c-tor, run):
7351 * buffer.[Ch] (makeLaTeXFile):
7352 * bufferlist.[Ch] (updateIncludedTeXfiles):
7353 * converter.C (convert, scanLog):
7354 * converter.[Ch] (runLaTeX):
7355 * exporter.C (Export):
7356 * paragraph.[Ch] (simpleTeXOnePar):
7357 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7358 * paragraph_funcs.[Ch] (latexParagraphs):
7359 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7360 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7361 pass around a LatexRunParams parameter.
7363 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * paragraph.[Ch]: remove unused constructor
7367 * ParagraphList.C (erase): new function, taking two iterators
7369 2003-05-22 André Pönitz <poenitz@gmx.net>
7371 * undo_funcs.C: remove duplicated code
7373 * iterator.[Ch]: operator=
7375 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7377 * tabular.C (SetMultiColumn): ws changes
7379 * rowpainter.C (paintFirst): get rid of a ->previous
7381 * lyx_cb.C (getPossibleLabel): parlist simplification
7383 * BufferView.C (ChangeInsets): simplify slightly.
7385 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7387 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7388 * lfuns.h: new LFUN_SPACE
7389 * lyxfunc.C: protected space has a new lfun
7390 * paragraph_funcs.C: read new space insets
7392 * factory.C: handle new space insets
7394 2003-05-22 André Pönitz <poenitz@gmx.net>
7397 * BufferView_pimpl.C:
7400 * undo_funcs.C: return a ParIterator from getParFromID.
7402 * iterators.[Ch]: add two const's
7404 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7406 * toc.C (getTocList): adjust
7408 * iterators.[Ch]: rework for parlist
7410 * buffer.C (par_iterator_begin): adjust
7411 (par_iterator_end): adjust
7413 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7415 * BufferView.C (removeAutoInsets): adjust
7416 (ChangeInsets): adjust
7418 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7420 * text.C (top_y): fix bug 1110
7422 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7424 * errorlist.[Ch]: added
7427 * BufferView_pimpl.C:
7428 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7431 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * Makefile.am: ensure that lyx is relinked upon changes to the
7434 various "convenience" libs.
7436 2003-05-20 Angus Leeming <leeming@lyx.org>
7438 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7439 files are compiled in alphabetical order again.
7441 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7443 2003-05-19 Angus Leeming <leeming@lyx.org>
7445 * gettext.[Ch]: remove "char const * _(char const *)".
7447 2003-05-19 André Pönitz <poenitz@gmx.net>
7449 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7458 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7460 2003-05-19 André Pönitz <poenitz@gmx.net>
7464 * lyxtextclass.[Ch]:
7466 * paragraph_funcs.[Ch]:
7468 * text3.C: more insetenv work
7470 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7472 * ParagraphParameters.C (params2string): small bug fixed
7474 2003-05-16 André Pönitz <poenitz@gmx.net>
7477 * bufferview_funcs.C: patch from Kornel Benko to prevent
7478 crash when _(...) is called twice in a statement
7480 2003-05-16 André Pönitz <poenitz@gmx.net>
7487 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7489 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7491 * lyx_main.C (init): remove spurious static_cast
7493 2003-05-14 André Pönitz <poenitz@gmx.net>
7495 * BufferView.C: fix format string
7497 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7499 * BufferView.[Ch] (insertErrors): removed
7500 * BufferView.[Ch] (showErrorList): added
7501 * buffer.C (runChkTeX):
7502 * converter.C (scanLog): call showErrorList instead of inserterrors
7504 2003-05-13 André Pönitz <poenitz@gmx.net>
7506 * BufferView_pimpl.C:
7508 * bufferview_func.C:
7515 * tabular_funcs.h: tostr() from its own header
7517 * ParagraphParameters.C:
7522 * text3.C: STRCONV()
7524 2003-05-12 André Pönitz <poenitz@gmx.net>
7527 * BufferView_pimpl.C:
7531 * ParagraphParameters.C:
7535 * bufferview_funcs.C:
7548 * paragraph_funcs.C:
7552 * text3.C: boost::format -> bformat all over the place
7555 2003-05-09 André Pönitz <poenitz@gmx.net>
7557 * LColor.[Ch]: Pimpl the #include <map> away
7559 2003-05-09 John Levon <levon@movementarian.org>
7561 * bufferlist.C: never remove emergency saves
7563 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7565 * Makefile.am: better lib building
7567 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7569 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7571 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7572 (simpleTeXSpecialChars): adjust
7573 (simpleTeXSpecialChars): adjust
7574 * paragraph.C (simpleTeXOnePar): adjust
7575 * buffer.C (makeLaTeXFile): adjust
7577 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7579 * text2.C (changeDepth): parlist cleanup
7580 (getColumnNearX): ditto
7582 * rowpainter.C (getLabelFont): parlist cleanup
7584 * bufferlist.C (newFile): parlist cleanup
7586 * CutAndPaste.C (eraseSelection): parlist cleanup
7588 * BufferView_pimpl.C (trackChanges): parlist cleanup
7591 * BufferView.C (lockInset): parlist cleanup.
7592 (ChangeInsets): ditto
7594 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * CutAndPaste.h: Update file header.
7598 * CutAndPaste.C: Update file header.
7599 Store the parts cut out of the Document in a limited_stack.
7600 (copySelection): adjust
7601 (pasteSelection): new function, takes the index in the limited stack.
7602 (nrOfParagraphs): adjust
7603 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7604 simplify error inset insertion.
7605 (checkPastePossible): adjust
7607 2003-05-06 John Levon <levon@movementarian.org>
7609 * text2.C: don't cast wrap inset to float
7611 2003-05-05 André Pönitz <poenitz@gmx.net>
7614 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7616 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7617 few naked Paragraph *.
7619 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7621 * bufferparams.C: Output warning if a document with missing
7622 TeX document class is loaded
7623 * exporter.C: Disable TeX exports if the document class is missing
7626 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7627 isTeXClassAvailable()
7629 2003-05-03 John Levon <levon@movementarian.org>
7632 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7633 explicit cursor show/hide
7635 * BufferView_pimpl.h:
7636 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7637 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7639 * lyxfunc.C: hide cursor before dispatching.
7644 * text3.C: remove explicit cursor hides
7646 2003-05-02 André Pönitz <poenitz@gmx.net>
7648 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7651 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7654 * text2.C: tiny whitespace
7656 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * undo_funcs.C: almost only ws changes.
7660 * ParagraphList.C (splice): just return if pl is empty.
7662 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7664 * ParagraphList.C (splice): new function.
7666 * CutAndPaste.C (pasteSelection): use it
7668 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * CutAndPaste.C (pasteSelection): remove the last next and
7671 previous from this file.
7673 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7675 * CutAndPaste.C (pasteSelection): more clean up, user proper
7676 ParagraphList functions for pasteing.
7678 * ParagraphList.C (insert): new function, three arg insert
7680 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * ParagraphList.C (insert): new function, three arg insert
7684 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7687 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7689 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7691 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7693 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7695 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7697 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7698 (copySelection): clean up a bit.
7699 (pasteSelection): use make_pair
7701 * ParagraphList.C (ParagraphList): implement copy constructor
7702 (operator=): implement, base on copy constructor.
7705 * paragraph.C (erase): return a bool
7707 * paragraph_pimpl.C (erasePos): remove function, move contents...
7708 (erase): ... here. Return a bool.
7709 (erase): call erase instead of erasePos.
7711 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7713 * ParagraphList.h: define PitPosPair
7714 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7715 ParagraphList, fix a bug on pasting multiple pars
7716 * text2.C: change interface to C&P
7718 2003-04-30 André Pönitz <poenitz@gmx.net>
7720 * undo_func.C: revert part of yesterday's patch 2
7722 2003-04-30 John Levon <levon@movementarian.org>
7724 * LColor.C: s/tabular/table/
7726 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7728 * text3.C (dispatch): do not convert iterator -> pointer
7729 * undo_funcs.C (setCursorParUndo): ditto
7730 * text_funcs.C (transposeChars): ditto
7732 * text2.C (setLayout): ws changes only
7734 * text.C (breakParagraph): do not convert iterator -> pointer
7736 (acceptChange): ditto
7737 (rejectChange): ditto
7742 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7745 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7747 * text3.C (gotoInset): YABG (yet another bad getChar)
7749 2003-04-29 André Pönitz <poenitz@gmx.net>
7751 * paragraph.h: make operator= private unimplemented as long as
7754 * ParagraphList.C: whitespace
7757 * paragraph_pimpl.[Ch]:
7758 * paragraph_funcs.C:
7760 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7763 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7765 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7767 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7768 * paragraph.[Ch] (erase):
7769 * paragraph_pimpl.[Ch] (erase): change return type and value
7770 * text2.C (cutSelection): some rework
7772 2003-04-28 John Levon <levon@movementarian.org>
7774 * bufferlist.C: changes for unsaved changes dialog
7776 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7778 * bufferlist.C (newFile): set language (messages_) for new
7781 * buffer.C (readFile): ws changes only.
7783 2003-04-28 André Pönitz <poenitz@gmx.net>
7788 * BufferView_pimpl.C:
7789 * BufferView.C: getParFromID related ParagraphList::iterator changes
7791 2003-04-28 André Pönitz <poenitz@gmx.net>
7793 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7796 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * messages.C: remove one more localedir class variable.
7800 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * messages.C (getLocaleDir): singleton generation function
7804 (Messages): add a default constructor.
7806 * main.C (main): do not setup localedir here, do not call
7809 * gettext.C (_): use it.
7810 (gettext_init): delete funciton
7812 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7814 * gettext.C (getLyXMessages): new singleton generating function.
7816 * buffer.C (updateDocLang): adjust
7818 * Makefile.am (messages.o): add target
7819 (main.o): remove target
7821 2003-04-27 John Levon <levon@movementarian.org>
7826 * lyxvc.C: specify cancel button in Alert::prompt
7828 2003-04-26 John Levon <levon@movementarian.org>
7833 * LyXAction.C: add LFUN_INSET_SETTINGS
7835 * lyxfunc.C: don't enable tabular-feature when there's
7836 just any locking inset
7838 2003-04-26 John Levon <levon@movementarian.org>
7840 * bufferlist.C: re-add Cancel to buffer close question
7842 * lyxfunc.C: fix import UI a bit
7844 2003-04-25 John Levon <levon@movementarian.org>
7846 * gettext.C: remove the broken asserts for now
7848 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7850 * messages.C: make case where setlocale cannot comply work better.
7852 * buffer.C (updateDocLang): new function
7853 (changeLanguage): use it
7856 * text2.C (setCounter): use B_ a bit.
7858 * lyxlayout.C (Read): be sure to trim the label strings.
7860 * messages.C (Messages): fix typo in comment
7862 * buffer.C (readFile): set message_ after file is loaded.
7863 (makeDocBookFile): remove double return
7864 (changeLanguage): reset message_ upon language change.
7865 (B_): new func, use this to get translated buffer strings.
7867 * main.C: add myself and Jean Marc as authors.
7869 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7871 * messages.[hC]: pimplify Messages, and three different pimpls to be
7872 used in different circumstances.
7874 * gettext.[Ch]: change for use with new message code.
7876 2003-04-24 André Pönitz <poenitz@gmx.net>
7878 * factory.C: support for eqref
7880 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * messages.[Ch]: add missing char
7884 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7886 * messages.[Ch]: New files
7888 2003-04-18 John Levon <levon@movementarian.org>
7892 * BufferView_pimpl.C:
7896 * text2.C: remove layout-copy/paste (bug 778)
7898 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7900 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7902 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7904 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7905 if they succeed. Act accordingly.
7907 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7909 * text2.C (setCharFont): adjust
7910 (setCounter): adjust
7911 (insertStringAsLines): adjust
7913 * text.C (leftMargin): adjust
7914 (setHeightOfRow): adjust
7916 * rowpainter.C (paintFirst): adjust
7919 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7921 (isFirstInSequence): ditto
7922 (getEndLabel): ditto
7925 * paragraph.C (getParLanguage): comment out some hard stuff.
7927 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7929 (simpleDocBookOnePar): ditto
7930 (makeDocBookFile): use ParagraphList::iterator
7932 * CutAndPaste.C (pasteSelection): adjust
7934 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7936 * text2.C (getFont): adjust
7937 (getLayoutFont): adjust
7938 (getLabelFont): adjust
7940 * paragraph_funcs.C (TeXOnePar): adjust
7942 * buffer.C (simpleLinuxDocOnePar): adjust
7943 (simpleDocBookOnePar): adjust
7945 * CutAndPaste.C (pasteSelection): adjust
7947 * BufferView.C (getEncoding): adjust
7949 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7951 2003-04-16 John Levon <levon@movementarian.org>
7953 * lyxfind.C: use parlist stuff for search/changes
7955 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7959 * text2.C (deleteEmptyParagraphMechanism): adjust
7961 * text2.[Ch] (ownerParagraph): delete func (both of them
7963 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7965 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7967 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7969 * ParagraphList.C: prepare for NO_NEXT
7971 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7973 * text2.C (getFont): adjust
7974 (getLayoutFont): adjust
7975 (getLabelFont): adjust
7977 * paragraph.C (getFont): adjust
7978 (getLabelFont): adjust
7979 (getLayoutFont): adjust
7981 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7983 2003-04-15 John Levon <levon@movementarian.org>
7987 * lyx_main.C: handle Include in .ui files
7989 2003-04-15 John Levon <levon@movementarian.org>
7991 * MenuBackend.C: make the doc files length shorter
7994 * ToolbarBackend.C: handle toolbar placement flags,
7997 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7999 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8002 * paragraph_funcs.C (TeXOnePar): adjust
8004 * paragraph.C (getLabelFont): add outerfont arg, adjust
8005 (getLayoutFont): ditto
8006 (simpleTeXOnePar): adjust
8008 * paragraph_pimpl.C (realizeFont): delete func
8010 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8012 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8013 row argument, constify cur argument.
8015 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8017 * text2.C (getFont): adjust
8018 (getLayoutFont): adjust
8019 (getLabelFont): adjust
8021 * paragraph_funcs.C (TeXOnePar): adjust
8022 (outerFont): new func...
8023 (realizeFont): ...moved out from here, changed this to facilitate
8026 * paragraph.C (getFont): take outerfont as arg, adjust
8027 (simpleTeXOnePar): add outerfont arg, adjust
8029 * buffer.C (simpleLinuxDocOnePar): adjust
8030 (simpleDocBookOnePar): adjust
8032 * CutAndPaste.C (pasteSelection): adjust
8034 * BufferView.C (getEncoding): adjust
8036 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * text2.C (setCharFont): adjust
8039 (setCounter): adjust
8041 * text.C (leftMargin): adjust
8042 (setHeightOfRow): adjust
8044 * rowpainter.C (paintFirst): adjust
8047 * paragraph_pimpl.C (realizeFont): adjust
8049 * paragraph.C (isFirstInSequence): move from here...
8050 * paragraph_funcs.C (isFirstInSequence): ...to here
8052 * paragraph.C (outerHook): move from here...
8053 * paragraph_funcs.C (outerHook): ...to here
8055 * paragraph.C (depthHook): move from here...
8056 * paragraph_funcs.C (depthHook): ...to here
8058 * paragraph.C (getEndLabel): move from here...
8059 * paragraph_funcs.C (getEndLabel): ...to here
8061 * text2.C (realizeFont): move from here...
8062 * paragraph_funcs.C (realizeFont): ...to here
8064 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8066 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8068 2003-04-14 Angus Leeming <leeming@lyx.org>
8070 * LColor.[Ch]: scrap LColor mathcursor.
8072 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8074 * lyxlex.[Ch] (text): delete function
8075 * trans.C (Load): adjust
8076 * paragraph_funcs.C (readParToken): adjust
8078 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8080 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8081 vector<char> instead of a char[].
8083 * lyxlex_pimpl.C (getString): adjust
8085 (lex): use getString
8089 * lyxlex.C (text): use pimpl_->getString()
8093 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8096 (makeFontEntriesLayoutSpecific): temp var for par.size()
8097 (setLayout): temp var for ownerParagraphs().end()
8098 (fullRebreak): temp var for rows().end()
8099 (selectionAsString): temp var for boost::next(startpit), realize
8100 that the while really is a regular for loop.
8101 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8102 setCursor in one place.
8103 (setParagraph): temp vr for ownerParagraphs().end()
8104 (updateCounters): make the while loop a for loop
8105 (cutSelection): temp var for ownerParagraphs().end()
8106 (updateInset): make the do {} while() a regular for loop
8107 (getCursorX): use temp vars
8108 (setCurrentFont): use temp vars
8109 (getColumnNearX): use temp vars
8111 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8113 * text.C (transformChar): use temp var for getChar
8114 (computeBidiTables): use temp var for row->par()
8115 (fill): move temp vars for row->par() and pit->layout() earlier in
8117 (labelFill): use temp var for row->par()
8118 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8119 asc and desc, realize that pit never changes and that firstpit is
8120 just a duplicate and not needed. Exchange rit->par() with pit in a
8122 (breakAgain): use a temp var for boost::next(rit)
8123 (breakAgainOneRow): ditto
8124 (breakParagraph): use a temp var for rows().begin()
8125 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8126 (cursorRightOneWord): use temp var for cursor.par() and
8127 cursor.pos(), remove usage of tmpcursor.
8128 (cursorLeftOneWord): use temp var for cursor.par() and
8129 cursor.pos() only set cur at end of function.
8131 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8133 * text.C, text2.C: exchange all usage of Paragraph::next with
8134 boost::next(ParagraphList::iterator)
8136 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8138 * text2.C (cursorTop): simplify implementation
8139 (cursorBottom): ditto
8140 (setParagraph): use ParagraphList::iterator
8141 (setCurrentFont): adjust
8142 (getColumnNearX): adjust
8143 (cursorRight): adjust
8144 (cursorLeft): remove usage of Paragraph::previous
8145 (cursorUpParagraph): ditto
8146 (deleteEmptyParagraphMechanism): slight cleanup
8148 * text.C (isBoundary): take a Paragraph const & instead of a
8150 (addressBreakPoint): ditto
8151 (leftMargin): remove usage of Paragraph::previous.
8152 (setHeightOfRow): ditto
8153 (cursorLeftOneWord): ditto
8154 (selectNextWordToSpellcheck): ditto
8157 (breakParagraph): remove one usage of Paragraph::next
8158 (redoParagraph): ditto
8159 (acceptChange): ditto
8160 (insertChar): adjust
8161 (rowBreakPoint): adjust
8163 * bufferview_funcs.C (toggleAndShow): adjust
8165 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8167 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8168 methods to access it.
8170 * text.C: Added updateRowPositions to compute all row positions.
8171 Make top_y and getRowNearY() to use the cached y position
8173 2003-04-11 John Levon <levon@movementarian.org>
8175 * text.C (rowBreakPoint): reintroduce the labelEnd
8176 checks, code copied from the row fill stuff. Deep voodoo.
8178 * text.C (fill): add a comment and debugging for the
8181 2003-04-11 John Levon <levon@movementarian.org>
8183 * text.C: make sure fullrow insets get wrapped to the next line,
8184 even when they're in a manual label
8186 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8188 * text2.C (insertParagraph): make it take ParagraphList::iterator
8190 (setLayout): make it return ParagraphList::iterator
8191 (redoParagraphs): ditto
8193 (checkParagraph): ditto
8195 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8197 * text2.C: adjust several funcs.
8198 (realizeFont): take a ParagraphList::iterator as arg.
8199 (getLayoutFont): ditto
8200 (getLabelFont): ditto
8201 (setCharFont): ditto
8203 * text.C: adjust several funcs.
8205 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8207 * text.C (selectNextWordToSpellcheck): don't accidentally
8210 2003-04-10 John Levon <levon@movementarian.org>
8212 * ToolbarBackend.C (getIcon): special handling for
8215 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8217 * text2.C (cursorRight): a getChar assert fixed
8219 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8221 * text2.C (getFont): change to take a ParagraphList::iterator
8222 instead of Paragraph*
8223 Adjust several functions.
8225 * text.C (transformChar): change to take a ParagraphList::iterator
8226 instead of Paragraph*
8227 (singleWidth): ditto
8228 Adjust several functions.
8230 * rowpainter.C: adjust several functions
8231 * rowpainter.h:store a ParagraphList::iterator and not a
8235 2003-04-09 John Levon <levon@movementarian.org>
8240 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8241 and the "help" bits as well
8243 2003-04-09 John Levon <levon@movementarian.org>
8246 * ToolbarBackend.C: allow multiple toolbars
8248 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8250 * undo_funcs.C (setCursorParUndo): adjust
8252 * text_funcs.C (transposeChars): adjust
8254 * text3.C (gotoNextInset): adjust
8257 * text2.C (setLayout): adjust
8258 (changeDepth): adjust
8260 (redoParagraphs): adjust
8261 (selectionAsString): adjust
8262 (setParagraph): adjust
8263 (insertInset): adjust
8264 (cutSelection): adjust
8265 (copySelection): adjust
8266 (pasteSelection): adjust
8267 (insertStringAsLines): adjust
8268 (updateInset): adjust
8269 (setCursor): change to take a ParagraphList::iterator parameter
8270 (setCursorIntern): change to take a ParagraphList::iterator parameter
8271 (setCurrentFont): adjust
8272 (cursorLeft): adjust
8273 (cursorRight): adjust
8274 (deleteEmptyParagraphMechanism): adjust
8276 * text.C (breakParagraph): adjust
8277 (insertChar): adjust
8278 (acceptChange): adjust
8279 (rejectChange): adjust
8280 (selectNextWordToSpellcheck): adjust
8281 (changeCase): adjust
8285 * lyxfind.C (SearchForward): adjust
8286 (SearchBackward): adjust
8287 (nextChange): adjust
8289 * lyxcursor.C (par): adjust
8291 * lyxcursor.h: store a ParagraphList::iterator instead of a
8294 * lyx_cb.C (getPossibleLabel): adjust
8296 * bufferview_funcs.C (toggleAndShow): adjust
8298 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8301 * BufferView.C (removeAutoInsets): adjust
8302 (lockedInsetStoreUndo): adjust
8304 2003-04-09 John Levon <levon@movementarian.org>
8306 * ToolbarBackend.C: try icon without argument
8307 if with argument fails
8309 2003-04-08 John Levon <levon@movementarian.org>
8312 * ToolbarBackend.C: add getIcon(), handle tooltip,
8313 and change from "Icon" to "Item".
8315 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8317 * BufferView.C (lockInset): another bad getchar crunched
8319 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8321 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8324 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8326 * lyxfind.C (searchForward, searchBackwards): bug 782
8328 2003-04-07 John Levon <levon@movementarian.org>
8330 * paragraph.C: remove dead comment
8332 * text.C: remove troublesome depth-fiddling code
8333 in leftMargin() and rightMargin() (bug 1017)
8335 * text.C: fix breaking of rows in nested lists
8338 * text2.C (updateCounters): fix up depth values
8341 2003-04-07 John Levon <levon@movementarian.org>
8343 * BufferView_pimpl.C: clear message when doc finishes resizing,
8344 and after a mouse event
8346 * lyxfunc.C: clear message after exiting inset
8348 2003-04-07 John Levon <levon@movementarian.org>
8350 * bufferview_funcs.C: show math status not outside
8351 status in the statusbar
8353 2003-04-07 John Levon <levon@movementarian.org>
8355 * lyxfunc.C: note status changed after a depth change
8357 2003-04-04 Angus Leeming <leeming@lyx.org>
8359 * LaTeX.h: move AuxInfo operator==, != out of line.
8360 Remove LaTeX virtual destructor; nothing derives from it.
8361 Move operator()() out of public area and rename it startscript().
8362 Change protected for private.
8364 2003-04-04 Angus Leeming <leeming@lyx.org>
8367 * text2.C: remove unneeded #includes.
8369 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8371 * text2.C (dEPM): fix the heigth of the next row
8373 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8375 * text.C: squashed an invalid getChar requester + some ws changes
8377 2003-04-03 John Levon <levon@movementarian.org>
8379 * bufferview_funcs.h:
8380 * bufferview_funcs.C:
8383 * text2.C: make getStatus work for the env depth lfuns
8385 2003-04-03 John Levon <levon@movementarian.org>
8387 * bufferview_funcs.h:
8388 * bufferview_funcs.C:
8391 * text2.C: parlistize decDepth(), by merging it with incDepth()
8393 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * lyxrow.h: store a ParagraphList::iterator instead of a
8396 Paragraph* and adjust other class functions to suit.
8398 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8401 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8403 * text2.C (setCursor): do not anchor to cursor row for the time being
8405 2003-04-02 John Levon <levon@movementarian.org>
8412 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8414 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8416 * paragraph.h: make ParagraphList and ParagraphList::iterator
8417 friends of Paragraph.
8419 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8421 * ParagraphList.C: Use the private next_ and previous_ from
8424 2003-04-01 John Levon <levon@movementarian.org>
8428 * Makefile.am: rename, remove defaults gunk
8431 * MenuBackend.C: remove defaults gunk
8434 * Languages.C: remove defaults gunk
8437 * lyx_main.C: error out if files couldn't be found.
8439 2003-04-02 John Levon <levon@movementarian.org>
8441 * text2.C: make incDepth() use parlist
8443 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8445 * undo_funcs.C (firstUndoParagraph): adjust
8447 * text3.C (gotoInset): adjust
8448 (dispatch): adjust, and rewrite loop.
8450 * text2.C (init): adjust, and rewrite loop.
8451 (redoParagraphs): adjust
8452 (updateInset): adjust, and rewrite loop.
8453 (deleteEmptyParagraphMechanism): adjust
8455 * tabular.C (LyXTabular): adjust
8456 (SetMultiColumn): adjust
8459 * lyxtext.[Ch] (ownerParagraph): delete function
8460 (ownerParagraphs): new function returns a ParagraphList.
8462 * BufferView.C (removeAutoInsets): adjust
8463 (insertErrors): adjust
8464 (setCursorFromRow): adjust
8466 2003-04-01 Angus Leeming <leeming@lyx.org>
8468 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8471 2003-04-02 John Levon <levon@movementarian.org>
8477 * text_funcs.C: make transposeChars a free function
8479 * lyxrow_funcs.C: remove wrong comment
8481 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8484 * rowpainter.C: adjust
8489 * lyxrow_funcs. [Ch]: new files
8491 * lyxrow.[Ch]: remove next and previous pointers
8492 (next,previous): remove accessor functions
8493 (isParEnd): move to lyxrow_funcs
8494 (lastPos): move to lyxrow_funcs
8495 (nextRowIsAllInset): move to lyxrow_funcs
8496 (lastPrintablePos): move to lyxrow_funcs
8497 (numberOfSeparators): move to lyxrow_funcs
8498 (numberOfHfills): move to lyxrow_funcs
8499 (numberOfLabelHfills): move to lyxrow_funcs
8500 (hfillExpansion): move to lyxrow_funcs
8504 * bufferview_funcs.C (toggleAndShow): adjust
8506 * RowList.h: Remove class RowList from file leave just a
8509 * RowList.C: delete file
8511 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8514 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8516 * text3.C (cursorPrevious): adjust
8517 (cursorNext): adjust
8520 * text2.C (redoHeightOfParagraph): adjust
8521 (redoDrawingOfParagraph): adjust
8524 * text.C (breakParagraph): adjust
8525 (insertChar): adjust
8528 * rowpainter.C (RowPainter): adjust
8529 (leftMargin): simplify and adjust
8530 (most rowpainter functions): adjust.
8532 * rowpainter.h: store the row as RowList::iterator not as Row*
8534 * lyxcursor.C (row): taka RowList::iterator as arg
8537 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8540 2003-04-01 Angus Leeming <leeming@lyx.org>
8542 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8543 stuff like bool Bool.
8545 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8547 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8550 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8552 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8555 * lyxtext.h (rows): drop one version and leve a const variant that
8556 returns a RowList::iterator.
8558 2003-03-31 Angus Leeming <leeming@lyx.org>
8560 * text.C (fill): ensure that the signature is the same as that in the
8563 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8565 * text2.C (redoParagraphs): adjust
8566 (updateCounters): adjust
8567 (checkParagraph): adjust
8568 (getColumnNearX): adjust and reformat a bit.
8570 * text.C (top_y): adjust
8572 (leftMargin): adjust
8573 (prepareToPrint): adjust
8575 (getRowNearY): adjust
8577 * lyxtext.h: make rowlist_ mutable.
8579 * RowList.h: add const_iterator
8580 * RowList.C: adjust for RowList::const_iterator.
8582 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8585 2003-03-31 John Levon <levon@movementarian.org>
8588 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8590 * lyx_main.C: set default fonts from using lyx_gui funcs
8592 * exporter.C: pdf_mode moved from lyxrc
8595 * lyxfunc.C: changes from above
8597 2003-03-31 John Levon <levon@movementarian.org>
8599 * lyx_main.C: fix to the last fix
8601 2003-03-31 John Levon <levon@movementarian.org>
8603 * bufferlist.C: "Load original" -> "Load Original"
8609 * format.C: more Alert cleanups
8611 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8613 * text2.C (removeParagraph): make it take a RowList::iterator as
8615 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8616 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8618 * text.C (anchor_row): make it take a RowList::iterator as arg,
8620 (computeBidiTables): make it take a const reference to Row instead
8621 of Row pointer, adjust.
8622 (leftMargin): make it take a RowList::iterator as arg, adjust.
8623 (rowBreakPoint): adjust
8624 (breakAgainOneRow): make it take a RowList::iterator as arg,
8626 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8628 * bufferview_funcs.C (toggleAndShow): adjust
8630 2003-03-30 John Levon <levon@movementarian.org>
8634 * boost-inst.C: moved to support
8636 * several files: changes as a result
8638 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8640 * text2.C (LyXText): adjust.
8642 (removeRow): make it take a RowList::iterator as arg, adjust.
8643 (fullRebreak): adjust
8644 (deleteEmptyParagraphMechanism): adjust
8645 (clearPaint): adjust
8648 * text.C (top_y): adjust
8649 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8650 (breakAgain): make it take a RowList::iterator as arg, adjust.
8651 (breakParagraph): adjust
8652 (insertChar): adjust
8655 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8656 need_break_row, and refresh_row.
8658 * text3.C (dispatch): adjust
8660 * text2.C (checkParagraph): adjust
8662 (setCursorFromCoordinates): adjust
8664 * text.C (top_y): adjust
8666 (getRow): make it return a RowList::iterator, adjust
8667 (getRowNearY): make it return a RowList::iterator, adjust
8669 * text2.C (init): adjust
8670 (insertRow): remove function
8671 (insertParagraph): adjust
8672 (redoParagraphs): adjust
8673 (fullRebreak): adjust
8674 (updateCounters): adjust
8676 * text.C (top_y): rewrite to use RowList iterators.
8678 (setHeightOfRow): rewrite to sue RowList iterators.
8679 (appendParagraph): adjust
8680 (breakAgain): adjust
8681 (breakAgainOneRow): adjust
8682 (breakParagraph): adjust
8684 (getRowNearY): adjust, and remove commented code.
8686 * lyxtext.h (firstRow): delete function
8687 (lastRow): delete function
8688 (rows): new function (const and non-const versions.)
8689 (insertRow): delete function
8691 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8693 2003-03-29 John Levon <levon@movementarian.org>
8695 * BufferView_pimpl.C: always update scrollbar top
8696 because pasting text when we're anchored could mean we
8697 miss an update altogether
8699 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8701 * text2.C (init): use rowlist_.end() and not 0.
8702 (insertRow): change to take a RowList::iterator as arg, adjust
8704 (insertParagraph): change to take a RowList::iterator as arg,
8706 (redoParagraphs): remove some debug msgs.
8708 * text.C (appendParagraph): change to take a RowList::iterator
8709 arg, adjust for this.
8710 (breakAgain): add an assert
8711 (breakAgainOneRow): ditto
8713 2003-03-29 John Levon <levon@movementarian.org>
8715 * text2.C: do not clear selection after inc/decDepth
8718 2003-03-29 John Levon <levon@movementarian.org>
8721 * buffer.C: fix broken strerrors according to Lars
8723 2003-03-29 John Levon <levon@movementarian.org>
8725 * converters.C: more Alert cleanups
8727 2003-03-29 John Levon <levon@movementarian.org>
8729 * bufferview_funcs.C: remove pointless Alert
8731 * buffer.C: fix confusing error message when
8732 a template is chmoded 000
8734 2003-03-29 John Levon <levon@movementarian.org>
8738 * BufferView_pimpl.C: Alert fixes
8742 * tabular-old.C: remove unused table compat reading
8744 2003-03-29 John Levon <levon@movementarian.org>
8749 * lyx_cb.C: more Alert cleanups
8751 * lyxfunc.C: don't allow chktex if not latex document
8753 2003-03-29 John Levon <levon@movementarian.org>
8757 * buffer.C: warnings pushed down from support/,
8760 2003-03-29 John Levon <levon@movementarian.org>
8762 * lyxfunc.C: safety check for C-r (revert)
8764 2003-03-29 John Levon <levon@movementarian.org>
8767 * bufferlist.C: several UI fixes using Alert::prompt.
8768 Fix the pointless looping quit code. Fix stupid revert
8773 * lyx_cb.C: use Alert::prompt
8775 * lyx_main.C: remove a silly question
8777 * lyxfunc.C: remove a couple of silly questions,
8780 2003-03-28 John Levon <levon@movementarian.org>
8782 * text2.C: fix bug 974 (End on empty par)
8784 2003-03-28 John Levon <levon@movementarian.org>
8786 * BufferView_pimpl.C:
8788 * lfuns.h: remove do-nothing math greek lfuns
8790 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8792 * lyxgluelength.h (isValidGlueLength): add default arg on
8793 parameter 2. Remove default arg from friend in class.
8795 * lyxlength.h (isValidLength): add default arg on parameter 2.
8796 Remove default arg from friend in class.
8798 * text2.C (LyXText): adjust, initialize refresh_row.
8802 (insertParagraph): adjst
8803 (redoParagraphs): adjust
8804 (fullRebreak): adjust
8805 (updateCounters): adjust
8806 (deleteEmptyParagraphMechanism): first attempt at fixing a
8809 * text.C (top_y): adjust
8810 (setHeightOfRow): adjust
8812 (getRowNearY): adjust
8814 * lyxtext.h: include RowList.h
8815 (~LyXText): not needed anymore, deleted.
8816 (firstRow): modify for RowList
8817 (lastRow): new function
8818 Delete firstrow and lastrow class variables, add a Rowlist
8819 rowlist_ class variable.
8821 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8824 * RowList.C (insert): fix case where it == begin().
8826 2003-03-26 Angus Leeming <leeming@lyx.org>
8828 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8829 the thesaurus dialog.
8831 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8833 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8835 * RowList.[Ch]: new files
8837 * ParagraphList.C (erase): handle the case where it == begin
8840 2003-03-25 John Levon <levon@movementarian.org>
8844 * aspell.C: add new aspell support
8847 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8850 2003-03-25 Angus Leeming <leeming@lyx.org>
8853 * LyXAction.C (init): new LFUN_INSET_INSERT.
8855 * BufferView_pimpl.C (dispatch): split out part of the
8856 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8858 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8861 2003-03-25 Angus Leeming <leeming@lyx.org>
8863 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8865 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8868 * text3.C: remove useless row->height(0)
8870 2003-03-25 John Levon <levon@movementarian.org>
8874 * text3.C: rename the refreshing stuff to better names
8876 2003-03-24 John Levon <levon@movementarian.org>
8878 * BufferView_pimpl.h:
8879 * BufferView_pimpl.C: update layout choice on a mouse
8882 2003-03-23 John Levon <levon@movementarian.org>
8884 * Makefile.am: fix commandtags.h reference
8886 2003-03-22 John Levon <levon@movementarian.org>
8888 * BufferView_pimpl.C:
8893 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8895 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8898 * text.C: take the rtl methods out of line
8900 2003-03-21 André Pönitz <poenitz@gmx.net>
8902 * metricsinfo.[Ch]: new files containing structures to be passed around
8903 during the two-phase-drawing...
8905 2003-03-21 André Pönitz <poenitz@gmx.net>
8907 * lyxtextclass.C: read 'environment' tag.
8909 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8911 * text2.C (removeRow): fix bug 964
8913 2003-03-20 John Levon <levon@movementarian.org>
8917 * text2.C: paint cleanups. Inset::update() dropped font
8920 2003-03-19 John Levon <levon@movementarian.org>
8922 * lyxfunc.C: only fitcursor/markDirty if available()
8924 2003-03-19 John Levon <levon@movementarian.org>
8926 * commandtags.h: rename to ...
8928 * lfuns.h: ... this, and renumber / cleanup
8930 2003-03-19 John Levon <levon@movementarian.org>
8932 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8933 fit the cursor after an lfun
8937 * BufferView_pimpl.h:
8938 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8940 * LyXAction.C: layout-character should have ReadOnly
8942 * ParagraphParameters.C:
8944 * bufferview_funcs.C:
8951 * undo_funcs.C: changes from above
8953 2003-03-18 John Levon <levon@movementarian.org>
8955 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8956 remove it from update()
8958 * lyxfunc.C: update layout choice after an lfun
8960 * text3.C: remove extra updateLayoutChoice()s
8962 2003-03-18 John Levon <levon@movementarian.org>
8964 * text.C: top_y change means full repaint, fix
8965 a drawing bug with cursor movement
8967 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8971 * text2.C: anchor row on setCursor
8973 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8975 * lyxtext.h: remove almost all mutable keywords
8978 * text3.C: remove const keywords accordingly
8980 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8982 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8984 (TeXEnvironment): ditto
8987 2003-03-17 John Levon <levon@movementarian.org>
8989 * text.C (rowBreakPoint): remove attempt to fix displayed
8990 math insets inside a manual label
8992 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8994 * lyxtext.h: remove BufferView* as first arg from almost all class
8996 * other files: adjust.
8998 2003-03-17 John Levon <levon@movementarian.org>
9002 * text2.C: more paint cleanups
9004 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9007 * rowpainter.C: remove "smart" background painting code
9009 2003-03-16 John Levon <levon@movementarian.org>
9014 * text3.C: add helper functions for setting refresh_row/y
9016 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9018 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9019 newline inset which *can* get inserted in the pass_thru layouts.
9020 This is primarily for literate documents.
9022 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9024 * buffer.C: increment LYX_FORMAT to 223
9026 2003-03-14 André Pönitz <poenitz@gmx.net>
9028 * textclass.h: prepare for environment handling, ws changes
9029 * lyxlayout.C: read latexheader and latexfooter tags
9031 2003-03-14 John Levon <levon@movementarian.org>
9033 * text2.C: rewrite ::status() a bit
9035 2003-03-13 John Levon <levon@movementarian.org>
9037 * lyxtext.h: add some docs
9039 2003-03-13 John Levon <levon@movementarian.org>
9044 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9046 2003-03-13 John Levon <levon@movementarian.org>
9048 * text3.C: fix appendix redrawing
9050 2003-03-13 John Levon <levon@movementarian.org>
9052 * text.C (setHeightOfRow):
9054 * rowpainter.C: make appendix mark have the text
9055 "Appendix" so the user knows what it is
9058 * LColor.C: s/appendixline/appendix/ from above
9060 2003-03-13 John Levon <levon@movementarian.org>
9062 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9064 * text.C: fix a getChar(pos) bug properly
9066 2003-03-13 Angus Leeming <leeming@lyx.org>
9069 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9070 Probably only temporary. Let's see how things pan out.
9072 * BufferView.C (unlockInset):
9073 * BufferView_pimpl.C (fitCursor):
9074 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9076 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9077 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9079 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9080 new functions that convert ParagraphParameters to and from a string.
9082 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9083 BufferView::Pimpl's dispatch.
9084 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9086 2003-03-13 André Pönitz <poenitz@gmx.net>
9090 * factory.C: make it aware of InsetEnv
9092 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9094 * text2.C (setCursor): never ask for one past last
9095 (setCursor): add some debugging messages.
9097 * text.C (singleWidth): never ask for one past last
9098 (singleWidth): ditto
9100 (rightMargin): ditto
9101 (rowBreakPoint): ditto
9102 (setHeightOfRow): ditto
9103 (prepareToPrint): ditto
9105 * rowpainter.C (paintBackground): never ask for one past last
9106 (paintText): never ask for one past last
9108 * paragraph_pimpl.C (getChar): make the assert stricter, never
9109 allow the one past last pos to be taken
9111 * paragraph.C (getChar): ws changes only
9113 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9114 (numberOfSeparators): ditto
9115 (numberOfHfills): ditto
9117 2003-03-12 John Levon <levon@movementarian.org>
9123 * paragraph_funcs.C: fix per-buffer authorlists
9125 2003-03-12 John Levon <levon@movementarian.org>
9127 * text.C: fix newline in right address
9129 2003-03-12 Angus Leeming <leeming@lyx.org>
9131 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9132 duplicate those in LyXFunc::dispatch.
9136 * ToolbarDefaults.C:
9137 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9138 Add LFUN_FONTFREE_UPDATE.
9140 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9141 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9143 * bufferview_func.[Ch]: several new functions to facilliate
9144 transfer of data to and from the character dialog.
9146 2003-03-12 John Levon <levon@movementarian.org>
9151 * paragraph_funcs.C:
9152 * paragraph_pimpl.C:
9156 * text3.C: remove META_NEWLINE in favour of an inset
9159 * rowpainter.C: remove paintNewline (done by inset)
9161 2003-03-12 John Levon <levon@movementarian.org>
9163 * paragraph_pimpl.C: complain about bad getChar()s
9164 for a while at least
9166 2003-03-12 John Levon <levon@movementarian.org>
9169 * buffer.C: move paragraph read into a separate function,
9170 a little renaming to reflect that.
9173 * bufferparams.C: remove the author_ids map, not necessary now
9176 * factory.C: moved Buffer::readInset to here
9178 * paragraph_funcs.h:
9179 * paragraph_funcs.C: readParagraph free function moved from
9182 * tabular.C: name change
9184 2003-03-12 John Levon <levon@movementarian.org>
9187 * ParagraphParameters.C: move par params input to
9190 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9191 behave like a normal read from the stream wrt reading
9192 a line vs. a \\token
9194 2003-03-12 John Levon <levon@movementarian.org>
9197 * ParagraphParameters.h:
9198 * ParagraphParameters.C: move output code to a
9201 2003-03-12 John Levon <levon@movementarian.org>
9203 * BufferView.C (insertLyXFile):
9206 * tabular.C: use a parlist iterator for creating the
9209 2003-03-12 John Levon <levon@movementarian.org>
9211 * buffer.C: make current_change static local not
9214 2003-03-12 John Levon <levon@movementarian.org>
9216 * buffer.C: fix insertStringAsLines for change tracking
9218 2003-03-12 John Levon <levon@movementarian.org>
9225 * bufferparams.C: move author list into params. Rename some
9226 functions. Move the header reading into a separate token
9227 loop. Move the header token reading into BufferParams.
9229 2003-03-12 John Levon <levon@movementarian.org>
9231 * changes.C: put debug inside lyxerr.debugging() checks
9233 2003-03-11 André Pönitz <poenitz@gmx.net>
9235 * factory.C: make it aware of InsetHFill
9237 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9239 * buffer.C (latexParagraphs): move function from here...
9240 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9243 2003-03-10 Angus Leeming <leeming@lyx.org>
9245 * LyXAction.C (init): fix bug in poplating array with multiple entries
9246 with the same LFUN (spotted by JMarc).
9248 2003-03-10 John Levon <levon@movementarian.org>
9251 * text2.C: move getColumnNearX() near its
9254 2003-03-10 John Levon <levon@movementarian.org>
9256 * text.C: fix break before a minipage
9258 2003-03-10 John Levon <levon@movementarian.org>
9260 * text.C: fix the last commit
9262 2003-03-09 John Levon <levon@movementarian.org>
9266 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9267 bug 365 (don't break before insets unless needed). Don't
9268 return a value > last under any circumstances.
9270 2003-03-09 Angus Leeming <leeming@lyx.org>
9272 * BufferView_pimpl.C (trackChanges, dispatch): call
9273 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9275 2003-03-09 Angus Leeming <leeming@lyx.org>
9277 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9278 than Dialogs::showAboutlyx().
9280 2003-03-09 Angus Leeming <leeming@lyx.org>
9282 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9283 than Dialogs::showTabularCreate().
9285 2003-03-09 John Levon <levon@movementarian.org>
9289 * text2.C: 3rd arg to nextBreakPoint was always the same.
9292 2003-03-08 John Levon <levon@movementarian.org>
9299 * text2.C: Remove the "main" bit from the "main body"
9302 2003-03-08 John Levon <levon@movementarian.org>
9304 * text.C (leftMargin): The left margin of an empty
9305 manual label paragraph should not include the label width
9308 * text.C (prepareToPrint): don't attempt to measure hfills
9309 for empty manual label paragraphs - the answer should be 0
9311 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9313 * CutAndPaste.C: remove commented code and reindent.
9315 2003-03-08 John Levon <levon@movementarian.org>
9318 * lyxfunc.C: move reloadBuffer()
9321 * BufferView.C: to here
9323 * lyxvc.C: add comment
9326 * vc-backend.C: call bv->reload() to avoid
9327 getStatus() check on MENURELOAD
9329 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9331 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9332 to an old format .dep file.
9334 2003-03-07 Angus Leeming <leeming@lyx.org>
9336 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9337 when the LFUN_MOUSE_RELEASE should have been handled by
9338 inset->localDispatch.
9340 2003-03-07 Angus Leeming <leeming@lyx.org>
9342 * BufferView_pimpl.C (dispatch):
9343 * LyXAction.C (init):
9344 * ToolbarDefaults.C (init):
9346 * lyxfunc.C (getStatus):
9347 remove LFUN_INSET_GRAPHICS.
9349 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9351 2003-03-07 Angus Leeming <leeming@lyx.org>
9354 * LyXAction.C (init):
9355 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9357 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9360 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9362 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9363 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9365 2003-03-07 Angus Leeming <leeming@lyx.org>
9367 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9370 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9372 * ParagraphList.C (front): new function
9375 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9377 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9378 and top_row_offset_. removed var first_y.
9380 * text2.C (LyXText, removeRow):
9382 * BufferView_pimpl.C:
9383 use these methods instead of using first_y
9385 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9387 * text2.C (pasteSelection): adjust for checkPastePossible
9389 * CutAndPaste.C: remove Paragraph * buf and replace with
9390 ParagraphList paragraphs.
9391 (DeleteBuffer): delete
9392 (cutSelection): change the tc type to textclass_type
9393 (copySelection): change the tc type to textclass_type
9394 (copySelection): adjust for ParagraphList
9395 (pasteSelection): change the tc type to textclass_type
9396 (pasteSelection): adjust for Paragraphlist
9397 (nrOfParagraphs): simplify for ParagraphList
9398 (checkPastePossible): simplify for ParagraphList
9399 (checkPastePossible): remove unused arg
9401 * ParagraphList.C (insert): handle the case where there are no
9404 * CutAndPaste.h: make CutAndPaste a namespace.
9406 * text3.C (dispatch): adjust
9408 * text.C (breakParagraph): add a ParagraphList as arg
9410 * paragraph_funcs.C (breakParagraph): change to take a
9411 BufferParams and a ParagraphList as args.
9412 (breakParagraphConservative): ditto
9413 (mergeParagraph): ditto
9414 (TeXDeeper): add a ParagraphList arg
9415 (TeXEnvironment): ditto
9418 * buffer.C (readLyXformat2): adjust
9419 (insertStringAsLines): adjust
9420 (latexParagraphs): adjust
9422 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9423 (cutSelection): adjust
9424 (pasteSelection): adjust
9426 * BufferView_pimpl.C (insertInset): adjust
9428 2003-03-05 Angus Leeming <leeming@lyx.org>
9431 * LyXAction.C (init):
9432 * BufferView_pimpl.C (dispatch):
9433 * lyxfunc.C (getStatus):
9434 remove LFUN_CHILD_INSERT.
9436 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9438 2003-03-05 Angus Leeming <leeming@lyx.org>
9441 * LyXAction.C (init):
9442 * src/factory.C (createInset):
9443 * lyxfunc.C (getStatus):
9444 * text3.C (dispatch):
9445 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9447 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9449 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9451 * ParagraphList.C (insert): handle insert right before end()
9452 (erase): fix cases where it can be first or last paragraph.
9454 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9456 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9457 Paragraph::next and Paragraph::previous
9460 * text.C (breakParagraph): adjust
9462 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9463 BufferParams& as arg.
9464 (breakParagraph): use ParagraphList::insert
9465 (breakParagraphConservative): take a Buffer* instead of a
9466 BufferParams& as arg.
9467 (breakParagraphConservative): use ParagraphList::insert.
9469 * buffer.C (insertStringAsLines): un-const it
9470 (insertStringAsLines): adjust
9472 * ParagraphList.C (insert): new function
9474 * CutAndPaste.C (pasteSelection): adjust
9476 * text.C (backspace): adjust
9478 * tabular.C (SetMultiColumn): adjust
9480 * CutAndPaste.C (cutSelection): adjust
9481 (pasteSelection): adjust
9483 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9484 Buffer const * as arg
9486 * ParagraphList.C (erase): new function
9487 * paragraph_funcs.C (mergeParagraph): use it
9488 (mergeParagraph): make it take a Buffer* instead of a
9489 BufferParams* as arg
9491 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9493 (breakParagraphConservative): ditto
9495 * paragraph.h: remove the breakParagraph friend
9497 * paragraph.C (eraseIntern): new function
9498 (setChange): new function
9500 * paragraph_funcs.C (mergeParagraph): make it take a
9501 ParagraphList::iterator instead of a Paragraph *, adjust
9504 * paragraph.h: move an #endif so that the change tracking stuff
9505 also works in the NO_NEXT case.
9507 2003-03-04 Angus Leeming <leeming@lyx.org>
9510 * LyXAction.C: new LFUN_INSET_MODIFY.
9512 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9513 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9515 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9517 * several files: ws changes only
9519 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9520 (TeXEnvironment): ditto
9523 * buffer.C (makeLaTeXFile): adjust
9524 (latexParagraphs): make it take ParagraphList::iterator as args
9526 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9528 * buffer.C (latexParagraphs): adjust
9530 * paragraph.C (TeXOnePar): move function...
9531 (optArgInset): move function...
9532 (TeXEnvironment): move function...
9533 * paragraph_pimpl.C (TeXDeeper): move function...
9534 * paragraph_funcs.C: ...here
9536 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9538 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9540 * buffer.C (readInset): remove compability code for old Figure and
9543 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9545 * buffer.C: ws changes
9548 * BufferView_pimpl.C: ditto
9551 * bufferlist.h: ditto
9555 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9557 * converter.[Ch]: split into itself +
9560 * Makefile.am: += graph.[Ch] + format.[Ch]
9567 * lyxrc.C: added #include "format.h"
9569 2003-02-27 Angus Leeming <leeming@lyx.org>
9571 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9574 * factory.C (createInset): add "label" to the factory.
9576 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9577 string and do no more.
9579 2003-02-27 Angus Leeming <leeming@lyx.org>
9582 * LyXAction.C (init):
9583 * factory.C (createInset):
9584 * BufferView_pimpl.C (dispatch):
9585 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9587 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9589 * lyxfunc.C (dispatch):
9590 * text3.C (dispatch): pass name to params2string.
9592 2003-02-26 Angus Leeming <leeming@lyx.org>
9594 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9596 Rearrange the ~includes. Strip out the unnecessary ones.
9598 * factory.C (createInset): reformat.
9599 create new insets for the various LFUN_XYZ_APPLY lfuns.
9601 2003-02-26 John Levon <levon@movementarian.org>
9604 * lyxrow.C: add isParStart,isParEnd helpers
9606 * paragraph.h: make isInserted/DeletedText take refs
9608 * paragraph_funcs.h:
9609 * paragraph_funcs.C: remove #if 0'd code
9614 * text.C: use lyxrow helpers above.
9615 Move draw and paint routines to RowPainter.
9616 Make several methods use refs not pointers.
9617 Make backgroundColor() const.
9618 Add markChangeInDraw(), isInInset().
9619 Merge changeRegionCase into changeCase.
9620 Make workWidth() shouldn't-happen code into an Assert.
9623 * rowpainter.C: new class for painting a row.
9626 * vspace.C: make inPixels take a ref
9628 2003-02-26 Angus Leeming <leeming@lyx.org>
9630 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9633 2003-02-25 John Levon <levon@movementarian.org>
9635 * ispell.C: give the forked command a more accurate name
9637 2003-02-22 John Levon <levon@movementarian.org>
9640 * toc.C: make TocItem store an id not a Paragraph *
9643 2003-02-21 Angus Leeming <leeming@lyx.org>
9645 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9646 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9647 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9648 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9649 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9650 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9652 * BufferView_pimpl.C (dispatch):
9653 * LyXAction.C (init):
9654 * factory.C (createInset):
9655 * lyxfunc.C (getStatus, dispatch):
9656 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9658 2003-02-21 Angus Leeming <leeming@lyx.org>
9660 * BufferView_pimpl.C (MenuInsertLyXFile):
9661 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9662 * lyxfunc.C (menuNew, open, doImport):
9663 no longer pass a LyXView & to fileDlg.
9665 2003-02-21 Angus Leeming <leeming@lyx.org>
9667 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9668 * LyXAction.C: change, BIBKEY to BIBITEM.
9669 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9670 Change InsetBibKey to InsetBibitem.
9671 Change BIBKEY_CODE to BIBITEM_CODE.
9672 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9673 * factory.C: replace insetbib.h with insetbibitem.h.
9674 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9675 * paragraph.C: replace insetbib.h with insetbibitem.h.
9676 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9677 Change bibkey() to bibitem().
9678 * text.C: remove insetbib.h.
9679 * text2.C: replace insetbib.h with insetbibitem.h.
9680 change bibkey() to bibitem().
9681 * text3.C: remove insetbib.h.
9682 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9684 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9686 * lyxrc.C (output): enclose user email in quotes (in case there are
9689 2003-02-18 John Levon <levon@movementarian.org>
9691 * buffer.h: add std::
9693 2003-02-17 John Levon <levon@movementarian.org>
9699 * pspell.C: reworking. Especially in ispell, a large
9700 number of clean ups and bug fixes.
9702 * lyxfunc.C: fix revert to behave sensibly
9704 2003-02-17 André Pönitz <poenitz@gmx.net>
9707 * commandtags.h: new LFUN_INSERT_BIBKEY
9717 * paragraph_func.C: remove special bibkey handling
9719 2003-02-17 John Levon <levon@movementarian.org>
9721 * text.C (Delete): fix case where delete at the end of
9722 the very first paragraph would not merge the pars
9724 2003-02-17 John Levon <levon@movementarian.org>
9726 * lyxrow.C: fix lastPrintablePos()
9728 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * bufferparams.C (writeLaTeX): add a std:here
9732 * buffer.C: and remove a using directive there
9734 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9736 * buffer.C (makeLaTeXFile): move the code that generates the
9739 * bufferparams.C (writeLaTeX): ... in this new method
9741 * LaTeXFeatures.C (getEncodingSet): make const
9742 (getLanguages): make const
9744 * MenuBackend.C (binding): returns the binding associated to this
9746 (add): sets the status of each item by calling getStatus. Adds
9748 (read): add support for OptSubMenu
9749 (expand): remove extra separator at the end of expanded menu
9751 2003-02-15 John Levon <levon@movementarian.org>
9754 * BufferView_pimpl.C:
9756 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9757 inset code that had no actual effect. Remove unneeded status
9760 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9762 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9765 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9767 * text.C (drawLengthMarker): also draw an arrow marker for
9768 symbolic lengths (medskip...)
9770 2003-02-14 John Levon <levon@movementarian.org>
9773 * tabular.C: better method names
9775 2003-02-14 John Levon <levon@movementarian.org>
9777 * BufferView_pimpl.C:
9782 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9783 it's a more accurate name. Remove some pointless uses.
9785 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9787 * text2.C (LyXText): change order of initilizers to shut off
9790 2003-02-14 John Levon <levon@movementarian.org>
9792 * buffer.C: use ParIterator for getParFromID()
9796 * paragraph_pimpl.h:
9797 * paragraph_pimpl.C: remove unused getParFromID()
9799 2003-02-14 John Levon <levon@movementarian.org>
9801 * buffer.C: remove some very old #if 0'd parse code
9803 2003-02-13 John Levon <levon@movementarian.org>
9807 * text2.C: move hfillExpansion(), numberOfSeparators(),
9808 rowLast(), rowLastPrintable(), numberofHfills(),
9809 numberOfLabelHfills() ...
9812 * lyxrow.C: ... to member functions here.
9817 * text.C: remove LyXText::beginningOfMainBody(), and call
9818 p->beginningOfMainBody() directly. Move the check for
9819 LABEL_MANUAL into the latter.
9826 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9832 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9833 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9835 2003-02-13 John Levon <levon@movementarian.org>
9837 * CutAndPaste.C: remove debug
9839 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9841 * paragraph.C (asString): remove two unused variables
9843 * lyxtextclass.C (readTitleType):
9845 (LyXTextClass): handle new members titletype_ and titlename_
9847 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9849 2003-02-09 John Levon <levon@movementarian.org>
9852 * buffer.C: replace hand-coded list with a map for the dep clean
9854 2003-02-08 John Levon <levon@movementarian.org>
9856 * LaTeX.C: consolidate code into showRunMessage() helper
9858 2003-02-08 John Levon <levon@movementarian.org>
9863 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9864 and pass the size in explicitly
9866 * BufferView_pimpl.h:
9867 * BufferView_pimpl.C:
9869 * BufferView.C: add getCurrentChange()
9871 * BufferView_pimpl.h:
9872 * BufferView_pimpl.C: handle change lfuns
9874 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9875 for changes. Mark pasted paragraphs as new.
9877 * support/lyxtime.h:
9878 * support/lyxtime.C:
9879 * DepTable.C: abstract time_t as lyx::time_type
9882 * LColor.C: add colours for new text, deleted text, changebars
9884 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9885 package use "usenames" option.
9889 * LyXAction.C: add change lfuns
9893 * author.C: author handling
9896 * buffer.C: add a per-buffer author list, with first entry as
9897 current author. Handle new .lyx tokens for change tracking. Output
9898 author list to .lyx file. Output dvipost stuff to .tex preamble.
9899 Bump lyx format to 222.
9902 * bufferlist.C: add setCurrentAuthor() to reset current author details
9906 * bufferparams.C: add param for tracking
9908 * bufferview_funcs.C: output change info in minibuffer
9912 * changes.C: add change-tracking structure
9915 * debug.C: add CHANGES debug flag
9918 * lyxfind.C: add code for finding the next change piece
9921 * lyxrc.C: add user_name and user_email
9924 * lyxrow.C: add a metric for the top of the text line
9927 * text.C: implement accept/rejectChange()
9930 * text.C: paint changebars. Paint new/deleted text in the chosen
9931 colours. Strike through deleted text.
9935 * paragraph_pimpl.h:
9936 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9937 in the current change to the insert functions. Rework erase to
9938 mark text as deleted, adding an eraseIntern() and a range-based
9939 erase(). Implement per-paragraph change lookup and
9942 * paragraph_funcs.C: Fixup paste for change tracking.
9944 * tabular.C: mark added row/columns as new.
9946 * text.C: fix rowLast() to never return -1. Don't allow
9947 spellchecking of deleted text. Track transpose changes. Don't
9948 allow paragraph break or merge where appropriate.
9950 * text2.C: leave cursor at end of selection after a cut.
9952 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9954 * text.C (getLengthMarkerHeight):
9955 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9956 visible on screen too.
9958 2003-02-07 John Levon <levon@movementarian.org>
9960 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9962 2003-02-05 Angus Leeming <leeming@lyx.org>
9964 * lyxserver.C (read_ready): revert my patch of 11 September last year
9965 as it sends PC cpu through the roof. Presumably this means that
9966 the lyxserver will no longer run on an Alpha...
9968 2003-01-30 Angus Leeming <leeming@lyx.org>
9970 * factory.C (createInset): create an InsetCommandParam of type "index"
9971 and use it to 'do the right thing'.
9973 * text2.C (getStringToIndex): ensure that cursor position is always
9974 reset to the reset_cursor position.
9976 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9978 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9981 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9985 * lyxfunc.C: Output messages with identical spelling, punctuation,
9988 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9990 * MenuBackend.C (expandFormats): List only viewable export formats
9993 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9996 * lyxfunc.C (getStatus): Make sure that formats other than
9997 "fax" can also be disabled
9999 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10001 * text3.C (dispatch): put the lfuns that insert insets in 3
10002 groups, and call doInsertInset with appropriate arguments.
10003 (doInsertInset): new function, that creates an inset and inserts
10004 it according to some boolean parameters.
10006 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10008 * buffer.C (readFile): remember to pass on 'par' when calling
10009 readFile recursively.
10011 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10013 * MenuBackend.C (expandFormats): add "..." to import formats.
10015 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10017 * paragraph.C (asString): Remove XForms RTL hacks.
10019 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10020 * buffer.C: fix typo
10022 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10024 * Makefile.am (LIBS): delete var
10025 (lyx_LDADD): add @LIBS@ here instead.
10027 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10029 * Clarify the meaning of "wheel mouse jump"
10031 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10033 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10036 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10038 * importer.C (Loaders): do not preallocate 3 elements in the
10039 vector, since one ends up with 6 elements otherwise
10041 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10043 * DepTable.C (write): write the file name as last element of the
10044 .dep file (because it may contain spaces)
10045 (read): read info in the right order
10047 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10049 * paragraph_pimpl.C (simpleTeXBlanks):
10050 (simpleTeXSpecialChars):
10051 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10053 * tabular.C (latex): add some missing case statements. Reindent.
10055 * MenuBackend.C (expandToc): remove unused variable.
10057 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10066 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10069 2003-01-05 John Levon <levon@movementarian.org>
10072 * BufferView.C: add getEncoding()
10075 * kbsequence.C: do not store last keypress
10078 * lyxfunc.C: store last keypress here instead. Pass encoding
10081 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10083 * lyx_main.C (init): remove annoying error message when following
10084 symbolic links (bug #780)
10086 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10088 * text.C (insertChar):
10089 * lyxrc.C (getDescription): remove extra spaces
10091 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10093 * lyxrc.C (getDescription): remove extra spaces
10095 2002-12-20 John Levon <levon@movementarian.org>
10097 * text3.C: hack fix for page up/down across tall rows
10099 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10101 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10104 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10106 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10107 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10108 thesaurus is not compiled in
10110 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10112 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10114 2002-12-16 Angus Leeming <leeming@lyx.org>
10117 * lyx_main.C (init): remove override_x_deadkeys stuff.
10119 2002-12-12 John Levon <levon@movementarian.org>
10121 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10122 insert. Only remove shift modifier under strict
10125 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10127 * MenuBackend.C (expandToc): fix crash.
10129 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10131 * MenuBackend.C (expandToc): gettext on float names.
10133 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10135 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10136 implement bool empty() [bug 490]
10138 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10140 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10142 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10144 * several files: ws changes
10146 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10148 * text2.C (setCounter): clean up a bit, use boost.format.
10149 (updateCounters): initialize par upon declaration.
10151 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10152 if the layout exists. We do not just store the layout any more.
10153 (SwitchLayoutsBetweenClasses): use boost.format
10155 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10157 * converter.C (convert): if from and to files are the same, use a
10158 temporary files as intermediary
10160 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10163 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10165 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10167 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10169 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10171 * tabular.C (asciiPrintCell): use string(size, char) instead of
10174 * sgml.C (openTag): fix order of arguments to string constructor
10177 * lyxfunc.C (dispatch): use boost.format
10179 * lots of files: change "c" -> 'c'
10181 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10183 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10185 2002-11-25 Angus Leeming <leeming@lyx.org>
10187 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10189 * lyx_main.C (init): compile fix.
10191 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10193 * lyx_cb.C (start): boost.formatify
10194 do not include <iostream>
10196 * lengthcommon.C: ws only
10198 * boost-inst.C,BoostFormat.h: add more explict instantations
10200 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10202 * lots of files: handle USE_BOOST_FORMAT
10204 2002-11-21 John Levon <levon@movementarian.org>
10206 * pspell.C: fix compile
10208 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10210 * lyxfunc.C (dispatch): use boost::format
10214 * lyxfont.C (stateText): use boost::format
10216 * lyx_main.C (LyX): use boost::format
10218 (queryUserLyXDir): ditto
10219 (readRcFile): ditto
10221 (typedef boost::function): use the recommened syntax.
10223 * importer.C (Import): use boost::format
10225 * debug.C (showLevel): use boost::format
10227 * converter.C (view): use boost::format
10232 * bufferview_funcs.C (currentState): use boost::format
10234 * bufferlist.C (emergencyWrite): use boost::format
10236 * buffer.C (readLyXformat2): use boost::format
10237 (parseSingleLyXformat2Token): ditto
10239 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10241 * LaTeX.C (run): use boost::format
10243 * Chktex.C (scanLogFile): use boost::format
10245 * BufferView_pimpl.C (savePosition): use boost::format
10246 (restorePosition): ditto
10247 (MenuInsertLyXFile): ditto
10249 * BoostFormat.h: help file for explicit instation.
10251 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10253 * tabular.C (latex): Support for block alignment in fixed width
10256 2002-11-17 John Levon <levon@movementarian.org>
10258 * BufferView_pimpl.C:
10260 * lyxfunc.C: split filedialog into open/save
10262 2002-11-08 Juergen Vigna <jug@sad.it>
10264 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10265 by my last patch (hopefully).
10267 2002-11-08 John Levon <levon@movementarian.org>
10276 * toc.C: ParConstIterator, and use it (from Lars)
10278 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10280 * lyxtextclass.[Ch]: revise and add doxygen comments
10282 2002-11-07 John Levon <levon@movementarian.org>
10284 * text.C: fix progress value for spellchecker
10286 * toc.C: fix navigate menu for insetwrap inside minipage
10288 * paragraph_funcs.C: added FIXME for suspect code
10290 2002-11-07 John Levon <levon@movementarian.org>
10292 * BufferView_pimpl.C: fix redrawing of insets
10295 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10297 * text2.C (updateCounters): fix bug 668
10299 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10301 * text3.C (dispatch): Do not make the buffer dirty when moving the
10304 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10306 * vc-backend.C: STRCONV
10307 (scanMaster): ditto
10309 * text2.C (setCounter): STRCONV
10311 * paragraph.C (asString): STRCONV
10313 * lyxlength.C (asString): STRCONV
10314 (asLatexString): ditto
10316 * lyxgluelength.C (asString): STRCONV
10317 (asLatexString): ditto
10319 * lyxfunc.C (dispatch): STRCONV
10322 * lyxfont.C (stateText): STRCONV
10324 * importer.C (Import): STRCONV
10326 * counters.C (labelItem): STRCONV
10327 (numberLabel): ditto
10328 (numberLabel): remove unused ostringstream o
10333 * bufferview_funcs.C (currentState): STRCONV
10335 * buffer.C (readFile): STRCONV
10336 (asciiParagraph): ditto
10337 (makeLaTeXFile): ditto
10339 * Spacing.C (writeEnvirBegin): STRCONV
10341 * LaTeXFeatures.C (getLanguages): STRCONV
10342 (getPackages): ditto
10344 (getBabelOptions): ditto
10345 (getTClassPreamble): ditto
10346 (getLyXSGMLEntities): ditto
10347 (getIncludedFiles): ditto
10351 (scanAuxFile): ditto
10354 * LString.h: add the STRCONV macros
10356 * BufferView_pimpl.C (savePosition): STRCONV
10357 (restorePosition): ditto
10358 (MenuInsertLyXFile): ditto
10360 * vc-backend.C (scanMaster): change from submatch[...] to
10363 * funcrequest.C: include config.h
10365 * factory.C: include config.h
10367 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10369 * box.C: include config.h
10371 * LaTeX.C (scanAuxFile): change from submatch[...] to
10375 2002-10-25 Angus Leeming <leeming@lyx.org>
10377 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10379 * ispell.[Ch] (setError): new method.
10380 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10381 Use setError() insetead of goto END.
10383 * lyx_cb.C (AutoSave): move out child process into new class
10386 2002-10-30 John Levon <levon@movementarian.org>
10388 * text3.C: make start appendix undoable
10390 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10392 * lyxlength.C (inPixels): Fix returned value.
10394 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10397 2002-10-24 Angus Leeming <leeming@lyx.org>
10399 * lyxgluelength.h: no need to forward declare BufferParams
10400 or BufferView, so don't.
10402 2002-10-21 John Levon <levon@movementarian.org>
10404 * BufferView.C: menuUndo ->undo, redo
10406 * BufferView.h: document, remove dead, make some methods private
10408 * paragraph_funcs.h:
10409 * paragraph_funcs.C:
10410 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10415 * sgml.C: move sgml open/close tag into sgml.C
10417 * bufferview_funcs.h: unused prototype
10420 * lyxfunc.C: remove unused
10423 * text.C: remove unused
10425 2002-10-21 John Levon <levon@movementarian.org>
10429 * BufferView_pimpl.h:
10430 * BufferView_pimpl.C: fix mouse wheel handling based on
10431 patch from Darren Freeman
10433 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10435 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10437 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10439 * lyxlength.C (inPixels): Fix hanfling of negative length.
10440 Fix LyXLength::MU case.
10442 2002-10-16 John Levon <levon@movementarian.org>
10444 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10446 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10448 * converter.C (view): add support for $$i (file name) and $$p
10449 (file path) for the viewer command. If $$i is not specified, then
10450 it is appended to the command (for compatibility with old syntax)
10452 2002-10-14 Juergen Vigna <jug@sad.it>
10454 * undo_funcs.C (textHandleUndo): alter the order in which the
10455 new undopar is added to the LyXText, as we have to set first
10456 the right prev/next and then add it as otherwise the rebuild of
10457 LyXText is not correct. Also reset the cursor to the right paragraph,
10458 with this IMO we could remove the hack in "redoParagraphs()".
10460 2002-10-09 Angus Leeming <leeming@lyx.org>
10462 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10463 to turn off an optimisation if a new inset is to be inserted.
10465 2002-10-11 André Pönitz <poenitz@gmx.net>
10467 * lyxtext.h: make some functions public to allow access
10468 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10470 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10472 * text3.C (dispatch): when changing layout, avoid an infinite loop
10475 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10477 * lyxrc.C (read): treat a viewer or converter command of "none" as
10480 * MenuBackend.C (expandFormats): for an update, also allow the
10481 formats that are not viewable
10483 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10484 script if it is newer than the lyxrc.defaults in user directory
10486 2002-10-07 André Pönitz <poenitz@gmx.net>
10488 * text.C: Vitaly Lipatov's small i18n fix
10490 2002-09-25 Angus Leeming <leeming@lyx.org>
10492 * ispell.h: doxygen fix.
10494 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10496 * buffer.h (readFile): Add a new argument to the method, to allow
10497 reading of old-format templates.
10499 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10501 * toc.C (getTocList): Get TOC from InsetWrap.
10503 2002-09-16 John Levon <levon@movementarian.org>
10505 * lyxfunc.C: check tabular for cut/copy too
10507 2002-09-12 John Levon <levon@movementarian.org>
10509 * LyXAction.C: tidy
10512 * factory.C: add header
10514 * paragraph_funcs.h:
10515 * paragraph_funcs.C: cleanup
10517 2002-09-11 John Levon <levon@movementarian.org>
10519 * PrinterParams.h: odd/even default to true
10521 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10523 * PrinterParams.h: update printer parameters for new xforms dialog
10525 2002-09-11 Angus Leeming <leeming@lyx.org>
10527 * lyxserver.C (read_ready): re-write to make it more transparent
10528 and to make it work in coherent fashion under Tru64 Unix.
10530 2002-09-11 André Pönitz <poenitz@gmx.net>
10534 * text3.C: implement LFUN_WORDSEL
10536 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10538 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10539 make floatlist_ a boost::shared_ptr<FloatList>
10541 * lyxtextclass.C: include FloatList.h
10542 (LyXTextClass): initialize floatlist_
10543 (TextClassTags): add TC_NOFLOAT
10544 (Read): match "nofloat" to TC_NOFLOAT and use it.
10545 (readFloat): modify call to floatlist_
10549 * FloatList.[Ch] (FloatList): remove commented out float
10551 (erase): new function
10553 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10555 * MenuBackend.C (expandToc): fix crash when there is no document
10558 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10560 * many files: Add insetwrap.
10562 2002-09-09 John Levon <levon@movementarian.org>
10564 * text2.C: remove confusing and awkward depth wraparound
10566 2002-09-09 John Levon <levon@movementarian.org>
10568 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10571 * buffer.C: remove getIncludeonlyList()
10574 * lyxfunc.C: remove headers
10576 2002-09-09 Juergen Vigna <jug@sad.it>
10578 * text.C (getColumnNearX): fix form Michael this is most
10579 probably a cut&paste bug.
10581 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10583 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10585 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10586 references, ws changes.
10588 * text2.C (init): update counters after init
10589 (insertParagraph): no need to set counter on idividual paragraphs.
10590 (setCounter): access the counters object in the textclass object
10591 on in the buffer object.
10592 (updateCounters): ditto
10594 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10595 shared_ptr<Counters> to avoid loading counters.h in all
10597 (LyXTextClass): initialize ctrs_
10598 (TextClassTags): add TC_COUNTER, and ...
10599 (Read): use it here.
10600 (CounterTags): new tags
10601 (readCounter): new function
10602 (counters): new funtion
10603 (defaultLayoutName): return a const reference
10605 * counters.C (Counters): remove contructor
10606 (newCounter): remove a couple of unneeded statements.
10607 (newCounter): simplify a bit.
10608 (numberLabel): some small formatting changes.
10610 * buffer.[Ch]: remove all traces of counters, move the Counters
10611 object to the LyXTextClass.
10613 2002-09-06 Alain Castera <castera@in2p3.fr>
10615 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10616 package to set the horizontal alignment on fixed width columns.
10619 * lyx_sty.h: added tabularnewline macro def.
10621 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10623 2002-09-06 John Levon <levon@movementarian.org>
10625 * LyXAction.C: tooltips for sub/superscript
10627 * MenuBackend.C: a bit more verbose
10629 * lyxfunc.C: tiny clean
10631 * undo_funcs.C: document undo_frozen
10633 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10635 * counters.C (Counters): add missing algorithm counter.
10637 * text2.C (setCounter): lookup the counter with layouts latexname
10638 instead of by section number.
10639 (setCounter): use a hackish way to lookup the correct enum
10641 a float name->type change
10642 reset enum couners with counter name directly instead of depth value.
10644 * counters.C (Counters): remove the push_backs, change to use the
10645 float type not the float name.
10646 (labelItem): remove unused string, float name->type change
10648 * counters.h: don't include vector, loose the enums and sects vectors
10650 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10652 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10653 (Read): add float->TC_FLOAT to textclassTags
10654 (Read): and handle it in the switch
10655 (readFloat): new function
10657 * FloatList.C (FloatList): comment out the hardcoded float
10660 * lyxlayout.h: ws change.
10662 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10664 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10666 2002-09-03 Angus Leeming <leeming@lyx.org>
10668 * BufferView_pimpl.h: qualified name is not allowed in member
10669 declaration: WorkArea & Pimpl::workarea() const;
10671 * factory.C: added using std::endl directive.
10673 * text3.C: added using std::find and std::vector directives.
10675 2002-08-29 André Pönitz <poenitz@gmx.net>
10678 * text2.C: remove unused member number_of_rows
10681 * BufferView2.C: remove file, move contents to...
10682 * BufferView.C: ... here
10684 * BufferView_pimpl.C:
10685 * factory.C: move more inset creation to factory
10687 * vspace.C: avoid direct usage of LyXText, ws changes
10690 don't provide direct access to WorkArea, use two simple
10691 acessors haveSelction() and workHeight() instead
10694 2002-08-29 John Levon <levon@movementarian.org>
10696 * BufferView_pimpl.C (dispatch): do not continue when
10699 2002-08-28 André Pönitz <poenitz@gmx.net>
10701 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10704 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10706 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10708 * buffer.C: increment LYX_FORMAT to 221
10710 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10711 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10713 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10715 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10717 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10719 * factory.C (createInset): use LyXTextClass::floats
10721 * MenuBackend.C (expandFloatListInsert):
10722 (expandFloatInsert):
10725 * text2.C (setCounter):
10727 * LaTeXFeatures.C (useFloat):
10728 (getFloatDefinitions):
10730 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10732 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10733 floatlist_, with accessor floats().
10735 * FloatList.h: remove global FloatList
10737 2002-08-26 André Pönitz <poenitz@gmx.net>
10739 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10743 * BufferView_pimpl.C:
10744 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10746 2002-08-25 John Levon <levon@movementarian.org>
10748 * LyXAction.C: fix margin note description
10750 2002-08-24 John Levon <levon@movementarian.org>
10754 * bufferview_funcs.C:
10756 * undo_funcs.C: cleanups
10758 * lyxfunc.C: disable CUT/COPY when no selection
10760 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10762 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10763 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10765 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10766 Add backward compatibility to "mono", "gray" and "no".
10768 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10770 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10771 (and file_format >= 200).
10773 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10775 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10777 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10779 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10781 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10783 * BufferView_pimpl.C:
10790 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10791 inset and code to make it work with the paragraph code. The inset
10792 can be anywhere in the paragraph, but will only do the expected
10793 thing in LaTeX if the layout file contains the parameter line
10795 (or more generally, a nonzero value) for that layout.
10797 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10799 * paragraph.h: remove the declaration of undefined counters class
10802 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10804 * text2.C (setCounter): fixed enumeration mis-count as reported by
10805 Dr. Richard Hawkins.
10807 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10809 * paragraph_funcs.h: remove some unneeded includes
10811 * text.C (backspace): pasteParagraph now in global scipe
10813 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10814 (pasteSelection): ditto
10816 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10817 * paragraph_funcs.C (pasteParagraph): ... here
10819 2002-08-20 André Pönitz <poenitz@gmx.net>
10821 * commandtags.h: new LFUNs for swapping/copying table row/colums
10824 * lyxfunc.C: support for new lfuns
10826 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10829 * buffer.[Ch]: remove NO_COMPABILITY stuff
10831 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10833 * boost.C (throw_exception): new file, with helper function for
10834 boost compiled without exceptions.
10839 * ParameterStruct.h:
10840 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10842 * bufferlist.C (emergencyWriteAll): use boost bind
10844 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10846 * text.C: include paragraph_funcs.h
10847 (breakParagraph): breakParagraph is now in global scope
10849 * paragraph_funcs.[Ch]: new files
10851 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10854 * buffer.C: include paragraph_funcs.h
10855 (insertStringAsLines): breakParagraph is now in global scope
10857 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10860 * CutAndPaste.C: include paragraph_funcs.h
10861 (cutSelection): breakParagraphConservative is now in global scope
10862 (pasteSelection): ditto
10864 * buffer.h: declare oprator== and operator!= for
10865 Buffer::inset_iterator
10867 * bufferlist.C (emergencyWrite): don't use fmt(...)
10869 * text3.C: add using std::endl
10871 * BufferView.C (moveCursorUpdate): remove default arg
10873 2002-08-20 André Pönitz <poenitz@gmx.net>
10875 * buffer.[Ch]: move inline functions to .C
10878 * BufferView_pimpl.C:
10880 * buffer.[Ch]: use improved inset_iterator
10883 * paragraph.[Ch]: write one paragraph at a time
10885 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10887 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10888 style if style is not specified.
10890 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10892 * text2.C (setCounter): when searching for right label for a
10893 caption, make sure to recurse to parent insets (so that a caption
10894 in a minipage in a figure float works) (bug #568)
10896 2002-08-20 André Pönitz <poenitz@gmx.net>
10898 * text3.C: new file for LyXText::dispatch() and helpers
10900 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10902 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10904 2002-08-19 André Pönitz <poenitz@gmx.net>
10907 * text.C: new LyXText::dispatch()
10909 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10911 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10913 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10915 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10918 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10920 * Makefile.am: use $(variables) instead of @substitutions@
10922 2002-08-15 André Pönitz <poenitz@gmx.net>
10925 * BufferView_pimpl.C: streamlining mathed <-> outer world
10929 * LyXAction.C: remove unused LFUN_MATH
10931 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10933 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10935 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10937 * paragraph.C (Paragraph): reformat a bit
10938 (cutIntoMinibuffer): use builtin InsetList function instad of
10942 * buffer.C: include boost/bind.hpp, add using std::for_each
10943 (writeFileAscii): use ParagraphList iterators
10944 (validate): use for_each for validate traversal of paragraphs
10945 (getBibkeyList): use ParagraphList iterators
10946 (resizeInsets): use for_each to resizeInsetsLyXText for all
10948 (getParFromID): use ParagraphList iterators
10950 * BufferView2.C (lockInset): use paragraph list and iterators
10952 2002-08-14 John Levon <levon@movementarian.org>
10954 * lyxserver.C: remove spurious xforms include
10956 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10958 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10960 2002-08-13 André Pönitz <poenitz@gmx.net>
10963 * lyxfunc.C: further cleaning
10965 2002-08-13 André Pönitz <poenitz@gmx.net>
10967 * funcrequest.h: new constructor
10969 * funcrequest.C: move stuff here from .h
10972 * BufferView_pimpl.C:
10975 * lyxfunc.C: subsequent changes
10977 * lyxfunc.h: new view() member function
10979 * lyxfunc.C: subsequent changes
10981 2002-08-13 Angus Leeming <leeming@lyx.org>
10984 * BufferView_pimpl.C:
10992 changes due to the changed LyXView interface that now returns references
10993 to member variables not pointers.
10995 2002-08-13 Angus Leeming <leeming@lyx.org>
10997 * WordLangTuple (word, lang_code): return references to strings,
11002 * lyxtext.h: forward-declare WordLangTuple.
11007 * text.C: #include "WordLangTuple.h".
11010 * text.C: (selectNextWordToSpellcheck): constify return type.
11012 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11018 * paragraph_pimpl.h:
11021 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11022 suggested by Angus.
11023 Made updateCounter always count from start of buffer, and removed
11024 second argument (par).
11025 Reverted floats number display to '#'. Perhaps I'll try again when the
11026 code base is sanitized a bit.
11028 2002-08-12 Angus Leeming <leeming@lyx.org>
11030 * buffer.[Ch] (getLabelList): constify.
11032 2002-08-07 André Pönitz <poenitz@gmx.net>
11034 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11036 * funcrequest.h: extension to keep mouse (x,y) position
11038 2002-08-12 Juergen Vigna <jug@sad.it>
11040 * BufferView2.C (insertErrors): forbid undo when inserting error
11043 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11045 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11047 * ParagraphList.[Ch]: new files
11049 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11051 * BufferView2.C (lockInset): ParagraphList changes
11054 * bufferlist.C: ditto
11058 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11060 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11061 unused class variable counter_,
11063 * paragraph.[Ch] (getFirstCounter): delete unused function
11065 * counters.C: include LAssert.h
11066 (reset): add a new function with no arg, change other version to
11067 not have def. arg and to not allow empty arg.
11069 * text2.C (setCounter): remove empty arg from call to Counters::reset
11071 2002-08-11 John Levon <levon@movementarian.org>
11073 * Makefile.am: add WordLangTuple.h
11075 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11077 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11078 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11080 * insets/insettext.C: InsetList changes
11082 * graphics/GraphicsSupport.C (operator()): InsetList changes
11084 * toc.C (getTocList): InsetList changes
11086 * paragraph_pimpl.[Ch]: InsetList changes
11088 * paragraph.[Ch]: InsetList changes
11090 * buffer.C (inset_iterator): InsetList changes
11091 (setParagraph): ditto
11092 * buffer.h (inset_iterator): ditto
11093 * iterators.C (operator++): ditto
11094 * iterators.h: ditto
11096 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11098 * InsetList.[Ch]: new files, most InsetList handling moved out of
11101 * BufferView2.C (removeAutoInsets): InsetList changes
11103 (ChangeInsets): ditto
11105 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11107 * paragraph_pimpl.h (empty): new function
11109 * paragraph.[Ch] (empty): new function
11111 * other files: use the new Paragraph::empty function
11113 2002-08-09 John Levon <levon@movementarian.org>
11115 * lyxtext.h: remove unused refresh_height
11117 2002-08-09 John Levon <levon@movementarian.org>
11124 * paragraph.C: move sgml char escaping out of paragraph
11127 * paragraph.C: remove id setter
11131 * paragraph_pimpl.C: remove dead tex_code_break_column
11133 * bufferview_funcs.C: small cleanup
11135 * lyxfunc.C: remove dead proto
11137 * lyxtext.h: make some stuff private. Remove some dead stuff.
11139 * lyxgluelength.C: make as[LyX]String() readable
11141 2002-08-08 John Levon <levon@movementarian.org>
11146 * ToolbarDefaults.C:
11149 * toc.C: lyxaction cleanup
11151 2002-08-08 John Levon <levon@movementarian.org>
11153 * BufferView2.C: small cleanup
11156 * lyxfind.C: move unnecessary header into the .C
11158 2002-08-08 John Levon <levon@movementarian.org>
11160 * funcrequest.h: just tedious nonsense
11163 * lyx_main.C: cleanups
11166 * vspace.C: remove dead header lyx_main.h
11168 2002-08-07 Angus Leeming <leeming@lyx.org>
11171 * paragraph_pimpl.h:
11172 Forward declare class Counters in paragraph.h by moving the ctrs member
11173 variable into Paragraph::Pimpl.
11174 (counters): new method, returning a reference to pimpl_->ctrs.
11176 * text2.C: ensuing changes.
11178 2002-08-07 John Levon <levon@movementarian.org>
11180 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11182 * BufferView_pimpl.C: announce X selection on double/triple
11185 * lyx_main.C: use correct bool in batch dispatch
11187 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11189 2002-08-07 André Pönitz <poenitz@gmx.net>
11191 * funcrequest.h: new class to wrap a kb_action and its argument
11194 * BufferView_pimpl[Ch]:
11198 * lyxrc.C: subsequent changes
11201 2002-08-07 John Levon <levon@movementarian.org>
11203 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11204 document options change.
11206 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11211 * makefile.am: move counters functionality over from
11212 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11214 2002-08-06 John Levon <levon@movementarian.org>
11216 * WordLangTuple.h: new file for word + language code tuple
11227 * BufferView2.C: use WordLangTuple
11230 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11232 2002-08-06 John Levon <levon@movementarian.org>
11234 * lyx_main.C: fix cmdline batch handling
11236 2002-08-06 André Pönitz <poenitz@gmx.net>
11238 * lyxrc.C: set default for show_banner to true
11240 2002-08-06 John Levon <levon@movementarian.org>
11242 * pspell.C: fix a crash, and allow new aspell to work
11244 2002-08-06 John Levon <levon@movementarian.org>
11247 * kbmap.C: small cleanup
11250 * vspace.C: add const
11252 2002-08-05 John Levon <levon@movementarian.org>
11254 * LyXAction.C: back to tabular-insert
11256 2002-08-04 John Levon <levon@movementarian.org>
11259 * BufferView.C: cosmetic change
11261 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11271 * BufferView2.C: purge all "Lyx" not "LyX" strings
11274 * lyxcursor.C: attempt to add some documentation
11279 * ToolbarDefaults.C:
11280 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11281 merge with LFUN_TABULAR_INSERT
11288 * pspell.C: split up i/pspell implementations into separate
11289 files, many cleanups
11291 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11293 * text2.C: some cleanup
11295 * lyxfunc.C: don't check for isp_command == "none" any more, it
11296 didn't make any sense
11298 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11303 * makefile.am: move counters functionality over
11304 from text2.C/paragraph.[Ch] to counters.[Ch], and
11306 2002-08-02 John Levon <levon@movementarian.org>
11308 * buffer.C: s/lyxconvert/lyx2lyx/
11310 2002-08-02 Angus Leeming <leeming@lyx.org>
11312 * lyxlex.C: revert John's change as it breaks reading of the user
11315 2002-08-02 Angus Leeming <leeming@lyx.org>
11317 * importer.C (Import):
11318 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11319 changes due to LyXView::view() now returning a boost::shared_ptr.
11321 2002-08-02 John Levon <levon@movementarian.org>
11323 * lyxlex.C: small cleanup
11325 2002-08-02 John Levon <levon@movementarian.org>
11327 * text2.C (status): small cleanup, no logic change
11329 2002-08-01 John Levon <levon@movementarian.org>
11332 * buffer.C (writeFile): don't output alerts, caller
11336 * lyx_cb.C: from above
11338 * lyxfunc.C: allow to open non-existent files
11340 2002-07-31 John Levon <levon@movementarian.org>
11342 * lyxserver.C: don't let incidental errors get
11345 2002-07-30 John Levon <levon@movementarian.org>
11347 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11349 2002-07-30 John Levon <levon@movementarian.org>
11352 * lyxserver.C: remove I/O callback too
11354 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11356 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11359 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11361 * many files: strip,frontStrip -> trim,ltrim,rtrim
11363 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11365 * PrinterParams.h: remove extern containsOnly, and include
11366 support/lstrings.h instead.
11368 * LaTeX.C (scanAuxFile): modify because of strip changes
11370 * buffer.C (makeLaTeXFile): ditto
11371 * bufferparams.C (writeFile): ditt
11372 * lyxfont.C (stateText): ditto
11373 * lyxserver.C (read_ready): ditto
11374 * vc-backend.C (scanMaster): ditto
11376 * BufferView_pimpl.h: ws changes
11378 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11380 2002-07-26 André Pönitz <poenitz@gmx.net>
11382 * kb_sequence.C: remove unnedred usings
11384 2002-07-26 Juergen Vigna <jug@sad.it>
11386 * lyxfind.C (LyXReplace): we have to check better if the returned
11387 text is not of theLockingInset()->getLockingInset().
11389 2002-07-25 Juergen Vigna <jug@sad.it>
11391 * lyxfind.C (LyXReplace): don't replace if we don't get the
11394 * undo_funcs.C (createUndo): remove debugging code.
11396 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11398 * buffer.C (parseSingleLyXformat2Token): Use default placement
11399 when reading old floats.
11401 * FloatList.C (FloatList): Change the default placement of figure
11402 and tables to "tbp".
11404 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11406 * MenuBackend.C: using std::max
11408 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11410 * MenuBackend.C (expandToc):
11411 (expandToc2): code moved from xforms menu frontend. It is now
11412 generic and TOCs are transparent to menu frontends.
11414 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11416 * toc.C (getTocList): protect against buf=0
11418 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11419 Menu as first parameter. Now, this calls itself recursively to
11420 expand a whole tree (this will be useful for TOC handling)
11421 (expandFloatInsert): remove 'wide' version of floats
11423 * MenuBackend.h (submenuname): returns the name of the submenu.
11424 (submenu): returns the submenu itself, provided it has been
11425 created by MenuBackend::expand
11427 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11429 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11430 insets which have noFontChange == true. (bug #172)
11432 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * BufferView_pimpl.C: add connection objects and use them...
11437 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * MenuBackend.C (expandLastfiles):
11442 (expandFloatListInsert):
11443 (expandFloatInsert):
11444 (expand): split expand in parts
11446 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11448 * lyx_gui.C: use lyx_gui::exit()
11450 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11452 * LyXAction.C: show the failing pseudo action
11454 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11456 * buffer.C (readFile): Run the lyxconvert script in order to read
11459 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11463 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11465 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11469 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11471 2002-07-22 Herbert Voss <voss@lyx.org>
11474 * lyxlength.[Ch]: add support for the vertical lengths
11476 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11478 * toc.[Ch]: std:: fixes
11480 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11482 * lyxrc.C: do not include lyx_main.h
11484 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11490 * BufferView2.C: include "lyxlex.h"
11493 * bufferparams.h: do not #include "lyxlex.h"
11495 * lyxtextclasslist.C (Add): remove method
11496 (classlist): renamed to classlist_
11498 * paragraph_pimpl.C:
11502 * bufferview_funcs.C:
11507 * toc.C (getTocList): use BufferParams::getLyXTextClass
11509 * toc.C (getTocList): use InsetFloat::addToToc
11511 * toc.[Ch]: new files, containing helper functions to handle table
11514 * lyxfunc.C (dispatch): no need to remove spaces around command
11516 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11517 first command of the sequence; it is not very clever, but I do not
11518 have a better idea, actually
11520 * LyXAction.C (LookupFunc): make sure to remove space at the
11521 beginning and end of the command
11523 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11525 * MenuBackend.C (getMenubar): new method: return the menubar of
11527 (read): treat differently reading of menu and menubar (in
11528 particular, the menubar has no name now)
11529 (Menu::menubar): remove
11531 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11534 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11536 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11537 a bibitem inset in a RTL paragraph.
11539 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11541 * paragraph_pimpl.C: constify
11543 * BufferView_pimpl.C:
11545 * lyxfunc.C: fix dispatch in a nicer way
11547 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11549 * lyxfunc.C (dispatch):
11550 * BufferView_pimpl.C:
11551 * BufferView_pimpl.h:
11553 * BufferView.h: rename Dispatch() to dispatch()
11555 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11557 * lyxlayout.C (Read): honor DependsOn tag
11559 * lyxlayout.[Ch] (depends_on): new method
11561 * version.C.in: update lyx_docversion
11563 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11565 * paragraph.C (validate): remove from here...
11566 * paragraph_pimpl.C (validate): ... and move here
11567 (isTextAt): make it const
11569 * buffer.C (getLists): ws cleanup
11571 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11573 * language.C (read): Use iso8859-1 encoding in latex_lang
11574 (this prevents LyX from crashing when using iso10646-1 encoding).
11576 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11578 * text2.C (toggleInset): if cursor is inside an inset, close the
11579 inset and leave cursor _after_ it
11581 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11583 * lyxfunc.C: move minibuffer completion handling out of here
11585 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11587 * BufferView_pimpl.C:
11588 * LaTeX.C: fix dispatch calls
11590 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11592 * text.C (drawChars): Fix Arabic text rendering.
11594 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11598 * lyxfunc.C: remove message-push/pop
11602 * lyxfunc.C: rationalise some code by removing verboseDispatch
11603 in favour of a bool argument to dispatch()
11605 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11607 * lyx_main.C (init): make sure to read symlinks as absolute paths
11609 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11612 * lyxfunc.C: no need for commandshortcut to be a member
11614 2002-07-15 André Pönitz <poenitz@gmx.net>
11616 * converter.C: add support for $$s (scripts from lib/scripts dir)
11617 * lyx_main.C: white space
11619 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11623 * lyxrc.C: remove second exit confirmation
11625 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11630 * BufferView_pimpl.h:
11631 * BufferView_pimpl.C:
11632 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11634 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11636 * MenuBackend.C (expand): add numeric shortcuts to document menu
11638 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11640 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11642 * lyxfont.C (setLyXFamily):
11649 * buffer.C (asciiParagraph): use ascii_lowercase
11651 2002-07-15 Mike Fabian <mfabian@suse.de>
11653 * lyxlex_pimpl.C (search_kw):
11654 * lyxlex.C (getLongString):
11655 * converter.h (operator<):
11656 * converter.C (operator<):
11657 * buffer.C (parseSingleLyXformat2Token):
11659 * ToolbarDefaults.C (read):
11660 * MenuBackend.C (checkShortcuts):
11662 * LColor.C (getFromGUIName):
11663 (getFromLyXName): use the compare_ascii_no_case instead of
11664 compare_no_case, because in turkish, 'i' is not the lowercase
11665 version of 'I', and thus turkish locale breaks parsing of tags.
11667 2002-07-16 Angus Leeming <leeming@lyx.org>
11669 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11670 now takes a Buffer const & argument.
11672 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11674 * BufferView.C (resize): check there's a buffer to resize
11676 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11678 * lyxfunc.C: remove dead code
11681 * lyxserver.C: use lyx_guii::set_read_callback
11683 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11685 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11686 an inset in a RTL paragraph.
11688 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11690 * lyxfunc.C: repaint after a font size update
11692 2002-07-15 André Pönitz <poenitz@gmx.net>
11694 * lyxlength.C: inBP should be able to return negative values
11696 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11698 * lyxfunc.C: use lyx_gui::update_fonts()
11700 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11702 * lyxfunc.C: use lyx_gui::update_color()
11704 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11710 * lyxrc.C: remove file->new asks for name option, and let
11711 buffer-new take an argument
11713 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11715 * BufferView_pimpl.C: remove unneeded extra repaint()
11717 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11719 * LyXAction.C: allow command-sequence with NoBuffer
11721 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11723 2002-07-10 Angus Leeming <leeming@lyx.org>
11725 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11727 2002-07-09 Angus Leeming <leeming@lyx.org>
11729 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11731 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11733 * lengthcommon.h: whitespace
11735 * lyxfunc.C: update scrollbar after goto paragraph
11737 * lyxtext.h: factor out page break drawing, and fix it so
11738 page break/added space paints as selected nicely
11740 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11742 * BufferView_pimpl.C: add FIXMEs, clean up a little
11744 2002-07-09 André Pönitz <poenitz@gmx.net>
11746 * lyxfont.[Ch]: support for wasy symbols
11748 2002-07-08 André Pönitz <poenitz@gmx.net>
11750 * BufferView_pimpl.C: apply John's patch for #93.
11752 2002-07-05 Angus Leeming <leeming@lyx.org>
11754 * BufferView_pimpl.C (buffer): generate previews if desired.
11756 * LColor.h: add "preview" to the color enum.
11758 * LColor.C (LColor): add a corresponding entry to the items array.
11760 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11763 2002-07-05 Angus Leeming <leeming@lyx.org>
11765 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11766 The body of the code is now in the method that is passed an ostream &
11767 rather than a file name.
11768 Pass an additional only_preamble parameter, useful for the forthcoming
11771 2002-07-03 André Pönitz <poenitz@gmx.net>
11773 * lyxfunc.C: simplify getStatus() a bit for math stuff
11775 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11777 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11779 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11781 * text.C (changeRegionCase): do not change case of all the
11782 document when region ends at paragraph end (bug #461)
11784 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11786 * paragraph.C (startTeXParParams):
11787 (endTeXParParams): add \protect when necessary
11789 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11791 * BufferView_pimpl.C (workAreaExpose): remove warning
11793 2002-06-27 Angus Leeming <leeming@lyx.org>
11795 * Makefile.am: add lyxlayout_ptr_fwd.h.
11797 2002-06-26 André Pönitz <poenitz@gmx.net>
11799 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11801 2002-06-25 Angus Leeming <leeming@lyx.org>
11803 * lyxfunc.C (dispatch): Comment out the call to
11804 grfx::GCache::changeDisplay. The method no longer exists now that the
11805 pixmap generation part of the graphics loader has been moved into
11808 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11810 * text2.C: layout as layout
11812 * text.C: layout as layout
11814 * tabular.C (OldFormatRead): layout as layout
11816 * paragraph_pimpl.C (TeXDeeper): layout as layout
11817 (realizeFont): layout as layout
11819 * paragraph.C (writeFile): layout as layout
11820 (validate): layout as layout
11821 (getFont): layout as layout
11822 (getLabelFont): layout as layout
11823 (getLayoutFont): layout as layout
11824 (breakParagraph): layout as layout
11825 (stripLeadingSpaces): layout as layout
11826 (getEndLabel): layout as layout
11827 (getMaxDepthAfter): layout as layout
11828 (applyLayout): layout as layout
11829 (TeXOnePar): layout as layout
11830 (simpleTeXOnePar): layout as layout
11831 (TeXEnvironment): layout as layout
11832 (layout): layout as layout
11833 (layout): layout as layout
11835 * lyxtextclass.C (compare_name): new functor to work with
11836 shared_ptr, layout as layout
11837 (Read): layout as layout
11838 (hasLayout): layout as layout
11839 (operator): layout as layout
11840 (delete_layout): layout as layout
11841 (defaultLayout): layout as layout
11843 * lyxlayout_ptr_fwd.h: new file
11845 * lyxlayout.C (Read): layout as layout
11847 * lyx_cb.C (MenuInsertLabel): layout as layout
11849 * bufferlist.C (newFile): layout as layout
11851 * buffer.C (readLyXformat2): layout as layout
11852 (parseSingleLyXformat2Token): layout as layout
11853 (insertStringAsLines): layout as layout
11854 (asciiParagraph): layout as layout
11855 (latexParagraphs): layout as layout
11856 (makeLinuxDocFile): layout as layout
11857 (simpleLinuxDocOnePar): layout as layout
11858 (makeDocBookFile): layout as layout
11859 (simpleDocBookOnePar): layout as layout
11860 (getLists): layout as layout
11862 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11864 * CutAndPaste.C (cutSelection): layout as layout
11865 (pasteSelection): layout as layout
11866 (SwitchLayoutsBetweenClasses): layout as layout
11868 * BufferView_pimpl.C (Dispatch): layout as layout
11869 (smartQuote): layout as layout
11871 * BufferView2.C (unlockInset): layout as layout
11873 2002-06-24 André Pönitz <poenitz@gmx.net>
11875 * lyxfunc.C: fix #487
11877 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11881 * lyxfunc.C: remove display_shortcuts, show_banner
11883 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11885 * Buffer_pimpl.C: oops, update on resize
11887 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11894 * BufferView.C: use repaint()
11896 * BufferView_pimpl.h:
11897 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11898 as it's a clearer description. Remove superfluous
11901 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11903 * text.C: fix bug 488. Not ideal, but getting
11904 getWord() to work properly for the insets that
11905 matter is more difficult ...
11907 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11909 * BufferView_pimpl.C:
11912 * lyxfunc.C: remove the six million index lyxfuncs to just
11913 one, and DTRT (bug 458)
11915 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11919 * BufferView_pimpl.h:
11920 * BufferView_pimpl.C: clean up resize() stuff,
11921 and unnecessary updateScreen()s
11923 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11927 * BufferView_pimpl.h:
11928 * BufferView_pimpl.C:
11931 * minibuffer.C: remove focus management of workarea,
11932 not needed. Use screen's greyOut()
11934 2002-06-17 Herbert Voss <voss@lyx.org>
11936 * converter.C: (convert) do not post a message, when converting
11937 fails, let the calling function decide what to do in this case
11939 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11941 * lyxfunc.C: tidy up a little
11943 2002-06-16 <alstrup@diku.dk>
11945 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11946 Got rid of FORMS_H_LOCATION include. Now we are
11949 2002-06-15 LyX Development team <lyx@rilke>
11951 * buffer.[Ch] (sgmlOpenTag):
11952 (sgmlCloseTag): Added support for avoiding pernicious mixed
11953 content. Return number of lines written.
11955 (makeLinuxDocFile):
11956 (makeDocBookFile): Fixed calls to sgml*Tag.
11957 Simple white space clean.
11959 (simpleDocBookOnePar): Simple white space clean.
11961 * tabular.[Ch] (docBook): Renamed to docbook and got another
11962 argument to related with the pernicious mixed content.
11964 (docbookRow): Fixed calls for docbook inset method.
11966 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11968 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11969 so it's X11 independent.
11973 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11975 2002-06-15 Lyx Development team <lyx@electronia>
11977 * intl.h: Renamed getTrans to getTransManager.
11979 2002-06-14 Angus Leeming <leeming@lyx.org>
11981 * Makefile.am: nuke forgotten stl_string_fwd.h.
11983 2002-06-12 Angus Leeming <leeming@lyx.org>
11985 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11987 2002-06-13 Angus Leeming <leeming@lyx.org>
11990 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11992 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11994 * kbmap.C (getiso): add support for cyrillic and greek
11996 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12000 * BufferView_pimpl.h:
12001 * BufferView_pimpl.C: move bogus scrolling logic
12004 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12007 * BufferView_pimpl.C: view->resize() change
12009 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12011 * BufferView_pimpl.C: topCursorVisible
12014 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12018 * lyx_gui.C: move to frontends/
12022 * lyx_main.C: changes from above
12024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12031 * lyx_main.C: minor tidy
12033 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12035 * BufferView_pimpl.h:
12036 * BufferView_pimpl.C:
12038 * BufferView.C: make painter() const,
12041 * BufferView2.C: use screen() accessor
12044 * lyx_main.C: some minor cleanup
12046 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12048 * BufferView_pimpl.h:
12049 * BufferView_pimpl.C: remove enter/leaveView,
12052 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12057 * BufferView_pimpl.h:
12058 * BufferView_pimpl.C: only construct screen once,
12061 * lyxrc.C: remove pointless comment
12063 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12066 * BufferView.C: remove active() and belowMouse()
12068 * BufferView_pimpl.h:
12069 * BufferView_pimpl.C: use workarea() not workarea_,
12070 and make it use a scoped_ptr instead
12072 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12074 * lyx_gui.C: add debug message on BadWindow
12076 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12078 * sp_spell.C: fdopen is not part of the C++ standard.
12080 * paragraph.C (InsetIterator): use >= instead of ==
12082 2002-06-07 Angus Leeming <leeming@lyx.org>
12084 Fixes needed to compile with Compaq cxx 6.5.
12085 * BufferView_pimpl.C:
12092 * lyxtextclasslist.C:
12097 all c-library variables have been moved into namespace std. Wrap
12098 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12103 Add a using std::abs declaration.
12105 * kbmap.h (modifier_pair):
12106 * paragraph.h (InsetTable, InsetList):
12107 * lyxfont.h (FontBits):
12108 type definition made public.
12110 * bufferlist.C (emergencyWriteAll): the compiler complains that
12111 there is more than one possible lyx::class_fun template to choose from.
12112 I re-named the void specialisation as lyx::void_class_fun.
12114 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12116 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12117 the compiler is is unable to find tostr in write_attribute.
12119 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12121 * buffer.C (sgmlError): hide #warning
12123 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12125 * xtl/*: get rid of xtl, which is not in use anyway
12127 * LyXAction.C (init):
12128 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12129 were unimplemented xtl experimentation
12131 2002-06-04 André Pönitz <poenitz@gmx.net>
12133 * lyxfunc.C: disable array operation on simple formulae
12135 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12137 * converter.C: constify a bit
12139 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12141 * lyx_gui.C: check xforms version correctly
12143 2002-04-30 Herbert Voss <voss@lyx.org>
12145 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12148 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12150 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12151 attempt to register it with a VCS)
12153 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12155 * lyx_main.C (init): honor variables LYX_DIR_13x and
12158 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12162 * lyx_main.C: fix a crash on bad command line,
12163 and give a useful exit status on error
12165 * lyxfunc.C (doImport): allow -i lyx to work
12167 2002-03-30 André Pönitz <poenitz@gmx.net>
12169 * lyxfunc.C: mathed font changes
12171 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12186 * trans_mgr.h: srcdocs, and some minor cleanups
12188 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12190 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12191 call getFont all the time)
12193 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12195 * switch from SigC signals to boost::signals
12197 2002-05-29 André Pönitz <poenitz@gmx.net>
12199 * paragraph_pimpl.C (getChar): don't call size() too often...
12201 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12203 * paragraph_pimpl.C (insertChar): do not try to update tables when
12204 appending (pos == size())
12206 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12207 in order to reduce drastically the number of comparisons needed to
12208 parse a large document
12210 2002-05-29 André Pönitz <poenitz@gmx.net>
12216 * textclasslist.[Ch]:
12217 * sp_ispell.h: whitespace change
12219 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12221 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12222 lyxaction directly now.
12224 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12228 * lyxvc.C: remove unused headers
12230 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12237 * undo_funcs.C: some cleanups. Use shared_ptr
12238 and a template for the undo stacks.
12240 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12242 * BufferView_pimpl.h:
12243 * BufferView_pimpl.C:
12250 * text2.C: use key_state/mouse_state
12252 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12254 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12257 * chset.C: change include order
12258 (loadFile): use boost regex and get rid of LRegex and LSubstring
12260 * Makefile.am (BOOST_LIBS): new variable
12261 (lyx_LDADD): use it
12263 * LaTeX.C: change include order.
12264 (scanAuxFile): use boost regex and get rid of LRegex and
12268 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12273 * FontInfo.C: moved to frontends/xforms/
12276 * FontLoader.C: moved into frontends for GUIIzation
12281 * lyxfunc.C: changes from above
12283 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12285 * LColor.C: remove spurious X include
12287 * BufferView_pimpl.C:
12292 * text2.C: move font metrics to frontends/
12294 2002-05-24 Juergen Vigna <jug@sad.it>
12296 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12297 setting the undo_cursor.
12299 * ParagraphParameters.h: include local includes first.
12301 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12303 * BufferView_pimpl.C:
12304 * BufferView_pimpl.h:
12308 * screen.C: move WorkArea into frontends/
12314 * BufferView2.C: move LyXScreen into frontends/
12318 * lyx_gui.C: move lyxlookup into frontends/xforms/
12320 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12323 * BufferView_pimpl.C:
12333 * bufferview_funcs.C:
12346 * vc-backend.C: move LyX/XFormsView into frontends/
12348 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12360 * text2.C: move Painter to frontends/
12362 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * buffer.C: comment out some some code that depend upon lyx_format
12367 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12368 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12370 * buffer.h (NO_COMPABILITY): turn off compability
12372 * ColorHandler.C: include scoped_array.hpp
12374 * font.C: Use more specific smart_ptr header.
12377 * ShareContainer.h: ditto
12378 * lyx_main.h: ditto
12380 * FontInfo.h: ditto
12381 * BufferView_pimpl.h: ditto
12382 * ColorHandler.h: ditto
12384 * kbmap.C (defkey): change call to shared_ptr::reset
12386 2002-05-21 Juergen Vigna <jug@sad.it>
12388 * buffer.C (insertErtContents): fix to insert ert asis if it is
12389 non empty. Skip it completely if it contains only whitespaces.
12391 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12393 * BufferView_pimpl.C:
12394 * BufferView2.C: clear selection on paste (bug 393)
12396 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12398 * DepTable.C: include ctime
12400 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12402 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12404 2002-05-14 Juergen Vigna <jug@sad.it>
12406 * text.C (breakParagraph): fixed function to honor the keepempty
12407 layout in the right maner and also to permit the right breaking
12408 algorithm on empty or non empyt keepempty paragraphs.
12410 * paragraph.C (breakParagraph): we have to check also if the par
12411 is really empty (!size()) for isempty otherwise we do the wrong
12414 2002-05-10 Juergen Vigna <jug@sad.it>
12416 * buffer.[Ch] : The following are only changes to the ert
12417 compatibility read reading old LaTeX layout and font stuff and
12418 convert it to ERTInsets.
12420 * buffer.h: added isErtInset().
12422 * buffer.C (struct ErtComp): add a fromlayout bool to check
12423 if we're inside a LaTeX layout.
12424 (isErtInset): new helper function.
12425 (insertErtContents): look for other ert insets before this one
12426 and insert the contents there, so that we don't have subsequent
12427 ERT insets with nothing between them. This way we create only one
12428 inset with multiple paragraphs. Also check if we don't insert only
12429 spaces ' ' as they are ignored anyway afterwards in the .tex file
12430 so if we have only spaces we will ignore this latex part in the
12432 (parseSingleLyXformat2Token \\layout): better compatibility when
12433 reading layout-latex stuff.
12434 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12436 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12437 stuff after reading the inset only get the information back from
12440 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12442 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12444 * LaTeXFeatures.C (getBabelOptions): New method.
12446 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12448 * BufferView_pimpl.C (Dispatch): work around missing argument for
12451 2002-05-08 Juergen Vigna <jug@sad.it>
12453 * text.C (leftMargin): handle paragraph leftindent.
12455 * paragraph.C (writeFile): write the new \\leftindent tag.
12456 (validate): handle leftindent code.
12457 (TeXEnvironment): handle paragraphleftindent code again.
12459 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12461 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12462 for paragrap_extra indent code and new token \\leftindent.
12463 (latexParagraphs): handle the leftindent as environment.
12465 * ParameterStruct.h: added leftindent support.
12467 * ParagraphParameters.C (leftIndent): added support functions for
12468 the paragraph left indent.
12470 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12473 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12475 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12478 * text.C (computeBidiTables): No bidi in insetERT.
12480 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12483 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12485 * version.C.in: pre 5
12487 2002-05-02 José Matos <jamatos@fep.up.pt>
12488 * buffer.C (makeDocBookFile): white space changes, add newline to
12490 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12492 * tabular.C (docBook): fix typo.
12494 2002-05-03 Juergen Vigna <jug@sad.it>
12496 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12497 change in LyXText as we can not be sure it was not freed.
12498 (drawOneRow): remove unused code.
12500 * text.C (drawInset): redo the calculation of the need_break_row as
12501 it could have a row which was already freed.
12502 (draw): look at the return value of drawInset and return false if
12503 it also returned false.
12504 (paintRowText): look at the return value of draw and return false if
12505 it also returned false.
12507 * lyxtext.h: added bool return type to drawInset() and draw() so that
12508 if we have a change in the row so that the rowbreak has to be redone
12509 we abort drawing as it will be called again.
12511 2002-05-02 Juergen Vigna <jug@sad.it>
12513 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12514 a change in the maintext also if we're inside an inset.
12515 (Dispatch): set the cursor again after a break line and after the
12516 screen has been updated as it could be we're in a different row.
12518 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12519 to set the cursor behind the pargraph with > size().
12520 (setCursor): check also for the same paragraph when checking where
12521 to put the cursor if we have a NFR inset.
12523 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12524 parts of layout read further up as it still was in the wrong
12527 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12529 * screen.C (drawFromTo): change sine fullRebreak always return
12532 * buffer.C (parseSingleLyXformat2Token): reindent some
12534 * BufferView_pimpl.C (update): change since fullRebreak always
12536 (Dispatch): git rid of the last hardcoded "Standard"s.
12538 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * text2.[Ch] (fullRebreak): make it return void now that we always
12543 2002-04-30 Juergen Vigna <jug@sad.it>
12545 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12546 ert compatibility check for "latex" layout.
12548 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12550 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12551 minipages: use col% instead of p%, and also use the current font.
12552 (makeLaTeXFile): Fix use babel condition.
12553 (parseSingleLyXformat2Token): Correct font when reading old floats.
12555 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12557 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12558 inserting list of floats.
12560 2002-04-25 Herbert Voss <voss@lyx.org>
12562 * MenuBackend.C (expand): don't add the graphics extensions to the
12565 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12567 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12568 non-existing layout, do not complain if it was the default layout
12569 of the original class (bug #342)
12571 2002-04-24 Juergen Vigna <jug@sad.it>
12573 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12574 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12576 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12578 * buffer.C (getBibkeyList): If using \bibliography, return the
12579 option field with the reference itself. Enables us to provide natbib
12580 support when using \bibliography.
12582 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12584 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12586 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12587 natbib is provided by the LaTeX class.
12589 2002-04-23 Juergen Vigna <jug@sad.it>
12591 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12594 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12596 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12598 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12600 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12601 ensuremath around textordmasculine, textordfeminine and
12604 2002-04-19 Juergen Vigna <jug@sad.it>
12606 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12607 reinitializing the buffer otherwise row-dimensions may be wrong.
12608 (update): reset also the selection cursors if they do exits otherwise
12609 their x/y positions may be wrong.
12611 * text2.C (cursorDown): don't enter the inset if we came from a row
12612 above and are one row over the inset.
12614 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12615 really leaving an inset.
12617 2002-04-18 Juergen Vigna <jug@sad.it>
12619 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12620 of the selected paragraph does not have the selected layout also if
12623 * text2.C (setLayout): fixed bug which did not change last selected
12626 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12627 changed the read and substituted \\end_float with \\end_inset!
12629 * BufferView_pimpl.C (cursorPrevious):
12630 (cursorNext): fixed to make it work with rows heigher than the work
12631 area without moving the cursor only the draw of the row.
12632 (workAreaMotionNotify): fix jumping over high rows.
12634 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12636 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12639 2002-04-16 Juergen Vigna <jug@sad.it>
12641 * text2.C (setCursor): set also the irow().
12642 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12644 (cursorDown): support for locking an inset if the x_fix value goes
12645 inside it. That way I can transverse insets too with cursor up/down.
12647 * lyxrow.h: added irow helper function same as other (i) functions.
12649 * BufferView_pimpl.C (cursorPrevious):
12650 (cursorNext): fixed for insets!
12652 2002-04-15 Juergen Vigna <jug@sad.it>
12654 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12655 position otherwise it is wrong in some cases.
12657 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12658 inside the inset before the call.
12660 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12662 * buffer.[Ch] (getBibkeyList): make it const.
12664 2002-04-12 Juergen Vigna <jug@sad.it>
12666 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12668 * text2.C (getCursorX): new helper function
12669 (setCursor): compute also ix_
12670 (setCursorFromCoordinates): set also ix.
12672 * lyxcursor.h: added ix_ and helper functions.
12674 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12676 * buffer.C (insertStringAsLines): dont break paragraph if the this
12677 paragraph is inside an inset which does not permit it!
12679 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12680 also with no chars on this paragraph.
12681 (paintRowText): only paint stuff if it's inside the workarea!
12683 * paragraph.C (breakParagraph): honor keepempty flag and break the
12684 paragraph always below not above.
12686 * BufferView2.C (unlockInset): update the paragraph layout on inset
12687 unlock as we changed paragraph in such a case.
12689 * lyxfind.C (LyXFind): clear the former selection if not found!
12691 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12692 again called in insertChar().
12694 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12695 an inset which uses the whole row!
12696 (rightMargin): ditto.
12697 (insertChar): force a rebreak if we inserted an inset!
12699 2002-03-28 Herbert Voss <voss@lyx.org>
12701 * lyxlength.[Ch]: add inBP() to get the right PS-point
12702 units (BigPoint). With inPixels we have rounding errors
12704 2002-04-11 Juergen Vigna <jug@sad.it>
12706 * text2.C (setCursorFromCoordinates): set iy to the right value.
12707 (setCursor): add check if row->previous exists!
12709 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12710 an old float_type as this was the case in the old code!
12712 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12714 * BufferView2.C (showLockedInsetCursor): use iy
12715 (fitLockedInsetCursor): ditto
12717 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12718 locked insets as there we have the right value now.
12720 * lyxcursor.C: added iy_ variable and iy functions to set to the
12721 baseline of cursor-y of the locked inset.
12723 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12724 (setCursor): fixed for insets which need a full row.
12726 * text.C (rowLastPrintable): don't ignore the last space when before
12727 an inset which needs a full row.
12728 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12729 as last character of a row when before a inset which needs a full row.
12731 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * version.C.in: update date
12735 * text2.C (fullRebreak): try to always return true and see what
12738 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12740 * MenuBackend.C (expand): use Floating::listName
12742 * FloatList.C (FloatList): add listName argument to the built-in
12745 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12746 text associated with the float.
12748 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12750 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12752 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * ShareContainer.h: add a couple of missing typenames.
12756 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12758 * lyxrc.C (getDescription): use _() correctly rather than N_().
12760 2002-03-28 Herbert Voss <voss@lyx.org>
12762 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12763 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12765 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12767 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12768 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12770 2002-03-29 Juergen Vigna <jug@sad.it>
12772 * lyxfunc.C (dispatch): add a missing fitCursor call.
12774 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12775 it was scrolled by a cursor move, so return the bool status.
12777 * BufferView.C (fitCursor): return the bool flag also to the outside
12778 world as this is needed.
12780 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12782 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12783 call the edit() as it is not needed (and wrong) IMO.
12784 (workAreaButtonPress): set the screen_first variable before evt.
12785 unlock the inset as this may change screen_first and then we have
12786 a wrong y position for the click!
12788 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12790 * MenuBackend.C (expand): another translation that I missed
12792 2002-03-28 Juergen Vigna <jug@sad.it>
12794 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12796 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12798 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12800 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12802 * MenuBackend.C (expand): fix export/view/update when there is no
12805 2002-03-27 Herbert Voss <voss@lyx.org>
12807 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12810 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12812 * bufferview_funcs.C (currentState): only show paragraph number
12813 for is DEVEL_VERSION is set.
12815 * lyxfunc.C (dispatch): put warning in INFO channel
12817 * MenuBackend.C (expand): translate the name of floats
12819 * FloatList.C (FloatList): mark the float names for translation
12821 * converter.C (convert): use LibScriptSearch
12823 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12825 * MenuBackend.C (defaults): fix default menu (we might as well get
12828 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12830 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12833 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12835 * lyxvc.C: reorder includes.
12837 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12839 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12842 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12844 * CutAndPaste.C: change layouts earlier on paste
12845 to avoid crashing when calling getFont()
12847 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12849 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12852 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12854 * WorkArea.C: remove 'Pending' debug message.
12856 * most files: ws cleanup
12858 * buffer.[Ch]: ws changes
12860 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12862 2002-03-21 Juergen Vigna <jug@sad.it>
12864 * tabular.C (SetMultiColumn): collapse also the contents of the
12865 cells and set the last border right. Added a Buffer const * param.
12867 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12872 2002-03-19 Juergen Vigna <jug@sad.it>
12874 * text2.C (clearSelection): reset also xsel_cache.
12876 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12877 where it needs to be called (John tells us to do so too :)
12878 (selectionLost): reset sel_cache.
12880 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12882 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12884 * text2.C (setCursorIntern): put debuging code in INSETS channel
12886 2002-03-19 André Pönitz <poenitz@gmx.net>
12888 * lyxfunc.C: tiny whitespace change
12890 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12892 * ToolbarDefaults.C (init):
12893 * LyXAction.C (init):
12895 * BufferView_pimpl.C (Dispatch):
12896 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12898 2002-03-19 Allan Rae <rae@lyx.org>
12900 * exporter.C (Export): removeAutoInsets before doing anything else.
12901 While I've just introduced a dependency on BufferView this really is
12902 the best place to clean the buffer otherwise you need to cleanup in
12903 a dozen places before calling export or cleanup in a dozen functions
12906 * converter.C (runLaTeX):
12907 (scanLog): Better handling of removeAutoInsets and screen updates.
12909 * lyxfunc.C (dispatch): small whitespace changes
12911 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12913 * WorkArea.C (C_WorkAreaEvent): return a value.
12914 (event_cb): return 1 if we handled the event, 0 otherwise.
12916 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12918 2002-03-18 Juergen Vigna <jug@sad.it>
12920 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12921 (GetAdditionalWidth): ditto.
12922 (RightLine): ditto.
12925 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12926 inset if we're there actually (probably not used right now but this
12927 is the direction to go for unifying code).
12928 (paste): disable code to clear the selection.
12930 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12931 inside an InsetText and move the check further up as it is in the
12934 * text2.C (pasteSelection): set a selection over the pasted text.
12936 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12938 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12939 and libgraphics to build on Cygwin.
12941 2002-03-15 Juergen Vigna <jug@sad.it>
12943 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12944 inserting an Inset into the paragraph. I know this is not the best
12945 fix but we already use current_view in CutAndPaste so we will remove
12946 all of it's using at the same time.
12948 * buffer.C (sgmlError): deactivated function till it is rewritten in
12949 the right mode, now it can create problems.
12951 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12952 before accessing it.
12954 2002-03-14 Juergen Vigna <jug@sad.it>
12956 * undo_funcs.C (textHandleUndo): do the right thing when updating
12957 the inset after the undo/redo.
12959 * text2.C (setCursor): just some testcode for #44 not ready yet.
12961 * undo_funcs.C (textHandleUndo): set the next() and previous()
12962 pointers of the paragraph to 0 before deleting otherwise we have
12963 problems with the Paragraph::[destructor].
12965 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12966 on a paragraph insertion.
12968 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * buffer.C (asciiParagraph): use += operator for char append to
12973 * paragraph.C (getFontSettings): compare >= not just >
12974 (highestFontInRange): ditto
12977 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * paragraph.C: change several algorithm to be more appripriate for
12980 the problem domain. This is lookip in FontList and in the InsetList.
12982 2002-03-13 André Pönitz <poenitz@gmx.net>
12985 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12987 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12992 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12994 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12996 * Painter.C (display): anon helper function, adjust code for this
12998 (pixmap): remove function.
13000 * Painter.h: remove private display variable.
13002 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13004 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13006 * WorkArea.[Ch]: remove figinset_canvas cruft.
13008 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * lyxtextclass.C (operator): add one item cache optimization.
13012 * bufferlist.h: doxy changes
13014 * bufferlist.C: ws changes
13016 * DepTable.[Ch] (ext_exist): place const in the right spot.
13018 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13020 (workAreaExpose): call resizeInsets when the with BufferView changes.
13021 (Dispatch): adjust for protectedBlank removal
13022 (specialChar): call updateInset if the insert went ok.
13024 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13025 specialChar instead.
13027 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13029 * BufferView.h: doxy change
13031 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13033 * lyxtextclass.C (operator[]): remove non-const version
13034 (defaultLayout): remove non-const version
13036 2002-03-12 Juergen Vigna <jug@sad.it>
13038 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13039 did resize the LyXText too.
13041 * buffer.C (readLyXformat2): set layout information on newly allocated
13044 * tabular.C (OldFormatRead): set layout information on the paragraph.
13046 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13048 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13050 2002-03-11 Juergen Vigna <jug@sad.it>
13052 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13054 (resizeCurrentBuffer): force also the insets to resize themselfes.
13055 (moveCursorUpdate): fixed up for InsetText.
13057 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13060 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13061 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13062 value of Dialogs::tooltipsEnabled().
13063 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13065 2002-03-08 Juergen Vigna <jug@sad.it>
13067 * BufferView_pimpl.C (updateInset): update inset inside inset also
13068 if it isn't inside theLockingInset().
13070 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * buffer.C (asciiParagraph): redo some of the word and line length
13074 (getLists): look for Caption instead of caption.
13076 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13078 * buffer.C (Buffer): initialize niceFile to true
13080 (makeLinuxDocFile):
13081 (makeDocBookFile): make sure niceFile is true on exit
13083 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13085 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13087 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13089 * LyXSendto.C: remove.
13090 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13091 * lyx_gui.C: remove now-redundant comment.
13092 * ColorHandler.h: remove forward declaration of class WorkArea.
13093 * lyxfunc.C: remove #include "WorkArea.h".
13095 2002-03-07 Juergen Vigna <jug@sad.it>
13097 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13098 got moved away with the DEPM and also set the inset_owner always
13099 right which before could have been omitted.
13101 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13103 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13104 wanted layout is not found.
13106 2002-03-07 Juergen Vigna <jug@sad.it>
13108 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13110 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13112 * paragraph.C (breakParagraph): use default layout not layout of
13114 (Paragraph): clear ParagraphParameters.
13116 2002-03-06 Juergen Vigna <jug@sad.it>
13118 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13119 otherwise it would not be a valid lenght. Fixed a special case in
13120 the minipage compatibility read where we end the document with a
13123 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13124 was set as it could be 0 for InsetTexts first entry.
13126 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13128 * paragraph.C (writeFile): if layout is empty write out
13129 defaultLayoutName().
13131 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13132 file without named layout we set layout to defaultLayoutName().
13134 2002-03-06 Juergen Vigna <jug@sad.it>
13136 * CutAndPaste.C (copySelection): set layout for new paragraph.
13138 * text.C (prepareToPrint): leave ERT inset left aligned
13139 (leftMargin): don't indent paragraphs inside ERT insets
13141 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * paragraph.C (breakParagraph): dont call clear do the work manually
13145 * paragraph.[Ch] (clear): remove function
13147 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13149 * paragraph.C (Paragraph): dont call clear, the work has already
13152 * lyxtextclass.C (operator): assert if n is empty
13154 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13155 work manually instead.
13157 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13159 * BufferView_pimpl.C: protect selectionLost against text == 0
13161 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13163 * text.C (breakParagraph): fix a setting layout to '0' problem.
13165 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13167 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13168 final location of file, for the included files, and graphics.
13170 2002-03-05 Juergen Vigna <jug@sad.it>
13172 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13174 2002-03-04 Juergen Vigna <jug@sad.it>
13176 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13178 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13179 last column of multicolumn cells.
13180 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13182 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13184 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13185 file if it doesn't go to a temporary file.
13187 * buffer.C (sgmlOpenTag):
13188 (sgmlCloseTag): remove extra newline insertion.
13190 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * text.C (getRowNearY): comment out debug msg
13194 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13196 * text2.C: first -> first_y
13198 * text.C (getRowNearY): add some attemts at a possible
13199 optimization, not working.
13201 * tabular.[Ch]: add BufferParams to several function so that newly
13202 created paragraph can be initialized to he default layotu for the
13205 * tabular-old.C (ReadOld): add buf->params to call of Init
13207 * screen.C: rename text->first to text->first_y
13209 * paragraph.C (breakParagraph): always set layout in the broken
13212 * lyxtextclass.C (Read): remove lowercase
13215 (delete_layout): ditto
13217 * lyxtext.h: rename first -> first_y
13219 * lyxlayout.C (Read): remove lowercase
13222 (obsoleted_by): ditto
13224 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13226 * buffer.C (insertErtContents): add params are to InsetERT
13227 (parseSingleLyXformat2Token): add code to check if a paragraphs
13228 layout really exist.
13229 (parseSingleLyXformat2Token): add params to several inset
13231 (asciiParagraph): remove lowercase, do the layout comparisons with
13234 * BufferView_pimpl.C (cursorNext): first -> first_y
13235 (resizeCurrentBuffer): first -> first_y
13236 (updateScrollbar): first -> first_y
13237 (scrollCB): first -> first_y
13238 (workAreaMotionNotify): first -> first_y
13239 (workAreaButtonPress): first -> first_y
13240 (checkInsetHit): first -> first_y
13241 (cursorPrevious): first -> first_y
13242 (cursorNext): first -> first_y
13243 (Dispatch): add buffer_->params to severl inset contructors
13245 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13247 * lyxlayout.C (Read): remove some debug info that I forgot.
13249 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13250 clean up the code slightly.
13251 (makeLinuxDocFile): ditto
13252 (makeDocBookFile): ditto
13254 * text2.C: layout as string
13256 * text.C: layout as string
13258 * paragraph_pimpl.C: layout as string
13260 * paragraph.[Ch]: layout as string
13262 * lyxtextclasslist.[Ch]: layout as string
13264 * lyxtextclass.[Ch]: layout as string
13266 * lyxtext.h: layout as string
13268 * lyxlayout.[Ch]: layout as string
13270 * lyx_cb.C: layout as string
13272 * bufferview_funcs.C: layout as string
13274 * bufferparams.C: layout as string
13276 * buffer.C: layout as string
13278 * LyXView.[Ch]: layout as string
13280 * LaTeXFeatures.[Ch]: layout as string
13282 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13284 * BufferView_pimpl.C: change current_layout to string, remove
13289 (workAreaButtonRelease): layout as string
13291 * BufferView2.C (unlockInset): adjust
13293 * vspace.C (asLatexCommand): use an explict temp variable.
13295 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13297 * Makefile.am: use FRONTEND_*
13299 2002-03-01 Juergen Vigna <jug@sad.it>
13301 * tabular.C (SetWidthOfMulticolCell): changed to something better
13302 I hope but still work in progress.
13303 (recalculateMulticolumnsOfColumn): renamed function from
13304 recalculateMulticolCells as it is more appropriate now.
13305 (SetWidthOfCell): calculate multicols better.
13307 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13309 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13311 * lyxfunc.C (processKeySym): print sequence also if it is
13312 `deleted' (complete)
13314 * kbsequence.C (print): print sequence even if it is deleted
13315 (complete would be a better word, actually).
13317 * lyxfunc.C (dispatch): print complete options after a prefix key
13319 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13321 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13323 * text2.C (setCharFont): eliminate setCharFont code duplication.
13325 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13327 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13328 LFUN_TABULAR_FEATURE (bug #177)
13330 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13332 * Makefile.am: remove figure.h
13334 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13336 * Bufferview_pimpl.C:
13348 * text2.C: remove #include "lyx_gui_misc.h".
13350 * LaTeX.C: added #include <cstdio>
13352 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13354 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13355 that the paragraph following this one can have.
13357 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13359 * vspace.C (asLatexCommand): fix bogus gcc warning
13361 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13363 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13365 * text2.C (setLayout): get rid of redundant code
13367 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13369 * text2.C (incDepth): make sure depth cannot be increased beyond
13372 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13374 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13375 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13377 * PainterBase.h (image):
13378 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13379 a LyXImage const *.
13381 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13385 * BufferView_pimpl.C:
13386 * BufferView_pimpl.h:
13406 * sp_spell.C: remove fig inset, and the crap house of
13407 cards that follows it
13409 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13414 * os2_errortable.h:
13415 * nt_defines.h: move .h into support/
13417 * vms_defines.h: remove
13419 * WorkArea.C: add space in debug output
13423 * buffer.C: add WITH_WARNINGS
13427 * bufferlist.C: s/retrive/retrieve/, add docs
13436 * chset.C: add docs
13438 * lyxgui.C: add ID to X error handler
13440 * lyxtestclass.c: fix typo
13442 2002-02-26 Juergen Vigna <jug@sad.it>
13444 * tabular_funcs.C (write_attribute): changed so that some default
13445 attributes are not written at all.
13446 (getTokenValue): set default values before trying to read the
13447 value so we have the return value always set as default if we don't
13448 find the token we search for.
13450 * tabular.C (Write): write bools as bools not as strings!
13452 2002-02-22 Juergen Vigna <jug@sad.it>
13454 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13455 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13457 * text.C (leftMargin): don't add an indent for paragraphs inside
13458 tabular cells (fix #208).
13460 2002-02-21 José Matos <jamatos@fep.up.pt>
13462 * tabular.C (docBook): fixed support for long tables.
13464 2002-02-20 Juergen Vigna <jug@sad.it>
13466 * text2.C (getFont): get the drawing font of the Inset if this
13467 paragraph is inside an inset (only important for InsetERT for now).
13469 * buffer.C (insertErtContents): use new lanugage params in ERT
13472 * CutAndPaste.C: commenting out seemingly uneeded code.
13474 2002-02-19 Allan Rae <rae@lyx.org>
13476 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13477 Iterators might be simple to use but they also get invalidated.
13478 (removeAutoInsets): renamed saved cursor tracking variables and added
13479 some comments to clarify what everything does.
13481 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13488 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13489 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13492 * vc-backend.h: remove #include "support/syscall.h"
13496 * converter.C: rearrange #includes in Lars' approved fashion.
13498 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13499 forward declare class Timeout in the header file.
13501 * XFormsView.C: changes due to the above.
13503 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13504 similar to LyXView.
13506 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13507 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13509 2002-02-18 José Matos <jamatos@fep.up.pt>
13511 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13514 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13516 * a lot of small ws changes
13517 * add a lot of using std::XXX
13518 * use std construcs some places where approp.
13519 * use some exisint stuff from lyxfunctional where approp.
13520 * Make file changes to use partial linking (lets test this now...)
13522 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13526 remove #include "support/syscontr.h" as it's redundant. Always has been.
13534 change Systemcalls::System to Systemcalls::Wait and
13535 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13536 No change of functionality, just reflects the stripped down Systemcalls
13539 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13541 * debug.[Ch]: add a GRAPHICS type to the enum.
13543 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13545 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13547 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13550 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13552 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13553 match the changes below.
13555 * text2.C (toggleInset): if there is not editable inset at cursor
13556 position, try to see if cursor is _inside_ a collapsable inset
13559 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13561 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13562 document menu has a nice checkbox
13564 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13566 * lyxlength.C (asLatexString): change PW to output as percent of
13569 * lengthcommon.C: change '%' to 't%'
13571 * lyxfunc.C (dispatch): a few comments from Martin
13573 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13577 * BufferView_pimpl.h:
13578 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13581 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13583 * vspace.C (inPixels): fix compiler warning
13585 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13587 * lyxfunc.C (getStatus): fix status message for disabled commands.
13589 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13591 * BufferView_pimpl.C: fix crash on close buffer
13592 during selection (#227)
13594 2002-01-27 Herbert Voss <voss@lyx.org>
13596 * buffer.C: link old Figure to new graphic inset
13598 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13600 * FontLoader.C (getFontinfo): Change the latex font names in order
13601 to match the names of type1inst.
13603 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13605 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13607 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13608 (extchanged): ditto
13610 (remove_files_with_extension): ditto
13611 (remove_file): ditto
13614 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13615 document is smaller than the work area height. Do not initialize
13616 static variables to 0.
13618 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13620 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13622 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13623 LFUN_LAYOUT_PARAGRAPHS.
13625 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13626 tabular. It is possible to provide a possible cell, which will
13627 typically be the actcell from the corresponding insettabular
13629 * lyxfunc.C (getStatus): small cleanup; disable
13630 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13633 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13635 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13637 * paragraph.C (startTeXParParams):
13638 (endTeXParParams): new methods. The LaTeX code to
13639 start/end paragraph formatting
13640 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13641 empty (fixes bug #200)
13643 * vspace.C (inPixels): adapt to the change below
13644 (inPixels): [later] more cleanups (remove unused variables)
13646 * lyxlength.C (inPixels): change to use a width and a height as
13649 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13651 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13652 Replaced with \paperwidth
13654 * DepTable.C (insert): add std:: qualifier
13656 2002-01-18 Allan Rae <rae@lyx.org>
13658 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13661 * text.C (drawInset): Turned out I didn't know enough about how
13662 rebreaking worked. This fixes most of the redraw problems. I see
13663 an occasional cursor trail when a line is broken now and the cursor
13664 placement can seem out by a few pixels also after a rebreak.
13666 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13668 * buffer.C (parseSingleLyXformat2Token): update because minipage
13669 width is now a LyXLength
13671 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13673 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13676 2002-01-17 Juergen Vigna <jug@sad.it>
13678 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13680 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13681 is set correctly and the inset is updated correctly.
13683 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13685 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13686 the beginning of the loop.
13688 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13690 * lyxrc.C: improve help for use_scalable_fonts
13692 2002-01-17 Allan Rae <rae@lyx.org>
13694 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13696 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13698 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13699 make sure to set their inset_owner to the right value (bug #171)
13701 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13704 * DepTable.C: Implement mtime checking to reduce time spent doing
13707 2002-01-16 Juergen Vigna <jug@sad.it>
13709 * tabular.C (GetAdditionalHeight): one of error fixed.
13711 * lyxrc.C (output): small fix in writing use_pspell.
13713 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13715 * sp_base.h: #include LString.h
13717 2002-01-16 Allan Rae <rae@lyx.org>
13719 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13720 Can someone check this please?
13722 * text.C (drawInset): It was possible that p.row would be removed by
13723 breakAgainOneRow upsetting a few other settings. There may be another
13724 small tweak possible by setting need_break_row = 0 when p.row has been
13725 removed but I don't know enough about the logic here.
13727 2002-01-15 Allan Rae <rae@lyx.org>
13729 * text.C (insertChar): removed conditional truism.
13731 * BufferView2.C (removeAutoInsets): More tweaks.
13732 cur_par_prev could be a stray pointer. Check for trailing empty line
13733 in case last line was cur_par and only had an error inset on it.
13735 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13737 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13740 * vc-backend.C (most methods):
13741 * exporter.C (Export):
13742 * converter.C (convert):
13744 * LyXSendto.C (SendtoApplyCB):
13745 * lyxfunc.C (dispatch):
13749 * lyx_cb.C (AutoSave):
13751 * BufferView_pimpl.C (MenuInsertLyXFile):
13752 * buffer.C (runChktex): use Buffer::filePath().
13754 * buffer.h: rename filename to filename_; rename filepath to
13755 filepath_ and make it private
13756 (filePath): new method
13758 * buffer.C (writeFile): use fileName()
13761 * lyx_main.C (init): fix starting of LyX when the binary is a
13762 link from so,ewhere else.
13764 * minibuffer.C: include <cctype> for isprint
13766 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13768 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13769 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13770 name clash with InsetCollapsable's width function.
13772 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13774 * lastfiles.C: include <iterator>
13776 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13778 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13781 * buffer.C (makeLaTeXFile): ditto.
13782 Also make loop operation more transparent.
13784 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13786 * ToolbarDefaults.C: remove trailing comma closing namespace.
13788 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13790 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13793 * trans.C (Load): comment out unused variable, allowed.
13795 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13797 * minibuffer.[Ch] (append_char): new method to recieve input from the
13798 drop-down completion browser. If a key was pressed, then recieve this
13799 char and append it to the existing string.
13800 (peek_event): modify the positioning data passed to the completion
13801 browser so that it can be placed above the minibuffer rather than below.
13802 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13804 * LyXAction.C (init): alloe error-next for readonly documents.
13806 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13809 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13811 * bufferlist.C (readFile): create the buffer _after_ checking that
13814 * lyxfunc.C (verboseDispatch): fix handling of arguments
13816 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13818 * lyxrc.C: use string::erase() instead of initializing to "".
13821 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13823 * BufferView_pimpl.h:
13824 * BufferView_pimpl.C:
13827 * text2.C: tell X when we have made a selection for copying
13829 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13831 * BufferView_pimpl.C (MenuInsertLyXFile):
13832 * lyxfunc.C (menuNew):
13834 (doImport): add shortcuts to directory buttons
13836 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13839 * lyxfunc.C (setStatusMessage):
13840 (getStatusMessage): new methods
13841 (getStatus):use setStatusMessage instead of setErrorMessage
13842 (dispatch): when function is disabled, set error message here
13843 [instead of in getStatus previously]
13845 * BufferView_pimpl.C (workAreaButtonRelease): update
13846 toolbar/menubar here too.
13848 2002-01-13 Allan Rae <rae@lyx.org>
13850 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13851 Now seems indestructible. Remaining task is to audit all other
13852 code affected by deleteEmptyParagraphMechanism. One small quirk
13853 left is that an empty document with an error in the preamble can
13854 be made to report an error but no error box appears. I don't know
13856 (removeAutoInsets): Improved comments.
13858 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13861 * Thesaurus.C: update for Aiksaurus 0.14
13863 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13865 * text2.C (firstParagraph): removed member function, all uses
13866 replaces with ownerParagraph
13867 (redoParagraphs): here
13868 (updateInset): here
13869 (toggleAppendix): here
13870 * BufferView2.C (insertErrors): here
13871 (setCursorFromRow): here
13873 2002-01-13 Allan Rae <rae@lyx.org>
13875 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13876 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13877 There is still a way to segfault this although you may have to do this
13878 multiple times: Have an InsetERT with an unknown command in it.
13879 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13880 <down-arrow>, <Enter> again, View->DVI, BANG!
13882 * text2.C (setCursor):
13883 (deleteEmptyParagraphMechanism):
13884 * lyxtext.h (setCursor):
13885 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13886 Making use of the return value may help fix other bugs.
13888 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13890 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13892 * LyXView.C (updateMenubar): call MenuBar::update here
13893 (updateToolbar): but not here
13894 (showState): do not update toolbar/menubar
13896 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13897 should need to care about that.
13899 * lyxfunc.C (verboseDispatch): simplify a bit
13900 (getStatus): have a version which takes a pseudoaction, and
13901 another which requires a (kb_action,string).
13903 * LyXAction.C (retrieveActionArg): make it work also when action
13904 is not a pseudo-action.
13905 (getActionName): simplify a bit
13908 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13910 * lyxfunc.C (verboseDispatch): new families of methods with
13911 several ways to specify a command and a bool to indicate whether
13912 the command name and shortcut should be displayed in minibuffer
13913 (eventually, we could extend that to a finer bitmask like
13914 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13915 (dispatch): the pristine dispatch command which just, well,
13916 dispatchs! Note it still sets its result to minibuffer; I'm not
13919 * lyxfunc.h: remove setHintMessage
13921 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13923 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13925 * BufferView_pimpl.C (specialChar): delete new inset if we have
13926 not been able to insert it.
13928 * kbmap.C: revert to using int instead of kb_action, since all we
13929 are dealing with is pseudo-actions.
13931 * LyXAction.C (searchActionArg): change to return int instead of
13932 kb_action, since the result is a pseudoaction.
13934 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13936 * buffer.C (insertErtContents): Fix (partially) the font bug.
13938 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13940 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13941 as the other one is broken on my machine!
13943 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13946 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13948 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13950 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13951 reflect their actual use. Provide compatibility code for older lyxrc
13954 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13956 change names of popup font variables in line with the changes to lyxrc.C
13958 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13960 * buffer.C (asciiParagraph): avoid outputing a word twice after
13963 * lyxrc.C (getDescription): document that document_path and
13964 template_path can be empty.
13966 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13968 * LaTeXFeatures.C (getMacros):
13969 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13971 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13973 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13975 (getPackages): rename feature "floats" to "float". Use an array to
13976 iterate over 'simple' features (i.e. just a \usepackage). Add
13977 handling of "amsmath" (renamed from "amsstyle").
13979 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13981 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13984 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13986 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13987 FuncStaus::FuncStatus & FuncStaus::some_method().
13989 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13991 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13992 of the func_satus stuff. Edited and massaged in various ways by
13995 * lyxfunc.C (getStatus): use FuncStatus
13997 2002-01-08 Juergen Vigna <jug@sad.it>
13999 * text.C (nextBreakPoint): use function Inset::isChar().
14001 * paragraph.C (TeXOnePar): use function
14002 Inset::forceDefaultParagraphs.
14004 * buffer.C (latexParagraphs): use function
14005 Inset::forceDefaultParagraphs.
14007 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14009 * lyx_gui.C (init): set the style of the menu popups to
14010 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14012 2002-01-07 Juergen Vigna <jug@sad.it>
14014 * text.C (setHeightOfRow): small fix
14015 (prepareToPrint): don't look at alignment if we don't have the place
14018 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14020 * box.C: New file. Move the Box methods and functions out of box.h,
14021 following Lars' suggestion.
14023 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14025 * box.h: #include "support/LOstream.h", needed for inlined function.
14028 * lyxtextclasslist.C: added some using std declarations.
14030 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14032 * box.h: make signed dimensions to allow insets wider than
14033 the screen (bug #162)
14035 * BufferView_pimpl.C: add some insetHit debug
14037 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14039 * vc-backend.C: add FIXME
14041 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14043 * lyxfunc.C (getStatus): enable code for showing math font status
14046 2002-01-07 Juergen Vigna <jug@sad.it>
14048 * text.C (nextBreakPoint): removed debug output not needed anymore.
14050 2002-01-06 Juergen Vigna <jug@sad.it>
14052 * text.C (nextBreakPoint): fixed up this function we had this bug
14053 since ever but now hopefully we break row better.
14054 (insertChar): we have to check if an inset is the next char as it
14055 could now happen that a large inset is causing a break.
14057 2002-01-05 Juergen Vigna <jug@sad.it>
14059 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14060 if it doesn't like to be drawed.
14062 2002-01-04 Juergen Vigna <jug@sad.it>
14064 * BufferView2.C (lockInset): forgot to set a cursor.
14066 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14068 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14070 * FormMathsPanel.C:
14073 * form_maths_panel.C:
14074 * form_maths_panel.h:
14075 * form_maths_panel.fd: implemented sub- and super- buttons in math
14078 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14079 (or ^ space) to be used as in TeX (req'd by Andr�.
14081 * lyxfunc.C: Allow ^ and _ again to be used both as
14082 super/subscript (mathed) and as themselves (in text).
14084 2002-01-03 Allan Rae <rae@lyx.org>
14086 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14087 "LyX" or the filename of the current buffer if it has one. This is a
14088 modified form of John Levon's patch.
14090 * XFormsView.C (setWindowTitle): also set icon title.
14092 * LyXView.h (setWindowTitle): signature changed.
14093 * XFormsView.h (setWindowTitle): ditto.
14095 2002-01-02 Juergen Vigna <jug@sad.it>
14097 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14099 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * screen.C (topCursorVisible): introduce a temp var for
14102 text->cursor.row(), handle the case where this row is null. (kindo
14105 * text2.C (setCursor): add a couple of asserts.
14107 * paragraph.h (inset_iterator): add -> operator
14109 * paragraph.[Ch] (autoDeleteInsets): remove member function
14111 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14112 cursor pos correctly and handle inset deletion by itself.
14113 (insertErrors): move iterator declaration out of for expression
14115 * lyxtextclass.C: add <algorithm>
14117 * Makefile.am: added the new files to sources, removed layout.C
14119 * layout.C: removed file
14121 * layout.h: remove LYX_DUMMY_LAYOUT
14123 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14127 * lyxtextclass.[Ch]:
14128 * lyxtextclasslist.[Ch]: new files
14130 * include order changes to a lot of files, also changes because of
14133 2001-12-27 Juergen Vigna <jug@sad.it>
14135 * buffer.C (asciiParagraph): more fixes.
14137 * tabular.C (ascii): make ascii export support export of only the
14138 data separated by a column-delimiter.
14139 (ascii): better support for ascii export.
14141 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14143 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14145 * tabular_funcs.C: use a "using std::getline" instead of the
14146 previous fix from Angus (necessary for cxx + lyxstring)
14148 2001-12-24 Juergen Vigna <jug@sad.it>
14150 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14152 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14153 problems. First check a minipage also if we have some ert-contents
14154 (not only on par->size(), second set the right depth of the paragraph
14155 on the relink to the root-paragraph-list!
14157 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14158 which then did not anymore update the main paragraphs on undo/redo!
14160 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14162 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14163 code. Support all font-changing funcs (even those which are not in
14164 menu currently). Support for reporting font settings in
14165 mathed (disabled until Andre provides a function on mathed's side).
14167 * func_status.h (toggle): small helper function to set toggle
14170 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14172 * tabular_funcs.C: getline -> std::getline
14174 2001-12-21 Juergen Vigna <jug@sad.it>
14176 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14177 accessed and could be 0 (I couldn't generate this but it seems
14180 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14182 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14183 * tabular_funcs.h: here and include iosfwd
14185 2001-12-20 Juergen Vigna <jug@sad.it>
14187 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14188 inside inset but undo_par was.
14190 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14192 * Thesaurus.C: always include <config.h> in sources.
14196 * box.h: do not include <config.h> in header files
14198 * text.C (paintLastRow): remove unused variable
14200 * text.C (transformChar):
14202 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14204 * Painter.C (text):
14205 * font.C (width): rewrite to use uppercase() instead of
14208 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14210 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14212 * lyxfind.C: clean up of find failure position change
14214 2001-12-20 Juergen Vigna <jug@sad.it>
14216 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14218 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14219 (TeXRow): added to LaTeX a single tabular row.
14220 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14221 (Latex): simplified and finally good LT-h/f support.
14222 (various_functions): just small adaptions for LT-h/f support.
14224 * tabular_funcs.[hC]: added and moved here all not classfunctions
14227 2001-12-19 Juergen Vigna <jug@sad.it>
14229 * tabular.[Ch]: better support for longtabular options (not finished
14232 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14234 * text.C (paintLastRow): use the label font instead of the font of
14235 the last character to compute the size of *_BOX. This makes more
14236 sense and avoids a crash with empty paragraphs.
14237 Use Painter::rectangle to draw EMPTY_BOX.
14239 2001-12-19 Juergen Vigna <jug@sad.it>
14241 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14242 the paragraphs if the replaced paragraph is not the first one!
14243 Tried to delete not used paragraphs but does not work yet so for
14244 now it's inside #ifdef's and by default off!
14246 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14248 * MenuBackend.C: include "lyx_main.h" instead of declaring
14249 lastfiles (actually was declared as LastFiles* instead of a
14252 2001-12-17 Juergen Vigna <jug@sad.it>
14254 * tabular.C (AppendColumn): applied John's fix
14256 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14260 * BufferView_pimpl.h:
14261 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14264 * box.h: new start of class for above
14266 * lyxfunc.C: ignore space-only minibuffer dispatches.
14267 Show the command name when it doesn't exist
14269 * minibuffer.C: don't add empty lines to the history
14271 * minibuffer.C: add a space on dropdown completion
14273 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14275 * text.C: fix line above/below drawing in insets
14277 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14279 * lyxlength.C (LyXLength): Initialize private variables.
14281 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14283 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14284 when inserting error insets.
14286 2001-12-13 Juergen Vigna <jug@sad.it>
14288 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14289 actually sometimes the before-paragraph.
14290 (setUndo): don't clear the redostack if we're not actually undoing!
14292 2001-12-06 Juergen Vigna <jug@sad.it>
14294 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14295 and fixed redoing of main paragraph, so we can use it now ;)
14297 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14299 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14301 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14304 2001-12-13 André Pönitz <poenitz@gmx.net>
14307 * undo_func.C: minor cleanup
14309 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14311 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14312 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14313 font in urw-fonts package which is marked as -urw-fontspecific and
14314 does not work (incidentally, changing the encoding in the
14315 fonts.dir of this package to -adobe-fontspecific fixes the
14318 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14319 is a crash when undoing first paragraph (Juergen, please take a
14320 look). THis does not mean the undo fix is wrong, just that it
14323 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14324 the (Paragraph*) version when needed instead of duplicating the
14327 * text.C (workWidth): use Inset::parOwner to find out where the
14328 inset has been inserted. This is a huge performance gain for large
14329 documents with lots of insets. If Inset::parOwner is not set, fall
14330 back on the brute force method
14332 * paragraph_pimpl.C (insertInset):
14333 * paragraph.C (Paragraph):
14334 (cutIntoMinibuffer): set parOwner of insets when
14335 inserting/removing them
14337 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14339 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14345 * mathed/formulabase.C:
14346 * mathed/math_cursor.[Ch]:
14347 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14350 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14352 * lyxlength.[Ch] (operator!=): new function
14354 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14356 * text.C (workWidth): use Inset::parOwner to find out where the
14357 inset has been inserted. This is a huge performance gain for large
14358 documents with lots of insets. If Inset::parOwner is not set, fall
14359 back on the brute force method
14361 * paragraph_pimpl.C (insertInset):
14362 * paragraph.C (Paragraph):
14363 (cutIntoMinibuffer): set parOwner of insets when
14364 inserting/removing them
14366 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14368 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14370 * tabular-old.C (getTokenValue):
14371 * tabular.C (getTokenValue):
14372 (write_attribute): new versions for LyXLength
14373 (everywhere): adjust the use of widths
14375 * tabular.h: change the type of widths from string to LyXLength
14377 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14379 * paragraph.C: fixed missing line number count when exporting
14380 Environments to LaTeX file
14382 * buffer.C: added informational message for checking line numbers.
14384 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14386 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14387 paragraph, do the 'double space' part, but not the 'empty
14390 * text.C (workWidth): small optimization
14391 (getLengthMarkerHeight): use minimal size for negative lengths.
14393 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14395 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14397 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14399 2001-12-11 André Pönitz <poenitz@gmx.net>
14402 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14404 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14406 * text2.C: keep selection on a setFont()
14408 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14410 * lyx_cb.C: another bv->text misuse, from insert label
14412 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14415 * kbsequence.C: re-instate nmodifier mask
14417 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14419 * lyx_main.h: make lyxGUI private.
14421 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14423 * lyxfind.C: place the cursor correctly on failed search
14425 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14427 * text.C (getLengthMarkerHeight): for small heights, the arrows
14428 are not always on top/bottom of the text
14429 (drawLengthMarker): smaller arrows; take the left margin in
14430 account; draw also vfills.
14432 (paintLastRow): remove special code for vfill and standard spaces,
14433 since everything is handled in drawLengthMarker now.
14435 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14437 * buffer.C (insertErtContents): try to handle font and language
14438 interaction a bit better.g
14440 * ColorHandler.C (updateColor): change the hash to cover the whole
14441 LColor enum, ws cleanup
14442 (getGCLinepars): ditto
14443 (getGCLinepars): only lookup in the linecache once.
14445 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14447 * iterators.C (operator++): Make the iterator more robust
14449 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14451 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14453 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14456 * text.C: better added space drawing
14458 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14461 * BufferView2.C: fix layout combo update on inset unlock
14463 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14465 * Makefile.am: don't compile unused files
14467 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14471 * LyXAction.C: remove old LFUN_LAYOUTNO
14473 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14475 * paragraph_pimpl.h:
14476 * paragraph_pimpl.C: isTextAt() doesn't need font param
14478 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14481 * lyxlex.C: little cleanup
14483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14485 * BufferView_pimpl.C: fix insertAscii for insets
14487 2001-12-05 Juergen Vigna <jug@sad.it>
14489 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14490 set the right font on the "multi" paragraph paste!
14492 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14498 * lyxlength.C: remove out-commented code.
14500 * BufferView_pimpl:
14514 * vc-backend.C: change "while(" to "while ("
14516 * lyxlength.[Ch]: add zero function to check if length is zero or
14518 * lyxgluelength.C: use it
14520 2001-12-05 Allan Rae <rae@lyx.org>
14522 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14523 Works for 2.95.3, from what I understand of Garst's reports this should
14524 work for other g++ versions. We're screwed if the abs(int) definition
14525 changed between bugfix releases of gcc.
14527 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14529 * text.C: fix chapter label offset !
14531 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14534 * text.C: fix hfill at end of line, clean up
14536 2001-12-04 Juergen Vigna <jug@sad.it>
14538 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14539 that we force an update of the inset and it's owners if neccessary.
14541 2001-12-03 Juergen Vigna <jug@sad.it>
14543 * text.C (rowLast): simplified code
14545 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14547 * lyxfunc.C: fix show options on timeout
14549 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14551 * screen.C (topCursorVisible): scroll half a page when the cursor
14552 reached top of bottom of screen
14554 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14556 * minibuffer.C: deactivate on loss of focus
14558 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14560 * vspace.[Ch] (operator!=): add operator.
14562 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14564 * BufferView_pimpl.C: refuse to open an inset when
14565 there's a selection.
14567 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14569 * BufferView_pimpl.C: allow to click on RHS of full row insets
14571 2001-11-30 Juergen Vigna <jug@sad.it>
14573 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14574 insets for undo reasons.
14576 2001-11-28 André Pönitz <poenitz@gmx.net>
14578 * vspace.[Ch]: cosmetical changes
14580 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14590 * kbsequence.C: part re-write of old kb code
14593 * WorkArea.C: remove Lgb_bug_find_hack
14595 2001-11-30 José Matos <jamatos@fep.up.pt>
14597 * buffer.C (makeDocBookFile): add a comment to point a hack.
14598 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14599 Fixed a double write of labels.
14601 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14604 * LaTeX.h Fixed bug in LaTeX class where it would not
14605 re-run latex if no depfiles were changed, but the .dvi was removed.
14607 2001-11-28 André Pönitz <poenitz@gmx.net>
14609 * all the files from the change on 2001/11/26:
14610 use lyx::layout_type instead of LyXTextClass::size_type
14611 use lyx::textclass_type instead of LyXTextClassList::size_type
14613 2001-11-29 Juergen Vigna <jug@sad.it>
14615 * text.C: added support for paragraph::isFreeSpacing()
14617 * buffer.C: same as above
14619 * paragraph.h: inserted isFreeSpacing() function to enable
14620 FreeSpacing inside InsetERT.
14622 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14623 of the paragraph's in the cut/copy buffer to 0!
14625 * text2.C (removeRow): remove the assert as it can!
14627 * lyxtext.h: added helper function firstRow returning firstrow and
14628 made firstrow private again.
14630 * BufferView2.C (lockInset): don't relock if we're already locked!
14632 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14633 the only paragraph.
14634 (removeRow): added Assert::(firstrow)
14636 * debug.C: forgot to add INSETTEXT here.
14638 2001-11-28 Juergen Vigna <jug@sad.it>
14640 * sp_spell.C (initialize): changed error text to more general
14641 spellchecker command use (not only ispell!)
14643 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14645 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14647 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14649 * vspace.C: initialise lyxgluelength on failure
14651 2001-11-28 Allan Rae <rae@lyx.org>
14653 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14654 declaration & definition that looks like a function declaration.
14656 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14658 * BufferView2.C (copy):
14659 (copyEnvironment): do not clear the selection when doing a copy.
14661 * text.C (paintFirstRow): compilation fix
14663 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14665 * tabular.C (Latex): correct line count when writing latex.
14667 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14669 * paragraph_pimpl.h:
14670 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14673 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14677 * LColor.C: change vfillline->added_space
14679 * text.C: add markers and text for added space
14681 * vspace.C: fix comment
14683 2001-11-28 André Pönitz <poenitz@gmx.net>
14685 * paragraph.C: whitespace changes
14686 * all the other files from the change on 2001/11/26:
14687 change *::pos_type into lyx::pos_type
14689 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14691 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14692 language of the document when inserting error insets.
14694 2001-11-26 André Pönitz <poenitz@gmx.net>
14696 * BufferView_pimpl.[Ch]:
14704 * paragraph_pimpl.[Ch]:
14707 * text2.C: reduce header dependencies, introduce type for positions
14709 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14711 * <various>: change to use Alert.h
14713 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14715 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14716 when encountering an unknown token.
14717 (readLyXformat2): Show an error message if there were unknown tokens.
14719 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14722 * BufferView_pimpl.C:
14726 * text2.C: use par->isInset()
14728 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14730 * paragraph_pimpl.h:
14731 * paragraph_pimpl.C: cleanup
14733 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14735 * text2.C (removeRow):
14736 * text.C (setHeightOfRow): remove useless (and costly) call to
14739 2001-11-20 Allan Rae <rae@lyx.org>
14741 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14742 Now need Inset*::checkInsertChar() to return true for appropriate
14743 cases so that the characters in the minibuffer will actually be
14746 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14748 * text.C: change the order of the includes.
14749 (workWidth): initialize it at once.
14750 (workWidth): make maxw unsigned
14751 (setHeightOfRow): remove unused variable (inset)
14752 (selectSelectedWord): remove unused variable (inset)
14753 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14755 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14757 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14758 server is not running.
14760 (closeConnection): add debug info when server is disabled.
14762 * ColorHandler.C (getGCForeground): send debug message to GUI
14765 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14767 * kbmap.C (bind): modify because return conventions of
14768 kb_sequence::parse have changed.
14770 * kbsequence.C (parse): only ignore spaces and not any stupid
14771 control character. This avoids tests like s[i] <= ' ', which are
14772 guaranteed to fail with 8bit characters and signed chars.
14773 Change return code to string::npos when there have been no error
14774 (0 was a bad idea when error is at first character)
14776 2001-11-14 José Matos <jamatos@fep.up.pt>
14779 * buffer.C (simpleDocBookOnePar): removed unused argument.
14781 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14783 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14784 insets which are part of a word. Paragraph::isLetter takes care of
14785 that now. Use Paragraph::isInset to identify insets.
14786 (selectSelectedWord): do not test for hyphenation break.
14788 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14789 that protected spaces are considered as spaces.
14791 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14794 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14797 * lyxserver.C: fix it. and small cleanup.
14799 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14801 * BufferView_pimpl.C: use inline helpers
14804 * LaTeXFeatures.C: fix typos
14807 * Spacing.C: move spacing_string into class
14809 * ToolbarDefaults.C: move stuff into namespace anon
14811 * layout.h: update enum
14813 * lyxfunc.C: use better debug
14815 * minibuffer.h: fix typo
14819 * WorkArea.C: add and use Debug::WORKAREA
14823 * text2.C: code re-organisation, inline helpers
14825 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14827 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14828 std::vector.empty().
14830 2001-11-09 Allan Rae <rae@lyx.org>
14832 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14833 '\n's after tables. Tabular and ERT inset work now makes this no
14836 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14839 * minibuffer.C: fix crash, improve drop-down completion
14841 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14844 * lyxserver.C: invalidate fd's when doing endPipe()
14846 2001-11-08 José Matos <jamatos@fep.up.pt>
14848 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14849 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14852 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14854 2001-11-07 José Matos <jamatos@fep.up.pt>
14857 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14860 * buffer.C (sgmlOpenTag):
14861 * buffer.C (sgmlCloseTag): removed debug info.
14863 * buffer.h (sgmlOpenTag):
14864 * buffer.h (sgmlCloseTag): made public.
14866 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14868 * buffer.C (saveParamsAsDefaults):
14869 * lyx_cb.C (MenuLayoutSave): remove
14871 * LyXAction.C (init):
14873 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14875 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14877 * buffer.C (setPaperStuff): removed from here...
14879 * bufferparams.C (setPaperStuff): ... and moved there.
14881 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14885 * XFormsView.C: add support for drop-down completion
14887 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14889 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14892 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14894 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14897 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14899 * lyx_main.C: change ref to known bugs
14901 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14903 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14904 to work around older babel problems.
14906 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14908 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14910 2001-10-24 Juergen Vigna <jug@sad.it>
14912 * tabular-old.C (ReadOld): below variable changes reflected.
14914 * tabular.[Ch]: added ltType struct for longtable header/footer
14915 defines and changed all instances where they are used. Added
14916 future support for double top/bottom rows.
14918 2001-10-24 José Matos <jamatos@fep.up.pt>
14920 * buffer.h (docbookHandleCaption):
14921 * buffer.C (docbookHandleCaption): removed unused function.
14922 (makeDocBookFile): moved docbook supported version to v4.1.
14924 2001-10-24 José Matos <jamatos@fep.up.pt>
14927 * tabular.C (docbookRow): new function to export docbook code of a row.
14928 (DocBook): now honors the longtable flags.
14930 2001-10-23 José Matos <jamatos@fep.up.pt>
14933 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14934 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14936 * buffer.C (makeLinuxDocFile):
14937 (makeDocBookFile): reworked the preamble, more clean, and with
14938 support for lyx defined entities. Changed the document declaration
14939 to be more XML friendly.
14941 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14942 if we need to output XML that should be done with a filter.
14944 2001-10-22 Juergen Vigna <jug@sad.it>
14946 * sp_pspell.h (class PSpell): add alive function needed in the
14947 controller to see if the spellchecker could be started.
14949 2001-10-22 Juergen Vigna <jug@sad.it>
14951 * buffer.C (insertStringAsLines): modify the font for inserting
14952 chars in certain conditions by calling checkInsertChar(font).
14954 2001-10-19 Juergen Vigna <jug@sad.it>
14956 * text.C (workWidth): use getRow instead of wrong algorithm.
14957 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14959 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14964 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14966 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14968 * text.C (workWidth): do not search for the exact row when
14969 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14970 optimization for big documents.
14972 2001-10-18 Juergen Vigna <jug@sad.it>
14974 * text.C (workWidth): new function with added Inset * parameter.
14976 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14978 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14980 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14981 change return type of getColumnNearX.
14984 * text.C (changeRegionCase): use uppercase/lowercase instead of
14987 (rightMargin): simplify code by factoring out the uses of
14992 (appendParagraph): use Paragraph::size_type
14994 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14996 * vspace.C (asLatexString): add a missing break
14998 2001-10-15 Herbert Voss <voss@perce.de>
15000 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15002 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15004 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15007 2001-10-10 André Pönitz <poenitz@gmx.net>
15009 * lyxfunc.C: removed greek_kb_flag.
15011 2001-10-10 Herbert Voss <voss@perce.de>
15013 * lyx_main.C: delete global string help_lyxdir.
15015 2001-10-09 Herbert Voss <voss@perce.de>
15017 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15019 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15021 * lyx_main.C: added global string help_lyxdir.
15023 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15025 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15027 * lyxrc.C (set_font_norm_type): support iso8859-4
15029 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15031 * LaTeX.C (deplog): add another regex for MikTeX
15033 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15035 * lyxrc.C (set_font_norm_type): support iso8859-3
15037 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15039 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15041 * LaTeXFeatures.C: remove special case of french and index
15043 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15044 before \begin{document}). This solves several incompatibilities.
15046 2001-10-03 Garst Reese <reese@isn.net>
15048 * lyx_cb.C: change CheckTex error msg.
15050 2001-10-03 José Matos <jamatos@fep.up.pt>
15052 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15054 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15056 * .cvsignore: update
15058 * lyx_main.C (commandLineVersionInfo): use new style version info.
15060 * buffer.C (writeFile):
15062 (makeLinuxDocFile):
15063 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15065 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15067 * version.h: update to use stuff in version.C
15069 * version.C.in: new file. Contains version information determined
15070 at compile time. This is a merging of version.h and
15073 2001-10-03 Juergen Vigna <jug@sad.it>
15075 * BufferView_pimpl.C (update): don't change "dirty" status in
15078 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15080 * WorkArea.C (c-tor): re-position version string slightly.
15082 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15084 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15085 revert to previous code.
15087 WorkArea.[Ch]: (show, destroySplash): methods removed.
15089 WorkArea.C: rework code so that it's an amalgam of the codes before and
15090 after the splash screen was moved to WorkArea.
15092 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * vspace.C (inPixels):
15098 * buffer.C (insertStringAsLines):
15099 (asciiParagraph): fix types to be large enough
15101 * lyxlex_pimpl.h: change member status from short to int
15103 * layout.h: fix type of endlabeltype
15106 * kbsequence.C (parse): change return type to string::size_type
15108 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15111 * Bullet.C (bulletSize):
15112 (bulletEntry): do not use short ints as parameters
15114 * BufferView2.C (insertLyXFile): change a char to an int.
15116 * WorkArea.C (WorkArea): remove unneeded floats in computation
15118 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15120 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15122 * paragraph.C (asString): Do not ignore newline/hfill chars when
15123 copying to the clipboard.
15125 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15127 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15128 after a multi-line inset.
15130 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15132 * paragraph.C (validate): Set NeedLyXFootnoteCode
15134 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15136 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15137 and decrease-error to decrease.
15139 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15141 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15142 it more readable (should be equivalent)
15144 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15146 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15148 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15150 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15151 of a cursor (row, etc.) after a character has been deleted
15152 (deleteEmptyParagraphMechanism): call the method above on _all_
15153 cursors held by the LyXText when a double space has been
15156 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15158 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15160 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15162 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15163 background. Use greyOut() and the new show() methods to toggle between
15164 the foreground and background. Add code to remove the splash after
15165 its initial showing.
15167 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15168 (create_forms): no longer call Dialogs::showSplash.
15170 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * .cvsignore: add version_info.h
15174 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15176 * version_info.h.in: new file
15178 * Makefile.am: add version_info.h.in
15180 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15181 version_info.h instead of VERSION_INFO
15183 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15185 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15186 The ERT inset now returns string().
15188 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15190 * lyxtext.h, text.C (selectNextWord): renamed as
15191 selectNextWordToSpellcheck.
15193 * text.C (selectNextWordToSpellcheck): Modified to not select
15194 words inside an ERT inset.
15196 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15198 * lyx_cb.C (MenuLayoutSave): change a bit the question
15200 * sp_base.h: include <sys/types.h>
15202 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15204 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15206 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15208 * several files: fix typos in user-visible strings
15210 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15212 * text2.C (pasteSelection): do not set the selection, since it
15213 will be cleared later. Actually, the intent was to fix the way the
15214 selection was set, but I figured rmoving the code was just as good.
15216 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15218 * FontLoader.C (available): Check if font is available without
15221 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15223 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15225 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15227 * lyxrc.[Ch]: added display_graphics variable and associated code.
15229 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15231 * bufferparams.C (hasClassDefaults): new method. Returns true if
15232 the buffer parameters correspond to known class defaults
15234 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15236 * XFormsView.C (show): set minimum size to the main window.
15238 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15240 * text2.C (copySelection):
15242 * lyxfind.C (LyXReplace):
15243 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15244 LyXText::selectionAsString.
15246 * paragraph.C (asString): add "label" argument to the second form
15248 * text2.C (selectionAsString): add "label" argument and pass it to
15249 Paragraph::asString.
15251 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15253 * lyx_main.C (commandLineHelp): remove version information
15255 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15257 * lyx_main.C: add -version commandline option
15259 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15261 * paragraph.h: make the optional constructor arg required instead.
15262 some modifications to other files because of this.
15264 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15266 * lyxserver.C (C_LyXComm_callback): make it static
15268 * lyx_main.C (error_handler): make it static
15270 * lyx_gui.C (LyX_XErrHandler): make it static
15272 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15274 * WorkArea.C: make the extern "C" methods static.
15276 * Makefile.am (lyx_LDADD): simplify
15278 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15280 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15281 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15283 * LyXAction.C (init):
15284 * lyxfunc.C (dispatch): associated code removal.
15286 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * lyxfont.h (isSymbolFont): shut off warning
15290 * text.C (setHeightOfRow):
15291 (getVisibleRow): fix crash with empty paragraphs which have a
15294 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15296 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15299 2001-09-04 José Matos <jamatos@fep.up.pt>
15302 * tabular.C (docbook): rename docBook method to docbook.
15304 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15306 * Makefile.am: add dependencies to main.o.
15308 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15310 * FontLoader.C (available): Return false if !lyxrc.use_gui
15312 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15314 * FontInfo.C (query):
15315 * converter.C (view):
15316 * importer.C (Import):
15317 * exporter.C (Export): Can not -> cannot.
15319 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15321 * BufferView_pimpl.C: allow to create index inset even if
15324 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15326 * buffer.C (getLists): replace boost::tie code with an explicit pair
15327 as boost::tie can break some compilers.
15329 * iterators.h: Added a std:: declaration to the return type of
15332 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15334 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15337 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15339 * iterators.[Ch]: New files. Provide paragraph iterators.
15341 * buffer.C (changeLanguage): Use paragraph iterators.
15342 (isMultiLingual): ditto
15344 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15346 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15348 * FontLoader.C: Support for cmr font.
15350 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15352 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15353 (available): New method.
15355 * FontInfo.C (getFontname): Use scalable fonts even when
15356 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15359 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15361 * converter.C (Formats::view): reverted! Incorrect fix.
15363 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15365 * converter.C (Formats::view): only output the -paper option
15366 if the dvi viewer is xdvi, thereby fixing bug #233429.
15368 2001-08-23 Herbert Voss <voss@perce>
15370 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15372 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15374 * Spacing.h (Spacing): Set space to Default on in the default
15377 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15379 * vc-backend.h (RCS::versionString): add RCS to version
15380 (CVS::versionString): add CVS to version
15382 * vc-backend.C (scanMaster): do not add CVS to version.
15383 (scanMaster): do not add RCS to version
15385 * lyxvc.C (versionString): new method
15387 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15389 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15391 * Spacing.C (set): initialize fval
15393 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15395 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15398 2001-08-16 Juergen Vigna <jug@sad.it>
15400 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15402 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15404 * BufferView_pimpl.C:
15407 * text2.C: setParagraph takes linespacing now
15409 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15411 * LyxAction.C: add internal LFUN_CITATION_INSERT
15413 * LyXView.C: actually apply fix
15415 * bufferlist.C: fix open non-existent file
15417 * lyxfind.C: fix indentation
15419 * lyxfunc.C: remove unneeded assert, fix typo
15421 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15423 * MenuBackend.C: use "Floatname List"
15425 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15427 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15428 when converting LaTeX layout to insetERT.
15429 Generate a non-collapsed float when reading old float
15431 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15433 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15436 2001-08-13 Juergen Vigna <jug@sad.it>
15438 * text.C (fill): return 0 instead of 20 as this seems to be the more
15441 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15443 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15446 2001-08-13 Juergen Vigna <jug@sad.it>
15448 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15450 (SearchBackward): comment out the unlocking of the inset_owner this
15451 should not be needed!
15453 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15455 * Many files: Remove inherit_language, and add latex_language
15457 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15458 collapsible insets.
15460 2001-08-10 Juergen Vigna <jug@sad.it>
15462 * text.C (prepareToPrint): fixed hfill-width in draw!
15464 * BufferView2.C (selectLastWord): save the selection cursor as this
15465 now is cleared in the function LyXText::clearSelection!
15467 2001-08-08 Juergen Vigna <jug@sad.it>
15469 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15470 BACKSPACE type functions.
15472 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15473 is only cutted from the document but not put in the cut-buffer, where
15474 still the old stuff should be.
15476 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15478 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15480 * tabular.C (SetWidthOfCell): fixed special case where the width
15482 (LeftLine): handle '|' in align_special.
15484 (LeftAlreadyDrawed): ditto
15485 (SetWidthOfCell): ditto
15487 2001-08-07 Juergen Vigna <jug@sad.it>
15489 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15491 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15493 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15494 * lyxlex.[hC]: ditto
15496 2001-08-06 Juergen Vigna <jug@sad.it>
15498 * text.C (getVisibleRow): fix up row clearing a bit.
15500 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15502 * minibuffer.C: make sure the X server sees the changes in the input.
15504 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15506 * paragraph.C (getFont): split into...
15507 (getLabelFont): this
15508 (getLayoutFont): and this
15509 * paragraph_pimpl.C (realizeFont): calling this
15511 * text2.C (getFont): split into...
15512 (getLayoutFont): this
15513 (getLabelFont): and this
15514 (realizeFont): all three calling this
15516 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15519 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15521 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15523 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15525 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15526 layouts from the Quote inset insertion.
15528 2001-08-03 Juergen Vigna <jug@sad.it>
15530 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15532 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15533 only if status not is already CHANGED_IN_DRAW (second level).
15535 * text.C (draw): don't set the need_break_row when inside an
15538 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15540 * buffer.C (parseSingleLyXformat2Token): handle more latex
15543 * bufferview_funcs.[hC]: change function names to
15544 begin with small char, adjust other files.
15546 2001-08-02 André Pönitz <poenitz@gmx.net>
15549 BufferView_pimpl.C: remove broken special code for math-greek
15551 2001-08-02 Juergen Vigna <jug@sad.it>
15553 * BufferView_pimpl.C (update): redone this function so that we
15554 update the text again if there was a CHANGE_IN_DRAW.
15556 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15557 (drawFromTo): added a new internal bool which is used by draw() and
15559 (general): some cursor drawing problems fixed.
15561 2001-08-01 Juergen Vigna <jug@sad.it>
15563 * lyxfind.C (LyXFind): fixed
15564 (SearchForward): ditto
15565 (SearchBackward): ditto
15567 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15568 spurius drawing of the cursor in the main area.
15570 * text2.C (status): small fix which could lead to a segfault!
15571 (clearSelection): remove unneeded BufferView param.
15573 2001-08-01 André Pönitz <poenitz@gmx.net>
15575 * lyxfunc.C: small change due to changed mathed interface
15577 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15579 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15581 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15583 * lyxfunc.c: fail gracefully if file doesn't exist
15588 * BufferView_pimpl.C: IsDirWriteable() proto changed
15590 * LyXView.C: fix updateWindowTitle() to store the last title
15592 2001-07-31 Juergen Vigna <jug@sad.it>
15594 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15595 the font (wrong since using of Paragraph::highestFontInRange).
15597 * paragraph.C (highestFontInRange): added a default_size parameter.
15599 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15600 (setHeightOfRow): reformat
15602 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15604 * converter.[hC] + affected files: move to (inital-char)lowercase
15607 * ParagraphParameters.C (ParagraphParameters): remove commented code
15609 * PainterBase.[Ch]: remove commented code
15611 * LaTeXFeatures.h: add "bool floats" for float.sty
15613 * LaTeXFeatures.C (LaTeXFeatures): init floats
15614 (require): handle float
15615 (getPackages): do it with floats
15617 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15619 * BufferView_pimpl.C (Dispatch): improve handling of
15620 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15622 * commandtags.h: #include lyxfont.h here temporarily to avoid
15625 * bufferlist.h: include LString.h here.
15627 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15629 * text2.C (getStringToIndex): new method.
15631 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15633 * *: Reduced header file dependencies all over.
15635 2001-07-30 Baruch Even <baruch@lyx.org>
15637 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15639 2001-07-29 Baruch Even <baruch@lyx.org>
15641 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15643 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15645 * ParameterStruct.h (endif): add a default constructor to make
15646 sure that all variables is initialized.
15648 * ParagraphParameters.C (ParagraphParameters): adjust
15650 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15652 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15653 index; also, check that there is something to index, and that it
15654 does not span over several paragraphs.
15655 (doubleClick): use WHOLE_WORD_STRICT for double click.
15657 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15659 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15662 2001-07-26 Baruch Even <baruch@lyx.org>
15664 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15665 an InsetFig figure, backwards compatible reading of old figure code.
15667 2001-07-27 Juergen Vigna <jug@sad.it>
15669 * text2.C: font.realize function adaption.
15671 * text.C (draw): add a warnings lyxerr text if needed.
15673 * layout.C: font.realize function adaption.
15675 * language.C: add inherit_language and implement it's handlings
15677 * bufferview_funcs.C (StyleReset): remove language parameter from
15678 font creation (should be language_inherit now).
15680 * bufferparams.C (writeFile): handle ignore_language.
15682 * paragraph.C (getFontSettings): the language has to be resolved
15683 otherwise we have problems in LyXFont!
15685 * lyxfont.C (lyxWriteChanges): added document_language parameter
15686 (update): removed unneeded language parameter
15688 * paragraph.C (validate): fixed wrong output of color-package when
15689 using interface colors for certain fonts in certain environments,
15690 which should not seen as that on the final output.
15692 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15694 * BufferView_pimpl.C:
15699 * LyXAction.C: add thesaurus support
15702 * lyxfind.C: add "once" parameter, for thesaurus, to not
15703 move to the next match
15705 2001-07-26 Juergen Vigna <jug@sad.it>
15707 * lyxfont.C (realize): honor ignore_language too!
15710 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15712 * text.C (draw): one place more for ignore_language to not draw
15715 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15717 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15719 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15721 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15722 the minipage conversion problem.
15724 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15726 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15729 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15731 * BufferView.h: don't forward declare WorkArea
15733 * BufferView.C: don't include WorkArea.h
15735 2001-07-25 André Pönitz <poenitz@gmx.net>
15739 * lyxfunc.C: new LFUN 'math-space'
15741 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15743 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15745 * text2.C (toggleInset): call open/close
15747 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15749 * lyxfunc.C (dispatch): add debug for the disabled case
15751 * font.C (buttonText): make similar to rectText
15753 * buffer.C (readInset): comment out parsing of insetlist and
15756 * PainterBase.C (rectText): small correction
15758 * BufferView_pimpl.C: comment out insettheorem and insetlist
15759 * LyXAction.C: ditto
15760 * commandtags.h: ditto
15762 2001-07-24 Juergen Vigna <jug@sad.it>
15764 * text.C (draw): honor the ignore_language.
15766 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15768 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15770 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15773 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15775 * lyxtext.h: remove unused (and unimplemented) methods
15777 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15779 * text.C (getVisibleRow): honor background color
15782 * Painter.h: remove default color argument for fillRectangle
15784 * text.C (backgroundColor): new method
15786 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15788 * text.C (getVisibleRow): adjust
15790 * font.[Ch] (rectText): new method, metrics
15791 (buttonText): new method, metrics
15793 * PainterBase.[hC]: make rectText and buttonText always draw and take
15796 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15798 * ToolbarDefaults.C (read):
15799 * MenuBackend.C (read): allow escaping in all strings
15801 * BufferView_pimpl.C (insertAndEditInset): new method.
15802 (Dispatch): use insertAndEditInset whenever appropriate.
15804 * BufferView_pimpl.C (insertNote): removed
15806 * BufferView_pimpl.C (smartQuote): new method, moved from
15807 BufferView; if an insetquote cannot be inserted, insert a '"'
15810 * BufferView2.C: remove insertCorrectQuote();
15812 * lyxfunc.C (getStatus): Add support for all remaingin
15813 inset-insert lfuns.
15815 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15817 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15818 command (necessary to pass " as parameter of self-insert.
15820 * text.C (selectWordWhenUnderCursor):
15821 (selectWord): add word_location parameter
15822 (selectWordWhenUnderCursor): same + remove special code for word
15824 (selectNextWord): use kind() to guess type of insetspecialchar,
15827 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15828 (insertErtContents): create ert insets as collapsed.
15829 (readInset): better compatibility code for Info inset.
15831 2001-07-20 Juergen Vigna <jug@sad.it>
15833 * lyxfunc.C (dispatch): use always LyXFind now!
15835 * text2.C (init): add a reinit flag so that the LyXText can be
15836 reinited instead of deleted and reallocated (used in InsetText).
15838 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15844 2001-07-18 Juergen Vigna <jug@sad.it>
15846 * text.C (selectNextWord): handle insets inside inset by calling
15847 always the bv->text functions so that we can go up the_locking_inset!
15849 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15850 in strange locations when inside an inset!
15852 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15853 handling to include insets.
15855 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15857 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15859 * LyXAction.C (init):
15861 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15862 LIGATURE_BREAK, since the name is so stupid.
15864 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15866 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15869 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15871 * sp_form.[Ch]: remove.
15873 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15875 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15878 * src/buffer.C (readInset): ditto.
15880 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15882 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15883 menuSeparator(), endOfSentenceDot(), ldots() and
15884 hyphenationPoint(), which are therefore removed.
15885 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15887 * LyXAction.C (init):
15888 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15890 * paragraph.C (getWord): removed.
15892 * BufferView_pimpl.C (Dispatch): use last word or selection for
15893 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15895 * lyx_main.C (queryUserLyXDir): do not ask before creating
15896 user_dir, except if it has been named explicitely.
15898 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15900 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15901 a document of zero size.
15903 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15905 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15906 approriately in the c-tor and in require().
15907 (getPackages): output the appropriate LaTeX for natbib support.
15909 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15910 variables "use_natbib" and "use_numerical_citations" when reading the
15912 (readInset): read the various natbib cite commands.
15913 (validate): white-space change.
15915 * bufferparams.[Ch]: new variables "bool use_natbib" and
15916 "bool use_numerical_citations".
15917 (writeFile): output them in the LyX file.
15919 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15921 * lyxfunc.C (getStatus): add support for all the inset insertion
15924 * text2.C (insertInset):
15925 * paragraph.C (insetAllowed):
15926 * BufferView_pimpl.C (insertInset): update to take in account the
15927 renaming of insertInsetAllowed
15929 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15931 * text2.C (getInset): new method. returns inset at cursor position.
15933 * BufferView_pimpl.C (Dispatch): changes because of this.
15935 * LyXAction.C (init): rename open-stuff to inset-toggle.
15937 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15939 * text2.C (toggleInset): renamed from openStuff; use
15942 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15944 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15946 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15948 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15950 * buffer.C (readLyXformat2): Add filename to the error dialog
15952 2001-07-18 Juergen Vigna <jug@sad.it>
15954 * tabular.C (GetCellNumber): put an assert here instead of the check!
15956 2001-07-17 Juergen Vigna <jug@sad.it>
15958 * BufferView_pimpl.C (toggleSelection): adapted too.
15960 * text.C (selectNextWord): adapted for use with insets.
15961 (selectSelectedWord): ditto
15963 2001-07-17 Juergen Vigna <jug@sad.it>
15965 * sp_spell.C (PSpell): fix initialitation order.
15967 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15969 * paragraph.C: spacing
15971 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15973 * sp_spell.C: repair language selection for pspell
15975 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15977 * lyxfunc.h: change more methods to begin with lower char.
15979 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15981 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15982 for unknown layouts.
15984 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15986 * buffer.C (readLyXformat2): Generate an error dialog if there are
15989 2001-07-16 Juergen Vigna <jug@sad.it>
15991 * sp_spell.C: always compile ISpell part.
15993 * lyxrc.C: added use_pspell entry and it's handling.
15995 2001-07-13 Juergen Vigna <jug@sad.it>
15997 * sp_spell.C: removed double includes.
15999 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16001 Consistent use of Lsstream.h:
16002 * Lsstream.h: added using std::stringstream for consistencies sake.
16004 * buffer.C: removed using std::stringstream
16006 * lyxfont.C (stateText):
16007 * paragraph.C (asString):
16008 * text.C (selectNextWord, selectSelectedWord):
16009 * text2.C (setCounter):
16010 * vspace.C (asString, asLatexString):
16011 std::ostringstream -> ostringstream.
16013 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16015 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16016 * commandtags.h: add LFUN_HELP_ABOUTLYX
16017 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16019 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16021 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16023 * lyx_gui_misc.C: remove spellchecker
16024 * lyxfunc.C: showSpellchecker
16026 * sp_ispell.h: added
16027 * sp_pspell.h: added
16028 * sp_spell.C: added
16029 * sp_form.[Ch]: removed
16030 * spellchecker.[Ch]: removed
16032 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16034 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16036 (simpleTeXSpecialChars): Simply print the input character without
16037 any special translation if pass_thru is set.
16039 * layout.h: Added bool pass_thru to layout class for being able to
16040 implement pass through of a paragraph for Literate Programming.
16042 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16043 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16044 * layout.C (Read): add "passthru" to list of layout tags and add
16045 code to set the pass_thru boolean when it is read.
16047 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16049 * trans_decl.h: remove allowed from KmodInfo
16051 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16052 remove allowed code
16055 * paragraph_pimpl.C (erase): use boost::prior
16057 * Painter.C (text): use data() instead of c_str() when length is
16059 * WorkArea.C (putClipboard): ditto
16060 * font.h (width): ditto
16062 * BufferView2.C: use it-> instead of (*it). for iterators
16064 * paragraph_pimpl.C: ditto
16065 * paragraph.C: ditto
16066 * minibuffer.C: ditto
16067 * language.C: ditto
16069 * encoding.C: ditto
16070 * counters.C: ditto
16071 * converter.C: ditto
16073 * Variables.C: ditto
16074 * TextCache.C: ditto
16075 * MenuBackend.C: ditto
16076 * LyXAction.C: ditto
16078 * FloatList.C: ditto
16079 * DepTable.C: ditto
16080 * ColorHandler.C (LyXColorHandler): ditto
16082 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16084 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16086 * text2.C (openStuff): reintroduce this method (which had been
16087 nuked in NEW_INSETS frenzy).
16089 * lyxfunc.C (Dispatch): when an action has not been handled, use
16090 its name in the error message, not its number.
16092 * paragraph.C (inInset): change method name to begin with lowercase.
16095 * text2.C: updates because of this.
16097 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16099 * ToolbarDefaults.C (add): add spaces in error message
16101 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16103 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16104 (readLyXformat2): rename return_par to first_par, use lyxlex's
16105 pushToken and remove the manual push handling.
16106 (parseSingleLyXformat2Token): add another ert comp. variable:
16107 in_tabular, rename return_par to first_par. handle newlines better
16109 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16111 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16113 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16115 * text2.C (getParFromID): removed
16117 * buffer.C (getParFromID): new method moved form lyxtext.
16118 * BufferView2.C (insertErrors): adjust
16119 (setCursorFromRow): adjust
16120 * BufferView_pimpl.C (restorePosition): adjust
16121 * lyxfunc.C (Dispatch): adjust
16122 * undo_funcs.C (textUndo): adjust
16124 (textHandleUndo): adjust
16125 (textHandleUndo): adjust
16127 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16129 * buffer.C: up' the LYX_FORMAT
16131 * lyxfont.h: turn NO_LATEX on as default
16133 * buffer.C (insertErtContents): new methods of tex style compability.
16134 (parseSingleLyXformat2Token): use it several places.
16135 * tabular.C (OldFormatRead): and here
16137 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16139 * text2.C: remove some commented code.
16142 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16143 * trans.C: changes because of the above.
16145 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16147 * text2.C (setCounter): Fix counters bug with bibliography layout.
16149 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16151 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16152 own member functions
16153 (simpleTeXSpecialChars): ditto
16155 2001-07-06 Juergen Vigna <jug@sad.it>
16157 * a lot of files: changed the access to LyXText::status and the
16158 call of undo-functions.
16160 * undo.[Ch]: added a inset_id to the undo informations.
16162 * undo_funcs.[Ch]: added and moved here all undo functions.
16164 * lyxtext.h: give the status enum a weight, made status_ a private
16165 variable and made accessor functions for it, removed the whole bunch
16166 of undo-functions as they are now in their own file, make some
16167 functions publically available. Added function ownerParagraph with
16170 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16171 made InInset() a const function, added getParFromID() function.
16173 * buffer.[Ch]: added const version for inset_iterator functions,
16174 added getInsetFromID() function.
16176 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16177 changed undo functions for new version.
16179 2001-07-05 Juergen Vigna <jug@sad.it>
16181 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16182 unknow mechanism does not call the proper constructor but only this
16183 one also if I request the other!?
16185 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16187 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16189 * text2.C (LyXText): use initialization lists.
16191 * lyxtext.h (Selection): initialize set_ and mark_
16192 (init): remove method
16194 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16196 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16198 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16200 * screen.[Ch]: change method names to begin with lowercase
16202 * BufferView_pimpl.C (updateScrollbar): simplify further and
16203 hopefully make it a bit faster.
16205 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16207 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16208 calling directly xforms functions.
16210 * Painter.C (Painter):
16211 * lyx_cb.C (MenuWrite):
16212 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16215 * lyx_gui.C: remove bogus guiruntime extern declaration.
16217 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16219 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16221 (redoDrawingOfParagraph): ditto
16222 (redoParagraphs): ditto
16223 (cutSelection): don't create a object for CutAndPaste use the
16224 static method directly
16225 (pasteSelection): ditto
16227 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16230 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16232 * modifications to some other files because of this.
16234 * Makefile.am (lyx_SOURCES): add XFormsView
16236 * XFormsView.[Ch]: new files
16238 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16239 the main window. Move the gui dependent stuff to XFormsView
16241 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16243 * tabular.C (GetCellInset): update cur_cell also in the row/col
16244 version of this function.
16246 * lyxfunc.C: no need to include figure_form.h here.
16252 * lyxvc.C: no need to include forms.h here.
16254 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16256 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16258 * lyxfunc.C (Dispatch):
16260 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16261 constructor argument.
16263 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16265 * paragraph.C (Paragraph): dont't clear, and just set layout.
16266 (makeSameLayout): use params's copy contructor.
16268 * ParagraphParameters.[Ch] (makeSame): delete method
16270 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16272 * Variables.[Ch]: fix indentation, rename set to isSet
16274 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16276 * lyxfunc.C (Dispatch): fix typo
16278 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16280 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16283 * bufferlist.C: include assert.h for emergencyWrite().
16285 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16287 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16288 give up at last (bug #425202) !
16290 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16296 * spellchecker.C: strip spellchecker options and bring up
16297 preferences tab instead
16299 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16301 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16302 the istringstream constructor
16304 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16306 * paragraph.C (getLayout): fix return value
16308 * paragraph.h: do not declare getLayout as inline.
16310 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16312 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16314 * lyxcursor.h (operator<): new func
16315 (operator>): new func
16316 (operator>=): new func
16317 (operator<=): new func
16319 * text.C (changeCase): use selection.start and selection.end
16320 (changeRegionCase): require from to be <= to. Require par to be a
16323 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16325 2001-06-27 Juergen Vigna <jug@sad.it>
16327 * text.C (cursorLeftOneWord): changed to return the cursor and added
16328 overlay with BufferView * parameter which calls this one.
16330 (selectWord): use new getWord function.
16331 (changeCase): renamed from changeWordCase as and extended to work
16332 also on selections.
16334 * lyxtext.h: added enum word_location
16336 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16337 changeCase as this operates now also on selections.
16339 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16341 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16343 * many files: send debug output to Debug::INFO instead of
16346 * converter.C (View):
16348 (Move): send debug output to Debug::FILES instead of console.
16350 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16352 * lyxfunc.C (getStatus): use func_status
16354 * func_status.h: new header, describing the results of
16355 LyXFunc::getStatus;
16357 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16360 2001-06-25 The LyX Project <jug@sad.it>
16362 * buffer.C (sgmlOpenTag):
16364 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16366 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16368 * text2.C: remove some dead code
16370 * tabular.C (GetCellInset): store the last cell checked (gotten)
16372 * tabular.h: add the helper for the speedup
16374 * lyxtext.h: remove some dead code
16376 2001-06-26 The LyX Project <Asger>
16378 * paragraph.C: Change export to LaTeX of alignment to
16379 \begin{center} and family for better roundtrip work with reLyX.
16381 * Tune the math drawing a bit.
16383 2001-06-25 The LyX Project <Asger>
16385 * LColor.C (LColor): New color for math background. New color
16388 2001-06-25 The LyX Project <jug@sad.it>
16390 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16392 * lyxfunc.C (Open):
16393 * bufferlist.C (newFile): do not restrict to files ending with
16396 * BufferView_pimpl.C (MenuInsertLyXFile):
16398 2001-06-24 The LyX Project <jug@sad.it>
16400 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16403 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16405 * lyxtext.h: rename most methods to begin with a small char.
16406 Lots of changes because of this.
16408 * paragraph.C (Paragraph): do not call fitToSize
16409 (erase): call Pimpl::erase
16410 (insertChar): call Pimpl::insertChar
16411 (insertInset): call Pipl::insertInset
16412 (breakParagraph): do not call fitToSize
16413 (breakParagraphConservative): do not call fitToSize
16414 (fitToSize): remove method
16416 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16418 2001-06-24 The LyX Project <Asger>
16420 * Fix Qt compilation^2
16422 2001-06-24 The LyX Project <jug@sad.it>
16424 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16425 depthHook(getDepth()-1).
16428 * ParagraphParameters.h:
16429 * ParameterStruct.h: change type of depth to unsigned int ==
16430 depth_type. Many adaptations to other files before of that.
16432 2001-06-24 The LyX Project <Asger>
16434 * Fix Qt compilation.
16436 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16438 * paragraph.h: renamed several methods to begin with small letter.
16439 several changes to many parts of the code because of this.
16441 2001-06-23 The LyX Project <jug@sad.it>
16443 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16444 rewritten to discard all double spaces when KeepEmpty is off
16445 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16446 to only handle newlines but not fiddle with spaces and friends.
16448 * lyxfunc.C (MenuNew): when doing 'new from template', use
16449 template_path as default directory
16451 2001-06-23 The LyX Project <Asger>
16453 * Clean-up of header file includes all over
16454 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16456 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16458 * paragraph.h: renamed from lyxparagraph.h
16460 2001-06-23 Asger <lyx@violet.home.sad.it>
16462 * Buffer.h: Removed Buffer::resize
16463 * BufferList.h: Removed BufferList::resize
16464 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16465 the document lazily when we change the width, or the font settings.
16467 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16469 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16471 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16473 * buffer.h: remove out of date comment
16475 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16478 * screen.C: fix "theoretical" GC leak
16480 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16482 * LaTeX.C (scanAuxFile):
16483 (deplog): remove trailing \r when reading stream (useful under
16486 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16488 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16489 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16490 and BufferView::theLockingInset(Inset*), so should use them and not
16491 access bv_->text->the_locking_inset directly.
16493 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16495 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16498 * tex-defs.h: remove old unused file
16500 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16502 * BufferView_pimpl.C: fix typo, remove minibuffer message
16503 when buffer has loaded
16505 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16507 * lyxfunc.C (Dispatch): use stringstream
16508 (MenuNew): use stringstream
16509 (Open): use stringstream
16511 * importer.C (Import): use stringstream
16513 * bufferview_funcs.C (CurrentState): use stringstream
16515 * LaTeX.C (run): use stringstream
16517 * BufferView_pimpl.C (savePosition): use stringstream
16518 (restorePosition): use stringstream
16519 (MenuInsertLyXFile): use stringstream
16521 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16534 * vspace.C: removed // -*- C++ -*- as first line.
16537 * version.h: added // -*- C++ -*- as first line.
16539 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16541 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16543 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16546 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16548 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16551 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16553 * gettext.C: include LString.h even when --disable-nls is on.
16555 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16557 * converter.h (Get): changed argument type from int to
16558 FormatList::size_type to avoid unnecessary conversion.
16560 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16563 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16565 * gettext.h: include LString.h even when --disable-nls is on.
16567 2001-06-07 Juergen Vigna <jug@sad.it>
16569 * text.C (BreakAgain): subst spaces with tabs.
16571 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16572 (resizeInsetsLyXText): set force on resizeLyXText.
16574 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16576 * gettext.h (gettext_init):
16577 (locale_init): use a real definition instead of a macro
16579 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16581 * Bufferview_pimpl.C:
16583 * LColor.C: further lcolor tidies
16585 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16587 * BufferView_pimpl.C (updateScrollbar): simplify.
16589 * BufferView2.C: don't include insets/insetinfo.h, change
16590 prototype for insertInset and call the Pimpl version. let
16591 updateInset call Pimpl version.
16593 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16594 gotoInset to BufferView::Pimpl
16596 2001-06-01 Juergen Vigna <jug@sad.it>
16598 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16599 inside a LockingInset (is the update needed at all?).
16601 2001-05-31 Juergen Vigna <jug@sad.it>
16603 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16604 here not the old one otherwise how should we compare it afterwards
16607 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16612 * FontInfo.C: bring C functions into global namespace when
16615 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16617 * LString.h: make sure config.h has been loaded before LString.h.
16619 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16620 (one for each char read by EatLine!).
16622 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16625 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16627 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16628 to the same as the par we break from
16630 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16632 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16634 * MenuBackend.C (expand): also create menu entries for wide
16635 versions of the floats.
16637 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16639 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16641 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16642 frontends/Makefile.am
16648 * tabular.C (getTokenValue): add std::
16650 * tabular-old.C (getTokenValue): add std::
16651 (getTokenValue): ditto
16652 (getTokenValue): ditto
16654 * screen.C (ToggleSelection): adjust
16656 * lyxtext.h: put selection cursors inside a Selection struct.
16658 * lyxfunc.C (moveCursorUpdate): adjust
16660 * lyxfont.C (latexWriteStartChanges): add std::
16662 * lyxfind.C: adjust
16664 * font.h: delete with(char const *, LyXFont const &)
16666 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16668 * FontInfo.C (getFontname): add std::
16670 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16671 (workAreaButtonPress): adjust
16672 (tripleClick): adjust
16674 (moveCursorUpdate): adjust
16677 * BufferView2.C (gotoInset): adjust
16679 2001-05-30 Juergen Vigna <jug@sad.it>
16681 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16682 to check pspell I add this as default as I now have new pspell
16683 libraries and they seem to use this.
16685 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16687 * text2.C (CutSelection): make the cursor valid before the call to
16690 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16692 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16693 relied on 0 terminated strings and other horrors. Bug found due to
16694 the new assert in lyxstring!
16696 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16699 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16701 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16704 * lyxfunc.C (processKeySym): change method of getting to the
16707 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16708 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16709 * BufferView_pimpl.[Ch]: here as private methods.
16711 2001-05-28 Juergen Vigna <jug@sad.it>
16713 * text.C (SetHeightOfRow): added the update() call again as it is
16714 needed to initialize inset dimensions!
16716 2001-05-16 Juergen Vigna <jug@sad.it>
16718 * text2.C (SetCharFont): Add new function with BufferView * and
16719 bool toggleall parameters for setting insets internal fonts.
16720 (SetFont): Freeze the undo as we may change fonts in Insets and
16721 all this change should be inside only one Undo!
16723 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16724 setting font's in insets as for them we have the SetFont function!
16726 2001-05-15 Juergen Vigna <jug@sad.it>
16728 * text2.C (ClearSelection): to be sure we REALLY don't have any
16731 * tabular.C (TeXCellPreamble): fixed the left border problem for
16734 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16736 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16739 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16741 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16742 LFUN_BREAKPARAGRAPH.
16744 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16745 help test to "internal only", similar for LFUN_INSERT_URL
16747 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16748 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16749 auto_region_delete and deadkeys.
16751 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16754 * LColor.C: remove some dead entries, tidy a little
16756 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16758 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16760 (Dispatch): implement LFUN_ESCAPE
16762 * commandtags.h: add LFUN_ESCAPE
16764 * LyXAction.C (init): add entry for LFUN_ESCAPE
16766 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16767 Remove commented code.
16768 (insertNote): moved here
16769 (open_new_inset): moved here
16771 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16774 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16776 * kbmap.C (findbinding): clean it up and make it work correctly.
16778 * lyx_main.C (init): do not pass argc and argv as parameters
16780 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16782 * buffer.C: fix path for OS/2 & Win32
16786 * lyx_main.C: Added os:: class.
16788 * os2_defines.h: update
16790 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16792 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16793 better by trying again with reduced state.
16795 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16797 * lyxrc.C (read): print error about invalid key sequence only when
16798 debugging (because not all latinX keysyms are known to some X
16801 * kbsequence.C (getiso): add a few std:: qualifiers
16802 (getiso): comment out extra return statement.
16804 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16806 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16808 (Dispatch): enhance the accent inset a bit. (not perfect)
16810 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16812 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16814 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16816 * bufferlist.C (emergencyWrite): fix assert() call
16818 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16820 * text.C (InsertChar): Added trivial patch to only send the "you
16821 can not do multiple spaces this way" message once during a
16824 2001-05-08 Baruch Even <baruch@lyx.org>
16826 * Makefile.am: Changed order of libraries to get LyX to link properly
16827 with the gnome frontend.
16829 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * LaTeXFeatures.h: add a std:: qualifier
16833 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16835 * paragraph.C (String): use stringstream
16837 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16839 * paragraph.C (writeFile): remove footflag arg
16841 * buffer.C (makeLaTeXFile): use stringstream
16842 (latexParagraphs): remove footnot gurba
16844 * LaTeXFeatures.C (getPackages): use stringstream
16845 (getMacros): likewise
16846 (getTClassPreamble): likewise
16847 (getFloatDefinitions): new method
16849 * paragraph.C (writeFile): reindent
16852 * WorkArea.h: revert the xpos + etc changes.
16854 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16856 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16858 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16859 (pasteSelection): likewise
16860 * text2.C (CreateUndo): likewise
16862 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16864 * minibuffer.C (peek_event): temporarily reduce the functionality
16865 of the minibuffer (to allow args on lfuns)
16867 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16868 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16870 * buffer.C (readInset): add compability reading of old float
16871 lists, add reading of new style float list.
16872 (readInset): avoid reevaluation of inscmd.getCmdName()
16873 (getLists): reindent
16875 * MenuBackend.C (MenuItem): implement parsing of
16876 md_floatlistinsert and md_floatinsert.
16877 (expand::LastFiles): move initalizaton of iterators out of loop,
16878 avoid reevaluation.
16879 (expand::Documents): introduce typdedef vector<string> Strings,
16881 (expand::ExportFormats): introduce typedef vector<Format const *>
16882 Formats, and use it.
16883 (expand): implement FloatListInsert and FloatInsert.
16885 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16886 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16887 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16889 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16891 (Dispatch::LFUN_FLOAT_LIST): implement
16893 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16895 * LaTeX.C (run): Fix problem with --export code.
16897 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16899 * BufferView.[Ch] (workarea): removed.
16900 (getClipboard) new method; wrapper for workarea()->getClipboard()
16902 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16905 * WorkArea.h (width, height, xpos, ypos): These methods all
16906 returned the dimensions of the work_area sub-area of WorkArea,
16907 resulting in a position error if the WorkArea were resized. Now
16908 return the dimensions of the entire WorkArea.
16910 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16912 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16914 * LaTeX.C (deplog): correct the syntax of regex reg1
16916 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16918 * undo.C: remove !NEW_INSETS cruft
16920 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16922 * text2.C: remove !NEW_INSETS cruft
16924 * text.C: remove !NEW_INSETS cruft
16926 * tabular.C: remove !NEW_INSETS cruft
16928 * spellchecker.C: remove !NEW_INSETS cruft
16930 * lyxtext.h: remove !NEW_INSETS cruft
16932 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16934 * lyxfunc.C: remove !NEW_INSETS cruft
16936 * lyxfind.C: remove !NEW_INSETS cruft
16938 * lyx_cb.C: remove !NEW_INSETS cruft
16940 * figureForm.C: remove !NEW_INSETS cruft
16942 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16944 * buffer.[Ch]: remove !NEW_INSETS cruft
16946 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16948 * CutAndPaste.C: remove !NEW_INSETS cruft
16950 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16952 * BufferView2.C: remove !NEW_INSETS cruft
16954 * BufferView.h: remove !NEW_INSETS cruft
16956 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16958 * Lsstream.h: include LString.h before the sstream headers to
16959 fix problem with gcc 2.95.3 and lyxstring
16961 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16963 * lyx_main.C: add using directives when needed for C functions
16964 declared in std:: namespace.
16966 2001-04-27 Juergen Vigna <jug@sad.it>
16968 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16969 (SetHeightOfRow): comment out the update call should not be needed!
16971 2001-04-13 Juergen Vigna <jug@sad.it>
16973 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16974 (LyXTabular): tried to minimize operator= operations (and realized
16975 hopfully Lars wish).
16977 2001-04-27 Juergen Vigna <jug@sad.it>
16979 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16981 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16983 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16985 * buffer.C (readInset): hack to make listof algorithm work
16987 * BufferView_pimpl.C: hack to make listof algorithm work
16989 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16991 * LyXAction.C: removed all !NEW_INSETS cruft
16992 (init): moved lfun_item in method
16994 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16996 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16998 * BufferView2.C (theLockingInset): white space.
17000 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17002 * minibuffer.C: include <iostream>
17004 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17006 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17008 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17010 * text.[Ch] (TransposeChars): new method
17012 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17014 * call message directly through LyXView instead of through LyXFunc
17015 * BufferView2.C: adjust
17016 * BufferView_pimpl.C: adjust
17017 * FontLoader.C: adjust
17019 * bufferview_funcs.C: adjust
17020 * converter.C: adjust
17021 * figureForm.C: adjust
17022 * importer.C: adjust
17024 * lyx_gui_misc.C: adjust
17025 * lyxfunc.C: adjust
17028 + more files in subdirs
17030 * lyxparagraph.h (size): move up int file
17033 * adjust all uses of Assert to lyx::Assert.
17035 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17036 lyxfunctional in namespace lyx
17037 * layout.C (hasLayout): ditto
17040 (delete_layout): ditto
17041 (NumberOfClass): ditto
17042 * converter.C (GetFormat): ditto
17047 * bufferlist.C (getFileNames): ditto
17048 (emergencyWriteAll): ditto
17051 * MenuBackend.C (hasSubmenu): ditto
17054 * BufferView_pimpl.C (getInsetByCode): ditto
17056 2001-04-18 Juergen Vigna <jug@sad.it>
17058 * vspace.C (asLatexString): fixed the 100% problem.
17060 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17062 * lyxfunc.C (Dispatch):
17064 * minibuffer.h: add a few std:: qualifiers
17066 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17068 * minibuffer.[Ch]: reimplement so that commands is initiated and
17069 run from lyxfunc, simplified som handling, and made the completion
17070 and history code for complete. wip.
17072 * lyxfunc.C (processKeySym): call message
17073 (miniDispatch): new temporary method
17074 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17075 (LFUN_MESSAGE): implement
17076 (LFUN_MESSAGE_PUSH): implement
17077 (LFUN_MESSAGE_POP): implement
17078 (initMiniBuffer): the initial/defualt minibuffer message.
17080 * lyxfont.[Ch]: inline some more getters
17082 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17084 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17086 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17087 (AutoSave): use LFUN_MESSAGE
17088 (Reconfigure): ditto
17090 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17092 * figureForm.C: use LFUN_MESSAGE
17094 * converter.C (runLaTeX): use LFUN_MESSAGE
17096 * bufferview_funcs.C: use LFUN_MESSAGE
17098 (changeDepth): ditto
17100 * bufferparams.h: use boost::
17102 * bufferlist.h: inherit privately from noncopyable
17104 * bufferlist.C (loadLyXFile): remove some commented code.
17106 * buffer.C (runChktex): use LFUN_MESSAGE
17108 * ShareContainer.h: inherit privately from noncopyable
17110 * ParagraphParameters.[hC] (depth): inline it.
17112 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17114 (message): new method
17115 (messagePush): ditto
17116 (messagePop): ditto
17117 (show): init minibuffer
17118 (showState): direct call
17120 * LaTeX.[Ch]: inherit privately from noncopyable
17121 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17122 instead of WriteStatus.
17124 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17126 * BufferView_pimpl.C (buffer): don't init minibuffer
17127 (workAreaButtonPress): use LFUN_MESSAGE
17128 (workAreaButtonRelease): ditto
17129 (savePosition): ditto
17130 (restorePosition): ditto
17131 (MenuInsertLyXFile): ditto
17132 (workAreaExpose): don't init minibuffer
17133 (update): remove commented code, simplify
17135 * BufferView2.C (openStuff): use LFUN_MESSAGE
17136 (toggleFloat): ditto
17139 (copyEnvironment): ditto
17140 (pasteEnvironment): ditto
17145 (updateInset): remove some commented code
17147 * lastfiles.h: inherit privately from noncopyable
17150 * lyx_main.h: ditto
17152 * lyxlex_pimpl.h: ditto
17154 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17155 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17156 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17158 * LyXAction.h: inherit privately from noncopyable, add methods
17159 func_begin, func_end, returning iterators to the func map.
17161 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17162 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17163 (func_begin): new method
17164 (func_end): new method
17166 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17168 (copySelection): ditto
17169 (pasteSelection): ditto
17171 * BufferView.C: whitespace change
17172 * BufferView.h: inherit privately from noncopyable
17174 2001-04-16 Allan Rae <rae@lyx.org>
17176 * tabular-old.C (l_getline):
17177 * spellchecker.C (sc_check_word):
17178 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17179 an unrecognised preprocessor directive. So ensure they're wrapped.
17181 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17183 * src/exporter.C (Export): Give an error message when path to file
17186 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17188 * LaTeX.C (deplog): Always check that foundfile exists.
17190 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17193 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17195 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17197 * tabular.[Ch] (getLabelList): implement new method
17199 * minibuffer.h: comment ouf setTiimer
17201 * minibuffer.C (ExecutingCB): constify res
17202 (peek_event): constify s
17203 (Set): constify ntext
17204 (Init): constify nicename
17206 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17208 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17209 (savePosition): use two params to Minibuffer::Set
17210 (restorePosition): ditto
17212 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17214 * lyx_main.C: include language.h
17216 * Makefile.am (lyx_main.o): add language.h
17218 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17224 * CutAndPaste.C: include gettext.h
17226 * lyxfont.h: remove old hack with ON and OFF.
17229 * lyxfont.h: do not include language.h...
17234 * bufferview_funcs.C:
17240 * paragraph.C: ... but do it here instead
17242 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17244 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17246 * tabular.C: small reformat
17248 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17251 (BreakParagraph): ditto
17252 (SetOnlyLayout): ditto
17255 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17258 * lastfiles.C: removed most using decl, add std:: where needed
17260 * buffer.C: ws changes
17262 * MenuBackend.C (class compare_format): put into anon namespace
17263 (expand): constify label, names, action, action2
17266 * text.C (SingleWidth): constify font
17267 (IsBoundary): constify rtl2
17268 (GetVisibleRow): constify ww
17270 * LaTeX.C (deplog): constify logfile
17272 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17274 (workAreaExpose): constify widthChange, heightChange
17276 * lyxrow.C (par): moved
17279 * lyxrow.h: as inlines here
17281 * lyxfont.h (shape): moved from lyxfont.C
17282 (emph): moved from lyxfont.C
17284 * lyxfont.C (LyXFont): use initialization list for all
17286 (shape): move to lyxfont.h as inline
17287 (emph): move to lyxfont.h as inline
17290 2001-04-04 Juergen Vigna <jug@sad.it>
17292 * vspace.C: had to include stdio.h for use of sscanf
17294 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17297 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17298 independent of xforms.
17300 2001-04-02 Juergen Vigna <jug@sad.it>
17302 * spellchecker.C: fixed namespace placing!
17304 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17306 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17307 the LyXParagraph * is 0.
17309 2001-03-29 Juergen Vigna <jug@sad.it>
17311 * vspace.C: added support for %, c%, p%, l%.
17312 (stringFromUnit): added helper function.
17313 (asLatexString): changed to give right results for the %-values.
17315 * buffer.C: convert the widthp in a width%.
17317 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17319 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17322 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17323 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17325 * lyx_cb.[Ch]: see above.
17327 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17331 * lyx.[Ch]: replaced by figure_form.[Ch].
17335 * lyxfunc.C: changed headers associated with above changes.
17337 2001-03-27 Juergen Vigna <jug@sad.it>
17339 * BufferView_pimpl.C: set the temporary cursor right!
17341 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17343 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17345 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17347 * LString.h: removed "using std::getline"!
17349 * BufferView_pimpl.C (Dispatch): changes due to changes in
17350 InsetInclude::Params.
17352 * buffer.C (tag_name): removed redundant break statements as they were
17353 producing lots of warnings with my compiler.
17355 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17357 * LString.h: add "using std::getline" when using the real <string>.
17359 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17361 * buffer.C: removed bitset usage.
17362 PAR_TAG moved to an anonymous name space.
17363 (tag_name): new funtion, also in the anonymous namespace.
17364 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17365 (makeDocBookFile): clean code. Completed transition from string arrays
17367 (SimpleDocBookOnePar): code clean.
17369 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17371 * tabular.C: add some comments.
17373 2001-03-22 Juergen Vigna <jug@sad.it>
17375 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17376 compatibility read a bit and fixed bug with minipage in different
17379 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17381 * buffer.C (pop_tag): removed.
17382 (push_tag): removed.
17383 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17384 array replaced with vector. Added support for CDATA sections.
17385 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17387 (makeDocBookFile): XML conformant declaration of CDATA section,
17388 fixed bug related to <emphasis> in the first paragraph char.
17389 (sgmlOpenTag): exclude empty tags.
17390 (sgmlCloseTag): ditto.
17392 * buffer.h (pop_tag): removed.
17393 (push_tag): removed.
17395 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17397 * language.h (Languages): added size_type and size().
17399 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17401 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17402 response on compability reading of minipages. One probliem is that
17403 the old usage of minipages was flertydig
17405 * several files here and in subdirs: don't use static at file
17406 scope use anon namespaces instead.
17408 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17410 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17411 LaTeX output. This is necessary for Literate document
17414 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17416 * buffer.C: insert hfill when needed.
17418 * tabular.C (l_getline): use string::erase, small whitespace change.
17420 * BufferView_pimpl.C: try the anon namespace.
17421 * WorkArea.C: ditto
17423 2001-03-16 Juergen Vigna <jug@sad.it>
17425 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17426 otherwise it won't open options-dialogs.
17428 * buffer.C: honor pextraWidth(p) on converting minipages.
17430 * tabular.C (l_getline): changed the functions to strip trailing \r.
17432 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17434 * BufferView_pimpl.C:
17435 * minibuffer..C: added "using SigC::slot" declaration.
17437 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17439 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17445 * paragraph.C: ditto
17447 * lyxtext.h: NO_PEXTRA
17449 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17451 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17452 * ParameterStruct.h: ditto
17453 * ParagraphParameters.h: ditto
17454 * lyxparagraph.h: ditto
17456 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17458 * buffer.C: add compability for minipage alignment.
17459 (latexParagraphs): remove unwanted pextra check.
17461 * several files: remove CXX_WORKING_NAMESPACES
17463 * buffer.C (pop_tag): tie is in namespace boost
17465 * BufferView.h: noncopyable is in namespace boost
17467 * lyx_main.h: ditto
17470 * lastfiles.h: ditto
17471 * bufferlist.h: ditto
17472 * ShareContainer.h: ditto
17474 * LyXAction.h: ditto
17477 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17479 * Merging changes from BRANCH_MVC back into HEAD.
17481 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17483 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17485 * BufferView_pimpl.C: change from intl.C
17489 * Makefile.am: move combox.*
17495 * intl.C: remove dialog (covered by prefs)
17497 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17499 * lyxfunc.C (Dispatch): removed redundant break statement.
17501 2001-03-14 Juergen Vigna <jug@sad.it>
17503 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17505 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17507 * buffer.C: add hack to fix compability reading of minipages.
17509 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17511 * buffer.C (getLists): Cleanup.
17513 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17515 * lyxfont.C (update): don't honor toggleall on font size.
17517 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17521 * Makefile.am: moved to frontends/xforms/
17525 * BufferView_pimpl.C: changes for moved mathpanel
17527 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17529 * gettext.h: fix gettext_init() in --disable-nls
17531 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17533 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17535 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17538 * lyx.h: strip external form
17540 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17542 * BufferView_pimpl.C: add comment, destroySplash()
17544 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17546 * BufferView_pimpl.C:
17550 * lyxfunc.C: use re-worked insetinclude
17552 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17554 * buffer.C: add using std::stringstream.
17556 * lyx_cb.C: readd using std::ios.
17558 * buffer.C: add using std::map.
17560 * BufferView_pimpl.C: add using std::vector.
17562 * ShareContainer.h: add std:: to swap.
17564 * buffer.h: add some typedefs
17565 * buffer.C (getLists): use them
17566 (getLists): renamed from getTocList.
17567 add a counter for the different float types and use it in the
17569 (getLists): use the same counter for the NEW_INSETS and the "non"
17572 * lyx_cb.h: remove unused items, includes, using etc.
17574 * ShareContainer.h: remove some commented code, add more comments
17575 and "documentation".
17577 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17579 * buffer.C (getTocList): make the list also when NEW_INSETS is
17582 * buffer.h: remove TocType
17584 * buffer.C (getTocList): change to return a map<string,
17585 vector<TocItem> >, implement for dynamic number of list.
17587 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17588 * text2.C (PasteSelection): adjust
17589 * CutAndPaste.C (pasteSelection): adjust
17591 * FloatList.C (FloatList): update from the new_insets branch.
17592 * Floating.[Ch]: ditto
17593 * LaTeXFeatures.C: ditto
17595 * lyxlex_pimpl.C: ditto
17597 * paragraph.C (Last): remove when NEW_INSETS is defined.
17599 * other file: changes because of the above.
17601 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17603 * lyxparagraph.h: rename next to next_, previous to previous_,
17604 make them private for NEW_INSETS. Rename Next() to next(),
17605 Previous() to previous().
17607 * other files: changes because of the above.
17609 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17612 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17615 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17617 * main.C (main): pass lyx_localedir to gettext_init().
17619 * gettext.h: remove locale_init and gettext_init macros
17621 * gettext.C (locale_init): new function
17622 (gettext_init): new function
17624 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17627 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17629 * Moved credits to frontends:
17630 * credits.[Ch]: removed
17631 * credits_form.[Ch]: removed
17632 * lyx_gui_misc.C: remove credits stuff
17635 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17637 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17639 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17640 unneeded destructor.
17642 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17643 a standalone pointer again.
17645 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17647 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17653 * ToolbarDefaults.C:
17662 * BufferView_pimpl.C: use new file dialog in GUII
17665 * lyx_cb.C: remove LayoutsCB to Toolbar
17667 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17669 * ShareContainer.h (get): add std:: qualifier
17671 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17673 * ShareContainer.h: define a proper ShareContainer::value_type
17674 type (and use typename to please compaq cxx)
17676 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17678 * lyxparagraph.h: move serveral local vars to
17679 ParameterStruct/ParagraphParameters., use ShareContainer in
17680 FontTable., make vars in FontTable private and add getter and
17683 * paragraph.C: changes because of the above.
17685 * lyxfont.h: remove copy constructor and copy assignment. (the
17686 default ones is ok), move number inside FontBits. move inlines to
17689 * lyxfont.C: add number to initializaton of statics, move several
17690 inlines here. constify several local vars. some whitespace
17691 cleanup. Dont hide outerscope variables.
17693 * Spacing.h: add two new constructors to match the set methods.
17695 * ShareContainer.h: new file, will perhaps be moved to support
17697 * ParameterStruct.h: new file
17699 * ParagraphParameters.h: new file
17701 * ParagraphParameters.C: new file
17703 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17704 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17706 * BufferView_pimpl.C: ParagraphParameter changes.
17707 * buffer.C: Likewise.
17708 * bufferview_funcs.C: Likewise.
17709 * text.C: Likewise.
17710 * text2.C: Likewise.
17712 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17714 * lyxfind.C (LyXReplace): do not redefine default argument in
17716 (IsStringInText): ditto
17717 (SearchForward): ditto
17718 (SearchBackward): ditto
17720 2001-03-06 Juergen Vigna <jug@sad.it>
17722 * lyxfind.C (IsStringInText): put parentes around expressions.
17724 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17726 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17728 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17730 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17732 * stl_string_fwd.h: add comment
17734 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17737 * tabular.C: remove unused DocBook methods
17743 killed DO_USE_DEFAULT_LANGUAGE
17745 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17747 * lyx_gui.C: do not include language.h.
17749 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17750 arguments in function implementation.
17752 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17754 * BufferView_pimpl.C: add <ctime>
17756 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17758 * BufferView_pimpl.C: add using std::find_if
17760 2001-02-27 José Matos <jamatos@fep.up.pt>
17762 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17765 2001-02-11 José Matos <jamatos@fep.up.pt>
17767 * buffer.C (makeDocBookFile): command styles now have a parameter as
17768 "title" by default.
17770 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17772 * layout_forms.[Ch]: removed
17773 * lyx_cb.[Ch]: out character
17774 * lyx_gui.C: out character
17775 * lyx_gui_misc.C: out character
17776 * bufferview_funcs.C: : out character,
17777 added toggleall as parameter in ToggleAndShow
17779 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17781 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17783 * text2.C (SetCurrentFont): Disable number property at boundary.
17785 2001-02-26 Juergen Vigna <jug@sad.it>
17787 * lyxfunc.C (getStatus): added a string argument override function so
17788 that this is correctly called from LyXFunc::Dispatch if it contains a
17789 do_not_use_argument which is used!
17790 (Dispatch): added check for "custom" export and call appropriate func.
17792 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17794 * lyxrc.C: Add language_command_local, language_use_babel and
17795 language_global_options.
17797 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17799 * buffer.C (makeLaTeXFile): Use language_use_babel and
17800 language_global_options.
17802 2001-02-23 Juergen Vigna <jug@sad.it>
17804 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17805 which works with LyXText and putted it inside BufferView. Here now we
17806 only call for that part the BufferView::Dispatch() function.
17808 * BufferView.C (Dispatch): added.
17810 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17811 functions which needs to use a LyXText over from LyXFunc.
17812 (MenuInsertLyXFile): added
17813 (getInsetByCode): added
17814 (moveCursorUpdate): added
17815 (static TEXT): added
17817 2001-02-22 Juergen Vigna <jug@sad.it>
17819 * BufferView_pimpl.C (update): call a status update to see if LyXText
17822 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17824 * vc-backend.C (revert): implement for CVS
17825 (getLog): implement for CVS
17827 2001-02-20 Juergen Vigna <jug@sad.it>
17829 * text2.C (ClearSelection): added BufferView param for inset_owner call
17831 * lyxfunc.C (TEXT): added this function and use it instead of
17832 directly owner->view()-text of getLyXText().
17834 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17836 * src/layout_forms.C: out preamble
17837 * src/layout_forms.h: out preamble
17838 * src/lyx_cb.C: out preamble
17839 * src/lyx_cb.h: out preamble
17840 * src/lyx_gui.C: out preamble
17841 * src/lyx_gui_misc.C: out preamble
17842 * src/lyxfunc.C: connect with guii preamble
17844 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17846 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17848 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17850 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17851 whether to run bibtex.
17853 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17855 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17857 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17859 * Makefile.am (lyx_SOURCES): removed bibforms.h
17861 * vspace.h: doxygen
17863 * text.C (GetVisibleRow): make several local vars const
17865 * tabular.C: small cleanup.
17867 * lyxserver.C (callback): use compare instead of strncmp
17869 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17870 inlines to after class or to paragraph.C
17872 * lyxfont.h: remove friend operator!=
17874 * converter.h: move friend bool operator< to non friend and after
17877 * combox.h: small cleanup
17879 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17880 to inlines after class def.
17882 * buffer.C (pop_tag): use string operations instead of strcmp
17884 * bmtable.c: doxygen, small cleanup
17886 * LaTeX.h: remove friend operator==
17888 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17900 * BufferView_pimpl.C:
17901 * BufferView.[Ch]: remove cruft
17903 2001-02-14 Juergen Vigna <jug@sad.it>
17905 * lyxfunc.C: removed #if 0 unused code
17907 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17909 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17911 * text2.C (SetSelection): added a BufferView * parameter
17913 2001-02-13 Juergen Vigna <jug@sad.it>
17915 * lyxfunc.C (Dispatch): fixed protected blank problem.
17916 * BufferView2.C (protectedBlank): added LyxText * parameter.
17918 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17919 (AppendColumn): same as above for column_info.
17921 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17922 (moveCursorUpdate): use a LyXText param for support of InsetText.
17924 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17925 (tripleClick): ditto
17927 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17929 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17931 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17933 * text2.C (SetSelection): set correct update status if inset_owner
17934 (ToggleFree): ditto
17936 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17938 * tabular.C: remove some commented code.
17940 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17942 * BufferView_pimpl.C: call hideSplash()
17944 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17947 * bibforms.h: remove
17950 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17951 add LFUN_CHILD_CREATE
17953 * counters.h: fix tiny typo
17958 * lyx.C: move splash to frontends/xforms/
17960 * lyx_gui_misc.C: move Include and Bibform to frontends
17962 * lyxvc.h: clarify comment
17964 * vspace.C: tiny housekeeping
17966 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17968 * text.C (PrepareToPrint): RTL Fix.
17970 * paragraph.C (GetUChar): New method.
17971 (String): Use GetUChar.
17973 * buffer.C (asciiParagraph): Use GetUChar.
17975 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17977 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17979 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17982 * buffer.C: rename to getLogName(), handle
17983 build log / latex log nicely
17985 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17988 * MenuBackend.h: remove support for reference menuitem type.
17990 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17992 * BufferView_pimpl.C: housekeeping
17993 * BufferView_pimpl.h:
17998 * minibuffer.h: move Timeout GUI-I
18000 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18002 * lyxrc.C (read): Update converters data-structures.
18004 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18006 * LaTeX.h (operator!=): add operator != for Aux_Info
18008 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18010 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18012 * LaTeXLog.C: deleted, useful code moved to Buffer
18015 * buffer.C: new function getLatexLogName()
18021 * lyxfunc.C: use frontends for LaTeX and VC logs
18023 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18025 * LaTeX.h: yet another std:: that Allan forgot.
18027 * Variables.C (set): renamed from isset(), because this clashes
18028 with some HP-UX macros (grr).
18030 2001-02-06 Allan Rae <rae@lyx.org>
18032 * LaTeX.h: Another bug fix. Missing std:: this time.
18034 2001-02-04 Allan Rae <rae@lyx.org>
18036 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18037 floats problem. I've left it commented out because it's not quite
18038 correct. It should also test that the current object is a table or
18039 figure inset. But I haven't gotten around to figuring out how to do
18040 that. I *think* it'll be something like: "table" == inset.type()
18042 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18045 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18047 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18048 all the citation/databases/styles in the auxilary file.
18049 (run): Rerun latex if there was a babel language error.
18051 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18053 * text.C (Backspace): Preserve the font when changing newline char
18055 (BreakParagraph): If the cursor is before a space, delete the space.
18057 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18059 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18061 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18062 new argument (code).
18063 (ChangeCitationsIfUnique): New method.
18065 * paragraph.C (GetPositionOfInset): Handle bibkey.
18067 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18069 * BufferView_pimpl.h: change type of Position::par_pos to
18070 LyXParagraph::size_type.
18072 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18074 * BufferView_pimpl.C (savePosition, restorePosition): Write
18075 messages to minibuffer.
18077 2001-01-28 José Matos <jamatos@fep.up.pt>
18079 * buffer.C (makeDocBookFile): adds support for document language.
18080 A silly restriction on the name of LatexCommand types where removed.
18081 Added support for CDATA sections, allows to chars unescaped, used
18082 among others in code, to avoid escape < and >.
18084 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18086 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18087 saved positions instrad of a stack. Furthermore, a position is
18088 stored using paragraph id/paragraph position.
18090 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18091 Remove LFUN_REF_BACK.
18093 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18095 * converter.C (dvipdfm_options): New method.
18097 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18099 * vspace.C (isValidLength): Fix for empty input string.
18101 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18103 * LyXAction.C (init): change description of LFUN_FIGURE to
18106 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18108 * LaTeX.C: add using directive
18110 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18112 * MenuBackend.C (expand): Fix the sorting of the formats.
18114 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18116 * lyx_main.C: tiny error message fix
18118 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18120 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18121 calling fl_initialize(). This fixes the problem with ',' as
18122 decimal separator in text files.
18124 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18126 * trans.C (process): Fix the keymap bug.
18128 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18130 * LaTeX.C (scanAuxFiles): New method. Provides support for
18131 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18132 (scanLogFile) Scan for "run BibTeX" messages.
18134 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18135 OT1 font encoding. Also, load the aecompl package if the ae
18138 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18140 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18142 * texrow.C (increasePos): turn two error messages into debug
18145 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18147 * LaTeX.C (scanAux): Handle the \@input macro.
18148 (runBibTeX): Use scanAux().
18150 * language.C (latex_options_): New field.
18152 * LaTeXFeatures.C (getMacros): Add language macros.
18154 * buffer.C (makeLaTeXFile): Small fix.
18156 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18158 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18160 * text2.C: add a using directive.
18162 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18167 * lyxfunc.C: kill LyXBell.
18169 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18171 * text.C (IsBoundary): Remove the error message
18173 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18175 * lyxrc.C (setDefaults): Correct initialization value for
18178 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18180 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18183 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18184 and GotoNextNote().
18186 * src/LyXAction.C: Added reference-next.
18188 * text.C (InsertChar): Use contains instead of strchr.
18190 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18192 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18194 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18195 alignment commands (when needed).
18197 * text.C (InsertChar): Add ':' to number separator chars.