1 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
3 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
5 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
8 combox, it is necessary to search for the topmost paragraph in the
9 cursor stack (bug 1926)
11 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
14 end of paragraph. (bug 2010)
16 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
18 * text.C (leftMargin): check for inInset == 0
20 2005-08-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
22 * text.C (leftMargin): test for insetbase's new neverIndent()
23 bool instead of listing each and every inset that does not
26 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * buffer_funcs.C (setCounter): put the code to compute enum label
29 here (where it belongs).
31 * counters.C (enumLabel): move code to buffer_funcs.C.
33 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * outputparams.[Ch]: store local_font instead of local_language
36 * paragraph.C (simpleTeXOnePar): adapt to the change above
38 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
41 * counters.[Ch]: clean up special code for Hebrew.
43 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
48 2005-09-08 Angus Leeming <leeming@lyx.org>
51 * lyxrc.C: correct grammar describing invocation of the
54 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * text.C (read): remove unused variable.
57 (readParToken): remove static Change variable (never good in
58 recursive settings...); add it as a parameter instead.
60 * paragraph_pimpl.C (acceptChange): make debug info conditional.
62 * metricsinfo.C (PainterInfo): add new member erased_.
64 * rowpainter.C (RowPainter): add erased_ member, initialized from
66 (paintInset): pass erased_ to Inset::draw.
68 * lyxfunc.C (lookupChange): new function. Tells whether change
69 tracking is disabled at a given postion.
70 (getStatus): disable some actions when in deleted text with change
73 2005-08-03 John Levon <levon@movementarian.org>
75 * tabular.C (appendColumn, setMultiColumn): adapt to change to
78 * paragraph_pimpl.C (markErased): add bool argument and handle it.
79 Also make sure to mark insets recursively.
80 (rejectChange, erase): be recursive
82 * paragraph.C (markErased): add bool argument.
83 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * lyxfind.C (findNextChange): tiny cleanup.
87 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
88 change tracking with the cursor in an inset; make sure the first
89 change is not skipped.
91 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
94 tabularStackDirty to work around bug 1919 (tabular needs
95 to know whether its own cell paste buffer or the one of
97 * CutAndPaste.C: mark tabular_stack_ clean after copy.
99 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
101 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
103 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
105 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
106 use old deleteion algorithm when changetracking is on.
108 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
110 * messages.C (get): add debug output.
112 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
114 * text.C (cursorX): fix bug 1965: cursor movement at
115 line end broken in RtL.
116 (drawSelection): fix bug 1970: drawing of single-line
117 selection broken for RtL.
119 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * dociterator.h (clear, push_back, pop_back): change from
126 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
127 and changed to just return the value of the item depth; take a
128 ParIterator as argument; take the itemdepth at outer nesting level
129 in account if necessary; cleanup and comment the code.
130 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
131 and changed to just return true if reset is needed; take a
132 ParIterator as argument; cleanup and comment the code.
133 (setCounter): adapt to above changes.
135 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * text3.C (dispatch): make debug message optional
139 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
144 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
146 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
148 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
150 * text.C (insertChar):
151 * text2.C (deleteEmptyParagraphMechanism): take care whether
152 a blank has been deleted (in change tracking mode) (bug 1254).
154 2005-07-20 John Levon <levon@movementarian.org>
156 * text2.C (insertStringAsLines): remove old dubious code,
159 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * MenuBackend.C (expandToc): use Floating::listName() as title of
164 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * toc.[Ch]: Do not use translatable strings (bug 1870).
168 2005-07-20 John Levon <levon@movementarian.org>
170 * tabular.C: fix 1748 - setting multicolumn adds
171 left line to the first cell
173 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
176 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
179 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
181 * messages.C: supress some lyxerr messages
183 2005-07-18 Juergen Vigna <jug@lyx.org>
185 * text.C (drawSelection): honor boundary when asking for cursorX.
187 2005-07-17 José Matos <jamatos@fc.up.pt>
189 * tabular.C (recalculateMulticolumns): fix handling of one column
192 2005-07-17 Juergen Vigna <jug@lyx.org>
194 * text.C (Delete, backspace): fixed so that paragraph with the
195 same layout can be merged by Delete/Backspace.
197 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
199 * text.C (readParToken): fix spelling.
201 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
203 * text2.C: fix counter update for DEPM problem reported by
206 2005-07-17 Juergen Vigna <jug@lyx.org>
208 * BufferView_pimpl.C (setBuffer): save/restore the
209 cursor/selection when switching buffers
212 * buffer.C (saveCursor): add saveDocumentIterators to save the
213 cursor when switching buffer.
215 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
218 * buffer.C: clarify message
220 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
222 * dociterator.C (DocIterator): fix initialization order
224 2005-07-17 Juergen Vigna <jug@lyx.org>
226 * text2.C (cursorHome):
227 * text.C (drawSelection, cursorX):
228 * dociterator.C (textRow): add boundary to getRow() call
230 * paragraph.C (getRow): implementation of below
232 * paragraph.h: add parameter boundary for getRow() function
234 2005-07-17 José Matos <jamatos@fc.up.pt>
238 * tex-strings.[Ch]: new file format, remove support for a4.sty,
239 a4wide.sty and a4widemargins.
241 2005-07-17 Juergen Vigna <jug@lyx.org>
243 * text2.C (cursorLeft): fix one of error
245 2005-07-17 Juergen Vigna <jug@lyx.org>
247 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
249 more fixes for boundary handling
251 * text3.C (dispatch): don't reset cursor if boundary has changed
254 2005-07-16 Juergen Vigna <jug@lyx.org>
256 * text2.C (getColumnNearX): hopefully got it right now,
257 check if we are on column 0 for special case.
259 2005-07-16 Juergen Vigna <jug@lyx.org>
261 * text2.C (getColumnNearX): handle special case Newline Inset
263 * text.C (singleWidth): Just remove bogus check
265 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
267 * funcrequest.C (split): avoid reading uninitialized char c
269 2005-07-16 José Matos <jamatos@fc.up.pt>
275 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
276 single papersize variable.
278 2005-07-16 Juergen Vigna <jug@lyx.org>
280 * text3.C (dispatch): honor boundary when checking if a cursor
281 movement has been done
283 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
284 (setCursor, setCursorIntern): fix cursor movement with boundary
286 2005-07-16 Juergen Vigna <jug@lyx.org>
288 * text.C (currentState): output the actual Boundary
290 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * factory.C (createInset): fix bad logic for tabular creation
294 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
296 * lyx_main.C (init): change some reLyX reference to tex2lyx
298 2005-07-16 Juergen Vigna <jug@lyx.org>
300 * dociterator.C (DocIterator): initialize boundary
302 2005-07-16 Juergen Vigna <jug@lyx.org>
304 * text2.C (getColumnNearX): Consider rows without trailing blank.
306 2005-07-16 André Pönitz <poenitz@gmx.net>
308 * lyxfont.h: Change order of declarations to give the compiler
309 a better chance to inline things
311 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
312 questions on unsaved docs for better scritability
314 2005-07-16 André Pönitz <poenitz@gmx.net>
316 * paragraph.h (getChar): remove asserts as the same kind of security
317 can be achieved by using a suitable standard library implementation
318 and the function was in the critical path (25.9% in profiler)
320 2005-07-16 Juergen Vigna <jug@lyx.org>
322 * cursor.C (bruteFind2):
323 * bufferview_funcs.C (coordOffset):
324 * text.C (cursorX,cursorY): Handle cursor position after last char
325 in row before a inset which uses a whole row.
327 2005-07-15 José Matos <jamatos@lyx.org>
329 * output_plaintext.[Ch] (writeFileAscii): control reference title
331 (asciiParagraph): noparbreak was already deal and was incorrectly
334 2005-07-15 Juergen Vigna <jug@lyx.org>
336 * lyxfunc.C (dispatch): save and restore the cursor after a
339 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
341 * text.C (backspace): bug 806 for empty keepempty paragraphs we
342 change the layout to default before letting DEPM do its thing.
344 * paragraph_funcs.C (breakParagraph): dont reset the layout on
347 * text.C (setCursorFromCoordinates): add a debug statement
349 * text2.C (getColumnNearX): bug 1825 make sure that we don't
350 return a pos that is not on the row
352 * output_latex.C (TeXDeeper): get rid of potential dereferencing
353 of past the end iterator
355 2005-07-14 André Pönitz <poenitz@gmx.net>
357 * undo.C (recordUndoFullBuffer): implement undo for
360 2005-07-14 André Pönitz <poenitz@gmx.net>
362 * cursor.C (setSelection): open insets when selection is set there
363 to avoid crashs with cold coord cache
365 2005-07-14 André Pönitz <poenitz@gmx.net>
367 * trans_mgr.C (insert): move cursor to the right after inserting
370 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
372 * BufferView_pimpl.C (update): dampen some of the debug blabbering
373 * factory.C (readInset): ditto
374 * text.C, text2.C: ditto
376 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * buffer.C: format incremented to 242. There is no file format per
379 se, but the "frenchb" language has been removed from lib/language
380 and has to be translated to "french" by lyx2lyx.
382 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
384 * cursor_slice.h, dociterator.h: add some documentation
385 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
387 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
389 * text.C (leftMargin): do not add identation to display() style
390 insets, because they are always centered (bug 1293).
392 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
394 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
395 formatted_time methods in support/lyxtime.
397 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
399 * toc.[Ch]: new method getGuiName, which is used by the frontends
400 to set the toc combo (fixes bug 1870). Make TOC string translatable.
402 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
404 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
405 StableDocIterator const &)
406 * undo.C (recordUndo): use the above instead of cell.size() comparison
407 (fixes bug 1808; instructed by Andr�.
409 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
412 * dociterator.h: Fix the assert when copying rows/cols in math
414 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * BufferView_pimpl.C:
418 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
420 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
421 (findInset): new functions, refactored from goto Inset that return
422 the position of a certain inset without setting the buffer's cursor
424 (gotoInset): rewrite to call findInset and then set the cursor
427 2005-06-16 Angus Leeming <leeming@lyx.org>
429 * lyxrc.C (output, read): wrap all input and output of paths with
430 calls to os::internal_path and os::external_path, respectively.
431 (output): wrap bind_file inside quotes.
433 * format.C (view): enable the viewer to use the '$$s' placeholder.
435 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
437 * LColor.[Ch] (getFromLaTeXName): new
439 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
441 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
443 2005-06-14 Angus Leeming <leeming@lyx.org>
445 * lyx_main.C (init): ensure that the LyX binary dir is the first
446 element in the PATH on non-POSIX builds.
448 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
450 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
452 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * rowpainter.C (paintInset, paintHebrewComposeChar)
455 (paintArabicComposeChar, paintChars): add a LyXFont argument.
456 (paintChars): use getFontSpan to reduce calls to getFont to a
457 minimum; use Paragraph::lookupChange instead of isXXXText.
458 (paintForeignMark): rename LyXFont argument.
459 (paintFromPos): pass a LyXFont object to the various paintXXX
462 * FontIterator.C (FontIterator, operator++): use
463 Paragraph::getFontSpan
465 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
466 version that returns the font span as a pair.
468 2005-06-09 Angus Leeming <leeming@lyx.org>
470 * converter.C (convert): Don't forget "outfile = real_outfile" as
471 the final step in a conversion where the input and output file names
472 are the same. Otherwise, future conversion steps won't work...
474 2005-06-09 Angus Leeming <leeming@lyx.org>
476 * lyxsocket.C: remove stub code as it isn't needed by
477 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
479 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
481 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
482 effectively disabled -x
484 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
487 when it actually makes sense.
489 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
491 * BufferView_pimpl.C: revert to showCursor in connection with
492 Lars's front-end stack
494 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
496 * text.C (redoParagraph): move cursor right after a bibitem
499 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
501 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * buffer_funcs.C (bufferErrors): fix computation of the end of an
506 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
508 * BufferView.[Ch] (update):
509 * BufferView_pimpl.[Ch] (update, metrics):
510 * dimension.h (operator==):
511 * lyxfunc.C (dispatch):
512 * metricsinfo.h (ViewMetricsInfo):
513 * rowpainter.C (paintText):
515 * text.C (redoParagraph):
516 * text3.C (dispatch): Make LyX only repaint current paragraph in
517 case of character insert --> speedup. Also fix cursor draw
520 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
523 avoid a crash (bug 1891)
525 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * text2.C (getStringToIndex): constify cur argument.
531 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
532 argument has been given
533 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
534 try to invoke LFUN_INSET_APPLY).
536 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
537 if no inset was created by doInsertInset
538 (doInsertInset): return true if an inset has been inserted.
540 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
542 * vspace.C (asGUIName): new method. A version of the space
543 suitable for showing on screen.
545 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
548 * lyxrc.C: rename "ASCII" to "Plain Text"
550 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
552 * buffer_funcs.C (expandLabel): take a Buffer as argument;
553 translate the labelstring.
554 (setCounter): translate labelstring as needed.
556 * output_docbook.C (makeCommand): fix expandLabel invokation
558 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
560 * BufferView.C: fix dialog title
562 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
564 * lyx_main.C (priv_exec): fix logic error with help from Angus
565 * lyx_main.C (parse_execute): set is_gui = false and remove now
566 obsolete comment about a segfault
568 2005-05-18 Angus Leeming <leeming@lyx.org>
570 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
572 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
574 * tabular.[hC]: added setCellInset to fix tabular paste.
576 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
578 * buffer.C (save): check if destination is writable before trying
581 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
583 * BufferView_pimpl.C (update): fix processEvents -caused update
586 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
588 * buffer_funcs.C (setCounter): fix test for numbering of
591 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
592 depth correctly; use optional argument when it exists
594 * lyxtextclass.C: remove unused MaxCounterTags enum
595 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
596 (max_toclevel, min_toclevel): new methods.
598 * MenuBackend.C (expandToc2): fix case where depth is smaller than
599 the smallest depth in toc.
601 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
602 layouts that should not appear in a table of contents.
604 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
606 * cursor.h (undispatched, noUpdate): add comments from Andr�
607 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
611 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
613 2005-05-07 André Pönitz <poenitz@gmx.net>
615 * cursor.[Ch] (leaveInset): new function
617 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
619 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
621 2005-05-04 Angus Leeming <leeming@lyx.org>
623 * lyxfunc.C (getStatus): disable the spell checker dialog if
624 none of USE_[AIP]SPELL are defined.
626 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
628 * tabular.C (setWidthOfCell): remove obsolete comment
630 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
632 * paragraph.C (bibitem):
633 * buffer_funcs.C (setCounter):
634 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
636 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
638 * text3.C (getStatus): immediately return after setOnOff
640 * rowpainter.C: fix drawing of appendix start
642 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
644 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
645 SwitchBetweenClasses and remove the unused return value.
646 Handle character styles, too
648 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
650 * factory.C (createInset): handle undefined character styles
652 2005-05-02 Angus Leeming <leeming@lyx.org>
654 * buffer.C: protect the #include of utime.h with a preprocessor
657 2005-05-02 Angus Leeming <leeming@lyx.org>
659 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
660 function so that auto-saving works, albeit in a blocking manner.
662 * Makefile.am: make compilation of the client sub directory, of
663 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
664 on conditionals set at configure time.
666 * SpellBase.[Ch]: no longer an abstract base class. Instead,
667 it can be compiled in its own right but has no-op functionality.
669 * aspell.C, pspell.C: remove preprocessor guards. The files should
670 be compiled only if the necessary functionality exists.
672 * lyxserver.C, lyxsocket.C: disable on Windows.
674 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
676 * text.C (leftMargin): Fix the parindent use bug (1764)
679 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
681 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
684 2005-04-25 Angus Leeming <leeming@lyx.org>
692 include <config.h> in .C files, not .h ones.
694 protect headers inside preprocessor guards.
696 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
698 * FuncStatus.h (StatusCodes): document
700 2005-04-21 André Pönitz <poenitz@gmx.net>
702 * FuncStatus.h (enabled, onoff): document
704 2005-04-19 Angus Leeming <leeming@lyx.org>
706 * BufferView_pimpl.C (cursorToggle): no longer test whether
707 any child processes have been reaped before calling
708 handleCompletedProcesses().
710 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
712 * text3.C (dispatch): fix, finally fix, the language problem in
713 new lyxtexts, without disabling on-the-fly font changes (Helge's
716 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
718 * text3.C (dispatch): set cursor on double/triple click events
721 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
724 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
726 * rowpainter.C (paintFirst): simplify the code a little bit. In
727 particular, remove the test for secnumdepth.
728 * text.C (setHeightOfRow): only allocate space for chapter number
729 when updateCounters provided an actual label, instead of looking
730 at secnumdepth directly.
732 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
734 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
735 paragraphs when secnumdepth is large enough or, for environments,
736 when they are not the first in a sequence.
738 2005-04-17 Angus Leeming <leeming@lyx.org>
740 * buffer.C (makeLaTeXFile): replace code to manipulate a path
741 containing space and '~' characters with a call to latex_path().
743 2005-04-17 Angus Leeming <leeming@lyx.org>
745 * converter.C (convert): protect all args of convertDefault.sh
748 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
750 * text3.C (dispatch): change the layout to "Caption" after inserting
753 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
755 * text3.C (dispatch): fix language problem in newly created
756 textinsets (and main text) in non-english docs
758 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
760 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
761 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
762 * text3.C (getStatus): disable LFUN_INSET_MODIFY
764 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
769 * rowpainter.C (getFont): Fix metrics bug introduced by inset
772 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
774 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
775 output of \item arguments without trailing text.
777 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * FontIterator.C (operator*): avoid a copy of the font.
781 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
783 * rowpainter.C (getFont): fix language bug from previous fix
785 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
787 * rowpainter.C (RowPainter, getFont): fix font inside inset
790 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
792 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
793 preventing inserted font, deco, delim insets jumping to start of
796 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
798 * lyxfunc.C (dispatch): translate message before sending it to the
801 2005-03-29 Angus Leeming <leeming@lyx.org>
803 * lyx_main.C (priv_exec): call os::internal_path on each file passed
804 to LyX on the command line.
806 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
808 * vc-backend.C: use QuoteName to protect file names wherever
811 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
814 * BranchList.h: fix bugs 1844,1845: document settings don't
817 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
819 * lyxrc.C (setDefaults, read, output, getDescription): add support
820 for tex_allows_spaces.
822 * exporter.C (Export): allows files in directory containing spaces
823 if tex_allows_spaces is true.
825 * buffer.C (makeLaTeXFile): if the document path contains spaces,
826 output it in double quotes.
828 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
830 * rowpainter.C: use default text height for drawing change tracker
833 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
835 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
837 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
839 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
840 directory is missing.
842 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
844 * text2.C: fixed the fix, extended to other case.
846 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
848 * text2.C: fix for cursor up/down stuck in math [bug 1792]
850 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
852 * text2.C (cursorUp): get rid of a crash
853 * text.C (x2pos): add an assert
855 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
857 * lyxfunc.C (getStatus): fix warning when assertions are disabled
861 * dociterator.C: include <boost/current_function.hpp>, which is
862 needed when assertions are disabled.
864 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
866 * text2.C: fix for stuck cursor when traversing two
867 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
869 2005-02-25 Andreas Vox <avox@arcor.de>
871 * output_docbook.C (makeParagraph): suppress trailing newline
872 after a run of paragraphs
874 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
876 * paragraph.C: fix for confused change tracker when pasting
877 text that begins with a lineseparator. [bug 1827]
878 (setChange(0, Change::INSERTED);)
880 * paragraph_funcs.C: fix for lost changes on triple-paste
881 in change tracking mode [bug 1827] (par.setChange()).
883 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
885 * text2.C (updateCounters, setCounter, expandLabel): move to
888 * buffer_funcs.C (updateCounters): turn into a free standing
889 function and add a buffer parameter. Remove dead code for tracking
891 (setCounter): change into a free-standing function which gets a
892 dociterator as argument. Use this iterator to fix captions in a
893 simple way. When no float is found above the caption, use the
894 labelstring of the caption layout as default.
896 * text.C (breakParagraph, backspace):
897 * text2.C (init, setLayout, changeDepth):
898 * text3.C (dispatch):
899 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
902 * dociterator.C (forwardPar): make it much faster by calling
903 forwardPos() only when really necessary.
905 * output_docbook.C (makeCommand): adapt to expandLabel move.
907 * cursor.C: remove unused variable
909 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
911 * paragraph_funcs.C: fix crash when pasting insets in change
912 tracking mode [bug 1277] (honour change type in moveItem).
914 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
916 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
918 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
920 * BufferView.C (setCursor): change to use a DocIterator.
921 (gotoLabel): use BufferView::setCursor (other part of bug 781).
922 (putSelectionAt): adapt to BufferView::setCursor change.
924 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
925 moved here from LyXText and rewritten to use proper cursor
926 methods. Fixes bug 1787, 616 and 835.
928 * BufferView_pimpl.C (restorePosition): set the cursor correctly
929 when inside an inset (part of bug 781).
930 (dispatch): adapt to change of BufferView::setCursor.
931 (getStatus, dispatch): handle LFUN_GOTOERROR,
932 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
934 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
935 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
936 * text3.C (gotoNextInset, gotoInset): removed.
938 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
942 2005-02-15 Angus Leeming <leeming@lyx.org>
944 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
945 can be used meaningfully in a comparison.
947 2005-02-13 André Pönitz <poenitz@gmx.net>
949 * bufferview_funcs.C (coordOffset): improve cursor drawing
951 2005-02-13 André Pönitz <poenitz@gmx.net>
953 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
954 * Cursor.C (dispatch): use fixIfBroken
955 * lyxfunc.C (getStatus): use fixIfBroken
957 2005-02-15 Angus Leeming <leeming@lyx.org>
959 * lyx_main.C (error_handler):
961 * lyxrc.C (setDefaults):
963 #include "environment.h".
965 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
967 2005-02-15 Angus Leeming <leeming@lyx.org>
969 * lyxserver.C (startPipe): squash MSVC warning "local variable
970 'fd' used without having been initialized".
972 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
974 * BufferView_pimpl.C: revert accidental commit.
976 2005-02-14 André Pönitz <poenitz@gmx.net>
978 * dociterator.[Ch]: new member forwardPosNoDescent(),
979 which doesn't enter nested insets.
980 * text2.C (setFont): use forwardPosNoDescent() instead
981 of ForwardPos() (fixes crash on font change).
983 2005-02-13 Angus Leeming <leeming@lyx.org>
985 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
986 only if lyxrc.path_prefix is not empty.
988 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
990 * bufferparams.C (readGraphicsDriver): prevent crash
992 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
994 * text2.C (setCounter): check for inInset() == 0
996 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
998 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
999 but use update() to get correct screen display; use convert
1000 instead of istringstream.
1001 (getStatus): handle LFUN_GOTO_PARAGRAPH
1003 * lyxfunc.C (dispatch, getStatus): do not handle
1004 LFUN_GOTO_PARAGRAPH here.
1006 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1008 * text3.C (dispatch): size() -> depth()
1010 * text2.C: remove some debug output
1012 * paragraph.C: ws changes only
1014 * lyxfunc.C (getStatus): size() -> depth()
1016 * dociterator.h (clear, push_back, pop_back, internalData,
1017 operator[], resize, empty): new functions
1018 Make StableDocIterator and operator== be friends. Don't inherit
1019 from std::vector use a privat class variable slices_ instead.
1022 * dociterator.C: update because of not inheriting from std::vector
1023 anymore. Call explictly to slices_ instead. Use depth() instead of
1024 size() and top() instead of back()
1026 * cursor.C: chagne size() -> depth and back() -> top(). Also
1027 remove some direct operator[](i) calls in favour of foo[i]
1028 (getFont): remove some dead code
1030 * bufferview_funcs.C (coordOffset): size() -> depth()
1032 * buffer.C: ws changes only
1034 * CutAndPaste.C (eraseSelection): back() -> top()
1036 * BufferView_pimpl.C (selectionRequested): back() -> top()
1038 * BufferView.C (setCursor): size() -> depth()
1040 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1042 * text3.C (cursorPrevious): return true if depm changed something
1044 (dispatch): rename sl to oldTopSlice, remove moving use the new
1045 NoUpdate func attrib instead. Make sure that needsUpdate is set
1046 for function that have NoUpdate, but where depm might have changed
1049 * text2.C (cursorLeft): make us return true if depm changed
1051 (cursorRight): ditto
1052 (cursorUpParagraph): ditto
1053 (curosrDownParagraph): ditto
1054 (cursorUp, cursorDown): ditto, make sure to read comments in code
1055 (deleteEmptyParagraphMechanism): remove an assert, also return
1056 true if just a single char was deleted.
1058 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1059 cursor that we modify, to avoid modifying an active cursor before
1060 we call setCursor. This allows depm to run. Also return true if
1061 depm deleted something.
1063 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1064 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1065 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1066 something was changed in the buffer because of them (ie. depm run)
1068 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1069 debug messages. Make update by default be false. Make sure that
1070 the result of update is retained throught several calls down to
1073 * LyXAction.h: add a new func_attrib: NoUpdate
1075 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1076 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1077 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1079 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1081 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1083 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1084 bv_->owner(), bv_->buffer() by direct references to the private
1086 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1087 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1088 (fitCursor): center() is in BufferView::Pimpl.
1089 (getStatus, trackChanges, dispatch): no need for a temporary buf
1091 (fitCursor, workAreaDispatch): use workarea().workheight()
1093 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1095 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1097 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1099 * buffer.C: format up to 241.
1100 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1101 break if pasting into ERT
1102 * lyxfunc.C (getStatus): suppress mathpanel and
1103 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1105 2005-02-01 Angus Leeming <leeming@lyx.org>
1107 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1109 2005-02-01 Angus Leeming <leeming@lyx.org>
1111 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1112 calling fs::is_directory().
1114 2005-01-31 Angus Leeming <leeming@lyx.org>
1116 * lyx_main.C (priv_exec): specify explicitly the relative location
1117 of the top level build directory when run in-place.
1119 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1121 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1122 LyXText containing the cursor, not the top-level one.
1124 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1126 (insertStringAsLines): rename par to pit; use temporary variable
1127 par to hold a Paragraph; do not store par.layout() in a variable,
1128 since the pointer may die when breaking paragraphs; pass pars to
1129 breakParagraph() instead of Buffer::paragraphs().
1131 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1133 * lyxlex_pimpl.h: #include <fstream>.
1135 * BufferView.[Ch] (getLyXText): add a const version.
1137 * BufferView_pimpl.C: add debug aids.
1142 * paragraph_funcs.h: add commentary explaining what the class does.
1145 * coordcache.[Ch]: add lots of commentary.
1146 (startUpdating, doneUpdating): debug aids.
1147 (arrays, insets, parPos, getParPos): accessors to private data.
1149 * cursor_slice.[Ch] (text): add a const version.
1150 * dociterator.[Ch] (text, innerText): add const versions.
1152 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1155 * paragraph.C (getRow, pos2ros): add asserts.
1157 * paragraph.h: add commentary. Lots of.
1159 * paragraph.[Ch] (metrucs, draw): removed.
1162 * rowpainter.[Ch]: const-correct changes.
1164 * text.C: various obvious clean-ups. Removal of ancient cruft.
1167 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1169 * vc-backend.C (find_file): rewrite to use boost.filesystem
1172 * main.C (main): set default name check for boost.filesystem to
1175 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1178 (actOnUpdatedPrefs): ditto
1180 * lyx_main.C (init): rewrite to use boost.filesystem
1181 (queryUserLyXDir): ditto
1183 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1184 (getContentsOfAsciiFile): ditto
1186 * lastfiles.C (readFile): rewrite to use boost.filesystem
1188 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1190 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1191 (loadLyXFile): ditto
1193 * buffer.C (Buffer): adjust for destroydir
1194 (getLogName): rewrite to use boost.filesystem
1195 (setFileName): ditto
1196 (save): use fs::copy_file (from fs_extras)
1198 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1200 * LaTeX.C (run): rewrite to use boost.filesystem
1201 (scanAuxFiles): ditto
1202 (handleFoundFile): ditto
1204 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1206 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1208 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1210 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * lyxlayout.[Ch]: change some vars from float to double
1214 * buffer.C (readFile): make a local var const
1216 * Several files: use convert<> instead of atoi,strToXXX and friends
1218 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1220 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1221 holds the contents of packages.lst. New functions getAvailable
1222 and isAvailable to parse and check that list, resp.
1226 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1228 * bufferparams.[Ch]: new param output_changes.
1230 * Buffer.C: increase file format to 240.
1231 Use output_changes and isVailable.
1235 * paragraph_pimpl.C: Use output_changes and isVailable.
1237 2005-01-23 Angus Leeming <leeming@lyx.org>
1239 * output_latex.C: #include "insetbibitem.h", rather than
1240 forward declare function bibitemWidest.
1242 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1244 * lyx_main.C (init): make it compile on the Mac.
1246 2005-01-20 Angus Leeming <leeming@lyx.org>
1248 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1249 (setLyXMisc): (char string literal) != (char string literal) is
1250 performing a comparison on the addresses. Convert one operand
1251 explicitly to string to guarantee expected behaviour.
1254 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1257 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1259 * output_plaintext.C: remove unneeded #include gzstream.h.
1261 2005-01-20 Angus Leeming <leeming@lyx.org>
1263 * SpellBase.h: rename some of the elements of the Result enum.
1270 * pspell.C (check): ditto
1272 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1274 * buffer.C: add #include <fstream>.
1276 * lyx_main.C (init): Compile fix.
1278 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1280 2005-01-20 Angus Leeming <leeming@lyx.org>
1282 * mover.h: change commentary to reflect the changed meaning of
1283 the $$s placeholder.
1285 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1287 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1289 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1291 2005-01-20 Angus Leeming <leeming@lyx.org>
1293 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1294 printing diagnostic data by not dereferecing an iterator past the
1297 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1299 * buffer.C (readHeader): use "&&" rather than "and".
1301 * lyxserver.h (inPipeName, outPipeName): make these const.
1303 2005-01-19 Angus Leeming <leeming@lyx.org>
1305 * lyx_main.C (error_handler, init): protect SIGHUP with
1306 #ifdef SIGHUP guards.
1308 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1310 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1312 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1314 * text.C (setHeightOfRow): add a margin at the top and bottom of
1315 the document (bug 1761)
1317 2005-01-17 Angus Leeming <leeming@lyx.org>
1319 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1320 with "python ". Workaround for a brain-dead Windows.
1322 2005-01-16 Angus Leeming <leeming@lyx.org>
1324 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1325 for MacOSX and Windows to use prependEnvPath.
1326 Strip out the hard-coded block to add elements to the PATH for
1327 MacOSX and replace it with a call to prependEnvPath using the
1328 contents of LyXRC::path_prefix.
1329 (queryUserLyXDir): strip out the code to run reconfigure, instead
1330 returning a boolean indicating the necessity to do so.
1331 (reconfigureUserLyXDir): contains the code to reconfigure the
1332 user support directory. Is now called after the various LyXRC data
1333 files have been read.
1335 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1337 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1339 * converter.[Ch] (convert): take a new parameter try_default. Use
1340 a default converter (imagemagick) if try_default is true.
1342 2005-01-13 Angus Leeming <leeming@lyx.org>
1344 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1345 os::cygwin_path_fix.
1346 (write): output LyXRC::cygwin_path_fix as necessary.
1348 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1351 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1353 2005-01-12 Angus Leeming <leeming@lyx.org>
1355 * lyx_main.C (init): set the PATH variable to include the
1356 directory containing the LyX binary when running on Mac or Windows.
1358 2005-01-12 Angus Leeming <leeming@lyx.org>
1360 * lyx_main.C (init): remove cruft that purports to set the locale
1361 dir. It doesn't and is not needed anyway.
1363 2005-01-10 Angus Leeming <leeming@lyx.org>
1365 * Makefile.am: remove the lyx_main.C special casing.
1367 * BufferView_pimpl.C:
1373 * messages.C: use support/package.h to provide the paths to the
1374 various directories used by LyX.
1376 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1378 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1379 layout if pasting into an empty paragraph)
1381 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1383 * tex-accent.C: add <string>
1385 2005-01-06 José Matos <jamatos@lyx.org>
1387 * ParagraphParameters.C (write): put every parameter in its own line.
1388 * paragraph.C (write): reduce number of consecutive empty lines exported.
1389 * buffer.C (LYX_FORMAT): increase file format to 239.
1391 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1393 * everywhere: change support/tostr.h -> support/convert.h
1395 * tabular.C: make all write_attributes templates, tostr -> convert
1397 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1398 (emptyTag): and -> &&, and fix type for ret from getChar
1399 (getFirstWord): fix type for ret from getChar
1400 (onlyText): and -> &&
1401 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1404 * toc.C (goTo, action):
1405 * text3.C (dispatch):
1406 * text.C (currentState):
1407 * tex-accent.C (DoAccent):
1410 * lyxfunc.C (menuNew):
1411 * lyxfinc.C (replace):
1412 * counters.C (laberItem):
1413 * bufferview_funcs.C (font2string):
1414 * bufferparams.C (writeFile):
1415 * buffer.C (readFile):
1417 * MenuBackend.C: tostr -> convert
1419 * LaTeX.C (runMessage): fix format
1420 (scanAuxFiles): tostr -> convert
1422 * BufferView_pimpl.C (savePosition): fix format
1423 (restorePosition): ditto
1426 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1428 * Spacing.[Ch]: New method getValueAsString().
1432 * ParagraphParameters.C:
1435 * text3.C: store/read spacing value as string.
1437 * rowpainter.C: change float value (spacing_val) to double.
1439 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1440 broken custom document spacing).
1442 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1444 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1445 namespace, also more use of temp references and const
1447 * cursor.[Ch] (getStatus): move to lyxfunc.C
1449 * bufferparams.C: reformat slightly
1451 * bufferview_funcs.C (font2string): constify arg
1457 * buffer_funcs.C: (many funcs): constify arg on function
1458 definitions, also make more local vars const, also add ASSERTS on
1461 * buffer.C (LYX_FORMAT): put const in correct place
1462 (many funcs): constify arg on function definitions, also make
1463 more local vars const
1465 * aspell_local.h: remove "struct" from typdef setup
1467 * aspell.C (check): make word_ok const
1468 (nextMiss): simplify slightly
1471 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1473 * lyxrc.[Ch]: store all float values as strings.
1474 use int (not float) for lyxrc.dpi.
1476 2005-01-04 Angus Leeming <leeming@lyx.org>
1478 * lyx_cb.C (Reconfigure):
1479 * lyx_main.C (queryUserLyXDir):
1480 to run the <system_lyxdir>/configure correctly on Windows, prefix
1481 the path to the script with "sh " when generating the string that
1482 is passed to system().
1484 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1486 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1488 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * lyxlength.C (asLatexString): get rid of setprecision
1492 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1494 * text2.C (setLayout): remove unused variable endpit.
1495 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1497 * paragraph.C (onlyText): remove unused variable style.
1499 * cursor.C (bruteFind): remove unused variables beg and end.
1501 * Makefile.am (dist_noinset_DATA): not needed anymore
1503 * cheaders/*: remove.
1505 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1507 * text3.C: fix LFUN_MATH_MODE.
1509 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * buffer_funcs.C (countWords): new function. Counts words between
1514 * BufferView_pimpl.C (getStatus, dispatch): handle
1517 * LyXAction.C (init):
1518 * lfuns.h: add LFUN_WORDS_COUNT.
1520 2004-12-19 Angus Leeming <leeming@lyx.org>
1522 * buffer.C (save): s/slashify_path/internal_path/.
1524 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1526 * lyxfind.C (findChange): do not search for end of pars, because
1527 the change tracker cannot handle this (fixes bug 1719).
1529 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1531 * paragraph.[Ch] (autoBreakRows): remove
1533 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1535 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1536 avoid using the paragraph one
1538 * text2.C (LyXText, insertStringAsLines): adjust
1540 2004-12-16 Angus Leeming <leeming@lyx.org>
1544 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1546 2004-12-14 Angus Leeming <leeming@lyx.org>
1548 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1550 * bufferlist.C (emergencyWrite):
1551 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1554 2004-12-14 Angus Leeming <leeming@lyx.org>
1556 * main.C: (main): no longer pass pointers to os::init.
1558 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1560 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1561 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1563 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1566 * text3.C: remove selection_possible global flag
1568 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1570 * text2.C (getSelectionSpan): remove
1571 (changeDepth, changeDepthAllowed): adjust
1573 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1575 * Makefile.am (BOOST_LIBS): use boost variables
1577 2004-12-03 José Matos <jamatos@lyx.org>
1579 * buffer.C: format up to 238.
1581 2004-12-03 José Matos <jamatos@lyx.org>
1583 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1585 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1587 * cursor.C (goUpDown): remove call to idxUpDown2
1589 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1591 * tabular.[Ch]: use size_t-like types for cell, row and column
1594 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1596 * lyxfunc.C (getStatus): do not lose previous information when
1597 calling BufferView::getStatus; do not set a default "Command
1598 disabled" message at the beginning, but just before returning.
1600 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1602 * cursor.h (getStatus): add better comment from src/cursor.C
1604 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1606 * text3.C (getStatus): return false when the lfun is not handled
1608 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1610 * broken_headers.h: remove
1612 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1614 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1616 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1617 offset_ref accessors
1619 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1620 top_y_, merge fitcursor with update
1621 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1623 (metrics): introduce
1624 (workAreaDispatch): adapt to new coord scheme
1625 (redoCurrentBuffer): remove
1627 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1629 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1632 * coordcache.[Ch]: add paragraph cache and helpers
1634 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1637 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1638 (targetX, setTargetX): introduce
1640 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1641 baseline -> ascent, as the rest of lyx
1643 * lyxtext.h: remove redoParagraphs, updateParPositions,
1644 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1645 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1646 have ascent/descent (ascent is ascent of first par)
1648 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1651 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1653 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1655 * pariterator.C: fix infinite loop introduced in par->pit renaming
1657 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1658 in insets and LyXText, draw two off-screen paragraphs using
1659 NullPainter, and adapt to new coord scheme
1663 * text3.C: adapt lfun handlers to the new coord scheme, which
1664 means: there's only guaranteed coord information for onscreen pars
1665 plus one above and one below. This implies that one can do search
1666 from y coordinates in the range [-1,workHeight]
1668 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1670 * rename a lot of InsetOld to InsetBase
1672 2004-11-25 Angus Leeming <leeming@lyx.org>
1674 * BufferView_pimpl.C:
1676 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1678 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1680 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1681 call BufferView::getStatus if LCursor::getStatus did nothing
1682 (setStatusMessage, getStatusMessage): removed.
1684 * FuncStatus.C (message): new methods. Used to provide an error
1685 message indicating why a command is disabled.
1686 (clear, |=, FuncStatus): update for message.
1688 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1690 * lyxfunc.C (dispatch): always call sendDispatchMessage
1692 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1695 * BufferView_pimpl.C:
1700 * cursor_slice.[Ch]:
1703 * paragraph_funcs.C:
1709 * undo.C: par->pit renaming
1711 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1713 * tabular.C (cellstruct): use initialization, store a shared_ptr
1714 to insettext instead of the insettext directly, adjust to fit.
1715 (operator=): new function
1716 (swap): new function
1717 (rowstruct): use initialization
1718 (columnstruct): use initialization
1719 (ltType): use initialization
1722 * lyxlength.h (swap): new function
1724 * LColor.[Ch] (operator=): use the common semantics
1726 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1728 * lyxfind.C (findNextChange): update the bufferview after setting
1731 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1733 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1734 number of InsetOptArgs has already been inserted.
1736 * output_latex.C (latexOptArgInsets): new method. This outputs all
1737 the optarg insets, up to the limit defined in the layout file.
1738 (optArgInset): removed
1739 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1741 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1743 * paragraph.C (isLetter): remove special spellchecker-related
1744 code; return true also for digits
1745 (isWord, isKomma): remove
1747 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1748 * lyxfind.C (MatchString()): use isLetter instead of isWord
1750 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1752 * pariterator.h (operatir=): comment out un-implemented member
1755 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1758 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1760 * lyxfont.h: include LColor.h to satisfy concept checks.
1762 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1764 * pariterator.h: add typdefs for value_type, difference_type,
1765 pointer and reference to satisfy concept checks. Also add default
1766 constructor for same reason.
1768 * pariterator.C (operator++): add post-increment operator to
1769 satisfy concept checks.
1771 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1774 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1776 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1777 checks. Also rename base_type to BaseType to follow naming
1780 * FloatList.h: include Floating.h to satisfy concept checks.
1782 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1784 * lyxfunc.C (getStatus): when the origin of the request is menu or
1785 toolbar, and the LyXView does not have focus, do as if there was
1786 no buffer (bug 1720)
1788 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1789 FuncRequest to individual entries of LFUN_SEQUENCE
1791 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1793 * output_latex.C (TeXOnePar): override runparams.moving_arg
1794 according to the needprotect value of the current paragraph (bug
1797 * paragraph.C (simpleTeXOnePar): no need to override
1798 runparams.moving_args here
1800 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1802 * vspace.C: fix off-by-one-error, related to fix #1682
1804 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1806 * lengthcommon.C: a more general fix for bug 1682
1808 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1810 * text.C (backspace): fix crash
1812 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1814 * format.[Ch] (getFormatFromFile): new method
1815 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1817 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1819 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1821 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1823 * lyxfunc.C (dispatch): remove the verbose argument
1824 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1827 * kbmap.C (defkey): set the origin of func to KEYBOARD
1829 * MenuBackend.C (MenuItem):
1830 * ToolbarBackend.C (add): set the origin of func to UI
1832 * funcrequest.[Ch]: add origin member, which indicates which part
1833 of LyX requests an action
1835 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1837 * converter.C (move): don't lie in the error message
1838 * converter.h (isReachable, move): document
1840 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1842 * buffer.C: remove unused using lyx::support::atoi
1843 * paragraph_funcs.C: ditto
1845 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1847 * bufferlist.C (exists): use bind and equal_to instead of
1850 * lyxtextclasslist.C (NumberOfClass): ditto
1852 * cursor.C (insert): use for_each instead of explicit for loop
1854 * bufferlist.C (getFileNames): use std::transform and
1855 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1857 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1860 * buffer.C (changeLanguage): use for_each instead of explicit for
1862 (hasParWithID): implement using getParFromID
1864 * LaTeXFeatures.C: ws change only
1866 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1869 * BufferView_pimpl.C (trackChanges): use for_each instead of
1872 2004-11-04 André Pönitz <poenitz@gmx.net>
1875 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1877 * dociterator.C (asDocIterator): use hard assert again.
1879 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1881 * lyxlength.C (asLatexString): rewrite so that it does not use
1884 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1886 * text3.C (specialChar, dispatch): make sure cursor moves to the
1887 right after inserting an inset
1889 2004-11-02 José Matos <jamatos@lyx.org>
1891 * output_docbook.C (docbook):
1892 * paragraph.C (getID):
1893 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1894 garantee that the output is always legal.
1896 * tabular.C (docbook):
1897 * outputprams.[Ch]: remove mixed contents.
1899 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1901 * text2.C (setCounter): prevent endless loop
1903 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1905 * exporter.C (copyFile): use the mover instead of support::copy()
1906 * exporter.C (Export): pass format and latex name to copyFile()
1907 * exporter.h (addExternalFile): document
1908 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1910 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1912 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1914 2004-10-30 José Matos <jamatos@lyx.org>
1916 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1917 text and no inset or font change. This allows to use CDATA
1918 sections just for the whole paragraph.
1920 2004-10-30 José Matos <jamatos@lyx.org>
1922 * paragraph.C (getFirstWord): remove unused variable.
1924 2004-10-30 José Matos <jamatos@lyx.org>
1926 * paragraph.C (getFirstWord): the content should always be escaped
1928 (simpleDocBookOnePar):
1929 * output_docbook.C (makeEnvironment): replace reference to CDATA
1932 2004-10-30 José Matos <jamatos@lyx.org>
1934 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1936 2004-10-30 José Matos <jamatos@lyx.org>
1938 * output_docbook.C (makeParagraphs):
1939 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1940 standard paragraph has only a given type of content drop the wrapper.
1942 2004-10-29 José Matos <jamatos@lyx.org>
1944 * output_docbook.C (makeEnvironment):
1946 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1948 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1950 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1951 (cleanID): sanitize any id.
1953 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1955 * buffer.C, lyxlex_pimpl.C:
1956 * lyxlex_pimpl.C (setFile):
1957 s/getExtFromContents/getFormatFromContents/
1959 2004-10-28 José Matos <jamatos@lyx.org>
1961 * output_docbook.C (makeEnvironment): move id to broadest possible
1964 * sgml.C (openTag): apply substitution of <> for all attributes.
1966 2004-10-28 José Matos <jamatos@lyx.org>
1968 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1969 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1970 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1972 * sgml.[Ch]: new version for open and closeTag for paragraph and
1973 for strings. Now they handle the ids of paragraphs.
1975 2004-10-26 Angus Leeming <leeming@lyx.org>
1977 * Makefile.am: add mover.[Ch].
1979 * converter.C (convert, move): use the new Movers to move external
1980 files to the temp directory.
1982 * lyx_main.C (init): ensure that the global system_movers data
1985 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1988 * mover.[Ch]: new files, defining a Mover as a utility to move an
1989 external file between directories and, if necessary, manipulate this
1990 file using a helper script.
1992 2004-10-25 José Matos <jamatos@lyx.org>
1994 * output_docbook.C (makeCommand): merge two if's that tested the
1997 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1999 * sgml.C (escapeString): fix warning in a better way
2001 2004-10-25 José Matos <jamatos@lyx.org>
2003 * sgml.C (escapeString): import the require boosts header file for
2004 tie, and avoid a signed unsigned comparison.
2006 2004-10-25 José Matos <jamatos@lyx.org>
2008 * sgml.h: add #include <string>
2010 2004-10-25 José Matos <jamatos@lyx.org>
2012 * sgml.[Ch] (escapeString): new function to escape all the string.
2014 2004-10-24 José Matos <jamatos@lyx.org>
2016 * paragraph.[Ch] (getFirstWord): new function to get the first
2017 word. Useful for description.
2018 (simpleDocBookOnePar): remove depth argument, add another that
2019 says where to start the paragraph.
2021 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2022 use the new functions to fix cleanly the support for descriptions.
2024 2004-10-24 José Matos <jamatos@lyx.org>
2026 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2027 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2028 * output_linuxdoc.C (linuxdocParagraphs):
2029 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2030 add buffer as argument.
2032 2004-10-24 José Matos <jamatos@lyx.org>
2034 * output_docbook.C (makeEnvironment, searchEnvironment): place
2035 CDATA inside paragraphs and fix scope for listitems.
2037 2004-10-24 José Matos <jamatos@lyx.org>
2039 * output_docbook.C: remove using statement for stack.
2041 2004-10-23 José Matos <jamatos@lyx.org>
2043 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2044 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2045 docbook. The new scheme is recursive and makes use of iterators, the
2046 same as latex export works.
2047 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2048 directly with the paragraph contents. This code was moved up to
2049 output_docbook.C (docbookParagraphs).
2050 * sgml.C (openTag, closeTag): removed unneeded newlines.
2051 (closeEnvTags) removed.
2053 2004-10-23 André Pönitz <poenitz@gmx.net>
2055 * undo.C (textUndoOrRedo):
2056 * dociterator.C (asDocIterator): work around crash
2058 * cursor.C (getStatus): replace ASSERT by more verbose error message
2059 and manual correction of the problem. Should increase stability
2060 while providing more sensible information.
2062 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2064 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2066 * bufferlist.C (previous, next): new methods
2069 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2071 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2073 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2074 entities to preamble.
2076 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2078 * messages.C (Pimpl): strip off translation context information
2080 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2082 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2083 the cursor is correct (bug 1694)
2085 2004-10-13 José Matos <jamatos@lyx.org>
2087 * output_docbook.C (docbookParagraphs): fix closing tags in the
2088 end of the document.
2090 2004-10-09 José Matos <jamatos@lyx.org>
2092 * buffer.C: format up to 237.
2093 * bufferparams.C (write): use tostr to convert booleans to strings.
2095 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2097 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2099 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2101 * LaTeX.C: implement use of babel language in xindy.
2103 2004-10-05 José Matos <jamatos@lyx.org>
2105 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2106 Add new translators to help reading and writing the lyx file.
2108 2004-10-05 José Matos <jamatos@lyx.org>
2110 * ParagraphParameters.C (read):
2111 * text.C (readParToken): replace nexToken by more appropriate lex
2114 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2116 * LaTeX.C (runMakeIndex):
2117 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2118 (usually 'makeindex') configurable.
2120 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2121 with a variable rather than with a number.
2123 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2125 * output_latex.C (TeXOnePar): make sure font setting is the first
2126 thing that gets output (and the last at the end). Should fix bug
2129 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * pch.h: use proper signal include
2133 * LaTeX.h: Use preferred calling of Boost.Signal
2136 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * pch.h: dont include <boost/function/function0.hpp>
2140 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2142 * paragraph_pimpl.h: remove usage of ShareContainer
2144 * paragraph_pimpl.C: remove initialization of ShareContainer.
2146 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2150 * BufferView.C (putSelectionAt): change the semantics when
2151 backwards == true: now, this just swaps cursor and anchor wrt the
2154 * BufferView.h (putSelectionAt): add some documentation
2156 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2157 make sure backwardChar is done at least once (to avoid getting
2159 (findNextChange): use putSelectionAt in the forward direction
2160 (operator()): use Paragraph::isWord
2162 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2164 * Spacing.C (set): c_str fix
2166 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2168 * lyx_cb.C (Reconfigure): quote the name of configure script in
2169 case it contains spaces
2171 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2176 (BOOST_LIBS): use top_buildir when looking for the file
2178 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * pch.h: do not use include boost/format.hpp, multiple symbols
2181 will result (gcc bug)
2184 2004-08-23 José Matos <jamatos@lyx.org>
2186 * bufferparams.C (readToken): fix reading of the author field.
2188 2004-08-20 José Matos <jamatos@lyx.org>
2190 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2192 2004-08-20 José Matos <jamatos@lyx.org>
2194 * lyxlex.[Ch] (findToken): remove function.
2196 * ParagraphParameters.C (findToken):
2197 * bufferparams.C (findToken): replace call for previous function
2198 with local copy. This local function has one more argument, the
2199 read string argument.
2201 2004-08-16 José Matos <jamatos@lyx.org>
2203 * ParagraphParameters.C (write):
2204 * Spacing.C (writeFile):
2205 * bufferparams.C (writeLaTeX):
2206 * lyx_cb.C (Reconfigure):
2207 * paragraph.C (write):
2208 * tabular.C (write): remove unnecessary space at end of line.
2211 2004-08-16 José Matos <jamatos@lyx.org>
2213 * text.C (readParagraph): remove debug message.
2215 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2217 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2220 * output_plaintext.C (asciiParagraph): set depth correctly
2222 * outputparams.h: add member depth
2224 * paragraph_funcs.C (ownerPar): remove.
2226 * text2.C (setCounter): remove first_pit; comment out some
2227 non-working code that uses ownerPar
2229 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2232 2004-08-16 José Matos <jamatos@lyx.org>
2234 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2235 For the same level of importance use the same chanel to report problems.
2236 (read): add code to deal with \begin_body and \end_body.
2239 2004-08-15 José Matos <jamatos@lyx.org>
2241 * lyxlex.C (getString): fix comment, buffer::readBody is now
2242 buffer:readDocument.
2244 * tex-strings.C (string_papersize): Default -> default,
2245 Custom -> custom, for consistency with other options.
2247 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * Makefile.am: support pch
2253 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * text.C (readParToken): remove the static LyXFont variable and
2256 pass it as a parameter instead. This fixes a nasty bug where an
2257 inset will be inserted with a bad font in some situations
2258 (readParagraph): adapt
2260 * text2.C (setCounter): reduce number of calls to pars_[pit]
2262 * text.C (singleWidth): add an assert, fix a test
2264 * rowpainter.C (paintText): reduce number of calls to singleWidth
2266 * paragraph.C (isHfill):
2267 (isNewline): ws only
2269 2004-08-14 André Pönitz <poenitz@gmx.net>
2274 * lyxtext.h (several functions): use a Paragraph & argument
2277 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2279 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2281 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2283 * text.C (singleWidth): remove useless test
2285 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2287 * tabular.h: remove bogus comments
2289 * tabular.C (getDescentOfRow):
2290 (isPartOfMultiColumn): add assertions
2292 * lyxlength.C (inPixels): remove #warning
2294 2004-08-14 André Pönitz <poenitz@gmx.net>
2296 * paragraph.h: inline getChar()
2298 * BufferView.h: remove unused declarations
2300 2004-08-14 José Matos <jamatos@lyx.org>
2302 * Buffer.[Ch] (readDocument): new name for old readBody.
2303 * Buffer.C: new file format, new keywords: \begin_document,
2304 \begin_header, \begin_body, \end_body.
2306 * bufferparams.C (readToken): replace all calls to lex.nextToken
2307 by lex.next(). Do the same to eatLine except where really needed.
2309 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2310 line when writing to the lyx file.
2312 * output_plaintext.C (asciiParagraph): fix Bibliography style
2315 * text.C (read): fix end of file handling.
2317 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2319 * MenuBackend.C (Menu::operator[]): new method to access
2320 individual menu items
2321 (Menu::hasFunc): new method. search for an item that corresponds
2323 (MenuBackend::specialMenu): new method
2324 (MenuBackend::expand): if a special menu has been set, skip
2325 entries whose func() appears in this menu
2327 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2329 * text3.C: use Debug::DEBUG a bit more
2331 * text.C (leftMargin): try to simplify a tiny bit change var x to
2332 l_margin. Dont output the wide margins always.
2333 (rightMargin): no margin in inner texts
2335 * rowpainter.h (nestMargin): new func
2336 (changebarMargin): new func
2337 (rightMargin): new func
2339 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2343 * factory.C (createInset): modify setDrawFrame
2345 * cursor.C: use Debug::DEBUG a bit more
2347 2004-08-14 André Pönitz <poenitz@gmx.net>
2350 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2351 cache for all insets in (at least partially) visible (top-level)
2354 * BufferView_pimpl.C: reset external coord cache before every update.
2355 This means the coord cache only contains valid entries.
2357 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2360 * BufferView_pimpl.C (getInsetByCode): move function out of class
2361 and change in to a template in anon namespace. Also fix to do what
2364 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2367 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2369 (breakParagraph): rename par to par_offset and use a local
2370 reference. Add code to keep the language over a rebreak.
2371 (breakParagraphConservative): rename par to par_offset, use a
2373 (mergeParagraph): ditto
2375 (isFirstInSequence): ditto
2376 (outerFont): rename pit to par_offset
2378 * paragraph.C: ws change
2379 * paragraph.h: ditto
2383 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2388 * paragraph.C (simpleTeXOnePar): when we have a \item with
2389 optional argument, enclose the argument with curly brackets (in
2390 case it contains a closing square bracket)
2394 * text3.C (checkInsetHit): constify
2396 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2398 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2399 documents (bug 1629)
2401 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2403 Fix toggling of collapsable insets with the mouse (bug 1558)
2405 * lyxfunc.C (dispatch): adapt to LCursor changes
2407 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2408 make sure that dispatch is not invoked twice
2410 * cursor.C (needsUpdate): new method
2411 (dispatch): return void
2412 (result): new method, to access the DispatchResult of the cursor.
2414 2004-08-13 José Matos <jamatos@lyx.org>
2416 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2418 2004-08-13 André Pönitz <poenitz@gmx.net>
2420 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2422 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2425 2004-08-12 André Pönitz <poenitz@gmx.net>
2427 * text3.C: take out the 'cursor right' form insertInset and only
2428 do it in those places when it is really needed. Fixes crash on
2431 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2435 * BufferView_pimpl.C (setBuffer): initialize the current font of
2436 the underlying LyXText
2438 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2440 * kbsequence.C (print): use UI native formatting for menu
2443 * text.C (insertChar): call Paragraph::insertChar with a font
2446 * paragraph.C (insertInset, insertChar): the version that takes a
2447 LyXFont argument is now a wrapper around the other one (the
2448 opposite used to be true).
2450 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2451 argument. Font setting is done in Paragraph now.
2453 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2455 * outputparams.h: add new members intitle and lang.
2457 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2458 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2460 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2462 * text3.C (dispatch): remove special handling of button 4 and 5,
2463 it is now taken care of in the frontend code.
2465 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2467 * Spacing.h: add <string> (STLPort compile fix)
2469 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2471 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2473 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2478 * converter.C (showMessage): inherit from unary_function, make
2481 * buffer.C (writeFile): initialize retval
2483 * InsetList.h: rename private variable list to list_
2484 * InsetList.[Ch]: adjust accordingly.
2486 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2488 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2489 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2490 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2491 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2492 * ParagraphParameters.C, LaTeXFeatures.C: replace
2493 "support/std_sstream.h" with <sstream>
2495 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2498 * lyxsocket.C (LyXServerSocket): ditto
2499 (serverCallback): ditto
2501 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2503 * LaTeXFeatures.C: check release date when loading jurabib.
2505 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * lyxserver.C (startPipe): call register_socket_callback
2508 (endPipe): call unregister_socket_callback
2510 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2513 (LyXServerSocket): register the callback
2514 (LyXServerSocket): unregister the callback
2515 (fd): delete function
2516 (serverCallback): improve error checking and setup the callbacks.
2517 (dataCallback): change arg to fd.
2518 (writeln): new func (copied fro the client socket) used for server
2520 (LyXDataSocket): simplify
2521 (~LyXDataSocket): close ann unregiser callback
2522 (server): delete function
2523 (fd): delete function
2524 (readln): small changes, improve some std::string usage
2525 (writeln): constify a bit
2527 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2529 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2532 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2534 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2535 after it has been populated
2537 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2539 * text2.C (insertInset): move cursor when inserting inset.
2541 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2543 * kbmap.C (findbindings): a couple of new methods. returns a
2544 container of kb_sequence objects. The real work is done by the
2545 private recursive version
2546 (printbindings): uses findbindings to print out a bracketed list
2547 of bindings (renamed from findbinding).
2549 * MenuBackend.C (binding): use kb_keymap::findbindings
2551 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2553 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2555 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2557 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2559 * paragraph.C (isWord): return true on insets that report
2562 * text.C (getWord): use Paragraph::isWord to decide what is in a
2563 word and what is not; fix bug 1609.
2565 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2567 * tex-strings.C: add "none" to string_paperpackages[], fixes
2568 off-by-one-error in the paperpackage selection.
2571 * tex-strings.[Ch]: char const * string[n]
2572 -> char const * const string[]
2574 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2576 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2577 command, return early.
2579 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * debug.h: add DEBUG to enum and fix size of ANY.
2583 * debug.C: add support for Debug::DEBUG
2584 (showTags): cast errorTags.level to unsigned int
2586 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2587 (redoCurrentBuffer): ditto
2588 (updateScrollbar): ditto
2589 * cursor.C (dispatch): ditto
2590 * text2.C (setLayout): ditto
2592 (updateCounters): ditto
2594 (deleteEmptyParagraphMechanism): ditto
2596 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2598 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2599 annotations to cleanup the Makefile slightly.
2601 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2603 * lyxrc.C: do not set user_email to a default value but use empty
2604 instead. The entry used to be translated, which does not work
2605 since at the point where lyxrc is constructed there is no
2606 translation service available
2608 * messages.C (getLocaleDir): remove and use directly
2609 lyx_localedir() instead
2611 2004-06-02 Angus Leeming <leeming@lyx.org>
2613 Fix crash caused by dereferencing null pointer 'exportdata' in
2614 OutputParams by creating a new ExportData variable on the heap,
2615 storing it in a boost::shared_ptr.
2616 The crash was triggered when generating an Instant Preview
2617 of an external inset.
2619 * Makefile.am: add outputparams.C
2621 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2622 (c-tor): allocate memory to it.
2624 * exporter.C (c-tor): associated changes.
2626 2004-06-01 Angus Leeming <leeming@lyx.org>
2628 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2629 contains data before calling isInset(0). (Bug 1513.)
2631 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2633 * exporter.C (checkOverwrite): new method
2634 * exporter.C (copyFile): new method
2635 * exporter.C (Export): copy referenced files to the document dir
2636 * exporter.[Ch]: new class ExportedFile
2637 * exporter.[Ch]: new class ExportData. Contains currently the
2638 names of referenced external files
2639 * outputparams.h: add exportdata member.
2641 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2646 2004-05-19 Angus Leeming <leeming@lyx.org>
2651 * lyxfunc.C: small changes due to the introduction of namespace
2652 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2654 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2656 * text3.C (dispatch): supress update when only moving the cursor
2657 * cursor.C (selHandle): remove commented code
2659 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2661 * paragraph.C (startTeXParParams): correct column count
2662 * CutAndPaste.C (pasteSelection): remove const_cast
2663 * output_docbook.C (docbookParagraphs): remove const_cast
2664 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2665 const_cast and return ParagraphList::const_iterator
2666 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2667 * output_plaintext.C (writeFileAscii): remove const_cast
2668 * paragraph.[Ch] (simpleTeXOnePar): make const
2669 * paragraph_funcs.C (outerPar): use const iterators
2670 * paragraph_pimpl.C (validate): use const iterators
2671 * text.C (setHeightOfRow): use const iterators
2673 2004-05-17 Angus Leeming <leeming@lyx.org>
2676 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2678 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2679 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2680 if the citation engine has changed.
2682 2004-05-14 José Matos <jamatos@lyx.org>
2684 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2685 if the textclass does not provide it. Have it different for sgml and
2687 support the language of document.
2688 * output_docbook.C (docbookParagraphs):
2689 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2690 first anchor as the id of the paragraph, remove special case code.
2691 * sgml.C (escapeChar): escape only < & >.
2693 2004-05-14 Angus Leeming <leeming@lyx.org>
2695 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2696 dependencies on src/frontends/controllers/biblio.h. Define a
2697 CiteEngine_enum wrapper class to enable the enum to be forward
2700 2004-05-12 Angus Leeming <leeming@lyx.org>
2702 * buffer.C: up LYX_FORMAT to 234.
2703 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2704 use_numerical_citations with a single biblio::CiteEngine cite_engine
2706 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2708 2004-05-13 José Matos <jamatos@lyx.org>
2711 * converter.C (Converter, readFlags): add xml member.
2712 * outputparams.h: add XML flavor.
2713 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2715 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2717 * lyxfunc.C (dispatch):
2718 (getStatus): fix handling of LFUN_SEQUENCE
2720 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2722 * debug.C (showLevel): do not forget the end-of-line marker
2724 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2726 * kbmap.C (read): do not stop parsing a bind file when an error
2729 2004-04-29 Angus Leeming <leeming@lyx.org>
2734 * text2.C: wrap a bunch of #warning statements
2735 inside #ifdef WITH_WARNINGS blocks.
2737 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2739 * buffer.C: increment format to 233.
2741 2004-04-28 Angus Leeming <leeming@lyx.org>
2743 * BufferView_pimpl.C:
2746 s/updateToolbar()/updateToolbars()/
2747 s/Toolbar.h/Toolbars.h/
2749 2004-04-28 Angus Leeming <leeming@lyx.org>
2751 * BufferView.[Ch] (c-tor):
2752 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2753 No longer passes these data to the WorkArea generator.
2755 2004-04-28 Angus Leeming <leeming@lyx.org>
2757 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2759 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2761 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2763 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2765 * output_latex.C (TeXEnvironment): make sure that there is a line
2766 break before \end{foo} for the last paragraph of a document
2767 (TeXOnePar): if the paragraph is at the end of the document (or
2768 inset) and the language has to be reset, then make sure that the
2769 line break is _before_ the language command, not after (fixes bug
2770 1225); also make sure that the language reset command is the first
2771 thing after the paragraph (to ensure proper nesting of
2772 environments and thus fix bug 1404)
2774 2004-04-21 John Levon <levon@movementarian.org>
2777 * ToolbarBackend.C: make "name" be a programmatic name
2778 and a gui_name field.
2780 * lyxfunc.C: display the minibuffer on M-x
2782 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2784 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2787 2004-04-19 Angus Leeming <leeming@lyx.org>
2789 * BufferView_pimpl.C (setBuffer): changed preview interface.
2791 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2794 2004-04-19 John Levon <levon@movementarian.org>
2796 * BufferView_pimpl.C:
2797 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2799 2004-04-05 Angus Leeming <leeming@lyx.org>
2801 * text.C (redoParagraphs): add call to updateCounters(), thereby
2802 fixing the missing "Figure #:" label from the caption of a
2805 2004-04-13 Angus Leeming <leeming@lyx.org>
2807 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2808 cursor is clicked out of an inset.
2810 2004-04-13 Angus Leeming <leeming@lyx.org>
2812 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2813 than an InsetOld one.
2815 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2817 * format.[Ch]: add editor to Format
2818 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2819 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2821 2004-04-08 André Pönitz <poenitz@gmx.net>
2823 * metricsinfo.h: remove PainterInfo::width member
2825 2004-04-08 Angus Leeming <leeming@lyx.org>
2827 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2828 "\providecommand" rather than "\newcommand", thereby preventing
2829 clashes with packages that define "\boldsymbol" themselves.
2832 2004-04-08 Angus Leeming <leeming@lyx.org>
2834 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2835 thereby squashing an unnecessary warning.
2837 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2839 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2842 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2844 * BufferView.C (setCursor): call redoParagraph (some insets could
2846 (putSelectionAt): remove the 'double update' trick
2848 * BufferView_pimpl.C (fitCursor): call refreshPar
2849 (workAreaDispatch): remove an uneeded update call
2850 (dispatch): remove some manual update calls
2852 * cursor.[Ch]: remove cached_y_, updatePos
2853 (selHandle): set noUpdate when appropriate
2855 * lyxfunc.C (dispatch): track if we need an update
2857 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2859 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2860 (paintSelection): cheap optimization, do not call cursorX when not
2862 (paintPars): change signature
2865 (paintTextInset): adjust
2869 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2871 * lengthcommon.C: compilation fix: remove explicit array size from
2872 unit_name[] and friends
2874 2004-04-05 Angus Leeming <leeming@lyx.org>
2876 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2878 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2879 present only for the preferences dialog.
2880 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2882 2004-04-05 Angus Leeming <leeming@lyx.org>
2884 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2885 to enable the frontends to export changes to lyxrc correctly.
2887 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2889 2004-04-07 André Pönitz <poenitz@gmx.net>
2891 * cursor.[Ch] (selClear, adjust): remove math
2893 * cursor_slice.C: more agressive assert
2896 * BufferView_pimpl.C: rework mouse event dispatch
2903 2004-04-05 André Pönitz <poenitz@gmx.net>
2905 * cursor.[Ch] (valign, halign...): remove unneeded functions
2907 2004-04-05 Angus Leeming <leeming@lyx.org>
2909 * lyxlength.[Ch] (unit_name et al.): const-correct.
2911 2004-04-05 Angus Leeming <leeming@lyx.org>
2913 * BufferView_pimpl.C:
2922 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2924 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2926 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2928 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2930 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2931 * BufferView_pimpl.[Ch] (getStatus)
2932 * BufferView.[Ch] (getStatus): add
2933 * lyxfunc.C (getStatus): move lfuns handled in
2934 BufferView::dispatch to te function above
2935 * Cursor.C (setSelection): set selection() = true
2937 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2939 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2941 2004-03-31 Angus Leeming <leeming@lyx.org>
2943 * lyxfunc.C (dispatch): Fall through to the generic
2944 Dialogs::show("preamble").
2946 2004-03-31 Angus Leeming <leeming@lyx.org>
2948 * lyxfunc.C (dispatch): Fall through to the generic
2949 Dialogs::show("spellchecker").
2951 2004-03-31 Angus Leeming <leeming@lyx.org>
2953 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2956 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2961 * insetiterator.[Ch]:
2966 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2968 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2970 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2971 insets where we are putting the cursor.
2973 2004-03-31 Angus Leeming <leeming@lyx.org>
2976 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2978 * lyxrc.[Ch] (read, write): overloaded member functions taking
2979 a std::[io]stream arguments.
2981 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2983 2004-03-31 Angus Leeming <leeming@lyx.org>
2985 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2986 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2988 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2989 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2991 2004-03-31 Angus Leeming <leeming@lyx.org>
2993 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2994 the LFUN_ALL_INSETS_TOGGLE code.
2996 2004-03-30 Angus Leeming <leeming@lyx.org>
2998 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2999 has died. Fall through to the generic Dialogs::show("document").
3001 2004-03-30 Angus Leeming <leeming@lyx.org>
3004 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3005 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3007 * lyxfunc.C (getStatus, dispatch): define the actions for these
3008 lfuns. Little more than a cut and pste job from ControlDocument.C
3010 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3012 2004-03-30 Angus Leeming <leeming@lyx.org>
3015 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3016 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3018 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3019 open/closed state of ollapsable insets. Usage:
3021 all-inset-toggle <state> <name>, where
3022 <state> == "open" || "closed" || "toggle" and
3023 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3025 * lyxtext.h, text2.C (toggleInset): removed.
3027 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3028 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3029 now passes LFUN_INSET_TOGGLE to the found inset.
3031 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3032 is now invoked as "all-insets-toggle toggle branch".
3034 2004-03-30 Angus Leeming <leeming@lyx.org>
3038 * pariterator.[Ch]: added/corrected header blurb.
3040 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3042 * dociterator.[Ch]: add an inset_ member
3043 (backwardPos): implemented
3044 (backwardPos, forwardPos): use inset_ when the stack is empty.
3045 (doc_iterator_begin, doc_iterator_end): implemented
3046 * pariterator.[Ch]: adjust, add begin, end
3047 * insetiterator.[Ch]: adjust, add begin, end
3051 * BufferView_pimpl.C:
3052 * CutAndPaste.C: adjust
3054 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3056 * buffer.C: increment file format to 232.
3057 * LaTeXFeatures.C: add bibtopic package.
3058 * bufferparams.[Ch]: param \use_bibtopic.
3060 * lyxrc.[Ch]: add lyxrc bibtex_command
3061 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3063 * buffer.C: increment file format to 231.
3065 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3067 * dociterator.C: implement forwardPar
3068 * iterators.[Ch]: remove, replaced by
3069 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3071 * BufferView_pimpl.C:
3074 * bufferview_funcs.C:
3080 * Makefile.am: adjust
3082 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3084 * CutAndPaste.C (pasteSelection): fix 2 crashes
3085 (eraseSelection): fix a crash
3086 * paragraph_funcs.C: remove a warning
3088 2004-03-28 Angus Leeming <leeming@lyx.org>
3091 * LyXAction.C (init): new LFUN_PRINT.
3093 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3095 2004-03-27 Angus Leeming <leeming@lyx.org>
3098 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3100 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3102 2004-03-27 Angus Leeming <leeming@lyx.org>
3104 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3105 insetlist always contains non-null pointers to insets.
3107 2004-03-26 Angus Leeming <leeming@lyx.org>
3109 * src/BufferView_pimpl.C:
3110 * src/CutAndPaste.C:
3113 * src/output_plaintext.C:
3114 * src/outputparams.h:
3115 * src/paragraph_funcs.C:
3119 * src/frontends/controllers/ControlErrorList.C:
3120 * src/frontends/gtk/FileDialogPrivate.C:
3121 * src/frontends/gtk/GPainter.C:
3122 * src/frontends/gtk/GToolbar.C:
3123 * src/frontends/qt2/QRef.C:
3124 * src/mathed/math_scriptinset.C: squash compiler warnings.
3126 2004-03-26 Angus Leeming <leeming@lyx.org>
3128 * ispell.C (LaunchIspell::start):
3129 * lyx_cb.C (AutoSaveBuffer::start):
3130 invoke run(DontWait) rather than runNonBlocking().
3132 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3134 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3136 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3138 * kbsequence.C (print): adjust
3140 * kbmap.C (printKeySym): rename and change signature
3141 (printKey): use LyXKeySym::print()
3143 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3145 * undo.C: add using std::advance to compile for stlport
3147 2004-03-24 Angus Leeming <leeming@lyx.org>
3149 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3150 it leads to a crash when no buffer is present.
3152 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3153 Martin Vermeer <martin.vermeer@hut.fi>
3155 * lyxfunc.C (dispatch):
3156 * bufferparams.C (readToken): use the new LColor::setColor
3158 * LColor.[Ch] (setColor): new version that takes two strings as
3159 argument and creates a new color entry if necessary
3161 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3163 * buffer.C (makeLaTeXFile): if the main latex file that is
3164 processed is usually a subdocument of some master, then pretend
3165 for a while that it is actually the master
3167 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3169 * buffer.C (getLabelList):
3170 (getBibkeyList): use getMasterBuffer()
3171 (getMasterBuffer): new method. Returns the main document in the
3172 case where one is using included documents.
3174 2004-03-25 André Pönitz <poenitz@gmx.net>
3178 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3180 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3182 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3183 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3185 * ParameterStruct.h: merge with ParagraphParameters
3187 * lyxtext.h: remove LyXText::parOffset() and getPar()
3189 * text3.C: Remove all 'manual' update calls. We do now one per user
3190 interaction which is completely sufficient.
3194 * BufferView_pimpl.C:
3195 * FontIterator.[Ch]:
3197 * ParagraphParameters.[Ch]:
3202 * cursor_slice.[Ch]:
3209 * output_docbook.[Ch]:
3210 * output_latex.[Ch]:
3211 * output_linuxdoc.[Ch]:
3212 * output_plaintext.[Ch]:
3214 * paragraph_funcs.[Ch]:
3215 * paragraph_pimpl.[Ch]:
3223 * frontends/controllers/ControlDocument.C:
3224 * frontends/controllers/ControlErrorList.C:
3225 * frontends/controllers/ControlSpellchecker.C:
3228 * insets/insetbase.h:
3229 * insets/insetbibitem.C:
3230 * insets/insetbox.C:
3231 * insets/insetbranch.C:
3232 * insets/insetcaption.C:
3233 * insets/insetcharstyle.C:
3234 * insets/insetcharstyle.h:
3235 * insets/insetcollapsable.C:
3236 * insets/insetcollapsable.h:
3237 * insets/insetert.C:
3238 * insets/insetfloat.C:
3239 * insets/insetfoot.C:
3240 * insets/insetmarginal.C:
3241 * insets/insetnote.C:
3242 * insets/insetoptarg.C:
3243 * insets/insettabular.C:
3244 * insets/insettext.C:
3245 * insets/insettext.h:
3246 * insets/insetwrap.C:
3247 * mathed/math_mboxinset.C:
3248 * mathed/math_nestinset.C:
3249 * mathed/math_scriptinset.C:
3250 * mathed/math_scriptinset.h:
3253 2004-03-24 Angus Leeming <leeming@lyx.org>
3255 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3256 deal with any child processes that have finished but are waiting to
3257 communicate this fact to the rest of LyX.
3259 2004-03-24 Angus Leeming <leeming@lyx.org>
3261 64-bit compile fixes.
3263 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3264 (c-tor): pass lyx::pos_types rather than ints.
3266 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3269 * text.C (Delete): compile fix.
3270 (getPar): ensure that function declaration is the same as that in
3273 2004-03-23 Angus Leeming <leeming@lyx.org>
3275 * ispell.C (LaunchIspell):
3276 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3277 a boost::shred_ptr rather than a std::auto_ptr.
3279 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3281 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3282 handle LFUN_FILE_INSERT_*
3284 * lyxrc.C (setDefaults, getDescription, output, read):
3285 * lyxrc.h: remove ps_command
3287 2004-03-22 Angus Leeming <leeming@lyx.org>
3289 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3290 Ensure that error_handler is processed once only and that all data
3291 is saved before attempting to output any warning messages.
3293 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3295 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3297 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3299 2004-03-19 André Pönitz <poenitz@gmx.net>
3301 * cursor.[Ch] (reset): take main text inset as argument
3303 * BufferView: adjust
3304 * BufferView_pimpl.C: adjust
3306 * paragraph.[Ch]: fix completely broken operator=()
3308 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3310 * LColor.C (getFromLyXName): make sure that the color name is used
3313 2004-03-17 Angus Leeming <leeming@lyx.org>
3316 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3318 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3319 dialog and to kill a forked process.
3321 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3323 * text2.C (setCursorFromCoordinates): fix font problem
3325 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3327 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3328 bogus "rebuild cursor" code
3330 2004-03-11 André Pönitz <poenitz@gmx.net>
3332 * buffer.[Ch]: use InsetText instead of LyXText as container for
3335 * dociterator.[Ch]: drop the BufferView * member which is not needed
3336 anymore after the change to buffer.C
3338 * paragraph_funcs.C:
3342 * BufferView_pimpl.[Ch]:
3344 * cursor_slice.[Ch]: adjust
3346 * text3.C: fix bug in mathDispatch
3348 2004-03-08 André Pönitz <poenitz@gmx.net>
3350 * undo.[Ch]: use 'StableDocumentIterator' as base for
3353 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3356 * bufferparams.[Ch]: add jurabib support and param.
3358 * LaTeX.C: add FIXME/comment.
3360 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3362 * buffer.C: increment file format to 230.
3364 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3366 * cursor.C (dispatch): avoid infinite loops
3368 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3370 * rowpainter.C (paintSelection): fix x coordinates
3372 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3374 * text.C (rowBreakPoint): fix breaking before displayed insets
3376 2004-03-01 André Pönitz <poenitz@gmx.net>
3378 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3380 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3384 * BufferView_pimpl.C:
3392 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3398 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3399 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3401 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3403 * Bidi.[Ch] (computeTables): const correctness
3404 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3405 fill_hfill, fill_label_hfill and x from Row
3406 * lyxtext.h: prepareToPrint returns a RowMetrics
3407 * rowPainter.C: adjust
3408 * text.C (prepareToPrint): use width, not textWidth. adjust
3409 (redoParagraphInternal, cursorX): adjust
3410 * text2.C (getColumnNearX): adjust
3411 (init): put a default value to the top LyXText::width
3413 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3415 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3417 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3419 * lyxtext.h: add FontIterator class
3421 * text.C (FontIterator, operator*, operator->, operator++): add
3422 (rowBreakPoint, setRowWidth): adjust (fixing a
3425 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3427 * BufferView_pimpl.C (workAreaDispatch): allow also
3428 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3430 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3432 * text.C (rowBreakPoint): fix a bug showing with very large insets
3434 2004-02-25 André Pönitz <poenitz@gmx.net>
3437 * cursor.[Ch]: move some mathed specific code to mathed
3439 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3441 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3442 use_tempdir in preferences
3443 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3445 * lyx_main.C: ensure that tempdir is valid
3446 * lyxlex.h: correct typo
3447 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3448 * paragraph.[Ch] (isMultiLingual): make const
3449 * cursor.[Ch] (openable): make const
3451 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3453 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3455 2004-02-20 André Pönitz <poenitz@gmx.net>
3457 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3459 * cursor.[Ch]: prepare for localized getStatus()
3465 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3467 2004-02-20 André Pönitz <poenitz@gmx.net>
3469 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3471 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3473 * text2.C (setCursorFromCoordinates): switch to absolute coords
3475 (cursorDown): adjust
3476 * text3.C (dispatch): adjust
3478 2004-02-16 André Pönitz <poenitz@gmx.net>
3480 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3483 * cursor_slice.[Ch]: remove unneeded acessor function
3485 * lyxtext.h: rename rtl() to isRTL()
3493 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3495 * rowpainter.C (paintSelection): coord fix
3497 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3499 * Spacing.C: compile fix
3501 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3503 * cursor.C (dispatch): restore current_ before returning
3505 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3507 * text2.C (cursorUp, cursorDown): fix coords
3510 2004-02-12 André Pönitz <poenitz@gmx.net>
3515 * text3.C: add LCursor & parameter to most cursor movement functions
3516 remove usage of LyXText::cursorRow() and cursorPar()
3518 * cursor.[Ch]: add textRow() needed members
3521 * BufferView_pimpl.C:
3524 * BufferView_pimpl.C: adjust
3526 2004-02-11 André Pönitz <poenitz@gmx.net>
3530 * BufferView_pimpl.C: shift undo/redo handling
3532 * cursor.[Ch]: fix mathed crash
3535 * lyxtext.h: move selectionAsText to LCursor
3543 * rowpainter.C: fix excessive drawing
3545 2004-02-06 André Pönitz <poenitz@gmx.net>
3548 * BufferView_pimpl.[Ch]:
3549 * text3.C: move some text specific LFUN handling
3551 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3553 * text3.C (checkInsetHit): adjust coords
3554 * text2.C (getColumnNearX): adjust coords
3555 (edit): adjust coords
3556 * text.C (getRowNearY): add two asserts
3558 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3561 * format.C: add using std::distance to compile on gcc 2.95/stlport
3563 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3565 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3567 2004-02-04 André Pönitz <poenitz@gmx.net>
3569 * BufferView.[Ch] (insertInset):
3570 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3575 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3577 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3578 on the default clause of the switch
3579 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3580 wasn't catched by LCursor::dispatch
3582 2004-02-03 André Pönitz <poenitz@gmx.net>
3585 * cursor.[Ch]: some additional asserts
3587 * undo.[Ch]: remove LyXText dependency in interface
3591 * lyxtext.h (firstPar, lastPar): remove dead functions
3596 * paragraph.[Ch]: adjust
3598 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3600 * lyxfind.C (find): fix argument order in call to ::find
3602 2004-02-02 André Pönitz <poenitz@gmx.net>
3604 * cursor.[Ch]: remove direct access to anchor
3606 * text.C: remove findText() hack
3608 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3610 * iterators.[Ch] (lockPath): remove in favour of...
3611 * BufferView.[Ch] (setCursor): this addition
3612 * BufferView.C (putSelectionAt): adjust
3613 * undo.C (performUndoOrRedo): adjust
3614 * lyxfunc.C (dispatch): adjust
3616 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3618 * iterators.C (lockPath): add a missing slice
3619 * undo.C (performUndoOrRedo): remove redundant positioning code
3621 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3623 * vc-backend.C (scanMaster): ";" -> ';'
3625 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3627 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3628 std::binary_function
3630 * lyxtextclass.C (compare_name): rename to...
3631 (LayoutNamesEqual): ...this
3633 * lyxlex_pimpl.C (compare_tags): inherit from
3634 std::binary_function, put back into anon namespace
3636 * lyxfind.C (MatchString): inherig from std::binary_function
3637 (findChange): use empty() istead of !size()
3639 * format.C (FormatNamesEqual): new functor
3646 * converter.C (compare_Converter): rename to...
3647 (ConverterEqual): ...this, and fixup a bit.
3648 (getConverter): use it, and make function const
3649 (getNumber): use it, and make function const
3653 * bufferlist.C: add using boost::bind
3655 * MenuBackend.C (MenuNamesEqual): new functor
3656 (hasMenu): use it, and make function const
3657 (hasSubmenu): use nested bind to get rid of compare_memfun.
3659 2004-01-30 André Pönitz <poenitz@gmx.net>
3661 * BufferView_pimpl.C:
3664 * cursor_slice.[Ch]:
3667 * paragraph_funcs.C:
3668 * paragraph_funcs.h:
3672 * text3.C: move some of the edit(x,y) handling to the insets
3673 some coordinate changes.
3675 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * text.C: add using statements for std::advance and std::distance
3679 * paragraph.C: add using statement for std::distance
3681 * lyxfind.C: add using statement for std::advance
3683 * cursor.C (region): remove std:: from swap
3684 (openable): use nucleus in stead of operator->
3686 * BufferView.C: add using statements for std::distance and std::swap
3688 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3690 * iterators.C: Remove the pimple, move the needed structures to
3691 the header file. Create accessor for the positions stack.
3692 (asPosIterator): remove function
3694 * PosIterator.C (PosIterator): move constructors to top of file
3695 (PosIterator): reimplement the constructor taking a ParIterator in
3697 (setFrom): new function
3698 (operator!=): inline it
3700 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3702 * lyxfind.C (replaceAll): use std::advance
3704 * iterators.h: inherit from std::iterator.
3706 * PosIterator.C (advance, distance): remove
3707 * PosIterator.h: interit from std::iterator.
3709 2004-01-26 André Pönitz <poenitz@gmx.net>
3712 * BufferView_pimpl.[Ch]:
3716 * bufferview_funcs.C:
3726 * output_linuxdoc.C:
3727 * output_plaintext.C:
3729 * paragraph_funcs.[Ch]:
3730 * paragraph_pimpl.[Ch]:
3736 * text3.C: more IU: dumps most of the rest of the mathcursor
3737 implementation into cursor.[Ch]; "globalize" a bit of it.
3739 2004-01-25 Angus Leeming <leeming@lyx.org>
3741 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3743 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3745 * LaTeXFeatures.h: add nice_ and nice() const
3746 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3748 2004-01-20 André Pönitz <poenitz@gmx.net>
3751 * BufferView_pimpl.C:
3753 * bufferview_funcs.C:
3755 * cursor_slice.[Ch]:
3766 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3767 LCursor and mathcursor parts to LCursor and InsetBase.
3769 2004-01-15 André Pönitz <poenitz@gmx.net>
3771 * cursor_slice.[Ch]: add a few covienience functions
3773 * funcrequest.[Ch]: remove BufferView * member
3775 * BufferView_pimpl.C:
3782 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3784 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3786 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3787 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3789 2004-01-13 André Pönitz <poenitz@gmx.net>
3792 * lyxtext.h: hide cursor and selection anchor behind accessor function
3795 * BufferView_pimpl.[Ch]:
3797 * bufferview_funcs.C:
3807 * cursor_slice.[Ch]: some integer type changes for inset unification
3809 * lyxcursor.[hC]: remove, it's CursorSlice now.
3812 * BufferView_pimpl.[Ch]:
3813 * bufferview_funcs.C:
3819 * textcursor.[Ch]: adjust
3821 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3823 * text2.C (undoSpan): add and use
3824 * text.C (breakParagraph): use undoSpan (fix bug 578)
3827 2004-01-08 Angus Leeming <leeming@lyx.org>
3829 * BufferView_pimpl.C (MenuInsertLyXFile):
3830 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3831 * lyxfunc.C (menuNew, open, doImport):
3832 FileFilterList change to the FileDialog open and save functions.
3834 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3836 * ShareContainer.h: make isEqual and isUnique adaptable
3838 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3840 2004-01-07 Angus Leeming <leeming@lyx.org>
3843 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3845 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3847 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3848 functions replacing find, replace and replaceAll.
3850 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3851 LFUN_WORDFIND(FORWARD|BACKWARD).
3853 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3855 * text.C (breakParagraph): remove an outdated #warning
3857 2004-01-07 André Pönitz <poenitz@gmx.net>
3859 * lyxfind.C: somewhat clearer logic
3861 * text.C: prevent crash in cursorX on unitialized row cache
3863 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3865 * lyxcursor.[Ch] (operator>): add
3866 * textcursor.C (selStart, selEnd): use std::min and std::max
3868 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3870 * Chktex.C: include boost/format.hpp
3872 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3874 * InsetList.C: replace functor MathcIt with adaptable functor
3876 (insetIterator): modify accordingly
3878 * BranchList.h: move the BranchNamesEqual functor here from...
3879 * BranchList.C: ... to here
3881 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3883 (add): replace a finding loop with std::find_if.
3885 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3887 * output_docbook.C: moving LatexParam functionality into
3890 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3892 * buffer.C: increment format to 229.
3894 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3897 * lyx_sty.[Ch]: remove minipageindent_def
3903 * text3.C: remove LFUN_INSET_MINIPAGE
3905 2003-12-28 Angus Leeming <leeming@lyx.org>
3907 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3909 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3911 * text2.C (setParagraph): fix off-by-one crash
3913 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3915 * output_docbook.C: header stuff for AGU
3917 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3919 * text2.C (redoCursor): remove
3922 * BufferView_pimpl.C: remove calls to redoCursor and
3923 setCursor(cursor.par(), cursor.pos()) all around
3925 2003-12-15 Angus Leeming <leeming@lyx.org>
3927 * buffer.C: up the format to 228.
3929 2003-12-15 André Pönitz <poenitz@gmx.net>
3931 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3936 * BufferView_pimpl.C:
3945 2003-12-15 Angus Leeming <leeming@lyx.org>
3947 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3948 than getFromGUIName to manipulate the color.
3950 2003-12-14 Angus Leeming <leeming@lyx.org>
3952 * BranchList.[Ch]: minimize the API.
3953 (Branch::getBranch, getColor): now return a 'const &'.
3954 (Branch::setSelected) now returns a bool set to true if the
3955 selection status changes.
3956 (BranchList::clear, size, getColor, setColor, setSelected,
3957 allBranches, allSelected, separator): removed.
3958 (BranchList::find): new functions, returning the Branch with
3960 (BranchList::add, remove): return a bool indicating that
3961 the operation was successful.
3963 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3964 new InsetBranch::isBranchSlected member function.
3966 * LColor.[Ch]: mimimize the API.
3967 (fill): renamed as addColor and made private.
3968 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3969 versions of these functions taking a string arg have been removed.
3971 * bufferparams.C (readToken):
3972 * lyxfunc.C (dispatch):
3973 * lyxrc.C (read): changes due to the altered BranchList and
3976 * factory.C (createInset, readInset): changes due to altered
3979 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3982 * lyxfunc.C: remove insetminipage. "minipage-insert"
3983 now produces a frameless minipage box inset.
3985 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3987 * textcursor.[Ch] (selStart,selEnd): add new methods
3988 remove selection::start, end, use LyXCursor::operator<
3989 * lyxcursor.[Ch] (operator<): add
3990 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3991 * BufferView.[Ch] (unsetXSel): add
3992 * text2.C (clearSelection): use unsetXSel,adjust
3995 * rowpainter.C: adjust
3996 * bufferview_funcs.C (put_selection_at): adjust
3998 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4000 * BufferView_pimpl.C: small coord. correction
4002 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4004 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4005 dragging over the splash screen.
4007 2003-12-11 Angus Leeming <leeming@lyx.org>
4009 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4010 as it is now handled in LyXText::dispatch.
4012 * text3.C (doInsertInset): remove a level of nesting.
4014 2003-12-11 Angus Leeming <leeming@lyx.org>
4016 * factory.C (createInset): changes due to the changed interface to
4017 InsetCommandMailer::string2params.
4019 2003-12-10 Angus Leeming <leeming@lyx.org>
4021 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4022 'dialog-show-new-inset <inset name>'
4024 2003-12-10 Angus Leeming <leeming@lyx.org>
4026 * buffer.C: up the format to 227.
4028 * factory.C: the box inset is now identified simply by 'Box'.
4030 2003-12-10 Angus Leeming <leeming@lyx.org>
4032 * buffer.C: up the format to 226.
4034 * factory.C: the note inset is now identified simply by 'Note'.
4036 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4038 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4039 when a pit is enough. Standarize a couple of loops.
4041 2003-12-05 Angus Leeming <leeming@lyx.org>
4043 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4044 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4045 data to the re-worked "log" dialog.
4047 2003-12-03 André Pönitz <poenitz@gmx.net>
4053 * paragraph_funcs.C:
4055 * text2.C: use Inset::getText instead of Inset::getParagraph
4057 2003-12-03 André Pönitz <poenitz@gmx.net>
4061 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4062 InsetText::read() as LyXText::read()
4064 2003-12-02 Angus Leeming <leeming@lyx.org>
4066 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4067 type. Add a comment in the implementation that the function uses
4068 the stream's bad() function rather than fail() as the std::streams
4071 2003-12-02 André Pönitz <poenitz@gmx.net>
4073 * lyxlex.[Ch]: make interface more similar to std::stream
4075 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4077 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4079 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4081 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4083 * vspace.[Ch]: remove VSpace::NONE
4085 2003-12-01 André Pönitz <poenitz@gmx.net>
4088 * lyxtext.h: move ParagraphList member to LyXText
4089 rename LyXText::ownerParagraphs to LyXText::paragraph
4092 * bufferview_funcs.C:
4102 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4104 * undo.C: fix cursor positioning
4106 2003-12-01 John Levon <levon@movementarian.org>
4108 * BufferView_pimpl.C: fix a crash on exit with
4111 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4113 * BranchList.C: fix setSelected() method.
4115 2003-11-28 André Pönitz <poenitz@gmx.net>
4117 * ParagraphParameters.[Ch]:
4118 * ParameterStruct.h: remove space above/below from Paragraph to
4121 * BufferView_pimpl.C:
4127 * paragraph_funcs.C:
4133 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4135 * factory.C: Syntax change for CharStyles
4137 2003-11-28 André Pönitz <poenitz@gmx.net>
4142 * buffer.[Ch]: move LyXText member
4144 2003-11-28 André Pönitz <poenitz@gmx.net>
4146 * BufferView.[Ch]: make LyXText * text a private member
4148 * BufferView_pimpl.C:
4159 * output_plaintext.C: cleanup
4161 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4164 * lyxtextclass.[Ch]: parametrize SGML document header
4166 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4169 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4172 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4174 * text2.C (setFont): rework using PosIterator (no more recursive)
4175 (setCharFont): no more needed
4176 (setLayout): no more selection cursors fiddling (done by redoCursor)
4177 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4178 destroy remaining ones)
4180 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4182 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4184 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4187 * text3.C: adjust + re-allow multi par depth changes
4188 * textcursor.C: simplify a bit
4190 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4196 * src/output_docbook.C:
4197 * src/output_latex.C:
4202 * src/text2.C: Introducing a number of tags parametrizing various
4203 XML formats that we may want to support
4205 2003-11-25 André Pönitz <poenitz@gmx.net>
4207 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4209 * lyxtext.h (leftMargin/rightMargin): simplify interface
4216 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4218 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4219 master file to any child files. Fixes bug 546.
4221 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4223 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4225 2003-11-24 André Pönitz <poenitz@gmx.net>
4227 * rowpainter.C: simplification
4229 * text2.C (updateCounters): remove call to redoParagraph on
4230 changed labels as this is far too expensive.
4232 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4234 * converter.C (convert): fix a crash: this function gets
4235 called with buffer == 0 from importer code.
4237 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * text3.C (cursorPrevious): make sure that we do not compare
4240 iterators form different containers.
4243 * rowpainter.C (paintSelection): make sure that we do not compare
4244 iterators from different containers.
4246 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4247 iterators from different ParagraphList containers.
4250 * text2.C (LyXText): change order of initialization slightly
4251 (operator=): new function. copy all variables except cache_par_
4252 (moveUp): make sure that we do not compare iterators from
4253 different ParagraphList constainers.
4256 * text.C (firstPar): new function
4257 (lastPar): new function
4258 (endPar): new function
4260 * lyxtext.h: move things around and group public functions, public
4261 variables, private functions, private variables
4263 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4265 * factory.C: change call to InsetERT constructor to avoid
4266 additional invocation of method status
4267 * text2.C (toggleInset): remove redundant update() call
4268 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4269 instead of a Bufferview pointer
4271 2003-11-21 André Pönitz <poenitz@gmx.net>
4273 * rowpainter.C: simplification
4275 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4277 * text3.C (dispatch): make possible to extend a word/row selection
4280 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4282 * lyxtext.h: x0_,y0_ -> xo_,yo_
4283 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4284 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4285 * rowpainter.C (paintRows): paint full paragraphs
4287 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4289 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4292 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4294 * lyxtext.h: add x0_, y0_
4295 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4296 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4298 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4300 * text2.C (setCursorIntern): move the x_target update here *
4301 * text3.C: change some bv() to true/false in calls to
4302 cursorUp/Down/Right/Left
4303 * cursor.C: use helper function.
4305 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4307 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4308 * paragraph_funcs.[Ch]: correct comment
4309 * rowpainter.C: do not paint selections away from bv->cursor()
4310 Fix a long standing selection painting bug.
4311 * text3.C: generalize mouse-selection code to LyXTexts other that
4313 * textcursor.C: do not use y coords if we can use par offsets
4315 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4317 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4318 cursor position after e.g. inset insert)
4320 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4322 * lyxfind.C (replace): adjust to locking removal + some
4325 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4327 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4330 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4333 * output_docbook.C: XML sanitation: new layout
4334 parameters InnerTag and CommandDepth
4336 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4338 * BufferView_pimpl.C:
4340 * text3.C: Fix the insertion and modification of button-style
4343 2003-11-13 André Pönitz <poenitz@gmx.net>
4345 * InsetList.[Ch]: remove deleteLyXText
4347 * paragraph.[Ch]: cache beginOfBody position
4352 * text3.C: remove superfluous update() calls
4356 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4358 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4359 * BufferView.C (fitLockedInsetCursor): remove
4360 * cursor.[Ch] (getDim): add
4361 * text.C (getRowNearY): add faster version
4362 * text3.C: remove some update calls
4364 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4376 * text3.C: The Character Style /XML short element patch.
4378 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4381 * factory.C: Small step to solving 'unable to insert some insets'
4384 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4386 * cursor.[Ch] (updatePos): new function for updating the y
4387 position of the tip inset
4388 * bufferview_funcs.C (put_selection_at):
4389 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4391 2003-11-11 André Pönitz <poenitz@gmx.net>
4393 * text.C: remove big comment on invalid Paragraph pointers as it is
4396 2003-11-11 André Pönitz <poenitz@gmx.net>
4398 * text_funcs.[Ch]: merge with ...
4406 * Makefile.am: remove text_funcs.[Ch]
4408 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4410 * cursor.C (getPos): return absolute cached y coord
4412 * BufferView_pimpl.C (fitCursor): new simplistic code
4413 (workAreaDispatch): add a fitCursor call
4415 2003-11-10 André Pönitz <poenitz@gmx.net>
4418 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4420 2003-11-10 André Pönitz <poenitz@gmx.net>
4422 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4423 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4424 indicate that the cursor needs to leave an inset
4426 * lyxtext.h: remove inset locking
4428 * cursor.[Ch]: re-implement functionality provided by inset locking
4431 * BufferView_pimpl.[Ch]:
4433 * bufferview_funcs.[Ch]:
4445 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4447 * PosIterator.[Ch]: replace the stack with a vector, add inset
4449 * iterators.[C]: adjust
4451 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4453 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4455 * paragraph_funcs.C (readParToken): put the correct id in the
4456 error item, not the id of the top paragraph
4458 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4460 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4461 * bufferview_funcs.C (put_selection_at): use the above
4463 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4465 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4467 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4469 * output_linuxdoc.h:
4470 * output_plaintext.h:
4472 * output_docbook.h: add #include statements
4474 2003-11-05 José Matos <jamatos@lyx.org>
4476 * output_docbook.[Ch]:
4477 * output_latex.[Ch]:
4478 * output_linuxdoc.[Ch]:
4479 * output_plaintext.[Ch]: New files for output formats.
4480 * output.[Ch]: New file for helper functions.
4483 * paragraph_funcs.[Ch]: output functions moved to new files.
4485 * outputparams.h: rename of latexrunparams.h
4493 * paragraph_funcs.[Ch]:
4494 * paragraph_pimpl.[Ch]:
4495 * tabular.[Ch]: rename ascii to plaintext
4496 and LatexRunParams to OutputParams.
4498 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4500 * iterators.[Ch] (text): require bv argument
4501 * undo.C (recordUndo):
4502 * lyxfunc.C (dispatch):
4503 * bufferview_funcs.C (put_selection_at): adjust
4505 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4507 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4509 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4511 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4514 2003-11-04 André Pönitz <poenitz@gmx.net>
4516 * cursor.[Ch]: restructure
4519 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4521 * iterators.[Ch] (asCursor): remove
4523 * lfuns.h: remove LFUN_INSET_EDIT
4529 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4531 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4533 * lyxfind.[Ch]: complete overhaul
4534 * BufferView_pimpl.C:
4536 * paragraph.[Ch] (insert): add
4538 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4542 * text.C: remove dead spellcheck code
4544 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * dispatchresult.h: add a val setter
4548 * cursor.C (dispatch): use a tempvar for data_[i]
4550 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4552 * PosIterator.[Ch]: compile fix
4554 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4556 * text.C (cursorPar): deactivate the cursor cache
4558 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4560 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4562 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4564 * text3.C (dispatch): adjust for new DisptchResult semantics.
4566 * lyxfunc.C (dispatch): handle update when return from
4567 Cursor::dispatch, adjust for new DispatchResult semantics.
4569 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4570 DispatchResult(true) mean to not update. Add class functions for
4571 setting dispatched and update, as well as reading.
4573 * cursor.C (dispatch): don't handle update here
4575 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4578 * trans_mgr.C: adjust
4580 * paragraph_funcs.C (readParToken): exception safety
4582 * lyxvc.h: store the vcs pointer in a scoped_ptr
4585 * lyxsocket.C (serverCallback): exception safety
4587 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4589 * ispell.C (clone): make it return a auto_ptr
4591 * factory.C (createInset): exception safety
4592 (readInset): exception safety
4594 * bufferlist.C (newBuffer): exception safety
4596 * Thesaurus.C (Thesaurus): use initialization for aik_
4598 * MenuBackend.C (expandToc): exception safety.
4600 2003-11-03 André Pönitz <poenitz@gmx.net>
4604 * bufferview_funcs.C: remove getInsetFromId()
4607 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4613 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4615 * PosIterator.C (distance, advance): new
4616 * bufferview_funcs.[Ch] (put_selection_at): new
4617 * iterators.[Ch] (lockPath): new
4619 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4621 * iterators.[Ch] (asPosIterator): added
4622 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4623 * PosIterator.[Ch]: added
4625 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4629 * cursor.C (dispatch):
4630 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4632 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4633 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4634 contructor, add a class function dispatched. Remove operator>=
4636 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * debug.C: only use the default constructor for debugstream
4641 * main.C (main): include debug.h and setup the lyxerr streambuf
4644 2003-10-31 José Matos <jamatos@lyx.org>
4646 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4648 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4649 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4650 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4651 * paragraph_pimpl.C (simpleTeXSpecialC):
4652 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4653 add LatexRunParams argument.
4655 * exporter.C (Export): change call accordingly.
4657 * latexrunparams.h: add new member to take care of the other backends.
4658 2003-10-30 José Matos <jamatos@lyx.org>
4660 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4661 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4662 factorise code for paragraph output.
4664 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4667 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4669 * text3.C (dispatch):
4670 * lyxfunc.C (dispatch):
4671 * cursor.C (dispatch):
4672 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4674 * dispatchresult.h: make the dispatch_result_t ctor explicit
4676 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4679 * buffer.C: small refactoring of docbook stuff
4681 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4683 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4686 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4688 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4689 operator dispatch_result_t, and operators for == != and >=
4691 * cursor.C (dispatch): adjust for operator dispatch_result_t
4692 removal. comment out call to update
4694 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4696 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4704 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4707 * dispatchresult.h: new file, DispatchResult broken out of
4710 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4712 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4714 * text.C (rowBreakPoint): put a hack inside #if 0
4716 2003-10-28 André Pönitz <poenitz@gmx.net>
4720 * paragraph_funcs.C:
4723 * text2.C: general cleanup (lots of small stuff)
4725 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4727 * text2.C (cursorEnd): simple fix to the "end key goes to one
4728 before the end on last row" bug
4730 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4732 * text.C (backspace): fix the "zombie characters"
4734 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4736 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4738 2003-10-27 André Pönitz <poenitz@gmx.net>
4740 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4742 * factory.C: handle new InsetPagebreak, InsetLine
4744 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4745 and move handling into new InsetPagebreak, InsetLine
4747 * BufferView_pimpl.C:
4749 * ParagraphParameters.C:
4750 * ParameterStruct.h:
4755 * paragraph_funcs.C:
4756 * paragraph_pimpl.C:
4762 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4765 * lyxrow_funcs.[Ch]:
4771 * text3.C: remove lastPos uses in favour of Row::endpos
4773 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4775 * undo.C (performUndoOrRedo): fix two crashes by setting a
4776 cursor by hand and reordering some calls. Use bv->lockInset instead
4777 of inset->edit because the latter loses cursor information
4779 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4781 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4783 (rowBreakPoint): fix width. change point to point + 1.
4784 Add a missing check.
4786 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4789 * lyxfunc.C: fix (at least partly) the problems
4790 with the Nav menu and headers inside branch insets
4793 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4795 * paragraph.C (getChar): add strong asserts
4797 * lyxrow_funcs.C (lastPos): remove hideous hack
4799 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4800 (fill): adjust to that (avoid an infinite loop)
4802 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4804 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4806 2003-10-23 André Pönitz <poenitz@gmx.net>
4808 * RowList_fwd.h: change list<> to vector<> to gain speed
4809 after suggestion from Alfredo
4811 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4813 * lyxtext.h: move the bidi stuff from here...
4816 * Bidi.[Ch]: ... to here
4818 2003-10-23 André Pönitz <poenitz@gmx.net>
4821 * text.C (isLastRow, isFirstRow): new functions
4823 * paragraph.h: new width cache member
4825 * rowpainter.C: replace RowList::iterator with Row & where possible
4827 * lyxfunc.C: replace several view()->text with a single call
4829 * toc.C: fix 'unused' warning
4831 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4834 when woring with stream::pos_type
4835 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4837 2003-10-22 André Pönitz <poenitz@gmx.net>
4840 * text.C: use Row & instead of RowList::iterator
4842 * lyxrow.h: rename end() to endpos()
4848 2003-10-22 Angus Leeming <leeming@lyx.org>
4850 * buffer.[Ch] (fully_loaded): new member function, returning true
4851 only when the file has been loaded fully.
4852 Used to prevent the premature generation of previews and by the
4853 citation inset to prevent computation of the natbib-style label.
4855 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4856 templates are all set up.
4858 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4860 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4862 * text.C: fixed an "oops" in the "is a bit silly"
4865 2003-10-21 André Pönitz <poenitz@gmx.net>
4867 * FuncStatus.[Ch]: small stuff, whitespace
4869 * lyxfont.[Ch]: operator<<() for debug reasons
4873 * lyxtext.h: whitespace, spelling
4875 * paragraph.C: naming of variables
4878 * text2.C: small stuff
4881 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4883 * text.C: (1) finish off the inset display() work;
4884 (2) fix the "is a bit silly" bug (accessing char
4887 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4889 * text.C: re-introduce display() for insets, fixing the
4890 various bugs (stretch of line above, math inset
4893 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4895 * text.C (rightMargin): remove spurious semicolon
4897 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4900 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4902 * text3.C: fix one crash due to wrong cursor def
4904 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * vc-backend.C (scanMaster): make the regex static
4908 * LaTeX.C (scanAuxFile): make the regexs static
4910 * text3.C (doInsertInset, dispatch, dispatch):
4911 * text2.C (cursorUp, cursorDown):
4912 * text.C (selectNextWordToSpellcheck):
4913 * BufferView_pimpl.C (dispatch):
4914 * lyxfunc.C (dispatch): localDispatch -> dispatch
4916 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4918 * lyxsocket.C: include <cerrno>
4920 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4922 * lyxfunc.C (dispatch): remove textcache stuff
4924 * bufferlist.C (release): remove textcache stuff
4927 * TextCache.C: delete file
4928 * TextCache.h: delete file
4930 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4932 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4933 delete of the bv_->text.
4934 (resizeCurrentBuffer): remove texcache stuff
4935 (workAreaResize): ditto
4937 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4942 2003-10-16 André Pönitz <poenitz@gmx.net>
4949 * text3.C: speed up by storing y positions per paragraph plus per-row
4950 offset instead of having a 'full' y position in the row.
4952 2003-10-15 André Pönitz <poenitz@gmx.net>
4956 * undo.[Ch]: make undo aware of inner insets
4958 2003-10-14 Angus Leeming <leeming@lyx.org>
4960 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4961 static member functions LyX::ref() and LyX::cref.
4962 (lastfiles): new accessor functions for the new lastfiles_ member var.
4963 (addLyXView, views_): add a new LyXView to the list of views_.
4964 (updateInset): loop over all LyXViews to call their own updateInset
4965 member function, returning a pointer to the Buffer owning the inset.
4967 * BufferView_pimpl.C (loadLyXFile):
4968 * MenuBackend.C (expandLastfiles):
4969 * bufferlist.C (MenuWrite, QuitLyX):
4970 lastfiles is no longer a global variable.
4971 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4973 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4974 static function. Access through LyX::cref().emergencyCleanup().
4976 2003-10-14 André Pönitz <poenitz@gmx.net>
4978 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4980 * undo.[Ch]: restoring part of 'undo in insets'
4983 * undo_funcs.[Ch]: merge with undo.[Ch]
4985 * tabular.C: small cleansing stuff
4987 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4989 * paragraph_funcs.C (readParToken): report unknown insets as error
4990 boxes. Use the outer paragraph as location (also for unknown
4993 * factory.C (readInset): do not abort on reading an unknown inset.
4994 Eat it and return 0.
4996 2003-10-13 Angus Leeming <leeming@lyx.org>
4998 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5000 * lyxrc.C: displayTranslator is now a function,
5001 declared in GraphicsTypes.h.
5003 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5005 * format.C: new placeholder $$a to pass the socket address.
5007 * bufferlist.[Ch]: new function getBufferFromTmp.
5009 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5010 files in the temporary dir.
5012 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5014 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5016 * Makefile.am: add lyxsocket.[Ch].
5018 * lyx_main.C (error_handler): handle SIGPIPE.
5020 2003-10-13 André Pönitz <poenitz@gmx.net>
5022 * BufferView_pimpl.C:
5027 * undo_funcs.[Ch]: use paroffset_type instead of
5028 ParagraphList::iterators to prevent multiple conversion
5029 (and get a more robust interface)
5031 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5033 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5035 * text3.C (dispatch): ditto
5037 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5039 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5040 move the onlyfile, use onlyfile instead of foundfile in a couple
5043 * DepTable.C (update): flush the error stream a bit more
5045 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * lyxserver.C (callback): adjust
5049 * lyxfunc.C (getStatus): add a missing brace in commented code
5050 (ensureBufferClean): reindent
5051 (dispatch): delete version taking a string
5053 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * LaTeX.C (deplog): move found file handlig from here...
5056 (handleFoundFile): .. to new function here.
5057 (deplog): make sure to discover several files mentioned on the
5060 2003-10-10 André Pönitz <poenitz@gmx.net>
5067 * text3.C: fix some of the tabular crashes
5069 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5071 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5073 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5075 2003-10-09 André Pönitz <poenitz@gmx.net>
5077 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5080 * BufferView_pimpl.C:
5081 * bufferview_funcs.C:
5092 * undo_funcs.C: adjust
5094 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5096 * text2.C (incrementItemDepth): new function, use a backtracking
5097 algorithm to discover the correct item depth.
5098 (resetEnumCounterIfNeeded): new function, use a backtracking
5099 algorithm to discover if counter reset is needed.
5100 (setCounter): use them. Simplify a bit. Add different labels for
5101 different item depths for itemize.
5103 * paragraph.C (Paragraph): remove initialization of enumdepth
5106 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5107 enumerate and itemize. Change the type of itemdepth to signed char.
5109 2003-10-08 André Pönitz <poenitz@gmx.net>
5111 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5116 * tabular.[Ch]: fix crash after 'row-insert'
5118 2003-10-08 Angus Leeming <leeming@lyx.org>
5120 Fix doxygen warnings.
5122 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5123 Remove CutAndPaste:: prefix from header file declaration.
5125 * LColor.h (fill): remove LColor:: prefix from declaration.
5127 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5128 use lyx::depth_type rather than Paragraph::depth_type so that
5129 header file and .C file match.
5131 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5133 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5134 * aspell.C: \file aspell_local.C -> \file aspell.C
5135 * gettext.C: \file gettext.C -> \file src/gettext.C
5136 * gettext.h: \file gettext.h -> \file src/gettext.h
5137 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5138 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5139 * text.C: \file text.C -> \file src/text.C
5141 * toc.C: move comment so that doxygen is not confused.
5143 2003-10-07 Angus Leeming <leeming@lyx.org>
5145 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5147 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5150 * aspell_local.h: add forgotten std::string's.
5152 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5159 * text3.C: The Box patch. Fancybox support, minipage, parbox
5161 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5167 * ParagraphParameters.h:
5177 * lyxtextclasslist.h:
5180 * paragraph_pimpl.C:
5181 * textcursor.h: add <string> and other small fixes to make Lars'
5182 std::string patch compile with STLport.
5184 2003-10-06 Angus Leeming <leeming@lyx.org>
5186 * LColor.h: Add missing #include <string>.
5188 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5190 * All most all file in all subdirs: Make <string> be the prefered
5191 way of getting to std::string, add using declarations.
5193 2003-10-06 André Pönitz <poenitz@gmx.net>
5195 * metricsinfo.C: initialize LyXFont before changing attribute.
5196 (fixes the 'math in \emph is upright' bug)
5198 2003-10-06 André Pönitz <poenitz@gmx.net>
5200 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5202 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5205 * paragraph_pimpl.C: Small fixes to build using STLport
5207 2003-10-02 André Pönitz <poenitz@gmx.net>
5210 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5212 2003-10-01 André Pönitz <poenitz@gmx.net>
5214 * factory.C: assert early
5216 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * lyx_main.C: remove the global debug object
5220 * debug.h: adjust for new debugstream
5222 * debug.C: adjust for new debugstream and keep the global debug
5225 2003-09-22 Angus Leeming <leeming@lyx.org>
5227 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5228 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5229 an incomplete class LyXFont.
5231 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5233 * factory.C: bug fix in branches
5235 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * lyxfunc.C (processKeySym): adjust
5239 (dispatch): change arg name from ev to func, adjust
5240 (sendDispatchMessage): ditto
5242 * lyx_main.C (defaultKeyBindings): adjust keybindings
5243 (deadKeyBindings): ditto
5245 * kbsequence.C (addkey): return a FuncRequest
5247 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5249 * kbmap.C (bind): take a FuncRequest as arg, adjust
5252 (defkey): change to take a FuncRequest as arg, adjust
5253 (findbinding): take a FuncRequest as arg, adjust.
5255 * funcrequest.h (operator=): added
5257 * funcrequest.C (FuncRequest): default kb_action changed from
5258 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5260 * buffer.C (dispatch): simplify
5261 (dispatch): adjust to take a FuncRequest as arg, adjust
5263 * boost.C (assertion_failed): change assertion message slightly
5265 * ToolbarBackend.C (read): simplify
5267 * MenuBackend.C (binding): adjust call to findbinding, add a
5268 message if no binding is found.
5270 (expandToc): correct by adding a empty FuncRequest
5272 * LyXAction.C: include <boost/assert.hpp>
5273 (isPseudoAction): delete function
5274 (LookupFunc): change name to...
5275 (lookupFunc): this. change return type to FuncRequest.
5276 (getActionName): take kb_action as arg, simplify
5277 (funcHasFlag): add an assert, simplify.
5279 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * toc.C (action): return a FuncRequest, simplify
5283 * lyxfunc.C (processKeySym): adjust
5284 (getStatus): delete version that takes an int.
5286 (dispatch): delete version that takes action as int
5288 (sendDispatchMessage): simplify and adjust
5290 * funcrequest.C (getArg): take unsigned int as arg
5292 * ToolbarBackend.C (read): adjust
5293 (add): delete version that takes func as a string.
5294 (getIton): take a FuncRequest as arg
5296 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5299 * MenuBackend.C (MenuItem): add a new construct that only takes a
5300 Kind, simplify the constructor use for submenus.
5302 (expandLastfiles): adjust
5303 (expandDocuments): adjust
5304 (expandFormats): adjust
5305 (expandFloatListInsert): adjust
5306 (expandFloatInsert): adjust
5307 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5309 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5310 Remove class variables lyx_pseudo_map and lyx_arg_map
5312 * LyXAction.C (searchActionArg): delete function
5313 (getPseudoAction): delete function
5314 (retrieveActionArg): delete function
5315 (LookupFunc): make it return kb_action, simplify.
5316 (getActionName): simplify
5318 * factory.C (createInset): fix new bug
5320 2003-09-19 Angus Leeming <leeming@lyx.org>
5322 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5323 masterFilename_ parameter in the include inset.
5325 * factory.C (createInset): changes due to the changes to InsetInclude.
5327 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5329 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5331 2003-09-18 Angus Leeming <leeming@lyx.org>
5334 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5335 Inset::fillWithBibKeys.
5336 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5338 2003-09-18 Angus Leeming <leeming@lyx.org>
5340 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5342 (ctor): pass and store a 'Buffer const &'
5343 (buffer): new member function.
5345 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5346 '*this' to the LaTeXFeatures ctor.
5348 2003-09-18 Angus Leeming <leeming@lyx.org>
5354 * text.C: rename EnumLColor as LColor_color.
5356 2003-09-18 Angus Leeming <leeming@lyx.org>
5358 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5359 remove #include "insets/insetbase.h" from cursor.h.
5361 2003-09-18 Angus Leeming <leeming@lyx.org>
5363 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5364 InsetOld_code to remove #include "inset.h".
5366 * iterators.C: add #include "insets/inset.h"
5368 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5370 * BufferView.C: remove more locking stuff that apparently doesn't
5371 do anything sensible.
5373 2003-09-16 André Pönitz <poenitz@gmx.net>
5376 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5379 2003-09-16 Angus Leeming <leeming@lyx.org>
5381 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5383 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5386 * paragraph.h: remove #include "lyxfont.h". Forward declare
5389 2003-09-16 Angus Leeming <leeming@lyx.org>
5391 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5392 of support/textutils.h.
5393 (isWord): move the contents of support/textutils.h's IsWordChar here.
5399 * text2.C: add #include "paragraph.h".
5402 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5404 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5410 * LaTeX.C: use namespace alias for lyx::support::os
5412 2003-09-16 Angus Leeming <leeming@lyx.org>
5415 * bufferview_funcs.C:
5418 * paragraph_pimpl.C:
5420 * text.C: add #include "LColor.h".
5422 2003-09-16 Angus Leeming <leeming@lyx.org>
5424 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5425 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5427 Store the FontBits::color variable as an int rather than as an
5428 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5431 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5432 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5433 string calls together.
5435 * lyxrc.C: add #include "LColor.h".
5437 2003-09-15 Angus Leeming <leeming@lyx.org>
5439 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5442 2003-09-15 Angus Leeming <leeming@lyx.org>
5444 * LColor.h: add an EnumLColor wrapper for LColor::color.
5446 * lyxfont.[Ch] (color, setColor, realColor):
5447 * lyxtext.h, text.C (backgroundColor):
5448 pass EnumLColor args to/from the functions, rather than LColor::color
5452 * lyxtext.h: forward declare EnumLColor.
5454 * lyx_main.C: add #include "LColor.h".
5456 2003-09-15 Angus Leeming <leeming@lyx.org>
5458 * .cvsignore: add lyx-gtk.
5460 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5465 * ParagraphParameters.C
5469 * bufferview_funcs.C
5479 * vc-backend.C: remove usage of STRCONV
5481 2003-09-15 Angus Leeming <leeming@lyx.org>
5483 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5484 explicitly define the color passed to the painter.
5486 2003-09-15 Angus Leeming <leeming@lyx.org>
5488 * bufferparams.C (BufferParams): reorder member initializers to avoid
5491 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5493 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5494 * text.C (updateRowPositions): remove an unusual nop
5496 2003-09-12 André Pönitz <poenitz@gmx.net>
5498 * BufferView_pimpl.C:
5507 * Counters.[Ch]: finish the 'automatic counters' job
5509 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5511 * aspell.C: include <boost/assert.cpp> (compile fix)
5513 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5515 * boost.C (assertion_failed): use lyx::support::abort instead of
5518 2003-09-10 Angus Leeming <leeming@lyx.org>
5520 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5521 with their _fwd progeny.
5523 2003-09-09 Angus Leeming <leeming@lyx.org>
5525 134 files throughtout the source tree: replace 'using namespace abc;'
5526 directives with the appropriate 'using abc::xyz;' declarations.
5528 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5530 * boost.C (emergencyCleanup): moved here from LAssert.c
5531 (assertion_failed): new function, called by BOOST_ASSERT
5533 * several files: change Assert to BOOST_ASSERT
5535 2003-09-09 Angus Leeming <leeming@lyx.org>
5537 * buffer.[Ch]: Add an Impl class and move Buffer's member
5538 variables into it. As a result move several header files out of
5541 Add header files to lots of .C files all over the tree as a result.
5543 2003-09-09 Angus Leeming <leeming@lyx.org>
5545 * buffer.[Ch]: make Buffer's member variables private. Add
5548 Lots of changes all over the tree as a result.
5550 2003-09-08 Angus Leeming <leeming@lyx.org>
5552 * graph.C: #include <config.h>.
5554 2003-09-08 Angus Leeming <leeming@lyx.org>
5558 * BufferView_pimpl.C:
5587 * toc.C: remove redundant using directives.
5589 2003-09-07 Angus Leeming <leeming@lyx.org>
5591 * LaTeXFeatures.h: remove #include "support/types.h".
5592 * ToolbarBackend.h: remove #include <algorithm>.
5593 * changes.h: remove #include <ctime>.
5594 * debug.h: remove #include <iosfwd>.
5595 * graph.h: remove #include "support/std_string.h".
5596 * lyx_main.h: remove #include <csignal>.
5597 * lyxlex_pimpl.h: remove #include <fstream>.
5598 * sgml.h: remove #include <algorithm>, <utility>.
5599 * toc.h: remove #include "support/std_ostream.h".
5600 Add #include <iosfwd>.
5602 2003-09-07 Angus Leeming <leeming@lyx.org>
5604 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5606 * converter.h: forward declare LatexRunParams.
5607 * encoding.h: remove #include "lyxrc.h".
5608 * lyxtext.h: remove #include "LColor.h".
5609 * lyxtextclass.h: remove #include "support/types.h".
5610 * trans.h: remove #include "tex-accent.h".
5611 * trans_mgr.h: remove #include "tex-accent.h".
5612 * insets/inset.h: remove #include "support/types.h", <vector>.
5613 * insets/insetcollapsable.h: remove #include "LColor.h".
5614 * insets/insetinclude.h: remove #include "dimension.h".
5615 * insets/insetlatexaccent.h: remove #include "dimension.h".
5616 * insets/insetoptarg.h:: remove #include "insettext.h".
5617 * insets/insettext.h: remove #include "dimension.h",
5618 <boost/shared_ptr.hpp>
5620 * insets/renderers.h: add #include "dimension.h".
5621 * insets/updatableinset.h: add #include "support/types.h".
5623 * many .C files: Associated changes.
5625 2003-09-06 Angus Leeming <leeming@lyx.org>
5627 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5628 one, inside testInvariant.
5630 * PrinterParams.C: new file.
5631 * PrinterParams.[Ch]: move the function bodies out of line.
5633 2003-09-06 Angus Leeming <leeming@lyx.org>
5635 * ParagraphParameters.h: forward declare ParameterStruct rather than
5636 including its header file.
5637 (depth): moved out-of-line.
5639 2003-09-06 Angus Leeming <leeming@lyx.org>
5641 * BufferView_pimpl.h:
5644 * lyxfunc.h: forward declare LyXKeySym rather than
5645 #include "frontends/LyXKeySym.h".
5647 * BufferView_pimpl.C:
5650 * lyxfunc.C: associated changes.
5652 2003-09-06 Angus Leeming <leeming@lyx.org>
5654 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5655 As a result, can remove the #include "insets/inset.h" from BufferView.h
5657 2003-09-06 Angus Leeming <leeming@lyx.org>
5659 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5660 As a result, can remove the #include "insets/inset.h" from BufferView.h
5662 2003-09-06 Angus Leeming <leeming@lyx.org>
5668 * bufferview_funcs.C:
5669 * BufferView_pimpl.C:
5674 * ParagraphParameters.C:
5679 * frontends/controllers/ControlDocument.C:
5680 * insets/insetcaption.C: rearrange the #includes into some sort of
5683 * buffer.h: remove #includes ErrorList.h, undo.h
5685 2003-09-06 Angus Leeming <leeming@lyx.org>
5687 * support/types.h: add a 'depth_type' typedef, used to store the
5688 nesting depth of a paragraph.
5691 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5692 defining explicitly.
5695 * paragraph_funcs.h:
5696 * ParagraphParameters.h:
5697 * sgml.h: use lyx::depth_type rather than Paragraph or
5698 ParameterStruct's depth_type.
5701 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5704 * BufferView_pimpl.C:
5706 * ParagraphParameters.C:
5709 * bufferview_funcs.C:
5716 * frontends/LyXView.C:
5717 * frontends/controllers/ControlDocument.C:
5718 * frontends/controllers/ControlErrorList.C:
5719 * insets/insetbibitem.C:
5720 * insets/insetbranch.C:
5721 * insets/insetcaption.C:
5722 * insets/insetcollapsable.C:
5723 * insets/insetenv.C:
5724 * insets/insetert.C:
5725 * insets/insetfloat.C:
5726 * insets/insetfoot.C:
5727 * insets/insetfootlike.C:
5728 * insets/insetnewline.C:
5729 * insets/insetquotes.C:
5730 * insets/insettabular.C:
5731 * insets/insettext.C:
5732 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5734 * frontends/controllers/ControlChanges.C: #include "changes.h".
5736 2003-09-06 Angus Leeming <leeming@lyx.org>
5738 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5739 than #including paragraph.h.
5742 * RowList.h: deleted. Superfluous.
5752 * insets/insettext.h: use ParagraphList_fwd.h rather than
5755 * paragraph.h: don't forward declare ParagraphList.
5758 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5759 rather than ParagraphList.h. paragraph.h is still needed for the
5760 Paragraph::depth_type parameters.
5762 * textcursor.h: enable it to compile stand-alone in light of the
5765 * bufferview_funcs.C:
5777 * frontends/controllers/ControlParagraph.C:
5778 * frontends/controllers/ControlTabular.C:
5779 * insets/insetmarginal.C:
5780 * insets/insetminipage.C:
5781 * insets/insetnote.C:
5782 * insets/insetoptarg.C: add header files needed to compile again.
5784 2003-09-06 Angus Leeming <leeming@lyx.org>
5786 * RowList_fwd.h: new file, forward-declaring Row rather than
5787 #including lyxrow.h.
5792 * insets/insettext.h: use it instead of RowList.h
5794 * bufferview_funcs.C:
5801 * text3.C: #include "RowList.h".
5803 2003-09-05 Angus Leeming <leeming@lyx.org>
5805 * factory.C (createInset):
5806 * vspace.C (c-tor): replace sscanf call with an istringstream.
5807 * ispell.C: re-add missing HP/UX headers.
5808 * lyxserver.C: re-add missing os2 headers.
5810 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5819 * text3.C: re-add missing system headers, needed for 2.95.2.
5821 2003-09-05 Angus Leeming <leeming@lyx.org>
5823 Changes most place everywhere due to the removal of using directives
5824 from support/std_sstream.h.
5826 2003-09-05 Angus Leeming <leeming@lyx.org>
5828 Replace LString.h with support/std_string.h,
5829 Lsstream.h with support/std_sstream.h,
5830 support/LIstream.h with support/std_istream.h,
5831 support/LOstream.h with support/std_ostream.h.
5833 Changes resulting throughout the tree.
5835 2003-09-05 Angus Leeming <leeming@lyx.org>
5837 * sgml.h: ensure that the header file can be compiled stand-alone.
5838 * *.C: strip out redundant #includes. (320 in total.)
5840 2003-09-04 Angus Leeming <leeming@lyx.org>
5842 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5843 here (from getPackages).
5845 * debug.[Ch]: add a new EXTERNAL tag.
5847 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5849 * text2.C (cursorEnd): simplify
5851 (getColumnNearX): adjust
5853 * text.C (computeBidiTables): adjust
5856 * rowpainter.C (paintChars): adjust
5857 (paintSelection): adjust
5858 (paintChangeBar): adjust
5861 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5863 (numberOfSeparators): adjust
5865 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5871 * text3.C: Restricts the mouse click functionality
5872 of insets like bibtex, include, toc and floatlist to the visible
5873 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5874 up the dialogs. Cursor has to be in front of the inset (i.e.
5875 start of row) for this to function.
5877 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5879 * bufferview_funcs.C (currentState): output row information
5881 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5883 * bufferview_funcs.C (currentState): output paragraph position
5885 2003-09-04 Angus Leeming <leeming@lyx.org>
5887 * FloatList.h: move out #include "Floating.h".
5888 * LaTeX.h: move out #include "DepTable.h".
5889 * LyXAction.h: move out #include "funcrequest.h".
5890 * buffer.h: move out #include "author.h", "iterators.h".
5891 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5892 * lyx_main.h: move out #include "errorlist.h".
5893 * lyxfunc.h: move out #include "FuncStatus.h".
5894 * lyxtext: move out #include "lyxcursor.h".
5895 * paragraph_pimpl.h: move out #include "counters.h".
5897 2003-09-03 Angus Leeming <leeming@lyx.org>
5899 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5900 preamble_snippets list, enabling us to add snippets to the preamble
5901 only if the snippet was not there already.
5903 2003-09-04 Angus Leeming <leeming@lyx.org>
5905 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5907 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5912 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5914 * BranchList.C: point fix, earlier forgotten
5916 2003-09-02 Angus Leeming <leeming@lyx.org>
5918 * box.C (contains): renamed from 'contained' after a fantastic
5921 2003-09-02 John Levon <levon@movementarian.org>
5927 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5929 2003-09-02 John Levon <levon@movementarian.org>
5931 * text2.C: simplification of cursorEnd(), including partial
5934 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5936 * buffer.C (readFile): add a space
5938 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5940 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5942 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5944 * buffer.C (readFile): new function, take a filename and a
5945 ParagraphList::iterator
5947 (readFile): adjust, make it private. don't use setStream, make
5948 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5949 always contain the filename.
5951 * BufferView.C (insertLyXFile): simplify and make it work for
5954 2003-08-30 John Levon <levon@movementarian.org>
5956 * Makefile.am: fix dist (from Kayvan)
5958 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5960 * most files: change to use const Buffer refs
5962 2003-08-27 André Pönitz <poenitz@gmx.net>
5964 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5965 on top of ownerPar().
5967 2003-08-27 John Levon <levon@movementarian.org>
5969 * funcrequest.C: properly initialise POD members
5971 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5973 * lyxtext.h (top_y): move top_y from here
5978 * BufferView_pimpl.[Ch]: to here
5979 * frontends/screen.C:
5980 * insets/insettabular.C:
5981 * insets/insettext.C: adjust
5982 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5984 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5987 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5989 2003-08-26 André Pönitz <poenitz@gmx.net>
5991 * paragraph_func.[Ch] (outerPar): new function
5994 * paragraph_funcs.C:
5995 * paragraph_funcs.h:
5996 * paragraph_pimpl.C:
5997 * text2.C: remove Inset::par_owner
5999 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6004 * text2.C: eliminates the needFullRow/display() stuff
6005 altogether, putting the logic in metrics/draw in the insets.
6007 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6009 * text2.C (redoParagraphInternal, redoParagraphs):
6010 * text.C (redoParagraph): add a call to updateRowPositions at the
6011 end of each 'metrics-like' call. Remove all others.
6012 (getRow): remove the 'y-computing' version.
6013 (getRowNearY): do not compute nor return the real y. Solve the
6014 'y < 0' problem and simplify.
6016 2003-08-22 Angus Leeming <leeming@lyx.org>
6018 * *.[Ch]: clean-up of licence and author blurbs.
6019 Also move config.h out of a few .h files and into a few .C files.
6021 2003-08-22 André Pönitz <poenitz@gmx.net>
6023 * lyxrow.[Ch]: add x_ and *fill_ members
6028 * text2.C: adjust/remove prepareToPrint() calls
6030 2003-08-22 André Pönitz <poenitz@gmx.net>
6032 * lyxrow.[Ch]: add end_ member
6034 * lyxrow_funcs.C: use LyXRow::end_
6036 * lyxtext.h (singleWidth): add LyXFont parameter
6039 * text2.C: adjust LyXText::singleWidth() calls
6041 * text.C (redoParagraph): simplify row breaking logic
6044 2003-08-19 André Pönitz <poenitz@gmx.net>
6046 * funcrequest.C: initialize button_ member
6049 * rowpainter.[Ch]: interface consolidation
6051 2003-08-18 André Pönitz <poenitz@gmx.net>
6054 * BufferView_pimpl.C:
6056 * paragraph_funcs.C:
6058 * text3.C: remove LyXScreen::draw() and fitCursor calls
6060 * BranchList.h: remove spurious semicolons
6062 * MenuBackend.C: fix branchlist related crash
6064 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6072 * bufferparams.[Ch]:
6076 * text3.C: implements the 'branch inset'
6077 idea. This allows the output of various versions of a document
6078 from a single source version, selectively outputing or suppressing
6079 output of parts of the text.
6080 This implementation contains a 'branch list editor' in a separate
6081 tab of the document settings dialog. Branches are user definable
6082 and have a "display colour" to distinguish them on-screen.
6084 ColorHandler was somewhat cleaned up.
6085 (1) make possible a dynamically growing LColor list by allowing
6086 the graphic context cache to grow along (vector);
6087 (2) eliminate an IMHO unnecessary step in colour allocation.
6089 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6091 * BufferView_pimpl.C: compile fix
6093 2003-08-15 André Pönitz <poenitz@gmx.net>
6095 * rowpainter.C: remove extra metrics calls
6097 * lyxtext.h: merge the two constructors into a single one,
6098 pass reference to owner's par list
6100 * BufferView_pimpl.C:
6104 2003-08-15 André Pönitz <poenitz@gmx.net>
6106 * lyxrow_funcs.[Ch]:
6109 * paragraph_funcs.C:
6114 * text_funcs.C: split LyXText::rowlist_ into individual
6115 Paragraph::rows_ chunks
6118 * BufferView_pimpl.[Ch]:
6121 * text3.C: remove toggleSelection()
6123 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6125 * bufferlist.C: beautify two alerts (shorter text of buttons)
6126 * buffer.C: Remove redundant ' ' from message
6128 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6129 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6130 rename VALIGN_CENTER to VALIGN_MIDDLE
6132 2003-08-11 André Pönitz <poenitz@gmx.net>
6134 * lyxtext.h (getPar):
6135 * text.C: new function
6137 2003-08-11 André Pönitz <poenitz@gmx.net>
6140 * tracer.[Ch]: remove unneeded files
6142 * InsetList.[Ch]: remove resizeInsetsLyXText()
6147 * text3.C: merge insertParagraphs() and appendParagraph()
6148 remove breakAgain(), update()
6150 * BufferView_pimpl.[Ch]:
6151 * bufferview_funcs.[Ch]:
6155 * tabular.C: adjust after text & InsetList changes.
6157 2003-08-08 André Pönitz <poenitz@gmx.net>
6159 * text.C (insertChar, backspace): replace rowlist fiddling
6160 with rebreak of full par
6163 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6164 checkParagraph, updateInset): removed
6166 2003-08-07 André Pönitz <poenitz@gmx.net>
6169 * text3.C: merge some LFUN handlers, remove dead code
6171 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6173 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6175 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6177 * text2.C (DEPM): fix part of bug 1255 and 1256
6179 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6181 * BufferView_pimpl.C (workAreaDispatch): change to use
6182 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6183 that are no mouse related.
6185 2003-08-05 André Pönitz <poenitz@gmx.net>
6188 * BufferView_pimpl.[Ch]:
6189 * bufferview_funcs.C:
6191 * text3.C: rip out "deep update"
6193 * textcursor.[Ch] (last_sel_cursor): remove unused member
6195 2003-08-04 André Pönitz <poenitz@gmx.net>
6198 * BufferView_pimpl.[Ch]:
6199 * ParagraphParameters.C:
6200 * bufferview_funcs.C:
6206 * text3.C: replace "complicated" BufferView::update(...) calls with
6209 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6211 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6213 * Makefile.am (lyx_SOURCES): add paper.h
6215 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6217 * Makefile.am: move things around so that both lyx-qt and
6218 lyx-xforms can be built (according to --with-frontend). Then lyx
6219 is a symbolic link to lyx-[firstfrontend]
6221 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6223 * Always use std::endl with lyxerr
6225 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6227 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6229 2003-08-01 André Pönitz <poenitz@gmx.net>
6232 * BufferView_pimpl.[Ch]:
6234 * text3.C: merge BufferView::repaint() and BufferView::update()
6236 2003-08-01 José Matos <jamatos@lyx.org>
6238 * buffer.[Ch]: file_format is no longer a buffer data element.
6240 2003-08-01 André Pönitz <poenitz@gmx.net>
6245 * text2.C: make redoParagraph more independent of current cursor
6247 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6249 * text2.C: remove unneeded members
6251 2003-07-30 André Pönitz <poenitz@gmx.net>
6253 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6255 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6256 create a single function...
6258 * paragraph_funcs.C (moveItem): ... here.
6261 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6263 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6265 * LColor.[Ch]: Add comment and greyedout logical colors.
6267 2003-07-30 André Pönitz <poenitz@gmx.net>
6269 * tabular.C: don't use Assert too heavily. This crashes where it
6272 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6274 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6275 is disabled (bug 1232)
6277 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6279 * factory.C: limited 'arg' scope
6281 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6283 * factory.C: fixed Note submenu issues
6285 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6287 * factory.C: submenu for Note/Comment/Greyedout
6289 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6292 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6294 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6297 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6298 greyedout. Patch provided by Jürgen Spitzmüller.
6300 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6302 * kbmap.C (read): fix error message when reading bind files
6304 2003-07-29 Angus Leeming <leeming@lyx.org>
6306 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6307 certainly does not do what it purports to do. I am doing it, and
6308 us, a favour by killing it.
6310 2003-07-28 José Matos <jamatos@lyx.org>
6312 * buffer.C (readBody, do_writeFile):
6313 * paragraph.C(readParagraph): \end_document replaces \the_end.
6315 2003-07-29 André Pönitz <poenitz@gmx.net>
6318 * BufferView_pimpl.[Ch]:
6322 * textcursor.[Ch]: remove toggleToggle & Co
6324 2003-07-28 José Matos <jamatos@fep.up.pt>
6326 * buffer.C (readParagraph):
6327 * params_func (readParToken, readParagraph):
6328 * paragraph.C (write): \layout -> \begin_layout.
6330 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * lyxlex_pimpl.C (setFile): clean up slightly.
6334 * bufferparams.h: add compressed var
6336 * buffer_funcs.C (readFile): adjust for LyXLex change
6337 (newFile): ditto + simplify
6339 * buffer.C (writeFile): handle writing of compressed files
6341 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6342 Check if the file is compressed and set a bufferparm if so.
6344 * Makefile.am (lyx_LDADD): remove explicit -lz
6346 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6348 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6349 makeDocBookFile): put the real LyX version in the first line of
6353 * version.C.in: remove lyx_docversion
6355 * tabular.C (write_attribute): add a template-based version to
6356 write enums properly
6358 2003-07-28 André Pönitz <poenitz@gmx.net>
6363 * text3.C: use doubles again for x-coordinates. They are needed.
6365 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * messages.C (getLocaleDir): use lyx_localedir()
6369 * lyxlex_pimpl.C (setFile): compress stuff
6371 * buffer.C (writeFile): add some compression stuff
6372 (do_writeFile): new func, dont call expliti close... will this
6375 * Makefile.am (lyx_LDADD): add -lz
6377 2003-07-28 José Matos <jamatos@fep.up.pt>
6379 * buffer.C: increment file format.
6380 * paragraph_funcs (readParagraph, readParToken):
6381 * paragraph.C (readParagraph): add \end_layout.
6383 2003-07-27 Angus Leeming <leeming@lyx.org>
6385 * Makefile.am: remove special casing for configure-time setting of
6386 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6388 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6389 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6391 2003-07-26 André Pönitz <poenitz@gmx.net>
6393 * paragraph_func.[Ch]:
6394 * paragraph.C (realizeFont): inline it whereever it is used
6399 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6402 2003-07-26 André Pönitz <poenitz@gmx.net>
6406 * text2.C: get rid of LyXText::need_break_row
6408 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * toc.[Ch]: put namespace toc inside namespace lyx
6412 * MenuBackend.C (expandToc2): adjust for lyx::toc
6415 * lyxfunc.C (dispatch): adjust for lyx::find
6417 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6418 lyx::find instead. Reorganize a bit.
6419 (LyXReplace): rename to replace
6420 (LyXFind): rename to find
6422 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6425 2003-07-26 André Pönitz <poenitz@gmx.net>
6427 * text.C (setHeightOfRow): restrict scope of temporary variable
6429 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6430 code (never has been used?)
6432 2003-07-27 Asger Alstrup <alstrup@local>
6434 * text.C (fill): Optimise algorithm to exploit that we can reuse
6435 the LyXFont for many characters.
6436 (setHeightOfRow): Same thing.
6437 (rowBreakPoint): Same thing.
6439 2003-07-26 Asger Alstrup <alstrup@local>
6441 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6443 * text.C (singleWidth): Spurious font copying in hot-spot
6444 singleWidth avoided. Reorder tests for arabic for efficiency.
6446 * text.C (fill): handle empty paragraphs better.
6448 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6451 * encoding.h: add includes
6453 * lyxrc.C: remove reading of bind files
6455 * lyx_main.C (init): setup bindings and menus only if we have a
6458 * kbmap.C (read): new method. Do the actual reading of bind
6461 * converter.C (dvipdfm_options):
6464 (output): adapt PAPER_* enums.
6466 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6468 * bufferparams.h: remove paper-related enums from there
6470 * paper.h: New file. A trivial header file to hold paper-related
6471 enums. It should later expand to contain many paper-related
6474 * lyxrc.C: declare extern displayTranslator
6476 2003-07-27 José Matos <jamatos@fep.up.pt>
6478 * tabular.[Ch] (linuxdoc): add support for tables and figures
6481 2003-07-27 José Matos <jamatos@fep.up.pt>
6483 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6484 consistency in both functions.
6485 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6487 2003-07-26 Asger Alstrup <alstrup@local>
6489 * rowpainter.C (paintRows): Change algorithm to work directly on
6490 the insets rather than asking every character in the document
6491 whether its an inset.
6493 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6495 * buffer.C (openFileWrite): factorize some code
6497 2003-07-26 Angus Leeming <leeming@lyx.org>
6500 * lyx_main.[Ch]: replace occurances of system_tempdir with
6503 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6505 * rename Inset to InsetOld
6507 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6509 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6510 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6511 which I think is a bit clearer. EDIT is gone, since it was
6512 premature optimisation, and broken for mathed anyway.
6513 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6514 with cursor positioning in insets as well (math insets still do not
6515 work, but that's a different story anyway.) It mysteriously
6516 crashes sometimes with undo in the first paragraph, but I'm fairly
6517 confident that this is a compiler bug.
6519 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * paragraph.C (Paragraph): adjust for new clone return type
6523 (copyIntoMinibuffer): ditto
6525 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6527 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6528 by not having a special case, and always doing a full rebreak of
6529 the document after undo.
6531 2003-07-23 Angus Leeming <leeming@lyx.org>
6533 * factory.C (createInset): InsetExternal::setParams now takes a
6536 2003-07-23 Angus Leeming <leeming@lyx.org>
6538 * factory.C (createInset): changed interface to the external and
6539 graphics mailers' string2params functions.
6541 2003-07-23 Angus Leeming <leeming@lyx.org>
6543 * factory.C (createInset): pass a
6544 Buffer const * parameter to InsetExternalMailer's string2params.
6546 2003-07-22 John Levon <levon@movementarian.org>
6548 * Thesaurus.h: include the right aiksaurus header
6550 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6552 * MenuBackend.C (expand): check menu shortcuts unconditionally
6554 2003-07-21 Angus Leeming <leeming@lyx.org>
6556 * factory.C (createInset): pass a
6557 buffer_path parameter to InsetGraphicsMailer's string2params.
6559 2003-07-21 Angus Leeming <leeming@lyx.org>
6561 * BufferView_pimpl.C (buffer):
6564 * lyxfunc.C (dispatch):
6565 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6566 rather than the grfx shortcut.
6568 2003-07-21 André Pönitz <poenitz@gmx.net>
6570 * rowpainter.C: remove unused variables
6573 * tabular_funcs.h: move to tabular.C
6574 * Makefile.am: adjust
6576 * tabular.[Ch]: basic optical cleaning
6578 * author.h: pass references, not values
6580 2003-07-18 André Pönitz <poenitz@gmx.net>
6588 * text3.C: two-phase drawing for InsetText and InsetTabular
6589 some float -> int changes.
6591 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6593 * lyx_main.C: fix the fix
6595 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6597 * lyx_main.C: fix a crash in batch mode if no files specified
6600 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6602 * format.[Ch] (papersize): moved to BufferParams
6603 * converter.[Ch] (dvips_options): moved to BufferParams
6604 (dvipdfm_options): moved to anon namespace
6605 * bufferparams.[Ch]: added above functions.
6607 2003-07-17 André Pönitz <poenitz@gmx.net>
6611 * text2.C: don't call inset->update() anymore
6613 * metricsinfo.[Ch]: add convenience constructor
6615 2003-07-16 André Pönitz <poenitz@gmx.net>
6620 * text2.C: replace the LyXCursor::irow_ member with
6621 on-demand computation of the value
6623 2003-07-16 John Levon <levon@movementarian.org>
6625 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6627 2003-07-15 André Pönitz <poenitz@gmx.net>
6630 * text2.C: remove no more needed refresh_row
6632 2003-07-15 André Pönitz <poenitz@gmx.net>
6637 * text3.C: refresh_status tristate -> need_update bool
6639 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6641 * lyxtext.h (init): remove reinit argument (act as if always true)
6642 * text2.C: adjust to that
6644 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6646 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6647 * text3.C: use it to delete selections in some cases
6648 (bugs 441, 673, 702, 954).
6650 2003-07-14 André Pönitz <poenitz@gmx.net>
6652 * rowpainter.[Ch]: reduce interface
6654 2003-07-14 André Pönitz <poenitz@gmx.net>
6656 * BufferView_pimpl.C:
6657 * text2.C: adjust after removing unused BufferView * argument
6659 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6661 * text2.C (init): fix a crash fired on resize
6663 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6665 * buffer.[Ch]: added new closing signal
6666 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6667 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6668 BufferView::Pimpl via the closing the signal
6670 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6672 * buffer.[Ch]: take out all bv-related from buffer
6674 * BufferView_pimpl.[Ch]: connect to new signals
6675 * CutAndPaste.C: removed useless asserts
6676 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6679 * lyxfunc.C: moved view-related funciontality from vc here
6680 * paragraph.C: removed outdated comments
6683 2003-07-10 André Pönitz <poenitz@gmx.net>
6685 * BufferView_pimpl.C:
6689 * text2.C: remove InsetText::InnerCache, clean up consequences
6691 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6693 * ispell.C: fix two typos in error messages
6695 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6697 * Extend Note inset to other forms of annotation like Comment
6698 and Greyedout. Right button click gives dialog.
6700 Files modified or added (+):
6704 * ControlNote.[Ch] +
6706 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6707 frontends/controllers
6711 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6713 * aspell.C: add missing namespace lyx::support
6715 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6717 * BufferView.[Ch] (newFile): Add
6718 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6719 * LaTeX.[Ch] (message): added this signal and use it
6720 * buffer.[Ch] (busy, message): added these signals and use them
6721 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6725 * importer.C: use buffer signals instead of direct bv calling
6726 * lyx_cb.[Ch] (ShowMessage): removed
6729 * paragraph_funcs.C:
6730 * text2.C: use buffer signals
6732 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6734 * introduce namespace lyx::graphics
6736 2003-07-02 André Pönitz <poenitz@gmx.net>
6738 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6740 2003-07-01 André Pönitz <poenitz@gmx.net>
6747 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6748 text*.C to text_func.C
6750 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * introduce namespace lyx::support
6754 2003-06-30 André Pönitz <poenitz@gmx.net>
6759 * text.C: re-enable --with-included-string
6761 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6763 * textcursor.C: add <config.h>
6765 * text.C (getWord): remove const from word_location arg
6767 * lyxvc.C (getLogFile): fix const type order
6769 * lyxtext.h: remove const from word_location arg, add arg name
6771 * lyxlayout.h: currect type on labeltype.
6773 * importer.C: correct \file
6775 * converter.C (intToFormat): use std:: on ret val, ws changes
6777 * bufferlist.h: correct \file
6779 * buffer.C (makeLinuxDocFile): fix const type order
6780 (makeDocBookFile): ditto
6781 (fillWithBibKeys): use std:: on stdlib args.
6783 * CutAndPaste.C: fix authors.
6784 (availableSelections): use std:: on return vector
6786 2003-06-27 André Pönitz <poenitz@gmx.net>
6788 * BufferView_pimpl.C:
6789 * bufferview_funcs.C:
6797 * text3.C: remove LyXCursor::row_ member
6800 * text.C: rename fullRebreak() to partialRebreak() and implement
6801 a fullRebreak() that really bereks fully
6803 * textcursor.h: new struct for cursor-related data
6805 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6807 * lyx_main.C (LyX): get full path of document loaded on the
6810 2003-06-26 André Pönitz <poenitz@gmx.net>
6812 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6813 remove unused/broken operator>,<,>=.
6815 * text.C: remove only use of broken operator<= in an Assert().
6817 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6819 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6820 moved errorlist_.clear to showErrorList
6822 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6824 * converter.C (scanLog, runLaTeX):
6825 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6826 move the bv->showErrorList call to the callers
6827 * lyxfunc.C: i.e. here...
6829 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6830 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6831 namespace, the second to...
6832 * buffer_funcs (BufferFormat, parseErrors): added
6833 * errorlist.C (ErrorList(TeXErrors const &)): removed
6835 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6837 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6839 2003-06-24 "Garst R. Reese" <reese@isn.net>
6843 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6845 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6847 * version.C.in: change docversion to 1.4
6849 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6851 * buffer.C: fix a bug just introduced
6853 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6855 * buffer.[Ch]: added the parseError signal and use it, removed
6857 * BufferView.[Ch] (addError): moved to ...
6858 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6859 to the Buffer::parseError signal to catch (guess what) parse errors
6860 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6862 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6864 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6865 ability to create a buffer and to return an existing one from
6866 the list. Moved these functions to...
6867 * buffer_funcs.[Ch]: added
6868 * BufferView.[Ch] (loadLyXFile): added
6869 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6870 job removed from bufferlist::loadLyXFile.
6871 * buffer.C (setReadOnly): make it work without view
6872 (i.e added an if (users))
6874 2003-06-19 Angus Leeming <leeming@lyx.org>
6877 * LyXAction.C (init):
6878 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6879 with LFUN_DIALOG_SHOW <name> <data>.
6881 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6883 * CutAndPaste.C (availableSelections): small compilation fix for
6884 ancient (gcc 2.9x) compilers
6886 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6888 * text3.C (cursorNext): add tmp var
6890 * text2.C (updateCounters): for function calling out of for clause
6891 (replaceSelectionWithString): ditto
6892 (insertStringAsParagraphs): ditto
6893 (getColumnNearX): add tmp var
6894 (setCursorFromCoordinates): add tmp var
6895 (cursorDownParagraph): add tmp var
6896 (deleteEmptyParagraphMechanism): add tmp var
6898 * text.C (insertChar): add tmp var
6900 * rowpainter.C (paintDepthBar): add tmp var
6902 * CutAndPaste.C (availableSelections): potentially check all
6903 paragraphs in a cut to fill the shown strings.
6905 2003-06-18 André Pönitz <poenitz@gmx.net>
6907 * kbmap.[Ch]: use vector<> instead of list<>
6909 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6911 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6912 pasteSelection with index
6914 * text2.C (pasteSelection): modify, call pasteSelection with index
6916 * paragraph.C (asString): reimplement version with no interval to
6917 call the one with interval.
6919 * lyxtext.h: add index arg to pasteSelection
6921 * MenuBackend.C (MenuItem): handle PasteRecent
6922 (Menu::read::Menutags): add md_pasterecent
6924 (expandPasteRecent): new function
6927 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6929 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6931 (availableSelections): new function
6933 2003-06-17 Angus Leeming <leeming@lyx.org>
6935 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6937 2003-06-17 Angus Leeming <leeming@lyx.org>
6940 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6942 * lyxfunc.C (dispatch): invoke it.
6944 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6946 * iterators.C (operator++, ParPosition): reintroduce some
6947 const_cast for the benefit of older compilers.
6949 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6951 * text3.C (dispatch): do not modify clipboard when doing
6952 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6953 LFUN_DELETE_SKIP on a selection selection
6955 2003-06-16 André Pönitz <poenitz@gmx.net>
6961 * tabular.[Ch]: IU of clone() and getLabelList();
6963 2003-06-13 André Pönitz <poenitz@gmx.net>
6965 * tabular.h: compactification
6967 2003-06-12 André Pönitz <poenitz@gmx.net>
6971 * tabular_funcs.h: some renaming plus whitespace
6973 2003-06-12 André Pönitz <poenitz@gmx.net>
6976 * BufferView_pimpl.C:
6982 * toc.C: Return a Paragraph & for ParIterator::operator*()
6984 2003-06-11 John Levon <levon@movementarian.org>
6988 * ToolbarBackend.C: add "Toolbars" section and
6991 2003-06-10 Angus Leeming <leeming@lyx.org>
6994 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6996 * lyxfunc.C (dispatch): invoke it.
6998 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7000 * main.C: protect <ios> with HAVE_IOS
7001 (main): protect sync_with_stdio with HAVE_IOS
7003 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7005 * text2.C (cutSelection): adjust
7006 (pasteSelection): adjust
7008 * messages.C: handle get of empty string
7010 * main.C (main): use sync_with_stdio(false)
7012 * lyxfunc.C (dispatch): adjust
7014 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7015 (WriteAs): remove unneeded BufferView arg.
7017 * bufferparams.h: use correct types on papersize, papersize2 and
7020 * bufferparams.C (readToken): adjust for type
7021 (writeLaTeX): add missing cases to switch.
7023 * bufferlist.C (quitWriteBuffer): adjust
7026 * buffer.C (asciiParagraph): remove some commented code.
7028 * CutAndPaste.C: remove current_view extern variable.
7029 (cutSelection): add BufferParams arg.
7030 (eraseSelection): add BufferParams arg.
7031 (pasteSelection): add Buffer const & arg
7033 2003-06-07 John Levon <levon@movementarian.org>
7036 * paragraph_funcs.C:
7037 * paragraph_pimpl.C:
7041 * paragraph.C: allow InsetERT to freely space lines,
7042 and some consolidation of code
7044 2003-06-06 José Matos <jamatos@fep.up.pt>
7046 * buffer.C (makeDocBookFile): fix bug #821
7048 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7050 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7052 2003-06-04 Angus Leeming <leeming@lyx.org>
7054 * buffer.C: bump format to 224.
7056 2003-06-05 André Pönitz <poenitz@gmx.net>
7058 * text2.C (redoParagraphs): remove two const_cast<>
7060 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7062 * ParagraphList.h: remove last remnants of NO_STD_LIST
7064 2003-06-03 Angus Leeming <leeming@lyx.org>
7066 * factory.C (createInset): small change to the way InsetExternal's params
7069 2003-06-04 André Pönitz <poenitz@gmx.net>
7071 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7073 * paragraph_pimpl.h:
7074 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7076 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7078 * undo_funcs.C: make some simple cases of undo work again
7080 2003-06-03 John Levon <levon@movementarian.org>
7082 * ispell.C: HPUX doesn't have sys/select.h
7085 2003-06-03 John Levon <levon@movementarian.org>
7087 * CutAndPaste.C: update tabular and include inset
7092 * paragraph.C: remove owningBuffer(), don't pass Buffer
7095 * factory.C: insetGraphicsParams changed
7097 2003-06-02 John Levon <levon@movementarian.org>
7103 * text3.C: remove insetparent
7105 2003-06-02 John Levon <levon@movementarian.org>
7108 * buffer.C: fix inset_iterator.end(), move out of line
7111 2003-06-01 John Levon <levon@movementarian.org>
7113 * text3.C: use a proper cut/paste when doing inset
7114 insert (from Jürgen Spitzmüller)
7116 2003-06-01 John Levon <levon@movementarian.org>
7118 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7120 2003-05-30 André Pönitz <poenitz@gmx.net>
7122 * rowpainter.C: unify second drawing phase
7124 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7126 * trans_mgr.C: remove one case of current_view
7128 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7130 * paragraph_funcs.h: remove paragraph.h include
7132 * paragraph.h: delete NO_STD_LIST stuff
7134 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7136 * buffer.h: remove paragraph.h include
7138 * ParagraphList.C: delete file
7140 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7142 * toc.C (getTocList): adjust
7144 * paragraph_pimpl.C (validate): adjust
7146 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7148 * paragraph.C (Paragraph): adjust
7149 (getPositionOfInset): use const_iterator, adjust
7150 (bibitem): use const_iterator, adjust
7151 (setInsetOwner): adjust
7153 * iterators.C (operator++): adjust
7155 * InsetList.[Ch]: Replace selfmade iterator with standard
7156 vector::iterator also introduce const_iterator. Remove getPos,
7157 getInset and setInset from InsetTable. Adjust accordingly.
7159 * BufferView.C (lockInset): adjust
7160 (ChangeInsets): adjust
7162 * tabular.[Ch]: delete commented same_id functions
7164 2003-05-28 John Levon <levon@movementarian.org>
7166 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7168 2003-05-28 André Pönitz <poenitz@gmx.net>
7170 * metricsinfo.[Ch]: remove 'fullredraw' member
7172 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7174 * lyxtextclass.C (operator): remove caching.
7176 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * text2.C (cursorBottom): adjust
7181 (setCounter): use ParagraphList::find, adjust
7183 * text.C (workWidth): use ParagraphList::find, adjust
7185 * lyxcursor.C (LyXCursor): adjust
7187 * buffer.C (inset_iterator): adjust
7189 * ParagraphList.h: make iterator(value_type) private, make
7190 ParagraphList a friend of iterator.
7192 * ParagraphList.C (find): new function
7194 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7196 2003-05-27 André Pönitz <poenitz@gmx.net>
7198 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7200 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7202 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7204 2003-05-26 John Levon <levon@movementarian.org>
7206 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7208 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7210 * remove same_id from function signatures, adjust.
7212 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7214 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7216 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7218 * paragraph.C (Paragraph): get rid of same_ids parameter
7220 * ParagraphList.C (insert): adjust
7223 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * paragraph_funcs.C (breakParagraph): adjust
7226 (breakParagraphConservative): adjust
7228 * buffer.C (readParagraph): adjust
7230 * ParagraphList.C (insert): take a reference instead of a pointer
7233 * paragraph.[Ch] (id): new function
7235 * bufferlist.C (newFile): adjust
7237 * ParagraphList.C (ParagraphList): adjust
7239 (push_back): take a reference instead of a pointer.
7241 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7243 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7246 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7247 set else use old code.
7249 * ParagraphList.C: remove all NO_NEXT code and only compile this
7250 code of NO_STD_LIST is set.
7252 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7254 * BufferView_pimpl.C:
7264 * graphics/GraphicsConverter.C:
7265 * graphics/PreviewLoader.C: header adjustment
7267 2003-05-23 Angus Leeming <leeming@lyx.org>
7269 * LaTeXFeatures.[Ch] (useBabel): new method.
7270 * bufferparams.C (writeLaTeX): use it.
7272 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * ParagraphList.h (set): remove unused function.
7276 2003-05-23 André Pönitz <poenitz@gmx.net>
7279 * BufferView_pimpl.C:
7283 * undo_funcs.C: setUndo reworked
7285 * iterators.[Ch]: add access to topmost ParagraphList
7287 * lyxtext.[Ch] (workWidth): add a const
7289 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7291 * texrow.[Ch] (increasePos): remove function
7292 * exporter.C (export): removed unused var and outdated comment
7294 2003-05-23 Angus Leeming <leeming@lyx.org>
7296 * latexrunparams.h: rename fragile as moving_arg.
7297 * paragraph.C (simpleTeXOnePar): ditto.
7298 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7300 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7304 (textUndoOrRedo): comment out a currently unused var.
7306 * paragraph.h (NO_NEXT): enable NO_NEXT
7308 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7310 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7312 * exporter.C (Export): adjust for removeAutoInsets removal.
7314 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7316 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7318 * BufferView.[Ch] (removeAutoInsets): delete function
7320 2003-05-22 Angus Leeming <leeming@lyx.org>
7322 * latexrunparams.h: add a free_spacing variable.
7324 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7325 to pass moving_arg, as the data is stored in runparams.fragile.
7327 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7328 to Inset::latexOptional or to simpleTeXOnePar.
7330 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7331 free_spacing arg to Inset::latexOptional.
7333 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7336 2003-05-22 Angus Leeming <leeming@lyx.org>
7338 * latexrunparams.h: add fragile and use_babel variables.
7340 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7341 * buffer.C (makeLaTeXFile): store this returned value in
7342 runparams.use_babel, thus passing it to the inset::latex methods.
7344 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7345 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7347 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7348 longer has a fragile arg, as it is stored in runparams.fragile.
7350 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7351 moving_arg parameter as the data is stored in runparams.fragile.
7353 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7354 a fragile parameter as the data is stored in runparams.fragile.
7356 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7358 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7360 2003-05-22 Angus Leeming <leeming@lyx.org>
7362 * latexrunparams.h: add a 'bool nice' which defaults to false.
7364 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7365 now encapsulated within runparams.
7367 * bufferlist.C (updateIncludedTeXfiles):
7368 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7370 2003-05-22 Angus Leeming <leeming@lyx.org>
7372 * latexrunparams.h: new file containing struct LatexRunParams.
7373 * Makefile.am: add new file.
7375 * LaTeX.[Ch] (c-tor, run):
7376 * buffer.[Ch] (makeLaTeXFile):
7377 * bufferlist.[Ch] (updateIncludedTeXfiles):
7378 * converter.C (convert, scanLog):
7379 * converter.[Ch] (runLaTeX):
7380 * exporter.C (Export):
7381 * paragraph.[Ch] (simpleTeXOnePar):
7382 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7383 * paragraph_funcs.[Ch] (latexParagraphs):
7384 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7385 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7386 pass around a LatexRunParams parameter.
7388 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7390 * paragraph.[Ch]: remove unused constructor
7392 * ParagraphList.C (erase): new function, taking two iterators
7394 2003-05-22 André Pönitz <poenitz@gmx.net>
7396 * undo_funcs.C: remove duplicated code
7398 * iterator.[Ch]: operator=
7400 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7402 * tabular.C (SetMultiColumn): ws changes
7404 * rowpainter.C (paintFirst): get rid of a ->previous
7406 * lyx_cb.C (getPossibleLabel): parlist simplification
7408 * BufferView.C (ChangeInsets): simplify slightly.
7410 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7412 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7413 * lfuns.h: new LFUN_SPACE
7414 * lyxfunc.C: protected space has a new lfun
7415 * paragraph_funcs.C: read new space insets
7417 * factory.C: handle new space insets
7419 2003-05-22 André Pönitz <poenitz@gmx.net>
7422 * BufferView_pimpl.C:
7425 * undo_funcs.C: return a ParIterator from getParFromID.
7427 * iterators.[Ch]: add two const's
7429 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7431 * toc.C (getTocList): adjust
7433 * iterators.[Ch]: rework for parlist
7435 * buffer.C (par_iterator_begin): adjust
7436 (par_iterator_end): adjust
7438 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7440 * BufferView.C (removeAutoInsets): adjust
7441 (ChangeInsets): adjust
7443 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7445 * text.C (top_y): fix bug 1110
7447 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7449 * errorlist.[Ch]: added
7452 * BufferView_pimpl.C:
7453 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7456 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7458 * Makefile.am: ensure that lyx is relinked upon changes to the
7459 various "convenience" libs.
7461 2003-05-20 Angus Leeming <leeming@lyx.org>
7463 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7464 files are compiled in alphabetical order again.
7466 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7468 2003-05-19 Angus Leeming <leeming@lyx.org>
7470 * gettext.[Ch]: remove "char const * _(char const *)".
7472 2003-05-19 André Pönitz <poenitz@gmx.net>
7474 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7483 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7485 2003-05-19 André Pönitz <poenitz@gmx.net>
7489 * lyxtextclass.[Ch]:
7491 * paragraph_funcs.[Ch]:
7493 * text3.C: more insetenv work
7495 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7497 * ParagraphParameters.C (params2string): small bug fixed
7499 2003-05-16 André Pönitz <poenitz@gmx.net>
7502 * bufferview_funcs.C: patch from Kornel Benko to prevent
7503 crash when _(...) is called twice in a statement
7505 2003-05-16 André Pönitz <poenitz@gmx.net>
7512 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7514 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7516 * lyx_main.C (init): remove spurious static_cast
7518 2003-05-14 André Pönitz <poenitz@gmx.net>
7520 * BufferView.C: fix format string
7522 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7524 * BufferView.[Ch] (insertErrors): removed
7525 * BufferView.[Ch] (showErrorList): added
7526 * buffer.C (runChkTeX):
7527 * converter.C (scanLog): call showErrorList instead of inserterrors
7529 2003-05-13 André Pönitz <poenitz@gmx.net>
7531 * BufferView_pimpl.C:
7533 * bufferview_func.C:
7540 * tabular_funcs.h: tostr() from its own header
7542 * ParagraphParameters.C:
7547 * text3.C: STRCONV()
7549 2003-05-12 André Pönitz <poenitz@gmx.net>
7552 * BufferView_pimpl.C:
7556 * ParagraphParameters.C:
7560 * bufferview_funcs.C:
7573 * paragraph_funcs.C:
7577 * text3.C: boost::format -> bformat all over the place
7580 2003-05-09 André Pönitz <poenitz@gmx.net>
7582 * LColor.[Ch]: Pimpl the #include <map> away
7584 2003-05-09 John Levon <levon@movementarian.org>
7586 * bufferlist.C: never remove emergency saves
7588 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * Makefile.am: better lib building
7592 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7594 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7596 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7597 (simpleTeXSpecialChars): adjust
7598 (simpleTeXSpecialChars): adjust
7599 * paragraph.C (simpleTeXOnePar): adjust
7600 * buffer.C (makeLaTeXFile): adjust
7602 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7604 * text2.C (changeDepth): parlist cleanup
7605 (getColumnNearX): ditto
7607 * rowpainter.C (getLabelFont): parlist cleanup
7609 * bufferlist.C (newFile): parlist cleanup
7611 * CutAndPaste.C (eraseSelection): parlist cleanup
7613 * BufferView_pimpl.C (trackChanges): parlist cleanup
7616 * BufferView.C (lockInset): parlist cleanup.
7617 (ChangeInsets): ditto
7619 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7621 * CutAndPaste.h: Update file header.
7623 * CutAndPaste.C: Update file header.
7624 Store the parts cut out of the Document in a limited_stack.
7625 (copySelection): adjust
7626 (pasteSelection): new function, takes the index in the limited stack.
7627 (nrOfParagraphs): adjust
7628 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7629 simplify error inset insertion.
7630 (checkPastePossible): adjust
7632 2003-05-06 John Levon <levon@movementarian.org>
7634 * text2.C: don't cast wrap inset to float
7636 2003-05-05 André Pönitz <poenitz@gmx.net>
7639 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7641 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7642 few naked Paragraph *.
7644 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7646 * bufferparams.C: Output warning if a document with missing
7647 TeX document class is loaded
7648 * exporter.C: Disable TeX exports if the document class is missing
7651 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7652 isTeXClassAvailable()
7654 2003-05-03 John Levon <levon@movementarian.org>
7657 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7658 explicit cursor show/hide
7660 * BufferView_pimpl.h:
7661 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7662 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7664 * lyxfunc.C: hide cursor before dispatching.
7669 * text3.C: remove explicit cursor hides
7671 2003-05-02 André Pönitz <poenitz@gmx.net>
7673 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7676 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7679 * text2.C: tiny whitespace
7681 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7683 * undo_funcs.C: almost only ws changes.
7685 * ParagraphList.C (splice): just return if pl is empty.
7687 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7689 * ParagraphList.C (splice): new function.
7691 * CutAndPaste.C (pasteSelection): use it
7693 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7695 * CutAndPaste.C (pasteSelection): remove the last next and
7696 previous from this file.
7698 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7700 * CutAndPaste.C (pasteSelection): more clean up, user proper
7701 ParagraphList functions for pasteing.
7703 * ParagraphList.C (insert): new function, three arg insert
7705 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7707 * ParagraphList.C (insert): new function, three arg insert
7709 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7712 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7716 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7718 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7720 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7722 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7723 (copySelection): clean up a bit.
7724 (pasteSelection): use make_pair
7726 * ParagraphList.C (ParagraphList): implement copy constructor
7727 (operator=): implement, base on copy constructor.
7730 * paragraph.C (erase): return a bool
7732 * paragraph_pimpl.C (erasePos): remove function, move contents...
7733 (erase): ... here. Return a bool.
7734 (erase): call erase instead of erasePos.
7736 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7738 * ParagraphList.h: define PitPosPair
7739 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7740 ParagraphList, fix a bug on pasting multiple pars
7741 * text2.C: change interface to C&P
7743 2003-04-30 André Pönitz <poenitz@gmx.net>
7745 * undo_func.C: revert part of yesterday's patch 2
7747 2003-04-30 John Levon <levon@movementarian.org>
7749 * LColor.C: s/tabular/table/
7751 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * text3.C (dispatch): do not convert iterator -> pointer
7754 * undo_funcs.C (setCursorParUndo): ditto
7755 * text_funcs.C (transposeChars): ditto
7757 * text2.C (setLayout): ws changes only
7759 * text.C (breakParagraph): do not convert iterator -> pointer
7761 (acceptChange): ditto
7762 (rejectChange): ditto
7767 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7770 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7772 * text3.C (gotoInset): YABG (yet another bad getChar)
7774 2003-04-29 André Pönitz <poenitz@gmx.net>
7776 * paragraph.h: make operator= private unimplemented as long as
7779 * ParagraphList.C: whitespace
7782 * paragraph_pimpl.[Ch]:
7783 * paragraph_funcs.C:
7785 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7788 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7790 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7792 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7793 * paragraph.[Ch] (erase):
7794 * paragraph_pimpl.[Ch] (erase): change return type and value
7795 * text2.C (cutSelection): some rework
7797 2003-04-28 John Levon <levon@movementarian.org>
7799 * bufferlist.C: changes for unsaved changes dialog
7801 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7803 * bufferlist.C (newFile): set language (messages_) for new
7806 * buffer.C (readFile): ws changes only.
7808 2003-04-28 André Pönitz <poenitz@gmx.net>
7813 * BufferView_pimpl.C:
7814 * BufferView.C: getParFromID related ParagraphList::iterator changes
7816 2003-04-28 André Pönitz <poenitz@gmx.net>
7818 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7821 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * messages.C: remove one more localedir class variable.
7825 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * messages.C (getLocaleDir): singleton generation function
7829 (Messages): add a default constructor.
7831 * main.C (main): do not setup localedir here, do not call
7834 * gettext.C (_): use it.
7835 (gettext_init): delete funciton
7837 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * gettext.C (getLyXMessages): new singleton generating function.
7841 * buffer.C (updateDocLang): adjust
7843 * Makefile.am (messages.o): add target
7844 (main.o): remove target
7846 2003-04-27 John Levon <levon@movementarian.org>
7851 * lyxvc.C: specify cancel button in Alert::prompt
7853 2003-04-26 John Levon <levon@movementarian.org>
7858 * LyXAction.C: add LFUN_INSET_SETTINGS
7860 * lyxfunc.C: don't enable tabular-feature when there's
7861 just any locking inset
7863 2003-04-26 John Levon <levon@movementarian.org>
7865 * bufferlist.C: re-add Cancel to buffer close question
7867 * lyxfunc.C: fix import UI a bit
7869 2003-04-25 John Levon <levon@movementarian.org>
7871 * gettext.C: remove the broken asserts for now
7873 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7875 * messages.C: make case where setlocale cannot comply work better.
7877 * buffer.C (updateDocLang): new function
7878 (changeLanguage): use it
7881 * text2.C (setCounter): use B_ a bit.
7883 * lyxlayout.C (Read): be sure to trim the label strings.
7885 * messages.C (Messages): fix typo in comment
7887 * buffer.C (readFile): set message_ after file is loaded.
7888 (makeDocBookFile): remove double return
7889 (changeLanguage): reset message_ upon language change.
7890 (B_): new func, use this to get translated buffer strings.
7892 * main.C: add myself and Jean Marc as authors.
7894 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7896 * messages.[hC]: pimplify Messages, and three different pimpls to be
7897 used in different circumstances.
7899 * gettext.[Ch]: change for use with new message code.
7901 2003-04-24 André Pönitz <poenitz@gmx.net>
7903 * factory.C: support for eqref
7905 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7907 * messages.[Ch]: add missing char
7909 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7911 * messages.[Ch]: New files
7913 2003-04-18 John Levon <levon@movementarian.org>
7917 * BufferView_pimpl.C:
7921 * text2.C: remove layout-copy/paste (bug 778)
7923 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7925 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7927 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7929 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7930 if they succeed. Act accordingly.
7932 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7934 * text2.C (setCharFont): adjust
7935 (setCounter): adjust
7936 (insertStringAsLines): adjust
7938 * text.C (leftMargin): adjust
7939 (setHeightOfRow): adjust
7941 * rowpainter.C (paintFirst): adjust
7944 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7946 (isFirstInSequence): ditto
7947 (getEndLabel): ditto
7950 * paragraph.C (getParLanguage): comment out some hard stuff.
7952 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7954 (simpleDocBookOnePar): ditto
7955 (makeDocBookFile): use ParagraphList::iterator
7957 * CutAndPaste.C (pasteSelection): adjust
7959 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * text2.C (getFont): adjust
7962 (getLayoutFont): adjust
7963 (getLabelFont): adjust
7965 * paragraph_funcs.C (TeXOnePar): adjust
7967 * buffer.C (simpleLinuxDocOnePar): adjust
7968 (simpleDocBookOnePar): adjust
7970 * CutAndPaste.C (pasteSelection): adjust
7972 * BufferView.C (getEncoding): adjust
7974 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7976 2003-04-16 John Levon <levon@movementarian.org>
7978 * lyxfind.C: use parlist stuff for search/changes
7980 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7982 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7984 * text2.C (deleteEmptyParagraphMechanism): adjust
7986 * text2.[Ch] (ownerParagraph): delete func (both of them
7988 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7992 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * ParagraphList.C: prepare for NO_NEXT
7996 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7998 * text2.C (getFont): adjust
7999 (getLayoutFont): adjust
8000 (getLabelFont): adjust
8002 * paragraph.C (getFont): adjust
8003 (getLabelFont): adjust
8004 (getLayoutFont): adjust
8006 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8008 2003-04-15 John Levon <levon@movementarian.org>
8012 * lyx_main.C: handle Include in .ui files
8014 2003-04-15 John Levon <levon@movementarian.org>
8016 * MenuBackend.C: make the doc files length shorter
8019 * ToolbarBackend.C: handle toolbar placement flags,
8022 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8024 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8027 * paragraph_funcs.C (TeXOnePar): adjust
8029 * paragraph.C (getLabelFont): add outerfont arg, adjust
8030 (getLayoutFont): ditto
8031 (simpleTeXOnePar): adjust
8033 * paragraph_pimpl.C (realizeFont): delete func
8035 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8037 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8038 row argument, constify cur argument.
8040 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8042 * text2.C (getFont): adjust
8043 (getLayoutFont): adjust
8044 (getLabelFont): adjust
8046 * paragraph_funcs.C (TeXOnePar): adjust
8047 (outerFont): new func...
8048 (realizeFont): ...moved out from here, changed this to facilitate
8051 * paragraph.C (getFont): take outerfont as arg, adjust
8052 (simpleTeXOnePar): add outerfont arg, adjust
8054 * buffer.C (simpleLinuxDocOnePar): adjust
8055 (simpleDocBookOnePar): adjust
8057 * CutAndPaste.C (pasteSelection): adjust
8059 * BufferView.C (getEncoding): adjust
8061 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8063 * text2.C (setCharFont): adjust
8064 (setCounter): adjust
8066 * text.C (leftMargin): adjust
8067 (setHeightOfRow): adjust
8069 * rowpainter.C (paintFirst): adjust
8072 * paragraph_pimpl.C (realizeFont): adjust
8074 * paragraph.C (isFirstInSequence): move from here...
8075 * paragraph_funcs.C (isFirstInSequence): ...to here
8077 * paragraph.C (outerHook): move from here...
8078 * paragraph_funcs.C (outerHook): ...to here
8080 * paragraph.C (depthHook): move from here...
8081 * paragraph_funcs.C (depthHook): ...to here
8083 * paragraph.C (getEndLabel): move from here...
8084 * paragraph_funcs.C (getEndLabel): ...to here
8086 * text2.C (realizeFont): move from here...
8087 * paragraph_funcs.C (realizeFont): ...to here
8089 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8091 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8093 2003-04-14 Angus Leeming <leeming@lyx.org>
8095 * LColor.[Ch]: scrap LColor mathcursor.
8097 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8099 * lyxlex.[Ch] (text): delete function
8100 * trans.C (Load): adjust
8101 * paragraph_funcs.C (readParToken): adjust
8103 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8106 vector<char> instead of a char[].
8108 * lyxlex_pimpl.C (getString): adjust
8110 (lex): use getString
8114 * lyxlex.C (text): use pimpl_->getString()
8118 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8120 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8121 (makeFontEntriesLayoutSpecific): temp var for par.size()
8122 (setLayout): temp var for ownerParagraphs().end()
8123 (fullRebreak): temp var for rows().end()
8124 (selectionAsString): temp var for boost::next(startpit), realize
8125 that the while really is a regular for loop.
8126 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8127 setCursor in one place.
8128 (setParagraph): temp vr for ownerParagraphs().end()
8129 (updateCounters): make the while loop a for loop
8130 (cutSelection): temp var for ownerParagraphs().end()
8131 (updateInset): make the do {} while() a regular for loop
8132 (getCursorX): use temp vars
8133 (setCurrentFont): use temp vars
8134 (getColumnNearX): use temp vars
8136 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8138 * text.C (transformChar): use temp var for getChar
8139 (computeBidiTables): use temp var for row->par()
8140 (fill): move temp vars for row->par() and pit->layout() earlier in
8142 (labelFill): use temp var for row->par()
8143 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8144 asc and desc, realize that pit never changes and that firstpit is
8145 just a duplicate and not needed. Exchange rit->par() with pit in a
8147 (breakAgain): use a temp var for boost::next(rit)
8148 (breakAgainOneRow): ditto
8149 (breakParagraph): use a temp var for rows().begin()
8150 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8151 (cursorRightOneWord): use temp var for cursor.par() and
8152 cursor.pos(), remove usage of tmpcursor.
8153 (cursorLeftOneWord): use temp var for cursor.par() and
8154 cursor.pos() only set cur at end of function.
8156 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8158 * text.C, text2.C: exchange all usage of Paragraph::next with
8159 boost::next(ParagraphList::iterator)
8161 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8163 * text2.C (cursorTop): simplify implementation
8164 (cursorBottom): ditto
8165 (setParagraph): use ParagraphList::iterator
8166 (setCurrentFont): adjust
8167 (getColumnNearX): adjust
8168 (cursorRight): adjust
8169 (cursorLeft): remove usage of Paragraph::previous
8170 (cursorUpParagraph): ditto
8171 (deleteEmptyParagraphMechanism): slight cleanup
8173 * text.C (isBoundary): take a Paragraph const & instead of a
8175 (addressBreakPoint): ditto
8176 (leftMargin): remove usage of Paragraph::previous.
8177 (setHeightOfRow): ditto
8178 (cursorLeftOneWord): ditto
8179 (selectNextWordToSpellcheck): ditto
8182 (breakParagraph): remove one usage of Paragraph::next
8183 (redoParagraph): ditto
8184 (acceptChange): ditto
8185 (insertChar): adjust
8186 (rowBreakPoint): adjust
8188 * bufferview_funcs.C (toggleAndShow): adjust
8190 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8192 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8193 methods to access it.
8195 * text.C: Added updateRowPositions to compute all row positions.
8196 Make top_y and getRowNearY() to use the cached y position
8198 2003-04-11 John Levon <levon@movementarian.org>
8200 * text.C (rowBreakPoint): reintroduce the labelEnd
8201 checks, code copied from the row fill stuff. Deep voodoo.
8203 * text.C (fill): add a comment and debugging for the
8206 2003-04-11 John Levon <levon@movementarian.org>
8208 * text.C: make sure fullrow insets get wrapped to the next line,
8209 even when they're in a manual label
8211 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8213 * text2.C (insertParagraph): make it take ParagraphList::iterator
8215 (setLayout): make it return ParagraphList::iterator
8216 (redoParagraphs): ditto
8218 (checkParagraph): ditto
8220 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8222 * text2.C: adjust several funcs.
8223 (realizeFont): take a ParagraphList::iterator as arg.
8224 (getLayoutFont): ditto
8225 (getLabelFont): ditto
8226 (setCharFont): ditto
8228 * text.C: adjust several funcs.
8230 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8232 * text.C (selectNextWordToSpellcheck): don't accidentally
8235 2003-04-10 John Levon <levon@movementarian.org>
8237 * ToolbarBackend.C (getIcon): special handling for
8240 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8242 * text2.C (cursorRight): a getChar assert fixed
8244 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * text2.C (getFont): change to take a ParagraphList::iterator
8247 instead of Paragraph*
8248 Adjust several functions.
8250 * text.C (transformChar): change to take a ParagraphList::iterator
8251 instead of Paragraph*
8252 (singleWidth): ditto
8253 Adjust several functions.
8255 * rowpainter.C: adjust several functions
8256 * rowpainter.h:store a ParagraphList::iterator and not a
8260 2003-04-09 John Levon <levon@movementarian.org>
8265 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8266 and the "help" bits as well
8268 2003-04-09 John Levon <levon@movementarian.org>
8271 * ToolbarBackend.C: allow multiple toolbars
8273 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8275 * undo_funcs.C (setCursorParUndo): adjust
8277 * text_funcs.C (transposeChars): adjust
8279 * text3.C (gotoNextInset): adjust
8282 * text2.C (setLayout): adjust
8283 (changeDepth): adjust
8285 (redoParagraphs): adjust
8286 (selectionAsString): adjust
8287 (setParagraph): adjust
8288 (insertInset): adjust
8289 (cutSelection): adjust
8290 (copySelection): adjust
8291 (pasteSelection): adjust
8292 (insertStringAsLines): adjust
8293 (updateInset): adjust
8294 (setCursor): change to take a ParagraphList::iterator parameter
8295 (setCursorIntern): change to take a ParagraphList::iterator parameter
8296 (setCurrentFont): adjust
8297 (cursorLeft): adjust
8298 (cursorRight): adjust
8299 (deleteEmptyParagraphMechanism): adjust
8301 * text.C (breakParagraph): adjust
8302 (insertChar): adjust
8303 (acceptChange): adjust
8304 (rejectChange): adjust
8305 (selectNextWordToSpellcheck): adjust
8306 (changeCase): adjust
8310 * lyxfind.C (SearchForward): adjust
8311 (SearchBackward): adjust
8312 (nextChange): adjust
8314 * lyxcursor.C (par): adjust
8316 * lyxcursor.h: store a ParagraphList::iterator instead of a
8319 * lyx_cb.C (getPossibleLabel): adjust
8321 * bufferview_funcs.C (toggleAndShow): adjust
8323 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8326 * BufferView.C (removeAutoInsets): adjust
8327 (lockedInsetStoreUndo): adjust
8329 2003-04-09 John Levon <levon@movementarian.org>
8331 * ToolbarBackend.C: try icon without argument
8332 if with argument fails
8334 2003-04-08 John Levon <levon@movementarian.org>
8337 * ToolbarBackend.C: add getIcon(), handle tooltip,
8338 and change from "Icon" to "Item".
8340 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8342 * BufferView.C (lockInset): another bad getchar crunched
8344 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8346 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8349 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8351 * lyxfind.C (searchForward, searchBackwards): bug 782
8353 2003-04-07 John Levon <levon@movementarian.org>
8355 * paragraph.C: remove dead comment
8357 * text.C: remove troublesome depth-fiddling code
8358 in leftMargin() and rightMargin() (bug 1017)
8360 * text.C: fix breaking of rows in nested lists
8363 * text2.C (updateCounters): fix up depth values
8366 2003-04-07 John Levon <levon@movementarian.org>
8368 * BufferView_pimpl.C: clear message when doc finishes resizing,
8369 and after a mouse event
8371 * lyxfunc.C: clear message after exiting inset
8373 2003-04-07 John Levon <levon@movementarian.org>
8375 * bufferview_funcs.C: show math status not outside
8376 status in the statusbar
8378 2003-04-07 John Levon <levon@movementarian.org>
8380 * lyxfunc.C: note status changed after a depth change
8382 2003-04-04 Angus Leeming <leeming@lyx.org>
8384 * LaTeX.h: move AuxInfo operator==, != out of line.
8385 Remove LaTeX virtual destructor; nothing derives from it.
8386 Move operator()() out of public area and rename it startscript().
8387 Change protected for private.
8389 2003-04-04 Angus Leeming <leeming@lyx.org>
8392 * text2.C: remove unneeded #includes.
8394 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8396 * text2.C (dEPM): fix the heigth of the next row
8398 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8400 * text.C: squashed an invalid getChar requester + some ws changes
8402 2003-04-03 John Levon <levon@movementarian.org>
8404 * bufferview_funcs.h:
8405 * bufferview_funcs.C:
8408 * text2.C: make getStatus work for the env depth lfuns
8410 2003-04-03 John Levon <levon@movementarian.org>
8412 * bufferview_funcs.h:
8413 * bufferview_funcs.C:
8416 * text2.C: parlistize decDepth(), by merging it with incDepth()
8418 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8420 * lyxrow.h: store a ParagraphList::iterator instead of a
8421 Paragraph* and adjust other class functions to suit.
8423 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8426 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8428 * text2.C (setCursor): do not anchor to cursor row for the time being
8430 2003-04-02 John Levon <levon@movementarian.org>
8437 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8439 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8441 * paragraph.h: make ParagraphList and ParagraphList::iterator
8442 friends of Paragraph.
8444 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8446 * ParagraphList.C: Use the private next_ and previous_ from
8449 2003-04-01 John Levon <levon@movementarian.org>
8453 * Makefile.am: rename, remove defaults gunk
8456 * MenuBackend.C: remove defaults gunk
8459 * Languages.C: remove defaults gunk
8462 * lyx_main.C: error out if files couldn't be found.
8464 2003-04-02 John Levon <levon@movementarian.org>
8466 * text2.C: make incDepth() use parlist
8468 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8470 * undo_funcs.C (firstUndoParagraph): adjust
8472 * text3.C (gotoInset): adjust
8473 (dispatch): adjust, and rewrite loop.
8475 * text2.C (init): adjust, and rewrite loop.
8476 (redoParagraphs): adjust
8477 (updateInset): adjust, and rewrite loop.
8478 (deleteEmptyParagraphMechanism): adjust
8480 * tabular.C (LyXTabular): adjust
8481 (SetMultiColumn): adjust
8484 * lyxtext.[Ch] (ownerParagraph): delete function
8485 (ownerParagraphs): new function returns a ParagraphList.
8487 * BufferView.C (removeAutoInsets): adjust
8488 (insertErrors): adjust
8489 (setCursorFromRow): adjust
8491 2003-04-01 Angus Leeming <leeming@lyx.org>
8493 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8496 2003-04-02 John Levon <levon@movementarian.org>
8502 * text_funcs.C: make transposeChars a free function
8504 * lyxrow_funcs.C: remove wrong comment
8506 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8509 * rowpainter.C: adjust
8514 * lyxrow_funcs. [Ch]: new files
8516 * lyxrow.[Ch]: remove next and previous pointers
8517 (next,previous): remove accessor functions
8518 (isParEnd): move to lyxrow_funcs
8519 (lastPos): move to lyxrow_funcs
8520 (nextRowIsAllInset): move to lyxrow_funcs
8521 (lastPrintablePos): move to lyxrow_funcs
8522 (numberOfSeparators): move to lyxrow_funcs
8523 (numberOfHfills): move to lyxrow_funcs
8524 (numberOfLabelHfills): move to lyxrow_funcs
8525 (hfillExpansion): move to lyxrow_funcs
8529 * bufferview_funcs.C (toggleAndShow): adjust
8531 * RowList.h: Remove class RowList from file leave just a
8534 * RowList.C: delete file
8536 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8539 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8541 * text3.C (cursorPrevious): adjust
8542 (cursorNext): adjust
8545 * text2.C (redoHeightOfParagraph): adjust
8546 (redoDrawingOfParagraph): adjust
8549 * text.C (breakParagraph): adjust
8550 (insertChar): adjust
8553 * rowpainter.C (RowPainter): adjust
8554 (leftMargin): simplify and adjust
8555 (most rowpainter functions): adjust.
8557 * rowpainter.h: store the row as RowList::iterator not as Row*
8559 * lyxcursor.C (row): taka RowList::iterator as arg
8562 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8565 2003-04-01 Angus Leeming <leeming@lyx.org>
8567 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8568 stuff like bool Bool.
8570 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8572 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8575 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8577 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8580 * lyxtext.h (rows): drop one version and leve a const variant that
8581 returns a RowList::iterator.
8583 2003-03-31 Angus Leeming <leeming@lyx.org>
8585 * text.C (fill): ensure that the signature is the same as that in the
8588 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8590 * text2.C (redoParagraphs): adjust
8591 (updateCounters): adjust
8592 (checkParagraph): adjust
8593 (getColumnNearX): adjust and reformat a bit.
8595 * text.C (top_y): adjust
8597 (leftMargin): adjust
8598 (prepareToPrint): adjust
8600 (getRowNearY): adjust
8602 * lyxtext.h: make rowlist_ mutable.
8604 * RowList.h: add const_iterator
8605 * RowList.C: adjust for RowList::const_iterator.
8607 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8610 2003-03-31 John Levon <levon@movementarian.org>
8613 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8615 * lyx_main.C: set default fonts from using lyx_gui funcs
8617 * exporter.C: pdf_mode moved from lyxrc
8620 * lyxfunc.C: changes from above
8622 2003-03-31 John Levon <levon@movementarian.org>
8624 * lyx_main.C: fix to the last fix
8626 2003-03-31 John Levon <levon@movementarian.org>
8628 * bufferlist.C: "Load original" -> "Load Original"
8634 * format.C: more Alert cleanups
8636 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8638 * text2.C (removeParagraph): make it take a RowList::iterator as
8640 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8641 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8643 * text.C (anchor_row): make it take a RowList::iterator as arg,
8645 (computeBidiTables): make it take a const reference to Row instead
8646 of Row pointer, adjust.
8647 (leftMargin): make it take a RowList::iterator as arg, adjust.
8648 (rowBreakPoint): adjust
8649 (breakAgainOneRow): make it take a RowList::iterator as arg,
8651 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8653 * bufferview_funcs.C (toggleAndShow): adjust
8655 2003-03-30 John Levon <levon@movementarian.org>
8659 * boost-inst.C: moved to support
8661 * several files: changes as a result
8663 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8665 * text2.C (LyXText): adjust.
8667 (removeRow): make it take a RowList::iterator as arg, adjust.
8668 (fullRebreak): adjust
8669 (deleteEmptyParagraphMechanism): adjust
8670 (clearPaint): adjust
8673 * text.C (top_y): adjust
8674 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8675 (breakAgain): make it take a RowList::iterator as arg, adjust.
8676 (breakParagraph): adjust
8677 (insertChar): adjust
8680 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8681 need_break_row, and refresh_row.
8683 * text3.C (dispatch): adjust
8685 * text2.C (checkParagraph): adjust
8687 (setCursorFromCoordinates): adjust
8689 * text.C (top_y): adjust
8691 (getRow): make it return a RowList::iterator, adjust
8692 (getRowNearY): make it return a RowList::iterator, adjust
8694 * text2.C (init): adjust
8695 (insertRow): remove function
8696 (insertParagraph): adjust
8697 (redoParagraphs): adjust
8698 (fullRebreak): adjust
8699 (updateCounters): adjust
8701 * text.C (top_y): rewrite to use RowList iterators.
8703 (setHeightOfRow): rewrite to sue RowList iterators.
8704 (appendParagraph): adjust
8705 (breakAgain): adjust
8706 (breakAgainOneRow): adjust
8707 (breakParagraph): adjust
8709 (getRowNearY): adjust, and remove commented code.
8711 * lyxtext.h (firstRow): delete function
8712 (lastRow): delete function
8713 (rows): new function (const and non-const versions.)
8714 (insertRow): delete function
8716 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8718 2003-03-29 John Levon <levon@movementarian.org>
8720 * BufferView_pimpl.C: always update scrollbar top
8721 because pasting text when we're anchored could mean we
8722 miss an update altogether
8724 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8726 * text2.C (init): use rowlist_.end() and not 0.
8727 (insertRow): change to take a RowList::iterator as arg, adjust
8729 (insertParagraph): change to take a RowList::iterator as arg,
8731 (redoParagraphs): remove some debug msgs.
8733 * text.C (appendParagraph): change to take a RowList::iterator
8734 arg, adjust for this.
8735 (breakAgain): add an assert
8736 (breakAgainOneRow): ditto
8738 2003-03-29 John Levon <levon@movementarian.org>
8740 * text2.C: do not clear selection after inc/decDepth
8743 2003-03-29 John Levon <levon@movementarian.org>
8746 * buffer.C: fix broken strerrors according to Lars
8748 2003-03-29 John Levon <levon@movementarian.org>
8750 * converters.C: more Alert cleanups
8752 2003-03-29 John Levon <levon@movementarian.org>
8754 * bufferview_funcs.C: remove pointless Alert
8756 * buffer.C: fix confusing error message when
8757 a template is chmoded 000
8759 2003-03-29 John Levon <levon@movementarian.org>
8763 * BufferView_pimpl.C: Alert fixes
8767 * tabular-old.C: remove unused table compat reading
8769 2003-03-29 John Levon <levon@movementarian.org>
8774 * lyx_cb.C: more Alert cleanups
8776 * lyxfunc.C: don't allow chktex if not latex document
8778 2003-03-29 John Levon <levon@movementarian.org>
8782 * buffer.C: warnings pushed down from support/,
8785 2003-03-29 John Levon <levon@movementarian.org>
8787 * lyxfunc.C: safety check for C-r (revert)
8789 2003-03-29 John Levon <levon@movementarian.org>
8792 * bufferlist.C: several UI fixes using Alert::prompt.
8793 Fix the pointless looping quit code. Fix stupid revert
8798 * lyx_cb.C: use Alert::prompt
8800 * lyx_main.C: remove a silly question
8802 * lyxfunc.C: remove a couple of silly questions,
8805 2003-03-28 John Levon <levon@movementarian.org>
8807 * text2.C: fix bug 974 (End on empty par)
8809 2003-03-28 John Levon <levon@movementarian.org>
8811 * BufferView_pimpl.C:
8813 * lfuns.h: remove do-nothing math greek lfuns
8815 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * lyxgluelength.h (isValidGlueLength): add default arg on
8818 parameter 2. Remove default arg from friend in class.
8820 * lyxlength.h (isValidLength): add default arg on parameter 2.
8821 Remove default arg from friend in class.
8823 * text2.C (LyXText): adjust, initialize refresh_row.
8827 (insertParagraph): adjst
8828 (redoParagraphs): adjust
8829 (fullRebreak): adjust
8830 (updateCounters): adjust
8831 (deleteEmptyParagraphMechanism): first attempt at fixing a
8834 * text.C (top_y): adjust
8835 (setHeightOfRow): adjust
8837 (getRowNearY): adjust
8839 * lyxtext.h: include RowList.h
8840 (~LyXText): not needed anymore, deleted.
8841 (firstRow): modify for RowList
8842 (lastRow): new function
8843 Delete firstrow and lastrow class variables, add a Rowlist
8844 rowlist_ class variable.
8846 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8849 * RowList.C (insert): fix case where it == begin().
8851 2003-03-26 Angus Leeming <leeming@lyx.org>
8853 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8854 the thesaurus dialog.
8856 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8858 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8860 * RowList.[Ch]: new files
8862 * ParagraphList.C (erase): handle the case where it == begin
8865 2003-03-25 John Levon <levon@movementarian.org>
8869 * aspell.C: add new aspell support
8872 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8875 2003-03-25 Angus Leeming <leeming@lyx.org>
8878 * LyXAction.C (init): new LFUN_INSET_INSERT.
8880 * BufferView_pimpl.C (dispatch): split out part of the
8881 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8883 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8886 2003-03-25 Angus Leeming <leeming@lyx.org>
8888 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8890 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8893 * text3.C: remove useless row->height(0)
8895 2003-03-25 John Levon <levon@movementarian.org>
8899 * text3.C: rename the refreshing stuff to better names
8901 2003-03-24 John Levon <levon@movementarian.org>
8903 * BufferView_pimpl.h:
8904 * BufferView_pimpl.C: update layout choice on a mouse
8907 2003-03-23 John Levon <levon@movementarian.org>
8909 * Makefile.am: fix commandtags.h reference
8911 2003-03-22 John Levon <levon@movementarian.org>
8913 * BufferView_pimpl.C:
8918 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8920 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8923 * text.C: take the rtl methods out of line
8925 2003-03-21 André Pönitz <poenitz@gmx.net>
8927 * metricsinfo.[Ch]: new files containing structures to be passed around
8928 during the two-phase-drawing...
8930 2003-03-21 André Pönitz <poenitz@gmx.net>
8932 * lyxtextclass.C: read 'environment' tag.
8934 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8936 * text2.C (removeRow): fix bug 964
8938 2003-03-20 John Levon <levon@movementarian.org>
8942 * text2.C: paint cleanups. Inset::update() dropped font
8945 2003-03-19 John Levon <levon@movementarian.org>
8947 * lyxfunc.C: only fitcursor/markDirty if available()
8949 2003-03-19 John Levon <levon@movementarian.org>
8951 * commandtags.h: rename to ...
8953 * lfuns.h: ... this, and renumber / cleanup
8955 2003-03-19 John Levon <levon@movementarian.org>
8957 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8958 fit the cursor after an lfun
8962 * BufferView_pimpl.h:
8963 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8965 * LyXAction.C: layout-character should have ReadOnly
8967 * ParagraphParameters.C:
8969 * bufferview_funcs.C:
8976 * undo_funcs.C: changes from above
8978 2003-03-18 John Levon <levon@movementarian.org>
8980 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8981 remove it from update()
8983 * lyxfunc.C: update layout choice after an lfun
8985 * text3.C: remove extra updateLayoutChoice()s
8987 2003-03-18 John Levon <levon@movementarian.org>
8989 * text.C: top_y change means full repaint, fix
8990 a drawing bug with cursor movement
8992 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8996 * text2.C: anchor row on setCursor
8998 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9000 * lyxtext.h: remove almost all mutable keywords
9003 * text3.C: remove const keywords accordingly
9005 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9007 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9009 (TeXEnvironment): ditto
9012 2003-03-17 John Levon <levon@movementarian.org>
9014 * text.C (rowBreakPoint): remove attempt to fix displayed
9015 math insets inside a manual label
9017 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9019 * lyxtext.h: remove BufferView* as first arg from almost all class
9021 * other files: adjust.
9023 2003-03-17 John Levon <levon@movementarian.org>
9027 * text2.C: more paint cleanups
9029 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9032 * rowpainter.C: remove "smart" background painting code
9034 2003-03-16 John Levon <levon@movementarian.org>
9039 * text3.C: add helper functions for setting refresh_row/y
9041 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9043 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9044 newline inset which *can* get inserted in the pass_thru layouts.
9045 This is primarily for literate documents.
9047 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9049 * buffer.C: increment LYX_FORMAT to 223
9051 2003-03-14 André Pönitz <poenitz@gmx.net>
9053 * textclass.h: prepare for environment handling, ws changes
9054 * lyxlayout.C: read latexheader and latexfooter tags
9056 2003-03-14 John Levon <levon@movementarian.org>
9058 * text2.C: rewrite ::status() a bit
9060 2003-03-13 John Levon <levon@movementarian.org>
9062 * lyxtext.h: add some docs
9064 2003-03-13 John Levon <levon@movementarian.org>
9069 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9071 2003-03-13 John Levon <levon@movementarian.org>
9073 * text3.C: fix appendix redrawing
9075 2003-03-13 John Levon <levon@movementarian.org>
9077 * text.C (setHeightOfRow):
9079 * rowpainter.C: make appendix mark have the text
9080 "Appendix" so the user knows what it is
9083 * LColor.C: s/appendixline/appendix/ from above
9085 2003-03-13 John Levon <levon@movementarian.org>
9087 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9089 * text.C: fix a getChar(pos) bug properly
9091 2003-03-13 Angus Leeming <leeming@lyx.org>
9094 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9095 Probably only temporary. Let's see how things pan out.
9097 * BufferView.C (unlockInset):
9098 * BufferView_pimpl.C (fitCursor):
9099 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9101 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9102 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9104 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9105 new functions that convert ParagraphParameters to and from a string.
9107 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9108 BufferView::Pimpl's dispatch.
9109 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9111 2003-03-13 André Pönitz <poenitz@gmx.net>
9115 * factory.C: make it aware of InsetEnv
9117 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9119 * text2.C (setCursor): never ask for one past last
9120 (setCursor): add some debugging messages.
9122 * text.C (singleWidth): never ask for one past last
9123 (singleWidth): ditto
9125 (rightMargin): ditto
9126 (rowBreakPoint): ditto
9127 (setHeightOfRow): ditto
9128 (prepareToPrint): ditto
9130 * rowpainter.C (paintBackground): never ask for one past last
9131 (paintText): never ask for one past last
9133 * paragraph_pimpl.C (getChar): make the assert stricter, never
9134 allow the one past last pos to be taken
9136 * paragraph.C (getChar): ws changes only
9138 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9139 (numberOfSeparators): ditto
9140 (numberOfHfills): ditto
9142 2003-03-12 John Levon <levon@movementarian.org>
9148 * paragraph_funcs.C: fix per-buffer authorlists
9150 2003-03-12 John Levon <levon@movementarian.org>
9152 * text.C: fix newline in right address
9154 2003-03-12 Angus Leeming <leeming@lyx.org>
9156 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9157 duplicate those in LyXFunc::dispatch.
9161 * ToolbarDefaults.C:
9162 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9163 Add LFUN_FONTFREE_UPDATE.
9165 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9166 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9168 * bufferview_func.[Ch]: several new functions to facilliate
9169 transfer of data to and from the character dialog.
9171 2003-03-12 John Levon <levon@movementarian.org>
9176 * paragraph_funcs.C:
9177 * paragraph_pimpl.C:
9181 * text3.C: remove META_NEWLINE in favour of an inset
9184 * rowpainter.C: remove paintNewline (done by inset)
9186 2003-03-12 John Levon <levon@movementarian.org>
9188 * paragraph_pimpl.C: complain about bad getChar()s
9189 for a while at least
9191 2003-03-12 John Levon <levon@movementarian.org>
9194 * buffer.C: move paragraph read into a separate function,
9195 a little renaming to reflect that.
9198 * bufferparams.C: remove the author_ids map, not necessary now
9201 * factory.C: moved Buffer::readInset to here
9203 * paragraph_funcs.h:
9204 * paragraph_funcs.C: readParagraph free function moved from
9207 * tabular.C: name change
9209 2003-03-12 John Levon <levon@movementarian.org>
9212 * ParagraphParameters.C: move par params input to
9215 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9216 behave like a normal read from the stream wrt reading
9217 a line vs. a \\token
9219 2003-03-12 John Levon <levon@movementarian.org>
9222 * ParagraphParameters.h:
9223 * ParagraphParameters.C: move output code to a
9226 2003-03-12 John Levon <levon@movementarian.org>
9228 * BufferView.C (insertLyXFile):
9231 * tabular.C: use a parlist iterator for creating the
9234 2003-03-12 John Levon <levon@movementarian.org>
9236 * buffer.C: make current_change static local not
9239 2003-03-12 John Levon <levon@movementarian.org>
9241 * buffer.C: fix insertStringAsLines for change tracking
9243 2003-03-12 John Levon <levon@movementarian.org>
9250 * bufferparams.C: move author list into params. Rename some
9251 functions. Move the header reading into a separate token
9252 loop. Move the header token reading into BufferParams.
9254 2003-03-12 John Levon <levon@movementarian.org>
9256 * changes.C: put debug inside lyxerr.debugging() checks
9258 2003-03-11 André Pönitz <poenitz@gmx.net>
9260 * factory.C: make it aware of InsetHFill
9262 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * buffer.C (latexParagraphs): move function from here...
9265 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9268 2003-03-10 Angus Leeming <leeming@lyx.org>
9270 * LyXAction.C (init): fix bug in poplating array with multiple entries
9271 with the same LFUN (spotted by JMarc).
9273 2003-03-10 John Levon <levon@movementarian.org>
9276 * text2.C: move getColumnNearX() near its
9279 2003-03-10 John Levon <levon@movementarian.org>
9281 * text.C: fix break before a minipage
9283 2003-03-10 John Levon <levon@movementarian.org>
9285 * text.C: fix the last commit
9287 2003-03-09 John Levon <levon@movementarian.org>
9291 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9292 bug 365 (don't break before insets unless needed). Don't
9293 return a value > last under any circumstances.
9295 2003-03-09 Angus Leeming <leeming@lyx.org>
9297 * BufferView_pimpl.C (trackChanges, dispatch): call
9298 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9300 2003-03-09 Angus Leeming <leeming@lyx.org>
9302 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9303 than Dialogs::showAboutlyx().
9305 2003-03-09 Angus Leeming <leeming@lyx.org>
9307 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9308 than Dialogs::showTabularCreate().
9310 2003-03-09 John Levon <levon@movementarian.org>
9314 * text2.C: 3rd arg to nextBreakPoint was always the same.
9317 2003-03-08 John Levon <levon@movementarian.org>
9324 * text2.C: Remove the "main" bit from the "main body"
9327 2003-03-08 John Levon <levon@movementarian.org>
9329 * text.C (leftMargin): The left margin of an empty
9330 manual label paragraph should not include the label width
9333 * text.C (prepareToPrint): don't attempt to measure hfills
9334 for empty manual label paragraphs - the answer should be 0
9336 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9338 * CutAndPaste.C: remove commented code and reindent.
9340 2003-03-08 John Levon <levon@movementarian.org>
9343 * lyxfunc.C: move reloadBuffer()
9346 * BufferView.C: to here
9348 * lyxvc.C: add comment
9351 * vc-backend.C: call bv->reload() to avoid
9352 getStatus() check on MENURELOAD
9354 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9356 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9357 to an old format .dep file.
9359 2003-03-07 Angus Leeming <leeming@lyx.org>
9361 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9362 when the LFUN_MOUSE_RELEASE should have been handled by
9363 inset->localDispatch.
9365 2003-03-07 Angus Leeming <leeming@lyx.org>
9367 * BufferView_pimpl.C (dispatch):
9368 * LyXAction.C (init):
9369 * ToolbarDefaults.C (init):
9371 * lyxfunc.C (getStatus):
9372 remove LFUN_INSET_GRAPHICS.
9374 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9376 2003-03-07 Angus Leeming <leeming@lyx.org>
9379 * LyXAction.C (init):
9380 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9382 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9385 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9387 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9388 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9390 2003-03-07 Angus Leeming <leeming@lyx.org>
9392 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9395 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9397 * ParagraphList.C (front): new function
9400 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9402 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9403 and top_row_offset_. removed var first_y.
9405 * text2.C (LyXText, removeRow):
9407 * BufferView_pimpl.C:
9408 use these methods instead of using first_y
9410 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9412 * text2.C (pasteSelection): adjust for checkPastePossible
9414 * CutAndPaste.C: remove Paragraph * buf and replace with
9415 ParagraphList paragraphs.
9416 (DeleteBuffer): delete
9417 (cutSelection): change the tc type to textclass_type
9418 (copySelection): change the tc type to textclass_type
9419 (copySelection): adjust for ParagraphList
9420 (pasteSelection): change the tc type to textclass_type
9421 (pasteSelection): adjust for Paragraphlist
9422 (nrOfParagraphs): simplify for ParagraphList
9423 (checkPastePossible): simplify for ParagraphList
9424 (checkPastePossible): remove unused arg
9426 * ParagraphList.C (insert): handle the case where there are no
9429 * CutAndPaste.h: make CutAndPaste a namespace.
9431 * text3.C (dispatch): adjust
9433 * text.C (breakParagraph): add a ParagraphList as arg
9435 * paragraph_funcs.C (breakParagraph): change to take a
9436 BufferParams and a ParagraphList as args.
9437 (breakParagraphConservative): ditto
9438 (mergeParagraph): ditto
9439 (TeXDeeper): add a ParagraphList arg
9440 (TeXEnvironment): ditto
9443 * buffer.C (readLyXformat2): adjust
9444 (insertStringAsLines): adjust
9445 (latexParagraphs): adjust
9447 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9448 (cutSelection): adjust
9449 (pasteSelection): adjust
9451 * BufferView_pimpl.C (insertInset): adjust
9453 2003-03-05 Angus Leeming <leeming@lyx.org>
9456 * LyXAction.C (init):
9457 * BufferView_pimpl.C (dispatch):
9458 * lyxfunc.C (getStatus):
9459 remove LFUN_CHILD_INSERT.
9461 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9463 2003-03-05 Angus Leeming <leeming@lyx.org>
9466 * LyXAction.C (init):
9467 * src/factory.C (createInset):
9468 * lyxfunc.C (getStatus):
9469 * text3.C (dispatch):
9470 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9472 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9474 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9476 * ParagraphList.C (insert): handle insert right before end()
9477 (erase): fix cases where it can be first or last paragraph.
9479 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9481 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9482 Paragraph::next and Paragraph::previous
9485 * text.C (breakParagraph): adjust
9487 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9488 BufferParams& as arg.
9489 (breakParagraph): use ParagraphList::insert
9490 (breakParagraphConservative): take a Buffer* instead of a
9491 BufferParams& as arg.
9492 (breakParagraphConservative): use ParagraphList::insert.
9494 * buffer.C (insertStringAsLines): un-const it
9495 (insertStringAsLines): adjust
9497 * ParagraphList.C (insert): new function
9499 * CutAndPaste.C (pasteSelection): adjust
9501 * text.C (backspace): adjust
9503 * tabular.C (SetMultiColumn): adjust
9505 * CutAndPaste.C (cutSelection): adjust
9506 (pasteSelection): adjust
9508 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9509 Buffer const * as arg
9511 * ParagraphList.C (erase): new function
9512 * paragraph_funcs.C (mergeParagraph): use it
9513 (mergeParagraph): make it take a Buffer* instead of a
9514 BufferParams* as arg
9516 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9518 (breakParagraphConservative): ditto
9520 * paragraph.h: remove the breakParagraph friend
9522 * paragraph.C (eraseIntern): new function
9523 (setChange): new function
9525 * paragraph_funcs.C (mergeParagraph): make it take a
9526 ParagraphList::iterator instead of a Paragraph *, adjust
9529 * paragraph.h: move an #endif so that the change tracking stuff
9530 also works in the NO_NEXT case.
9532 2003-03-04 Angus Leeming <leeming@lyx.org>
9535 * LyXAction.C: new LFUN_INSET_MODIFY.
9537 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9538 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9540 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9542 * several files: ws changes only
9544 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9545 (TeXEnvironment): ditto
9548 * buffer.C (makeLaTeXFile): adjust
9549 (latexParagraphs): make it take ParagraphList::iterator as args
9551 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9553 * buffer.C (latexParagraphs): adjust
9555 * paragraph.C (TeXOnePar): move function...
9556 (optArgInset): move function...
9557 (TeXEnvironment): move function...
9558 * paragraph_pimpl.C (TeXDeeper): move function...
9559 * paragraph_funcs.C: ...here
9561 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9563 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9565 * buffer.C (readInset): remove compability code for old Figure and
9568 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9570 * buffer.C: ws changes
9573 * BufferView_pimpl.C: ditto
9576 * bufferlist.h: ditto
9580 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9582 * converter.[Ch]: split into itself +
9585 * Makefile.am: += graph.[Ch] + format.[Ch]
9592 * lyxrc.C: added #include "format.h"
9594 2003-02-27 Angus Leeming <leeming@lyx.org>
9596 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9599 * factory.C (createInset): add "label" to the factory.
9601 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9602 string and do no more.
9604 2003-02-27 Angus Leeming <leeming@lyx.org>
9607 * LyXAction.C (init):
9608 * factory.C (createInset):
9609 * BufferView_pimpl.C (dispatch):
9610 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9612 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9614 * lyxfunc.C (dispatch):
9615 * text3.C (dispatch): pass name to params2string.
9617 2003-02-26 Angus Leeming <leeming@lyx.org>
9619 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9621 Rearrange the ~includes. Strip out the unnecessary ones.
9623 * factory.C (createInset): reformat.
9624 create new insets for the various LFUN_XYZ_APPLY lfuns.
9626 2003-02-26 John Levon <levon@movementarian.org>
9629 * lyxrow.C: add isParStart,isParEnd helpers
9631 * paragraph.h: make isInserted/DeletedText take refs
9633 * paragraph_funcs.h:
9634 * paragraph_funcs.C: remove #if 0'd code
9639 * text.C: use lyxrow helpers above.
9640 Move draw and paint routines to RowPainter.
9641 Make several methods use refs not pointers.
9642 Make backgroundColor() const.
9643 Add markChangeInDraw(), isInInset().
9644 Merge changeRegionCase into changeCase.
9645 Make workWidth() shouldn't-happen code into an Assert.
9648 * rowpainter.C: new class for painting a row.
9651 * vspace.C: make inPixels take a ref
9653 2003-02-26 Angus Leeming <leeming@lyx.org>
9655 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9658 2003-02-25 John Levon <levon@movementarian.org>
9660 * ispell.C: give the forked command a more accurate name
9662 2003-02-22 John Levon <levon@movementarian.org>
9665 * toc.C: make TocItem store an id not a Paragraph *
9668 2003-02-21 Angus Leeming <leeming@lyx.org>
9670 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9671 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9672 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9673 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9674 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9675 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9677 * BufferView_pimpl.C (dispatch):
9678 * LyXAction.C (init):
9679 * factory.C (createInset):
9680 * lyxfunc.C (getStatus, dispatch):
9681 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9683 2003-02-21 Angus Leeming <leeming@lyx.org>
9685 * BufferView_pimpl.C (MenuInsertLyXFile):
9686 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9687 * lyxfunc.C (menuNew, open, doImport):
9688 no longer pass a LyXView & to fileDlg.
9690 2003-02-21 Angus Leeming <leeming@lyx.org>
9692 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9693 * LyXAction.C: change, BIBKEY to BIBITEM.
9694 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9695 Change InsetBibKey to InsetBibitem.
9696 Change BIBKEY_CODE to BIBITEM_CODE.
9697 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9698 * factory.C: replace insetbib.h with insetbibitem.h.
9699 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9700 * paragraph.C: replace insetbib.h with insetbibitem.h.
9701 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9702 Change bibkey() to bibitem().
9703 * text.C: remove insetbib.h.
9704 * text2.C: replace insetbib.h with insetbibitem.h.
9705 change bibkey() to bibitem().
9706 * text3.C: remove insetbib.h.
9707 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9709 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9711 * lyxrc.C (output): enclose user email in quotes (in case there are
9714 2003-02-18 John Levon <levon@movementarian.org>
9716 * buffer.h: add std::
9718 2003-02-17 John Levon <levon@movementarian.org>
9724 * pspell.C: reworking. Especially in ispell, a large
9725 number of clean ups and bug fixes.
9727 * lyxfunc.C: fix revert to behave sensibly
9729 2003-02-17 André Pönitz <poenitz@gmx.net>
9732 * commandtags.h: new LFUN_INSERT_BIBKEY
9742 * paragraph_func.C: remove special bibkey handling
9744 2003-02-17 John Levon <levon@movementarian.org>
9746 * text.C (Delete): fix case where delete at the end of
9747 the very first paragraph would not merge the pars
9749 2003-02-17 John Levon <levon@movementarian.org>
9751 * lyxrow.C: fix lastPrintablePos()
9753 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9755 * bufferparams.C (writeLaTeX): add a std:here
9757 * buffer.C: and remove a using directive there
9759 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9761 * buffer.C (makeLaTeXFile): move the code that generates the
9764 * bufferparams.C (writeLaTeX): ... in this new method
9766 * LaTeXFeatures.C (getEncodingSet): make const
9767 (getLanguages): make const
9769 * MenuBackend.C (binding): returns the binding associated to this
9771 (add): sets the status of each item by calling getStatus. Adds
9773 (read): add support for OptSubMenu
9774 (expand): remove extra separator at the end of expanded menu
9776 2003-02-15 John Levon <levon@movementarian.org>
9779 * BufferView_pimpl.C:
9781 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9782 inset code that had no actual effect. Remove unneeded status
9785 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9790 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9792 * text.C (drawLengthMarker): also draw an arrow marker for
9793 symbolic lengths (medskip...)
9795 2003-02-14 John Levon <levon@movementarian.org>
9798 * tabular.C: better method names
9800 2003-02-14 John Levon <levon@movementarian.org>
9802 * BufferView_pimpl.C:
9807 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9808 it's a more accurate name. Remove some pointless uses.
9810 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9812 * text2.C (LyXText): change order of initilizers to shut off
9815 2003-02-14 John Levon <levon@movementarian.org>
9817 * buffer.C: use ParIterator for getParFromID()
9821 * paragraph_pimpl.h:
9822 * paragraph_pimpl.C: remove unused getParFromID()
9824 2003-02-14 John Levon <levon@movementarian.org>
9826 * buffer.C: remove some very old #if 0'd parse code
9828 2003-02-13 John Levon <levon@movementarian.org>
9832 * text2.C: move hfillExpansion(), numberOfSeparators(),
9833 rowLast(), rowLastPrintable(), numberofHfills(),
9834 numberOfLabelHfills() ...
9837 * lyxrow.C: ... to member functions here.
9842 * text.C: remove LyXText::beginningOfMainBody(), and call
9843 p->beginningOfMainBody() directly. Move the check for
9844 LABEL_MANUAL into the latter.
9851 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9857 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9858 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9860 2003-02-13 John Levon <levon@movementarian.org>
9862 * CutAndPaste.C: remove debug
9864 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9866 * paragraph.C (asString): remove two unused variables
9868 * lyxtextclass.C (readTitleType):
9870 (LyXTextClass): handle new members titletype_ and titlename_
9872 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9874 2003-02-09 John Levon <levon@movementarian.org>
9877 * buffer.C: replace hand-coded list with a map for the dep clean
9879 2003-02-08 John Levon <levon@movementarian.org>
9881 * LaTeX.C: consolidate code into showRunMessage() helper
9883 2003-02-08 John Levon <levon@movementarian.org>
9888 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9889 and pass the size in explicitly
9891 * BufferView_pimpl.h:
9892 * BufferView_pimpl.C:
9894 * BufferView.C: add getCurrentChange()
9896 * BufferView_pimpl.h:
9897 * BufferView_pimpl.C: handle change lfuns
9899 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9900 for changes. Mark pasted paragraphs as new.
9902 * support/lyxtime.h:
9903 * support/lyxtime.C:
9904 * DepTable.C: abstract time_t as lyx::time_type
9907 * LColor.C: add colours for new text, deleted text, changebars
9909 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9910 package use "usenames" option.
9914 * LyXAction.C: add change lfuns
9918 * author.C: author handling
9921 * buffer.C: add a per-buffer author list, with first entry as
9922 current author. Handle new .lyx tokens for change tracking. Output
9923 author list to .lyx file. Output dvipost stuff to .tex preamble.
9924 Bump lyx format to 222.
9927 * bufferlist.C: add setCurrentAuthor() to reset current author details
9931 * bufferparams.C: add param for tracking
9933 * bufferview_funcs.C: output change info in minibuffer
9937 * changes.C: add change-tracking structure
9940 * debug.C: add CHANGES debug flag
9943 * lyxfind.C: add code for finding the next change piece
9946 * lyxrc.C: add user_name and user_email
9949 * lyxrow.C: add a metric for the top of the text line
9952 * text.C: implement accept/rejectChange()
9955 * text.C: paint changebars. Paint new/deleted text in the chosen
9956 colours. Strike through deleted text.
9960 * paragraph_pimpl.h:
9961 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9962 in the current change to the insert functions. Rework erase to
9963 mark text as deleted, adding an eraseIntern() and a range-based
9964 erase(). Implement per-paragraph change lookup and
9967 * paragraph_funcs.C: Fixup paste for change tracking.
9969 * tabular.C: mark added row/columns as new.
9971 * text.C: fix rowLast() to never return -1. Don't allow
9972 spellchecking of deleted text. Track transpose changes. Don't
9973 allow paragraph break or merge where appropriate.
9975 * text2.C: leave cursor at end of selection after a cut.
9977 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9979 * text.C (getLengthMarkerHeight):
9980 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9981 visible on screen too.
9983 2003-02-07 John Levon <levon@movementarian.org>
9985 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9987 2003-02-05 Angus Leeming <leeming@lyx.org>
9989 * lyxserver.C (read_ready): revert my patch of 11 September last year
9990 as it sends PC cpu through the roof. Presumably this means that
9991 the lyxserver will no longer run on an Alpha...
9993 2003-01-30 Angus Leeming <leeming@lyx.org>
9995 * factory.C (createInset): create an InsetCommandParam of type "index"
9996 and use it to 'do the right thing'.
9998 * text2.C (getStringToIndex): ensure that cursor position is always
9999 reset to the reset_cursor position.
10001 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10003 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10006 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10010 * lyxfunc.C: Output messages with identical spelling, punctuation,
10013 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10015 * MenuBackend.C (expandFormats): List only viewable export formats
10018 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10021 * lyxfunc.C (getStatus): Make sure that formats other than
10022 "fax" can also be disabled
10024 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10026 * text3.C (dispatch): put the lfuns that insert insets in 3
10027 groups, and call doInsertInset with appropriate arguments.
10028 (doInsertInset): new function, that creates an inset and inserts
10029 it according to some boolean parameters.
10031 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10033 * buffer.C (readFile): remember to pass on 'par' when calling
10034 readFile recursively.
10036 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10038 * MenuBackend.C (expandFormats): add "..." to import formats.
10040 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10042 * paragraph.C (asString): Remove XForms RTL hacks.
10044 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10045 * buffer.C: fix typo
10047 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10049 * Makefile.am (LIBS): delete var
10050 (lyx_LDADD): add @LIBS@ here instead.
10052 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10054 * Clarify the meaning of "wheel mouse jump"
10056 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10058 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10061 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10063 * importer.C (Loaders): do not preallocate 3 elements in the
10064 vector, since one ends up with 6 elements otherwise
10066 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10068 * DepTable.C (write): write the file name as last element of the
10069 .dep file (because it may contain spaces)
10070 (read): read info in the right order
10072 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10074 * paragraph_pimpl.C (simpleTeXBlanks):
10075 (simpleTeXSpecialChars):
10076 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10078 * tabular.C (latex): add some missing case statements. Reindent.
10080 * MenuBackend.C (expandToc): remove unused variable.
10082 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10091 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10094 2003-01-05 John Levon <levon@movementarian.org>
10097 * BufferView.C: add getEncoding()
10100 * kbsequence.C: do not store last keypress
10103 * lyxfunc.C: store last keypress here instead. Pass encoding
10106 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10108 * lyx_main.C (init): remove annoying error message when following
10109 symbolic links (bug #780)
10111 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10113 * text.C (insertChar):
10114 * lyxrc.C (getDescription): remove extra spaces
10116 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10118 * lyxrc.C (getDescription): remove extra spaces
10120 2002-12-20 John Levon <levon@movementarian.org>
10122 * text3.C: hack fix for page up/down across tall rows
10124 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10126 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10129 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10131 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10132 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10133 thesaurus is not compiled in
10135 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10137 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10139 2002-12-16 Angus Leeming <leeming@lyx.org>
10142 * lyx_main.C (init): remove override_x_deadkeys stuff.
10144 2002-12-12 John Levon <levon@movementarian.org>
10146 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10147 insert. Only remove shift modifier under strict
10150 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10152 * MenuBackend.C (expandToc): fix crash.
10154 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10156 * MenuBackend.C (expandToc): gettext on float names.
10158 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10160 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10161 implement bool empty() [bug 490]
10163 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10165 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10167 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10169 * several files: ws changes
10171 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10173 * text2.C (setCounter): clean up a bit, use boost.format.
10174 (updateCounters): initialize par upon declaration.
10176 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10177 if the layout exists. We do not just store the layout any more.
10178 (SwitchLayoutsBetweenClasses): use boost.format
10180 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10182 * converter.C (convert): if from and to files are the same, use a
10183 temporary files as intermediary
10185 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10188 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10190 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10192 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10194 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10196 * tabular.C (asciiPrintCell): use string(size, char) instead of
10199 * sgml.C (openTag): fix order of arguments to string constructor
10202 * lyxfunc.C (dispatch): use boost.format
10204 * lots of files: change "c" -> 'c'
10206 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10208 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10210 2002-11-25 Angus Leeming <leeming@lyx.org>
10212 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10214 * lyx_main.C (init): compile fix.
10216 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10218 * lyx_cb.C (start): boost.formatify
10219 do not include <iostream>
10221 * lengthcommon.C: ws only
10223 * boost-inst.C,BoostFormat.h: add more explict instantations
10225 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10227 * lots of files: handle USE_BOOST_FORMAT
10229 2002-11-21 John Levon <levon@movementarian.org>
10231 * pspell.C: fix compile
10233 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10235 * lyxfunc.C (dispatch): use boost::format
10239 * lyxfont.C (stateText): use boost::format
10241 * lyx_main.C (LyX): use boost::format
10243 (queryUserLyXDir): ditto
10244 (readRcFile): ditto
10246 (typedef boost::function): use the recommened syntax.
10248 * importer.C (Import): use boost::format
10250 * debug.C (showLevel): use boost::format
10252 * converter.C (view): use boost::format
10257 * bufferview_funcs.C (currentState): use boost::format
10259 * bufferlist.C (emergencyWrite): use boost::format
10261 * buffer.C (readLyXformat2): use boost::format
10262 (parseSingleLyXformat2Token): ditto
10264 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10266 * LaTeX.C (run): use boost::format
10268 * Chktex.C (scanLogFile): use boost::format
10270 * BufferView_pimpl.C (savePosition): use boost::format
10271 (restorePosition): ditto
10272 (MenuInsertLyXFile): ditto
10274 * BoostFormat.h: help file for explicit instation.
10276 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10278 * tabular.C (latex): Support for block alignment in fixed width
10281 2002-11-17 John Levon <levon@movementarian.org>
10283 * BufferView_pimpl.C:
10285 * lyxfunc.C: split filedialog into open/save
10287 2002-11-08 Juergen Vigna <jug@sad.it>
10289 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10290 by my last patch (hopefully).
10292 2002-11-08 John Levon <levon@movementarian.org>
10301 * toc.C: ParConstIterator, and use it (from Lars)
10303 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10305 * lyxtextclass.[Ch]: revise and add doxygen comments
10307 2002-11-07 John Levon <levon@movementarian.org>
10309 * text.C: fix progress value for spellchecker
10311 * toc.C: fix navigate menu for insetwrap inside minipage
10313 * paragraph_funcs.C: added FIXME for suspect code
10315 2002-11-07 John Levon <levon@movementarian.org>
10317 * BufferView_pimpl.C: fix redrawing of insets
10320 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10322 * text2.C (updateCounters): fix bug 668
10324 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10326 * text3.C (dispatch): Do not make the buffer dirty when moving the
10329 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10331 * vc-backend.C: STRCONV
10332 (scanMaster): ditto
10334 * text2.C (setCounter): STRCONV
10336 * paragraph.C (asString): STRCONV
10338 * lyxlength.C (asString): STRCONV
10339 (asLatexString): ditto
10341 * lyxgluelength.C (asString): STRCONV
10342 (asLatexString): ditto
10344 * lyxfunc.C (dispatch): STRCONV
10347 * lyxfont.C (stateText): STRCONV
10349 * importer.C (Import): STRCONV
10351 * counters.C (labelItem): STRCONV
10352 (numberLabel): ditto
10353 (numberLabel): remove unused ostringstream o
10358 * bufferview_funcs.C (currentState): STRCONV
10360 * buffer.C (readFile): STRCONV
10361 (asciiParagraph): ditto
10362 (makeLaTeXFile): ditto
10364 * Spacing.C (writeEnvirBegin): STRCONV
10366 * LaTeXFeatures.C (getLanguages): STRCONV
10367 (getPackages): ditto
10369 (getBabelOptions): ditto
10370 (getTClassPreamble): ditto
10371 (getLyXSGMLEntities): ditto
10372 (getIncludedFiles): ditto
10376 (scanAuxFile): ditto
10379 * LString.h: add the STRCONV macros
10381 * BufferView_pimpl.C (savePosition): STRCONV
10382 (restorePosition): ditto
10383 (MenuInsertLyXFile): ditto
10385 * vc-backend.C (scanMaster): change from submatch[...] to
10388 * funcrequest.C: include config.h
10390 * factory.C: include config.h
10392 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10394 * box.C: include config.h
10396 * LaTeX.C (scanAuxFile): change from submatch[...] to
10400 2002-10-25 Angus Leeming <leeming@lyx.org>
10402 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10404 * ispell.[Ch] (setError): new method.
10405 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10406 Use setError() insetead of goto END.
10408 * lyx_cb.C (AutoSave): move out child process into new class
10411 2002-10-30 John Levon <levon@movementarian.org>
10413 * text3.C: make start appendix undoable
10415 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10417 * lyxlength.C (inPixels): Fix returned value.
10419 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10422 2002-10-24 Angus Leeming <leeming@lyx.org>
10424 * lyxgluelength.h: no need to forward declare BufferParams
10425 or BufferView, so don't.
10427 2002-10-21 John Levon <levon@movementarian.org>
10429 * BufferView.C: menuUndo ->undo, redo
10431 * BufferView.h: document, remove dead, make some methods private
10433 * paragraph_funcs.h:
10434 * paragraph_funcs.C:
10435 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10440 * sgml.C: move sgml open/close tag into sgml.C
10442 * bufferview_funcs.h: unused prototype
10445 * lyxfunc.C: remove unused
10448 * text.C: remove unused
10450 2002-10-21 John Levon <levon@movementarian.org>
10454 * BufferView_pimpl.h:
10455 * BufferView_pimpl.C: fix mouse wheel handling based on
10456 patch from Darren Freeman
10458 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10460 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10462 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10464 * lyxlength.C (inPixels): Fix hanfling of negative length.
10465 Fix LyXLength::MU case.
10467 2002-10-16 John Levon <levon@movementarian.org>
10469 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10471 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10473 * converter.C (view): add support for $$i (file name) and $$p
10474 (file path) for the viewer command. If $$i is not specified, then
10475 it is appended to the command (for compatibility with old syntax)
10477 2002-10-14 Juergen Vigna <jug@sad.it>
10479 * undo_funcs.C (textHandleUndo): alter the order in which the
10480 new undopar is added to the LyXText, as we have to set first
10481 the right prev/next and then add it as otherwise the rebuild of
10482 LyXText is not correct. Also reset the cursor to the right paragraph,
10483 with this IMO we could remove the hack in "redoParagraphs()".
10485 2002-10-09 Angus Leeming <leeming@lyx.org>
10487 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10488 to turn off an optimisation if a new inset is to be inserted.
10490 2002-10-11 André Pönitz <poenitz@gmx.net>
10492 * lyxtext.h: make some functions public to allow access
10493 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10495 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10497 * text3.C (dispatch): when changing layout, avoid an infinite loop
10500 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10502 * lyxrc.C (read): treat a viewer or converter command of "none" as
10505 * MenuBackend.C (expandFormats): for an update, also allow the
10506 formats that are not viewable
10508 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10509 script if it is newer than the lyxrc.defaults in user directory
10511 2002-10-07 André Pönitz <poenitz@gmx.net>
10513 * text.C: Vitaly Lipatov's small i18n fix
10515 2002-09-25 Angus Leeming <leeming@lyx.org>
10517 * ispell.h: doxygen fix.
10519 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10521 * buffer.h (readFile): Add a new argument to the method, to allow
10522 reading of old-format templates.
10524 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10526 * toc.C (getTocList): Get TOC from InsetWrap.
10528 2002-09-16 John Levon <levon@movementarian.org>
10530 * lyxfunc.C: check tabular for cut/copy too
10532 2002-09-12 John Levon <levon@movementarian.org>
10534 * LyXAction.C: tidy
10537 * factory.C: add header
10539 * paragraph_funcs.h:
10540 * paragraph_funcs.C: cleanup
10542 2002-09-11 John Levon <levon@movementarian.org>
10544 * PrinterParams.h: odd/even default to true
10546 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10548 * PrinterParams.h: update printer parameters for new xforms dialog
10550 2002-09-11 Angus Leeming <leeming@lyx.org>
10552 * lyxserver.C (read_ready): re-write to make it more transparent
10553 and to make it work in coherent fashion under Tru64 Unix.
10555 2002-09-11 André Pönitz <poenitz@gmx.net>
10559 * text3.C: implement LFUN_WORDSEL
10561 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10563 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10564 make floatlist_ a boost::shared_ptr<FloatList>
10566 * lyxtextclass.C: include FloatList.h
10567 (LyXTextClass): initialize floatlist_
10568 (TextClassTags): add TC_NOFLOAT
10569 (Read): match "nofloat" to TC_NOFLOAT and use it.
10570 (readFloat): modify call to floatlist_
10574 * FloatList.[Ch] (FloatList): remove commented out float
10576 (erase): new function
10578 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * MenuBackend.C (expandToc): fix crash when there is no document
10583 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10585 * many files: Add insetwrap.
10587 2002-09-09 John Levon <levon@movementarian.org>
10589 * text2.C: remove confusing and awkward depth wraparound
10591 2002-09-09 John Levon <levon@movementarian.org>
10593 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10596 * buffer.C: remove getIncludeonlyList()
10599 * lyxfunc.C: remove headers
10601 2002-09-09 Juergen Vigna <jug@sad.it>
10603 * text.C (getColumnNearX): fix form Michael this is most
10604 probably a cut&paste bug.
10606 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10608 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10610 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10611 references, ws changes.
10613 * text2.C (init): update counters after init
10614 (insertParagraph): no need to set counter on idividual paragraphs.
10615 (setCounter): access the counters object in the textclass object
10616 on in the buffer object.
10617 (updateCounters): ditto
10619 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10620 shared_ptr<Counters> to avoid loading counters.h in all
10622 (LyXTextClass): initialize ctrs_
10623 (TextClassTags): add TC_COUNTER, and ...
10624 (Read): use it here.
10625 (CounterTags): new tags
10626 (readCounter): new function
10627 (counters): new funtion
10628 (defaultLayoutName): return a const reference
10630 * counters.C (Counters): remove contructor
10631 (newCounter): remove a couple of unneeded statements.
10632 (newCounter): simplify a bit.
10633 (numberLabel): some small formatting changes.
10635 * buffer.[Ch]: remove all traces of counters, move the Counters
10636 object to the LyXTextClass.
10638 2002-09-06 Alain Castera <castera@in2p3.fr>
10640 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10641 package to set the horizontal alignment on fixed width columns.
10644 * lyx_sty.h: added tabularnewline macro def.
10646 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10648 2002-09-06 John Levon <levon@movementarian.org>
10650 * LyXAction.C: tooltips for sub/superscript
10652 * MenuBackend.C: a bit more verbose
10654 * lyxfunc.C: tiny clean
10656 * undo_funcs.C: document undo_frozen
10658 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10660 * counters.C (Counters): add missing algorithm counter.
10662 * text2.C (setCounter): lookup the counter with layouts latexname
10663 instead of by section number.
10664 (setCounter): use a hackish way to lookup the correct enum
10666 a float name->type change
10667 reset enum couners with counter name directly instead of depth value.
10669 * counters.C (Counters): remove the push_backs, change to use the
10670 float type not the float name.
10671 (labelItem): remove unused string, float name->type change
10673 * counters.h: don't include vector, loose the enums and sects vectors
10675 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10677 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10678 (Read): add float->TC_FLOAT to textclassTags
10679 (Read): and handle it in the switch
10680 (readFloat): new function
10682 * FloatList.C (FloatList): comment out the hardcoded float
10685 * lyxlayout.h: ws change.
10687 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10689 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10691 2002-09-03 Angus Leeming <leeming@lyx.org>
10693 * BufferView_pimpl.h: qualified name is not allowed in member
10694 declaration: WorkArea & Pimpl::workarea() const;
10696 * factory.C: added using std::endl directive.
10698 * text3.C: added using std::find and std::vector directives.
10700 2002-08-29 André Pönitz <poenitz@gmx.net>
10703 * text2.C: remove unused member number_of_rows
10706 * BufferView2.C: remove file, move contents to...
10707 * BufferView.C: ... here
10709 * BufferView_pimpl.C:
10710 * factory.C: move more inset creation to factory
10712 * vspace.C: avoid direct usage of LyXText, ws changes
10715 don't provide direct access to WorkArea, use two simple
10716 acessors haveSelction() and workHeight() instead
10719 2002-08-29 John Levon <levon@movementarian.org>
10721 * BufferView_pimpl.C (dispatch): do not continue when
10724 2002-08-28 André Pönitz <poenitz@gmx.net>
10726 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10729 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10731 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10733 * buffer.C: increment LYX_FORMAT to 221
10735 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10736 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10738 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10740 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10742 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10744 * factory.C (createInset): use LyXTextClass::floats
10746 * MenuBackend.C (expandFloatListInsert):
10747 (expandFloatInsert):
10750 * text2.C (setCounter):
10752 * LaTeXFeatures.C (useFloat):
10753 (getFloatDefinitions):
10755 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10757 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10758 floatlist_, with accessor floats().
10760 * FloatList.h: remove global FloatList
10762 2002-08-26 André Pönitz <poenitz@gmx.net>
10764 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10768 * BufferView_pimpl.C:
10769 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10771 2002-08-25 John Levon <levon@movementarian.org>
10773 * LyXAction.C: fix margin note description
10775 2002-08-24 John Levon <levon@movementarian.org>
10779 * bufferview_funcs.C:
10781 * undo_funcs.C: cleanups
10783 * lyxfunc.C: disable CUT/COPY when no selection
10785 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10787 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10788 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10790 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10791 Add backward compatibility to "mono", "gray" and "no".
10793 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10795 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10796 (and file_format >= 200).
10798 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10800 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10802 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10804 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10806 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10808 * BufferView_pimpl.C:
10815 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10816 inset and code to make it work with the paragraph code. The inset
10817 can be anywhere in the paragraph, but will only do the expected
10818 thing in LaTeX if the layout file contains the parameter line
10820 (or more generally, a nonzero value) for that layout.
10822 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10824 * paragraph.h: remove the declaration of undefined counters class
10827 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10829 * text2.C (setCounter): fixed enumeration mis-count as reported by
10830 Dr. Richard Hawkins.
10832 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10834 * paragraph_funcs.h: remove some unneeded includes
10836 * text.C (backspace): pasteParagraph now in global scipe
10838 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10839 (pasteSelection): ditto
10841 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10842 * paragraph_funcs.C (pasteParagraph): ... here
10844 2002-08-20 André Pönitz <poenitz@gmx.net>
10846 * commandtags.h: new LFUNs for swapping/copying table row/colums
10849 * lyxfunc.C: support for new lfuns
10851 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10854 * buffer.[Ch]: remove NO_COMPABILITY stuff
10856 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10858 * boost.C (throw_exception): new file, with helper function for
10859 boost compiled without exceptions.
10864 * ParameterStruct.h:
10865 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10867 * bufferlist.C (emergencyWriteAll): use boost bind
10869 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10871 * text.C: include paragraph_funcs.h
10872 (breakParagraph): breakParagraph is now in global scope
10874 * paragraph_funcs.[Ch]: new files
10876 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10879 * buffer.C: include paragraph_funcs.h
10880 (insertStringAsLines): breakParagraph is now in global scope
10882 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10885 * CutAndPaste.C: include paragraph_funcs.h
10886 (cutSelection): breakParagraphConservative is now in global scope
10887 (pasteSelection): ditto
10889 * buffer.h: declare oprator== and operator!= for
10890 Buffer::inset_iterator
10892 * bufferlist.C (emergencyWrite): don't use fmt(...)
10894 * text3.C: add using std::endl
10896 * BufferView.C (moveCursorUpdate): remove default arg
10898 2002-08-20 André Pönitz <poenitz@gmx.net>
10900 * buffer.[Ch]: move inline functions to .C
10903 * BufferView_pimpl.C:
10905 * buffer.[Ch]: use improved inset_iterator
10908 * paragraph.[Ch]: write one paragraph at a time
10910 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10912 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10913 style if style is not specified.
10915 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10917 * text2.C (setCounter): when searching for right label for a
10918 caption, make sure to recurse to parent insets (so that a caption
10919 in a minipage in a figure float works) (bug #568)
10921 2002-08-20 André Pönitz <poenitz@gmx.net>
10923 * text3.C: new file for LyXText::dispatch() and helpers
10925 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10927 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10929 2002-08-19 André Pönitz <poenitz@gmx.net>
10932 * text.C: new LyXText::dispatch()
10934 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10936 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10938 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10940 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10943 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10945 * Makefile.am: use $(variables) instead of @substitutions@
10947 2002-08-15 André Pönitz <poenitz@gmx.net>
10950 * BufferView_pimpl.C: streamlining mathed <-> outer world
10954 * LyXAction.C: remove unused LFUN_MATH
10956 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10958 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10960 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10962 * paragraph.C (Paragraph): reformat a bit
10963 (cutIntoMinibuffer): use builtin InsetList function instad of
10967 * buffer.C: include boost/bind.hpp, add using std::for_each
10968 (writeFileAscii): use ParagraphList iterators
10969 (validate): use for_each for validate traversal of paragraphs
10970 (getBibkeyList): use ParagraphList iterators
10971 (resizeInsets): use for_each to resizeInsetsLyXText for all
10973 (getParFromID): use ParagraphList iterators
10975 * BufferView2.C (lockInset): use paragraph list and iterators
10977 2002-08-14 John Levon <levon@movementarian.org>
10979 * lyxserver.C: remove spurious xforms include
10981 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10983 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10985 2002-08-13 André Pönitz <poenitz@gmx.net>
10988 * lyxfunc.C: further cleaning
10990 2002-08-13 André Pönitz <poenitz@gmx.net>
10992 * funcrequest.h: new constructor
10994 * funcrequest.C: move stuff here from .h
10997 * BufferView_pimpl.C:
11000 * lyxfunc.C: subsequent changes
11002 * lyxfunc.h: new view() member function
11004 * lyxfunc.C: subsequent changes
11006 2002-08-13 Angus Leeming <leeming@lyx.org>
11009 * BufferView_pimpl.C:
11017 changes due to the changed LyXView interface that now returns references
11018 to member variables not pointers.
11020 2002-08-13 Angus Leeming <leeming@lyx.org>
11022 * WordLangTuple (word, lang_code): return references to strings,
11027 * lyxtext.h: forward-declare WordLangTuple.
11032 * text.C: #include "WordLangTuple.h".
11035 * text.C: (selectNextWordToSpellcheck): constify return type.
11037 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11043 * paragraph_pimpl.h:
11046 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11047 suggested by Angus.
11048 Made updateCounter always count from start of buffer, and removed
11049 second argument (par).
11050 Reverted floats number display to '#'. Perhaps I'll try again when the
11051 code base is sanitized a bit.
11053 2002-08-12 Angus Leeming <leeming@lyx.org>
11055 * buffer.[Ch] (getLabelList): constify.
11057 2002-08-07 André Pönitz <poenitz@gmx.net>
11059 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11061 * funcrequest.h: extension to keep mouse (x,y) position
11063 2002-08-12 Juergen Vigna <jug@sad.it>
11065 * BufferView2.C (insertErrors): forbid undo when inserting error
11068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11070 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11072 * ParagraphList.[Ch]: new files
11074 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11076 * BufferView2.C (lockInset): ParagraphList changes
11079 * bufferlist.C: ditto
11083 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11085 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11086 unused class variable counter_,
11088 * paragraph.[Ch] (getFirstCounter): delete unused function
11090 * counters.C: include LAssert.h
11091 (reset): add a new function with no arg, change other version to
11092 not have def. arg and to not allow empty arg.
11094 * text2.C (setCounter): remove empty arg from call to Counters::reset
11096 2002-08-11 John Levon <levon@movementarian.org>
11098 * Makefile.am: add WordLangTuple.h
11100 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11102 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11103 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11105 * insets/insettext.C: InsetList changes
11107 * graphics/GraphicsSupport.C (operator()): InsetList changes
11109 * toc.C (getTocList): InsetList changes
11111 * paragraph_pimpl.[Ch]: InsetList changes
11113 * paragraph.[Ch]: InsetList changes
11115 * buffer.C (inset_iterator): InsetList changes
11116 (setParagraph): ditto
11117 * buffer.h (inset_iterator): ditto
11118 * iterators.C (operator++): ditto
11119 * iterators.h: ditto
11121 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11123 * InsetList.[Ch]: new files, most InsetList handling moved out of
11126 * BufferView2.C (removeAutoInsets): InsetList changes
11128 (ChangeInsets): ditto
11130 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11132 * paragraph_pimpl.h (empty): new function
11134 * paragraph.[Ch] (empty): new function
11136 * other files: use the new Paragraph::empty function
11138 2002-08-09 John Levon <levon@movementarian.org>
11140 * lyxtext.h: remove unused refresh_height
11142 2002-08-09 John Levon <levon@movementarian.org>
11149 * paragraph.C: move sgml char escaping out of paragraph
11152 * paragraph.C: remove id setter
11156 * paragraph_pimpl.C: remove dead tex_code_break_column
11158 * bufferview_funcs.C: small cleanup
11160 * lyxfunc.C: remove dead proto
11162 * lyxtext.h: make some stuff private. Remove some dead stuff.
11164 * lyxgluelength.C: make as[LyX]String() readable
11166 2002-08-08 John Levon <levon@movementarian.org>
11171 * ToolbarDefaults.C:
11174 * toc.C: lyxaction cleanup
11176 2002-08-08 John Levon <levon@movementarian.org>
11178 * BufferView2.C: small cleanup
11181 * lyxfind.C: move unnecessary header into the .C
11183 2002-08-08 John Levon <levon@movementarian.org>
11185 * funcrequest.h: just tedious nonsense
11188 * lyx_main.C: cleanups
11191 * vspace.C: remove dead header lyx_main.h
11193 2002-08-07 Angus Leeming <leeming@lyx.org>
11196 * paragraph_pimpl.h:
11197 Forward declare class Counters in paragraph.h by moving the ctrs member
11198 variable into Paragraph::Pimpl.
11199 (counters): new method, returning a reference to pimpl_->ctrs.
11201 * text2.C: ensuing changes.
11203 2002-08-07 John Levon <levon@movementarian.org>
11205 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11207 * BufferView_pimpl.C: announce X selection on double/triple
11210 * lyx_main.C: use correct bool in batch dispatch
11212 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11214 2002-08-07 André Pönitz <poenitz@gmx.net>
11216 * funcrequest.h: new class to wrap a kb_action and its argument
11219 * BufferView_pimpl[Ch]:
11223 * lyxrc.C: subsequent changes
11226 2002-08-07 John Levon <levon@movementarian.org>
11228 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11229 document options change.
11231 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11236 * makefile.am: move counters functionality over from
11237 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11239 2002-08-06 John Levon <levon@movementarian.org>
11241 * WordLangTuple.h: new file for word + language code tuple
11252 * BufferView2.C: use WordLangTuple
11255 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11257 2002-08-06 John Levon <levon@movementarian.org>
11259 * lyx_main.C: fix cmdline batch handling
11261 2002-08-06 André Pönitz <poenitz@gmx.net>
11263 * lyxrc.C: set default for show_banner to true
11265 2002-08-06 John Levon <levon@movementarian.org>
11267 * pspell.C: fix a crash, and allow new aspell to work
11269 2002-08-06 John Levon <levon@movementarian.org>
11272 * kbmap.C: small cleanup
11275 * vspace.C: add const
11277 2002-08-05 John Levon <levon@movementarian.org>
11279 * LyXAction.C: back to tabular-insert
11281 2002-08-04 John Levon <levon@movementarian.org>
11284 * BufferView.C: cosmetic change
11286 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11296 * BufferView2.C: purge all "Lyx" not "LyX" strings
11299 * lyxcursor.C: attempt to add some documentation
11304 * ToolbarDefaults.C:
11305 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11306 merge with LFUN_TABULAR_INSERT
11313 * pspell.C: split up i/pspell implementations into separate
11314 files, many cleanups
11316 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11318 * text2.C: some cleanup
11320 * lyxfunc.C: don't check for isp_command == "none" any more, it
11321 didn't make any sense
11323 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11328 * makefile.am: move counters functionality over
11329 from text2.C/paragraph.[Ch] to counters.[Ch], and
11331 2002-08-02 John Levon <levon@movementarian.org>
11333 * buffer.C: s/lyxconvert/lyx2lyx/
11335 2002-08-02 Angus Leeming <leeming@lyx.org>
11337 * lyxlex.C: revert John's change as it breaks reading of the user
11340 2002-08-02 Angus Leeming <leeming@lyx.org>
11342 * importer.C (Import):
11343 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11344 changes due to LyXView::view() now returning a boost::shared_ptr.
11346 2002-08-02 John Levon <levon@movementarian.org>
11348 * lyxlex.C: small cleanup
11350 2002-08-02 John Levon <levon@movementarian.org>
11352 * text2.C (status): small cleanup, no logic change
11354 2002-08-01 John Levon <levon@movementarian.org>
11357 * buffer.C (writeFile): don't output alerts, caller
11361 * lyx_cb.C: from above
11363 * lyxfunc.C: allow to open non-existent files
11365 2002-07-31 John Levon <levon@movementarian.org>
11367 * lyxserver.C: don't let incidental errors get
11370 2002-07-30 John Levon <levon@movementarian.org>
11372 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11374 2002-07-30 John Levon <levon@movementarian.org>
11377 * lyxserver.C: remove I/O callback too
11379 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11381 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11384 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11386 * many files: strip,frontStrip -> trim,ltrim,rtrim
11388 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11390 * PrinterParams.h: remove extern containsOnly, and include
11391 support/lstrings.h instead.
11393 * LaTeX.C (scanAuxFile): modify because of strip changes
11395 * buffer.C (makeLaTeXFile): ditto
11396 * bufferparams.C (writeFile): ditt
11397 * lyxfont.C (stateText): ditto
11398 * lyxserver.C (read_ready): ditto
11399 * vc-backend.C (scanMaster): ditto
11401 * BufferView_pimpl.h: ws changes
11403 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11405 2002-07-26 André Pönitz <poenitz@gmx.net>
11407 * kb_sequence.C: remove unnedred usings
11409 2002-07-26 Juergen Vigna <jug@sad.it>
11411 * lyxfind.C (LyXReplace): we have to check better if the returned
11412 text is not of theLockingInset()->getLockingInset().
11414 2002-07-25 Juergen Vigna <jug@sad.it>
11416 * lyxfind.C (LyXReplace): don't replace if we don't get the
11419 * undo_funcs.C (createUndo): remove debugging code.
11421 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11423 * buffer.C (parseSingleLyXformat2Token): Use default placement
11424 when reading old floats.
11426 * FloatList.C (FloatList): Change the default placement of figure
11427 and tables to "tbp".
11429 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11431 * MenuBackend.C: using std::max
11433 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11435 * MenuBackend.C (expandToc):
11436 (expandToc2): code moved from xforms menu frontend. It is now
11437 generic and TOCs are transparent to menu frontends.
11439 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11441 * toc.C (getTocList): protect against buf=0
11443 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11444 Menu as first parameter. Now, this calls itself recursively to
11445 expand a whole tree (this will be useful for TOC handling)
11446 (expandFloatInsert): remove 'wide' version of floats
11448 * MenuBackend.h (submenuname): returns the name of the submenu.
11449 (submenu): returns the submenu itself, provided it has been
11450 created by MenuBackend::expand
11452 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11455 insets which have noFontChange == true. (bug #172)
11457 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11459 * BufferView_pimpl.C: add connection objects and use them...
11462 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11464 * MenuBackend.C (expandLastfiles):
11467 (expandFloatListInsert):
11468 (expandFloatInsert):
11469 (expand): split expand in parts
11471 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11473 * lyx_gui.C: use lyx_gui::exit()
11475 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11477 * LyXAction.C: show the failing pseudo action
11479 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11481 * buffer.C (readFile): Run the lyxconvert script in order to read
11484 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11488 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11490 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11494 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11496 2002-07-22 Herbert Voss <voss@lyx.org>
11499 * lyxlength.[Ch]: add support for the vertical lengths
11501 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11503 * toc.[Ch]: std:: fixes
11505 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11507 * lyxrc.C: do not include lyx_main.h
11509 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11515 * BufferView2.C: include "lyxlex.h"
11518 * bufferparams.h: do not #include "lyxlex.h"
11520 * lyxtextclasslist.C (Add): remove method
11521 (classlist): renamed to classlist_
11523 * paragraph_pimpl.C:
11527 * bufferview_funcs.C:
11532 * toc.C (getTocList): use BufferParams::getLyXTextClass
11534 * toc.C (getTocList): use InsetFloat::addToToc
11536 * toc.[Ch]: new files, containing helper functions to handle table
11539 * lyxfunc.C (dispatch): no need to remove spaces around command
11541 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11542 first command of the sequence; it is not very clever, but I do not
11543 have a better idea, actually
11545 * LyXAction.C (LookupFunc): make sure to remove space at the
11546 beginning and end of the command
11548 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11550 * MenuBackend.C (getMenubar): new method: return the menubar of
11552 (read): treat differently reading of menu and menubar (in
11553 particular, the menubar has no name now)
11554 (Menu::menubar): remove
11556 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11559 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11561 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11562 a bibitem inset in a RTL paragraph.
11564 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11566 * paragraph_pimpl.C: constify
11568 * BufferView_pimpl.C:
11570 * lyxfunc.C: fix dispatch in a nicer way
11572 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11574 * lyxfunc.C (dispatch):
11575 * BufferView_pimpl.C:
11576 * BufferView_pimpl.h:
11578 * BufferView.h: rename Dispatch() to dispatch()
11580 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11582 * lyxlayout.C (Read): honor DependsOn tag
11584 * lyxlayout.[Ch] (depends_on): new method
11586 * version.C.in: update lyx_docversion
11588 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11590 * paragraph.C (validate): remove from here...
11591 * paragraph_pimpl.C (validate): ... and move here
11592 (isTextAt): make it const
11594 * buffer.C (getLists): ws cleanup
11596 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11598 * language.C (read): Use iso8859-1 encoding in latex_lang
11599 (this prevents LyX from crashing when using iso10646-1 encoding).
11601 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * text2.C (toggleInset): if cursor is inside an inset, close the
11604 inset and leave cursor _after_ it
11606 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11608 * lyxfunc.C: move minibuffer completion handling out of here
11610 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11612 * BufferView_pimpl.C:
11613 * LaTeX.C: fix dispatch calls
11615 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11617 * text.C (drawChars): Fix Arabic text rendering.
11619 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11623 * lyxfunc.C: remove message-push/pop
11627 * lyxfunc.C: rationalise some code by removing verboseDispatch
11628 in favour of a bool argument to dispatch()
11630 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11632 * lyx_main.C (init): make sure to read symlinks as absolute paths
11634 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11637 * lyxfunc.C: no need for commandshortcut to be a member
11639 2002-07-15 André Pönitz <poenitz@gmx.net>
11641 * converter.C: add support for $$s (scripts from lib/scripts dir)
11642 * lyx_main.C: white space
11644 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11648 * lyxrc.C: remove second exit confirmation
11650 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11655 * BufferView_pimpl.h:
11656 * BufferView_pimpl.C:
11657 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11659 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11661 * MenuBackend.C (expand): add numeric shortcuts to document menu
11663 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11665 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11667 * lyxfont.C (setLyXFamily):
11674 * buffer.C (asciiParagraph): use ascii_lowercase
11676 2002-07-15 Mike Fabian <mfabian@suse.de>
11678 * lyxlex_pimpl.C (search_kw):
11679 * lyxlex.C (getLongString):
11680 * converter.h (operator<):
11681 * converter.C (operator<):
11682 * buffer.C (parseSingleLyXformat2Token):
11684 * ToolbarDefaults.C (read):
11685 * MenuBackend.C (checkShortcuts):
11687 * LColor.C (getFromGUIName):
11688 (getFromLyXName): use the compare_ascii_no_case instead of
11689 compare_no_case, because in turkish, 'i' is not the lowercase
11690 version of 'I', and thus turkish locale breaks parsing of tags.
11692 2002-07-16 Angus Leeming <leeming@lyx.org>
11694 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11695 now takes a Buffer const & argument.
11697 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11699 * BufferView.C (resize): check there's a buffer to resize
11701 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11703 * lyxfunc.C: remove dead code
11706 * lyxserver.C: use lyx_guii::set_read_callback
11708 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11710 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11711 an inset in a RTL paragraph.
11713 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11715 * lyxfunc.C: repaint after a font size update
11717 2002-07-15 André Pönitz <poenitz@gmx.net>
11719 * lyxlength.C: inBP should be able to return negative values
11721 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11723 * lyxfunc.C: use lyx_gui::update_fonts()
11725 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11727 * lyxfunc.C: use lyx_gui::update_color()
11729 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11735 * lyxrc.C: remove file->new asks for name option, and let
11736 buffer-new take an argument
11738 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11740 * BufferView_pimpl.C: remove unneeded extra repaint()
11742 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11744 * LyXAction.C: allow command-sequence with NoBuffer
11746 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11748 2002-07-10 Angus Leeming <leeming@lyx.org>
11750 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11752 2002-07-09 Angus Leeming <leeming@lyx.org>
11754 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11756 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11758 * lengthcommon.h: whitespace
11760 * lyxfunc.C: update scrollbar after goto paragraph
11762 * lyxtext.h: factor out page break drawing, and fix it so
11763 page break/added space paints as selected nicely
11765 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11767 * BufferView_pimpl.C: add FIXMEs, clean up a little
11769 2002-07-09 André Pönitz <poenitz@gmx.net>
11771 * lyxfont.[Ch]: support for wasy symbols
11773 2002-07-08 André Pönitz <poenitz@gmx.net>
11775 * BufferView_pimpl.C: apply John's patch for #93.
11777 2002-07-05 Angus Leeming <leeming@lyx.org>
11779 * BufferView_pimpl.C (buffer): generate previews if desired.
11781 * LColor.h: add "preview" to the color enum.
11783 * LColor.C (LColor): add a corresponding entry to the items array.
11785 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11788 2002-07-05 Angus Leeming <leeming@lyx.org>
11790 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11791 The body of the code is now in the method that is passed an ostream &
11792 rather than a file name.
11793 Pass an additional only_preamble parameter, useful for the forthcoming
11796 2002-07-03 André Pönitz <poenitz@gmx.net>
11798 * lyxfunc.C: simplify getStatus() a bit for math stuff
11800 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11802 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11804 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * text.C (changeRegionCase): do not change case of all the
11807 document when region ends at paragraph end (bug #461)
11809 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11811 * paragraph.C (startTeXParParams):
11812 (endTeXParParams): add \protect when necessary
11814 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11816 * BufferView_pimpl.C (workAreaExpose): remove warning
11818 2002-06-27 Angus Leeming <leeming@lyx.org>
11820 * Makefile.am: add lyxlayout_ptr_fwd.h.
11822 2002-06-26 André Pönitz <poenitz@gmx.net>
11824 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11826 2002-06-25 Angus Leeming <leeming@lyx.org>
11828 * lyxfunc.C (dispatch): Comment out the call to
11829 grfx::GCache::changeDisplay. The method no longer exists now that the
11830 pixmap generation part of the graphics loader has been moved into
11833 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11835 * text2.C: layout as layout
11837 * text.C: layout as layout
11839 * tabular.C (OldFormatRead): layout as layout
11841 * paragraph_pimpl.C (TeXDeeper): layout as layout
11842 (realizeFont): layout as layout
11844 * paragraph.C (writeFile): layout as layout
11845 (validate): layout as layout
11846 (getFont): layout as layout
11847 (getLabelFont): layout as layout
11848 (getLayoutFont): layout as layout
11849 (breakParagraph): layout as layout
11850 (stripLeadingSpaces): layout as layout
11851 (getEndLabel): layout as layout
11852 (getMaxDepthAfter): layout as layout
11853 (applyLayout): layout as layout
11854 (TeXOnePar): layout as layout
11855 (simpleTeXOnePar): layout as layout
11856 (TeXEnvironment): layout as layout
11857 (layout): layout as layout
11858 (layout): layout as layout
11860 * lyxtextclass.C (compare_name): new functor to work with
11861 shared_ptr, layout as layout
11862 (Read): layout as layout
11863 (hasLayout): layout as layout
11864 (operator): layout as layout
11865 (delete_layout): layout as layout
11866 (defaultLayout): layout as layout
11868 * lyxlayout_ptr_fwd.h: new file
11870 * lyxlayout.C (Read): layout as layout
11872 * lyx_cb.C (MenuInsertLabel): layout as layout
11874 * bufferlist.C (newFile): layout as layout
11876 * buffer.C (readLyXformat2): layout as layout
11877 (parseSingleLyXformat2Token): layout as layout
11878 (insertStringAsLines): layout as layout
11879 (asciiParagraph): layout as layout
11880 (latexParagraphs): layout as layout
11881 (makeLinuxDocFile): layout as layout
11882 (simpleLinuxDocOnePar): layout as layout
11883 (makeDocBookFile): layout as layout
11884 (simpleDocBookOnePar): layout as layout
11885 (getLists): layout as layout
11887 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11889 * CutAndPaste.C (cutSelection): layout as layout
11890 (pasteSelection): layout as layout
11891 (SwitchLayoutsBetweenClasses): layout as layout
11893 * BufferView_pimpl.C (Dispatch): layout as layout
11894 (smartQuote): layout as layout
11896 * BufferView2.C (unlockInset): layout as layout
11898 2002-06-24 André Pönitz <poenitz@gmx.net>
11900 * lyxfunc.C: fix #487
11902 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11906 * lyxfunc.C: remove display_shortcuts, show_banner
11908 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11910 * Buffer_pimpl.C: oops, update on resize
11912 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11919 * BufferView.C: use repaint()
11921 * BufferView_pimpl.h:
11922 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11923 as it's a clearer description. Remove superfluous
11926 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11928 * text.C: fix bug 488. Not ideal, but getting
11929 getWord() to work properly for the insets that
11930 matter is more difficult ...
11932 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11934 * BufferView_pimpl.C:
11937 * lyxfunc.C: remove the six million index lyxfuncs to just
11938 one, and DTRT (bug 458)
11940 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11944 * BufferView_pimpl.h:
11945 * BufferView_pimpl.C: clean up resize() stuff,
11946 and unnecessary updateScreen()s
11948 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11952 * BufferView_pimpl.h:
11953 * BufferView_pimpl.C:
11956 * minibuffer.C: remove focus management of workarea,
11957 not needed. Use screen's greyOut()
11959 2002-06-17 Herbert Voss <voss@lyx.org>
11961 * converter.C: (convert) do not post a message, when converting
11962 fails, let the calling function decide what to do in this case
11964 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11966 * lyxfunc.C: tidy up a little
11968 2002-06-16 <alstrup@diku.dk>
11970 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11971 Got rid of FORMS_H_LOCATION include. Now we are
11974 2002-06-15 LyX Development team <lyx@rilke>
11976 * buffer.[Ch] (sgmlOpenTag):
11977 (sgmlCloseTag): Added support for avoiding pernicious mixed
11978 content. Return number of lines written.
11980 (makeLinuxDocFile):
11981 (makeDocBookFile): Fixed calls to sgml*Tag.
11982 Simple white space clean.
11984 (simpleDocBookOnePar): Simple white space clean.
11986 * tabular.[Ch] (docBook): Renamed to docbook and got another
11987 argument to related with the pernicious mixed content.
11989 (docbookRow): Fixed calls for docbook inset method.
11991 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11993 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11994 so it's X11 independent.
11998 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12000 2002-06-15 Lyx Development team <lyx@electronia>
12002 * intl.h: Renamed getTrans to getTransManager.
12004 2002-06-14 Angus Leeming <leeming@lyx.org>
12006 * Makefile.am: nuke forgotten stl_string_fwd.h.
12008 2002-06-12 Angus Leeming <leeming@lyx.org>
12010 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12012 2002-06-13 Angus Leeming <leeming@lyx.org>
12015 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12017 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12019 * kbmap.C (getiso): add support for cyrillic and greek
12021 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12025 * BufferView_pimpl.h:
12026 * BufferView_pimpl.C: move bogus scrolling logic
12029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12032 * BufferView_pimpl.C: view->resize() change
12034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12036 * BufferView_pimpl.C: topCursorVisible
12039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12043 * lyx_gui.C: move to frontends/
12047 * lyx_main.C: changes from above
12049 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12056 * lyx_main.C: minor tidy
12058 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12060 * BufferView_pimpl.h:
12061 * BufferView_pimpl.C:
12063 * BufferView.C: make painter() const,
12066 * BufferView2.C: use screen() accessor
12069 * lyx_main.C: some minor cleanup
12071 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12073 * BufferView_pimpl.h:
12074 * BufferView_pimpl.C: remove enter/leaveView,
12077 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12082 * BufferView_pimpl.h:
12083 * BufferView_pimpl.C: only construct screen once,
12086 * lyxrc.C: remove pointless comment
12088 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12091 * BufferView.C: remove active() and belowMouse()
12093 * BufferView_pimpl.h:
12094 * BufferView_pimpl.C: use workarea() not workarea_,
12095 and make it use a scoped_ptr instead
12097 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12099 * lyx_gui.C: add debug message on BadWindow
12101 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12103 * sp_spell.C: fdopen is not part of the C++ standard.
12105 * paragraph.C (InsetIterator): use >= instead of ==
12107 2002-06-07 Angus Leeming <leeming@lyx.org>
12109 Fixes needed to compile with Compaq cxx 6.5.
12110 * BufferView_pimpl.C:
12117 * lyxtextclasslist.C:
12122 all c-library variables have been moved into namespace std. Wrap
12123 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12128 Add a using std::abs declaration.
12130 * kbmap.h (modifier_pair):
12131 * paragraph.h (InsetTable, InsetList):
12132 * lyxfont.h (FontBits):
12133 type definition made public.
12135 * bufferlist.C (emergencyWriteAll): the compiler complains that
12136 there is more than one possible lyx::class_fun template to choose from.
12137 I re-named the void specialisation as lyx::void_class_fun.
12139 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12141 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12142 the compiler is is unable to find tostr in write_attribute.
12144 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12146 * buffer.C (sgmlError): hide #warning
12148 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12150 * xtl/*: get rid of xtl, which is not in use anyway
12152 * LyXAction.C (init):
12153 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12154 were unimplemented xtl experimentation
12156 2002-06-04 André Pönitz <poenitz@gmx.net>
12158 * lyxfunc.C: disable array operation on simple formulae
12160 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12162 * converter.C: constify a bit
12164 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12166 * lyx_gui.C: check xforms version correctly
12168 2002-04-30 Herbert Voss <voss@lyx.org>
12170 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12173 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12175 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12176 attempt to register it with a VCS)
12178 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12180 * lyx_main.C (init): honor variables LYX_DIR_13x and
12183 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12187 * lyx_main.C: fix a crash on bad command line,
12188 and give a useful exit status on error
12190 * lyxfunc.C (doImport): allow -i lyx to work
12192 2002-03-30 André Pönitz <poenitz@gmx.net>
12194 * lyxfunc.C: mathed font changes
12196 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12211 * trans_mgr.h: srcdocs, and some minor cleanups
12213 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12215 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12216 call getFont all the time)
12218 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12220 * switch from SigC signals to boost::signals
12222 2002-05-29 André Pönitz <poenitz@gmx.net>
12224 * paragraph_pimpl.C (getChar): don't call size() too often...
12226 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12228 * paragraph_pimpl.C (insertChar): do not try to update tables when
12229 appending (pos == size())
12231 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12232 in order to reduce drastically the number of comparisons needed to
12233 parse a large document
12235 2002-05-29 André Pönitz <poenitz@gmx.net>
12241 * textclasslist.[Ch]:
12242 * sp_ispell.h: whitespace change
12244 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12246 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12247 lyxaction directly now.
12249 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12253 * lyxvc.C: remove unused headers
12255 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12262 * undo_funcs.C: some cleanups. Use shared_ptr
12263 and a template for the undo stacks.
12265 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12267 * BufferView_pimpl.h:
12268 * BufferView_pimpl.C:
12275 * text2.C: use key_state/mouse_state
12277 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12282 * chset.C: change include order
12283 (loadFile): use boost regex and get rid of LRegex and LSubstring
12285 * Makefile.am (BOOST_LIBS): new variable
12286 (lyx_LDADD): use it
12288 * LaTeX.C: change include order.
12289 (scanAuxFile): use boost regex and get rid of LRegex and
12293 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12298 * FontInfo.C: moved to frontends/xforms/
12301 * FontLoader.C: moved into frontends for GUIIzation
12306 * lyxfunc.C: changes from above
12308 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12310 * LColor.C: remove spurious X include
12312 * BufferView_pimpl.C:
12317 * text2.C: move font metrics to frontends/
12319 2002-05-24 Juergen Vigna <jug@sad.it>
12321 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12322 setting the undo_cursor.
12324 * ParagraphParameters.h: include local includes first.
12326 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12328 * BufferView_pimpl.C:
12329 * BufferView_pimpl.h:
12333 * screen.C: move WorkArea into frontends/
12339 * BufferView2.C: move LyXScreen into frontends/
12343 * lyx_gui.C: move lyxlookup into frontends/xforms/
12345 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12348 * BufferView_pimpl.C:
12358 * bufferview_funcs.C:
12371 * vc-backend.C: move LyX/XFormsView into frontends/
12373 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12385 * text2.C: move Painter to frontends/
12387 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12389 * buffer.C: comment out some some code that depend upon lyx_format
12392 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12393 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12395 * buffer.h (NO_COMPABILITY): turn off compability
12397 * ColorHandler.C: include scoped_array.hpp
12399 * font.C: Use more specific smart_ptr header.
12402 * ShareContainer.h: ditto
12403 * lyx_main.h: ditto
12405 * FontInfo.h: ditto
12406 * BufferView_pimpl.h: ditto
12407 * ColorHandler.h: ditto
12409 * kbmap.C (defkey): change call to shared_ptr::reset
12411 2002-05-21 Juergen Vigna <jug@sad.it>
12413 * buffer.C (insertErtContents): fix to insert ert asis if it is
12414 non empty. Skip it completely if it contains only whitespaces.
12416 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12418 * BufferView_pimpl.C:
12419 * BufferView2.C: clear selection on paste (bug 393)
12421 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * DepTable.C: include ctime
12425 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12427 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12429 2002-05-14 Juergen Vigna <jug@sad.it>
12431 * text.C (breakParagraph): fixed function to honor the keepempty
12432 layout in the right maner and also to permit the right breaking
12433 algorithm on empty or non empyt keepempty paragraphs.
12435 * paragraph.C (breakParagraph): we have to check also if the par
12436 is really empty (!size()) for isempty otherwise we do the wrong
12439 2002-05-10 Juergen Vigna <jug@sad.it>
12441 * buffer.[Ch] : The following are only changes to the ert
12442 compatibility read reading old LaTeX layout and font stuff and
12443 convert it to ERTInsets.
12445 * buffer.h: added isErtInset().
12447 * buffer.C (struct ErtComp): add a fromlayout bool to check
12448 if we're inside a LaTeX layout.
12449 (isErtInset): new helper function.
12450 (insertErtContents): look for other ert insets before this one
12451 and insert the contents there, so that we don't have subsequent
12452 ERT insets with nothing between them. This way we create only one
12453 inset with multiple paragraphs. Also check if we don't insert only
12454 spaces ' ' as they are ignored anyway afterwards in the .tex file
12455 so if we have only spaces we will ignore this latex part in the
12457 (parseSingleLyXformat2Token \\layout): better compatibility when
12458 reading layout-latex stuff.
12459 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12461 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12462 stuff after reading the inset only get the information back from
12465 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12467 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12469 * LaTeXFeatures.C (getBabelOptions): New method.
12471 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12473 * BufferView_pimpl.C (Dispatch): work around missing argument for
12476 2002-05-08 Juergen Vigna <jug@sad.it>
12478 * text.C (leftMargin): handle paragraph leftindent.
12480 * paragraph.C (writeFile): write the new \\leftindent tag.
12481 (validate): handle leftindent code.
12482 (TeXEnvironment): handle paragraphleftindent code again.
12484 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12486 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12487 for paragrap_extra indent code and new token \\leftindent.
12488 (latexParagraphs): handle the leftindent as environment.
12490 * ParameterStruct.h: added leftindent support.
12492 * ParagraphParameters.C (leftIndent): added support functions for
12493 the paragraph left indent.
12495 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12498 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12500 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12503 * text.C (computeBidiTables): No bidi in insetERT.
12505 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12508 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12510 * version.C.in: pre 5
12512 2002-05-02 José Matos <jamatos@fep.up.pt>
12513 * buffer.C (makeDocBookFile): white space changes, add newline to
12515 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12517 * tabular.C (docBook): fix typo.
12519 2002-05-03 Juergen Vigna <jug@sad.it>
12521 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12522 change in LyXText as we can not be sure it was not freed.
12523 (drawOneRow): remove unused code.
12525 * text.C (drawInset): redo the calculation of the need_break_row as
12526 it could have a row which was already freed.
12527 (draw): look at the return value of drawInset and return false if
12528 it also returned false.
12529 (paintRowText): look at the return value of draw and return false if
12530 it also returned false.
12532 * lyxtext.h: added bool return type to drawInset() and draw() so that
12533 if we have a change in the row so that the rowbreak has to be redone
12534 we abort drawing as it will be called again.
12536 2002-05-02 Juergen Vigna <jug@sad.it>
12538 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12539 a change in the maintext also if we're inside an inset.
12540 (Dispatch): set the cursor again after a break line and after the
12541 screen has been updated as it could be we're in a different row.
12543 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12544 to set the cursor behind the pargraph with > size().
12545 (setCursor): check also for the same paragraph when checking where
12546 to put the cursor if we have a NFR inset.
12548 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12549 parts of layout read further up as it still was in the wrong
12552 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * screen.C (drawFromTo): change sine fullRebreak always return
12557 * buffer.C (parseSingleLyXformat2Token): reindent some
12559 * BufferView_pimpl.C (update): change since fullRebreak always
12561 (Dispatch): git rid of the last hardcoded "Standard"s.
12563 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12565 * text2.[Ch] (fullRebreak): make it return void now that we always
12568 2002-04-30 Juergen Vigna <jug@sad.it>
12570 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12571 ert compatibility check for "latex" layout.
12573 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12575 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12576 minipages: use col% instead of p%, and also use the current font.
12577 (makeLaTeXFile): Fix use babel condition.
12578 (parseSingleLyXformat2Token): Correct font when reading old floats.
12580 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12582 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12583 inserting list of floats.
12585 2002-04-25 Herbert Voss <voss@lyx.org>
12587 * MenuBackend.C (expand): don't add the graphics extensions to the
12590 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12593 non-existing layout, do not complain if it was the default layout
12594 of the original class (bug #342)
12596 2002-04-24 Juergen Vigna <jug@sad.it>
12598 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12599 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12601 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12603 * buffer.C (getBibkeyList): If using \bibliography, return the
12604 option field with the reference itself. Enables us to provide natbib
12605 support when using \bibliography.
12607 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12609 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12611 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12612 natbib is provided by the LaTeX class.
12614 2002-04-23 Juergen Vigna <jug@sad.it>
12616 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12619 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12621 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12623 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12625 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12626 ensuremath around textordmasculine, textordfeminine and
12629 2002-04-19 Juergen Vigna <jug@sad.it>
12631 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12632 reinitializing the buffer otherwise row-dimensions may be wrong.
12633 (update): reset also the selection cursors if they do exits otherwise
12634 their x/y positions may be wrong.
12636 * text2.C (cursorDown): don't enter the inset if we came from a row
12637 above and are one row over the inset.
12639 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12640 really leaving an inset.
12642 2002-04-18 Juergen Vigna <jug@sad.it>
12644 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12645 of the selected paragraph does not have the selected layout also if
12648 * text2.C (setLayout): fixed bug which did not change last selected
12651 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12652 changed the read and substituted \\end_float with \\end_inset!
12654 * BufferView_pimpl.C (cursorPrevious):
12655 (cursorNext): fixed to make it work with rows heigher than the work
12656 area without moving the cursor only the draw of the row.
12657 (workAreaMotionNotify): fix jumping over high rows.
12659 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12664 2002-04-16 Juergen Vigna <jug@sad.it>
12666 * text2.C (setCursor): set also the irow().
12667 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12669 (cursorDown): support for locking an inset if the x_fix value goes
12670 inside it. That way I can transverse insets too with cursor up/down.
12672 * lyxrow.h: added irow helper function same as other (i) functions.
12674 * BufferView_pimpl.C (cursorPrevious):
12675 (cursorNext): fixed for insets!
12677 2002-04-15 Juergen Vigna <jug@sad.it>
12679 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12680 position otherwise it is wrong in some cases.
12682 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12683 inside the inset before the call.
12685 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12687 * buffer.[Ch] (getBibkeyList): make it const.
12689 2002-04-12 Juergen Vigna <jug@sad.it>
12691 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12693 * text2.C (getCursorX): new helper function
12694 (setCursor): compute also ix_
12695 (setCursorFromCoordinates): set also ix.
12697 * lyxcursor.h: added ix_ and helper functions.
12699 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12701 * buffer.C (insertStringAsLines): dont break paragraph if the this
12702 paragraph is inside an inset which does not permit it!
12704 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12705 also with no chars on this paragraph.
12706 (paintRowText): only paint stuff if it's inside the workarea!
12708 * paragraph.C (breakParagraph): honor keepempty flag and break the
12709 paragraph always below not above.
12711 * BufferView2.C (unlockInset): update the paragraph layout on inset
12712 unlock as we changed paragraph in such a case.
12714 * lyxfind.C (LyXFind): clear the former selection if not found!
12716 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12717 again called in insertChar().
12719 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12720 an inset which uses the whole row!
12721 (rightMargin): ditto.
12722 (insertChar): force a rebreak if we inserted an inset!
12724 2002-03-28 Herbert Voss <voss@lyx.org>
12726 * lyxlength.[Ch]: add inBP() to get the right PS-point
12727 units (BigPoint). With inPixels we have rounding errors
12729 2002-04-11 Juergen Vigna <jug@sad.it>
12731 * text2.C (setCursorFromCoordinates): set iy to the right value.
12732 (setCursor): add check if row->previous exists!
12734 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12735 an old float_type as this was the case in the old code!
12737 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12739 * BufferView2.C (showLockedInsetCursor): use iy
12740 (fitLockedInsetCursor): ditto
12742 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12743 locked insets as there we have the right value now.
12745 * lyxcursor.C: added iy_ variable and iy functions to set to the
12746 baseline of cursor-y of the locked inset.
12748 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12749 (setCursor): fixed for insets which need a full row.
12751 * text.C (rowLastPrintable): don't ignore the last space when before
12752 an inset which needs a full row.
12753 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12754 as last character of a row when before a inset which needs a full row.
12756 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12758 * version.C.in: update date
12760 * text2.C (fullRebreak): try to always return true and see what
12763 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12765 * MenuBackend.C (expand): use Floating::listName
12767 * FloatList.C (FloatList): add listName argument to the built-in
12770 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12771 text associated with the float.
12773 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12775 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12777 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * ShareContainer.h: add a couple of missing typenames.
12781 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12783 * lyxrc.C (getDescription): use _() correctly rather than N_().
12785 2002-03-28 Herbert Voss <voss@lyx.org>
12787 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12788 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12790 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12792 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12793 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12795 2002-03-29 Juergen Vigna <jug@sad.it>
12797 * lyxfunc.C (dispatch): add a missing fitCursor call.
12799 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12800 it was scrolled by a cursor move, so return the bool status.
12802 * BufferView.C (fitCursor): return the bool flag also to the outside
12803 world as this is needed.
12805 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12807 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12808 call the edit() as it is not needed (and wrong) IMO.
12809 (workAreaButtonPress): set the screen_first variable before evt.
12810 unlock the inset as this may change screen_first and then we have
12811 a wrong y position for the click!
12813 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12815 * MenuBackend.C (expand): another translation that I missed
12817 2002-03-28 Juergen Vigna <jug@sad.it>
12819 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12821 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12823 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12825 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12827 * MenuBackend.C (expand): fix export/view/update when there is no
12830 2002-03-27 Herbert Voss <voss@lyx.org>
12832 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12835 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12837 * bufferview_funcs.C (currentState): only show paragraph number
12838 for is DEVEL_VERSION is set.
12840 * lyxfunc.C (dispatch): put warning in INFO channel
12842 * MenuBackend.C (expand): translate the name of floats
12844 * FloatList.C (FloatList): mark the float names for translation
12846 * converter.C (convert): use LibScriptSearch
12848 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12850 * MenuBackend.C (defaults): fix default menu (we might as well get
12853 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12855 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12858 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * lyxvc.C: reorder includes.
12862 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12864 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12867 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12869 * CutAndPaste.C: change layouts earlier on paste
12870 to avoid crashing when calling getFont()
12872 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12874 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12877 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * WorkArea.C: remove 'Pending' debug message.
12881 * most files: ws cleanup
12883 * buffer.[Ch]: ws changes
12885 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12887 2002-03-21 Juergen Vigna <jug@sad.it>
12889 * tabular.C (SetMultiColumn): collapse also the contents of the
12890 cells and set the last border right. Added a Buffer const * param.
12892 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12894 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12897 2002-03-19 Juergen Vigna <jug@sad.it>
12899 * text2.C (clearSelection): reset also xsel_cache.
12901 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12902 where it needs to be called (John tells us to do so too :)
12903 (selectionLost): reset sel_cache.
12905 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12907 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12909 * text2.C (setCursorIntern): put debuging code in INSETS channel
12911 2002-03-19 André Pönitz <poenitz@gmx.net>
12913 * lyxfunc.C: tiny whitespace change
12915 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12917 * ToolbarDefaults.C (init):
12918 * LyXAction.C (init):
12920 * BufferView_pimpl.C (Dispatch):
12921 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12923 2002-03-19 Allan Rae <rae@lyx.org>
12925 * exporter.C (Export): removeAutoInsets before doing anything else.
12926 While I've just introduced a dependency on BufferView this really is
12927 the best place to clean the buffer otherwise you need to cleanup in
12928 a dozen places before calling export or cleanup in a dozen functions
12931 * converter.C (runLaTeX):
12932 (scanLog): Better handling of removeAutoInsets and screen updates.
12934 * lyxfunc.C (dispatch): small whitespace changes
12936 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12938 * WorkArea.C (C_WorkAreaEvent): return a value.
12939 (event_cb): return 1 if we handled the event, 0 otherwise.
12941 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12943 2002-03-18 Juergen Vigna <jug@sad.it>
12945 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12946 (GetAdditionalWidth): ditto.
12947 (RightLine): ditto.
12950 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12951 inset if we're there actually (probably not used right now but this
12952 is the direction to go for unifying code).
12953 (paste): disable code to clear the selection.
12955 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12956 inside an InsetText and move the check further up as it is in the
12959 * text2.C (pasteSelection): set a selection over the pasted text.
12961 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12963 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12964 and libgraphics to build on Cygwin.
12966 2002-03-15 Juergen Vigna <jug@sad.it>
12968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12969 inserting an Inset into the paragraph. I know this is not the best
12970 fix but we already use current_view in CutAndPaste so we will remove
12971 all of it's using at the same time.
12973 * buffer.C (sgmlError): deactivated function till it is rewritten in
12974 the right mode, now it can create problems.
12976 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12977 before accessing it.
12979 2002-03-14 Juergen Vigna <jug@sad.it>
12981 * undo_funcs.C (textHandleUndo): do the right thing when updating
12982 the inset after the undo/redo.
12984 * text2.C (setCursor): just some testcode for #44 not ready yet.
12986 * undo_funcs.C (textHandleUndo): set the next() and previous()
12987 pointers of the paragraph to 0 before deleting otherwise we have
12988 problems with the Paragraph::[destructor].
12990 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12991 on a paragraph insertion.
12993 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12995 * buffer.C (asciiParagraph): use += operator for char append to
12998 * paragraph.C (getFontSettings): compare >= not just >
12999 (highestFontInRange): ditto
13002 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * paragraph.C: change several algorithm to be more appripriate for
13005 the problem domain. This is lookip in FontList and in the InsetList.
13007 2002-03-13 André Pönitz <poenitz@gmx.net>
13010 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13012 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13017 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13019 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13021 * Painter.C (display): anon helper function, adjust code for this
13023 (pixmap): remove function.
13025 * Painter.h: remove private display variable.
13027 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13029 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13031 * WorkArea.[Ch]: remove figinset_canvas cruft.
13033 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13035 * lyxtextclass.C (operator): add one item cache optimization.
13037 * bufferlist.h: doxy changes
13039 * bufferlist.C: ws changes
13041 * DepTable.[Ch] (ext_exist): place const in the right spot.
13043 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13045 (workAreaExpose): call resizeInsets when the with BufferView changes.
13046 (Dispatch): adjust for protectedBlank removal
13047 (specialChar): call updateInset if the insert went ok.
13049 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13050 specialChar instead.
13052 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13054 * BufferView.h: doxy change
13056 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13058 * lyxtextclass.C (operator[]): remove non-const version
13059 (defaultLayout): remove non-const version
13061 2002-03-12 Juergen Vigna <jug@sad.it>
13063 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13064 did resize the LyXText too.
13066 * buffer.C (readLyXformat2): set layout information on newly allocated
13069 * tabular.C (OldFormatRead): set layout information on the paragraph.
13071 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13073 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13075 2002-03-11 Juergen Vigna <jug@sad.it>
13077 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13079 (resizeCurrentBuffer): force also the insets to resize themselfes.
13080 (moveCursorUpdate): fixed up for InsetText.
13082 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13085 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13086 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13087 value of Dialogs::tooltipsEnabled().
13088 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13090 2002-03-08 Juergen Vigna <jug@sad.it>
13092 * BufferView_pimpl.C (updateInset): update inset inside inset also
13093 if it isn't inside theLockingInset().
13095 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13097 * buffer.C (asciiParagraph): redo some of the word and line length
13099 (getLists): look for Caption instead of caption.
13101 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13103 * buffer.C (Buffer): initialize niceFile to true
13105 (makeLinuxDocFile):
13106 (makeDocBookFile): make sure niceFile is true on exit
13108 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13110 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13112 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13114 * LyXSendto.C: remove.
13115 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13116 * lyx_gui.C: remove now-redundant comment.
13117 * ColorHandler.h: remove forward declaration of class WorkArea.
13118 * lyxfunc.C: remove #include "WorkArea.h".
13120 2002-03-07 Juergen Vigna <jug@sad.it>
13122 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13123 got moved away with the DEPM and also set the inset_owner always
13124 right which before could have been omitted.
13126 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13128 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13129 wanted layout is not found.
13131 2002-03-07 Juergen Vigna <jug@sad.it>
13133 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13135 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13137 * paragraph.C (breakParagraph): use default layout not layout of
13139 (Paragraph): clear ParagraphParameters.
13141 2002-03-06 Juergen Vigna <jug@sad.it>
13143 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13144 otherwise it would not be a valid lenght. Fixed a special case in
13145 the minipage compatibility read where we end the document with a
13148 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13149 was set as it could be 0 for InsetTexts first entry.
13151 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13153 * paragraph.C (writeFile): if layout is empty write out
13154 defaultLayoutName().
13156 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13157 file without named layout we set layout to defaultLayoutName().
13159 2002-03-06 Juergen Vigna <jug@sad.it>
13161 * CutAndPaste.C (copySelection): set layout for new paragraph.
13163 * text.C (prepareToPrint): leave ERT inset left aligned
13164 (leftMargin): don't indent paragraphs inside ERT insets
13166 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * paragraph.C (breakParagraph): dont call clear do the work manually
13170 * paragraph.[Ch] (clear): remove function
13172 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13174 * paragraph.C (Paragraph): dont call clear, the work has already
13177 * lyxtextclass.C (operator): assert if n is empty
13179 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13180 work manually instead.
13182 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13184 * BufferView_pimpl.C: protect selectionLost against text == 0
13186 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * text.C (breakParagraph): fix a setting layout to '0' problem.
13190 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13192 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13193 final location of file, for the included files, and graphics.
13195 2002-03-05 Juergen Vigna <jug@sad.it>
13197 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13199 2002-03-04 Juergen Vigna <jug@sad.it>
13201 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13203 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13204 last column of multicolumn cells.
13205 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13207 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13209 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13210 file if it doesn't go to a temporary file.
13212 * buffer.C (sgmlOpenTag):
13213 (sgmlCloseTag): remove extra newline insertion.
13215 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13217 * text.C (getRowNearY): comment out debug msg
13219 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13221 * text2.C: first -> first_y
13223 * text.C (getRowNearY): add some attemts at a possible
13224 optimization, not working.
13226 * tabular.[Ch]: add BufferParams to several function so that newly
13227 created paragraph can be initialized to he default layotu for the
13230 * tabular-old.C (ReadOld): add buf->params to call of Init
13232 * screen.C: rename text->first to text->first_y
13234 * paragraph.C (breakParagraph): always set layout in the broken
13237 * lyxtextclass.C (Read): remove lowercase
13240 (delete_layout): ditto
13242 * lyxtext.h: rename first -> first_y
13244 * lyxlayout.C (Read): remove lowercase
13247 (obsoleted_by): ditto
13249 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13251 * buffer.C (insertErtContents): add params are to InsetERT
13252 (parseSingleLyXformat2Token): add code to check if a paragraphs
13253 layout really exist.
13254 (parseSingleLyXformat2Token): add params to several inset
13256 (asciiParagraph): remove lowercase, do the layout comparisons with
13259 * BufferView_pimpl.C (cursorNext): first -> first_y
13260 (resizeCurrentBuffer): first -> first_y
13261 (updateScrollbar): first -> first_y
13262 (scrollCB): first -> first_y
13263 (workAreaMotionNotify): first -> first_y
13264 (workAreaButtonPress): first -> first_y
13265 (checkInsetHit): first -> first_y
13266 (cursorPrevious): first -> first_y
13267 (cursorNext): first -> first_y
13268 (Dispatch): add buffer_->params to severl inset contructors
13270 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * lyxlayout.C (Read): remove some debug info that I forgot.
13274 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13275 clean up the code slightly.
13276 (makeLinuxDocFile): ditto
13277 (makeDocBookFile): ditto
13279 * text2.C: layout as string
13281 * text.C: layout as string
13283 * paragraph_pimpl.C: layout as string
13285 * paragraph.[Ch]: layout as string
13287 * lyxtextclasslist.[Ch]: layout as string
13289 * lyxtextclass.[Ch]: layout as string
13291 * lyxtext.h: layout as string
13293 * lyxlayout.[Ch]: layout as string
13295 * lyx_cb.C: layout as string
13297 * bufferview_funcs.C: layout as string
13299 * bufferparams.C: layout as string
13301 * buffer.C: layout as string
13303 * LyXView.[Ch]: layout as string
13305 * LaTeXFeatures.[Ch]: layout as string
13307 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13309 * BufferView_pimpl.C: change current_layout to string, remove
13314 (workAreaButtonRelease): layout as string
13316 * BufferView2.C (unlockInset): adjust
13318 * vspace.C (asLatexCommand): use an explict temp variable.
13320 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13322 * Makefile.am: use FRONTEND_*
13324 2002-03-01 Juergen Vigna <jug@sad.it>
13326 * tabular.C (SetWidthOfMulticolCell): changed to something better
13327 I hope but still work in progress.
13328 (recalculateMulticolumnsOfColumn): renamed function from
13329 recalculateMulticolCells as it is more appropriate now.
13330 (SetWidthOfCell): calculate multicols better.
13332 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13334 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13336 * lyxfunc.C (processKeySym): print sequence also if it is
13337 `deleted' (complete)
13339 * kbsequence.C (print): print sequence even if it is deleted
13340 (complete would be a better word, actually).
13342 * lyxfunc.C (dispatch): print complete options after a prefix key
13344 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13346 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13348 * text2.C (setCharFont): eliminate setCharFont code duplication.
13350 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13352 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13353 LFUN_TABULAR_FEATURE (bug #177)
13355 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13357 * Makefile.am: remove figure.h
13359 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13361 * Bufferview_pimpl.C:
13373 * text2.C: remove #include "lyx_gui_misc.h".
13375 * LaTeX.C: added #include <cstdio>
13377 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13379 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13380 that the paragraph following this one can have.
13382 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13384 * vspace.C (asLatexCommand): fix bogus gcc warning
13386 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13388 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13390 * text2.C (setLayout): get rid of redundant code
13392 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13394 * text2.C (incDepth): make sure depth cannot be increased beyond
13397 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13399 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13400 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13402 * PainterBase.h (image):
13403 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13404 a LyXImage const *.
13406 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13410 * BufferView_pimpl.C:
13411 * BufferView_pimpl.h:
13431 * sp_spell.C: remove fig inset, and the crap house of
13432 cards that follows it
13434 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13439 * os2_errortable.h:
13440 * nt_defines.h: move .h into support/
13442 * vms_defines.h: remove
13444 * WorkArea.C: add space in debug output
13448 * buffer.C: add WITH_WARNINGS
13452 * bufferlist.C: s/retrive/retrieve/, add docs
13461 * chset.C: add docs
13463 * lyxgui.C: add ID to X error handler
13465 * lyxtestclass.c: fix typo
13467 2002-02-26 Juergen Vigna <jug@sad.it>
13469 * tabular_funcs.C (write_attribute): changed so that some default
13470 attributes are not written at all.
13471 (getTokenValue): set default values before trying to read the
13472 value so we have the return value always set as default if we don't
13473 find the token we search for.
13475 * tabular.C (Write): write bools as bools not as strings!
13477 2002-02-22 Juergen Vigna <jug@sad.it>
13479 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13480 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13482 * text.C (leftMargin): don't add an indent for paragraphs inside
13483 tabular cells (fix #208).
13485 2002-02-21 José Matos <jamatos@fep.up.pt>
13487 * tabular.C (docBook): fixed support for long tables.
13489 2002-02-20 Juergen Vigna <jug@sad.it>
13491 * text2.C (getFont): get the drawing font of the Inset if this
13492 paragraph is inside an inset (only important for InsetERT for now).
13494 * buffer.C (insertErtContents): use new lanugage params in ERT
13497 * CutAndPaste.C: commenting out seemingly uneeded code.
13499 2002-02-19 Allan Rae <rae@lyx.org>
13501 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13502 Iterators might be simple to use but they also get invalidated.
13503 (removeAutoInsets): renamed saved cursor tracking variables and added
13504 some comments to clarify what everything does.
13506 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13513 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13514 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13517 * vc-backend.h: remove #include "support/syscall.h"
13521 * converter.C: rearrange #includes in Lars' approved fashion.
13523 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13524 forward declare class Timeout in the header file.
13526 * XFormsView.C: changes due to the above.
13528 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13529 similar to LyXView.
13531 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13532 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13534 2002-02-18 José Matos <jamatos@fep.up.pt>
13536 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13539 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13541 * a lot of small ws changes
13542 * add a lot of using std::XXX
13543 * use std construcs some places where approp.
13544 * use some exisint stuff from lyxfunctional where approp.
13545 * Make file changes to use partial linking (lets test this now...)
13547 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13551 remove #include "support/syscontr.h" as it's redundant. Always has been.
13559 change Systemcalls::System to Systemcalls::Wait and
13560 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13561 No change of functionality, just reflects the stripped down Systemcalls
13564 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13566 * debug.[Ch]: add a GRAPHICS type to the enum.
13568 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13570 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13572 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13575 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13577 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13578 match the changes below.
13580 * text2.C (toggleInset): if there is not editable inset at cursor
13581 position, try to see if cursor is _inside_ a collapsable inset
13584 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13586 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13587 document menu has a nice checkbox
13589 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13591 * lyxlength.C (asLatexString): change PW to output as percent of
13594 * lengthcommon.C: change '%' to 't%'
13596 * lyxfunc.C (dispatch): a few comments from Martin
13598 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13602 * BufferView_pimpl.h:
13603 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13606 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13608 * vspace.C (inPixels): fix compiler warning
13610 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13612 * lyxfunc.C (getStatus): fix status message for disabled commands.
13614 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13616 * BufferView_pimpl.C: fix crash on close buffer
13617 during selection (#227)
13619 2002-01-27 Herbert Voss <voss@lyx.org>
13621 * buffer.C: link old Figure to new graphic inset
13623 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13625 * FontLoader.C (getFontinfo): Change the latex font names in order
13626 to match the names of type1inst.
13628 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13630 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13632 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13633 (extchanged): ditto
13635 (remove_files_with_extension): ditto
13636 (remove_file): ditto
13639 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13640 document is smaller than the work area height. Do not initialize
13641 static variables to 0.
13643 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13645 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13647 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13648 LFUN_LAYOUT_PARAGRAPHS.
13650 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13651 tabular. It is possible to provide a possible cell, which will
13652 typically be the actcell from the corresponding insettabular
13654 * lyxfunc.C (getStatus): small cleanup; disable
13655 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13658 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13660 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13662 * paragraph.C (startTeXParParams):
13663 (endTeXParParams): new methods. The LaTeX code to
13664 start/end paragraph formatting
13665 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13666 empty (fixes bug #200)
13668 * vspace.C (inPixels): adapt to the change below
13669 (inPixels): [later] more cleanups (remove unused variables)
13671 * lyxlength.C (inPixels): change to use a width and a height as
13674 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13676 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13677 Replaced with \paperwidth
13679 * DepTable.C (insert): add std:: qualifier
13681 2002-01-18 Allan Rae <rae@lyx.org>
13683 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13686 * text.C (drawInset): Turned out I didn't know enough about how
13687 rebreaking worked. This fixes most of the redraw problems. I see
13688 an occasional cursor trail when a line is broken now and the cursor
13689 placement can seem out by a few pixels also after a rebreak.
13691 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13693 * buffer.C (parseSingleLyXformat2Token): update because minipage
13694 width is now a LyXLength
13696 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13698 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13701 2002-01-17 Juergen Vigna <jug@sad.it>
13703 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13705 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13706 is set correctly and the inset is updated correctly.
13708 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13710 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13711 the beginning of the loop.
13713 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13715 * lyxrc.C: improve help for use_scalable_fonts
13717 2002-01-17 Allan Rae <rae@lyx.org>
13719 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13721 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13723 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13724 make sure to set their inset_owner to the right value (bug #171)
13726 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13729 * DepTable.C: Implement mtime checking to reduce time spent doing
13732 2002-01-16 Juergen Vigna <jug@sad.it>
13734 * tabular.C (GetAdditionalHeight): one of error fixed.
13736 * lyxrc.C (output): small fix in writing use_pspell.
13738 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13740 * sp_base.h: #include LString.h
13742 2002-01-16 Allan Rae <rae@lyx.org>
13744 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13745 Can someone check this please?
13747 * text.C (drawInset): It was possible that p.row would be removed by
13748 breakAgainOneRow upsetting a few other settings. There may be another
13749 small tweak possible by setting need_break_row = 0 when p.row has been
13750 removed but I don't know enough about the logic here.
13752 2002-01-15 Allan Rae <rae@lyx.org>
13754 * text.C (insertChar): removed conditional truism.
13756 * BufferView2.C (removeAutoInsets): More tweaks.
13757 cur_par_prev could be a stray pointer. Check for trailing empty line
13758 in case last line was cur_par and only had an error inset on it.
13760 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13762 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13765 * vc-backend.C (most methods):
13766 * exporter.C (Export):
13767 * converter.C (convert):
13769 * LyXSendto.C (SendtoApplyCB):
13770 * lyxfunc.C (dispatch):
13774 * lyx_cb.C (AutoSave):
13776 * BufferView_pimpl.C (MenuInsertLyXFile):
13777 * buffer.C (runChktex): use Buffer::filePath().
13779 * buffer.h: rename filename to filename_; rename filepath to
13780 filepath_ and make it private
13781 (filePath): new method
13783 * buffer.C (writeFile): use fileName()
13786 * lyx_main.C (init): fix starting of LyX when the binary is a
13787 link from so,ewhere else.
13789 * minibuffer.C: include <cctype> for isprint
13791 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13793 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13794 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13795 name clash with InsetCollapsable's width function.
13797 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13799 * lastfiles.C: include <iterator>
13801 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13803 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13806 * buffer.C (makeLaTeXFile): ditto.
13807 Also make loop operation more transparent.
13809 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13811 * ToolbarDefaults.C: remove trailing comma closing namespace.
13813 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13815 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13818 * trans.C (Load): comment out unused variable, allowed.
13820 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13822 * minibuffer.[Ch] (append_char): new method to recieve input from the
13823 drop-down completion browser. If a key was pressed, then recieve this
13824 char and append it to the existing string.
13825 (peek_event): modify the positioning data passed to the completion
13826 browser so that it can be placed above the minibuffer rather than below.
13827 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13829 * LyXAction.C (init): alloe error-next for readonly documents.
13831 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13834 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13836 * bufferlist.C (readFile): create the buffer _after_ checking that
13839 * lyxfunc.C (verboseDispatch): fix handling of arguments
13841 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13843 * lyxrc.C: use string::erase() instead of initializing to "".
13846 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13848 * BufferView_pimpl.h:
13849 * BufferView_pimpl.C:
13852 * text2.C: tell X when we have made a selection for copying
13854 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13856 * BufferView_pimpl.C (MenuInsertLyXFile):
13857 * lyxfunc.C (menuNew):
13859 (doImport): add shortcuts to directory buttons
13861 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13864 * lyxfunc.C (setStatusMessage):
13865 (getStatusMessage): new methods
13866 (getStatus):use setStatusMessage instead of setErrorMessage
13867 (dispatch): when function is disabled, set error message here
13868 [instead of in getStatus previously]
13870 * BufferView_pimpl.C (workAreaButtonRelease): update
13871 toolbar/menubar here too.
13873 2002-01-13 Allan Rae <rae@lyx.org>
13875 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13876 Now seems indestructible. Remaining task is to audit all other
13877 code affected by deleteEmptyParagraphMechanism. One small quirk
13878 left is that an empty document with an error in the preamble can
13879 be made to report an error but no error box appears. I don't know
13881 (removeAutoInsets): Improved comments.
13883 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13886 * Thesaurus.C: update for Aiksaurus 0.14
13888 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13890 * text2.C (firstParagraph): removed member function, all uses
13891 replaces with ownerParagraph
13892 (redoParagraphs): here
13893 (updateInset): here
13894 (toggleAppendix): here
13895 * BufferView2.C (insertErrors): here
13896 (setCursorFromRow): here
13898 2002-01-13 Allan Rae <rae@lyx.org>
13900 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13901 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13902 There is still a way to segfault this although you may have to do this
13903 multiple times: Have an InsetERT with an unknown command in it.
13904 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13905 <down-arrow>, <Enter> again, View->DVI, BANG!
13907 * text2.C (setCursor):
13908 (deleteEmptyParagraphMechanism):
13909 * lyxtext.h (setCursor):
13910 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13911 Making use of the return value may help fix other bugs.
13913 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13915 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13917 * LyXView.C (updateMenubar): call MenuBar::update here
13918 (updateToolbar): but not here
13919 (showState): do not update toolbar/menubar
13921 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13922 should need to care about that.
13924 * lyxfunc.C (verboseDispatch): simplify a bit
13925 (getStatus): have a version which takes a pseudoaction, and
13926 another which requires a (kb_action,string).
13928 * LyXAction.C (retrieveActionArg): make it work also when action
13929 is not a pseudo-action.
13930 (getActionName): simplify a bit
13933 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13935 * lyxfunc.C (verboseDispatch): new families of methods with
13936 several ways to specify a command and a bool to indicate whether
13937 the command name and shortcut should be displayed in minibuffer
13938 (eventually, we could extend that to a finer bitmask like
13939 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13940 (dispatch): the pristine dispatch command which just, well,
13941 dispatchs! Note it still sets its result to minibuffer; I'm not
13944 * lyxfunc.h: remove setHintMessage
13946 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13948 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13950 * BufferView_pimpl.C (specialChar): delete new inset if we have
13951 not been able to insert it.
13953 * kbmap.C: revert to using int instead of kb_action, since all we
13954 are dealing with is pseudo-actions.
13956 * LyXAction.C (searchActionArg): change to return int instead of
13957 kb_action, since the result is a pseudoaction.
13959 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13961 * buffer.C (insertErtContents): Fix (partially) the font bug.
13963 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13965 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13966 as the other one is broken on my machine!
13968 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13971 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13973 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13975 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13976 reflect their actual use. Provide compatibility code for older lyxrc
13979 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13981 change names of popup font variables in line with the changes to lyxrc.C
13983 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13985 * buffer.C (asciiParagraph): avoid outputing a word twice after
13988 * lyxrc.C (getDescription): document that document_path and
13989 template_path can be empty.
13991 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13993 * LaTeXFeatures.C (getMacros):
13994 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13996 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13998 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14000 (getPackages): rename feature "floats" to "float". Use an array to
14001 iterate over 'simple' features (i.e. just a \usepackage). Add
14002 handling of "amsmath" (renamed from "amsstyle").
14004 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14006 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14009 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14011 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14012 FuncStaus::FuncStatus & FuncStaus::some_method().
14014 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14016 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14017 of the func_satus stuff. Edited and massaged in various ways by
14020 * lyxfunc.C (getStatus): use FuncStatus
14022 2002-01-08 Juergen Vigna <jug@sad.it>
14024 * text.C (nextBreakPoint): use function Inset::isChar().
14026 * paragraph.C (TeXOnePar): use function
14027 Inset::forceDefaultParagraphs.
14029 * buffer.C (latexParagraphs): use function
14030 Inset::forceDefaultParagraphs.
14032 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14034 * lyx_gui.C (init): set the style of the menu popups to
14035 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14037 2002-01-07 Juergen Vigna <jug@sad.it>
14039 * text.C (setHeightOfRow): small fix
14040 (prepareToPrint): don't look at alignment if we don't have the place
14043 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14045 * box.C: New file. Move the Box methods and functions out of box.h,
14046 following Lars' suggestion.
14048 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14050 * box.h: #include "support/LOstream.h", needed for inlined function.
14053 * lyxtextclasslist.C: added some using std declarations.
14055 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14057 * box.h: make signed dimensions to allow insets wider than
14058 the screen (bug #162)
14060 * BufferView_pimpl.C: add some insetHit debug
14062 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14064 * vc-backend.C: add FIXME
14066 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14068 * lyxfunc.C (getStatus): enable code for showing math font status
14071 2002-01-07 Juergen Vigna <jug@sad.it>
14073 * text.C (nextBreakPoint): removed debug output not needed anymore.
14075 2002-01-06 Juergen Vigna <jug@sad.it>
14077 * text.C (nextBreakPoint): fixed up this function we had this bug
14078 since ever but now hopefully we break row better.
14079 (insertChar): we have to check if an inset is the next char as it
14080 could now happen that a large inset is causing a break.
14082 2002-01-05 Juergen Vigna <jug@sad.it>
14084 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14085 if it doesn't like to be drawed.
14087 2002-01-04 Juergen Vigna <jug@sad.it>
14089 * BufferView2.C (lockInset): forgot to set a cursor.
14091 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14093 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14095 * FormMathsPanel.C:
14098 * form_maths_panel.C:
14099 * form_maths_panel.h:
14100 * form_maths_panel.fd: implemented sub- and super- buttons in math
14103 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14104 (or ^ space) to be used as in TeX (req'd by Andr�.
14106 * lyxfunc.C: Allow ^ and _ again to be used both as
14107 super/subscript (mathed) and as themselves (in text).
14109 2002-01-03 Allan Rae <rae@lyx.org>
14111 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14112 "LyX" or the filename of the current buffer if it has one. This is a
14113 modified form of John Levon's patch.
14115 * XFormsView.C (setWindowTitle): also set icon title.
14117 * LyXView.h (setWindowTitle): signature changed.
14118 * XFormsView.h (setWindowTitle): ditto.
14120 2002-01-02 Juergen Vigna <jug@sad.it>
14122 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14124 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14126 * screen.C (topCursorVisible): introduce a temp var for
14127 text->cursor.row(), handle the case where this row is null. (kindo
14130 * text2.C (setCursor): add a couple of asserts.
14132 * paragraph.h (inset_iterator): add -> operator
14134 * paragraph.[Ch] (autoDeleteInsets): remove member function
14136 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14137 cursor pos correctly and handle inset deletion by itself.
14138 (insertErrors): move iterator declaration out of for expression
14140 * lyxtextclass.C: add <algorithm>
14142 * Makefile.am: added the new files to sources, removed layout.C
14144 * layout.C: removed file
14146 * layout.h: remove LYX_DUMMY_LAYOUT
14148 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14152 * lyxtextclass.[Ch]:
14153 * lyxtextclasslist.[Ch]: new files
14155 * include order changes to a lot of files, also changes because of
14158 2001-12-27 Juergen Vigna <jug@sad.it>
14160 * buffer.C (asciiParagraph): more fixes.
14162 * tabular.C (ascii): make ascii export support export of only the
14163 data separated by a column-delimiter.
14164 (ascii): better support for ascii export.
14166 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14168 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * tabular_funcs.C: use a "using std::getline" instead of the
14171 previous fix from Angus (necessary for cxx + lyxstring)
14173 2001-12-24 Juergen Vigna <jug@sad.it>
14175 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14177 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14178 problems. First check a minipage also if we have some ert-contents
14179 (not only on par->size(), second set the right depth of the paragraph
14180 on the relink to the root-paragraph-list!
14182 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14183 which then did not anymore update the main paragraphs on undo/redo!
14185 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14187 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14188 code. Support all font-changing funcs (even those which are not in
14189 menu currently). Support for reporting font settings in
14190 mathed (disabled until Andre provides a function on mathed's side).
14192 * func_status.h (toggle): small helper function to set toggle
14195 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14197 * tabular_funcs.C: getline -> std::getline
14199 2001-12-21 Juergen Vigna <jug@sad.it>
14201 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14202 accessed and could be 0 (I couldn't generate this but it seems
14205 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14207 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14208 * tabular_funcs.h: here and include iosfwd
14210 2001-12-20 Juergen Vigna <jug@sad.it>
14212 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14213 inside inset but undo_par was.
14215 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14217 * Thesaurus.C: always include <config.h> in sources.
14221 * box.h: do not include <config.h> in header files
14223 * text.C (paintLastRow): remove unused variable
14225 * text.C (transformChar):
14227 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14229 * Painter.C (text):
14230 * font.C (width): rewrite to use uppercase() instead of
14233 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14235 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14237 * lyxfind.C: clean up of find failure position change
14239 2001-12-20 Juergen Vigna <jug@sad.it>
14241 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14243 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14244 (TeXRow): added to LaTeX a single tabular row.
14245 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14246 (Latex): simplified and finally good LT-h/f support.
14247 (various_functions): just small adaptions for LT-h/f support.
14249 * tabular_funcs.[hC]: added and moved here all not classfunctions
14252 2001-12-19 Juergen Vigna <jug@sad.it>
14254 * tabular.[Ch]: better support for longtabular options (not finished
14257 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14259 * text.C (paintLastRow): use the label font instead of the font of
14260 the last character to compute the size of *_BOX. This makes more
14261 sense and avoids a crash with empty paragraphs.
14262 Use Painter::rectangle to draw EMPTY_BOX.
14264 2001-12-19 Juergen Vigna <jug@sad.it>
14266 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14267 the paragraphs if the replaced paragraph is not the first one!
14268 Tried to delete not used paragraphs but does not work yet so for
14269 now it's inside #ifdef's and by default off!
14271 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14273 * MenuBackend.C: include "lyx_main.h" instead of declaring
14274 lastfiles (actually was declared as LastFiles* instead of a
14277 2001-12-17 Juergen Vigna <jug@sad.it>
14279 * tabular.C (AppendColumn): applied John's fix
14281 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14285 * BufferView_pimpl.h:
14286 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14289 * box.h: new start of class for above
14291 * lyxfunc.C: ignore space-only minibuffer dispatches.
14292 Show the command name when it doesn't exist
14294 * minibuffer.C: don't add empty lines to the history
14296 * minibuffer.C: add a space on dropdown completion
14298 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14300 * text.C: fix line above/below drawing in insets
14302 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14304 * lyxlength.C (LyXLength): Initialize private variables.
14306 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14309 when inserting error insets.
14311 2001-12-13 Juergen Vigna <jug@sad.it>
14313 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14314 actually sometimes the before-paragraph.
14315 (setUndo): don't clear the redostack if we're not actually undoing!
14317 2001-12-06 Juergen Vigna <jug@sad.it>
14319 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14320 and fixed redoing of main paragraph, so we can use it now ;)
14322 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14324 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14326 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14329 2001-12-13 André Pönitz <poenitz@gmx.net>
14332 * undo_func.C: minor cleanup
14334 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14336 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14337 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14338 font in urw-fonts package which is marked as -urw-fontspecific and
14339 does not work (incidentally, changing the encoding in the
14340 fonts.dir of this package to -adobe-fontspecific fixes the
14343 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14344 is a crash when undoing first paragraph (Juergen, please take a
14345 look). THis does not mean the undo fix is wrong, just that it
14348 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14349 the (Paragraph*) version when needed instead of duplicating the
14352 * text.C (workWidth): use Inset::parOwner to find out where the
14353 inset has been inserted. This is a huge performance gain for large
14354 documents with lots of insets. If Inset::parOwner is not set, fall
14355 back on the brute force method
14357 * paragraph_pimpl.C (insertInset):
14358 * paragraph.C (Paragraph):
14359 (cutIntoMinibuffer): set parOwner of insets when
14360 inserting/removing them
14362 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14364 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14370 * mathed/formulabase.C:
14371 * mathed/math_cursor.[Ch]:
14372 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14375 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14377 * lyxlength.[Ch] (operator!=): new function
14379 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14381 * text.C (workWidth): use Inset::parOwner to find out where the
14382 inset has been inserted. This is a huge performance gain for large
14383 documents with lots of insets. If Inset::parOwner is not set, fall
14384 back on the brute force method
14386 * paragraph_pimpl.C (insertInset):
14387 * paragraph.C (Paragraph):
14388 (cutIntoMinibuffer): set parOwner of insets when
14389 inserting/removing them
14391 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14393 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14395 * tabular-old.C (getTokenValue):
14396 * tabular.C (getTokenValue):
14397 (write_attribute): new versions for LyXLength
14398 (everywhere): adjust the use of widths
14400 * tabular.h: change the type of widths from string to LyXLength
14402 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14404 * paragraph.C: fixed missing line number count when exporting
14405 Environments to LaTeX file
14407 * buffer.C: added informational message for checking line numbers.
14409 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14411 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14412 paragraph, do the 'double space' part, but not the 'empty
14415 * text.C (workWidth): small optimization
14416 (getLengthMarkerHeight): use minimal size for negative lengths.
14418 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14420 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14422 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14424 2001-12-11 André Pönitz <poenitz@gmx.net>
14427 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14429 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14431 * text2.C: keep selection on a setFont()
14433 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14435 * lyx_cb.C: another bv->text misuse, from insert label
14437 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14440 * kbsequence.C: re-instate nmodifier mask
14442 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14444 * lyx_main.h: make lyxGUI private.
14446 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14448 * lyxfind.C: place the cursor correctly on failed search
14450 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14452 * text.C (getLengthMarkerHeight): for small heights, the arrows
14453 are not always on top/bottom of the text
14454 (drawLengthMarker): smaller arrows; take the left margin in
14455 account; draw also vfills.
14457 (paintLastRow): remove special code for vfill and standard spaces,
14458 since everything is handled in drawLengthMarker now.
14460 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14462 * buffer.C (insertErtContents): try to handle font and language
14463 interaction a bit better.g
14465 * ColorHandler.C (updateColor): change the hash to cover the whole
14466 LColor enum, ws cleanup
14467 (getGCLinepars): ditto
14468 (getGCLinepars): only lookup in the linecache once.
14470 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14472 * iterators.C (operator++): Make the iterator more robust
14474 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14476 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14478 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14481 * text.C: better added space drawing
14483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14486 * BufferView2.C: fix layout combo update on inset unlock
14488 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14490 * Makefile.am: don't compile unused files
14492 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14496 * LyXAction.C: remove old LFUN_LAYOUTNO
14498 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14500 * paragraph_pimpl.h:
14501 * paragraph_pimpl.C: isTextAt() doesn't need font param
14503 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14506 * lyxlex.C: little cleanup
14508 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14510 * BufferView_pimpl.C: fix insertAscii for insets
14512 2001-12-05 Juergen Vigna <jug@sad.it>
14514 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14515 set the right font on the "multi" paragraph paste!
14517 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * lyxlength.C: remove out-commented code.
14525 * BufferView_pimpl:
14539 * vc-backend.C: change "while(" to "while ("
14541 * lyxlength.[Ch]: add zero function to check if length is zero or
14543 * lyxgluelength.C: use it
14545 2001-12-05 Allan Rae <rae@lyx.org>
14547 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14548 Works for 2.95.3, from what I understand of Garst's reports this should
14549 work for other g++ versions. We're screwed if the abs(int) definition
14550 changed between bugfix releases of gcc.
14552 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14554 * text.C: fix chapter label offset !
14556 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14559 * text.C: fix hfill at end of line, clean up
14561 2001-12-04 Juergen Vigna <jug@sad.it>
14563 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14564 that we force an update of the inset and it's owners if neccessary.
14566 2001-12-03 Juergen Vigna <jug@sad.it>
14568 * text.C (rowLast): simplified code
14570 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14572 * lyxfunc.C: fix show options on timeout
14574 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14576 * screen.C (topCursorVisible): scroll half a page when the cursor
14577 reached top of bottom of screen
14579 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14581 * minibuffer.C: deactivate on loss of focus
14583 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14585 * vspace.[Ch] (operator!=): add operator.
14587 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14589 * BufferView_pimpl.C: refuse to open an inset when
14590 there's a selection.
14592 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14594 * BufferView_pimpl.C: allow to click on RHS of full row insets
14596 2001-11-30 Juergen Vigna <jug@sad.it>
14598 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14599 insets for undo reasons.
14601 2001-11-28 André Pönitz <poenitz@gmx.net>
14603 * vspace.[Ch]: cosmetical changes
14605 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14615 * kbsequence.C: part re-write of old kb code
14618 * WorkArea.C: remove Lgb_bug_find_hack
14620 2001-11-30 José Matos <jamatos@fep.up.pt>
14622 * buffer.C (makeDocBookFile): add a comment to point a hack.
14623 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14624 Fixed a double write of labels.
14626 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14629 * LaTeX.h Fixed bug in LaTeX class where it would not
14630 re-run latex if no depfiles were changed, but the .dvi was removed.
14632 2001-11-28 André Pönitz <poenitz@gmx.net>
14634 * all the files from the change on 2001/11/26:
14635 use lyx::layout_type instead of LyXTextClass::size_type
14636 use lyx::textclass_type instead of LyXTextClassList::size_type
14638 2001-11-29 Juergen Vigna <jug@sad.it>
14640 * text.C: added support for paragraph::isFreeSpacing()
14642 * buffer.C: same as above
14644 * paragraph.h: inserted isFreeSpacing() function to enable
14645 FreeSpacing inside InsetERT.
14647 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14648 of the paragraph's in the cut/copy buffer to 0!
14650 * text2.C (removeRow): remove the assert as it can!
14652 * lyxtext.h: added helper function firstRow returning firstrow and
14653 made firstrow private again.
14655 * BufferView2.C (lockInset): don't relock if we're already locked!
14657 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14658 the only paragraph.
14659 (removeRow): added Assert::(firstrow)
14661 * debug.C: forgot to add INSETTEXT here.
14663 2001-11-28 Juergen Vigna <jug@sad.it>
14665 * sp_spell.C (initialize): changed error text to more general
14666 spellchecker command use (not only ispell!)
14668 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14670 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14672 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14674 * vspace.C: initialise lyxgluelength on failure
14676 2001-11-28 Allan Rae <rae@lyx.org>
14678 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14679 declaration & definition that looks like a function declaration.
14681 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * BufferView2.C (copy):
14684 (copyEnvironment): do not clear the selection when doing a copy.
14686 * text.C (paintFirstRow): compilation fix
14688 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14690 * tabular.C (Latex): correct line count when writing latex.
14692 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14694 * paragraph_pimpl.h:
14695 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14698 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14702 * LColor.C: change vfillline->added_space
14704 * text.C: add markers and text for added space
14706 * vspace.C: fix comment
14708 2001-11-28 André Pönitz <poenitz@gmx.net>
14710 * paragraph.C: whitespace changes
14711 * all the other files from the change on 2001/11/26:
14712 change *::pos_type into lyx::pos_type
14714 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14716 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14717 language of the document when inserting error insets.
14719 2001-11-26 André Pönitz <poenitz@gmx.net>
14721 * BufferView_pimpl.[Ch]:
14729 * paragraph_pimpl.[Ch]:
14732 * text2.C: reduce header dependencies, introduce type for positions
14734 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14736 * <various>: change to use Alert.h
14738 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14740 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14741 when encountering an unknown token.
14742 (readLyXformat2): Show an error message if there were unknown tokens.
14744 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14747 * BufferView_pimpl.C:
14751 * text2.C: use par->isInset()
14753 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14755 * paragraph_pimpl.h:
14756 * paragraph_pimpl.C: cleanup
14758 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14760 * text2.C (removeRow):
14761 * text.C (setHeightOfRow): remove useless (and costly) call to
14764 2001-11-20 Allan Rae <rae@lyx.org>
14766 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14767 Now need Inset*::checkInsertChar() to return true for appropriate
14768 cases so that the characters in the minibuffer will actually be
14771 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14773 * text.C: change the order of the includes.
14774 (workWidth): initialize it at once.
14775 (workWidth): make maxw unsigned
14776 (setHeightOfRow): remove unused variable (inset)
14777 (selectSelectedWord): remove unused variable (inset)
14778 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14780 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14783 server is not running.
14785 (closeConnection): add debug info when server is disabled.
14787 * ColorHandler.C (getGCForeground): send debug message to GUI
14790 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14792 * kbmap.C (bind): modify because return conventions of
14793 kb_sequence::parse have changed.
14795 * kbsequence.C (parse): only ignore spaces and not any stupid
14796 control character. This avoids tests like s[i] <= ' ', which are
14797 guaranteed to fail with 8bit characters and signed chars.
14798 Change return code to string::npos when there have been no error
14799 (0 was a bad idea when error is at first character)
14801 2001-11-14 José Matos <jamatos@fep.up.pt>
14804 * buffer.C (simpleDocBookOnePar): removed unused argument.
14806 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14809 insets which are part of a word. Paragraph::isLetter takes care of
14810 that now. Use Paragraph::isInset to identify insets.
14811 (selectSelectedWord): do not test for hyphenation break.
14813 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14814 that protected spaces are considered as spaces.
14816 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14819 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14822 * lyxserver.C: fix it. and small cleanup.
14824 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14826 * BufferView_pimpl.C: use inline helpers
14829 * LaTeXFeatures.C: fix typos
14832 * Spacing.C: move spacing_string into class
14834 * ToolbarDefaults.C: move stuff into namespace anon
14836 * layout.h: update enum
14838 * lyxfunc.C: use better debug
14840 * minibuffer.h: fix typo
14844 * WorkArea.C: add and use Debug::WORKAREA
14848 * text2.C: code re-organisation, inline helpers
14850 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14852 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14853 std::vector.empty().
14855 2001-11-09 Allan Rae <rae@lyx.org>
14857 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14858 '\n's after tables. Tabular and ERT inset work now makes this no
14861 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14864 * minibuffer.C: fix crash, improve drop-down completion
14866 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14869 * lyxserver.C: invalidate fd's when doing endPipe()
14871 2001-11-08 José Matos <jamatos@fep.up.pt>
14873 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14874 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14877 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14879 2001-11-07 José Matos <jamatos@fep.up.pt>
14882 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14885 * buffer.C (sgmlOpenTag):
14886 * buffer.C (sgmlCloseTag): removed debug info.
14888 * buffer.h (sgmlOpenTag):
14889 * buffer.h (sgmlCloseTag): made public.
14891 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14893 * buffer.C (saveParamsAsDefaults):
14894 * lyx_cb.C (MenuLayoutSave): remove
14896 * LyXAction.C (init):
14898 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14900 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14902 * buffer.C (setPaperStuff): removed from here...
14904 * bufferparams.C (setPaperStuff): ... and moved there.
14906 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14910 * XFormsView.C: add support for drop-down completion
14912 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14914 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14917 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14922 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14924 * lyx_main.C: change ref to known bugs
14926 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14928 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14929 to work around older babel problems.
14931 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14933 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14935 2001-10-24 Juergen Vigna <jug@sad.it>
14937 * tabular-old.C (ReadOld): below variable changes reflected.
14939 * tabular.[Ch]: added ltType struct for longtable header/footer
14940 defines and changed all instances where they are used. Added
14941 future support for double top/bottom rows.
14943 2001-10-24 José Matos <jamatos@fep.up.pt>
14945 * buffer.h (docbookHandleCaption):
14946 * buffer.C (docbookHandleCaption): removed unused function.
14947 (makeDocBookFile): moved docbook supported version to v4.1.
14949 2001-10-24 José Matos <jamatos@fep.up.pt>
14952 * tabular.C (docbookRow): new function to export docbook code of a row.
14953 (DocBook): now honors the longtable flags.
14955 2001-10-23 José Matos <jamatos@fep.up.pt>
14958 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14959 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14961 * buffer.C (makeLinuxDocFile):
14962 (makeDocBookFile): reworked the preamble, more clean, and with
14963 support for lyx defined entities. Changed the document declaration
14964 to be more XML friendly.
14966 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14967 if we need to output XML that should be done with a filter.
14969 2001-10-22 Juergen Vigna <jug@sad.it>
14971 * sp_pspell.h (class PSpell): add alive function needed in the
14972 controller to see if the spellchecker could be started.
14974 2001-10-22 Juergen Vigna <jug@sad.it>
14976 * buffer.C (insertStringAsLines): modify the font for inserting
14977 chars in certain conditions by calling checkInsertChar(font).
14979 2001-10-19 Juergen Vigna <jug@sad.it>
14981 * text.C (workWidth): use getRow instead of wrong algorithm.
14982 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14984 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14989 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14991 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14993 * text.C (workWidth): do not search for the exact row when
14994 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14995 optimization for big documents.
14997 2001-10-18 Juergen Vigna <jug@sad.it>
14999 * text.C (workWidth): new function with added Inset * parameter.
15001 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15003 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15005 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15006 change return type of getColumnNearX.
15009 * text.C (changeRegionCase): use uppercase/lowercase instead of
15012 (rightMargin): simplify code by factoring out the uses of
15017 (appendParagraph): use Paragraph::size_type
15019 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15021 * vspace.C (asLatexString): add a missing break
15023 2001-10-15 Herbert Voss <voss@perce.de>
15025 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15027 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15029 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15032 2001-10-10 André Pönitz <poenitz@gmx.net>
15034 * lyxfunc.C: removed greek_kb_flag.
15036 2001-10-10 Herbert Voss <voss@perce.de>
15038 * lyx_main.C: delete global string help_lyxdir.
15040 2001-10-09 Herbert Voss <voss@perce.de>
15042 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15044 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15046 * lyx_main.C: added global string help_lyxdir.
15048 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15050 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15052 * lyxrc.C (set_font_norm_type): support iso8859-4
15054 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15056 * LaTeX.C (deplog): add another regex for MikTeX
15058 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15060 * lyxrc.C (set_font_norm_type): support iso8859-3
15062 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15066 * LaTeXFeatures.C: remove special case of french and index
15068 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15069 before \begin{document}). This solves several incompatibilities.
15071 2001-10-03 Garst Reese <reese@isn.net>
15073 * lyx_cb.C: change CheckTex error msg.
15075 2001-10-03 José Matos <jamatos@fep.up.pt>
15077 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15079 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15081 * .cvsignore: update
15083 * lyx_main.C (commandLineVersionInfo): use new style version info.
15085 * buffer.C (writeFile):
15087 (makeLinuxDocFile):
15088 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15090 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15092 * version.h: update to use stuff in version.C
15094 * version.C.in: new file. Contains version information determined
15095 at compile time. This is a merging of version.h and
15098 2001-10-03 Juergen Vigna <jug@sad.it>
15100 * BufferView_pimpl.C (update): don't change "dirty" status in
15103 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15105 * WorkArea.C (c-tor): re-position version string slightly.
15107 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15109 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15110 revert to previous code.
15112 WorkArea.[Ch]: (show, destroySplash): methods removed.
15114 WorkArea.C: rework code so that it's an amalgam of the codes before and
15115 after the splash screen was moved to WorkArea.
15117 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15120 * vspace.C (inPixels):
15123 * buffer.C (insertStringAsLines):
15124 (asciiParagraph): fix types to be large enough
15126 * lyxlex_pimpl.h: change member status from short to int
15128 * layout.h: fix type of endlabeltype
15131 * kbsequence.C (parse): change return type to string::size_type
15133 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15136 * Bullet.C (bulletSize):
15137 (bulletEntry): do not use short ints as parameters
15139 * BufferView2.C (insertLyXFile): change a char to an int.
15141 * WorkArea.C (WorkArea): remove unneeded floats in computation
15143 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15145 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15147 * paragraph.C (asString): Do not ignore newline/hfill chars when
15148 copying to the clipboard.
15150 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15152 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15153 after a multi-line inset.
15155 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15157 * paragraph.C (validate): Set NeedLyXFootnoteCode
15159 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15161 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15162 and decrease-error to decrease.
15164 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15166 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15167 it more readable (should be equivalent)
15169 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15171 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15173 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15175 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15176 of a cursor (row, etc.) after a character has been deleted
15177 (deleteEmptyParagraphMechanism): call the method above on _all_
15178 cursors held by the LyXText when a double space has been
15181 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15183 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15185 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15187 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15188 background. Use greyOut() and the new show() methods to toggle between
15189 the foreground and background. Add code to remove the splash after
15190 its initial showing.
15192 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15193 (create_forms): no longer call Dialogs::showSplash.
15195 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15197 * .cvsignore: add version_info.h
15199 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15201 * version_info.h.in: new file
15203 * Makefile.am: add version_info.h.in
15205 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15206 version_info.h instead of VERSION_INFO
15208 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15210 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15211 The ERT inset now returns string().
15213 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15215 * lyxtext.h, text.C (selectNextWord): renamed as
15216 selectNextWordToSpellcheck.
15218 * text.C (selectNextWordToSpellcheck): Modified to not select
15219 words inside an ERT inset.
15221 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15223 * lyx_cb.C (MenuLayoutSave): change a bit the question
15225 * sp_base.h: include <sys/types.h>
15227 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15229 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15231 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15233 * several files: fix typos in user-visible strings
15235 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15237 * text2.C (pasteSelection): do not set the selection, since it
15238 will be cleared later. Actually, the intent was to fix the way the
15239 selection was set, but I figured rmoving the code was just as good.
15241 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15243 * FontLoader.C (available): Check if font is available without
15246 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15248 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15250 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15252 * lyxrc.[Ch]: added display_graphics variable and associated code.
15254 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15256 * bufferparams.C (hasClassDefaults): new method. Returns true if
15257 the buffer parameters correspond to known class defaults
15259 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15261 * XFormsView.C (show): set minimum size to the main window.
15263 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15265 * text2.C (copySelection):
15267 * lyxfind.C (LyXReplace):
15268 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15269 LyXText::selectionAsString.
15271 * paragraph.C (asString): add "label" argument to the second form
15273 * text2.C (selectionAsString): add "label" argument and pass it to
15274 Paragraph::asString.
15276 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15278 * lyx_main.C (commandLineHelp): remove version information
15280 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15282 * lyx_main.C: add -version commandline option
15284 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15286 * paragraph.h: make the optional constructor arg required instead.
15287 some modifications to other files because of this.
15289 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15291 * lyxserver.C (C_LyXComm_callback): make it static
15293 * lyx_main.C (error_handler): make it static
15295 * lyx_gui.C (LyX_XErrHandler): make it static
15297 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15299 * WorkArea.C: make the extern "C" methods static.
15301 * Makefile.am (lyx_LDADD): simplify
15303 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15305 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15306 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15308 * LyXAction.C (init):
15309 * lyxfunc.C (dispatch): associated code removal.
15311 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15313 * lyxfont.h (isSymbolFont): shut off warning
15315 * text.C (setHeightOfRow):
15316 (getVisibleRow): fix crash with empty paragraphs which have a
15319 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15321 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15324 2001-09-04 José Matos <jamatos@fep.up.pt>
15327 * tabular.C (docbook): rename docBook method to docbook.
15329 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15331 * Makefile.am: add dependencies to main.o.
15333 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15335 * FontLoader.C (available): Return false if !lyxrc.use_gui
15337 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15339 * FontInfo.C (query):
15340 * converter.C (view):
15341 * importer.C (Import):
15342 * exporter.C (Export): Can not -> cannot.
15344 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15346 * BufferView_pimpl.C: allow to create index inset even if
15349 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15351 * buffer.C (getLists): replace boost::tie code with an explicit pair
15352 as boost::tie can break some compilers.
15354 * iterators.h: Added a std:: declaration to the return type of
15357 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15359 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15362 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15364 * iterators.[Ch]: New files. Provide paragraph iterators.
15366 * buffer.C (changeLanguage): Use paragraph iterators.
15367 (isMultiLingual): ditto
15369 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15371 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15373 * FontLoader.C: Support for cmr font.
15375 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15377 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15378 (available): New method.
15380 * FontInfo.C (getFontname): Use scalable fonts even when
15381 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15384 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15386 * converter.C (Formats::view): reverted! Incorrect fix.
15388 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15390 * converter.C (Formats::view): only output the -paper option
15391 if the dvi viewer is xdvi, thereby fixing bug #233429.
15393 2001-08-23 Herbert Voss <voss@perce>
15395 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15397 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15399 * Spacing.h (Spacing): Set space to Default on in the default
15402 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15404 * vc-backend.h (RCS::versionString): add RCS to version
15405 (CVS::versionString): add CVS to version
15407 * vc-backend.C (scanMaster): do not add CVS to version.
15408 (scanMaster): do not add RCS to version
15410 * lyxvc.C (versionString): new method
15412 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15414 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15416 * Spacing.C (set): initialize fval
15418 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15420 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15423 2001-08-16 Juergen Vigna <jug@sad.it>
15425 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15427 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15429 * BufferView_pimpl.C:
15432 * text2.C: setParagraph takes linespacing now
15434 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15436 * LyxAction.C: add internal LFUN_CITATION_INSERT
15438 * LyXView.C: actually apply fix
15440 * bufferlist.C: fix open non-existent file
15442 * lyxfind.C: fix indentation
15444 * lyxfunc.C: remove unneeded assert, fix typo
15446 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15448 * MenuBackend.C: use "Floatname List"
15450 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15452 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15453 when converting LaTeX layout to insetERT.
15454 Generate a non-collapsed float when reading old float
15456 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15458 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15461 2001-08-13 Juergen Vigna <jug@sad.it>
15463 * text.C (fill): return 0 instead of 20 as this seems to be the more
15466 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15468 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15471 2001-08-13 Juergen Vigna <jug@sad.it>
15473 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15475 (SearchBackward): comment out the unlocking of the inset_owner this
15476 should not be needed!
15478 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15480 * Many files: Remove inherit_language, and add latex_language
15482 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15483 collapsible insets.
15485 2001-08-10 Juergen Vigna <jug@sad.it>
15487 * text.C (prepareToPrint): fixed hfill-width in draw!
15489 * BufferView2.C (selectLastWord): save the selection cursor as this
15490 now is cleared in the function LyXText::clearSelection!
15492 2001-08-08 Juergen Vigna <jug@sad.it>
15494 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15495 BACKSPACE type functions.
15497 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15498 is only cutted from the document but not put in the cut-buffer, where
15499 still the old stuff should be.
15501 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15503 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15505 * tabular.C (SetWidthOfCell): fixed special case where the width
15507 (LeftLine): handle '|' in align_special.
15509 (LeftAlreadyDrawed): ditto
15510 (SetWidthOfCell): ditto
15512 2001-08-07 Juergen Vigna <jug@sad.it>
15514 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15516 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15518 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15519 * lyxlex.[hC]: ditto
15521 2001-08-06 Juergen Vigna <jug@sad.it>
15523 * text.C (getVisibleRow): fix up row clearing a bit.
15525 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15527 * minibuffer.C: make sure the X server sees the changes in the input.
15529 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15531 * paragraph.C (getFont): split into...
15532 (getLabelFont): this
15533 (getLayoutFont): and this
15534 * paragraph_pimpl.C (realizeFont): calling this
15536 * text2.C (getFont): split into...
15537 (getLayoutFont): this
15538 (getLabelFont): and this
15539 (realizeFont): all three calling this
15541 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15544 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15546 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15548 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15550 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15551 layouts from the Quote inset insertion.
15553 2001-08-03 Juergen Vigna <jug@sad.it>
15555 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15557 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15558 only if status not is already CHANGED_IN_DRAW (second level).
15560 * text.C (draw): don't set the need_break_row when inside an
15563 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15565 * buffer.C (parseSingleLyXformat2Token): handle more latex
15568 * bufferview_funcs.[hC]: change function names to
15569 begin with small char, adjust other files.
15571 2001-08-02 André Pönitz <poenitz@gmx.net>
15574 BufferView_pimpl.C: remove broken special code for math-greek
15576 2001-08-02 Juergen Vigna <jug@sad.it>
15578 * BufferView_pimpl.C (update): redone this function so that we
15579 update the text again if there was a CHANGE_IN_DRAW.
15581 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15582 (drawFromTo): added a new internal bool which is used by draw() and
15584 (general): some cursor drawing problems fixed.
15586 2001-08-01 Juergen Vigna <jug@sad.it>
15588 * lyxfind.C (LyXFind): fixed
15589 (SearchForward): ditto
15590 (SearchBackward): ditto
15592 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15593 spurius drawing of the cursor in the main area.
15595 * text2.C (status): small fix which could lead to a segfault!
15596 (clearSelection): remove unneeded BufferView param.
15598 2001-08-01 André Pönitz <poenitz@gmx.net>
15600 * lyxfunc.C: small change due to changed mathed interface
15602 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15604 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15606 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15608 * lyxfunc.c: fail gracefully if file doesn't exist
15613 * BufferView_pimpl.C: IsDirWriteable() proto changed
15615 * LyXView.C: fix updateWindowTitle() to store the last title
15617 2001-07-31 Juergen Vigna <jug@sad.it>
15619 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15620 the font (wrong since using of Paragraph::highestFontInRange).
15622 * paragraph.C (highestFontInRange): added a default_size parameter.
15624 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15625 (setHeightOfRow): reformat
15627 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15629 * converter.[hC] + affected files: move to (inital-char)lowercase
15632 * ParagraphParameters.C (ParagraphParameters): remove commented code
15634 * PainterBase.[Ch]: remove commented code
15636 * LaTeXFeatures.h: add "bool floats" for float.sty
15638 * LaTeXFeatures.C (LaTeXFeatures): init floats
15639 (require): handle float
15640 (getPackages): do it with floats
15642 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15644 * BufferView_pimpl.C (Dispatch): improve handling of
15645 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15647 * commandtags.h: #include lyxfont.h here temporarily to avoid
15650 * bufferlist.h: include LString.h here.
15652 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15654 * text2.C (getStringToIndex): new method.
15656 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15658 * *: Reduced header file dependencies all over.
15660 2001-07-30 Baruch Even <baruch@lyx.org>
15662 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15664 2001-07-29 Baruch Even <baruch@lyx.org>
15666 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15668 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15670 * ParameterStruct.h (endif): add a default constructor to make
15671 sure that all variables is initialized.
15673 * ParagraphParameters.C (ParagraphParameters): adjust
15675 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15677 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15678 index; also, check that there is something to index, and that it
15679 does not span over several paragraphs.
15680 (doubleClick): use WHOLE_WORD_STRICT for double click.
15682 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15684 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15687 2001-07-26 Baruch Even <baruch@lyx.org>
15689 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15690 an InsetFig figure, backwards compatible reading of old figure code.
15692 2001-07-27 Juergen Vigna <jug@sad.it>
15694 * text2.C: font.realize function adaption.
15696 * text.C (draw): add a warnings lyxerr text if needed.
15698 * layout.C: font.realize function adaption.
15700 * language.C: add inherit_language and implement it's handlings
15702 * bufferview_funcs.C (StyleReset): remove language parameter from
15703 font creation (should be language_inherit now).
15705 * bufferparams.C (writeFile): handle ignore_language.
15707 * paragraph.C (getFontSettings): the language has to be resolved
15708 otherwise we have problems in LyXFont!
15710 * lyxfont.C (lyxWriteChanges): added document_language parameter
15711 (update): removed unneeded language parameter
15713 * paragraph.C (validate): fixed wrong output of color-package when
15714 using interface colors for certain fonts in certain environments,
15715 which should not seen as that on the final output.
15717 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15719 * BufferView_pimpl.C:
15724 * LyXAction.C: add thesaurus support
15727 * lyxfind.C: add "once" parameter, for thesaurus, to not
15728 move to the next match
15730 2001-07-26 Juergen Vigna <jug@sad.it>
15732 * lyxfont.C (realize): honor ignore_language too!
15735 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15737 * text.C (draw): one place more for ignore_language to not draw
15740 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15742 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15744 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15746 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15747 the minipage conversion problem.
15749 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15751 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15754 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15756 * BufferView.h: don't forward declare WorkArea
15758 * BufferView.C: don't include WorkArea.h
15760 2001-07-25 André Pönitz <poenitz@gmx.net>
15764 * lyxfunc.C: new LFUN 'math-space'
15766 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15768 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15770 * text2.C (toggleInset): call open/close
15772 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15774 * lyxfunc.C (dispatch): add debug for the disabled case
15776 * font.C (buttonText): make similar to rectText
15778 * buffer.C (readInset): comment out parsing of insetlist and
15781 * PainterBase.C (rectText): small correction
15783 * BufferView_pimpl.C: comment out insettheorem and insetlist
15784 * LyXAction.C: ditto
15785 * commandtags.h: ditto
15787 2001-07-24 Juergen Vigna <jug@sad.it>
15789 * text.C (draw): honor the ignore_language.
15791 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15793 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15795 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15798 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15800 * lyxtext.h: remove unused (and unimplemented) methods
15802 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15804 * text.C (getVisibleRow): honor background color
15807 * Painter.h: remove default color argument for fillRectangle
15809 * text.C (backgroundColor): new method
15811 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15813 * text.C (getVisibleRow): adjust
15815 * font.[Ch] (rectText): new method, metrics
15816 (buttonText): new method, metrics
15818 * PainterBase.[hC]: make rectText and buttonText always draw and take
15821 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15823 * ToolbarDefaults.C (read):
15824 * MenuBackend.C (read): allow escaping in all strings
15826 * BufferView_pimpl.C (insertAndEditInset): new method.
15827 (Dispatch): use insertAndEditInset whenever appropriate.
15829 * BufferView_pimpl.C (insertNote): removed
15831 * BufferView_pimpl.C (smartQuote): new method, moved from
15832 BufferView; if an insetquote cannot be inserted, insert a '"'
15835 * BufferView2.C: remove insertCorrectQuote();
15837 * lyxfunc.C (getStatus): Add support for all remaingin
15838 inset-insert lfuns.
15840 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15842 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15843 command (necessary to pass " as parameter of self-insert.
15845 * text.C (selectWordWhenUnderCursor):
15846 (selectWord): add word_location parameter
15847 (selectWordWhenUnderCursor): same + remove special code for word
15849 (selectNextWord): use kind() to guess type of insetspecialchar,
15852 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15853 (insertErtContents): create ert insets as collapsed.
15854 (readInset): better compatibility code for Info inset.
15856 2001-07-20 Juergen Vigna <jug@sad.it>
15858 * lyxfunc.C (dispatch): use always LyXFind now!
15860 * text2.C (init): add a reinit flag so that the LyXText can be
15861 reinited instead of deleted and reallocated (used in InsetText).
15863 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15869 2001-07-18 Juergen Vigna <jug@sad.it>
15871 * text.C (selectNextWord): handle insets inside inset by calling
15872 always the bv->text functions so that we can go up the_locking_inset!
15874 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15875 in strange locations when inside an inset!
15877 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15878 handling to include insets.
15880 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15882 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15884 * LyXAction.C (init):
15886 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15887 LIGATURE_BREAK, since the name is so stupid.
15889 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15891 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15894 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15896 * sp_form.[Ch]: remove.
15898 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15900 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15903 * src/buffer.C (readInset): ditto.
15905 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15907 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15908 menuSeparator(), endOfSentenceDot(), ldots() and
15909 hyphenationPoint(), which are therefore removed.
15910 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15912 * LyXAction.C (init):
15913 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15915 * paragraph.C (getWord): removed.
15917 * BufferView_pimpl.C (Dispatch): use last word or selection for
15918 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15920 * lyx_main.C (queryUserLyXDir): do not ask before creating
15921 user_dir, except if it has been named explicitely.
15923 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15925 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15926 a document of zero size.
15928 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15930 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15931 approriately in the c-tor and in require().
15932 (getPackages): output the appropriate LaTeX for natbib support.
15934 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15935 variables "use_natbib" and "use_numerical_citations" when reading the
15937 (readInset): read the various natbib cite commands.
15938 (validate): white-space change.
15940 * bufferparams.[Ch]: new variables "bool use_natbib" and
15941 "bool use_numerical_citations".
15942 (writeFile): output them in the LyX file.
15944 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15946 * lyxfunc.C (getStatus): add support for all the inset insertion
15949 * text2.C (insertInset):
15950 * paragraph.C (insetAllowed):
15951 * BufferView_pimpl.C (insertInset): update to take in account the
15952 renaming of insertInsetAllowed
15954 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15956 * text2.C (getInset): new method. returns inset at cursor position.
15958 * BufferView_pimpl.C (Dispatch): changes because of this.
15960 * LyXAction.C (init): rename open-stuff to inset-toggle.
15962 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15964 * text2.C (toggleInset): renamed from openStuff; use
15967 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15969 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15971 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15973 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15975 * buffer.C (readLyXformat2): Add filename to the error dialog
15977 2001-07-18 Juergen Vigna <jug@sad.it>
15979 * tabular.C (GetCellNumber): put an assert here instead of the check!
15981 2001-07-17 Juergen Vigna <jug@sad.it>
15983 * BufferView_pimpl.C (toggleSelection): adapted too.
15985 * text.C (selectNextWord): adapted for use with insets.
15986 (selectSelectedWord): ditto
15988 2001-07-17 Juergen Vigna <jug@sad.it>
15990 * sp_spell.C (PSpell): fix initialitation order.
15992 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15994 * paragraph.C: spacing
15996 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15998 * sp_spell.C: repair language selection for pspell
16000 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16002 * lyxfunc.h: change more methods to begin with lower char.
16004 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16006 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16007 for unknown layouts.
16009 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16011 * buffer.C (readLyXformat2): Generate an error dialog if there are
16014 2001-07-16 Juergen Vigna <jug@sad.it>
16016 * sp_spell.C: always compile ISpell part.
16018 * lyxrc.C: added use_pspell entry and it's handling.
16020 2001-07-13 Juergen Vigna <jug@sad.it>
16022 * sp_spell.C: removed double includes.
16024 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16026 Consistent use of Lsstream.h:
16027 * Lsstream.h: added using std::stringstream for consistencies sake.
16029 * buffer.C: removed using std::stringstream
16031 * lyxfont.C (stateText):
16032 * paragraph.C (asString):
16033 * text.C (selectNextWord, selectSelectedWord):
16034 * text2.C (setCounter):
16035 * vspace.C (asString, asLatexString):
16036 std::ostringstream -> ostringstream.
16038 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16040 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16041 * commandtags.h: add LFUN_HELP_ABOUTLYX
16042 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16044 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16046 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16048 * lyx_gui_misc.C: remove spellchecker
16049 * lyxfunc.C: showSpellchecker
16051 * sp_ispell.h: added
16052 * sp_pspell.h: added
16053 * sp_spell.C: added
16054 * sp_form.[Ch]: removed
16055 * spellchecker.[Ch]: removed
16057 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16059 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16061 (simpleTeXSpecialChars): Simply print the input character without
16062 any special translation if pass_thru is set.
16064 * layout.h: Added bool pass_thru to layout class for being able to
16065 implement pass through of a paragraph for Literate Programming.
16067 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16068 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16069 * layout.C (Read): add "passthru" to list of layout tags and add
16070 code to set the pass_thru boolean when it is read.
16072 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16074 * trans_decl.h: remove allowed from KmodInfo
16076 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16077 remove allowed code
16080 * paragraph_pimpl.C (erase): use boost::prior
16082 * Painter.C (text): use data() instead of c_str() when length is
16084 * WorkArea.C (putClipboard): ditto
16085 * font.h (width): ditto
16087 * BufferView2.C: use it-> instead of (*it). for iterators
16089 * paragraph_pimpl.C: ditto
16090 * paragraph.C: ditto
16091 * minibuffer.C: ditto
16092 * language.C: ditto
16094 * encoding.C: ditto
16095 * counters.C: ditto
16096 * converter.C: ditto
16098 * Variables.C: ditto
16099 * TextCache.C: ditto
16100 * MenuBackend.C: ditto
16101 * LyXAction.C: ditto
16103 * FloatList.C: ditto
16104 * DepTable.C: ditto
16105 * ColorHandler.C (LyXColorHandler): ditto
16107 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16109 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16111 * text2.C (openStuff): reintroduce this method (which had been
16112 nuked in NEW_INSETS frenzy).
16114 * lyxfunc.C (Dispatch): when an action has not been handled, use
16115 its name in the error message, not its number.
16117 * paragraph.C (inInset): change method name to begin with lowercase.
16120 * text2.C: updates because of this.
16122 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16124 * ToolbarDefaults.C (add): add spaces in error message
16126 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16128 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16129 (readLyXformat2): rename return_par to first_par, use lyxlex's
16130 pushToken and remove the manual push handling.
16131 (parseSingleLyXformat2Token): add another ert comp. variable:
16132 in_tabular, rename return_par to first_par. handle newlines better
16134 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16136 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16138 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16140 * text2.C (getParFromID): removed
16142 * buffer.C (getParFromID): new method moved form lyxtext.
16143 * BufferView2.C (insertErrors): adjust
16144 (setCursorFromRow): adjust
16145 * BufferView_pimpl.C (restorePosition): adjust
16146 * lyxfunc.C (Dispatch): adjust
16147 * undo_funcs.C (textUndo): adjust
16149 (textHandleUndo): adjust
16150 (textHandleUndo): adjust
16152 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16154 * buffer.C: up' the LYX_FORMAT
16156 * lyxfont.h: turn NO_LATEX on as default
16158 * buffer.C (insertErtContents): new methods of tex style compability.
16159 (parseSingleLyXformat2Token): use it several places.
16160 * tabular.C (OldFormatRead): and here
16162 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16164 * text2.C: remove some commented code.
16167 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16168 * trans.C: changes because of the above.
16170 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16172 * text2.C (setCounter): Fix counters bug with bibliography layout.
16174 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16176 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16177 own member functions
16178 (simpleTeXSpecialChars): ditto
16180 2001-07-06 Juergen Vigna <jug@sad.it>
16182 * a lot of files: changed the access to LyXText::status and the
16183 call of undo-functions.
16185 * undo.[Ch]: added a inset_id to the undo informations.
16187 * undo_funcs.[Ch]: added and moved here all undo functions.
16189 * lyxtext.h: give the status enum a weight, made status_ a private
16190 variable and made accessor functions for it, removed the whole bunch
16191 of undo-functions as they are now in their own file, make some
16192 functions publically available. Added function ownerParagraph with
16195 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16196 made InInset() a const function, added getParFromID() function.
16198 * buffer.[Ch]: added const version for inset_iterator functions,
16199 added getInsetFromID() function.
16201 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16202 changed undo functions for new version.
16204 2001-07-05 Juergen Vigna <jug@sad.it>
16206 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16207 unknow mechanism does not call the proper constructor but only this
16208 one also if I request the other!?
16210 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16212 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16214 * text2.C (LyXText): use initialization lists.
16216 * lyxtext.h (Selection): initialize set_ and mark_
16217 (init): remove method
16219 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16221 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16223 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16225 * screen.[Ch]: change method names to begin with lowercase
16227 * BufferView_pimpl.C (updateScrollbar): simplify further and
16228 hopefully make it a bit faster.
16230 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16232 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16233 calling directly xforms functions.
16235 * Painter.C (Painter):
16236 * lyx_cb.C (MenuWrite):
16237 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16240 * lyx_gui.C: remove bogus guiruntime extern declaration.
16242 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16244 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16246 (redoDrawingOfParagraph): ditto
16247 (redoParagraphs): ditto
16248 (cutSelection): don't create a object for CutAndPaste use the
16249 static method directly
16250 (pasteSelection): ditto
16252 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16255 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16257 * modifications to some other files because of this.
16259 * Makefile.am (lyx_SOURCES): add XFormsView
16261 * XFormsView.[Ch]: new files
16263 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16264 the main window. Move the gui dependent stuff to XFormsView
16266 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16268 * tabular.C (GetCellInset): update cur_cell also in the row/col
16269 version of this function.
16271 * lyxfunc.C: no need to include figure_form.h here.
16277 * lyxvc.C: no need to include forms.h here.
16279 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16281 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16283 * lyxfunc.C (Dispatch):
16285 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16286 constructor argument.
16288 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16290 * paragraph.C (Paragraph): dont't clear, and just set layout.
16291 (makeSameLayout): use params's copy contructor.
16293 * ParagraphParameters.[Ch] (makeSame): delete method
16295 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16297 * Variables.[Ch]: fix indentation, rename set to isSet
16299 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16301 * lyxfunc.C (Dispatch): fix typo
16303 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16305 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16308 * bufferlist.C: include assert.h for emergencyWrite().
16310 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16312 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16313 give up at last (bug #425202) !
16315 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16321 * spellchecker.C: strip spellchecker options and bring up
16322 preferences tab instead
16324 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16326 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16327 the istringstream constructor
16329 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16331 * paragraph.C (getLayout): fix return value
16333 * paragraph.h: do not declare getLayout as inline.
16335 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16337 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16339 * lyxcursor.h (operator<): new func
16340 (operator>): new func
16341 (operator>=): new func
16342 (operator<=): new func
16344 * text.C (changeCase): use selection.start and selection.end
16345 (changeRegionCase): require from to be <= to. Require par to be a
16348 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16350 2001-06-27 Juergen Vigna <jug@sad.it>
16352 * text.C (cursorLeftOneWord): changed to return the cursor and added
16353 overlay with BufferView * parameter which calls this one.
16355 (selectWord): use new getWord function.
16356 (changeCase): renamed from changeWordCase as and extended to work
16357 also on selections.
16359 * lyxtext.h: added enum word_location
16361 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16362 changeCase as this operates now also on selections.
16364 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16366 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16368 * many files: send debug output to Debug::INFO instead of
16371 * converter.C (View):
16373 (Move): send debug output to Debug::FILES instead of console.
16375 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16377 * lyxfunc.C (getStatus): use func_status
16379 * func_status.h: new header, describing the results of
16380 LyXFunc::getStatus;
16382 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16385 2001-06-25 The LyX Project <jug@sad.it>
16387 * buffer.C (sgmlOpenTag):
16389 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16391 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16393 * text2.C: remove some dead code
16395 * tabular.C (GetCellInset): store the last cell checked (gotten)
16397 * tabular.h: add the helper for the speedup
16399 * lyxtext.h: remove some dead code
16401 2001-06-26 The LyX Project <Asger>
16403 * paragraph.C: Change export to LaTeX of alignment to
16404 \begin{center} and family for better roundtrip work with reLyX.
16406 * Tune the math drawing a bit.
16408 2001-06-25 The LyX Project <Asger>
16410 * LColor.C (LColor): New color for math background. New color
16413 2001-06-25 The LyX Project <jug@sad.it>
16415 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16417 * lyxfunc.C (Open):
16418 * bufferlist.C (newFile): do not restrict to files ending with
16421 * BufferView_pimpl.C (MenuInsertLyXFile):
16423 2001-06-24 The LyX Project <jug@sad.it>
16425 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16428 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16430 * lyxtext.h: rename most methods to begin with a small char.
16431 Lots of changes because of this.
16433 * paragraph.C (Paragraph): do not call fitToSize
16434 (erase): call Pimpl::erase
16435 (insertChar): call Pimpl::insertChar
16436 (insertInset): call Pipl::insertInset
16437 (breakParagraph): do not call fitToSize
16438 (breakParagraphConservative): do not call fitToSize
16439 (fitToSize): remove method
16441 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16443 2001-06-24 The LyX Project <Asger>
16445 * Fix Qt compilation^2
16447 2001-06-24 The LyX Project <jug@sad.it>
16449 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16450 depthHook(getDepth()-1).
16453 * ParagraphParameters.h:
16454 * ParameterStruct.h: change type of depth to unsigned int ==
16455 depth_type. Many adaptations to other files before of that.
16457 2001-06-24 The LyX Project <Asger>
16459 * Fix Qt compilation.
16461 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16463 * paragraph.h: renamed several methods to begin with small letter.
16464 several changes to many parts of the code because of this.
16466 2001-06-23 The LyX Project <jug@sad.it>
16468 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16469 rewritten to discard all double spaces when KeepEmpty is off
16470 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16471 to only handle newlines but not fiddle with spaces and friends.
16473 * lyxfunc.C (MenuNew): when doing 'new from template', use
16474 template_path as default directory
16476 2001-06-23 The LyX Project <Asger>
16478 * Clean-up of header file includes all over
16479 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16481 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16483 * paragraph.h: renamed from lyxparagraph.h
16485 2001-06-23 Asger <lyx@violet.home.sad.it>
16487 * Buffer.h: Removed Buffer::resize
16488 * BufferList.h: Removed BufferList::resize
16489 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16490 the document lazily when we change the width, or the font settings.
16492 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16494 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16496 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16498 * buffer.h: remove out of date comment
16500 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16503 * screen.C: fix "theoretical" GC leak
16505 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16507 * LaTeX.C (scanAuxFile):
16508 (deplog): remove trailing \r when reading stream (useful under
16511 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16513 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16514 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16515 and BufferView::theLockingInset(Inset*), so should use them and not
16516 access bv_->text->the_locking_inset directly.
16518 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16520 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16523 * tex-defs.h: remove old unused file
16525 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16527 * BufferView_pimpl.C: fix typo, remove minibuffer message
16528 when buffer has loaded
16530 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16532 * lyxfunc.C (Dispatch): use stringstream
16533 (MenuNew): use stringstream
16534 (Open): use stringstream
16536 * importer.C (Import): use stringstream
16538 * bufferview_funcs.C (CurrentState): use stringstream
16540 * LaTeX.C (run): use stringstream
16542 * BufferView_pimpl.C (savePosition): use stringstream
16543 (restorePosition): use stringstream
16544 (MenuInsertLyXFile): use stringstream
16546 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16559 * vspace.C: removed // -*- C++ -*- as first line.
16562 * version.h: added // -*- C++ -*- as first line.
16564 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16566 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16568 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16571 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16573 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16576 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16578 * gettext.C: include LString.h even when --disable-nls is on.
16580 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16582 * converter.h (Get): changed argument type from int to
16583 FormatList::size_type to avoid unnecessary conversion.
16585 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16588 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16590 * gettext.h: include LString.h even when --disable-nls is on.
16592 2001-06-07 Juergen Vigna <jug@sad.it>
16594 * text.C (BreakAgain): subst spaces with tabs.
16596 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16597 (resizeInsetsLyXText): set force on resizeLyXText.
16599 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16601 * gettext.h (gettext_init):
16602 (locale_init): use a real definition instead of a macro
16604 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16606 * Bufferview_pimpl.C:
16608 * LColor.C: further lcolor tidies
16610 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16612 * BufferView_pimpl.C (updateScrollbar): simplify.
16614 * BufferView2.C: don't include insets/insetinfo.h, change
16615 prototype for insertInset and call the Pimpl version. let
16616 updateInset call Pimpl version.
16618 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16619 gotoInset to BufferView::Pimpl
16621 2001-06-01 Juergen Vigna <jug@sad.it>
16623 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16624 inside a LockingInset (is the update needed at all?).
16626 2001-05-31 Juergen Vigna <jug@sad.it>
16628 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16629 here not the old one otherwise how should we compare it afterwards
16632 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16637 * FontInfo.C: bring C functions into global namespace when
16640 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16642 * LString.h: make sure config.h has been loaded before LString.h.
16644 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16645 (one for each char read by EatLine!).
16647 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16650 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16652 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16653 to the same as the par we break from
16655 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16657 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16659 * MenuBackend.C (expand): also create menu entries for wide
16660 versions of the floats.
16662 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16664 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16666 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16667 frontends/Makefile.am
16673 * tabular.C (getTokenValue): add std::
16675 * tabular-old.C (getTokenValue): add std::
16676 (getTokenValue): ditto
16677 (getTokenValue): ditto
16679 * screen.C (ToggleSelection): adjust
16681 * lyxtext.h: put selection cursors inside a Selection struct.
16683 * lyxfunc.C (moveCursorUpdate): adjust
16685 * lyxfont.C (latexWriteStartChanges): add std::
16687 * lyxfind.C: adjust
16689 * font.h: delete with(char const *, LyXFont const &)
16691 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16693 * FontInfo.C (getFontname): add std::
16695 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16696 (workAreaButtonPress): adjust
16697 (tripleClick): adjust
16699 (moveCursorUpdate): adjust
16702 * BufferView2.C (gotoInset): adjust
16704 2001-05-30 Juergen Vigna <jug@sad.it>
16706 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16707 to check pspell I add this as default as I now have new pspell
16708 libraries and they seem to use this.
16710 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16712 * text2.C (CutSelection): make the cursor valid before the call to
16715 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16717 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16718 relied on 0 terminated strings and other horrors. Bug found due to
16719 the new assert in lyxstring!
16721 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16724 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16726 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16729 * lyxfunc.C (processKeySym): change method of getting to the
16732 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16733 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16734 * BufferView_pimpl.[Ch]: here as private methods.
16736 2001-05-28 Juergen Vigna <jug@sad.it>
16738 * text.C (SetHeightOfRow): added the update() call again as it is
16739 needed to initialize inset dimensions!
16741 2001-05-16 Juergen Vigna <jug@sad.it>
16743 * text2.C (SetCharFont): Add new function with BufferView * and
16744 bool toggleall parameters for setting insets internal fonts.
16745 (SetFont): Freeze the undo as we may change fonts in Insets and
16746 all this change should be inside only one Undo!
16748 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16749 setting font's in insets as for them we have the SetFont function!
16751 2001-05-15 Juergen Vigna <jug@sad.it>
16753 * text2.C (ClearSelection): to be sure we REALLY don't have any
16756 * tabular.C (TeXCellPreamble): fixed the left border problem for
16759 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16761 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16764 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16766 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16767 LFUN_BREAKPARAGRAPH.
16769 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16770 help test to "internal only", similar for LFUN_INSERT_URL
16772 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16773 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16774 auto_region_delete and deadkeys.
16776 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16779 * LColor.C: remove some dead entries, tidy a little
16781 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16783 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16785 (Dispatch): implement LFUN_ESCAPE
16787 * commandtags.h: add LFUN_ESCAPE
16789 * LyXAction.C (init): add entry for LFUN_ESCAPE
16791 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16792 Remove commented code.
16793 (insertNote): moved here
16794 (open_new_inset): moved here
16796 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16799 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16801 * kbmap.C (findbinding): clean it up and make it work correctly.
16803 * lyx_main.C (init): do not pass argc and argv as parameters
16805 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16807 * buffer.C: fix path for OS/2 & Win32
16811 * lyx_main.C: Added os:: class.
16813 * os2_defines.h: update
16815 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16817 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16818 better by trying again with reduced state.
16820 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16822 * lyxrc.C (read): print error about invalid key sequence only when
16823 debugging (because not all latinX keysyms are known to some X
16826 * kbsequence.C (getiso): add a few std:: qualifiers
16827 (getiso): comment out extra return statement.
16829 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16831 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16833 (Dispatch): enhance the accent inset a bit. (not perfect)
16835 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16837 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16839 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16841 * bufferlist.C (emergencyWrite): fix assert() call
16843 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16845 * text.C (InsertChar): Added trivial patch to only send the "you
16846 can not do multiple spaces this way" message once during a
16849 2001-05-08 Baruch Even <baruch@lyx.org>
16851 * Makefile.am: Changed order of libraries to get LyX to link properly
16852 with the gnome frontend.
16854 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16856 * LaTeXFeatures.h: add a std:: qualifier
16858 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16860 * paragraph.C (String): use stringstream
16862 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16864 * paragraph.C (writeFile): remove footflag arg
16866 * buffer.C (makeLaTeXFile): use stringstream
16867 (latexParagraphs): remove footnot gurba
16869 * LaTeXFeatures.C (getPackages): use stringstream
16870 (getMacros): likewise
16871 (getTClassPreamble): likewise
16872 (getFloatDefinitions): new method
16874 * paragraph.C (writeFile): reindent
16877 * WorkArea.h: revert the xpos + etc changes.
16879 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16881 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16883 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16884 (pasteSelection): likewise
16885 * text2.C (CreateUndo): likewise
16887 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16889 * minibuffer.C (peek_event): temporarily reduce the functionality
16890 of the minibuffer (to allow args on lfuns)
16892 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16893 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16895 * buffer.C (readInset): add compability reading of old float
16896 lists, add reading of new style float list.
16897 (readInset): avoid reevaluation of inscmd.getCmdName()
16898 (getLists): reindent
16900 * MenuBackend.C (MenuItem): implement parsing of
16901 md_floatlistinsert and md_floatinsert.
16902 (expand::LastFiles): move initalizaton of iterators out of loop,
16903 avoid reevaluation.
16904 (expand::Documents): introduce typdedef vector<string> Strings,
16906 (expand::ExportFormats): introduce typedef vector<Format const *>
16907 Formats, and use it.
16908 (expand): implement FloatListInsert and FloatInsert.
16910 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16911 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16912 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16914 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16916 (Dispatch::LFUN_FLOAT_LIST): implement
16918 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16920 * LaTeX.C (run): Fix problem with --export code.
16922 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16924 * BufferView.[Ch] (workarea): removed.
16925 (getClipboard) new method; wrapper for workarea()->getClipboard()
16927 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16930 * WorkArea.h (width, height, xpos, ypos): These methods all
16931 returned the dimensions of the work_area sub-area of WorkArea,
16932 resulting in a position error if the WorkArea were resized. Now
16933 return the dimensions of the entire WorkArea.
16935 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16937 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16939 * LaTeX.C (deplog): correct the syntax of regex reg1
16941 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16943 * undo.C: remove !NEW_INSETS cruft
16945 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16947 * text2.C: remove !NEW_INSETS cruft
16949 * text.C: remove !NEW_INSETS cruft
16951 * tabular.C: remove !NEW_INSETS cruft
16953 * spellchecker.C: remove !NEW_INSETS cruft
16955 * lyxtext.h: remove !NEW_INSETS cruft
16957 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16959 * lyxfunc.C: remove !NEW_INSETS cruft
16961 * lyxfind.C: remove !NEW_INSETS cruft
16963 * lyx_cb.C: remove !NEW_INSETS cruft
16965 * figureForm.C: remove !NEW_INSETS cruft
16967 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16969 * buffer.[Ch]: remove !NEW_INSETS cruft
16971 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16973 * CutAndPaste.C: remove !NEW_INSETS cruft
16975 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16977 * BufferView2.C: remove !NEW_INSETS cruft
16979 * BufferView.h: remove !NEW_INSETS cruft
16981 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16983 * Lsstream.h: include LString.h before the sstream headers to
16984 fix problem with gcc 2.95.3 and lyxstring
16986 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16988 * lyx_main.C: add using directives when needed for C functions
16989 declared in std:: namespace.
16991 2001-04-27 Juergen Vigna <jug@sad.it>
16993 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16994 (SetHeightOfRow): comment out the update call should not be needed!
16996 2001-04-13 Juergen Vigna <jug@sad.it>
16998 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16999 (LyXTabular): tried to minimize operator= operations (and realized
17000 hopfully Lars wish).
17002 2001-04-27 Juergen Vigna <jug@sad.it>
17004 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17006 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17008 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17010 * buffer.C (readInset): hack to make listof algorithm work
17012 * BufferView_pimpl.C: hack to make listof algorithm work
17014 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17016 * LyXAction.C: removed all !NEW_INSETS cruft
17017 (init): moved lfun_item in method
17019 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17021 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17023 * BufferView2.C (theLockingInset): white space.
17025 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17027 * minibuffer.C: include <iostream>
17029 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17031 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17033 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17035 * text.[Ch] (TransposeChars): new method
17037 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17039 * call message directly through LyXView instead of through LyXFunc
17040 * BufferView2.C: adjust
17041 * BufferView_pimpl.C: adjust
17042 * FontLoader.C: adjust
17044 * bufferview_funcs.C: adjust
17045 * converter.C: adjust
17046 * figureForm.C: adjust
17047 * importer.C: adjust
17049 * lyx_gui_misc.C: adjust
17050 * lyxfunc.C: adjust
17053 + more files in subdirs
17055 * lyxparagraph.h (size): move up int file
17058 * adjust all uses of Assert to lyx::Assert.
17060 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17061 lyxfunctional in namespace lyx
17062 * layout.C (hasLayout): ditto
17065 (delete_layout): ditto
17066 (NumberOfClass): ditto
17067 * converter.C (GetFormat): ditto
17072 * bufferlist.C (getFileNames): ditto
17073 (emergencyWriteAll): ditto
17076 * MenuBackend.C (hasSubmenu): ditto
17079 * BufferView_pimpl.C (getInsetByCode): ditto
17081 2001-04-18 Juergen Vigna <jug@sad.it>
17083 * vspace.C (asLatexString): fixed the 100% problem.
17085 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17087 * lyxfunc.C (Dispatch):
17089 * minibuffer.h: add a few std:: qualifiers
17091 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17093 * minibuffer.[Ch]: reimplement so that commands is initiated and
17094 run from lyxfunc, simplified som handling, and made the completion
17095 and history code for complete. wip.
17097 * lyxfunc.C (processKeySym): call message
17098 (miniDispatch): new temporary method
17099 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17100 (LFUN_MESSAGE): implement
17101 (LFUN_MESSAGE_PUSH): implement
17102 (LFUN_MESSAGE_POP): implement
17103 (initMiniBuffer): the initial/defualt minibuffer message.
17105 * lyxfont.[Ch]: inline some more getters
17107 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17109 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17111 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17112 (AutoSave): use LFUN_MESSAGE
17113 (Reconfigure): ditto
17115 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17117 * figureForm.C: use LFUN_MESSAGE
17119 * converter.C (runLaTeX): use LFUN_MESSAGE
17121 * bufferview_funcs.C: use LFUN_MESSAGE
17123 (changeDepth): ditto
17125 * bufferparams.h: use boost::
17127 * bufferlist.h: inherit privately from noncopyable
17129 * bufferlist.C (loadLyXFile): remove some commented code.
17131 * buffer.C (runChktex): use LFUN_MESSAGE
17133 * ShareContainer.h: inherit privately from noncopyable
17135 * ParagraphParameters.[hC] (depth): inline it.
17137 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17139 (message): new method
17140 (messagePush): ditto
17141 (messagePop): ditto
17142 (show): init minibuffer
17143 (showState): direct call
17145 * LaTeX.[Ch]: inherit privately from noncopyable
17146 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17147 instead of WriteStatus.
17149 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17151 * BufferView_pimpl.C (buffer): don't init minibuffer
17152 (workAreaButtonPress): use LFUN_MESSAGE
17153 (workAreaButtonRelease): ditto
17154 (savePosition): ditto
17155 (restorePosition): ditto
17156 (MenuInsertLyXFile): ditto
17157 (workAreaExpose): don't init minibuffer
17158 (update): remove commented code, simplify
17160 * BufferView2.C (openStuff): use LFUN_MESSAGE
17161 (toggleFloat): ditto
17164 (copyEnvironment): ditto
17165 (pasteEnvironment): ditto
17170 (updateInset): remove some commented code
17172 * lastfiles.h: inherit privately from noncopyable
17175 * lyx_main.h: ditto
17177 * lyxlex_pimpl.h: ditto
17179 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17180 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17181 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17183 * LyXAction.h: inherit privately from noncopyable, add methods
17184 func_begin, func_end, returning iterators to the func map.
17186 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17187 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17188 (func_begin): new method
17189 (func_end): new method
17191 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17193 (copySelection): ditto
17194 (pasteSelection): ditto
17196 * BufferView.C: whitespace change
17197 * BufferView.h: inherit privately from noncopyable
17199 2001-04-16 Allan Rae <rae@lyx.org>
17201 * tabular-old.C (l_getline):
17202 * spellchecker.C (sc_check_word):
17203 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17204 an unrecognised preprocessor directive. So ensure they're wrapped.
17206 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17208 * src/exporter.C (Export): Give an error message when path to file
17211 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17213 * LaTeX.C (deplog): Always check that foundfile exists.
17215 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17218 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17220 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17222 * tabular.[Ch] (getLabelList): implement new method
17224 * minibuffer.h: comment ouf setTiimer
17226 * minibuffer.C (ExecutingCB): constify res
17227 (peek_event): constify s
17228 (Set): constify ntext
17229 (Init): constify nicename
17231 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17233 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17234 (savePosition): use two params to Minibuffer::Set
17235 (restorePosition): ditto
17237 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17239 * lyx_main.C: include language.h
17241 * Makefile.am (lyx_main.o): add language.h
17243 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17249 * CutAndPaste.C: include gettext.h
17251 * lyxfont.h: remove old hack with ON and OFF.
17254 * lyxfont.h: do not include language.h...
17259 * bufferview_funcs.C:
17265 * paragraph.C: ... but do it here instead
17267 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17269 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17271 * tabular.C: small reformat
17273 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17276 (BreakParagraph): ditto
17277 (SetOnlyLayout): ditto
17280 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17283 * lastfiles.C: removed most using decl, add std:: where needed
17285 * buffer.C: ws changes
17287 * MenuBackend.C (class compare_format): put into anon namespace
17288 (expand): constify label, names, action, action2
17291 * text.C (SingleWidth): constify font
17292 (IsBoundary): constify rtl2
17293 (GetVisibleRow): constify ww
17295 * LaTeX.C (deplog): constify logfile
17297 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17299 (workAreaExpose): constify widthChange, heightChange
17301 * lyxrow.C (par): moved
17304 * lyxrow.h: as inlines here
17306 * lyxfont.h (shape): moved from lyxfont.C
17307 (emph): moved from lyxfont.C
17309 * lyxfont.C (LyXFont): use initialization list for all
17311 (shape): move to lyxfont.h as inline
17312 (emph): move to lyxfont.h as inline
17315 2001-04-04 Juergen Vigna <jug@sad.it>
17317 * vspace.C: had to include stdio.h for use of sscanf
17319 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17322 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17323 independent of xforms.
17325 2001-04-02 Juergen Vigna <jug@sad.it>
17327 * spellchecker.C: fixed namespace placing!
17329 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17331 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17332 the LyXParagraph * is 0.
17334 2001-03-29 Juergen Vigna <jug@sad.it>
17336 * vspace.C: added support for %, c%, p%, l%.
17337 (stringFromUnit): added helper function.
17338 (asLatexString): changed to give right results for the %-values.
17340 * buffer.C: convert the widthp in a width%.
17342 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17344 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17347 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17348 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17350 * lyx_cb.[Ch]: see above.
17352 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17356 * lyx.[Ch]: replaced by figure_form.[Ch].
17360 * lyxfunc.C: changed headers associated with above changes.
17362 2001-03-27 Juergen Vigna <jug@sad.it>
17364 * BufferView_pimpl.C: set the temporary cursor right!
17366 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17368 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17370 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17372 * LString.h: removed "using std::getline"!
17374 * BufferView_pimpl.C (Dispatch): changes due to changes in
17375 InsetInclude::Params.
17377 * buffer.C (tag_name): removed redundant break statements as they were
17378 producing lots of warnings with my compiler.
17380 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17382 * LString.h: add "using std::getline" when using the real <string>.
17384 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17386 * buffer.C: removed bitset usage.
17387 PAR_TAG moved to an anonymous name space.
17388 (tag_name): new funtion, also in the anonymous namespace.
17389 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17390 (makeDocBookFile): clean code. Completed transition from string arrays
17392 (SimpleDocBookOnePar): code clean.
17394 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17396 * tabular.C: add some comments.
17398 2001-03-22 Juergen Vigna <jug@sad.it>
17400 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17401 compatibility read a bit and fixed bug with minipage in different
17404 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17406 * buffer.C (pop_tag): removed.
17407 (push_tag): removed.
17408 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17409 array replaced with vector. Added support for CDATA sections.
17410 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17412 (makeDocBookFile): XML conformant declaration of CDATA section,
17413 fixed bug related to <emphasis> in the first paragraph char.
17414 (sgmlOpenTag): exclude empty tags.
17415 (sgmlCloseTag): ditto.
17417 * buffer.h (pop_tag): removed.
17418 (push_tag): removed.
17420 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17422 * language.h (Languages): added size_type and size().
17424 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17426 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17427 response on compability reading of minipages. One probliem is that
17428 the old usage of minipages was flertydig
17430 * several files here and in subdirs: don't use static at file
17431 scope use anon namespaces instead.
17433 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17435 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17436 LaTeX output. This is necessary for Literate document
17439 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17441 * buffer.C: insert hfill when needed.
17443 * tabular.C (l_getline): use string::erase, small whitespace change.
17445 * BufferView_pimpl.C: try the anon namespace.
17446 * WorkArea.C: ditto
17448 2001-03-16 Juergen Vigna <jug@sad.it>
17450 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17451 otherwise it won't open options-dialogs.
17453 * buffer.C: honor pextraWidth(p) on converting minipages.
17455 * tabular.C (l_getline): changed the functions to strip trailing \r.
17457 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17459 * BufferView_pimpl.C:
17460 * minibuffer..C: added "using SigC::slot" declaration.
17462 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17464 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17470 * paragraph.C: ditto
17472 * lyxtext.h: NO_PEXTRA
17474 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17476 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17477 * ParameterStruct.h: ditto
17478 * ParagraphParameters.h: ditto
17479 * lyxparagraph.h: ditto
17481 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17483 * buffer.C: add compability for minipage alignment.
17484 (latexParagraphs): remove unwanted pextra check.
17486 * several files: remove CXX_WORKING_NAMESPACES
17488 * buffer.C (pop_tag): tie is in namespace boost
17490 * BufferView.h: noncopyable is in namespace boost
17492 * lyx_main.h: ditto
17495 * lastfiles.h: ditto
17496 * bufferlist.h: ditto
17497 * ShareContainer.h: ditto
17499 * LyXAction.h: ditto
17502 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17504 * Merging changes from BRANCH_MVC back into HEAD.
17506 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17508 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17510 * BufferView_pimpl.C: change from intl.C
17514 * Makefile.am: move combox.*
17520 * intl.C: remove dialog (covered by prefs)
17522 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17524 * lyxfunc.C (Dispatch): removed redundant break statement.
17526 2001-03-14 Juergen Vigna <jug@sad.it>
17528 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17530 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17532 * buffer.C: add hack to fix compability reading of minipages.
17534 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17536 * buffer.C (getLists): Cleanup.
17538 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17540 * lyxfont.C (update): don't honor toggleall on font size.
17542 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17546 * Makefile.am: moved to frontends/xforms/
17550 * BufferView_pimpl.C: changes for moved mathpanel
17552 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17554 * gettext.h: fix gettext_init() in --disable-nls
17556 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17558 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17560 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17563 * lyx.h: strip external form
17565 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17567 * BufferView_pimpl.C: add comment, destroySplash()
17569 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17571 * BufferView_pimpl.C:
17575 * lyxfunc.C: use re-worked insetinclude
17577 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17579 * buffer.C: add using std::stringstream.
17581 * lyx_cb.C: readd using std::ios.
17583 * buffer.C: add using std::map.
17585 * BufferView_pimpl.C: add using std::vector.
17587 * ShareContainer.h: add std:: to swap.
17589 * buffer.h: add some typedefs
17590 * buffer.C (getLists): use them
17591 (getLists): renamed from getTocList.
17592 add a counter for the different float types and use it in the
17594 (getLists): use the same counter for the NEW_INSETS and the "non"
17597 * lyx_cb.h: remove unused items, includes, using etc.
17599 * ShareContainer.h: remove some commented code, add more comments
17600 and "documentation".
17602 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17604 * buffer.C (getTocList): make the list also when NEW_INSETS is
17607 * buffer.h: remove TocType
17609 * buffer.C (getTocList): change to return a map<string,
17610 vector<TocItem> >, implement for dynamic number of list.
17612 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17613 * text2.C (PasteSelection): adjust
17614 * CutAndPaste.C (pasteSelection): adjust
17616 * FloatList.C (FloatList): update from the new_insets branch.
17617 * Floating.[Ch]: ditto
17618 * LaTeXFeatures.C: ditto
17620 * lyxlex_pimpl.C: ditto
17622 * paragraph.C (Last): remove when NEW_INSETS is defined.
17624 * other file: changes because of the above.
17626 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17628 * lyxparagraph.h: rename next to next_, previous to previous_,
17629 make them private for NEW_INSETS. Rename Next() to next(),
17630 Previous() to previous().
17632 * other files: changes because of the above.
17634 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17637 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17640 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17642 * main.C (main): pass lyx_localedir to gettext_init().
17644 * gettext.h: remove locale_init and gettext_init macros
17646 * gettext.C (locale_init): new function
17647 (gettext_init): new function
17649 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17652 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17654 * Moved credits to frontends:
17655 * credits.[Ch]: removed
17656 * credits_form.[Ch]: removed
17657 * lyx_gui_misc.C: remove credits stuff
17660 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17662 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17664 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17665 unneeded destructor.
17667 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17668 a standalone pointer again.
17670 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17672 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17678 * ToolbarDefaults.C:
17687 * BufferView_pimpl.C: use new file dialog in GUII
17690 * lyx_cb.C: remove LayoutsCB to Toolbar
17692 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17694 * ShareContainer.h (get): add std:: qualifier
17696 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17698 * ShareContainer.h: define a proper ShareContainer::value_type
17699 type (and use typename to please compaq cxx)
17701 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17703 * lyxparagraph.h: move serveral local vars to
17704 ParameterStruct/ParagraphParameters., use ShareContainer in
17705 FontTable., make vars in FontTable private and add getter and
17708 * paragraph.C: changes because of the above.
17710 * lyxfont.h: remove copy constructor and copy assignment. (the
17711 default ones is ok), move number inside FontBits. move inlines to
17714 * lyxfont.C: add number to initializaton of statics, move several
17715 inlines here. constify several local vars. some whitespace
17716 cleanup. Dont hide outerscope variables.
17718 * Spacing.h: add two new constructors to match the set methods.
17720 * ShareContainer.h: new file, will perhaps be moved to support
17722 * ParameterStruct.h: new file
17724 * ParagraphParameters.h: new file
17726 * ParagraphParameters.C: new file
17728 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17729 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17731 * BufferView_pimpl.C: ParagraphParameter changes.
17732 * buffer.C: Likewise.
17733 * bufferview_funcs.C: Likewise.
17734 * text.C: Likewise.
17735 * text2.C: Likewise.
17737 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17739 * lyxfind.C (LyXReplace): do not redefine default argument in
17741 (IsStringInText): ditto
17742 (SearchForward): ditto
17743 (SearchBackward): ditto
17745 2001-03-06 Juergen Vigna <jug@sad.it>
17747 * lyxfind.C (IsStringInText): put parentes around expressions.
17749 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17751 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17753 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17755 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17757 * stl_string_fwd.h: add comment
17759 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17762 * tabular.C: remove unused DocBook methods
17768 killed DO_USE_DEFAULT_LANGUAGE
17770 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17772 * lyx_gui.C: do not include language.h.
17774 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17775 arguments in function implementation.
17777 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17779 * BufferView_pimpl.C: add <ctime>
17781 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17783 * BufferView_pimpl.C: add using std::find_if
17785 2001-02-27 José Matos <jamatos@fep.up.pt>
17787 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17790 2001-02-11 José Matos <jamatos@fep.up.pt>
17792 * buffer.C (makeDocBookFile): command styles now have a parameter as
17793 "title" by default.
17795 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17797 * layout_forms.[Ch]: removed
17798 * lyx_cb.[Ch]: out character
17799 * lyx_gui.C: out character
17800 * lyx_gui_misc.C: out character
17801 * bufferview_funcs.C: : out character,
17802 added toggleall as parameter in ToggleAndShow
17804 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17806 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17808 * text2.C (SetCurrentFont): Disable number property at boundary.
17810 2001-02-26 Juergen Vigna <jug@sad.it>
17812 * lyxfunc.C (getStatus): added a string argument override function so
17813 that this is correctly called from LyXFunc::Dispatch if it contains a
17814 do_not_use_argument which is used!
17815 (Dispatch): added check for "custom" export and call appropriate func.
17817 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17819 * lyxrc.C: Add language_command_local, language_use_babel and
17820 language_global_options.
17822 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17824 * buffer.C (makeLaTeXFile): Use language_use_babel and
17825 language_global_options.
17827 2001-02-23 Juergen Vigna <jug@sad.it>
17829 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17830 which works with LyXText and putted it inside BufferView. Here now we
17831 only call for that part the BufferView::Dispatch() function.
17833 * BufferView.C (Dispatch): added.
17835 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17836 functions which needs to use a LyXText over from LyXFunc.
17837 (MenuInsertLyXFile): added
17838 (getInsetByCode): added
17839 (moveCursorUpdate): added
17840 (static TEXT): added
17842 2001-02-22 Juergen Vigna <jug@sad.it>
17844 * BufferView_pimpl.C (update): call a status update to see if LyXText
17847 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17849 * vc-backend.C (revert): implement for CVS
17850 (getLog): implement for CVS
17852 2001-02-20 Juergen Vigna <jug@sad.it>
17854 * text2.C (ClearSelection): added BufferView param for inset_owner call
17856 * lyxfunc.C (TEXT): added this function and use it instead of
17857 directly owner->view()-text of getLyXText().
17859 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17861 * src/layout_forms.C: out preamble
17862 * src/layout_forms.h: out preamble
17863 * src/lyx_cb.C: out preamble
17864 * src/lyx_cb.h: out preamble
17865 * src/lyx_gui.C: out preamble
17866 * src/lyx_gui_misc.C: out preamble
17867 * src/lyxfunc.C: connect with guii preamble
17869 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17871 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17873 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17875 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17876 whether to run bibtex.
17878 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17880 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17882 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17884 * Makefile.am (lyx_SOURCES): removed bibforms.h
17886 * vspace.h: doxygen
17888 * text.C (GetVisibleRow): make several local vars const
17890 * tabular.C: small cleanup.
17892 * lyxserver.C (callback): use compare instead of strncmp
17894 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17895 inlines to after class or to paragraph.C
17897 * lyxfont.h: remove friend operator!=
17899 * converter.h: move friend bool operator< to non friend and after
17902 * combox.h: small cleanup
17904 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17905 to inlines after class def.
17907 * buffer.C (pop_tag): use string operations instead of strcmp
17909 * bmtable.c: doxygen, small cleanup
17911 * LaTeX.h: remove friend operator==
17913 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17925 * BufferView_pimpl.C:
17926 * BufferView.[Ch]: remove cruft
17928 2001-02-14 Juergen Vigna <jug@sad.it>
17930 * lyxfunc.C: removed #if 0 unused code
17932 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17934 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17936 * text2.C (SetSelection): added a BufferView * parameter
17938 2001-02-13 Juergen Vigna <jug@sad.it>
17940 * lyxfunc.C (Dispatch): fixed protected blank problem.
17941 * BufferView2.C (protectedBlank): added LyxText * parameter.
17943 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17944 (AppendColumn): same as above for column_info.
17946 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17947 (moveCursorUpdate): use a LyXText param for support of InsetText.
17949 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17950 (tripleClick): ditto
17952 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17954 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17956 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17958 * text2.C (SetSelection): set correct update status if inset_owner
17959 (ToggleFree): ditto
17961 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17963 * tabular.C: remove some commented code.
17965 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17967 * BufferView_pimpl.C: call hideSplash()
17969 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17972 * bibforms.h: remove
17975 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17976 add LFUN_CHILD_CREATE
17978 * counters.h: fix tiny typo
17983 * lyx.C: move splash to frontends/xforms/
17985 * lyx_gui_misc.C: move Include and Bibform to frontends
17987 * lyxvc.h: clarify comment
17989 * vspace.C: tiny housekeeping
17991 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17993 * text.C (PrepareToPrint): RTL Fix.
17995 * paragraph.C (GetUChar): New method.
17996 (String): Use GetUChar.
17998 * buffer.C (asciiParagraph): Use GetUChar.
18000 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18002 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18004 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18007 * buffer.C: rename to getLogName(), handle
18008 build log / latex log nicely
18010 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18013 * MenuBackend.h: remove support for reference menuitem type.
18015 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18017 * BufferView_pimpl.C: housekeeping
18018 * BufferView_pimpl.h:
18023 * minibuffer.h: move Timeout GUI-I
18025 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18027 * lyxrc.C (read): Update converters data-structures.
18029 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18031 * LaTeX.h (operator!=): add operator != for Aux_Info
18033 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18035 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18037 * LaTeXLog.C: deleted, useful code moved to Buffer
18040 * buffer.C: new function getLatexLogName()
18046 * lyxfunc.C: use frontends for LaTeX and VC logs
18048 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18050 * LaTeX.h: yet another std:: that Allan forgot.
18052 * Variables.C (set): renamed from isset(), because this clashes
18053 with some HP-UX macros (grr).
18055 2001-02-06 Allan Rae <rae@lyx.org>
18057 * LaTeX.h: Another bug fix. Missing std:: this time.
18059 2001-02-04 Allan Rae <rae@lyx.org>
18061 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18062 floats problem. I've left it commented out because it's not quite
18063 correct. It should also test that the current object is a table or
18064 figure inset. But I haven't gotten around to figuring out how to do
18065 that. I *think* it'll be something like: "table" == inset.type()
18067 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18070 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18072 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18073 all the citation/databases/styles in the auxilary file.
18074 (run): Rerun latex if there was a babel language error.
18076 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18078 * text.C (Backspace): Preserve the font when changing newline char
18080 (BreakParagraph): If the cursor is before a space, delete the space.
18082 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18084 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18086 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18087 new argument (code).
18088 (ChangeCitationsIfUnique): New method.
18090 * paragraph.C (GetPositionOfInset): Handle bibkey.
18092 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18094 * BufferView_pimpl.h: change type of Position::par_pos to
18095 LyXParagraph::size_type.
18097 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18099 * BufferView_pimpl.C (savePosition, restorePosition): Write
18100 messages to minibuffer.
18102 2001-01-28 José Matos <jamatos@fep.up.pt>
18104 * buffer.C (makeDocBookFile): adds support for document language.
18105 A silly restriction on the name of LatexCommand types where removed.
18106 Added support for CDATA sections, allows to chars unescaped, used
18107 among others in code, to avoid escape < and >.
18109 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18111 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18112 saved positions instrad of a stack. Furthermore, a position is
18113 stored using paragraph id/paragraph position.
18115 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18116 Remove LFUN_REF_BACK.
18118 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18120 * converter.C (dvipdfm_options): New method.
18122 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18124 * vspace.C (isValidLength): Fix for empty input string.
18126 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18128 * LyXAction.C (init): change description of LFUN_FIGURE to
18131 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18133 * LaTeX.C: add using directive
18135 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18137 * MenuBackend.C (expand): Fix the sorting of the formats.
18139 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18141 * lyx_main.C: tiny error message fix
18143 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18145 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18146 calling fl_initialize(). This fixes the problem with ',' as
18147 decimal separator in text files.
18149 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18151 * trans.C (process): Fix the keymap bug.
18153 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18155 * LaTeX.C (scanAuxFiles): New method. Provides support for
18156 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18157 (scanLogFile) Scan for "run BibTeX" messages.
18159 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18160 OT1 font encoding. Also, load the aecompl package if the ae
18163 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18165 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18167 * texrow.C (increasePos): turn two error messages into debug
18170 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18172 * LaTeX.C (scanAux): Handle the \@input macro.
18173 (runBibTeX): Use scanAux().
18175 * language.C (latex_options_): New field.
18177 * LaTeXFeatures.C (getMacros): Add language macros.
18179 * buffer.C (makeLaTeXFile): Small fix.
18181 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18183 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18185 * text2.C: add a using directive.
18187 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18192 * lyxfunc.C: kill LyXBell.
18194 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18196 * text.C (IsBoundary): Remove the error message
18198 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18200 * lyxrc.C (setDefaults): Correct initialization value for
18203 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18205 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18208 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18209 and GotoNextNote().
18211 * src/LyXAction.C: Added reference-next.
18213 * text.C (InsertChar): Use contains instead of strchr.
18215 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18217 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18219 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18220 alignment commands (when needed).
18222 * text.C (InsertChar): Add ':' to number separator chars.