1 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * text.C (leftMargin): check for inInset == 0
5 2005-08-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7 * text.C (leftMargin): test for insetbase's new neverIndent()
8 bool instead of listing each and every inset that does not
11 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * buffer_funcs.C (setCounter): put the code to compute enum label
14 here (where it belongs).
16 * counters.C (enumLabel): move code to buffer_funcs.C.
18 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
20 * outputparams.[Ch]: store local_font instead of local_language
21 * paragraph.C (simpleTeXOnePar): adapt to the change above
23 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
26 * counters.[Ch]: clean up special code for Hebrew.
28 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
33 2005-09-08 Angus Leeming <leeming@lyx.org>
36 * lyxrc.C: correct grammar describing invocation of the
39 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * text.C (read): remove unused variable.
42 (readParToken): remove static Change variable (never good in
43 recursive settings...); add it as a parameter instead.
45 * paragraph_pimpl.C (acceptChange): make debug info conditional.
47 * metricsinfo.C (PainterInfo): add new member erased_.
49 * rowpainter.C (RowPainter): add erased_ member, initialized from
51 (paintInset): pass erased_ to Inset::draw.
53 * lyxfunc.C (lookupChange): new function. Tells whether change
54 tracking is disabled at a given postion.
55 (getStatus): disable some actions when in deleted text with change
58 2005-08-03 John Levon <levon@movementarian.org>
60 * tabular.C (appendColumn, setMultiColumn): adapt to change to
63 * paragraph_pimpl.C (markErased): add bool argument and handle it.
64 Also make sure to mark insets recursively.
65 (rejectChange, erase): be recursive
67 * paragraph.C (markErased): add bool argument.
68 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * lyxfind.C (findNextChange): tiny cleanup.
72 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
73 change tracking with the cursor in an inset; make sure the first
74 change is not skipped.
76 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
78 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
79 tabularStackDirty to work around bug 1919 (tabular needs
80 to know whether its own cell paste buffer or the one of
82 * CutAndPaste.C: mark tabular_stack_ clean after copy.
84 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
86 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
88 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
90 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
91 use old deleteion algorithm when changetracking is on.
93 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
95 * messages.C (get): add debug output.
97 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
99 * text.C (cursorX): fix bug 1965: cursor movement at
100 line end broken in RtL.
101 (drawSelection): fix bug 1970: drawing of single-line
102 selection broken for RtL.
104 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
108 * dociterator.h (clear, push_back, pop_back): change from
111 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
112 and changed to just return the value of the item depth; take a
113 ParIterator as argument; take the itemdepth at outer nesting level
114 in account if necessary; cleanup and comment the code.
115 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
116 and changed to just return true if reset is needed; take a
117 ParIterator as argument; cleanup and comment the code.
118 (setCounter): adapt to above changes.
120 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
122 * text3.C (dispatch): make debug message optional
124 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
129 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
131 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
133 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
135 * text.C (insertChar):
136 * text2.C (deleteEmptyParagraphMechanism): take care whether
137 a blank has been deleted (in change tracking mode) (bug 1254).
139 2005-07-20 John Levon <levon@movementarian.org>
141 * text2.C (insertStringAsLines): remove old dubious code,
144 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * MenuBackend.C (expandToc): use Floating::listName() as title of
149 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
151 * toc.[Ch]: Do not use translatable strings (bug 1870).
153 2005-07-20 John Levon <levon@movementarian.org>
155 * tabular.C: fix 1748 - setting multicolumn adds
156 left line to the first cell
158 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
161 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
164 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
166 * messages.C: supress some lyxerr messages
168 2005-07-18 Juergen Vigna <jug@lyx.org>
170 * text.C (drawSelection): honor boundary when asking for cursorX.
172 2005-07-17 José Matos <jamatos@fc.up.pt>
174 * tabular.C (recalculateMulticolumns): fix handling of one column
177 2005-07-17 Juergen Vigna <jug@lyx.org>
179 * text.C (Delete, backspace): fixed so that paragraph with the
180 same layout can be merged by Delete/Backspace.
182 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
184 * text.C (readParToken): fix spelling.
186 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
188 * text2.C: fix counter update for DEPM problem reported by
191 2005-07-17 Juergen Vigna <jug@lyx.org>
193 * BufferView_pimpl.C (setBuffer): save/restore the
194 cursor/selection when switching buffers
197 * buffer.C (saveCursor): add saveDocumentIterators to save the
198 cursor when switching buffer.
200 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
203 * buffer.C: clarify message
205 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
207 * dociterator.C (DocIterator): fix initialization order
209 2005-07-17 Juergen Vigna <jug@lyx.org>
211 * text2.C (cursorHome):
212 * text.C (drawSelection, cursorX):
213 * dociterator.C (textRow): add boundary to getRow() call
215 * paragraph.C (getRow): implementation of below
217 * paragraph.h: add parameter boundary for getRow() function
219 2005-07-17 José Matos <jamatos@fc.up.pt>
223 * tex-strings.[Ch]: new file format, remove support for a4.sty,
224 a4wide.sty and a4widemargins.
226 2005-07-17 Juergen Vigna <jug@lyx.org>
228 * text2.C (cursorLeft): fix one of error
230 2005-07-17 Juergen Vigna <jug@lyx.org>
232 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
234 more fixes for boundary handling
236 * text3.C (dispatch): don't reset cursor if boundary has changed
239 2005-07-16 Juergen Vigna <jug@lyx.org>
241 * text2.C (getColumnNearX): hopefully got it right now,
242 check if we are on column 0 for special case.
244 2005-07-16 Juergen Vigna <jug@lyx.org>
246 * text2.C (getColumnNearX): handle special case Newline Inset
248 * text.C (singleWidth): Just remove bogus check
250 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
252 * funcrequest.C (split): avoid reading uninitialized char c
254 2005-07-16 José Matos <jamatos@fc.up.pt>
260 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
261 single papersize variable.
263 2005-07-16 Juergen Vigna <jug@lyx.org>
265 * text3.C (dispatch): honor boundary when checking if a cursor
266 movement has been done
268 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
269 (setCursor, setCursorIntern): fix cursor movement with boundary
271 2005-07-16 Juergen Vigna <jug@lyx.org>
273 * text.C (currentState): output the actual Boundary
275 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * factory.C (createInset): fix bad logic for tabular creation
279 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
281 * lyx_main.C (init): change some reLyX reference to tex2lyx
283 2005-07-16 Juergen Vigna <jug@lyx.org>
285 * dociterator.C (DocIterator): initialize boundary
287 2005-07-16 Juergen Vigna <jug@lyx.org>
289 * text2.C (getColumnNearX): Consider rows without trailing blank.
291 2005-07-16 André Pönitz <poenitz@gmx.net>
293 * lyxfont.h: Change order of declarations to give the compiler
294 a better chance to inline things
296 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
297 questions on unsaved docs for better scritability
299 2005-07-16 André Pönitz <poenitz@gmx.net>
301 * paragraph.h (getChar): remove asserts as the same kind of security
302 can be achieved by using a suitable standard library implementation
303 and the function was in the critical path (25.9% in profiler)
305 2005-07-16 Juergen Vigna <jug@lyx.org>
307 * cursor.C (bruteFind2):
308 * bufferview_funcs.C (coordOffset):
309 * text.C (cursorX,cursorY): Handle cursor position after last char
310 in row before a inset which uses a whole row.
312 2005-07-15 José Matos <jamatos@lyx.org>
314 * output_plaintext.[Ch] (writeFileAscii): control reference title
316 (asciiParagraph): noparbreak was already deal and was incorrectly
319 2005-07-15 Juergen Vigna <jug@lyx.org>
321 * lyxfunc.C (dispatch): save and restore the cursor after a
324 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
326 * text.C (backspace): bug 806 for empty keepempty paragraphs we
327 change the layout to default before letting DEPM do its thing.
329 * paragraph_funcs.C (breakParagraph): dont reset the layout on
332 * text.C (setCursorFromCoordinates): add a debug statement
334 * text2.C (getColumnNearX): bug 1825 make sure that we don't
335 return a pos that is not on the row
337 * output_latex.C (TeXDeeper): get rid of potential dereferencing
338 of past the end iterator
340 2005-07-14 André Pönitz <poenitz@gmx.net>
342 * undo.C (recordUndoFullBuffer): implement undo for
345 2005-07-14 André Pönitz <poenitz@gmx.net>
347 * cursor.C (setSelection): open insets when selection is set there
348 to avoid crashs with cold coord cache
350 2005-07-14 André Pönitz <poenitz@gmx.net>
352 * trans_mgr.C (insert): move cursor to the right after inserting
355 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
357 * BufferView_pimpl.C (update): dampen some of the debug blabbering
358 * factory.C (readInset): ditto
359 * text.C, text2.C: ditto
361 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 * buffer.C: format incremented to 242. There is no file format per
364 se, but the "frenchb" language has been removed from lib/language
365 and has to be translated to "french" by lyx2lyx.
367 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
369 * cursor_slice.h, dociterator.h: add some documentation
370 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
372 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
374 * text.C (leftMargin): do not add identation to display() style
375 insets, because they are always centered (bug 1293).
377 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
379 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
380 formatted_time methods in support/lyxtime.
382 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * toc.[Ch]: new method getGuiName, which is used by the frontends
385 to set the toc combo (fixes bug 1870). Make TOC string translatable.
387 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
389 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
390 StableDocIterator const &)
391 * undo.C (recordUndo): use the above instead of cell.size() comparison
392 (fixes bug 1808; instructed by Andr�.
394 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
397 * dociterator.h: Fix the assert when copying rows/cols in math
399 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
401 * BufferView_pimpl.C:
403 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
405 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
406 (findInset): new functions, refactored from goto Inset that return
407 the position of a certain inset without setting the buffer's cursor
409 (gotoInset): rewrite to call findInset and then set the cursor
412 2005-06-16 Angus Leeming <leeming@lyx.org>
414 * lyxrc.C (output, read): wrap all input and output of paths with
415 calls to os::internal_path and os::external_path, respectively.
416 (output): wrap bind_file inside quotes.
418 * format.C (view): enable the viewer to use the '$$s' placeholder.
420 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
422 * LColor.[Ch] (getFromLaTeXName): new
424 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
426 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
428 2005-06-14 Angus Leeming <leeming@lyx.org>
430 * lyx_main.C (init): ensure that the LyX binary dir is the first
431 element in the PATH on non-POSIX builds.
433 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
435 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
437 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * rowpainter.C (paintInset, paintHebrewComposeChar)
440 (paintArabicComposeChar, paintChars): add a LyXFont argument.
441 (paintChars): use getFontSpan to reduce calls to getFont to a
442 minimum; use Paragraph::lookupChange instead of isXXXText.
443 (paintForeignMark): rename LyXFont argument.
444 (paintFromPos): pass a LyXFont object to the various paintXXX
447 * FontIterator.C (FontIterator, operator++): use
448 Paragraph::getFontSpan
450 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
451 version that returns the font span as a pair.
453 2005-06-09 Angus Leeming <leeming@lyx.org>
455 * converter.C (convert): Don't forget "outfile = real_outfile" as
456 the final step in a conversion where the input and output file names
457 are the same. Otherwise, future conversion steps won't work...
459 2005-06-09 Angus Leeming <leeming@lyx.org>
461 * lyxsocket.C: remove stub code as it isn't needed by
462 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
464 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
467 effectively disabled -x
469 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
471 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
472 when it actually makes sense.
474 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
476 * BufferView_pimpl.C: revert to showCursor in connection with
477 Lars's front-end stack
479 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
481 * text.C (redoParagraph): move cursor right after a bibitem
484 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
486 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * buffer_funcs.C (bufferErrors): fix computation of the end of an
491 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
493 * BufferView.[Ch] (update):
494 * BufferView_pimpl.[Ch] (update, metrics):
495 * dimension.h (operator==):
496 * lyxfunc.C (dispatch):
497 * metricsinfo.h (ViewMetricsInfo):
498 * rowpainter.C (paintText):
500 * text.C (redoParagraph):
501 * text3.C (dispatch): Make LyX only repaint current paragraph in
502 case of character insert --> speedup. Also fix cursor draw
505 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
508 avoid a crash (bug 1891)
510 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
514 * text2.C (getStringToIndex): constify cur argument.
516 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
517 argument has been given
518 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
519 try to invoke LFUN_INSET_APPLY).
521 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
522 if no inset was created by doInsertInset
523 (doInsertInset): return true if an inset has been inserted.
525 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * vspace.C (asGUIName): new method. A version of the space
528 suitable for showing on screen.
530 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
533 * lyxrc.C: rename "ASCII" to "Plain Text"
535 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
537 * buffer_funcs.C (expandLabel): take a Buffer as argument;
538 translate the labelstring.
539 (setCounter): translate labelstring as needed.
541 * output_docbook.C (makeCommand): fix expandLabel invokation
543 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
545 * BufferView.C: fix dialog title
547 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
549 * lyx_main.C (priv_exec): fix logic error with help from Angus
550 * lyx_main.C (parse_execute): set is_gui = false and remove now
551 obsolete comment about a segfault
553 2005-05-18 Angus Leeming <leeming@lyx.org>
555 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
557 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
559 * tabular.[hC]: added setCellInset to fix tabular paste.
561 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
563 * buffer.C (save): check if destination is writable before trying
566 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
568 * BufferView_pimpl.C (update): fix processEvents -caused update
571 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
573 * buffer_funcs.C (setCounter): fix test for numbering of
576 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
577 depth correctly; use optional argument when it exists
579 * lyxtextclass.C: remove unused MaxCounterTags enum
580 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
581 (max_toclevel, min_toclevel): new methods.
583 * MenuBackend.C (expandToc2): fix case where depth is smaller than
584 the smallest depth in toc.
586 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
587 layouts that should not appear in a table of contents.
589 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
591 * cursor.h (undispatched, noUpdate): add comments from Andr�
592 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
596 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
598 2005-05-07 André Pönitz <poenitz@gmx.net>
600 * cursor.[Ch] (leaveInset): new function
602 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
604 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
606 2005-05-04 Angus Leeming <leeming@lyx.org>
608 * lyxfunc.C (getStatus): disable the spell checker dialog if
609 none of USE_[AIP]SPELL are defined.
611 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
613 * tabular.C (setWidthOfCell): remove obsolete comment
615 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
617 * paragraph.C (bibitem):
618 * buffer_funcs.C (setCounter):
619 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
621 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
623 * text3.C (getStatus): immediately return after setOnOff
625 * rowpainter.C: fix drawing of appendix start
627 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
629 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
630 SwitchBetweenClasses and remove the unused return value.
631 Handle character styles, too
633 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
635 * factory.C (createInset): handle undefined character styles
637 2005-05-02 Angus Leeming <leeming@lyx.org>
639 * buffer.C: protect the #include of utime.h with a preprocessor
642 2005-05-02 Angus Leeming <leeming@lyx.org>
644 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
645 function so that auto-saving works, albeit in a blocking manner.
647 * Makefile.am: make compilation of the client sub directory, of
648 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
649 on conditionals set at configure time.
651 * SpellBase.[Ch]: no longer an abstract base class. Instead,
652 it can be compiled in its own right but has no-op functionality.
654 * aspell.C, pspell.C: remove preprocessor guards. The files should
655 be compiled only if the necessary functionality exists.
657 * lyxserver.C, lyxsocket.C: disable on Windows.
659 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
661 * text.C (leftMargin): Fix the parindent use bug (1764)
664 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
666 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
669 2005-04-25 Angus Leeming <leeming@lyx.org>
677 include <config.h> in .C files, not .h ones.
679 protect headers inside preprocessor guards.
681 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
683 * FuncStatus.h (StatusCodes): document
685 2005-04-21 André Pönitz <poenitz@gmx.net>
687 * FuncStatus.h (enabled, onoff): document
689 2005-04-19 Angus Leeming <leeming@lyx.org>
691 * BufferView_pimpl.C (cursorToggle): no longer test whether
692 any child processes have been reaped before calling
693 handleCompletedProcesses().
695 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
697 * text3.C (dispatch): fix, finally fix, the language problem in
698 new lyxtexts, without disabling on-the-fly font changes (Helge's
701 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
703 * text3.C (dispatch): set cursor on double/triple click events
706 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
709 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
711 * rowpainter.C (paintFirst): simplify the code a little bit. In
712 particular, remove the test for secnumdepth.
713 * text.C (setHeightOfRow): only allocate space for chapter number
714 when updateCounters provided an actual label, instead of looking
715 at secnumdepth directly.
717 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
719 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
720 paragraphs when secnumdepth is large enough or, for environments,
721 when they are not the first in a sequence.
723 2005-04-17 Angus Leeming <leeming@lyx.org>
725 * buffer.C (makeLaTeXFile): replace code to manipulate a path
726 containing space and '~' characters with a call to latex_path().
728 2005-04-17 Angus Leeming <leeming@lyx.org>
730 * converter.C (convert): protect all args of convertDefault.sh
733 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
735 * text3.C (dispatch): change the layout to "Caption" after inserting
738 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
740 * text3.C (dispatch): fix language problem in newly created
741 textinsets (and main text) in non-english docs
743 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
745 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
746 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
747 * text3.C (getStatus): disable LFUN_INSET_MODIFY
749 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
754 * rowpainter.C (getFont): Fix metrics bug introduced by inset
757 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
759 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
760 output of \item arguments without trailing text.
762 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * FontIterator.C (operator*): avoid a copy of the font.
766 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
768 * rowpainter.C (getFont): fix language bug from previous fix
770 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
772 * rowpainter.C (RowPainter, getFont): fix font inside inset
775 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
777 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
778 preventing inserted font, deco, delim insets jumping to start of
781 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * lyxfunc.C (dispatch): translate message before sending it to the
786 2005-03-29 Angus Leeming <leeming@lyx.org>
788 * lyx_main.C (priv_exec): call os::internal_path on each file passed
789 to LyX on the command line.
791 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
793 * vc-backend.C: use QuoteName to protect file names wherever
796 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
799 * BranchList.h: fix bugs 1844,1845: document settings don't
802 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * lyxrc.C (setDefaults, read, output, getDescription): add support
805 for tex_allows_spaces.
807 * exporter.C (Export): allows files in directory containing spaces
808 if tex_allows_spaces is true.
810 * buffer.C (makeLaTeXFile): if the document path contains spaces,
811 output it in double quotes.
813 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
815 * rowpainter.C: use default text height for drawing change tracker
818 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
820 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
822 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
825 directory is missing.
827 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
829 * text2.C: fixed the fix, extended to other case.
831 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
833 * text2.C: fix for cursor up/down stuck in math [bug 1792]
835 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
837 * text2.C (cursorUp): get rid of a crash
838 * text.C (x2pos): add an assert
840 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
842 * lyxfunc.C (getStatus): fix warning when assertions are disabled
846 * dociterator.C: include <boost/current_function.hpp>, which is
847 needed when assertions are disabled.
849 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
851 * text2.C: fix for stuck cursor when traversing two
852 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
854 2005-02-25 Andreas Vox <avox@arcor.de>
856 * output_docbook.C (makeParagraph): suppress trailing newline
857 after a run of paragraphs
859 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
861 * paragraph.C: fix for confused change tracker when pasting
862 text that begins with a lineseparator. [bug 1827]
863 (setChange(0, Change::INSERTED);)
865 * paragraph_funcs.C: fix for lost changes on triple-paste
866 in change tracking mode [bug 1827] (par.setChange()).
868 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
870 * text2.C (updateCounters, setCounter, expandLabel): move to
873 * buffer_funcs.C (updateCounters): turn into a free standing
874 function and add a buffer parameter. Remove dead code for tracking
876 (setCounter): change into a free-standing function which gets a
877 dociterator as argument. Use this iterator to fix captions in a
878 simple way. When no float is found above the caption, use the
879 labelstring of the caption layout as default.
881 * text.C (breakParagraph, backspace):
882 * text2.C (init, setLayout, changeDepth):
883 * text3.C (dispatch):
884 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
887 * dociterator.C (forwardPar): make it much faster by calling
888 forwardPos() only when really necessary.
890 * output_docbook.C (makeCommand): adapt to expandLabel move.
892 * cursor.C: remove unused variable
894 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
896 * paragraph_funcs.C: fix crash when pasting insets in change
897 tracking mode [bug 1277] (honour change type in moveItem).
899 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
901 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
903 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
905 * BufferView.C (setCursor): change to use a DocIterator.
906 (gotoLabel): use BufferView::setCursor (other part of bug 781).
907 (putSelectionAt): adapt to BufferView::setCursor change.
909 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
910 moved here from LyXText and rewritten to use proper cursor
911 methods. Fixes bug 1787, 616 and 835.
913 * BufferView_pimpl.C (restorePosition): set the cursor correctly
914 when inside an inset (part of bug 781).
915 (dispatch): adapt to change of BufferView::setCursor.
916 (getStatus, dispatch): handle LFUN_GOTOERROR,
917 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
919 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
920 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
921 * text3.C (gotoNextInset, gotoInset): removed.
923 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
925 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
927 2005-02-15 Angus Leeming <leeming@lyx.org>
929 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
930 can be used meaningfully in a comparison.
932 2005-02-13 André Pönitz <poenitz@gmx.net>
934 * bufferview_funcs.C (coordOffset): improve cursor drawing
936 2005-02-13 André Pönitz <poenitz@gmx.net>
938 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
939 * Cursor.C (dispatch): use fixIfBroken
940 * lyxfunc.C (getStatus): use fixIfBroken
942 2005-02-15 Angus Leeming <leeming@lyx.org>
944 * lyx_main.C (error_handler):
946 * lyxrc.C (setDefaults):
948 #include "environment.h".
950 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
952 2005-02-15 Angus Leeming <leeming@lyx.org>
954 * lyxserver.C (startPipe): squash MSVC warning "local variable
955 'fd' used without having been initialized".
957 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
959 * BufferView_pimpl.C: revert accidental commit.
961 2005-02-14 André Pönitz <poenitz@gmx.net>
963 * dociterator.[Ch]: new member forwardPosNoDescent(),
964 which doesn't enter nested insets.
965 * text2.C (setFont): use forwardPosNoDescent() instead
966 of ForwardPos() (fixes crash on font change).
968 2005-02-13 Angus Leeming <leeming@lyx.org>
970 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
971 only if lyxrc.path_prefix is not empty.
973 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
975 * bufferparams.C (readGraphicsDriver): prevent crash
977 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
979 * text2.C (setCounter): check for inInset() == 0
981 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
983 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
984 but use update() to get correct screen display; use convert
985 instead of istringstream.
986 (getStatus): handle LFUN_GOTO_PARAGRAPH
988 * lyxfunc.C (dispatch, getStatus): do not handle
989 LFUN_GOTO_PARAGRAPH here.
991 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
993 * text3.C (dispatch): size() -> depth()
995 * text2.C: remove some debug output
997 * paragraph.C: ws changes only
999 * lyxfunc.C (getStatus): size() -> depth()
1001 * dociterator.h (clear, push_back, pop_back, internalData,
1002 operator[], resize, empty): new functions
1003 Make StableDocIterator and operator== be friends. Don't inherit
1004 from std::vector use a privat class variable slices_ instead.
1007 * dociterator.C: update because of not inheriting from std::vector
1008 anymore. Call explictly to slices_ instead. Use depth() instead of
1009 size() and top() instead of back()
1011 * cursor.C: chagne size() -> depth and back() -> top(). Also
1012 remove some direct operator[](i) calls in favour of foo[i]
1013 (getFont): remove some dead code
1015 * bufferview_funcs.C (coordOffset): size() -> depth()
1017 * buffer.C: ws changes only
1019 * CutAndPaste.C (eraseSelection): back() -> top()
1021 * BufferView_pimpl.C (selectionRequested): back() -> top()
1023 * BufferView.C (setCursor): size() -> depth()
1025 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1027 * text3.C (cursorPrevious): return true if depm changed something
1029 (dispatch): rename sl to oldTopSlice, remove moving use the new
1030 NoUpdate func attrib instead. Make sure that needsUpdate is set
1031 for function that have NoUpdate, but where depm might have changed
1034 * text2.C (cursorLeft): make us return true if depm changed
1036 (cursorRight): ditto
1037 (cursorUpParagraph): ditto
1038 (curosrDownParagraph): ditto
1039 (cursorUp, cursorDown): ditto, make sure to read comments in code
1040 (deleteEmptyParagraphMechanism): remove an assert, also return
1041 true if just a single char was deleted.
1043 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1044 cursor that we modify, to avoid modifying an active cursor before
1045 we call setCursor. This allows depm to run. Also return true if
1046 depm deleted something.
1048 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1049 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1050 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1051 something was changed in the buffer because of them (ie. depm run)
1053 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1054 debug messages. Make update by default be false. Make sure that
1055 the result of update is retained throught several calls down to
1058 * LyXAction.h: add a new func_attrib: NoUpdate
1060 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1061 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1062 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1064 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1066 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1068 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1069 bv_->owner(), bv_->buffer() by direct references to the private
1071 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1072 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1073 (fitCursor): center() is in BufferView::Pimpl.
1074 (getStatus, trackChanges, dispatch): no need for a temporary buf
1076 (fitCursor, workAreaDispatch): use workarea().workheight()
1078 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1080 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1082 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1084 * buffer.C: format up to 241.
1085 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1086 break if pasting into ERT
1087 * lyxfunc.C (getStatus): suppress mathpanel and
1088 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1090 2005-02-01 Angus Leeming <leeming@lyx.org>
1092 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1094 2005-02-01 Angus Leeming <leeming@lyx.org>
1096 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1097 calling fs::is_directory().
1099 2005-01-31 Angus Leeming <leeming@lyx.org>
1101 * lyx_main.C (priv_exec): specify explicitly the relative location
1102 of the top level build directory when run in-place.
1104 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1106 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1107 LyXText containing the cursor, not the top-level one.
1109 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1111 (insertStringAsLines): rename par to pit; use temporary variable
1112 par to hold a Paragraph; do not store par.layout() in a variable,
1113 since the pointer may die when breaking paragraphs; pass pars to
1114 breakParagraph() instead of Buffer::paragraphs().
1116 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1118 * lyxlex_pimpl.h: #include <fstream>.
1120 * BufferView.[Ch] (getLyXText): add a const version.
1122 * BufferView_pimpl.C: add debug aids.
1127 * paragraph_funcs.h: add commentary explaining what the class does.
1130 * coordcache.[Ch]: add lots of commentary.
1131 (startUpdating, doneUpdating): debug aids.
1132 (arrays, insets, parPos, getParPos): accessors to private data.
1134 * cursor_slice.[Ch] (text): add a const version.
1135 * dociterator.[Ch] (text, innerText): add const versions.
1137 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1140 * paragraph.C (getRow, pos2ros): add asserts.
1142 * paragraph.h: add commentary. Lots of.
1144 * paragraph.[Ch] (metrucs, draw): removed.
1147 * rowpainter.[Ch]: const-correct changes.
1149 * text.C: various obvious clean-ups. Removal of ancient cruft.
1152 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1154 * vc-backend.C (find_file): rewrite to use boost.filesystem
1157 * main.C (main): set default name check for boost.filesystem to
1160 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1163 (actOnUpdatedPrefs): ditto
1165 * lyx_main.C (init): rewrite to use boost.filesystem
1166 (queryUserLyXDir): ditto
1168 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1169 (getContentsOfAsciiFile): ditto
1171 * lastfiles.C (readFile): rewrite to use boost.filesystem
1173 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1175 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1176 (loadLyXFile): ditto
1178 * buffer.C (Buffer): adjust for destroydir
1179 (getLogName): rewrite to use boost.filesystem
1180 (setFileName): ditto
1181 (save): use fs::copy_file (from fs_extras)
1183 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1185 * LaTeX.C (run): rewrite to use boost.filesystem
1186 (scanAuxFiles): ditto
1187 (handleFoundFile): ditto
1189 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1191 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1193 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1195 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1197 * lyxlayout.[Ch]: change some vars from float to double
1199 * buffer.C (readFile): make a local var const
1201 * Several files: use convert<> instead of atoi,strToXXX and friends
1203 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1205 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1206 holds the contents of packages.lst. New functions getAvailable
1207 and isAvailable to parse and check that list, resp.
1211 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1213 * bufferparams.[Ch]: new param output_changes.
1215 * Buffer.C: increase file format to 240.
1216 Use output_changes and isVailable.
1220 * paragraph_pimpl.C: Use output_changes and isVailable.
1222 2005-01-23 Angus Leeming <leeming@lyx.org>
1224 * output_latex.C: #include "insetbibitem.h", rather than
1225 forward declare function bibitemWidest.
1227 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1229 * lyx_main.C (init): make it compile on the Mac.
1231 2005-01-20 Angus Leeming <leeming@lyx.org>
1233 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1234 (setLyXMisc): (char string literal) != (char string literal) is
1235 performing a comparison on the addresses. Convert one operand
1236 explicitly to string to guarantee expected behaviour.
1239 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1242 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1244 * output_plaintext.C: remove unneeded #include gzstream.h.
1246 2005-01-20 Angus Leeming <leeming@lyx.org>
1248 * SpellBase.h: rename some of the elements of the Result enum.
1255 * pspell.C (check): ditto
1257 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1259 * buffer.C: add #include <fstream>.
1261 * lyx_main.C (init): Compile fix.
1263 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1265 2005-01-20 Angus Leeming <leeming@lyx.org>
1267 * mover.h: change commentary to reflect the changed meaning of
1268 the $$s placeholder.
1270 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1272 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1274 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1276 2005-01-20 Angus Leeming <leeming@lyx.org>
1278 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1279 printing diagnostic data by not dereferecing an iterator past the
1282 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1284 * buffer.C (readHeader): use "&&" rather than "and".
1286 * lyxserver.h (inPipeName, outPipeName): make these const.
1288 2005-01-19 Angus Leeming <leeming@lyx.org>
1290 * lyx_main.C (error_handler, init): protect SIGHUP with
1291 #ifdef SIGHUP guards.
1293 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1295 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1297 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1299 * text.C (setHeightOfRow): add a margin at the top and bottom of
1300 the document (bug 1761)
1302 2005-01-17 Angus Leeming <leeming@lyx.org>
1304 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1305 with "python ". Workaround for a brain-dead Windows.
1307 2005-01-16 Angus Leeming <leeming@lyx.org>
1309 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1310 for MacOSX and Windows to use prependEnvPath.
1311 Strip out the hard-coded block to add elements to the PATH for
1312 MacOSX and replace it with a call to prependEnvPath using the
1313 contents of LyXRC::path_prefix.
1314 (queryUserLyXDir): strip out the code to run reconfigure, instead
1315 returning a boolean indicating the necessity to do so.
1316 (reconfigureUserLyXDir): contains the code to reconfigure the
1317 user support directory. Is now called after the various LyXRC data
1318 files have been read.
1320 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1322 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1324 * converter.[Ch] (convert): take a new parameter try_default. Use
1325 a default converter (imagemagick) if try_default is true.
1327 2005-01-13 Angus Leeming <leeming@lyx.org>
1329 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1330 os::cygwin_path_fix.
1331 (write): output LyXRC::cygwin_path_fix as necessary.
1333 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1336 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1338 2005-01-12 Angus Leeming <leeming@lyx.org>
1340 * lyx_main.C (init): set the PATH variable to include the
1341 directory containing the LyX binary when running on Mac or Windows.
1343 2005-01-12 Angus Leeming <leeming@lyx.org>
1345 * lyx_main.C (init): remove cruft that purports to set the locale
1346 dir. It doesn't and is not needed anyway.
1348 2005-01-10 Angus Leeming <leeming@lyx.org>
1350 * Makefile.am: remove the lyx_main.C special casing.
1352 * BufferView_pimpl.C:
1358 * messages.C: use support/package.h to provide the paths to the
1359 various directories used by LyX.
1361 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1363 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1364 layout if pasting into an empty paragraph)
1366 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1368 * tex-accent.C: add <string>
1370 2005-01-06 José Matos <jamatos@lyx.org>
1372 * ParagraphParameters.C (write): put every parameter in its own line.
1373 * paragraph.C (write): reduce number of consecutive empty lines exported.
1374 * buffer.C (LYX_FORMAT): increase file format to 239.
1376 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1378 * everywhere: change support/tostr.h -> support/convert.h
1380 * tabular.C: make all write_attributes templates, tostr -> convert
1382 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1383 (emptyTag): and -> &&, and fix type for ret from getChar
1384 (getFirstWord): fix type for ret from getChar
1385 (onlyText): and -> &&
1386 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1389 * toc.C (goTo, action):
1390 * text3.C (dispatch):
1391 * text.C (currentState):
1392 * tex-accent.C (DoAccent):
1395 * lyxfunc.C (menuNew):
1396 * lyxfinc.C (replace):
1397 * counters.C (laberItem):
1398 * bufferview_funcs.C (font2string):
1399 * bufferparams.C (writeFile):
1400 * buffer.C (readFile):
1402 * MenuBackend.C: tostr -> convert
1404 * LaTeX.C (runMessage): fix format
1405 (scanAuxFiles): tostr -> convert
1407 * BufferView_pimpl.C (savePosition): fix format
1408 (restorePosition): ditto
1411 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1413 * Spacing.[Ch]: New method getValueAsString().
1417 * ParagraphParameters.C:
1420 * text3.C: store/read spacing value as string.
1422 * rowpainter.C: change float value (spacing_val) to double.
1424 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1425 broken custom document spacing).
1427 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1430 namespace, also more use of temp references and const
1432 * cursor.[Ch] (getStatus): move to lyxfunc.C
1434 * bufferparams.C: reformat slightly
1436 * bufferview_funcs.C (font2string): constify arg
1442 * buffer_funcs.C: (many funcs): constify arg on function
1443 definitions, also make more local vars const, also add ASSERTS on
1446 * buffer.C (LYX_FORMAT): put const in correct place
1447 (many funcs): constify arg on function definitions, also make
1448 more local vars const
1450 * aspell_local.h: remove "struct" from typdef setup
1452 * aspell.C (check): make word_ok const
1453 (nextMiss): simplify slightly
1456 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1458 * lyxrc.[Ch]: store all float values as strings.
1459 use int (not float) for lyxrc.dpi.
1461 2005-01-04 Angus Leeming <leeming@lyx.org>
1463 * lyx_cb.C (Reconfigure):
1464 * lyx_main.C (queryUserLyXDir):
1465 to run the <system_lyxdir>/configure correctly on Windows, prefix
1466 the path to the script with "sh " when generating the string that
1467 is passed to system().
1469 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1471 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1473 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1475 * lyxlength.C (asLatexString): get rid of setprecision
1477 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1479 * text2.C (setLayout): remove unused variable endpit.
1480 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1482 * paragraph.C (onlyText): remove unused variable style.
1484 * cursor.C (bruteFind): remove unused variables beg and end.
1486 * Makefile.am (dist_noinset_DATA): not needed anymore
1488 * cheaders/*: remove.
1490 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1492 * text3.C: fix LFUN_MATH_MODE.
1494 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * buffer_funcs.C (countWords): new function. Counts words between
1499 * BufferView_pimpl.C (getStatus, dispatch): handle
1502 * LyXAction.C (init):
1503 * lfuns.h: add LFUN_WORDS_COUNT.
1505 2004-12-19 Angus Leeming <leeming@lyx.org>
1507 * buffer.C (save): s/slashify_path/internal_path/.
1509 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1511 * lyxfind.C (findChange): do not search for end of pars, because
1512 the change tracker cannot handle this (fixes bug 1719).
1514 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1516 * paragraph.[Ch] (autoBreakRows): remove
1518 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1520 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1521 avoid using the paragraph one
1523 * text2.C (LyXText, insertStringAsLines): adjust
1525 2004-12-16 Angus Leeming <leeming@lyx.org>
1529 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1531 2004-12-14 Angus Leeming <leeming@lyx.org>
1533 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1535 * bufferlist.C (emergencyWrite):
1536 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1539 2004-12-14 Angus Leeming <leeming@lyx.org>
1541 * main.C: (main): no longer pass pointers to os::init.
1543 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1545 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1546 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1548 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1551 * text3.C: remove selection_possible global flag
1553 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1555 * text2.C (getSelectionSpan): remove
1556 (changeDepth, changeDepthAllowed): adjust
1558 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1560 * Makefile.am (BOOST_LIBS): use boost variables
1562 2004-12-03 José Matos <jamatos@lyx.org>
1564 * buffer.C: format up to 238.
1566 2004-12-03 José Matos <jamatos@lyx.org>
1568 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1570 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1572 * cursor.C (goUpDown): remove call to idxUpDown2
1574 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1576 * tabular.[Ch]: use size_t-like types for cell, row and column
1579 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 * lyxfunc.C (getStatus): do not lose previous information when
1582 calling BufferView::getStatus; do not set a default "Command
1583 disabled" message at the beginning, but just before returning.
1585 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1587 * cursor.h (getStatus): add better comment from src/cursor.C
1589 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1591 * text3.C (getStatus): return false when the lfun is not handled
1593 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1595 * broken_headers.h: remove
1597 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1599 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1601 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1602 offset_ref accessors
1604 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1605 top_y_, merge fitcursor with update
1606 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1608 (metrics): introduce
1609 (workAreaDispatch): adapt to new coord scheme
1610 (redoCurrentBuffer): remove
1612 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1614 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1617 * coordcache.[Ch]: add paragraph cache and helpers
1619 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1622 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1623 (targetX, setTargetX): introduce
1625 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1626 baseline -> ascent, as the rest of lyx
1628 * lyxtext.h: remove redoParagraphs, updateParPositions,
1629 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1630 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1631 have ascent/descent (ascent is ascent of first par)
1633 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1636 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1638 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1640 * pariterator.C: fix infinite loop introduced in par->pit renaming
1642 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1643 in insets and LyXText, draw two off-screen paragraphs using
1644 NullPainter, and adapt to new coord scheme
1648 * text3.C: adapt lfun handlers to the new coord scheme, which
1649 means: there's only guaranteed coord information for onscreen pars
1650 plus one above and one below. This implies that one can do search
1651 from y coordinates in the range [-1,workHeight]
1653 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * rename a lot of InsetOld to InsetBase
1657 2004-11-25 Angus Leeming <leeming@lyx.org>
1659 * BufferView_pimpl.C:
1661 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1663 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1665 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1666 call BufferView::getStatus if LCursor::getStatus did nothing
1667 (setStatusMessage, getStatusMessage): removed.
1669 * FuncStatus.C (message): new methods. Used to provide an error
1670 message indicating why a command is disabled.
1671 (clear, |=, FuncStatus): update for message.
1673 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1675 * lyxfunc.C (dispatch): always call sendDispatchMessage
1677 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1680 * BufferView_pimpl.C:
1685 * cursor_slice.[Ch]:
1688 * paragraph_funcs.C:
1694 * undo.C: par->pit renaming
1696 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1698 * tabular.C (cellstruct): use initialization, store a shared_ptr
1699 to insettext instead of the insettext directly, adjust to fit.
1700 (operator=): new function
1701 (swap): new function
1702 (rowstruct): use initialization
1703 (columnstruct): use initialization
1704 (ltType): use initialization
1707 * lyxlength.h (swap): new function
1709 * LColor.[Ch] (operator=): use the common semantics
1711 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1713 * lyxfind.C (findNextChange): update the bufferview after setting
1716 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1718 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1719 number of InsetOptArgs has already been inserted.
1721 * output_latex.C (latexOptArgInsets): new method. This outputs all
1722 the optarg insets, up to the limit defined in the layout file.
1723 (optArgInset): removed
1724 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1726 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1728 * paragraph.C (isLetter): remove special spellchecker-related
1729 code; return true also for digits
1730 (isWord, isKomma): remove
1732 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1733 * lyxfind.C (MatchString()): use isLetter instead of isWord
1735 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * pariterator.h (operatir=): comment out un-implemented member
1740 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1743 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1745 * lyxfont.h: include LColor.h to satisfy concept checks.
1747 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1749 * pariterator.h: add typdefs for value_type, difference_type,
1750 pointer and reference to satisfy concept checks. Also add default
1751 constructor for same reason.
1753 * pariterator.C (operator++): add post-increment operator to
1754 satisfy concept checks.
1756 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1759 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1761 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1762 checks. Also rename base_type to BaseType to follow naming
1765 * FloatList.h: include Floating.h to satisfy concept checks.
1767 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1769 * lyxfunc.C (getStatus): when the origin of the request is menu or
1770 toolbar, and the LyXView does not have focus, do as if there was
1771 no buffer (bug 1720)
1773 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1774 FuncRequest to individual entries of LFUN_SEQUENCE
1776 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1778 * output_latex.C (TeXOnePar): override runparams.moving_arg
1779 according to the needprotect value of the current paragraph (bug
1782 * paragraph.C (simpleTeXOnePar): no need to override
1783 runparams.moving_args here
1785 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1787 * vspace.C: fix off-by-one-error, related to fix #1682
1789 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1791 * lengthcommon.C: a more general fix for bug 1682
1793 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1795 * text.C (backspace): fix crash
1797 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1799 * format.[Ch] (getFormatFromFile): new method
1800 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1802 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1804 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1806 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1808 * lyxfunc.C (dispatch): remove the verbose argument
1809 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1812 * kbmap.C (defkey): set the origin of func to KEYBOARD
1814 * MenuBackend.C (MenuItem):
1815 * ToolbarBackend.C (add): set the origin of func to UI
1817 * funcrequest.[Ch]: add origin member, which indicates which part
1818 of LyX requests an action
1820 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1822 * converter.C (move): don't lie in the error message
1823 * converter.h (isReachable, move): document
1825 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * buffer.C: remove unused using lyx::support::atoi
1828 * paragraph_funcs.C: ditto
1830 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1832 * bufferlist.C (exists): use bind and equal_to instead of
1835 * lyxtextclasslist.C (NumberOfClass): ditto
1837 * cursor.C (insert): use for_each instead of explicit for loop
1839 * bufferlist.C (getFileNames): use std::transform and
1840 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1842 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1845 * buffer.C (changeLanguage): use for_each instead of explicit for
1847 (hasParWithID): implement using getParFromID
1849 * LaTeXFeatures.C: ws change only
1851 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1854 * BufferView_pimpl.C (trackChanges): use for_each instead of
1857 2004-11-04 André Pönitz <poenitz@gmx.net>
1860 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1862 * dociterator.C (asDocIterator): use hard assert again.
1864 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1866 * lyxlength.C (asLatexString): rewrite so that it does not use
1869 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1871 * text3.C (specialChar, dispatch): make sure cursor moves to the
1872 right after inserting an inset
1874 2004-11-02 José Matos <jamatos@lyx.org>
1876 * output_docbook.C (docbook):
1877 * paragraph.C (getID):
1878 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1879 garantee that the output is always legal.
1881 * tabular.C (docbook):
1882 * outputprams.[Ch]: remove mixed contents.
1884 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1886 * text2.C (setCounter): prevent endless loop
1888 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1890 * exporter.C (copyFile): use the mover instead of support::copy()
1891 * exporter.C (Export): pass format and latex name to copyFile()
1892 * exporter.h (addExternalFile): document
1893 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1895 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1897 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1899 2004-10-30 José Matos <jamatos@lyx.org>
1901 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1902 text and no inset or font change. This allows to use CDATA
1903 sections just for the whole paragraph.
1905 2004-10-30 José Matos <jamatos@lyx.org>
1907 * paragraph.C (getFirstWord): remove unused variable.
1909 2004-10-30 José Matos <jamatos@lyx.org>
1911 * paragraph.C (getFirstWord): the content should always be escaped
1913 (simpleDocBookOnePar):
1914 * output_docbook.C (makeEnvironment): replace reference to CDATA
1917 2004-10-30 José Matos <jamatos@lyx.org>
1919 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1921 2004-10-30 José Matos <jamatos@lyx.org>
1923 * output_docbook.C (makeParagraphs):
1924 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1925 standard paragraph has only a given type of content drop the wrapper.
1927 2004-10-29 José Matos <jamatos@lyx.org>
1929 * output_docbook.C (makeEnvironment):
1931 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1933 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1935 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1936 (cleanID): sanitize any id.
1938 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1940 * buffer.C, lyxlex_pimpl.C:
1941 * lyxlex_pimpl.C (setFile):
1942 s/getExtFromContents/getFormatFromContents/
1944 2004-10-28 José Matos <jamatos@lyx.org>
1946 * output_docbook.C (makeEnvironment): move id to broadest possible
1949 * sgml.C (openTag): apply substitution of <> for all attributes.
1951 2004-10-28 José Matos <jamatos@lyx.org>
1953 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1954 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1955 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1957 * sgml.[Ch]: new version for open and closeTag for paragraph and
1958 for strings. Now they handle the ids of paragraphs.
1960 2004-10-26 Angus Leeming <leeming@lyx.org>
1962 * Makefile.am: add mover.[Ch].
1964 * converter.C (convert, move): use the new Movers to move external
1965 files to the temp directory.
1967 * lyx_main.C (init): ensure that the global system_movers data
1970 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1973 * mover.[Ch]: new files, defining a Mover as a utility to move an
1974 external file between directories and, if necessary, manipulate this
1975 file using a helper script.
1977 2004-10-25 José Matos <jamatos@lyx.org>
1979 * output_docbook.C (makeCommand): merge two if's that tested the
1982 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1984 * sgml.C (escapeString): fix warning in a better way
1986 2004-10-25 José Matos <jamatos@lyx.org>
1988 * sgml.C (escapeString): import the require boosts header file for
1989 tie, and avoid a signed unsigned comparison.
1991 2004-10-25 José Matos <jamatos@lyx.org>
1993 * sgml.h: add #include <string>
1995 2004-10-25 José Matos <jamatos@lyx.org>
1997 * sgml.[Ch] (escapeString): new function to escape all the string.
1999 2004-10-24 José Matos <jamatos@lyx.org>
2001 * paragraph.[Ch] (getFirstWord): new function to get the first
2002 word. Useful for description.
2003 (simpleDocBookOnePar): remove depth argument, add another that
2004 says where to start the paragraph.
2006 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2007 use the new functions to fix cleanly the support for descriptions.
2009 2004-10-24 José Matos <jamatos@lyx.org>
2011 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2012 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2013 * output_linuxdoc.C (linuxdocParagraphs):
2014 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2015 add buffer as argument.
2017 2004-10-24 José Matos <jamatos@lyx.org>
2019 * output_docbook.C (makeEnvironment, searchEnvironment): place
2020 CDATA inside paragraphs and fix scope for listitems.
2022 2004-10-24 José Matos <jamatos@lyx.org>
2024 * output_docbook.C: remove using statement for stack.
2026 2004-10-23 José Matos <jamatos@lyx.org>
2028 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2029 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2030 docbook. The new scheme is recursive and makes use of iterators, the
2031 same as latex export works.
2032 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2033 directly with the paragraph contents. This code was moved up to
2034 output_docbook.C (docbookParagraphs).
2035 * sgml.C (openTag, closeTag): removed unneeded newlines.
2036 (closeEnvTags) removed.
2038 2004-10-23 André Pönitz <poenitz@gmx.net>
2040 * undo.C (textUndoOrRedo):
2041 * dociterator.C (asDocIterator): work around crash
2043 * cursor.C (getStatus): replace ASSERT by more verbose error message
2044 and manual correction of the problem. Should increase stability
2045 while providing more sensible information.
2047 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2049 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2051 * bufferlist.C (previous, next): new methods
2054 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2056 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2058 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2059 entities to preamble.
2061 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2063 * messages.C (Pimpl): strip off translation context information
2065 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2067 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2068 the cursor is correct (bug 1694)
2070 2004-10-13 José Matos <jamatos@lyx.org>
2072 * output_docbook.C (docbookParagraphs): fix closing tags in the
2073 end of the document.
2075 2004-10-09 José Matos <jamatos@lyx.org>
2077 * buffer.C: format up to 237.
2078 * bufferparams.C (write): use tostr to convert booleans to strings.
2080 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2082 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2084 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2086 * LaTeX.C: implement use of babel language in xindy.
2088 2004-10-05 José Matos <jamatos@lyx.org>
2090 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2091 Add new translators to help reading and writing the lyx file.
2093 2004-10-05 José Matos <jamatos@lyx.org>
2095 * ParagraphParameters.C (read):
2096 * text.C (readParToken): replace nexToken by more appropriate lex
2099 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2101 * LaTeX.C (runMakeIndex):
2102 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2103 (usually 'makeindex') configurable.
2105 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2106 with a variable rather than with a number.
2108 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2110 * output_latex.C (TeXOnePar): make sure font setting is the first
2111 thing that gets output (and the last at the end). Should fix bug
2114 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2116 * pch.h: use proper signal include
2118 * LaTeX.h: Use preferred calling of Boost.Signal
2121 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2123 * pch.h: dont include <boost/function/function0.hpp>
2125 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2127 * paragraph_pimpl.h: remove usage of ShareContainer
2129 * paragraph_pimpl.C: remove initialization of ShareContainer.
2131 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2135 * BufferView.C (putSelectionAt): change the semantics when
2136 backwards == true: now, this just swaps cursor and anchor wrt the
2139 * BufferView.h (putSelectionAt): add some documentation
2141 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2142 make sure backwardChar is done at least once (to avoid getting
2144 (findNextChange): use putSelectionAt in the forward direction
2145 (operator()): use Paragraph::isWord
2147 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2149 * Spacing.C (set): c_str fix
2151 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * lyx_cb.C (Reconfigure): quote the name of configure script in
2154 case it contains spaces
2156 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2161 (BOOST_LIBS): use top_buildir when looking for the file
2163 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2165 * pch.h: do not use include boost/format.hpp, multiple symbols
2166 will result (gcc bug)
2169 2004-08-23 José Matos <jamatos@lyx.org>
2171 * bufferparams.C (readToken): fix reading of the author field.
2173 2004-08-20 José Matos <jamatos@lyx.org>
2175 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2177 2004-08-20 José Matos <jamatos@lyx.org>
2179 * lyxlex.[Ch] (findToken): remove function.
2181 * ParagraphParameters.C (findToken):
2182 * bufferparams.C (findToken): replace call for previous function
2183 with local copy. This local function has one more argument, the
2184 read string argument.
2186 2004-08-16 José Matos <jamatos@lyx.org>
2188 * ParagraphParameters.C (write):
2189 * Spacing.C (writeFile):
2190 * bufferparams.C (writeLaTeX):
2191 * lyx_cb.C (Reconfigure):
2192 * paragraph.C (write):
2193 * tabular.C (write): remove unnecessary space at end of line.
2196 2004-08-16 José Matos <jamatos@lyx.org>
2198 * text.C (readParagraph): remove debug message.
2200 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2202 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2205 * output_plaintext.C (asciiParagraph): set depth correctly
2207 * outputparams.h: add member depth
2209 * paragraph_funcs.C (ownerPar): remove.
2211 * text2.C (setCounter): remove first_pit; comment out some
2212 non-working code that uses ownerPar
2214 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2217 2004-08-16 José Matos <jamatos@lyx.org>
2219 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2220 For the same level of importance use the same chanel to report problems.
2221 (read): add code to deal with \begin_body and \end_body.
2224 2004-08-15 José Matos <jamatos@lyx.org>
2226 * lyxlex.C (getString): fix comment, buffer::readBody is now
2227 buffer:readDocument.
2229 * tex-strings.C (string_papersize): Default -> default,
2230 Custom -> custom, for consistency with other options.
2232 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * Makefile.am: support pch
2238 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2240 * text.C (readParToken): remove the static LyXFont variable and
2241 pass it as a parameter instead. This fixes a nasty bug where an
2242 inset will be inserted with a bad font in some situations
2243 (readParagraph): adapt
2245 * text2.C (setCounter): reduce number of calls to pars_[pit]
2247 * text.C (singleWidth): add an assert, fix a test
2249 * rowpainter.C (paintText): reduce number of calls to singleWidth
2251 * paragraph.C (isHfill):
2252 (isNewline): ws only
2254 2004-08-14 André Pönitz <poenitz@gmx.net>
2259 * lyxtext.h (several functions): use a Paragraph & argument
2262 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2264 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2266 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2268 * text.C (singleWidth): remove useless test
2270 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2272 * tabular.h: remove bogus comments
2274 * tabular.C (getDescentOfRow):
2275 (isPartOfMultiColumn): add assertions
2277 * lyxlength.C (inPixels): remove #warning
2279 2004-08-14 André Pönitz <poenitz@gmx.net>
2281 * paragraph.h: inline getChar()
2283 * BufferView.h: remove unused declarations
2285 2004-08-14 José Matos <jamatos@lyx.org>
2287 * Buffer.[Ch] (readDocument): new name for old readBody.
2288 * Buffer.C: new file format, new keywords: \begin_document,
2289 \begin_header, \begin_body, \end_body.
2291 * bufferparams.C (readToken): replace all calls to lex.nextToken
2292 by lex.next(). Do the same to eatLine except where really needed.
2294 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2295 line when writing to the lyx file.
2297 * output_plaintext.C (asciiParagraph): fix Bibliography style
2300 * text.C (read): fix end of file handling.
2302 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2304 * MenuBackend.C (Menu::operator[]): new method to access
2305 individual menu items
2306 (Menu::hasFunc): new method. search for an item that corresponds
2308 (MenuBackend::specialMenu): new method
2309 (MenuBackend::expand): if a special menu has been set, skip
2310 entries whose func() appears in this menu
2312 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2314 * text3.C: use Debug::DEBUG a bit more
2316 * text.C (leftMargin): try to simplify a tiny bit change var x to
2317 l_margin. Dont output the wide margins always.
2318 (rightMargin): no margin in inner texts
2320 * rowpainter.h (nestMargin): new func
2321 (changebarMargin): new func
2322 (rightMargin): new func
2324 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2328 * factory.C (createInset): modify setDrawFrame
2330 * cursor.C: use Debug::DEBUG a bit more
2332 2004-08-14 André Pönitz <poenitz@gmx.net>
2335 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2336 cache for all insets in (at least partially) visible (top-level)
2339 * BufferView_pimpl.C: reset external coord cache before every update.
2340 This means the coord cache only contains valid entries.
2342 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2345 * BufferView_pimpl.C (getInsetByCode): move function out of class
2346 and change in to a template in anon namespace. Also fix to do what
2349 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2352 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2354 (breakParagraph): rename par to par_offset and use a local
2355 reference. Add code to keep the language over a rebreak.
2356 (breakParagraphConservative): rename par to par_offset, use a
2358 (mergeParagraph): ditto
2360 (isFirstInSequence): ditto
2361 (outerFont): rename pit to par_offset
2363 * paragraph.C: ws change
2364 * paragraph.h: ditto
2368 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2370 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2373 * paragraph.C (simpleTeXOnePar): when we have a \item with
2374 optional argument, enclose the argument with curly brackets (in
2375 case it contains a closing square bracket)
2379 * text3.C (checkInsetHit): constify
2381 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2383 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2384 documents (bug 1629)
2386 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2388 Fix toggling of collapsable insets with the mouse (bug 1558)
2390 * lyxfunc.C (dispatch): adapt to LCursor changes
2392 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2393 make sure that dispatch is not invoked twice
2395 * cursor.C (needsUpdate): new method
2396 (dispatch): return void
2397 (result): new method, to access the DispatchResult of the cursor.
2399 2004-08-13 José Matos <jamatos@lyx.org>
2401 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2403 2004-08-13 André Pönitz <poenitz@gmx.net>
2405 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2407 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2410 2004-08-12 André Pönitz <poenitz@gmx.net>
2412 * text3.C: take out the 'cursor right' form insertInset and only
2413 do it in those places when it is really needed. Fixes crash on
2416 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2418 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2420 * BufferView_pimpl.C (setBuffer): initialize the current font of
2421 the underlying LyXText
2423 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2425 * kbsequence.C (print): use UI native formatting for menu
2428 * text.C (insertChar): call Paragraph::insertChar with a font
2431 * paragraph.C (insertInset, insertChar): the version that takes a
2432 LyXFont argument is now a wrapper around the other one (the
2433 opposite used to be true).
2435 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2436 argument. Font setting is done in Paragraph now.
2438 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2440 * outputparams.h: add new members intitle and lang.
2442 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2443 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2445 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * text3.C (dispatch): remove special handling of button 4 and 5,
2448 it is now taken care of in the frontend code.
2450 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2452 * Spacing.h: add <string> (STLPort compile fix)
2454 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2456 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2458 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2463 * converter.C (showMessage): inherit from unary_function, make
2466 * buffer.C (writeFile): initialize retval
2468 * InsetList.h: rename private variable list to list_
2469 * InsetList.[Ch]: adjust accordingly.
2471 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2473 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2474 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2475 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2476 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2477 * ParagraphParameters.C, LaTeXFeatures.C: replace
2478 "support/std_sstream.h" with <sstream>
2480 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2482 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2483 * lyxsocket.C (LyXServerSocket): ditto
2484 (serverCallback): ditto
2486 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2488 * LaTeXFeatures.C: check release date when loading jurabib.
2490 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2492 * lyxserver.C (startPipe): call register_socket_callback
2493 (endPipe): call unregister_socket_callback
2495 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2498 (LyXServerSocket): register the callback
2499 (LyXServerSocket): unregister the callback
2500 (fd): delete function
2501 (serverCallback): improve error checking and setup the callbacks.
2502 (dataCallback): change arg to fd.
2503 (writeln): new func (copied fro the client socket) used for server
2505 (LyXDataSocket): simplify
2506 (~LyXDataSocket): close ann unregiser callback
2507 (server): delete function
2508 (fd): delete function
2509 (readln): small changes, improve some std::string usage
2510 (writeln): constify a bit
2512 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2514 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2517 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2519 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2520 after it has been populated
2522 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2524 * text2.C (insertInset): move cursor when inserting inset.
2526 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2528 * kbmap.C (findbindings): a couple of new methods. returns a
2529 container of kb_sequence objects. The real work is done by the
2530 private recursive version
2531 (printbindings): uses findbindings to print out a bracketed list
2532 of bindings (renamed from findbinding).
2534 * MenuBackend.C (binding): use kb_keymap::findbindings
2536 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2538 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2540 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2542 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2544 * paragraph.C (isWord): return true on insets that report
2547 * text.C (getWord): use Paragraph::isWord to decide what is in a
2548 word and what is not; fix bug 1609.
2550 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2552 * tex-strings.C: add "none" to string_paperpackages[], fixes
2553 off-by-one-error in the paperpackage selection.
2556 * tex-strings.[Ch]: char const * string[n]
2557 -> char const * const string[]
2559 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2561 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2562 command, return early.
2564 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2566 * debug.h: add DEBUG to enum and fix size of ANY.
2568 * debug.C: add support for Debug::DEBUG
2569 (showTags): cast errorTags.level to unsigned int
2571 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2572 (redoCurrentBuffer): ditto
2573 (updateScrollbar): ditto
2574 * cursor.C (dispatch): ditto
2575 * text2.C (setLayout): ditto
2577 (updateCounters): ditto
2579 (deleteEmptyParagraphMechanism): ditto
2581 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2583 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2584 annotations to cleanup the Makefile slightly.
2586 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2588 * lyxrc.C: do not set user_email to a default value but use empty
2589 instead. The entry used to be translated, which does not work
2590 since at the point where lyxrc is constructed there is no
2591 translation service available
2593 * messages.C (getLocaleDir): remove and use directly
2594 lyx_localedir() instead
2596 2004-06-02 Angus Leeming <leeming@lyx.org>
2598 Fix crash caused by dereferencing null pointer 'exportdata' in
2599 OutputParams by creating a new ExportData variable on the heap,
2600 storing it in a boost::shared_ptr.
2601 The crash was triggered when generating an Instant Preview
2602 of an external inset.
2604 * Makefile.am: add outputparams.C
2606 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2607 (c-tor): allocate memory to it.
2609 * exporter.C (c-tor): associated changes.
2611 2004-06-01 Angus Leeming <leeming@lyx.org>
2613 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2614 contains data before calling isInset(0). (Bug 1513.)
2616 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2618 * exporter.C (checkOverwrite): new method
2619 * exporter.C (copyFile): new method
2620 * exporter.C (Export): copy referenced files to the document dir
2621 * exporter.[Ch]: new class ExportedFile
2622 * exporter.[Ch]: new class ExportData. Contains currently the
2623 names of referenced external files
2624 * outputparams.h: add exportdata member.
2626 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2628 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2631 2004-05-19 Angus Leeming <leeming@lyx.org>
2636 * lyxfunc.C: small changes due to the introduction of namespace
2637 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2639 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2641 * text3.C (dispatch): supress update when only moving the cursor
2642 * cursor.C (selHandle): remove commented code
2644 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2646 * paragraph.C (startTeXParParams): correct column count
2647 * CutAndPaste.C (pasteSelection): remove const_cast
2648 * output_docbook.C (docbookParagraphs): remove const_cast
2649 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2650 const_cast and return ParagraphList::const_iterator
2651 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2652 * output_plaintext.C (writeFileAscii): remove const_cast
2653 * paragraph.[Ch] (simpleTeXOnePar): make const
2654 * paragraph_funcs.C (outerPar): use const iterators
2655 * paragraph_pimpl.C (validate): use const iterators
2656 * text.C (setHeightOfRow): use const iterators
2658 2004-05-17 Angus Leeming <leeming@lyx.org>
2661 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2663 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2664 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2665 if the citation engine has changed.
2667 2004-05-14 José Matos <jamatos@lyx.org>
2669 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2670 if the textclass does not provide it. Have it different for sgml and
2672 support the language of document.
2673 * output_docbook.C (docbookParagraphs):
2674 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2675 first anchor as the id of the paragraph, remove special case code.
2676 * sgml.C (escapeChar): escape only < & >.
2678 2004-05-14 Angus Leeming <leeming@lyx.org>
2680 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2681 dependencies on src/frontends/controllers/biblio.h. Define a
2682 CiteEngine_enum wrapper class to enable the enum to be forward
2685 2004-05-12 Angus Leeming <leeming@lyx.org>
2687 * buffer.C: up LYX_FORMAT to 234.
2688 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2689 use_numerical_citations with a single biblio::CiteEngine cite_engine
2691 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2693 2004-05-13 José Matos <jamatos@lyx.org>
2696 * converter.C (Converter, readFlags): add xml member.
2697 * outputparams.h: add XML flavor.
2698 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2700 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2702 * lyxfunc.C (dispatch):
2703 (getStatus): fix handling of LFUN_SEQUENCE
2705 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2707 * debug.C (showLevel): do not forget the end-of-line marker
2709 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2711 * kbmap.C (read): do not stop parsing a bind file when an error
2714 2004-04-29 Angus Leeming <leeming@lyx.org>
2719 * text2.C: wrap a bunch of #warning statements
2720 inside #ifdef WITH_WARNINGS blocks.
2722 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2724 * buffer.C: increment format to 233.
2726 2004-04-28 Angus Leeming <leeming@lyx.org>
2728 * BufferView_pimpl.C:
2731 s/updateToolbar()/updateToolbars()/
2732 s/Toolbar.h/Toolbars.h/
2734 2004-04-28 Angus Leeming <leeming@lyx.org>
2736 * BufferView.[Ch] (c-tor):
2737 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2738 No longer passes these data to the WorkArea generator.
2740 2004-04-28 Angus Leeming <leeming@lyx.org>
2742 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2744 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2746 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2748 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2750 * output_latex.C (TeXEnvironment): make sure that there is a line
2751 break before \end{foo} for the last paragraph of a document
2752 (TeXOnePar): if the paragraph is at the end of the document (or
2753 inset) and the language has to be reset, then make sure that the
2754 line break is _before_ the language command, not after (fixes bug
2755 1225); also make sure that the language reset command is the first
2756 thing after the paragraph (to ensure proper nesting of
2757 environments and thus fix bug 1404)
2759 2004-04-21 John Levon <levon@movementarian.org>
2762 * ToolbarBackend.C: make "name" be a programmatic name
2763 and a gui_name field.
2765 * lyxfunc.C: display the minibuffer on M-x
2767 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2769 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2772 2004-04-19 Angus Leeming <leeming@lyx.org>
2774 * BufferView_pimpl.C (setBuffer): changed preview interface.
2776 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2779 2004-04-19 John Levon <levon@movementarian.org>
2781 * BufferView_pimpl.C:
2782 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2784 2004-04-05 Angus Leeming <leeming@lyx.org>
2786 * text.C (redoParagraphs): add call to updateCounters(), thereby
2787 fixing the missing "Figure #:" label from the caption of a
2790 2004-04-13 Angus Leeming <leeming@lyx.org>
2792 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2793 cursor is clicked out of an inset.
2795 2004-04-13 Angus Leeming <leeming@lyx.org>
2797 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2798 than an InsetOld one.
2800 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2802 * format.[Ch]: add editor to Format
2803 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2804 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2806 2004-04-08 André Pönitz <poenitz@gmx.net>
2808 * metricsinfo.h: remove PainterInfo::width member
2810 2004-04-08 Angus Leeming <leeming@lyx.org>
2812 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2813 "\providecommand" rather than "\newcommand", thereby preventing
2814 clashes with packages that define "\boldsymbol" themselves.
2817 2004-04-08 Angus Leeming <leeming@lyx.org>
2819 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2820 thereby squashing an unnecessary warning.
2822 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2824 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2827 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2829 * BufferView.C (setCursor): call redoParagraph (some insets could
2831 (putSelectionAt): remove the 'double update' trick
2833 * BufferView_pimpl.C (fitCursor): call refreshPar
2834 (workAreaDispatch): remove an uneeded update call
2835 (dispatch): remove some manual update calls
2837 * cursor.[Ch]: remove cached_y_, updatePos
2838 (selHandle): set noUpdate when appropriate
2840 * lyxfunc.C (dispatch): track if we need an update
2842 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2844 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2845 (paintSelection): cheap optimization, do not call cursorX when not
2847 (paintPars): change signature
2850 (paintTextInset): adjust
2854 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2856 * lengthcommon.C: compilation fix: remove explicit array size from
2857 unit_name[] and friends
2859 2004-04-05 Angus Leeming <leeming@lyx.org>
2861 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2863 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2864 present only for the preferences dialog.
2865 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2867 2004-04-05 Angus Leeming <leeming@lyx.org>
2869 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2870 to enable the frontends to export changes to lyxrc correctly.
2872 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2874 2004-04-07 André Pönitz <poenitz@gmx.net>
2876 * cursor.[Ch] (selClear, adjust): remove math
2878 * cursor_slice.C: more agressive assert
2881 * BufferView_pimpl.C: rework mouse event dispatch
2888 2004-04-05 André Pönitz <poenitz@gmx.net>
2890 * cursor.[Ch] (valign, halign...): remove unneeded functions
2892 2004-04-05 Angus Leeming <leeming@lyx.org>
2894 * lyxlength.[Ch] (unit_name et al.): const-correct.
2896 2004-04-05 Angus Leeming <leeming@lyx.org>
2898 * BufferView_pimpl.C:
2907 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2909 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2911 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2913 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2915 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2916 * BufferView_pimpl.[Ch] (getStatus)
2917 * BufferView.[Ch] (getStatus): add
2918 * lyxfunc.C (getStatus): move lfuns handled in
2919 BufferView::dispatch to te function above
2920 * Cursor.C (setSelection): set selection() = true
2922 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2924 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2926 2004-03-31 Angus Leeming <leeming@lyx.org>
2928 * lyxfunc.C (dispatch): Fall through to the generic
2929 Dialogs::show("preamble").
2931 2004-03-31 Angus Leeming <leeming@lyx.org>
2933 * lyxfunc.C (dispatch): Fall through to the generic
2934 Dialogs::show("spellchecker").
2936 2004-03-31 Angus Leeming <leeming@lyx.org>
2938 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2941 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2946 * insetiterator.[Ch]:
2951 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2953 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2955 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2956 insets where we are putting the cursor.
2958 2004-03-31 Angus Leeming <leeming@lyx.org>
2961 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2963 * lyxrc.[Ch] (read, write): overloaded member functions taking
2964 a std::[io]stream arguments.
2966 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2968 2004-03-31 Angus Leeming <leeming@lyx.org>
2970 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2971 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2973 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2974 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2976 2004-03-31 Angus Leeming <leeming@lyx.org>
2978 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2979 the LFUN_ALL_INSETS_TOGGLE code.
2981 2004-03-30 Angus Leeming <leeming@lyx.org>
2983 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2984 has died. Fall through to the generic Dialogs::show("document").
2986 2004-03-30 Angus Leeming <leeming@lyx.org>
2989 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2990 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2992 * lyxfunc.C (getStatus, dispatch): define the actions for these
2993 lfuns. Little more than a cut and pste job from ControlDocument.C
2995 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2997 2004-03-30 Angus Leeming <leeming@lyx.org>
3000 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3001 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3003 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3004 open/closed state of ollapsable insets. Usage:
3006 all-inset-toggle <state> <name>, where
3007 <state> == "open" || "closed" || "toggle" and
3008 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3010 * lyxtext.h, text2.C (toggleInset): removed.
3012 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3013 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3014 now passes LFUN_INSET_TOGGLE to the found inset.
3016 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3017 is now invoked as "all-insets-toggle toggle branch".
3019 2004-03-30 Angus Leeming <leeming@lyx.org>
3023 * pariterator.[Ch]: added/corrected header blurb.
3025 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3027 * dociterator.[Ch]: add an inset_ member
3028 (backwardPos): implemented
3029 (backwardPos, forwardPos): use inset_ when the stack is empty.
3030 (doc_iterator_begin, doc_iterator_end): implemented
3031 * pariterator.[Ch]: adjust, add begin, end
3032 * insetiterator.[Ch]: adjust, add begin, end
3036 * BufferView_pimpl.C:
3037 * CutAndPaste.C: adjust
3039 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3041 * buffer.C: increment file format to 232.
3042 * LaTeXFeatures.C: add bibtopic package.
3043 * bufferparams.[Ch]: param \use_bibtopic.
3045 * lyxrc.[Ch]: add lyxrc bibtex_command
3046 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3048 * buffer.C: increment file format to 231.
3050 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3052 * dociterator.C: implement forwardPar
3053 * iterators.[Ch]: remove, replaced by
3054 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3056 * BufferView_pimpl.C:
3059 * bufferview_funcs.C:
3065 * Makefile.am: adjust
3067 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3069 * CutAndPaste.C (pasteSelection): fix 2 crashes
3070 (eraseSelection): fix a crash
3071 * paragraph_funcs.C: remove a warning
3073 2004-03-28 Angus Leeming <leeming@lyx.org>
3076 * LyXAction.C (init): new LFUN_PRINT.
3078 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3080 2004-03-27 Angus Leeming <leeming@lyx.org>
3083 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3085 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3087 2004-03-27 Angus Leeming <leeming@lyx.org>
3089 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3090 insetlist always contains non-null pointers to insets.
3092 2004-03-26 Angus Leeming <leeming@lyx.org>
3094 * src/BufferView_pimpl.C:
3095 * src/CutAndPaste.C:
3098 * src/output_plaintext.C:
3099 * src/outputparams.h:
3100 * src/paragraph_funcs.C:
3104 * src/frontends/controllers/ControlErrorList.C:
3105 * src/frontends/gtk/FileDialogPrivate.C:
3106 * src/frontends/gtk/GPainter.C:
3107 * src/frontends/gtk/GToolbar.C:
3108 * src/frontends/qt2/QRef.C:
3109 * src/mathed/math_scriptinset.C: squash compiler warnings.
3111 2004-03-26 Angus Leeming <leeming@lyx.org>
3113 * ispell.C (LaunchIspell::start):
3114 * lyx_cb.C (AutoSaveBuffer::start):
3115 invoke run(DontWait) rather than runNonBlocking().
3117 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3119 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3121 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3123 * kbsequence.C (print): adjust
3125 * kbmap.C (printKeySym): rename and change signature
3126 (printKey): use LyXKeySym::print()
3128 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3130 * undo.C: add using std::advance to compile for stlport
3132 2004-03-24 Angus Leeming <leeming@lyx.org>
3134 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3135 it leads to a crash when no buffer is present.
3137 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3138 Martin Vermeer <martin.vermeer@hut.fi>
3140 * lyxfunc.C (dispatch):
3141 * bufferparams.C (readToken): use the new LColor::setColor
3143 * LColor.[Ch] (setColor): new version that takes two strings as
3144 argument and creates a new color entry if necessary
3146 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3148 * buffer.C (makeLaTeXFile): if the main latex file that is
3149 processed is usually a subdocument of some master, then pretend
3150 for a while that it is actually the master
3152 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3154 * buffer.C (getLabelList):
3155 (getBibkeyList): use getMasterBuffer()
3156 (getMasterBuffer): new method. Returns the main document in the
3157 case where one is using included documents.
3159 2004-03-25 André Pönitz <poenitz@gmx.net>
3163 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3165 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3167 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3168 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3170 * ParameterStruct.h: merge with ParagraphParameters
3172 * lyxtext.h: remove LyXText::parOffset() and getPar()
3174 * text3.C: Remove all 'manual' update calls. We do now one per user
3175 interaction which is completely sufficient.
3179 * BufferView_pimpl.C:
3180 * FontIterator.[Ch]:
3182 * ParagraphParameters.[Ch]:
3187 * cursor_slice.[Ch]:
3194 * output_docbook.[Ch]:
3195 * output_latex.[Ch]:
3196 * output_linuxdoc.[Ch]:
3197 * output_plaintext.[Ch]:
3199 * paragraph_funcs.[Ch]:
3200 * paragraph_pimpl.[Ch]:
3208 * frontends/controllers/ControlDocument.C:
3209 * frontends/controllers/ControlErrorList.C:
3210 * frontends/controllers/ControlSpellchecker.C:
3213 * insets/insetbase.h:
3214 * insets/insetbibitem.C:
3215 * insets/insetbox.C:
3216 * insets/insetbranch.C:
3217 * insets/insetcaption.C:
3218 * insets/insetcharstyle.C:
3219 * insets/insetcharstyle.h:
3220 * insets/insetcollapsable.C:
3221 * insets/insetcollapsable.h:
3222 * insets/insetert.C:
3223 * insets/insetfloat.C:
3224 * insets/insetfoot.C:
3225 * insets/insetmarginal.C:
3226 * insets/insetnote.C:
3227 * insets/insetoptarg.C:
3228 * insets/insettabular.C:
3229 * insets/insettext.C:
3230 * insets/insettext.h:
3231 * insets/insetwrap.C:
3232 * mathed/math_mboxinset.C:
3233 * mathed/math_nestinset.C:
3234 * mathed/math_scriptinset.C:
3235 * mathed/math_scriptinset.h:
3238 2004-03-24 Angus Leeming <leeming@lyx.org>
3240 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3241 deal with any child processes that have finished but are waiting to
3242 communicate this fact to the rest of LyX.
3244 2004-03-24 Angus Leeming <leeming@lyx.org>
3246 64-bit compile fixes.
3248 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3249 (c-tor): pass lyx::pos_types rather than ints.
3251 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3254 * text.C (Delete): compile fix.
3255 (getPar): ensure that function declaration is the same as that in
3258 2004-03-23 Angus Leeming <leeming@lyx.org>
3260 * ispell.C (LaunchIspell):
3261 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3262 a boost::shred_ptr rather than a std::auto_ptr.
3264 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3266 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3267 handle LFUN_FILE_INSERT_*
3269 * lyxrc.C (setDefaults, getDescription, output, read):
3270 * lyxrc.h: remove ps_command
3272 2004-03-22 Angus Leeming <leeming@lyx.org>
3274 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3275 Ensure that error_handler is processed once only and that all data
3276 is saved before attempting to output any warning messages.
3278 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3280 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3282 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3284 2004-03-19 André Pönitz <poenitz@gmx.net>
3286 * cursor.[Ch] (reset): take main text inset as argument
3288 * BufferView: adjust
3289 * BufferView_pimpl.C: adjust
3291 * paragraph.[Ch]: fix completely broken operator=()
3293 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3295 * LColor.C (getFromLyXName): make sure that the color name is used
3298 2004-03-17 Angus Leeming <leeming@lyx.org>
3301 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3303 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3304 dialog and to kill a forked process.
3306 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3308 * text2.C (setCursorFromCoordinates): fix font problem
3310 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3312 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3313 bogus "rebuild cursor" code
3315 2004-03-11 André Pönitz <poenitz@gmx.net>
3317 * buffer.[Ch]: use InsetText instead of LyXText as container for
3320 * dociterator.[Ch]: drop the BufferView * member which is not needed
3321 anymore after the change to buffer.C
3323 * paragraph_funcs.C:
3327 * BufferView_pimpl.[Ch]:
3329 * cursor_slice.[Ch]: adjust
3331 * text3.C: fix bug in mathDispatch
3333 2004-03-08 André Pönitz <poenitz@gmx.net>
3335 * undo.[Ch]: use 'StableDocumentIterator' as base for
3338 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3341 * bufferparams.[Ch]: add jurabib support and param.
3343 * LaTeX.C: add FIXME/comment.
3345 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3347 * buffer.C: increment file format to 230.
3349 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3351 * cursor.C (dispatch): avoid infinite loops
3353 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3355 * rowpainter.C (paintSelection): fix x coordinates
3357 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3359 * text.C (rowBreakPoint): fix breaking before displayed insets
3361 2004-03-01 André Pönitz <poenitz@gmx.net>
3363 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3365 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3369 * BufferView_pimpl.C:
3377 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3383 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3384 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3386 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3388 * Bidi.[Ch] (computeTables): const correctness
3389 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3390 fill_hfill, fill_label_hfill and x from Row
3391 * lyxtext.h: prepareToPrint returns a RowMetrics
3392 * rowPainter.C: adjust
3393 * text.C (prepareToPrint): use width, not textWidth. adjust
3394 (redoParagraphInternal, cursorX): adjust
3395 * text2.C (getColumnNearX): adjust
3396 (init): put a default value to the top LyXText::width
3398 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3400 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3402 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3404 * lyxtext.h: add FontIterator class
3406 * text.C (FontIterator, operator*, operator->, operator++): add
3407 (rowBreakPoint, setRowWidth): adjust (fixing a
3410 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3412 * BufferView_pimpl.C (workAreaDispatch): allow also
3413 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3415 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3417 * text.C (rowBreakPoint): fix a bug showing with very large insets
3419 2004-02-25 André Pönitz <poenitz@gmx.net>
3422 * cursor.[Ch]: move some mathed specific code to mathed
3424 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3426 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3427 use_tempdir in preferences
3428 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3430 * lyx_main.C: ensure that tempdir is valid
3431 * lyxlex.h: correct typo
3432 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3433 * paragraph.[Ch] (isMultiLingual): make const
3434 * cursor.[Ch] (openable): make const
3436 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3438 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3440 2004-02-20 André Pönitz <poenitz@gmx.net>
3442 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3444 * cursor.[Ch]: prepare for localized getStatus()
3450 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3452 2004-02-20 André Pönitz <poenitz@gmx.net>
3454 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3456 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3458 * text2.C (setCursorFromCoordinates): switch to absolute coords
3460 (cursorDown): adjust
3461 * text3.C (dispatch): adjust
3463 2004-02-16 André Pönitz <poenitz@gmx.net>
3465 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3468 * cursor_slice.[Ch]: remove unneeded acessor function
3470 * lyxtext.h: rename rtl() to isRTL()
3478 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3480 * rowpainter.C (paintSelection): coord fix
3482 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3484 * Spacing.C: compile fix
3486 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3488 * cursor.C (dispatch): restore current_ before returning
3490 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3492 * text2.C (cursorUp, cursorDown): fix coords
3495 2004-02-12 André Pönitz <poenitz@gmx.net>
3500 * text3.C: add LCursor & parameter to most cursor movement functions
3501 remove usage of LyXText::cursorRow() and cursorPar()
3503 * cursor.[Ch]: add textRow() needed members
3506 * BufferView_pimpl.C:
3509 * BufferView_pimpl.C: adjust
3511 2004-02-11 André Pönitz <poenitz@gmx.net>
3515 * BufferView_pimpl.C: shift undo/redo handling
3517 * cursor.[Ch]: fix mathed crash
3520 * lyxtext.h: move selectionAsText to LCursor
3528 * rowpainter.C: fix excessive drawing
3530 2004-02-06 André Pönitz <poenitz@gmx.net>
3533 * BufferView_pimpl.[Ch]:
3534 * text3.C: move some text specific LFUN handling
3536 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3538 * text3.C (checkInsetHit): adjust coords
3539 * text2.C (getColumnNearX): adjust coords
3540 (edit): adjust coords
3541 * text.C (getRowNearY): add two asserts
3543 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3546 * format.C: add using std::distance to compile on gcc 2.95/stlport
3548 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3550 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3552 2004-02-04 André Pönitz <poenitz@gmx.net>
3554 * BufferView.[Ch] (insertInset):
3555 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3560 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3562 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3563 on the default clause of the switch
3564 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3565 wasn't catched by LCursor::dispatch
3567 2004-02-03 André Pönitz <poenitz@gmx.net>
3570 * cursor.[Ch]: some additional asserts
3572 * undo.[Ch]: remove LyXText dependency in interface
3576 * lyxtext.h (firstPar, lastPar): remove dead functions
3581 * paragraph.[Ch]: adjust
3583 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3585 * lyxfind.C (find): fix argument order in call to ::find
3587 2004-02-02 André Pönitz <poenitz@gmx.net>
3589 * cursor.[Ch]: remove direct access to anchor
3591 * text.C: remove findText() hack
3593 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3595 * iterators.[Ch] (lockPath): remove in favour of...
3596 * BufferView.[Ch] (setCursor): this addition
3597 * BufferView.C (putSelectionAt): adjust
3598 * undo.C (performUndoOrRedo): adjust
3599 * lyxfunc.C (dispatch): adjust
3601 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3603 * iterators.C (lockPath): add a missing slice
3604 * undo.C (performUndoOrRedo): remove redundant positioning code
3606 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3608 * vc-backend.C (scanMaster): ";" -> ';'
3610 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3613 std::binary_function
3615 * lyxtextclass.C (compare_name): rename to...
3616 (LayoutNamesEqual): ...this
3618 * lyxlex_pimpl.C (compare_tags): inherit from
3619 std::binary_function, put back into anon namespace
3621 * lyxfind.C (MatchString): inherig from std::binary_function
3622 (findChange): use empty() istead of !size()
3624 * format.C (FormatNamesEqual): new functor
3631 * converter.C (compare_Converter): rename to...
3632 (ConverterEqual): ...this, and fixup a bit.
3633 (getConverter): use it, and make function const
3634 (getNumber): use it, and make function const
3638 * bufferlist.C: add using boost::bind
3640 * MenuBackend.C (MenuNamesEqual): new functor
3641 (hasMenu): use it, and make function const
3642 (hasSubmenu): use nested bind to get rid of compare_memfun.
3644 2004-01-30 André Pönitz <poenitz@gmx.net>
3646 * BufferView_pimpl.C:
3649 * cursor_slice.[Ch]:
3652 * paragraph_funcs.C:
3653 * paragraph_funcs.h:
3657 * text3.C: move some of the edit(x,y) handling to the insets
3658 some coordinate changes.
3660 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * text.C: add using statements for std::advance and std::distance
3664 * paragraph.C: add using statement for std::distance
3666 * lyxfind.C: add using statement for std::advance
3668 * cursor.C (region): remove std:: from swap
3669 (openable): use nucleus in stead of operator->
3671 * BufferView.C: add using statements for std::distance and std::swap
3673 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3675 * iterators.C: Remove the pimple, move the needed structures to
3676 the header file. Create accessor for the positions stack.
3677 (asPosIterator): remove function
3679 * PosIterator.C (PosIterator): move constructors to top of file
3680 (PosIterator): reimplement the constructor taking a ParIterator in
3682 (setFrom): new function
3683 (operator!=): inline it
3685 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * lyxfind.C (replaceAll): use std::advance
3689 * iterators.h: inherit from std::iterator.
3691 * PosIterator.C (advance, distance): remove
3692 * PosIterator.h: interit from std::iterator.
3694 2004-01-26 André Pönitz <poenitz@gmx.net>
3697 * BufferView_pimpl.[Ch]:
3701 * bufferview_funcs.C:
3711 * output_linuxdoc.C:
3712 * output_plaintext.C:
3714 * paragraph_funcs.[Ch]:
3715 * paragraph_pimpl.[Ch]:
3721 * text3.C: more IU: dumps most of the rest of the mathcursor
3722 implementation into cursor.[Ch]; "globalize" a bit of it.
3724 2004-01-25 Angus Leeming <leeming@lyx.org>
3726 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3728 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3730 * LaTeXFeatures.h: add nice_ and nice() const
3731 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3733 2004-01-20 André Pönitz <poenitz@gmx.net>
3736 * BufferView_pimpl.C:
3738 * bufferview_funcs.C:
3740 * cursor_slice.[Ch]:
3751 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3752 LCursor and mathcursor parts to LCursor and InsetBase.
3754 2004-01-15 André Pönitz <poenitz@gmx.net>
3756 * cursor_slice.[Ch]: add a few covienience functions
3758 * funcrequest.[Ch]: remove BufferView * member
3760 * BufferView_pimpl.C:
3767 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3769 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3771 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3772 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3774 2004-01-13 André Pönitz <poenitz@gmx.net>
3777 * lyxtext.h: hide cursor and selection anchor behind accessor function
3780 * BufferView_pimpl.[Ch]:
3782 * bufferview_funcs.C:
3792 * cursor_slice.[Ch]: some integer type changes for inset unification
3794 * lyxcursor.[hC]: remove, it's CursorSlice now.
3797 * BufferView_pimpl.[Ch]:
3798 * bufferview_funcs.C:
3804 * textcursor.[Ch]: adjust
3806 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3808 * text2.C (undoSpan): add and use
3809 * text.C (breakParagraph): use undoSpan (fix bug 578)
3812 2004-01-08 Angus Leeming <leeming@lyx.org>
3814 * BufferView_pimpl.C (MenuInsertLyXFile):
3815 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3816 * lyxfunc.C (menuNew, open, doImport):
3817 FileFilterList change to the FileDialog open and save functions.
3819 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3821 * ShareContainer.h: make isEqual and isUnique adaptable
3823 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3825 2004-01-07 Angus Leeming <leeming@lyx.org>
3828 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3830 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3832 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3833 functions replacing find, replace and replaceAll.
3835 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3836 LFUN_WORDFIND(FORWARD|BACKWARD).
3838 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3840 * text.C (breakParagraph): remove an outdated #warning
3842 2004-01-07 André Pönitz <poenitz@gmx.net>
3844 * lyxfind.C: somewhat clearer logic
3846 * text.C: prevent crash in cursorX on unitialized row cache
3848 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3850 * lyxcursor.[Ch] (operator>): add
3851 * textcursor.C (selStart, selEnd): use std::min and std::max
3853 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * Chktex.C: include boost/format.hpp
3857 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3859 * InsetList.C: replace functor MathcIt with adaptable functor
3861 (insetIterator): modify accordingly
3863 * BranchList.h: move the BranchNamesEqual functor here from...
3864 * BranchList.C: ... to here
3866 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3868 (add): replace a finding loop with std::find_if.
3870 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3872 * output_docbook.C: moving LatexParam functionality into
3875 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3877 * buffer.C: increment format to 229.
3879 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3882 * lyx_sty.[Ch]: remove minipageindent_def
3888 * text3.C: remove LFUN_INSET_MINIPAGE
3890 2003-12-28 Angus Leeming <leeming@lyx.org>
3892 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3894 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3896 * text2.C (setParagraph): fix off-by-one crash
3898 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3900 * output_docbook.C: header stuff for AGU
3902 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3904 * text2.C (redoCursor): remove
3907 * BufferView_pimpl.C: remove calls to redoCursor and
3908 setCursor(cursor.par(), cursor.pos()) all around
3910 2003-12-15 Angus Leeming <leeming@lyx.org>
3912 * buffer.C: up the format to 228.
3914 2003-12-15 André Pönitz <poenitz@gmx.net>
3916 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3921 * BufferView_pimpl.C:
3930 2003-12-15 Angus Leeming <leeming@lyx.org>
3932 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3933 than getFromGUIName to manipulate the color.
3935 2003-12-14 Angus Leeming <leeming@lyx.org>
3937 * BranchList.[Ch]: minimize the API.
3938 (Branch::getBranch, getColor): now return a 'const &'.
3939 (Branch::setSelected) now returns a bool set to true if the
3940 selection status changes.
3941 (BranchList::clear, size, getColor, setColor, setSelected,
3942 allBranches, allSelected, separator): removed.
3943 (BranchList::find): new functions, returning the Branch with
3945 (BranchList::add, remove): return a bool indicating that
3946 the operation was successful.
3948 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3949 new InsetBranch::isBranchSlected member function.
3951 * LColor.[Ch]: mimimize the API.
3952 (fill): renamed as addColor and made private.
3953 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3954 versions of these functions taking a string arg have been removed.
3956 * bufferparams.C (readToken):
3957 * lyxfunc.C (dispatch):
3958 * lyxrc.C (read): changes due to the altered BranchList and
3961 * factory.C (createInset, readInset): changes due to altered
3964 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3967 * lyxfunc.C: remove insetminipage. "minipage-insert"
3968 now produces a frameless minipage box inset.
3970 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3972 * textcursor.[Ch] (selStart,selEnd): add new methods
3973 remove selection::start, end, use LyXCursor::operator<
3974 * lyxcursor.[Ch] (operator<): add
3975 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3976 * BufferView.[Ch] (unsetXSel): add
3977 * text2.C (clearSelection): use unsetXSel,adjust
3980 * rowpainter.C: adjust
3981 * bufferview_funcs.C (put_selection_at): adjust
3983 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3985 * BufferView_pimpl.C: small coord. correction
3987 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3989 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3990 dragging over the splash screen.
3992 2003-12-11 Angus Leeming <leeming@lyx.org>
3994 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3995 as it is now handled in LyXText::dispatch.
3997 * text3.C (doInsertInset): remove a level of nesting.
3999 2003-12-11 Angus Leeming <leeming@lyx.org>
4001 * factory.C (createInset): changes due to the changed interface to
4002 InsetCommandMailer::string2params.
4004 2003-12-10 Angus Leeming <leeming@lyx.org>
4006 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4007 'dialog-show-new-inset <inset name>'
4009 2003-12-10 Angus Leeming <leeming@lyx.org>
4011 * buffer.C: up the format to 227.
4013 * factory.C: the box inset is now identified simply by 'Box'.
4015 2003-12-10 Angus Leeming <leeming@lyx.org>
4017 * buffer.C: up the format to 226.
4019 * factory.C: the note inset is now identified simply by 'Note'.
4021 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4023 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4024 when a pit is enough. Standarize a couple of loops.
4026 2003-12-05 Angus Leeming <leeming@lyx.org>
4028 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4029 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4030 data to the re-worked "log" dialog.
4032 2003-12-03 André Pönitz <poenitz@gmx.net>
4038 * paragraph_funcs.C:
4040 * text2.C: use Inset::getText instead of Inset::getParagraph
4042 2003-12-03 André Pönitz <poenitz@gmx.net>
4046 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4047 InsetText::read() as LyXText::read()
4049 2003-12-02 Angus Leeming <leeming@lyx.org>
4051 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4052 type. Add a comment in the implementation that the function uses
4053 the stream's bad() function rather than fail() as the std::streams
4056 2003-12-02 André Pönitz <poenitz@gmx.net>
4058 * lyxlex.[Ch]: make interface more similar to std::stream
4060 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4062 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4064 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4066 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4068 * vspace.[Ch]: remove VSpace::NONE
4070 2003-12-01 André Pönitz <poenitz@gmx.net>
4073 * lyxtext.h: move ParagraphList member to LyXText
4074 rename LyXText::ownerParagraphs to LyXText::paragraph
4077 * bufferview_funcs.C:
4087 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4089 * undo.C: fix cursor positioning
4091 2003-12-01 John Levon <levon@movementarian.org>
4093 * BufferView_pimpl.C: fix a crash on exit with
4096 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4098 * BranchList.C: fix setSelected() method.
4100 2003-11-28 André Pönitz <poenitz@gmx.net>
4102 * ParagraphParameters.[Ch]:
4103 * ParameterStruct.h: remove space above/below from Paragraph to
4106 * BufferView_pimpl.C:
4112 * paragraph_funcs.C:
4118 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4120 * factory.C: Syntax change for CharStyles
4122 2003-11-28 André Pönitz <poenitz@gmx.net>
4127 * buffer.[Ch]: move LyXText member
4129 2003-11-28 André Pönitz <poenitz@gmx.net>
4131 * BufferView.[Ch]: make LyXText * text a private member
4133 * BufferView_pimpl.C:
4144 * output_plaintext.C: cleanup
4146 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4149 * lyxtextclass.[Ch]: parametrize SGML document header
4151 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4154 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4157 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4159 * text2.C (setFont): rework using PosIterator (no more recursive)
4160 (setCharFont): no more needed
4161 (setLayout): no more selection cursors fiddling (done by redoCursor)
4162 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4163 destroy remaining ones)
4165 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4167 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4169 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4172 * text3.C: adjust + re-allow multi par depth changes
4173 * textcursor.C: simplify a bit
4175 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4181 * src/output_docbook.C:
4182 * src/output_latex.C:
4187 * src/text2.C: Introducing a number of tags parametrizing various
4188 XML formats that we may want to support
4190 2003-11-25 André Pönitz <poenitz@gmx.net>
4192 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4194 * lyxtext.h (leftMargin/rightMargin): simplify interface
4201 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4203 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4204 master file to any child files. Fixes bug 546.
4206 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4208 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4210 2003-11-24 André Pönitz <poenitz@gmx.net>
4212 * rowpainter.C: simplification
4214 * text2.C (updateCounters): remove call to redoParagraph on
4215 changed labels as this is far too expensive.
4217 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4219 * converter.C (convert): fix a crash: this function gets
4220 called with buffer == 0 from importer code.
4222 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * text3.C (cursorPrevious): make sure that we do not compare
4225 iterators form different containers.
4228 * rowpainter.C (paintSelection): make sure that we do not compare
4229 iterators from different containers.
4231 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4232 iterators from different ParagraphList containers.
4235 * text2.C (LyXText): change order of initialization slightly
4236 (operator=): new function. copy all variables except cache_par_
4237 (moveUp): make sure that we do not compare iterators from
4238 different ParagraphList constainers.
4241 * text.C (firstPar): new function
4242 (lastPar): new function
4243 (endPar): new function
4245 * lyxtext.h: move things around and group public functions, public
4246 variables, private functions, private variables
4248 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4250 * factory.C: change call to InsetERT constructor to avoid
4251 additional invocation of method status
4252 * text2.C (toggleInset): remove redundant update() call
4253 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4254 instead of a Bufferview pointer
4256 2003-11-21 André Pönitz <poenitz@gmx.net>
4258 * rowpainter.C: simplification
4260 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4262 * text3.C (dispatch): make possible to extend a word/row selection
4265 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4267 * lyxtext.h: x0_,y0_ -> xo_,yo_
4268 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4269 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4270 * rowpainter.C (paintRows): paint full paragraphs
4272 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4274 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4277 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4279 * lyxtext.h: add x0_, y0_
4280 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4281 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4283 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4285 * text2.C (setCursorIntern): move the x_target update here *
4286 * text3.C: change some bv() to true/false in calls to
4287 cursorUp/Down/Right/Left
4288 * cursor.C: use helper function.
4290 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4292 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4293 * paragraph_funcs.[Ch]: correct comment
4294 * rowpainter.C: do not paint selections away from bv->cursor()
4295 Fix a long standing selection painting bug.
4296 * text3.C: generalize mouse-selection code to LyXTexts other that
4298 * textcursor.C: do not use y coords if we can use par offsets
4300 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4302 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4303 cursor position after e.g. inset insert)
4305 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4307 * lyxfind.C (replace): adjust to locking removal + some
4310 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4312 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4315 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4318 * output_docbook.C: XML sanitation: new layout
4319 parameters InnerTag and CommandDepth
4321 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4323 * BufferView_pimpl.C:
4325 * text3.C: Fix the insertion and modification of button-style
4328 2003-11-13 André Pönitz <poenitz@gmx.net>
4330 * InsetList.[Ch]: remove deleteLyXText
4332 * paragraph.[Ch]: cache beginOfBody position
4337 * text3.C: remove superfluous update() calls
4341 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4343 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4344 * BufferView.C (fitLockedInsetCursor): remove
4345 * cursor.[Ch] (getDim): add
4346 * text.C (getRowNearY): add faster version
4347 * text3.C: remove some update calls
4349 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4361 * text3.C: The Character Style /XML short element patch.
4363 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4366 * factory.C: Small step to solving 'unable to insert some insets'
4369 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4371 * cursor.[Ch] (updatePos): new function for updating the y
4372 position of the tip inset
4373 * bufferview_funcs.C (put_selection_at):
4374 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4376 2003-11-11 André Pönitz <poenitz@gmx.net>
4378 * text.C: remove big comment on invalid Paragraph pointers as it is
4381 2003-11-11 André Pönitz <poenitz@gmx.net>
4383 * text_funcs.[Ch]: merge with ...
4391 * Makefile.am: remove text_funcs.[Ch]
4393 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4395 * cursor.C (getPos): return absolute cached y coord
4397 * BufferView_pimpl.C (fitCursor): new simplistic code
4398 (workAreaDispatch): add a fitCursor call
4400 2003-11-10 André Pönitz <poenitz@gmx.net>
4403 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4405 2003-11-10 André Pönitz <poenitz@gmx.net>
4407 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4408 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4409 indicate that the cursor needs to leave an inset
4411 * lyxtext.h: remove inset locking
4413 * cursor.[Ch]: re-implement functionality provided by inset locking
4416 * BufferView_pimpl.[Ch]:
4418 * bufferview_funcs.[Ch]:
4430 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4432 * PosIterator.[Ch]: replace the stack with a vector, add inset
4434 * iterators.[C]: adjust
4436 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4438 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4440 * paragraph_funcs.C (readParToken): put the correct id in the
4441 error item, not the id of the top paragraph
4443 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4445 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4446 * bufferview_funcs.C (put_selection_at): use the above
4448 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4450 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4452 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4454 * output_linuxdoc.h:
4455 * output_plaintext.h:
4457 * output_docbook.h: add #include statements
4459 2003-11-05 José Matos <jamatos@lyx.org>
4461 * output_docbook.[Ch]:
4462 * output_latex.[Ch]:
4463 * output_linuxdoc.[Ch]:
4464 * output_plaintext.[Ch]: New files for output formats.
4465 * output.[Ch]: New file for helper functions.
4468 * paragraph_funcs.[Ch]: output functions moved to new files.
4470 * outputparams.h: rename of latexrunparams.h
4478 * paragraph_funcs.[Ch]:
4479 * paragraph_pimpl.[Ch]:
4480 * tabular.[Ch]: rename ascii to plaintext
4481 and LatexRunParams to OutputParams.
4483 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4485 * iterators.[Ch] (text): require bv argument
4486 * undo.C (recordUndo):
4487 * lyxfunc.C (dispatch):
4488 * bufferview_funcs.C (put_selection_at): adjust
4490 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4492 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4494 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4496 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4499 2003-11-04 André Pönitz <poenitz@gmx.net>
4501 * cursor.[Ch]: restructure
4504 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4506 * iterators.[Ch] (asCursor): remove
4508 * lfuns.h: remove LFUN_INSET_EDIT
4514 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4516 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4518 * lyxfind.[Ch]: complete overhaul
4519 * BufferView_pimpl.C:
4521 * paragraph.[Ch] (insert): add
4523 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4527 * text.C: remove dead spellcheck code
4529 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * dispatchresult.h: add a val setter
4533 * cursor.C (dispatch): use a tempvar for data_[i]
4535 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4537 * PosIterator.[Ch]: compile fix
4539 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4541 * text.C (cursorPar): deactivate the cursor cache
4543 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4545 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4547 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * text3.C (dispatch): adjust for new DisptchResult semantics.
4551 * lyxfunc.C (dispatch): handle update when return from
4552 Cursor::dispatch, adjust for new DispatchResult semantics.
4554 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4555 DispatchResult(true) mean to not update. Add class functions for
4556 setting dispatched and update, as well as reading.
4558 * cursor.C (dispatch): don't handle update here
4560 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4563 * trans_mgr.C: adjust
4565 * paragraph_funcs.C (readParToken): exception safety
4567 * lyxvc.h: store the vcs pointer in a scoped_ptr
4570 * lyxsocket.C (serverCallback): exception safety
4572 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4574 * ispell.C (clone): make it return a auto_ptr
4576 * factory.C (createInset): exception safety
4577 (readInset): exception safety
4579 * bufferlist.C (newBuffer): exception safety
4581 * Thesaurus.C (Thesaurus): use initialization for aik_
4583 * MenuBackend.C (expandToc): exception safety.
4585 2003-11-03 André Pönitz <poenitz@gmx.net>
4589 * bufferview_funcs.C: remove getInsetFromId()
4592 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4598 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4600 * PosIterator.C (distance, advance): new
4601 * bufferview_funcs.[Ch] (put_selection_at): new
4602 * iterators.[Ch] (lockPath): new
4604 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4606 * iterators.[Ch] (asPosIterator): added
4607 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4608 * PosIterator.[Ch]: added
4610 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4614 * cursor.C (dispatch):
4615 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4617 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4618 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4619 contructor, add a class function dispatched. Remove operator>=
4621 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * debug.C: only use the default constructor for debugstream
4626 * main.C (main): include debug.h and setup the lyxerr streambuf
4629 2003-10-31 José Matos <jamatos@lyx.org>
4631 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4633 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4634 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4635 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4636 * paragraph_pimpl.C (simpleTeXSpecialC):
4637 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4638 add LatexRunParams argument.
4640 * exporter.C (Export): change call accordingly.
4642 * latexrunparams.h: add new member to take care of the other backends.
4643 2003-10-30 José Matos <jamatos@lyx.org>
4645 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4646 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4647 factorise code for paragraph output.
4649 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4652 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * text3.C (dispatch):
4655 * lyxfunc.C (dispatch):
4656 * cursor.C (dispatch):
4657 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4659 * dispatchresult.h: make the dispatch_result_t ctor explicit
4661 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4664 * buffer.C: small refactoring of docbook stuff
4666 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4668 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4671 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4674 operator dispatch_result_t, and operators for == != and >=
4676 * cursor.C (dispatch): adjust for operator dispatch_result_t
4677 removal. comment out call to update
4679 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4681 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4692 * dispatchresult.h: new file, DispatchResult broken out of
4695 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4697 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4699 * text.C (rowBreakPoint): put a hack inside #if 0
4701 2003-10-28 André Pönitz <poenitz@gmx.net>
4705 * paragraph_funcs.C:
4708 * text2.C: general cleanup (lots of small stuff)
4710 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4712 * text2.C (cursorEnd): simple fix to the "end key goes to one
4713 before the end on last row" bug
4715 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4717 * text.C (backspace): fix the "zombie characters"
4719 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4721 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4723 2003-10-27 André Pönitz <poenitz@gmx.net>
4725 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4727 * factory.C: handle new InsetPagebreak, InsetLine
4729 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4730 and move handling into new InsetPagebreak, InsetLine
4732 * BufferView_pimpl.C:
4734 * ParagraphParameters.C:
4735 * ParameterStruct.h:
4740 * paragraph_funcs.C:
4741 * paragraph_pimpl.C:
4747 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4750 * lyxrow_funcs.[Ch]:
4756 * text3.C: remove lastPos uses in favour of Row::endpos
4758 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4760 * undo.C (performUndoOrRedo): fix two crashes by setting a
4761 cursor by hand and reordering some calls. Use bv->lockInset instead
4762 of inset->edit because the latter loses cursor information
4764 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4766 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4768 (rowBreakPoint): fix width. change point to point + 1.
4769 Add a missing check.
4771 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4774 * lyxfunc.C: fix (at least partly) the problems
4775 with the Nav menu and headers inside branch insets
4778 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4780 * paragraph.C (getChar): add strong asserts
4782 * lyxrow_funcs.C (lastPos): remove hideous hack
4784 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4785 (fill): adjust to that (avoid an infinite loop)
4787 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4789 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4791 2003-10-23 André Pönitz <poenitz@gmx.net>
4793 * RowList_fwd.h: change list<> to vector<> to gain speed
4794 after suggestion from Alfredo
4796 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4798 * lyxtext.h: move the bidi stuff from here...
4801 * Bidi.[Ch]: ... to here
4803 2003-10-23 André Pönitz <poenitz@gmx.net>
4806 * text.C (isLastRow, isFirstRow): new functions
4808 * paragraph.h: new width cache member
4810 * rowpainter.C: replace RowList::iterator with Row & where possible
4812 * lyxfunc.C: replace several view()->text with a single call
4814 * toc.C: fix 'unused' warning
4816 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4819 when woring with stream::pos_type
4820 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4822 2003-10-22 André Pönitz <poenitz@gmx.net>
4825 * text.C: use Row & instead of RowList::iterator
4827 * lyxrow.h: rename end() to endpos()
4833 2003-10-22 Angus Leeming <leeming@lyx.org>
4835 * buffer.[Ch] (fully_loaded): new member function, returning true
4836 only when the file has been loaded fully.
4837 Used to prevent the premature generation of previews and by the
4838 citation inset to prevent computation of the natbib-style label.
4840 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4841 templates are all set up.
4843 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4845 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4847 * text.C: fixed an "oops" in the "is a bit silly"
4850 2003-10-21 André Pönitz <poenitz@gmx.net>
4852 * FuncStatus.[Ch]: small stuff, whitespace
4854 * lyxfont.[Ch]: operator<<() for debug reasons
4858 * lyxtext.h: whitespace, spelling
4860 * paragraph.C: naming of variables
4863 * text2.C: small stuff
4866 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4868 * text.C: (1) finish off the inset display() work;
4869 (2) fix the "is a bit silly" bug (accessing char
4872 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4874 * text.C: re-introduce display() for insets, fixing the
4875 various bugs (stretch of line above, math inset
4878 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4880 * text.C (rightMargin): remove spurious semicolon
4882 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4885 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4887 * text3.C: fix one crash due to wrong cursor def
4889 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * vc-backend.C (scanMaster): make the regex static
4893 * LaTeX.C (scanAuxFile): make the regexs static
4895 * text3.C (doInsertInset, dispatch, dispatch):
4896 * text2.C (cursorUp, cursorDown):
4897 * text.C (selectNextWordToSpellcheck):
4898 * BufferView_pimpl.C (dispatch):
4899 * lyxfunc.C (dispatch): localDispatch -> dispatch
4901 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4903 * lyxsocket.C: include <cerrno>
4905 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4907 * lyxfunc.C (dispatch): remove textcache stuff
4909 * bufferlist.C (release): remove textcache stuff
4912 * TextCache.C: delete file
4913 * TextCache.h: delete file
4915 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4917 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4918 delete of the bv_->text.
4919 (resizeCurrentBuffer): remove texcache stuff
4920 (workAreaResize): ditto
4922 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4927 2003-10-16 André Pönitz <poenitz@gmx.net>
4934 * text3.C: speed up by storing y positions per paragraph plus per-row
4935 offset instead of having a 'full' y position in the row.
4937 2003-10-15 André Pönitz <poenitz@gmx.net>
4941 * undo.[Ch]: make undo aware of inner insets
4943 2003-10-14 Angus Leeming <leeming@lyx.org>
4945 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4946 static member functions LyX::ref() and LyX::cref.
4947 (lastfiles): new accessor functions for the new lastfiles_ member var.
4948 (addLyXView, views_): add a new LyXView to the list of views_.
4949 (updateInset): loop over all LyXViews to call their own updateInset
4950 member function, returning a pointer to the Buffer owning the inset.
4952 * BufferView_pimpl.C (loadLyXFile):
4953 * MenuBackend.C (expandLastfiles):
4954 * bufferlist.C (MenuWrite, QuitLyX):
4955 lastfiles is no longer a global variable.
4956 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4958 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4959 static function. Access through LyX::cref().emergencyCleanup().
4961 2003-10-14 André Pönitz <poenitz@gmx.net>
4963 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4965 * undo.[Ch]: restoring part of 'undo in insets'
4968 * undo_funcs.[Ch]: merge with undo.[Ch]
4970 * tabular.C: small cleansing stuff
4972 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4974 * paragraph_funcs.C (readParToken): report unknown insets as error
4975 boxes. Use the outer paragraph as location (also for unknown
4978 * factory.C (readInset): do not abort on reading an unknown inset.
4979 Eat it and return 0.
4981 2003-10-13 Angus Leeming <leeming@lyx.org>
4983 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4985 * lyxrc.C: displayTranslator is now a function,
4986 declared in GraphicsTypes.h.
4988 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4990 * format.C: new placeholder $$a to pass the socket address.
4992 * bufferlist.[Ch]: new function getBufferFromTmp.
4994 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4995 files in the temporary dir.
4997 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4999 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5001 * Makefile.am: add lyxsocket.[Ch].
5003 * lyx_main.C (error_handler): handle SIGPIPE.
5005 2003-10-13 André Pönitz <poenitz@gmx.net>
5007 * BufferView_pimpl.C:
5012 * undo_funcs.[Ch]: use paroffset_type instead of
5013 ParagraphList::iterators to prevent multiple conversion
5014 (and get a more robust interface)
5016 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5020 * text3.C (dispatch): ditto
5022 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5024 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5025 move the onlyfile, use onlyfile instead of foundfile in a couple
5028 * DepTable.C (update): flush the error stream a bit more
5030 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * lyxserver.C (callback): adjust
5034 * lyxfunc.C (getStatus): add a missing brace in commented code
5035 (ensureBufferClean): reindent
5036 (dispatch): delete version taking a string
5038 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5040 * LaTeX.C (deplog): move found file handlig from here...
5041 (handleFoundFile): .. to new function here.
5042 (deplog): make sure to discover several files mentioned on the
5045 2003-10-10 André Pönitz <poenitz@gmx.net>
5052 * text3.C: fix some of the tabular crashes
5054 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5056 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5058 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5060 2003-10-09 André Pönitz <poenitz@gmx.net>
5062 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5065 * BufferView_pimpl.C:
5066 * bufferview_funcs.C:
5077 * undo_funcs.C: adjust
5079 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5081 * text2.C (incrementItemDepth): new function, use a backtracking
5082 algorithm to discover the correct item depth.
5083 (resetEnumCounterIfNeeded): new function, use a backtracking
5084 algorithm to discover if counter reset is needed.
5085 (setCounter): use them. Simplify a bit. Add different labels for
5086 different item depths for itemize.
5088 * paragraph.C (Paragraph): remove initialization of enumdepth
5091 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5092 enumerate and itemize. Change the type of itemdepth to signed char.
5094 2003-10-08 André Pönitz <poenitz@gmx.net>
5096 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5101 * tabular.[Ch]: fix crash after 'row-insert'
5103 2003-10-08 Angus Leeming <leeming@lyx.org>
5105 Fix doxygen warnings.
5107 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5108 Remove CutAndPaste:: prefix from header file declaration.
5110 * LColor.h (fill): remove LColor:: prefix from declaration.
5112 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5113 use lyx::depth_type rather than Paragraph::depth_type so that
5114 header file and .C file match.
5116 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5118 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5119 * aspell.C: \file aspell_local.C -> \file aspell.C
5120 * gettext.C: \file gettext.C -> \file src/gettext.C
5121 * gettext.h: \file gettext.h -> \file src/gettext.h
5122 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5123 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5124 * text.C: \file text.C -> \file src/text.C
5126 * toc.C: move comment so that doxygen is not confused.
5128 2003-10-07 Angus Leeming <leeming@lyx.org>
5130 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5132 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5135 * aspell_local.h: add forgotten std::string's.
5137 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5144 * text3.C: The Box patch. Fancybox support, minipage, parbox
5146 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5152 * ParagraphParameters.h:
5162 * lyxtextclasslist.h:
5165 * paragraph_pimpl.C:
5166 * textcursor.h: add <string> and other small fixes to make Lars'
5167 std::string patch compile with STLport.
5169 2003-10-06 Angus Leeming <leeming@lyx.org>
5171 * LColor.h: Add missing #include <string>.
5173 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * All most all file in all subdirs: Make <string> be the prefered
5176 way of getting to std::string, add using declarations.
5178 2003-10-06 André Pönitz <poenitz@gmx.net>
5180 * metricsinfo.C: initialize LyXFont before changing attribute.
5181 (fixes the 'math in \emph is upright' bug)
5183 2003-10-06 André Pönitz <poenitz@gmx.net>
5185 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5187 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5190 * paragraph_pimpl.C: Small fixes to build using STLport
5192 2003-10-02 André Pönitz <poenitz@gmx.net>
5195 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5197 2003-10-01 André Pönitz <poenitz@gmx.net>
5199 * factory.C: assert early
5201 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5203 * lyx_main.C: remove the global debug object
5205 * debug.h: adjust for new debugstream
5207 * debug.C: adjust for new debugstream and keep the global debug
5210 2003-09-22 Angus Leeming <leeming@lyx.org>
5212 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5213 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5214 an incomplete class LyXFont.
5216 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5218 * factory.C: bug fix in branches
5220 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5222 * lyxfunc.C (processKeySym): adjust
5224 (dispatch): change arg name from ev to func, adjust
5225 (sendDispatchMessage): ditto
5227 * lyx_main.C (defaultKeyBindings): adjust keybindings
5228 (deadKeyBindings): ditto
5230 * kbsequence.C (addkey): return a FuncRequest
5232 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5234 * kbmap.C (bind): take a FuncRequest as arg, adjust
5237 (defkey): change to take a FuncRequest as arg, adjust
5238 (findbinding): take a FuncRequest as arg, adjust.
5240 * funcrequest.h (operator=): added
5242 * funcrequest.C (FuncRequest): default kb_action changed from
5243 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5245 * buffer.C (dispatch): simplify
5246 (dispatch): adjust to take a FuncRequest as arg, adjust
5248 * boost.C (assertion_failed): change assertion message slightly
5250 * ToolbarBackend.C (read): simplify
5252 * MenuBackend.C (binding): adjust call to findbinding, add a
5253 message if no binding is found.
5255 (expandToc): correct by adding a empty FuncRequest
5257 * LyXAction.C: include <boost/assert.hpp>
5258 (isPseudoAction): delete function
5259 (LookupFunc): change name to...
5260 (lookupFunc): this. change return type to FuncRequest.
5261 (getActionName): take kb_action as arg, simplify
5262 (funcHasFlag): add an assert, simplify.
5264 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * toc.C (action): return a FuncRequest, simplify
5268 * lyxfunc.C (processKeySym): adjust
5269 (getStatus): delete version that takes an int.
5271 (dispatch): delete version that takes action as int
5273 (sendDispatchMessage): simplify and adjust
5275 * funcrequest.C (getArg): take unsigned int as arg
5277 * ToolbarBackend.C (read): adjust
5278 (add): delete version that takes func as a string.
5279 (getIton): take a FuncRequest as arg
5281 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5284 * MenuBackend.C (MenuItem): add a new construct that only takes a
5285 Kind, simplify the constructor use for submenus.
5287 (expandLastfiles): adjust
5288 (expandDocuments): adjust
5289 (expandFormats): adjust
5290 (expandFloatListInsert): adjust
5291 (expandFloatInsert): adjust
5292 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5294 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5295 Remove class variables lyx_pseudo_map and lyx_arg_map
5297 * LyXAction.C (searchActionArg): delete function
5298 (getPseudoAction): delete function
5299 (retrieveActionArg): delete function
5300 (LookupFunc): make it return kb_action, simplify.
5301 (getActionName): simplify
5303 * factory.C (createInset): fix new bug
5305 2003-09-19 Angus Leeming <leeming@lyx.org>
5307 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5308 masterFilename_ parameter in the include inset.
5310 * factory.C (createInset): changes due to the changes to InsetInclude.
5312 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5314 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5316 2003-09-18 Angus Leeming <leeming@lyx.org>
5319 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5320 Inset::fillWithBibKeys.
5321 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5323 2003-09-18 Angus Leeming <leeming@lyx.org>
5325 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5327 (ctor): pass and store a 'Buffer const &'
5328 (buffer): new member function.
5330 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5331 '*this' to the LaTeXFeatures ctor.
5333 2003-09-18 Angus Leeming <leeming@lyx.org>
5339 * text.C: rename EnumLColor as LColor_color.
5341 2003-09-18 Angus Leeming <leeming@lyx.org>
5343 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5344 remove #include "insets/insetbase.h" from cursor.h.
5346 2003-09-18 Angus Leeming <leeming@lyx.org>
5348 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5349 InsetOld_code to remove #include "inset.h".
5351 * iterators.C: add #include "insets/inset.h"
5353 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5355 * BufferView.C: remove more locking stuff that apparently doesn't
5356 do anything sensible.
5358 2003-09-16 André Pönitz <poenitz@gmx.net>
5361 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5364 2003-09-16 Angus Leeming <leeming@lyx.org>
5366 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5368 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5371 * paragraph.h: remove #include "lyxfont.h". Forward declare
5374 2003-09-16 Angus Leeming <leeming@lyx.org>
5376 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5377 of support/textutils.h.
5378 (isWord): move the contents of support/textutils.h's IsWordChar here.
5384 * text2.C: add #include "paragraph.h".
5387 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5389 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5395 * LaTeX.C: use namespace alias for lyx::support::os
5397 2003-09-16 Angus Leeming <leeming@lyx.org>
5400 * bufferview_funcs.C:
5403 * paragraph_pimpl.C:
5405 * text.C: add #include "LColor.h".
5407 2003-09-16 Angus Leeming <leeming@lyx.org>
5409 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5410 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5412 Store the FontBits::color variable as an int rather than as an
5413 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5416 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5417 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5418 string calls together.
5420 * lyxrc.C: add #include "LColor.h".
5422 2003-09-15 Angus Leeming <leeming@lyx.org>
5424 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5427 2003-09-15 Angus Leeming <leeming@lyx.org>
5429 * LColor.h: add an EnumLColor wrapper for LColor::color.
5431 * lyxfont.[Ch] (color, setColor, realColor):
5432 * lyxtext.h, text.C (backgroundColor):
5433 pass EnumLColor args to/from the functions, rather than LColor::color
5437 * lyxtext.h: forward declare EnumLColor.
5439 * lyx_main.C: add #include "LColor.h".
5441 2003-09-15 Angus Leeming <leeming@lyx.org>
5443 * .cvsignore: add lyx-gtk.
5445 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5450 * ParagraphParameters.C
5454 * bufferview_funcs.C
5464 * vc-backend.C: remove usage of STRCONV
5466 2003-09-15 Angus Leeming <leeming@lyx.org>
5468 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5469 explicitly define the color passed to the painter.
5471 2003-09-15 Angus Leeming <leeming@lyx.org>
5473 * bufferparams.C (BufferParams): reorder member initializers to avoid
5476 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5478 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5479 * text.C (updateRowPositions): remove an unusual nop
5481 2003-09-12 André Pönitz <poenitz@gmx.net>
5483 * BufferView_pimpl.C:
5492 * Counters.[Ch]: finish the 'automatic counters' job
5494 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5496 * aspell.C: include <boost/assert.cpp> (compile fix)
5498 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5500 * boost.C (assertion_failed): use lyx::support::abort instead of
5503 2003-09-10 Angus Leeming <leeming@lyx.org>
5505 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5506 with their _fwd progeny.
5508 2003-09-09 Angus Leeming <leeming@lyx.org>
5510 134 files throughtout the source tree: replace 'using namespace abc;'
5511 directives with the appropriate 'using abc::xyz;' declarations.
5513 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5515 * boost.C (emergencyCleanup): moved here from LAssert.c
5516 (assertion_failed): new function, called by BOOST_ASSERT
5518 * several files: change Assert to BOOST_ASSERT
5520 2003-09-09 Angus Leeming <leeming@lyx.org>
5522 * buffer.[Ch]: Add an Impl class and move Buffer's member
5523 variables into it. As a result move several header files out of
5526 Add header files to lots of .C files all over the tree as a result.
5528 2003-09-09 Angus Leeming <leeming@lyx.org>
5530 * buffer.[Ch]: make Buffer's member variables private. Add
5533 Lots of changes all over the tree as a result.
5535 2003-09-08 Angus Leeming <leeming@lyx.org>
5537 * graph.C: #include <config.h>.
5539 2003-09-08 Angus Leeming <leeming@lyx.org>
5543 * BufferView_pimpl.C:
5572 * toc.C: remove redundant using directives.
5574 2003-09-07 Angus Leeming <leeming@lyx.org>
5576 * LaTeXFeatures.h: remove #include "support/types.h".
5577 * ToolbarBackend.h: remove #include <algorithm>.
5578 * changes.h: remove #include <ctime>.
5579 * debug.h: remove #include <iosfwd>.
5580 * graph.h: remove #include "support/std_string.h".
5581 * lyx_main.h: remove #include <csignal>.
5582 * lyxlex_pimpl.h: remove #include <fstream>.
5583 * sgml.h: remove #include <algorithm>, <utility>.
5584 * toc.h: remove #include "support/std_ostream.h".
5585 Add #include <iosfwd>.
5587 2003-09-07 Angus Leeming <leeming@lyx.org>
5589 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5591 * converter.h: forward declare LatexRunParams.
5592 * encoding.h: remove #include "lyxrc.h".
5593 * lyxtext.h: remove #include "LColor.h".
5594 * lyxtextclass.h: remove #include "support/types.h".
5595 * trans.h: remove #include "tex-accent.h".
5596 * trans_mgr.h: remove #include "tex-accent.h".
5597 * insets/inset.h: remove #include "support/types.h", <vector>.
5598 * insets/insetcollapsable.h: remove #include "LColor.h".
5599 * insets/insetinclude.h: remove #include "dimension.h".
5600 * insets/insetlatexaccent.h: remove #include "dimension.h".
5601 * insets/insetoptarg.h:: remove #include "insettext.h".
5602 * insets/insettext.h: remove #include "dimension.h",
5603 <boost/shared_ptr.hpp>
5605 * insets/renderers.h: add #include "dimension.h".
5606 * insets/updatableinset.h: add #include "support/types.h".
5608 * many .C files: Associated changes.
5610 2003-09-06 Angus Leeming <leeming@lyx.org>
5612 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5613 one, inside testInvariant.
5615 * PrinterParams.C: new file.
5616 * PrinterParams.[Ch]: move the function bodies out of line.
5618 2003-09-06 Angus Leeming <leeming@lyx.org>
5620 * ParagraphParameters.h: forward declare ParameterStruct rather than
5621 including its header file.
5622 (depth): moved out-of-line.
5624 2003-09-06 Angus Leeming <leeming@lyx.org>
5626 * BufferView_pimpl.h:
5629 * lyxfunc.h: forward declare LyXKeySym rather than
5630 #include "frontends/LyXKeySym.h".
5632 * BufferView_pimpl.C:
5635 * lyxfunc.C: associated changes.
5637 2003-09-06 Angus Leeming <leeming@lyx.org>
5639 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5640 As a result, can remove the #include "insets/inset.h" from BufferView.h
5642 2003-09-06 Angus Leeming <leeming@lyx.org>
5644 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5645 As a result, can remove the #include "insets/inset.h" from BufferView.h
5647 2003-09-06 Angus Leeming <leeming@lyx.org>
5653 * bufferview_funcs.C:
5654 * BufferView_pimpl.C:
5659 * ParagraphParameters.C:
5664 * frontends/controllers/ControlDocument.C:
5665 * insets/insetcaption.C: rearrange the #includes into some sort of
5668 * buffer.h: remove #includes ErrorList.h, undo.h
5670 2003-09-06 Angus Leeming <leeming@lyx.org>
5672 * support/types.h: add a 'depth_type' typedef, used to store the
5673 nesting depth of a paragraph.
5676 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5677 defining explicitly.
5680 * paragraph_funcs.h:
5681 * ParagraphParameters.h:
5682 * sgml.h: use lyx::depth_type rather than Paragraph or
5683 ParameterStruct's depth_type.
5686 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5689 * BufferView_pimpl.C:
5691 * ParagraphParameters.C:
5694 * bufferview_funcs.C:
5701 * frontends/LyXView.C:
5702 * frontends/controllers/ControlDocument.C:
5703 * frontends/controllers/ControlErrorList.C:
5704 * insets/insetbibitem.C:
5705 * insets/insetbranch.C:
5706 * insets/insetcaption.C:
5707 * insets/insetcollapsable.C:
5708 * insets/insetenv.C:
5709 * insets/insetert.C:
5710 * insets/insetfloat.C:
5711 * insets/insetfoot.C:
5712 * insets/insetfootlike.C:
5713 * insets/insetnewline.C:
5714 * insets/insetquotes.C:
5715 * insets/insettabular.C:
5716 * insets/insettext.C:
5717 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5719 * frontends/controllers/ControlChanges.C: #include "changes.h".
5721 2003-09-06 Angus Leeming <leeming@lyx.org>
5723 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5724 than #including paragraph.h.
5727 * RowList.h: deleted. Superfluous.
5737 * insets/insettext.h: use ParagraphList_fwd.h rather than
5740 * paragraph.h: don't forward declare ParagraphList.
5743 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5744 rather than ParagraphList.h. paragraph.h is still needed for the
5745 Paragraph::depth_type parameters.
5747 * textcursor.h: enable it to compile stand-alone in light of the
5750 * bufferview_funcs.C:
5762 * frontends/controllers/ControlParagraph.C:
5763 * frontends/controllers/ControlTabular.C:
5764 * insets/insetmarginal.C:
5765 * insets/insetminipage.C:
5766 * insets/insetnote.C:
5767 * insets/insetoptarg.C: add header files needed to compile again.
5769 2003-09-06 Angus Leeming <leeming@lyx.org>
5771 * RowList_fwd.h: new file, forward-declaring Row rather than
5772 #including lyxrow.h.
5777 * insets/insettext.h: use it instead of RowList.h
5779 * bufferview_funcs.C:
5786 * text3.C: #include "RowList.h".
5788 2003-09-05 Angus Leeming <leeming@lyx.org>
5790 * factory.C (createInset):
5791 * vspace.C (c-tor): replace sscanf call with an istringstream.
5792 * ispell.C: re-add missing HP/UX headers.
5793 * lyxserver.C: re-add missing os2 headers.
5795 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5804 * text3.C: re-add missing system headers, needed for 2.95.2.
5806 2003-09-05 Angus Leeming <leeming@lyx.org>
5808 Changes most place everywhere due to the removal of using directives
5809 from support/std_sstream.h.
5811 2003-09-05 Angus Leeming <leeming@lyx.org>
5813 Replace LString.h with support/std_string.h,
5814 Lsstream.h with support/std_sstream.h,
5815 support/LIstream.h with support/std_istream.h,
5816 support/LOstream.h with support/std_ostream.h.
5818 Changes resulting throughout the tree.
5820 2003-09-05 Angus Leeming <leeming@lyx.org>
5822 * sgml.h: ensure that the header file can be compiled stand-alone.
5823 * *.C: strip out redundant #includes. (320 in total.)
5825 2003-09-04 Angus Leeming <leeming@lyx.org>
5827 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5828 here (from getPackages).
5830 * debug.[Ch]: add a new EXTERNAL tag.
5832 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5834 * text2.C (cursorEnd): simplify
5836 (getColumnNearX): adjust
5838 * text.C (computeBidiTables): adjust
5841 * rowpainter.C (paintChars): adjust
5842 (paintSelection): adjust
5843 (paintChangeBar): adjust
5846 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5848 (numberOfSeparators): adjust
5850 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5856 * text3.C: Restricts the mouse click functionality
5857 of insets like bibtex, include, toc and floatlist to the visible
5858 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5859 up the dialogs. Cursor has to be in front of the inset (i.e.
5860 start of row) for this to function.
5862 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5864 * bufferview_funcs.C (currentState): output row information
5866 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5868 * bufferview_funcs.C (currentState): output paragraph position
5870 2003-09-04 Angus Leeming <leeming@lyx.org>
5872 * FloatList.h: move out #include "Floating.h".
5873 * LaTeX.h: move out #include "DepTable.h".
5874 * LyXAction.h: move out #include "funcrequest.h".
5875 * buffer.h: move out #include "author.h", "iterators.h".
5876 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5877 * lyx_main.h: move out #include "errorlist.h".
5878 * lyxfunc.h: move out #include "FuncStatus.h".
5879 * lyxtext: move out #include "lyxcursor.h".
5880 * paragraph_pimpl.h: move out #include "counters.h".
5882 2003-09-03 Angus Leeming <leeming@lyx.org>
5884 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5885 preamble_snippets list, enabling us to add snippets to the preamble
5886 only if the snippet was not there already.
5888 2003-09-04 Angus Leeming <leeming@lyx.org>
5890 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5892 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5897 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5899 * BranchList.C: point fix, earlier forgotten
5901 2003-09-02 Angus Leeming <leeming@lyx.org>
5903 * box.C (contains): renamed from 'contained' after a fantastic
5906 2003-09-02 John Levon <levon@movementarian.org>
5912 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5914 2003-09-02 John Levon <levon@movementarian.org>
5916 * text2.C: simplification of cursorEnd(), including partial
5919 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * buffer.C (readFile): add a space
5923 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5925 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5927 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * buffer.C (readFile): new function, take a filename and a
5930 ParagraphList::iterator
5932 (readFile): adjust, make it private. don't use setStream, make
5933 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5934 always contain the filename.
5936 * BufferView.C (insertLyXFile): simplify and make it work for
5939 2003-08-30 John Levon <levon@movementarian.org>
5941 * Makefile.am: fix dist (from Kayvan)
5943 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * most files: change to use const Buffer refs
5947 2003-08-27 André Pönitz <poenitz@gmx.net>
5949 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5950 on top of ownerPar().
5952 2003-08-27 John Levon <levon@movementarian.org>
5954 * funcrequest.C: properly initialise POD members
5956 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5958 * lyxtext.h (top_y): move top_y from here
5963 * BufferView_pimpl.[Ch]: to here
5964 * frontends/screen.C:
5965 * insets/insettabular.C:
5966 * insets/insettext.C: adjust
5967 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5969 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5972 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5974 2003-08-26 André Pönitz <poenitz@gmx.net>
5976 * paragraph_func.[Ch] (outerPar): new function
5979 * paragraph_funcs.C:
5980 * paragraph_funcs.h:
5981 * paragraph_pimpl.C:
5982 * text2.C: remove Inset::par_owner
5984 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5989 * text2.C: eliminates the needFullRow/display() stuff
5990 altogether, putting the logic in metrics/draw in the insets.
5992 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5994 * text2.C (redoParagraphInternal, redoParagraphs):
5995 * text.C (redoParagraph): add a call to updateRowPositions at the
5996 end of each 'metrics-like' call. Remove all others.
5997 (getRow): remove the 'y-computing' version.
5998 (getRowNearY): do not compute nor return the real y. Solve the
5999 'y < 0' problem and simplify.
6001 2003-08-22 Angus Leeming <leeming@lyx.org>
6003 * *.[Ch]: clean-up of licence and author blurbs.
6004 Also move config.h out of a few .h files and into a few .C files.
6006 2003-08-22 André Pönitz <poenitz@gmx.net>
6008 * lyxrow.[Ch]: add x_ and *fill_ members
6013 * text2.C: adjust/remove prepareToPrint() calls
6015 2003-08-22 André Pönitz <poenitz@gmx.net>
6017 * lyxrow.[Ch]: add end_ member
6019 * lyxrow_funcs.C: use LyXRow::end_
6021 * lyxtext.h (singleWidth): add LyXFont parameter
6024 * text2.C: adjust LyXText::singleWidth() calls
6026 * text.C (redoParagraph): simplify row breaking logic
6029 2003-08-19 André Pönitz <poenitz@gmx.net>
6031 * funcrequest.C: initialize button_ member
6034 * rowpainter.[Ch]: interface consolidation
6036 2003-08-18 André Pönitz <poenitz@gmx.net>
6039 * BufferView_pimpl.C:
6041 * paragraph_funcs.C:
6043 * text3.C: remove LyXScreen::draw() and fitCursor calls
6045 * BranchList.h: remove spurious semicolons
6047 * MenuBackend.C: fix branchlist related crash
6049 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6057 * bufferparams.[Ch]:
6061 * text3.C: implements the 'branch inset'
6062 idea. This allows the output of various versions of a document
6063 from a single source version, selectively outputing or suppressing
6064 output of parts of the text.
6065 This implementation contains a 'branch list editor' in a separate
6066 tab of the document settings dialog. Branches are user definable
6067 and have a "display colour" to distinguish them on-screen.
6069 ColorHandler was somewhat cleaned up.
6070 (1) make possible a dynamically growing LColor list by allowing
6071 the graphic context cache to grow along (vector);
6072 (2) eliminate an IMHO unnecessary step in colour allocation.
6074 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6076 * BufferView_pimpl.C: compile fix
6078 2003-08-15 André Pönitz <poenitz@gmx.net>
6080 * rowpainter.C: remove extra metrics calls
6082 * lyxtext.h: merge the two constructors into a single one,
6083 pass reference to owner's par list
6085 * BufferView_pimpl.C:
6089 2003-08-15 André Pönitz <poenitz@gmx.net>
6091 * lyxrow_funcs.[Ch]:
6094 * paragraph_funcs.C:
6099 * text_funcs.C: split LyXText::rowlist_ into individual
6100 Paragraph::rows_ chunks
6103 * BufferView_pimpl.[Ch]:
6106 * text3.C: remove toggleSelection()
6108 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6110 * bufferlist.C: beautify two alerts (shorter text of buttons)
6111 * buffer.C: Remove redundant ' ' from message
6113 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6114 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6115 rename VALIGN_CENTER to VALIGN_MIDDLE
6117 2003-08-11 André Pönitz <poenitz@gmx.net>
6119 * lyxtext.h (getPar):
6120 * text.C: new function
6122 2003-08-11 André Pönitz <poenitz@gmx.net>
6125 * tracer.[Ch]: remove unneeded files
6127 * InsetList.[Ch]: remove resizeInsetsLyXText()
6132 * text3.C: merge insertParagraphs() and appendParagraph()
6133 remove breakAgain(), update()
6135 * BufferView_pimpl.[Ch]:
6136 * bufferview_funcs.[Ch]:
6140 * tabular.C: adjust after text & InsetList changes.
6142 2003-08-08 André Pönitz <poenitz@gmx.net>
6144 * text.C (insertChar, backspace): replace rowlist fiddling
6145 with rebreak of full par
6148 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6149 checkParagraph, updateInset): removed
6151 2003-08-07 André Pönitz <poenitz@gmx.net>
6154 * text3.C: merge some LFUN handlers, remove dead code
6156 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6158 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6160 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6162 * text2.C (DEPM): fix part of bug 1255 and 1256
6164 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6166 * BufferView_pimpl.C (workAreaDispatch): change to use
6167 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6168 that are no mouse related.
6170 2003-08-05 André Pönitz <poenitz@gmx.net>
6173 * BufferView_pimpl.[Ch]:
6174 * bufferview_funcs.C:
6176 * text3.C: rip out "deep update"
6178 * textcursor.[Ch] (last_sel_cursor): remove unused member
6180 2003-08-04 André Pönitz <poenitz@gmx.net>
6183 * BufferView_pimpl.[Ch]:
6184 * ParagraphParameters.C:
6185 * bufferview_funcs.C:
6191 * text3.C: replace "complicated" BufferView::update(...) calls with
6194 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6196 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6198 * Makefile.am (lyx_SOURCES): add paper.h
6200 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6202 * Makefile.am: move things around so that both lyx-qt and
6203 lyx-xforms can be built (according to --with-frontend). Then lyx
6204 is a symbolic link to lyx-[firstfrontend]
6206 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6208 * Always use std::endl with lyxerr
6210 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6212 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6214 2003-08-01 André Pönitz <poenitz@gmx.net>
6217 * BufferView_pimpl.[Ch]:
6219 * text3.C: merge BufferView::repaint() and BufferView::update()
6221 2003-08-01 José Matos <jamatos@lyx.org>
6223 * buffer.[Ch]: file_format is no longer a buffer data element.
6225 2003-08-01 André Pönitz <poenitz@gmx.net>
6230 * text2.C: make redoParagraph more independent of current cursor
6232 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6234 * text2.C: remove unneeded members
6236 2003-07-30 André Pönitz <poenitz@gmx.net>
6238 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6240 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6241 create a single function...
6243 * paragraph_funcs.C (moveItem): ... here.
6246 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6248 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6250 * LColor.[Ch]: Add comment and greyedout logical colors.
6252 2003-07-30 André Pönitz <poenitz@gmx.net>
6254 * tabular.C: don't use Assert too heavily. This crashes where it
6257 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6259 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6260 is disabled (bug 1232)
6262 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6264 * factory.C: limited 'arg' scope
6266 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6268 * factory.C: fixed Note submenu issues
6270 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6272 * factory.C: submenu for Note/Comment/Greyedout
6274 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6277 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6279 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6282 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6283 greyedout. Patch provided by Jürgen Spitzmüller.
6285 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6287 * kbmap.C (read): fix error message when reading bind files
6289 2003-07-29 Angus Leeming <leeming@lyx.org>
6291 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6292 certainly does not do what it purports to do. I am doing it, and
6293 us, a favour by killing it.
6295 2003-07-28 José Matos <jamatos@lyx.org>
6297 * buffer.C (readBody, do_writeFile):
6298 * paragraph.C(readParagraph): \end_document replaces \the_end.
6300 2003-07-29 André Pönitz <poenitz@gmx.net>
6303 * BufferView_pimpl.[Ch]:
6307 * textcursor.[Ch]: remove toggleToggle & Co
6309 2003-07-28 José Matos <jamatos@fep.up.pt>
6311 * buffer.C (readParagraph):
6312 * params_func (readParToken, readParagraph):
6313 * paragraph.C (write): \layout -> \begin_layout.
6315 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * lyxlex_pimpl.C (setFile): clean up slightly.
6319 * bufferparams.h: add compressed var
6321 * buffer_funcs.C (readFile): adjust for LyXLex change
6322 (newFile): ditto + simplify
6324 * buffer.C (writeFile): handle writing of compressed files
6326 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6327 Check if the file is compressed and set a bufferparm if so.
6329 * Makefile.am (lyx_LDADD): remove explicit -lz
6331 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6333 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6334 makeDocBookFile): put the real LyX version in the first line of
6338 * version.C.in: remove lyx_docversion
6340 * tabular.C (write_attribute): add a template-based version to
6341 write enums properly
6343 2003-07-28 André Pönitz <poenitz@gmx.net>
6348 * text3.C: use doubles again for x-coordinates. They are needed.
6350 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * messages.C (getLocaleDir): use lyx_localedir()
6354 * lyxlex_pimpl.C (setFile): compress stuff
6356 * buffer.C (writeFile): add some compression stuff
6357 (do_writeFile): new func, dont call expliti close... will this
6360 * Makefile.am (lyx_LDADD): add -lz
6362 2003-07-28 José Matos <jamatos@fep.up.pt>
6364 * buffer.C: increment file format.
6365 * paragraph_funcs (readParagraph, readParToken):
6366 * paragraph.C (readParagraph): add \end_layout.
6368 2003-07-27 Angus Leeming <leeming@lyx.org>
6370 * Makefile.am: remove special casing for configure-time setting of
6371 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6373 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6374 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6376 2003-07-26 André Pönitz <poenitz@gmx.net>
6378 * paragraph_func.[Ch]:
6379 * paragraph.C (realizeFont): inline it whereever it is used
6384 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6387 2003-07-26 André Pönitz <poenitz@gmx.net>
6391 * text2.C: get rid of LyXText::need_break_row
6393 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6395 * toc.[Ch]: put namespace toc inside namespace lyx
6397 * MenuBackend.C (expandToc2): adjust for lyx::toc
6400 * lyxfunc.C (dispatch): adjust for lyx::find
6402 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6403 lyx::find instead. Reorganize a bit.
6404 (LyXReplace): rename to replace
6405 (LyXFind): rename to find
6407 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6410 2003-07-26 André Pönitz <poenitz@gmx.net>
6412 * text.C (setHeightOfRow): restrict scope of temporary variable
6414 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6415 code (never has been used?)
6417 2003-07-27 Asger Alstrup <alstrup@local>
6419 * text.C (fill): Optimise algorithm to exploit that we can reuse
6420 the LyXFont for many characters.
6421 (setHeightOfRow): Same thing.
6422 (rowBreakPoint): Same thing.
6424 2003-07-26 Asger Alstrup <alstrup@local>
6426 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6428 * text.C (singleWidth): Spurious font copying in hot-spot
6429 singleWidth avoided. Reorder tests for arabic for efficiency.
6431 * text.C (fill): handle empty paragraphs better.
6433 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6436 * encoding.h: add includes
6438 * lyxrc.C: remove reading of bind files
6440 * lyx_main.C (init): setup bindings and menus only if we have a
6443 * kbmap.C (read): new method. Do the actual reading of bind
6446 * converter.C (dvipdfm_options):
6449 (output): adapt PAPER_* enums.
6451 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6453 * bufferparams.h: remove paper-related enums from there
6455 * paper.h: New file. A trivial header file to hold paper-related
6456 enums. It should later expand to contain many paper-related
6459 * lyxrc.C: declare extern displayTranslator
6461 2003-07-27 José Matos <jamatos@fep.up.pt>
6463 * tabular.[Ch] (linuxdoc): add support for tables and figures
6466 2003-07-27 José Matos <jamatos@fep.up.pt>
6468 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6469 consistency in both functions.
6470 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6472 2003-07-26 Asger Alstrup <alstrup@local>
6474 * rowpainter.C (paintRows): Change algorithm to work directly on
6475 the insets rather than asking every character in the document
6476 whether its an inset.
6478 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6480 * buffer.C (openFileWrite): factorize some code
6482 2003-07-26 Angus Leeming <leeming@lyx.org>
6485 * lyx_main.[Ch]: replace occurances of system_tempdir with
6488 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * rename Inset to InsetOld
6492 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6494 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6495 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6496 which I think is a bit clearer. EDIT is gone, since it was
6497 premature optimisation, and broken for mathed anyway.
6498 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6499 with cursor positioning in insets as well (math insets still do not
6500 work, but that's a different story anyway.) It mysteriously
6501 crashes sometimes with undo in the first paragraph, but I'm fairly
6502 confident that this is a compiler bug.
6504 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * paragraph.C (Paragraph): adjust for new clone return type
6508 (copyIntoMinibuffer): ditto
6510 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6512 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6513 by not having a special case, and always doing a full rebreak of
6514 the document after undo.
6516 2003-07-23 Angus Leeming <leeming@lyx.org>
6518 * factory.C (createInset): InsetExternal::setParams now takes a
6521 2003-07-23 Angus Leeming <leeming@lyx.org>
6523 * factory.C (createInset): changed interface to the external and
6524 graphics mailers' string2params functions.
6526 2003-07-23 Angus Leeming <leeming@lyx.org>
6528 * factory.C (createInset): pass a
6529 Buffer const * parameter to InsetExternalMailer's string2params.
6531 2003-07-22 John Levon <levon@movementarian.org>
6533 * Thesaurus.h: include the right aiksaurus header
6535 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6537 * MenuBackend.C (expand): check menu shortcuts unconditionally
6539 2003-07-21 Angus Leeming <leeming@lyx.org>
6541 * factory.C (createInset): pass a
6542 buffer_path parameter to InsetGraphicsMailer's string2params.
6544 2003-07-21 Angus Leeming <leeming@lyx.org>
6546 * BufferView_pimpl.C (buffer):
6549 * lyxfunc.C (dispatch):
6550 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6551 rather than the grfx shortcut.
6553 2003-07-21 André Pönitz <poenitz@gmx.net>
6555 * rowpainter.C: remove unused variables
6558 * tabular_funcs.h: move to tabular.C
6559 * Makefile.am: adjust
6561 * tabular.[Ch]: basic optical cleaning
6563 * author.h: pass references, not values
6565 2003-07-18 André Pönitz <poenitz@gmx.net>
6573 * text3.C: two-phase drawing for InsetText and InsetTabular
6574 some float -> int changes.
6576 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6578 * lyx_main.C: fix the fix
6580 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6582 * lyx_main.C: fix a crash in batch mode if no files specified
6585 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6587 * format.[Ch] (papersize): moved to BufferParams
6588 * converter.[Ch] (dvips_options): moved to BufferParams
6589 (dvipdfm_options): moved to anon namespace
6590 * bufferparams.[Ch]: added above functions.
6592 2003-07-17 André Pönitz <poenitz@gmx.net>
6596 * text2.C: don't call inset->update() anymore
6598 * metricsinfo.[Ch]: add convenience constructor
6600 2003-07-16 André Pönitz <poenitz@gmx.net>
6605 * text2.C: replace the LyXCursor::irow_ member with
6606 on-demand computation of the value
6608 2003-07-16 John Levon <levon@movementarian.org>
6610 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6612 2003-07-15 André Pönitz <poenitz@gmx.net>
6615 * text2.C: remove no more needed refresh_row
6617 2003-07-15 André Pönitz <poenitz@gmx.net>
6622 * text3.C: refresh_status tristate -> need_update bool
6624 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6626 * lyxtext.h (init): remove reinit argument (act as if always true)
6627 * text2.C: adjust to that
6629 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6631 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6632 * text3.C: use it to delete selections in some cases
6633 (bugs 441, 673, 702, 954).
6635 2003-07-14 André Pönitz <poenitz@gmx.net>
6637 * rowpainter.[Ch]: reduce interface
6639 2003-07-14 André Pönitz <poenitz@gmx.net>
6641 * BufferView_pimpl.C:
6642 * text2.C: adjust after removing unused BufferView * argument
6644 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6646 * text2.C (init): fix a crash fired on resize
6648 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6650 * buffer.[Ch]: added new closing signal
6651 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6652 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6653 BufferView::Pimpl via the closing the signal
6655 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6657 * buffer.[Ch]: take out all bv-related from buffer
6659 * BufferView_pimpl.[Ch]: connect to new signals
6660 * CutAndPaste.C: removed useless asserts
6661 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6664 * lyxfunc.C: moved view-related funciontality from vc here
6665 * paragraph.C: removed outdated comments
6668 2003-07-10 André Pönitz <poenitz@gmx.net>
6670 * BufferView_pimpl.C:
6674 * text2.C: remove InsetText::InnerCache, clean up consequences
6676 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6678 * ispell.C: fix two typos in error messages
6680 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6682 * Extend Note inset to other forms of annotation like Comment
6683 and Greyedout. Right button click gives dialog.
6685 Files modified or added (+):
6689 * ControlNote.[Ch] +
6691 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6692 frontends/controllers
6696 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6698 * aspell.C: add missing namespace lyx::support
6700 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6702 * BufferView.[Ch] (newFile): Add
6703 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6704 * LaTeX.[Ch] (message): added this signal and use it
6705 * buffer.[Ch] (busy, message): added these signals and use them
6706 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6710 * importer.C: use buffer signals instead of direct bv calling
6711 * lyx_cb.[Ch] (ShowMessage): removed
6714 * paragraph_funcs.C:
6715 * text2.C: use buffer signals
6717 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6719 * introduce namespace lyx::graphics
6721 2003-07-02 André Pönitz <poenitz@gmx.net>
6723 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6725 2003-07-01 André Pönitz <poenitz@gmx.net>
6732 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6733 text*.C to text_func.C
6735 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6737 * introduce namespace lyx::support
6739 2003-06-30 André Pönitz <poenitz@gmx.net>
6744 * text.C: re-enable --with-included-string
6746 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * textcursor.C: add <config.h>
6750 * text.C (getWord): remove const from word_location arg
6752 * lyxvc.C (getLogFile): fix const type order
6754 * lyxtext.h: remove const from word_location arg, add arg name
6756 * lyxlayout.h: currect type on labeltype.
6758 * importer.C: correct \file
6760 * converter.C (intToFormat): use std:: on ret val, ws changes
6762 * bufferlist.h: correct \file
6764 * buffer.C (makeLinuxDocFile): fix const type order
6765 (makeDocBookFile): ditto
6766 (fillWithBibKeys): use std:: on stdlib args.
6768 * CutAndPaste.C: fix authors.
6769 (availableSelections): use std:: on return vector
6771 2003-06-27 André Pönitz <poenitz@gmx.net>
6773 * BufferView_pimpl.C:
6774 * bufferview_funcs.C:
6782 * text3.C: remove LyXCursor::row_ member
6785 * text.C: rename fullRebreak() to partialRebreak() and implement
6786 a fullRebreak() that really bereks fully
6788 * textcursor.h: new struct for cursor-related data
6790 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6792 * lyx_main.C (LyX): get full path of document loaded on the
6795 2003-06-26 André Pönitz <poenitz@gmx.net>
6797 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6798 remove unused/broken operator>,<,>=.
6800 * text.C: remove only use of broken operator<= in an Assert().
6802 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6804 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6805 moved errorlist_.clear to showErrorList
6807 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6809 * converter.C (scanLog, runLaTeX):
6810 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6811 move the bv->showErrorList call to the callers
6812 * lyxfunc.C: i.e. here...
6814 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6815 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6816 namespace, the second to...
6817 * buffer_funcs (BufferFormat, parseErrors): added
6818 * errorlist.C (ErrorList(TeXErrors const &)): removed
6820 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6822 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6824 2003-06-24 "Garst R. Reese" <reese@isn.net>
6828 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6830 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6832 * version.C.in: change docversion to 1.4
6834 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6836 * buffer.C: fix a bug just introduced
6838 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6840 * buffer.[Ch]: added the parseError signal and use it, removed
6842 * BufferView.[Ch] (addError): moved to ...
6843 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6844 to the Buffer::parseError signal to catch (guess what) parse errors
6845 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6847 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6849 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6850 ability to create a buffer and to return an existing one from
6851 the list. Moved these functions to...
6852 * buffer_funcs.[Ch]: added
6853 * BufferView.[Ch] (loadLyXFile): added
6854 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6855 job removed from bufferlist::loadLyXFile.
6856 * buffer.C (setReadOnly): make it work without view
6857 (i.e added an if (users))
6859 2003-06-19 Angus Leeming <leeming@lyx.org>
6862 * LyXAction.C (init):
6863 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6864 with LFUN_DIALOG_SHOW <name> <data>.
6866 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6868 * CutAndPaste.C (availableSelections): small compilation fix for
6869 ancient (gcc 2.9x) compilers
6871 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6873 * text3.C (cursorNext): add tmp var
6875 * text2.C (updateCounters): for function calling out of for clause
6876 (replaceSelectionWithString): ditto
6877 (insertStringAsParagraphs): ditto
6878 (getColumnNearX): add tmp var
6879 (setCursorFromCoordinates): add tmp var
6880 (cursorDownParagraph): add tmp var
6881 (deleteEmptyParagraphMechanism): add tmp var
6883 * text.C (insertChar): add tmp var
6885 * rowpainter.C (paintDepthBar): add tmp var
6887 * CutAndPaste.C (availableSelections): potentially check all
6888 paragraphs in a cut to fill the shown strings.
6890 2003-06-18 André Pönitz <poenitz@gmx.net>
6892 * kbmap.[Ch]: use vector<> instead of list<>
6894 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6896 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6897 pasteSelection with index
6899 * text2.C (pasteSelection): modify, call pasteSelection with index
6901 * paragraph.C (asString): reimplement version with no interval to
6902 call the one with interval.
6904 * lyxtext.h: add index arg to pasteSelection
6906 * MenuBackend.C (MenuItem): handle PasteRecent
6907 (Menu::read::Menutags): add md_pasterecent
6909 (expandPasteRecent): new function
6912 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6914 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6916 (availableSelections): new function
6918 2003-06-17 Angus Leeming <leeming@lyx.org>
6920 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6922 2003-06-17 Angus Leeming <leeming@lyx.org>
6925 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6927 * lyxfunc.C (dispatch): invoke it.
6929 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6931 * iterators.C (operator++, ParPosition): reintroduce some
6932 const_cast for the benefit of older compilers.
6934 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6936 * text3.C (dispatch): do not modify clipboard when doing
6937 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6938 LFUN_DELETE_SKIP on a selection selection
6940 2003-06-16 André Pönitz <poenitz@gmx.net>
6946 * tabular.[Ch]: IU of clone() and getLabelList();
6948 2003-06-13 André Pönitz <poenitz@gmx.net>
6950 * tabular.h: compactification
6952 2003-06-12 André Pönitz <poenitz@gmx.net>
6956 * tabular_funcs.h: some renaming plus whitespace
6958 2003-06-12 André Pönitz <poenitz@gmx.net>
6961 * BufferView_pimpl.C:
6967 * toc.C: Return a Paragraph & for ParIterator::operator*()
6969 2003-06-11 John Levon <levon@movementarian.org>
6973 * ToolbarBackend.C: add "Toolbars" section and
6976 2003-06-10 Angus Leeming <leeming@lyx.org>
6979 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6981 * lyxfunc.C (dispatch): invoke it.
6983 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6985 * main.C: protect <ios> with HAVE_IOS
6986 (main): protect sync_with_stdio with HAVE_IOS
6988 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6990 * text2.C (cutSelection): adjust
6991 (pasteSelection): adjust
6993 * messages.C: handle get of empty string
6995 * main.C (main): use sync_with_stdio(false)
6997 * lyxfunc.C (dispatch): adjust
6999 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7000 (WriteAs): remove unneeded BufferView arg.
7002 * bufferparams.h: use correct types on papersize, papersize2 and
7005 * bufferparams.C (readToken): adjust for type
7006 (writeLaTeX): add missing cases to switch.
7008 * bufferlist.C (quitWriteBuffer): adjust
7011 * buffer.C (asciiParagraph): remove some commented code.
7013 * CutAndPaste.C: remove current_view extern variable.
7014 (cutSelection): add BufferParams arg.
7015 (eraseSelection): add BufferParams arg.
7016 (pasteSelection): add Buffer const & arg
7018 2003-06-07 John Levon <levon@movementarian.org>
7021 * paragraph_funcs.C:
7022 * paragraph_pimpl.C:
7026 * paragraph.C: allow InsetERT to freely space lines,
7027 and some consolidation of code
7029 2003-06-06 José Matos <jamatos@fep.up.pt>
7031 * buffer.C (makeDocBookFile): fix bug #821
7033 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7035 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7037 2003-06-04 Angus Leeming <leeming@lyx.org>
7039 * buffer.C: bump format to 224.
7041 2003-06-05 André Pönitz <poenitz@gmx.net>
7043 * text2.C (redoParagraphs): remove two const_cast<>
7045 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7047 * ParagraphList.h: remove last remnants of NO_STD_LIST
7049 2003-06-03 Angus Leeming <leeming@lyx.org>
7051 * factory.C (createInset): small change to the way InsetExternal's params
7054 2003-06-04 André Pönitz <poenitz@gmx.net>
7056 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7058 * paragraph_pimpl.h:
7059 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7061 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7063 * undo_funcs.C: make some simple cases of undo work again
7065 2003-06-03 John Levon <levon@movementarian.org>
7067 * ispell.C: HPUX doesn't have sys/select.h
7070 2003-06-03 John Levon <levon@movementarian.org>
7072 * CutAndPaste.C: update tabular and include inset
7077 * paragraph.C: remove owningBuffer(), don't pass Buffer
7080 * factory.C: insetGraphicsParams changed
7082 2003-06-02 John Levon <levon@movementarian.org>
7088 * text3.C: remove insetparent
7090 2003-06-02 John Levon <levon@movementarian.org>
7093 * buffer.C: fix inset_iterator.end(), move out of line
7096 2003-06-01 John Levon <levon@movementarian.org>
7098 * text3.C: use a proper cut/paste when doing inset
7099 insert (from Jürgen Spitzmüller)
7101 2003-06-01 John Levon <levon@movementarian.org>
7103 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7105 2003-05-30 André Pönitz <poenitz@gmx.net>
7107 * rowpainter.C: unify second drawing phase
7109 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7111 * trans_mgr.C: remove one case of current_view
7113 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7115 * paragraph_funcs.h: remove paragraph.h include
7117 * paragraph.h: delete NO_STD_LIST stuff
7119 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7121 * buffer.h: remove paragraph.h include
7123 * ParagraphList.C: delete file
7125 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7127 * toc.C (getTocList): adjust
7129 * paragraph_pimpl.C (validate): adjust
7131 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7133 * paragraph.C (Paragraph): adjust
7134 (getPositionOfInset): use const_iterator, adjust
7135 (bibitem): use const_iterator, adjust
7136 (setInsetOwner): adjust
7138 * iterators.C (operator++): adjust
7140 * InsetList.[Ch]: Replace selfmade iterator with standard
7141 vector::iterator also introduce const_iterator. Remove getPos,
7142 getInset and setInset from InsetTable. Adjust accordingly.
7144 * BufferView.C (lockInset): adjust
7145 (ChangeInsets): adjust
7147 * tabular.[Ch]: delete commented same_id functions
7149 2003-05-28 John Levon <levon@movementarian.org>
7151 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7153 2003-05-28 André Pönitz <poenitz@gmx.net>
7155 * metricsinfo.[Ch]: remove 'fullredraw' member
7157 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7159 * lyxtextclass.C (operator): remove caching.
7161 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7165 * text2.C (cursorBottom): adjust
7166 (setCounter): use ParagraphList::find, adjust
7168 * text.C (workWidth): use ParagraphList::find, adjust
7170 * lyxcursor.C (LyXCursor): adjust
7172 * buffer.C (inset_iterator): adjust
7174 * ParagraphList.h: make iterator(value_type) private, make
7175 ParagraphList a friend of iterator.
7177 * ParagraphList.C (find): new function
7179 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7181 2003-05-27 André Pönitz <poenitz@gmx.net>
7183 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7185 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7187 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7189 2003-05-26 John Levon <levon@movementarian.org>
7191 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7193 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7195 * remove same_id from function signatures, adjust.
7197 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7199 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7201 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7203 * paragraph.C (Paragraph): get rid of same_ids parameter
7205 * ParagraphList.C (insert): adjust
7208 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7210 * paragraph_funcs.C (breakParagraph): adjust
7211 (breakParagraphConservative): adjust
7213 * buffer.C (readParagraph): adjust
7215 * ParagraphList.C (insert): take a reference instead of a pointer
7218 * paragraph.[Ch] (id): new function
7220 * bufferlist.C (newFile): adjust
7222 * ParagraphList.C (ParagraphList): adjust
7224 (push_back): take a reference instead of a pointer.
7226 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7228 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7231 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7232 set else use old code.
7234 * ParagraphList.C: remove all NO_NEXT code and only compile this
7235 code of NO_STD_LIST is set.
7237 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7239 * BufferView_pimpl.C:
7249 * graphics/GraphicsConverter.C:
7250 * graphics/PreviewLoader.C: header adjustment
7252 2003-05-23 Angus Leeming <leeming@lyx.org>
7254 * LaTeXFeatures.[Ch] (useBabel): new method.
7255 * bufferparams.C (writeLaTeX): use it.
7257 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * ParagraphList.h (set): remove unused function.
7261 2003-05-23 André Pönitz <poenitz@gmx.net>
7264 * BufferView_pimpl.C:
7268 * undo_funcs.C: setUndo reworked
7270 * iterators.[Ch]: add access to topmost ParagraphList
7272 * lyxtext.[Ch] (workWidth): add a const
7274 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7276 * texrow.[Ch] (increasePos): remove function
7277 * exporter.C (export): removed unused var and outdated comment
7279 2003-05-23 Angus Leeming <leeming@lyx.org>
7281 * latexrunparams.h: rename fragile as moving_arg.
7282 * paragraph.C (simpleTeXOnePar): ditto.
7283 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7285 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7287 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7289 (textUndoOrRedo): comment out a currently unused var.
7291 * paragraph.h (NO_NEXT): enable NO_NEXT
7293 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7295 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7297 * exporter.C (Export): adjust for removeAutoInsets removal.
7299 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7301 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7303 * BufferView.[Ch] (removeAutoInsets): delete function
7305 2003-05-22 Angus Leeming <leeming@lyx.org>
7307 * latexrunparams.h: add a free_spacing variable.
7309 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7310 to pass moving_arg, as the data is stored in runparams.fragile.
7312 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7313 to Inset::latexOptional or to simpleTeXOnePar.
7315 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7316 free_spacing arg to Inset::latexOptional.
7318 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7321 2003-05-22 Angus Leeming <leeming@lyx.org>
7323 * latexrunparams.h: add fragile and use_babel variables.
7325 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7326 * buffer.C (makeLaTeXFile): store this returned value in
7327 runparams.use_babel, thus passing it to the inset::latex methods.
7329 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7330 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7332 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7333 longer has a fragile arg, as it is stored in runparams.fragile.
7335 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7336 moving_arg parameter as the data is stored in runparams.fragile.
7338 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7339 a fragile parameter as the data is stored in runparams.fragile.
7341 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7345 2003-05-22 Angus Leeming <leeming@lyx.org>
7347 * latexrunparams.h: add a 'bool nice' which defaults to false.
7349 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7350 now encapsulated within runparams.
7352 * bufferlist.C (updateIncludedTeXfiles):
7353 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7355 2003-05-22 Angus Leeming <leeming@lyx.org>
7357 * latexrunparams.h: new file containing struct LatexRunParams.
7358 * Makefile.am: add new file.
7360 * LaTeX.[Ch] (c-tor, run):
7361 * buffer.[Ch] (makeLaTeXFile):
7362 * bufferlist.[Ch] (updateIncludedTeXfiles):
7363 * converter.C (convert, scanLog):
7364 * converter.[Ch] (runLaTeX):
7365 * exporter.C (Export):
7366 * paragraph.[Ch] (simpleTeXOnePar):
7367 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7368 * paragraph_funcs.[Ch] (latexParagraphs):
7369 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7370 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7371 pass around a LatexRunParams parameter.
7373 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7375 * paragraph.[Ch]: remove unused constructor
7377 * ParagraphList.C (erase): new function, taking two iterators
7379 2003-05-22 André Pönitz <poenitz@gmx.net>
7381 * undo_funcs.C: remove duplicated code
7383 * iterator.[Ch]: operator=
7385 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * tabular.C (SetMultiColumn): ws changes
7389 * rowpainter.C (paintFirst): get rid of a ->previous
7391 * lyx_cb.C (getPossibleLabel): parlist simplification
7393 * BufferView.C (ChangeInsets): simplify slightly.
7395 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7397 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7398 * lfuns.h: new LFUN_SPACE
7399 * lyxfunc.C: protected space has a new lfun
7400 * paragraph_funcs.C: read new space insets
7402 * factory.C: handle new space insets
7404 2003-05-22 André Pönitz <poenitz@gmx.net>
7407 * BufferView_pimpl.C:
7410 * undo_funcs.C: return a ParIterator from getParFromID.
7412 * iterators.[Ch]: add two const's
7414 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7416 * toc.C (getTocList): adjust
7418 * iterators.[Ch]: rework for parlist
7420 * buffer.C (par_iterator_begin): adjust
7421 (par_iterator_end): adjust
7423 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7425 * BufferView.C (removeAutoInsets): adjust
7426 (ChangeInsets): adjust
7428 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7430 * text.C (top_y): fix bug 1110
7432 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7434 * errorlist.[Ch]: added
7437 * BufferView_pimpl.C:
7438 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7441 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * Makefile.am: ensure that lyx is relinked upon changes to the
7444 various "convenience" libs.
7446 2003-05-20 Angus Leeming <leeming@lyx.org>
7448 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7449 files are compiled in alphabetical order again.
7451 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7453 2003-05-19 Angus Leeming <leeming@lyx.org>
7455 * gettext.[Ch]: remove "char const * _(char const *)".
7457 2003-05-19 André Pönitz <poenitz@gmx.net>
7459 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7468 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7470 2003-05-19 André Pönitz <poenitz@gmx.net>
7474 * lyxtextclass.[Ch]:
7476 * paragraph_funcs.[Ch]:
7478 * text3.C: more insetenv work
7480 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7482 * ParagraphParameters.C (params2string): small bug fixed
7484 2003-05-16 André Pönitz <poenitz@gmx.net>
7487 * bufferview_funcs.C: patch from Kornel Benko to prevent
7488 crash when _(...) is called twice in a statement
7490 2003-05-16 André Pönitz <poenitz@gmx.net>
7497 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7499 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7501 * lyx_main.C (init): remove spurious static_cast
7503 2003-05-14 André Pönitz <poenitz@gmx.net>
7505 * BufferView.C: fix format string
7507 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7509 * BufferView.[Ch] (insertErrors): removed
7510 * BufferView.[Ch] (showErrorList): added
7511 * buffer.C (runChkTeX):
7512 * converter.C (scanLog): call showErrorList instead of inserterrors
7514 2003-05-13 André Pönitz <poenitz@gmx.net>
7516 * BufferView_pimpl.C:
7518 * bufferview_func.C:
7525 * tabular_funcs.h: tostr() from its own header
7527 * ParagraphParameters.C:
7532 * text3.C: STRCONV()
7534 2003-05-12 André Pönitz <poenitz@gmx.net>
7537 * BufferView_pimpl.C:
7541 * ParagraphParameters.C:
7545 * bufferview_funcs.C:
7558 * paragraph_funcs.C:
7562 * text3.C: boost::format -> bformat all over the place
7565 2003-05-09 André Pönitz <poenitz@gmx.net>
7567 * LColor.[Ch]: Pimpl the #include <map> away
7569 2003-05-09 John Levon <levon@movementarian.org>
7571 * bufferlist.C: never remove emergency saves
7573 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * Makefile.am: better lib building
7577 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7579 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7581 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7582 (simpleTeXSpecialChars): adjust
7583 (simpleTeXSpecialChars): adjust
7584 * paragraph.C (simpleTeXOnePar): adjust
7585 * buffer.C (makeLaTeXFile): adjust
7587 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7589 * text2.C (changeDepth): parlist cleanup
7590 (getColumnNearX): ditto
7592 * rowpainter.C (getLabelFont): parlist cleanup
7594 * bufferlist.C (newFile): parlist cleanup
7596 * CutAndPaste.C (eraseSelection): parlist cleanup
7598 * BufferView_pimpl.C (trackChanges): parlist cleanup
7601 * BufferView.C (lockInset): parlist cleanup.
7602 (ChangeInsets): ditto
7604 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7606 * CutAndPaste.h: Update file header.
7608 * CutAndPaste.C: Update file header.
7609 Store the parts cut out of the Document in a limited_stack.
7610 (copySelection): adjust
7611 (pasteSelection): new function, takes the index in the limited stack.
7612 (nrOfParagraphs): adjust
7613 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7614 simplify error inset insertion.
7615 (checkPastePossible): adjust
7617 2003-05-06 John Levon <levon@movementarian.org>
7619 * text2.C: don't cast wrap inset to float
7621 2003-05-05 André Pönitz <poenitz@gmx.net>
7624 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7626 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7627 few naked Paragraph *.
7629 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7631 * bufferparams.C: Output warning if a document with missing
7632 TeX document class is loaded
7633 * exporter.C: Disable TeX exports if the document class is missing
7636 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7637 isTeXClassAvailable()
7639 2003-05-03 John Levon <levon@movementarian.org>
7642 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7643 explicit cursor show/hide
7645 * BufferView_pimpl.h:
7646 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7647 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7649 * lyxfunc.C: hide cursor before dispatching.
7654 * text3.C: remove explicit cursor hides
7656 2003-05-02 André Pönitz <poenitz@gmx.net>
7658 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7661 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7664 * text2.C: tiny whitespace
7666 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * undo_funcs.C: almost only ws changes.
7670 * ParagraphList.C (splice): just return if pl is empty.
7672 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7674 * ParagraphList.C (splice): new function.
7676 * CutAndPaste.C (pasteSelection): use it
7678 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * CutAndPaste.C (pasteSelection): remove the last next and
7681 previous from this file.
7683 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7685 * CutAndPaste.C (pasteSelection): more clean up, user proper
7686 ParagraphList functions for pasteing.
7688 * ParagraphList.C (insert): new function, three arg insert
7690 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7692 * ParagraphList.C (insert): new function, three arg insert
7694 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7697 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7699 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7701 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7703 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7705 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7707 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7708 (copySelection): clean up a bit.
7709 (pasteSelection): use make_pair
7711 * ParagraphList.C (ParagraphList): implement copy constructor
7712 (operator=): implement, base on copy constructor.
7715 * paragraph.C (erase): return a bool
7717 * paragraph_pimpl.C (erasePos): remove function, move contents...
7718 (erase): ... here. Return a bool.
7719 (erase): call erase instead of erasePos.
7721 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7723 * ParagraphList.h: define PitPosPair
7724 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7725 ParagraphList, fix a bug on pasting multiple pars
7726 * text2.C: change interface to C&P
7728 2003-04-30 André Pönitz <poenitz@gmx.net>
7730 * undo_func.C: revert part of yesterday's patch 2
7732 2003-04-30 John Levon <levon@movementarian.org>
7734 * LColor.C: s/tabular/table/
7736 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7738 * text3.C (dispatch): do not convert iterator -> pointer
7739 * undo_funcs.C (setCursorParUndo): ditto
7740 * text_funcs.C (transposeChars): ditto
7742 * text2.C (setLayout): ws changes only
7744 * text.C (breakParagraph): do not convert iterator -> pointer
7746 (acceptChange): ditto
7747 (rejectChange): ditto
7752 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7755 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7757 * text3.C (gotoInset): YABG (yet another bad getChar)
7759 2003-04-29 André Pönitz <poenitz@gmx.net>
7761 * paragraph.h: make operator= private unimplemented as long as
7764 * ParagraphList.C: whitespace
7767 * paragraph_pimpl.[Ch]:
7768 * paragraph_funcs.C:
7770 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7773 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7775 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7777 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7778 * paragraph.[Ch] (erase):
7779 * paragraph_pimpl.[Ch] (erase): change return type and value
7780 * text2.C (cutSelection): some rework
7782 2003-04-28 John Levon <levon@movementarian.org>
7784 * bufferlist.C: changes for unsaved changes dialog
7786 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7788 * bufferlist.C (newFile): set language (messages_) for new
7791 * buffer.C (readFile): ws changes only.
7793 2003-04-28 André Pönitz <poenitz@gmx.net>
7798 * BufferView_pimpl.C:
7799 * BufferView.C: getParFromID related ParagraphList::iterator changes
7801 2003-04-28 André Pönitz <poenitz@gmx.net>
7803 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7806 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7808 * messages.C: remove one more localedir class variable.
7810 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7812 * messages.C (getLocaleDir): singleton generation function
7814 (Messages): add a default constructor.
7816 * main.C (main): do not setup localedir here, do not call
7819 * gettext.C (_): use it.
7820 (gettext_init): delete funciton
7822 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * gettext.C (getLyXMessages): new singleton generating function.
7826 * buffer.C (updateDocLang): adjust
7828 * Makefile.am (messages.o): add target
7829 (main.o): remove target
7831 2003-04-27 John Levon <levon@movementarian.org>
7836 * lyxvc.C: specify cancel button in Alert::prompt
7838 2003-04-26 John Levon <levon@movementarian.org>
7843 * LyXAction.C: add LFUN_INSET_SETTINGS
7845 * lyxfunc.C: don't enable tabular-feature when there's
7846 just any locking inset
7848 2003-04-26 John Levon <levon@movementarian.org>
7850 * bufferlist.C: re-add Cancel to buffer close question
7852 * lyxfunc.C: fix import UI a bit
7854 2003-04-25 John Levon <levon@movementarian.org>
7856 * gettext.C: remove the broken asserts for now
7858 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7860 * messages.C: make case where setlocale cannot comply work better.
7862 * buffer.C (updateDocLang): new function
7863 (changeLanguage): use it
7866 * text2.C (setCounter): use B_ a bit.
7868 * lyxlayout.C (Read): be sure to trim the label strings.
7870 * messages.C (Messages): fix typo in comment
7872 * buffer.C (readFile): set message_ after file is loaded.
7873 (makeDocBookFile): remove double return
7874 (changeLanguage): reset message_ upon language change.
7875 (B_): new func, use this to get translated buffer strings.
7877 * main.C: add myself and Jean Marc as authors.
7879 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * messages.[hC]: pimplify Messages, and three different pimpls to be
7882 used in different circumstances.
7884 * gettext.[Ch]: change for use with new message code.
7886 2003-04-24 André Pönitz <poenitz@gmx.net>
7888 * factory.C: support for eqref
7890 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * messages.[Ch]: add missing char
7894 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7896 * messages.[Ch]: New files
7898 2003-04-18 John Levon <levon@movementarian.org>
7902 * BufferView_pimpl.C:
7906 * text2.C: remove layout-copy/paste (bug 778)
7908 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7910 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7912 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7914 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7915 if they succeed. Act accordingly.
7917 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7919 * text2.C (setCharFont): adjust
7920 (setCounter): adjust
7921 (insertStringAsLines): adjust
7923 * text.C (leftMargin): adjust
7924 (setHeightOfRow): adjust
7926 * rowpainter.C (paintFirst): adjust
7929 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7931 (isFirstInSequence): ditto
7932 (getEndLabel): ditto
7935 * paragraph.C (getParLanguage): comment out some hard stuff.
7937 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7939 (simpleDocBookOnePar): ditto
7940 (makeDocBookFile): use ParagraphList::iterator
7942 * CutAndPaste.C (pasteSelection): adjust
7944 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7946 * text2.C (getFont): adjust
7947 (getLayoutFont): adjust
7948 (getLabelFont): adjust
7950 * paragraph_funcs.C (TeXOnePar): adjust
7952 * buffer.C (simpleLinuxDocOnePar): adjust
7953 (simpleDocBookOnePar): adjust
7955 * CutAndPaste.C (pasteSelection): adjust
7957 * BufferView.C (getEncoding): adjust
7959 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7961 2003-04-16 John Levon <levon@movementarian.org>
7963 * lyxfind.C: use parlist stuff for search/changes
7965 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7967 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7969 * text2.C (deleteEmptyParagraphMechanism): adjust
7971 * text2.[Ch] (ownerParagraph): delete func (both of them
7973 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7975 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7977 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7979 * ParagraphList.C: prepare for NO_NEXT
7981 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7983 * text2.C (getFont): adjust
7984 (getLayoutFont): adjust
7985 (getLabelFont): adjust
7987 * paragraph.C (getFont): adjust
7988 (getLabelFont): adjust
7989 (getLayoutFont): adjust
7991 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7993 2003-04-15 John Levon <levon@movementarian.org>
7997 * lyx_main.C: handle Include in .ui files
7999 2003-04-15 John Levon <levon@movementarian.org>
8001 * MenuBackend.C: make the doc files length shorter
8004 * ToolbarBackend.C: handle toolbar placement flags,
8007 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8009 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8012 * paragraph_funcs.C (TeXOnePar): adjust
8014 * paragraph.C (getLabelFont): add outerfont arg, adjust
8015 (getLayoutFont): ditto
8016 (simpleTeXOnePar): adjust
8018 * paragraph_pimpl.C (realizeFont): delete func
8020 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8022 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8023 row argument, constify cur argument.
8025 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * text2.C (getFont): adjust
8028 (getLayoutFont): adjust
8029 (getLabelFont): adjust
8031 * paragraph_funcs.C (TeXOnePar): adjust
8032 (outerFont): new func...
8033 (realizeFont): ...moved out from here, changed this to facilitate
8036 * paragraph.C (getFont): take outerfont as arg, adjust
8037 (simpleTeXOnePar): add outerfont arg, adjust
8039 * buffer.C (simpleLinuxDocOnePar): adjust
8040 (simpleDocBookOnePar): adjust
8042 * CutAndPaste.C (pasteSelection): adjust
8044 * BufferView.C (getEncoding): adjust
8046 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8048 * text2.C (setCharFont): adjust
8049 (setCounter): adjust
8051 * text.C (leftMargin): adjust
8052 (setHeightOfRow): adjust
8054 * rowpainter.C (paintFirst): adjust
8057 * paragraph_pimpl.C (realizeFont): adjust
8059 * paragraph.C (isFirstInSequence): move from here...
8060 * paragraph_funcs.C (isFirstInSequence): ...to here
8062 * paragraph.C (outerHook): move from here...
8063 * paragraph_funcs.C (outerHook): ...to here
8065 * paragraph.C (depthHook): move from here...
8066 * paragraph_funcs.C (depthHook): ...to here
8068 * paragraph.C (getEndLabel): move from here...
8069 * paragraph_funcs.C (getEndLabel): ...to here
8071 * text2.C (realizeFont): move from here...
8072 * paragraph_funcs.C (realizeFont): ...to here
8074 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8076 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8078 2003-04-14 Angus Leeming <leeming@lyx.org>
8080 * LColor.[Ch]: scrap LColor mathcursor.
8082 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8084 * lyxlex.[Ch] (text): delete function
8085 * trans.C (Load): adjust
8086 * paragraph_funcs.C (readParToken): adjust
8088 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8091 vector<char> instead of a char[].
8093 * lyxlex_pimpl.C (getString): adjust
8095 (lex): use getString
8099 * lyxlex.C (text): use pimpl_->getString()
8103 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8106 (makeFontEntriesLayoutSpecific): temp var for par.size()
8107 (setLayout): temp var for ownerParagraphs().end()
8108 (fullRebreak): temp var for rows().end()
8109 (selectionAsString): temp var for boost::next(startpit), realize
8110 that the while really is a regular for loop.
8111 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8112 setCursor in one place.
8113 (setParagraph): temp vr for ownerParagraphs().end()
8114 (updateCounters): make the while loop a for loop
8115 (cutSelection): temp var for ownerParagraphs().end()
8116 (updateInset): make the do {} while() a regular for loop
8117 (getCursorX): use temp vars
8118 (setCurrentFont): use temp vars
8119 (getColumnNearX): use temp vars
8121 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8123 * text.C (transformChar): use temp var for getChar
8124 (computeBidiTables): use temp var for row->par()
8125 (fill): move temp vars for row->par() and pit->layout() earlier in
8127 (labelFill): use temp var for row->par()
8128 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8129 asc and desc, realize that pit never changes and that firstpit is
8130 just a duplicate and not needed. Exchange rit->par() with pit in a
8132 (breakAgain): use a temp var for boost::next(rit)
8133 (breakAgainOneRow): ditto
8134 (breakParagraph): use a temp var for rows().begin()
8135 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8136 (cursorRightOneWord): use temp var for cursor.par() and
8137 cursor.pos(), remove usage of tmpcursor.
8138 (cursorLeftOneWord): use temp var for cursor.par() and
8139 cursor.pos() only set cur at end of function.
8141 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8143 * text.C, text2.C: exchange all usage of Paragraph::next with
8144 boost::next(ParagraphList::iterator)
8146 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8148 * text2.C (cursorTop): simplify implementation
8149 (cursorBottom): ditto
8150 (setParagraph): use ParagraphList::iterator
8151 (setCurrentFont): adjust
8152 (getColumnNearX): adjust
8153 (cursorRight): adjust
8154 (cursorLeft): remove usage of Paragraph::previous
8155 (cursorUpParagraph): ditto
8156 (deleteEmptyParagraphMechanism): slight cleanup
8158 * text.C (isBoundary): take a Paragraph const & instead of a
8160 (addressBreakPoint): ditto
8161 (leftMargin): remove usage of Paragraph::previous.
8162 (setHeightOfRow): ditto
8163 (cursorLeftOneWord): ditto
8164 (selectNextWordToSpellcheck): ditto
8167 (breakParagraph): remove one usage of Paragraph::next
8168 (redoParagraph): ditto
8169 (acceptChange): ditto
8170 (insertChar): adjust
8171 (rowBreakPoint): adjust
8173 * bufferview_funcs.C (toggleAndShow): adjust
8175 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8177 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8178 methods to access it.
8180 * text.C: Added updateRowPositions to compute all row positions.
8181 Make top_y and getRowNearY() to use the cached y position
8183 2003-04-11 John Levon <levon@movementarian.org>
8185 * text.C (rowBreakPoint): reintroduce the labelEnd
8186 checks, code copied from the row fill stuff. Deep voodoo.
8188 * text.C (fill): add a comment and debugging for the
8191 2003-04-11 John Levon <levon@movementarian.org>
8193 * text.C: make sure fullrow insets get wrapped to the next line,
8194 even when they're in a manual label
8196 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8198 * text2.C (insertParagraph): make it take ParagraphList::iterator
8200 (setLayout): make it return ParagraphList::iterator
8201 (redoParagraphs): ditto
8203 (checkParagraph): ditto
8205 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8207 * text2.C: adjust several funcs.
8208 (realizeFont): take a ParagraphList::iterator as arg.
8209 (getLayoutFont): ditto
8210 (getLabelFont): ditto
8211 (setCharFont): ditto
8213 * text.C: adjust several funcs.
8215 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8217 * text.C (selectNextWordToSpellcheck): don't accidentally
8220 2003-04-10 John Levon <levon@movementarian.org>
8222 * ToolbarBackend.C (getIcon): special handling for
8225 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8227 * text2.C (cursorRight): a getChar assert fixed
8229 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8231 * text2.C (getFont): change to take a ParagraphList::iterator
8232 instead of Paragraph*
8233 Adjust several functions.
8235 * text.C (transformChar): change to take a ParagraphList::iterator
8236 instead of Paragraph*
8237 (singleWidth): ditto
8238 Adjust several functions.
8240 * rowpainter.C: adjust several functions
8241 * rowpainter.h:store a ParagraphList::iterator and not a
8245 2003-04-09 John Levon <levon@movementarian.org>
8250 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8251 and the "help" bits as well
8253 2003-04-09 John Levon <levon@movementarian.org>
8256 * ToolbarBackend.C: allow multiple toolbars
8258 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8260 * undo_funcs.C (setCursorParUndo): adjust
8262 * text_funcs.C (transposeChars): adjust
8264 * text3.C (gotoNextInset): adjust
8267 * text2.C (setLayout): adjust
8268 (changeDepth): adjust
8270 (redoParagraphs): adjust
8271 (selectionAsString): adjust
8272 (setParagraph): adjust
8273 (insertInset): adjust
8274 (cutSelection): adjust
8275 (copySelection): adjust
8276 (pasteSelection): adjust
8277 (insertStringAsLines): adjust
8278 (updateInset): adjust
8279 (setCursor): change to take a ParagraphList::iterator parameter
8280 (setCursorIntern): change to take a ParagraphList::iterator parameter
8281 (setCurrentFont): adjust
8282 (cursorLeft): adjust
8283 (cursorRight): adjust
8284 (deleteEmptyParagraphMechanism): adjust
8286 * text.C (breakParagraph): adjust
8287 (insertChar): adjust
8288 (acceptChange): adjust
8289 (rejectChange): adjust
8290 (selectNextWordToSpellcheck): adjust
8291 (changeCase): adjust
8295 * lyxfind.C (SearchForward): adjust
8296 (SearchBackward): adjust
8297 (nextChange): adjust
8299 * lyxcursor.C (par): adjust
8301 * lyxcursor.h: store a ParagraphList::iterator instead of a
8304 * lyx_cb.C (getPossibleLabel): adjust
8306 * bufferview_funcs.C (toggleAndShow): adjust
8308 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8311 * BufferView.C (removeAutoInsets): adjust
8312 (lockedInsetStoreUndo): adjust
8314 2003-04-09 John Levon <levon@movementarian.org>
8316 * ToolbarBackend.C: try icon without argument
8317 if with argument fails
8319 2003-04-08 John Levon <levon@movementarian.org>
8322 * ToolbarBackend.C: add getIcon(), handle tooltip,
8323 and change from "Icon" to "Item".
8325 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8327 * BufferView.C (lockInset): another bad getchar crunched
8329 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8331 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8334 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8336 * lyxfind.C (searchForward, searchBackwards): bug 782
8338 2003-04-07 John Levon <levon@movementarian.org>
8340 * paragraph.C: remove dead comment
8342 * text.C: remove troublesome depth-fiddling code
8343 in leftMargin() and rightMargin() (bug 1017)
8345 * text.C: fix breaking of rows in nested lists
8348 * text2.C (updateCounters): fix up depth values
8351 2003-04-07 John Levon <levon@movementarian.org>
8353 * BufferView_pimpl.C: clear message when doc finishes resizing,
8354 and after a mouse event
8356 * lyxfunc.C: clear message after exiting inset
8358 2003-04-07 John Levon <levon@movementarian.org>
8360 * bufferview_funcs.C: show math status not outside
8361 status in the statusbar
8363 2003-04-07 John Levon <levon@movementarian.org>
8365 * lyxfunc.C: note status changed after a depth change
8367 2003-04-04 Angus Leeming <leeming@lyx.org>
8369 * LaTeX.h: move AuxInfo operator==, != out of line.
8370 Remove LaTeX virtual destructor; nothing derives from it.
8371 Move operator()() out of public area and rename it startscript().
8372 Change protected for private.
8374 2003-04-04 Angus Leeming <leeming@lyx.org>
8377 * text2.C: remove unneeded #includes.
8379 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8381 * text2.C (dEPM): fix the heigth of the next row
8383 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8385 * text.C: squashed an invalid getChar requester + some ws changes
8387 2003-04-03 John Levon <levon@movementarian.org>
8389 * bufferview_funcs.h:
8390 * bufferview_funcs.C:
8393 * text2.C: make getStatus work for the env depth lfuns
8395 2003-04-03 John Levon <levon@movementarian.org>
8397 * bufferview_funcs.h:
8398 * bufferview_funcs.C:
8401 * text2.C: parlistize decDepth(), by merging it with incDepth()
8403 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8405 * lyxrow.h: store a ParagraphList::iterator instead of a
8406 Paragraph* and adjust other class functions to suit.
8408 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8411 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8413 * text2.C (setCursor): do not anchor to cursor row for the time being
8415 2003-04-02 John Levon <levon@movementarian.org>
8422 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8424 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * paragraph.h: make ParagraphList and ParagraphList::iterator
8427 friends of Paragraph.
8429 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8431 * ParagraphList.C: Use the private next_ and previous_ from
8434 2003-04-01 John Levon <levon@movementarian.org>
8438 * Makefile.am: rename, remove defaults gunk
8441 * MenuBackend.C: remove defaults gunk
8444 * Languages.C: remove defaults gunk
8447 * lyx_main.C: error out if files couldn't be found.
8449 2003-04-02 John Levon <levon@movementarian.org>
8451 * text2.C: make incDepth() use parlist
8453 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8455 * undo_funcs.C (firstUndoParagraph): adjust
8457 * text3.C (gotoInset): adjust
8458 (dispatch): adjust, and rewrite loop.
8460 * text2.C (init): adjust, and rewrite loop.
8461 (redoParagraphs): adjust
8462 (updateInset): adjust, and rewrite loop.
8463 (deleteEmptyParagraphMechanism): adjust
8465 * tabular.C (LyXTabular): adjust
8466 (SetMultiColumn): adjust
8469 * lyxtext.[Ch] (ownerParagraph): delete function
8470 (ownerParagraphs): new function returns a ParagraphList.
8472 * BufferView.C (removeAutoInsets): adjust
8473 (insertErrors): adjust
8474 (setCursorFromRow): adjust
8476 2003-04-01 Angus Leeming <leeming@lyx.org>
8478 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8481 2003-04-02 John Levon <levon@movementarian.org>
8487 * text_funcs.C: make transposeChars a free function
8489 * lyxrow_funcs.C: remove wrong comment
8491 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8494 * rowpainter.C: adjust
8499 * lyxrow_funcs. [Ch]: new files
8501 * lyxrow.[Ch]: remove next and previous pointers
8502 (next,previous): remove accessor functions
8503 (isParEnd): move to lyxrow_funcs
8504 (lastPos): move to lyxrow_funcs
8505 (nextRowIsAllInset): move to lyxrow_funcs
8506 (lastPrintablePos): move to lyxrow_funcs
8507 (numberOfSeparators): move to lyxrow_funcs
8508 (numberOfHfills): move to lyxrow_funcs
8509 (numberOfLabelHfills): move to lyxrow_funcs
8510 (hfillExpansion): move to lyxrow_funcs
8514 * bufferview_funcs.C (toggleAndShow): adjust
8516 * RowList.h: Remove class RowList from file leave just a
8519 * RowList.C: delete file
8521 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8524 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8526 * text3.C (cursorPrevious): adjust
8527 (cursorNext): adjust
8530 * text2.C (redoHeightOfParagraph): adjust
8531 (redoDrawingOfParagraph): adjust
8534 * text.C (breakParagraph): adjust
8535 (insertChar): adjust
8538 * rowpainter.C (RowPainter): adjust
8539 (leftMargin): simplify and adjust
8540 (most rowpainter functions): adjust.
8542 * rowpainter.h: store the row as RowList::iterator not as Row*
8544 * lyxcursor.C (row): taka RowList::iterator as arg
8547 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8550 2003-04-01 Angus Leeming <leeming@lyx.org>
8552 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8553 stuff like bool Bool.
8555 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8557 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8560 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8562 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8565 * lyxtext.h (rows): drop one version and leve a const variant that
8566 returns a RowList::iterator.
8568 2003-03-31 Angus Leeming <leeming@lyx.org>
8570 * text.C (fill): ensure that the signature is the same as that in the
8573 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8575 * text2.C (redoParagraphs): adjust
8576 (updateCounters): adjust
8577 (checkParagraph): adjust
8578 (getColumnNearX): adjust and reformat a bit.
8580 * text.C (top_y): adjust
8582 (leftMargin): adjust
8583 (prepareToPrint): adjust
8585 (getRowNearY): adjust
8587 * lyxtext.h: make rowlist_ mutable.
8589 * RowList.h: add const_iterator
8590 * RowList.C: adjust for RowList::const_iterator.
8592 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8595 2003-03-31 John Levon <levon@movementarian.org>
8598 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8600 * lyx_main.C: set default fonts from using lyx_gui funcs
8602 * exporter.C: pdf_mode moved from lyxrc
8605 * lyxfunc.C: changes from above
8607 2003-03-31 John Levon <levon@movementarian.org>
8609 * lyx_main.C: fix to the last fix
8611 2003-03-31 John Levon <levon@movementarian.org>
8613 * bufferlist.C: "Load original" -> "Load Original"
8619 * format.C: more Alert cleanups
8621 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8623 * text2.C (removeParagraph): make it take a RowList::iterator as
8625 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8626 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8628 * text.C (anchor_row): make it take a RowList::iterator as arg,
8630 (computeBidiTables): make it take a const reference to Row instead
8631 of Row pointer, adjust.
8632 (leftMargin): make it take a RowList::iterator as arg, adjust.
8633 (rowBreakPoint): adjust
8634 (breakAgainOneRow): make it take a RowList::iterator as arg,
8636 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8638 * bufferview_funcs.C (toggleAndShow): adjust
8640 2003-03-30 John Levon <levon@movementarian.org>
8644 * boost-inst.C: moved to support
8646 * several files: changes as a result
8648 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8650 * text2.C (LyXText): adjust.
8652 (removeRow): make it take a RowList::iterator as arg, adjust.
8653 (fullRebreak): adjust
8654 (deleteEmptyParagraphMechanism): adjust
8655 (clearPaint): adjust
8658 * text.C (top_y): adjust
8659 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8660 (breakAgain): make it take a RowList::iterator as arg, adjust.
8661 (breakParagraph): adjust
8662 (insertChar): adjust
8665 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8666 need_break_row, and refresh_row.
8668 * text3.C (dispatch): adjust
8670 * text2.C (checkParagraph): adjust
8672 (setCursorFromCoordinates): adjust
8674 * text.C (top_y): adjust
8676 (getRow): make it return a RowList::iterator, adjust
8677 (getRowNearY): make it return a RowList::iterator, adjust
8679 * text2.C (init): adjust
8680 (insertRow): remove function
8681 (insertParagraph): adjust
8682 (redoParagraphs): adjust
8683 (fullRebreak): adjust
8684 (updateCounters): adjust
8686 * text.C (top_y): rewrite to use RowList iterators.
8688 (setHeightOfRow): rewrite to sue RowList iterators.
8689 (appendParagraph): adjust
8690 (breakAgain): adjust
8691 (breakAgainOneRow): adjust
8692 (breakParagraph): adjust
8694 (getRowNearY): adjust, and remove commented code.
8696 * lyxtext.h (firstRow): delete function
8697 (lastRow): delete function
8698 (rows): new function (const and non-const versions.)
8699 (insertRow): delete function
8701 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8703 2003-03-29 John Levon <levon@movementarian.org>
8705 * BufferView_pimpl.C: always update scrollbar top
8706 because pasting text when we're anchored could mean we
8707 miss an update altogether
8709 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8711 * text2.C (init): use rowlist_.end() and not 0.
8712 (insertRow): change to take a RowList::iterator as arg, adjust
8714 (insertParagraph): change to take a RowList::iterator as arg,
8716 (redoParagraphs): remove some debug msgs.
8718 * text.C (appendParagraph): change to take a RowList::iterator
8719 arg, adjust for this.
8720 (breakAgain): add an assert
8721 (breakAgainOneRow): ditto
8723 2003-03-29 John Levon <levon@movementarian.org>
8725 * text2.C: do not clear selection after inc/decDepth
8728 2003-03-29 John Levon <levon@movementarian.org>
8731 * buffer.C: fix broken strerrors according to Lars
8733 2003-03-29 John Levon <levon@movementarian.org>
8735 * converters.C: more Alert cleanups
8737 2003-03-29 John Levon <levon@movementarian.org>
8739 * bufferview_funcs.C: remove pointless Alert
8741 * buffer.C: fix confusing error message when
8742 a template is chmoded 000
8744 2003-03-29 John Levon <levon@movementarian.org>
8748 * BufferView_pimpl.C: Alert fixes
8752 * tabular-old.C: remove unused table compat reading
8754 2003-03-29 John Levon <levon@movementarian.org>
8759 * lyx_cb.C: more Alert cleanups
8761 * lyxfunc.C: don't allow chktex if not latex document
8763 2003-03-29 John Levon <levon@movementarian.org>
8767 * buffer.C: warnings pushed down from support/,
8770 2003-03-29 John Levon <levon@movementarian.org>
8772 * lyxfunc.C: safety check for C-r (revert)
8774 2003-03-29 John Levon <levon@movementarian.org>
8777 * bufferlist.C: several UI fixes using Alert::prompt.
8778 Fix the pointless looping quit code. Fix stupid revert
8783 * lyx_cb.C: use Alert::prompt
8785 * lyx_main.C: remove a silly question
8787 * lyxfunc.C: remove a couple of silly questions,
8790 2003-03-28 John Levon <levon@movementarian.org>
8792 * text2.C: fix bug 974 (End on empty par)
8794 2003-03-28 John Levon <levon@movementarian.org>
8796 * BufferView_pimpl.C:
8798 * lfuns.h: remove do-nothing math greek lfuns
8800 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8802 * lyxgluelength.h (isValidGlueLength): add default arg on
8803 parameter 2. Remove default arg from friend in class.
8805 * lyxlength.h (isValidLength): add default arg on parameter 2.
8806 Remove default arg from friend in class.
8808 * text2.C (LyXText): adjust, initialize refresh_row.
8812 (insertParagraph): adjst
8813 (redoParagraphs): adjust
8814 (fullRebreak): adjust
8815 (updateCounters): adjust
8816 (deleteEmptyParagraphMechanism): first attempt at fixing a
8819 * text.C (top_y): adjust
8820 (setHeightOfRow): adjust
8822 (getRowNearY): adjust
8824 * lyxtext.h: include RowList.h
8825 (~LyXText): not needed anymore, deleted.
8826 (firstRow): modify for RowList
8827 (lastRow): new function
8828 Delete firstrow and lastrow class variables, add a Rowlist
8829 rowlist_ class variable.
8831 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8834 * RowList.C (insert): fix case where it == begin().
8836 2003-03-26 Angus Leeming <leeming@lyx.org>
8838 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8839 the thesaurus dialog.
8841 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8843 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8845 * RowList.[Ch]: new files
8847 * ParagraphList.C (erase): handle the case where it == begin
8850 2003-03-25 John Levon <levon@movementarian.org>
8854 * aspell.C: add new aspell support
8857 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8860 2003-03-25 Angus Leeming <leeming@lyx.org>
8863 * LyXAction.C (init): new LFUN_INSET_INSERT.
8865 * BufferView_pimpl.C (dispatch): split out part of the
8866 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8868 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8871 2003-03-25 Angus Leeming <leeming@lyx.org>
8873 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8875 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8878 * text3.C: remove useless row->height(0)
8880 2003-03-25 John Levon <levon@movementarian.org>
8884 * text3.C: rename the refreshing stuff to better names
8886 2003-03-24 John Levon <levon@movementarian.org>
8888 * BufferView_pimpl.h:
8889 * BufferView_pimpl.C: update layout choice on a mouse
8892 2003-03-23 John Levon <levon@movementarian.org>
8894 * Makefile.am: fix commandtags.h reference
8896 2003-03-22 John Levon <levon@movementarian.org>
8898 * BufferView_pimpl.C:
8903 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8905 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8908 * text.C: take the rtl methods out of line
8910 2003-03-21 André Pönitz <poenitz@gmx.net>
8912 * metricsinfo.[Ch]: new files containing structures to be passed around
8913 during the two-phase-drawing...
8915 2003-03-21 André Pönitz <poenitz@gmx.net>
8917 * lyxtextclass.C: read 'environment' tag.
8919 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8921 * text2.C (removeRow): fix bug 964
8923 2003-03-20 John Levon <levon@movementarian.org>
8927 * text2.C: paint cleanups. Inset::update() dropped font
8930 2003-03-19 John Levon <levon@movementarian.org>
8932 * lyxfunc.C: only fitcursor/markDirty if available()
8934 2003-03-19 John Levon <levon@movementarian.org>
8936 * commandtags.h: rename to ...
8938 * lfuns.h: ... this, and renumber / cleanup
8940 2003-03-19 John Levon <levon@movementarian.org>
8942 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8943 fit the cursor after an lfun
8947 * BufferView_pimpl.h:
8948 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8950 * LyXAction.C: layout-character should have ReadOnly
8952 * ParagraphParameters.C:
8954 * bufferview_funcs.C:
8961 * undo_funcs.C: changes from above
8963 2003-03-18 John Levon <levon@movementarian.org>
8965 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8966 remove it from update()
8968 * lyxfunc.C: update layout choice after an lfun
8970 * text3.C: remove extra updateLayoutChoice()s
8972 2003-03-18 John Levon <levon@movementarian.org>
8974 * text.C: top_y change means full repaint, fix
8975 a drawing bug with cursor movement
8977 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8981 * text2.C: anchor row on setCursor
8983 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8985 * lyxtext.h: remove almost all mutable keywords
8988 * text3.C: remove const keywords accordingly
8990 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8992 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8994 (TeXEnvironment): ditto
8997 2003-03-17 John Levon <levon@movementarian.org>
8999 * text.C (rowBreakPoint): remove attempt to fix displayed
9000 math insets inside a manual label
9002 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9004 * lyxtext.h: remove BufferView* as first arg from almost all class
9006 * other files: adjust.
9008 2003-03-17 John Levon <levon@movementarian.org>
9012 * text2.C: more paint cleanups
9014 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9017 * rowpainter.C: remove "smart" background painting code
9019 2003-03-16 John Levon <levon@movementarian.org>
9024 * text3.C: add helper functions for setting refresh_row/y
9026 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9028 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9029 newline inset which *can* get inserted in the pass_thru layouts.
9030 This is primarily for literate documents.
9032 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9034 * buffer.C: increment LYX_FORMAT to 223
9036 2003-03-14 André Pönitz <poenitz@gmx.net>
9038 * textclass.h: prepare for environment handling, ws changes
9039 * lyxlayout.C: read latexheader and latexfooter tags
9041 2003-03-14 John Levon <levon@movementarian.org>
9043 * text2.C: rewrite ::status() a bit
9045 2003-03-13 John Levon <levon@movementarian.org>
9047 * lyxtext.h: add some docs
9049 2003-03-13 John Levon <levon@movementarian.org>
9054 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9056 2003-03-13 John Levon <levon@movementarian.org>
9058 * text3.C: fix appendix redrawing
9060 2003-03-13 John Levon <levon@movementarian.org>
9062 * text.C (setHeightOfRow):
9064 * rowpainter.C: make appendix mark have the text
9065 "Appendix" so the user knows what it is
9068 * LColor.C: s/appendixline/appendix/ from above
9070 2003-03-13 John Levon <levon@movementarian.org>
9072 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9074 * text.C: fix a getChar(pos) bug properly
9076 2003-03-13 Angus Leeming <leeming@lyx.org>
9079 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9080 Probably only temporary. Let's see how things pan out.
9082 * BufferView.C (unlockInset):
9083 * BufferView_pimpl.C (fitCursor):
9084 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9086 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9087 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9089 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9090 new functions that convert ParagraphParameters to and from a string.
9092 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9093 BufferView::Pimpl's dispatch.
9094 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9096 2003-03-13 André Pönitz <poenitz@gmx.net>
9100 * factory.C: make it aware of InsetEnv
9102 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9104 * text2.C (setCursor): never ask for one past last
9105 (setCursor): add some debugging messages.
9107 * text.C (singleWidth): never ask for one past last
9108 (singleWidth): ditto
9110 (rightMargin): ditto
9111 (rowBreakPoint): ditto
9112 (setHeightOfRow): ditto
9113 (prepareToPrint): ditto
9115 * rowpainter.C (paintBackground): never ask for one past last
9116 (paintText): never ask for one past last
9118 * paragraph_pimpl.C (getChar): make the assert stricter, never
9119 allow the one past last pos to be taken
9121 * paragraph.C (getChar): ws changes only
9123 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9124 (numberOfSeparators): ditto
9125 (numberOfHfills): ditto
9127 2003-03-12 John Levon <levon@movementarian.org>
9133 * paragraph_funcs.C: fix per-buffer authorlists
9135 2003-03-12 John Levon <levon@movementarian.org>
9137 * text.C: fix newline in right address
9139 2003-03-12 Angus Leeming <leeming@lyx.org>
9141 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9142 duplicate those in LyXFunc::dispatch.
9146 * ToolbarDefaults.C:
9147 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9148 Add LFUN_FONTFREE_UPDATE.
9150 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9151 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9153 * bufferview_func.[Ch]: several new functions to facilliate
9154 transfer of data to and from the character dialog.
9156 2003-03-12 John Levon <levon@movementarian.org>
9161 * paragraph_funcs.C:
9162 * paragraph_pimpl.C:
9166 * text3.C: remove META_NEWLINE in favour of an inset
9169 * rowpainter.C: remove paintNewline (done by inset)
9171 2003-03-12 John Levon <levon@movementarian.org>
9173 * paragraph_pimpl.C: complain about bad getChar()s
9174 for a while at least
9176 2003-03-12 John Levon <levon@movementarian.org>
9179 * buffer.C: move paragraph read into a separate function,
9180 a little renaming to reflect that.
9183 * bufferparams.C: remove the author_ids map, not necessary now
9186 * factory.C: moved Buffer::readInset to here
9188 * paragraph_funcs.h:
9189 * paragraph_funcs.C: readParagraph free function moved from
9192 * tabular.C: name change
9194 2003-03-12 John Levon <levon@movementarian.org>
9197 * ParagraphParameters.C: move par params input to
9200 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9201 behave like a normal read from the stream wrt reading
9202 a line vs. a \\token
9204 2003-03-12 John Levon <levon@movementarian.org>
9207 * ParagraphParameters.h:
9208 * ParagraphParameters.C: move output code to a
9211 2003-03-12 John Levon <levon@movementarian.org>
9213 * BufferView.C (insertLyXFile):
9216 * tabular.C: use a parlist iterator for creating the
9219 2003-03-12 John Levon <levon@movementarian.org>
9221 * buffer.C: make current_change static local not
9224 2003-03-12 John Levon <levon@movementarian.org>
9226 * buffer.C: fix insertStringAsLines for change tracking
9228 2003-03-12 John Levon <levon@movementarian.org>
9235 * bufferparams.C: move author list into params. Rename some
9236 functions. Move the header reading into a separate token
9237 loop. Move the header token reading into BufferParams.
9239 2003-03-12 John Levon <levon@movementarian.org>
9241 * changes.C: put debug inside lyxerr.debugging() checks
9243 2003-03-11 André Pönitz <poenitz@gmx.net>
9245 * factory.C: make it aware of InsetHFill
9247 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9249 * buffer.C (latexParagraphs): move function from here...
9250 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9253 2003-03-10 Angus Leeming <leeming@lyx.org>
9255 * LyXAction.C (init): fix bug in poplating array with multiple entries
9256 with the same LFUN (spotted by JMarc).
9258 2003-03-10 John Levon <levon@movementarian.org>
9261 * text2.C: move getColumnNearX() near its
9264 2003-03-10 John Levon <levon@movementarian.org>
9266 * text.C: fix break before a minipage
9268 2003-03-10 John Levon <levon@movementarian.org>
9270 * text.C: fix the last commit
9272 2003-03-09 John Levon <levon@movementarian.org>
9276 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9277 bug 365 (don't break before insets unless needed). Don't
9278 return a value > last under any circumstances.
9280 2003-03-09 Angus Leeming <leeming@lyx.org>
9282 * BufferView_pimpl.C (trackChanges, dispatch): call
9283 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9285 2003-03-09 Angus Leeming <leeming@lyx.org>
9287 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9288 than Dialogs::showAboutlyx().
9290 2003-03-09 Angus Leeming <leeming@lyx.org>
9292 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9293 than Dialogs::showTabularCreate().
9295 2003-03-09 John Levon <levon@movementarian.org>
9299 * text2.C: 3rd arg to nextBreakPoint was always the same.
9302 2003-03-08 John Levon <levon@movementarian.org>
9309 * text2.C: Remove the "main" bit from the "main body"
9312 2003-03-08 John Levon <levon@movementarian.org>
9314 * text.C (leftMargin): The left margin of an empty
9315 manual label paragraph should not include the label width
9318 * text.C (prepareToPrint): don't attempt to measure hfills
9319 for empty manual label paragraphs - the answer should be 0
9321 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9323 * CutAndPaste.C: remove commented code and reindent.
9325 2003-03-08 John Levon <levon@movementarian.org>
9328 * lyxfunc.C: move reloadBuffer()
9331 * BufferView.C: to here
9333 * lyxvc.C: add comment
9336 * vc-backend.C: call bv->reload() to avoid
9337 getStatus() check on MENURELOAD
9339 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9341 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9342 to an old format .dep file.
9344 2003-03-07 Angus Leeming <leeming@lyx.org>
9346 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9347 when the LFUN_MOUSE_RELEASE should have been handled by
9348 inset->localDispatch.
9350 2003-03-07 Angus Leeming <leeming@lyx.org>
9352 * BufferView_pimpl.C (dispatch):
9353 * LyXAction.C (init):
9354 * ToolbarDefaults.C (init):
9356 * lyxfunc.C (getStatus):
9357 remove LFUN_INSET_GRAPHICS.
9359 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9361 2003-03-07 Angus Leeming <leeming@lyx.org>
9364 * LyXAction.C (init):
9365 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9367 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9370 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9372 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9373 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9375 2003-03-07 Angus Leeming <leeming@lyx.org>
9377 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9380 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9382 * ParagraphList.C (front): new function
9385 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9387 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9388 and top_row_offset_. removed var first_y.
9390 * text2.C (LyXText, removeRow):
9392 * BufferView_pimpl.C:
9393 use these methods instead of using first_y
9395 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9397 * text2.C (pasteSelection): adjust for checkPastePossible
9399 * CutAndPaste.C: remove Paragraph * buf and replace with
9400 ParagraphList paragraphs.
9401 (DeleteBuffer): delete
9402 (cutSelection): change the tc type to textclass_type
9403 (copySelection): change the tc type to textclass_type
9404 (copySelection): adjust for ParagraphList
9405 (pasteSelection): change the tc type to textclass_type
9406 (pasteSelection): adjust for Paragraphlist
9407 (nrOfParagraphs): simplify for ParagraphList
9408 (checkPastePossible): simplify for ParagraphList
9409 (checkPastePossible): remove unused arg
9411 * ParagraphList.C (insert): handle the case where there are no
9414 * CutAndPaste.h: make CutAndPaste a namespace.
9416 * text3.C (dispatch): adjust
9418 * text.C (breakParagraph): add a ParagraphList as arg
9420 * paragraph_funcs.C (breakParagraph): change to take a
9421 BufferParams and a ParagraphList as args.
9422 (breakParagraphConservative): ditto
9423 (mergeParagraph): ditto
9424 (TeXDeeper): add a ParagraphList arg
9425 (TeXEnvironment): ditto
9428 * buffer.C (readLyXformat2): adjust
9429 (insertStringAsLines): adjust
9430 (latexParagraphs): adjust
9432 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9433 (cutSelection): adjust
9434 (pasteSelection): adjust
9436 * BufferView_pimpl.C (insertInset): adjust
9438 2003-03-05 Angus Leeming <leeming@lyx.org>
9441 * LyXAction.C (init):
9442 * BufferView_pimpl.C (dispatch):
9443 * lyxfunc.C (getStatus):
9444 remove LFUN_CHILD_INSERT.
9446 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9448 2003-03-05 Angus Leeming <leeming@lyx.org>
9451 * LyXAction.C (init):
9452 * src/factory.C (createInset):
9453 * lyxfunc.C (getStatus):
9454 * text3.C (dispatch):
9455 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9457 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9459 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9461 * ParagraphList.C (insert): handle insert right before end()
9462 (erase): fix cases where it can be first or last paragraph.
9464 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9466 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9467 Paragraph::next and Paragraph::previous
9470 * text.C (breakParagraph): adjust
9472 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9473 BufferParams& as arg.
9474 (breakParagraph): use ParagraphList::insert
9475 (breakParagraphConservative): take a Buffer* instead of a
9476 BufferParams& as arg.
9477 (breakParagraphConservative): use ParagraphList::insert.
9479 * buffer.C (insertStringAsLines): un-const it
9480 (insertStringAsLines): adjust
9482 * ParagraphList.C (insert): new function
9484 * CutAndPaste.C (pasteSelection): adjust
9486 * text.C (backspace): adjust
9488 * tabular.C (SetMultiColumn): adjust
9490 * CutAndPaste.C (cutSelection): adjust
9491 (pasteSelection): adjust
9493 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9494 Buffer const * as arg
9496 * ParagraphList.C (erase): new function
9497 * paragraph_funcs.C (mergeParagraph): use it
9498 (mergeParagraph): make it take a Buffer* instead of a
9499 BufferParams* as arg
9501 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9503 (breakParagraphConservative): ditto
9505 * paragraph.h: remove the breakParagraph friend
9507 * paragraph.C (eraseIntern): new function
9508 (setChange): new function
9510 * paragraph_funcs.C (mergeParagraph): make it take a
9511 ParagraphList::iterator instead of a Paragraph *, adjust
9514 * paragraph.h: move an #endif so that the change tracking stuff
9515 also works in the NO_NEXT case.
9517 2003-03-04 Angus Leeming <leeming@lyx.org>
9520 * LyXAction.C: new LFUN_INSET_MODIFY.
9522 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9523 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9525 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9527 * several files: ws changes only
9529 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9530 (TeXEnvironment): ditto
9533 * buffer.C (makeLaTeXFile): adjust
9534 (latexParagraphs): make it take ParagraphList::iterator as args
9536 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9538 * buffer.C (latexParagraphs): adjust
9540 * paragraph.C (TeXOnePar): move function...
9541 (optArgInset): move function...
9542 (TeXEnvironment): move function...
9543 * paragraph_pimpl.C (TeXDeeper): move function...
9544 * paragraph_funcs.C: ...here
9546 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9548 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9550 * buffer.C (readInset): remove compability code for old Figure and
9553 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9555 * buffer.C: ws changes
9558 * BufferView_pimpl.C: ditto
9561 * bufferlist.h: ditto
9565 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9567 * converter.[Ch]: split into itself +
9570 * Makefile.am: += graph.[Ch] + format.[Ch]
9577 * lyxrc.C: added #include "format.h"
9579 2003-02-27 Angus Leeming <leeming@lyx.org>
9581 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9584 * factory.C (createInset): add "label" to the factory.
9586 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9587 string and do no more.
9589 2003-02-27 Angus Leeming <leeming@lyx.org>
9592 * LyXAction.C (init):
9593 * factory.C (createInset):
9594 * BufferView_pimpl.C (dispatch):
9595 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9597 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9599 * lyxfunc.C (dispatch):
9600 * text3.C (dispatch): pass name to params2string.
9602 2003-02-26 Angus Leeming <leeming@lyx.org>
9604 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9606 Rearrange the ~includes. Strip out the unnecessary ones.
9608 * factory.C (createInset): reformat.
9609 create new insets for the various LFUN_XYZ_APPLY lfuns.
9611 2003-02-26 John Levon <levon@movementarian.org>
9614 * lyxrow.C: add isParStart,isParEnd helpers
9616 * paragraph.h: make isInserted/DeletedText take refs
9618 * paragraph_funcs.h:
9619 * paragraph_funcs.C: remove #if 0'd code
9624 * text.C: use lyxrow helpers above.
9625 Move draw and paint routines to RowPainter.
9626 Make several methods use refs not pointers.
9627 Make backgroundColor() const.
9628 Add markChangeInDraw(), isInInset().
9629 Merge changeRegionCase into changeCase.
9630 Make workWidth() shouldn't-happen code into an Assert.
9633 * rowpainter.C: new class for painting a row.
9636 * vspace.C: make inPixels take a ref
9638 2003-02-26 Angus Leeming <leeming@lyx.org>
9640 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9643 2003-02-25 John Levon <levon@movementarian.org>
9645 * ispell.C: give the forked command a more accurate name
9647 2003-02-22 John Levon <levon@movementarian.org>
9650 * toc.C: make TocItem store an id not a Paragraph *
9653 2003-02-21 Angus Leeming <leeming@lyx.org>
9655 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9656 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9657 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9658 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9659 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9660 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9662 * BufferView_pimpl.C (dispatch):
9663 * LyXAction.C (init):
9664 * factory.C (createInset):
9665 * lyxfunc.C (getStatus, dispatch):
9666 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9668 2003-02-21 Angus Leeming <leeming@lyx.org>
9670 * BufferView_pimpl.C (MenuInsertLyXFile):
9671 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9672 * lyxfunc.C (menuNew, open, doImport):
9673 no longer pass a LyXView & to fileDlg.
9675 2003-02-21 Angus Leeming <leeming@lyx.org>
9677 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9678 * LyXAction.C: change, BIBKEY to BIBITEM.
9679 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9680 Change InsetBibKey to InsetBibitem.
9681 Change BIBKEY_CODE to BIBITEM_CODE.
9682 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9683 * factory.C: replace insetbib.h with insetbibitem.h.
9684 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9685 * paragraph.C: replace insetbib.h with insetbibitem.h.
9686 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9687 Change bibkey() to bibitem().
9688 * text.C: remove insetbib.h.
9689 * text2.C: replace insetbib.h with insetbibitem.h.
9690 change bibkey() to bibitem().
9691 * text3.C: remove insetbib.h.
9692 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9694 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9696 * lyxrc.C (output): enclose user email in quotes (in case there are
9699 2003-02-18 John Levon <levon@movementarian.org>
9701 * buffer.h: add std::
9703 2003-02-17 John Levon <levon@movementarian.org>
9709 * pspell.C: reworking. Especially in ispell, a large
9710 number of clean ups and bug fixes.
9712 * lyxfunc.C: fix revert to behave sensibly
9714 2003-02-17 André Pönitz <poenitz@gmx.net>
9717 * commandtags.h: new LFUN_INSERT_BIBKEY
9727 * paragraph_func.C: remove special bibkey handling
9729 2003-02-17 John Levon <levon@movementarian.org>
9731 * text.C (Delete): fix case where delete at the end of
9732 the very first paragraph would not merge the pars
9734 2003-02-17 John Levon <levon@movementarian.org>
9736 * lyxrow.C: fix lastPrintablePos()
9738 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9740 * bufferparams.C (writeLaTeX): add a std:here
9742 * buffer.C: and remove a using directive there
9744 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9746 * buffer.C (makeLaTeXFile): move the code that generates the
9749 * bufferparams.C (writeLaTeX): ... in this new method
9751 * LaTeXFeatures.C (getEncodingSet): make const
9752 (getLanguages): make const
9754 * MenuBackend.C (binding): returns the binding associated to this
9756 (add): sets the status of each item by calling getStatus. Adds
9758 (read): add support for OptSubMenu
9759 (expand): remove extra separator at the end of expanded menu
9761 2003-02-15 John Levon <levon@movementarian.org>
9764 * BufferView_pimpl.C:
9766 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9767 inset code that had no actual effect. Remove unneeded status
9770 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9772 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9775 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9777 * text.C (drawLengthMarker): also draw an arrow marker for
9778 symbolic lengths (medskip...)
9780 2003-02-14 John Levon <levon@movementarian.org>
9783 * tabular.C: better method names
9785 2003-02-14 John Levon <levon@movementarian.org>
9787 * BufferView_pimpl.C:
9792 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9793 it's a more accurate name. Remove some pointless uses.
9795 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9797 * text2.C (LyXText): change order of initilizers to shut off
9800 2003-02-14 John Levon <levon@movementarian.org>
9802 * buffer.C: use ParIterator for getParFromID()
9806 * paragraph_pimpl.h:
9807 * paragraph_pimpl.C: remove unused getParFromID()
9809 2003-02-14 John Levon <levon@movementarian.org>
9811 * buffer.C: remove some very old #if 0'd parse code
9813 2003-02-13 John Levon <levon@movementarian.org>
9817 * text2.C: move hfillExpansion(), numberOfSeparators(),
9818 rowLast(), rowLastPrintable(), numberofHfills(),
9819 numberOfLabelHfills() ...
9822 * lyxrow.C: ... to member functions here.
9827 * text.C: remove LyXText::beginningOfMainBody(), and call
9828 p->beginningOfMainBody() directly. Move the check for
9829 LABEL_MANUAL into the latter.
9836 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9842 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9843 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9845 2003-02-13 John Levon <levon@movementarian.org>
9847 * CutAndPaste.C: remove debug
9849 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9851 * paragraph.C (asString): remove two unused variables
9853 * lyxtextclass.C (readTitleType):
9855 (LyXTextClass): handle new members titletype_ and titlename_
9857 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9859 2003-02-09 John Levon <levon@movementarian.org>
9862 * buffer.C: replace hand-coded list with a map for the dep clean
9864 2003-02-08 John Levon <levon@movementarian.org>
9866 * LaTeX.C: consolidate code into showRunMessage() helper
9868 2003-02-08 John Levon <levon@movementarian.org>
9873 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9874 and pass the size in explicitly
9876 * BufferView_pimpl.h:
9877 * BufferView_pimpl.C:
9879 * BufferView.C: add getCurrentChange()
9881 * BufferView_pimpl.h:
9882 * BufferView_pimpl.C: handle change lfuns
9884 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9885 for changes. Mark pasted paragraphs as new.
9887 * support/lyxtime.h:
9888 * support/lyxtime.C:
9889 * DepTable.C: abstract time_t as lyx::time_type
9892 * LColor.C: add colours for new text, deleted text, changebars
9894 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9895 package use "usenames" option.
9899 * LyXAction.C: add change lfuns
9903 * author.C: author handling
9906 * buffer.C: add a per-buffer author list, with first entry as
9907 current author. Handle new .lyx tokens for change tracking. Output
9908 author list to .lyx file. Output dvipost stuff to .tex preamble.
9909 Bump lyx format to 222.
9912 * bufferlist.C: add setCurrentAuthor() to reset current author details
9916 * bufferparams.C: add param for tracking
9918 * bufferview_funcs.C: output change info in minibuffer
9922 * changes.C: add change-tracking structure
9925 * debug.C: add CHANGES debug flag
9928 * lyxfind.C: add code for finding the next change piece
9931 * lyxrc.C: add user_name and user_email
9934 * lyxrow.C: add a metric for the top of the text line
9937 * text.C: implement accept/rejectChange()
9940 * text.C: paint changebars. Paint new/deleted text in the chosen
9941 colours. Strike through deleted text.
9945 * paragraph_pimpl.h:
9946 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9947 in the current change to the insert functions. Rework erase to
9948 mark text as deleted, adding an eraseIntern() and a range-based
9949 erase(). Implement per-paragraph change lookup and
9952 * paragraph_funcs.C: Fixup paste for change tracking.
9954 * tabular.C: mark added row/columns as new.
9956 * text.C: fix rowLast() to never return -1. Don't allow
9957 spellchecking of deleted text. Track transpose changes. Don't
9958 allow paragraph break or merge where appropriate.
9960 * text2.C: leave cursor at end of selection after a cut.
9962 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9964 * text.C (getLengthMarkerHeight):
9965 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9966 visible on screen too.
9968 2003-02-07 John Levon <levon@movementarian.org>
9970 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9972 2003-02-05 Angus Leeming <leeming@lyx.org>
9974 * lyxserver.C (read_ready): revert my patch of 11 September last year
9975 as it sends PC cpu through the roof. Presumably this means that
9976 the lyxserver will no longer run on an Alpha...
9978 2003-01-30 Angus Leeming <leeming@lyx.org>
9980 * factory.C (createInset): create an InsetCommandParam of type "index"
9981 and use it to 'do the right thing'.
9983 * text2.C (getStringToIndex): ensure that cursor position is always
9984 reset to the reset_cursor position.
9986 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9988 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9991 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9995 * lyxfunc.C: Output messages with identical spelling, punctuation,
9998 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10000 * MenuBackend.C (expandFormats): List only viewable export formats
10003 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10006 * lyxfunc.C (getStatus): Make sure that formats other than
10007 "fax" can also be disabled
10009 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10011 * text3.C (dispatch): put the lfuns that insert insets in 3
10012 groups, and call doInsertInset with appropriate arguments.
10013 (doInsertInset): new function, that creates an inset and inserts
10014 it according to some boolean parameters.
10016 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10018 * buffer.C (readFile): remember to pass on 'par' when calling
10019 readFile recursively.
10021 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10023 * MenuBackend.C (expandFormats): add "..." to import formats.
10025 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10027 * paragraph.C (asString): Remove XForms RTL hacks.
10029 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10030 * buffer.C: fix typo
10032 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10034 * Makefile.am (LIBS): delete var
10035 (lyx_LDADD): add @LIBS@ here instead.
10037 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10039 * Clarify the meaning of "wheel mouse jump"
10041 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10043 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10046 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10048 * importer.C (Loaders): do not preallocate 3 elements in the
10049 vector, since one ends up with 6 elements otherwise
10051 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10053 * DepTable.C (write): write the file name as last element of the
10054 .dep file (because it may contain spaces)
10055 (read): read info in the right order
10057 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10059 * paragraph_pimpl.C (simpleTeXBlanks):
10060 (simpleTeXSpecialChars):
10061 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10063 * tabular.C (latex): add some missing case statements. Reindent.
10065 * MenuBackend.C (expandToc): remove unused variable.
10067 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10076 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10079 2003-01-05 John Levon <levon@movementarian.org>
10082 * BufferView.C: add getEncoding()
10085 * kbsequence.C: do not store last keypress
10088 * lyxfunc.C: store last keypress here instead. Pass encoding
10091 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10093 * lyx_main.C (init): remove annoying error message when following
10094 symbolic links (bug #780)
10096 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10098 * text.C (insertChar):
10099 * lyxrc.C (getDescription): remove extra spaces
10101 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10103 * lyxrc.C (getDescription): remove extra spaces
10105 2002-12-20 John Levon <levon@movementarian.org>
10107 * text3.C: hack fix for page up/down across tall rows
10109 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10111 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10114 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10116 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10117 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10118 thesaurus is not compiled in
10120 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10122 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10124 2002-12-16 Angus Leeming <leeming@lyx.org>
10127 * lyx_main.C (init): remove override_x_deadkeys stuff.
10129 2002-12-12 John Levon <levon@movementarian.org>
10131 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10132 insert. Only remove shift modifier under strict
10135 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10137 * MenuBackend.C (expandToc): fix crash.
10139 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10141 * MenuBackend.C (expandToc): gettext on float names.
10143 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10145 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10146 implement bool empty() [bug 490]
10148 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10150 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10152 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10154 * several files: ws changes
10156 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10158 * text2.C (setCounter): clean up a bit, use boost.format.
10159 (updateCounters): initialize par upon declaration.
10161 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10162 if the layout exists. We do not just store the layout any more.
10163 (SwitchLayoutsBetweenClasses): use boost.format
10165 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10167 * converter.C (convert): if from and to files are the same, use a
10168 temporary files as intermediary
10170 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10173 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10175 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10177 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10179 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10181 * tabular.C (asciiPrintCell): use string(size, char) instead of
10184 * sgml.C (openTag): fix order of arguments to string constructor
10187 * lyxfunc.C (dispatch): use boost.format
10189 * lots of files: change "c" -> 'c'
10191 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10193 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10195 2002-11-25 Angus Leeming <leeming@lyx.org>
10197 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10199 * lyx_main.C (init): compile fix.
10201 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10203 * lyx_cb.C (start): boost.formatify
10204 do not include <iostream>
10206 * lengthcommon.C: ws only
10208 * boost-inst.C,BoostFormat.h: add more explict instantations
10210 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10212 * lots of files: handle USE_BOOST_FORMAT
10214 2002-11-21 John Levon <levon@movementarian.org>
10216 * pspell.C: fix compile
10218 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * lyxfunc.C (dispatch): use boost::format
10224 * lyxfont.C (stateText): use boost::format
10226 * lyx_main.C (LyX): use boost::format
10228 (queryUserLyXDir): ditto
10229 (readRcFile): ditto
10231 (typedef boost::function): use the recommened syntax.
10233 * importer.C (Import): use boost::format
10235 * debug.C (showLevel): use boost::format
10237 * converter.C (view): use boost::format
10242 * bufferview_funcs.C (currentState): use boost::format
10244 * bufferlist.C (emergencyWrite): use boost::format
10246 * buffer.C (readLyXformat2): use boost::format
10247 (parseSingleLyXformat2Token): ditto
10249 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10251 * LaTeX.C (run): use boost::format
10253 * Chktex.C (scanLogFile): use boost::format
10255 * BufferView_pimpl.C (savePosition): use boost::format
10256 (restorePosition): ditto
10257 (MenuInsertLyXFile): ditto
10259 * BoostFormat.h: help file for explicit instation.
10261 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10263 * tabular.C (latex): Support for block alignment in fixed width
10266 2002-11-17 John Levon <levon@movementarian.org>
10268 * BufferView_pimpl.C:
10270 * lyxfunc.C: split filedialog into open/save
10272 2002-11-08 Juergen Vigna <jug@sad.it>
10274 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10275 by my last patch (hopefully).
10277 2002-11-08 John Levon <levon@movementarian.org>
10286 * toc.C: ParConstIterator, and use it (from Lars)
10288 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10290 * lyxtextclass.[Ch]: revise and add doxygen comments
10292 2002-11-07 John Levon <levon@movementarian.org>
10294 * text.C: fix progress value for spellchecker
10296 * toc.C: fix navigate menu for insetwrap inside minipage
10298 * paragraph_funcs.C: added FIXME for suspect code
10300 2002-11-07 John Levon <levon@movementarian.org>
10302 * BufferView_pimpl.C: fix redrawing of insets
10305 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * text2.C (updateCounters): fix bug 668
10309 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10311 * text3.C (dispatch): Do not make the buffer dirty when moving the
10314 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10316 * vc-backend.C: STRCONV
10317 (scanMaster): ditto
10319 * text2.C (setCounter): STRCONV
10321 * paragraph.C (asString): STRCONV
10323 * lyxlength.C (asString): STRCONV
10324 (asLatexString): ditto
10326 * lyxgluelength.C (asString): STRCONV
10327 (asLatexString): ditto
10329 * lyxfunc.C (dispatch): STRCONV
10332 * lyxfont.C (stateText): STRCONV
10334 * importer.C (Import): STRCONV
10336 * counters.C (labelItem): STRCONV
10337 (numberLabel): ditto
10338 (numberLabel): remove unused ostringstream o
10343 * bufferview_funcs.C (currentState): STRCONV
10345 * buffer.C (readFile): STRCONV
10346 (asciiParagraph): ditto
10347 (makeLaTeXFile): ditto
10349 * Spacing.C (writeEnvirBegin): STRCONV
10351 * LaTeXFeatures.C (getLanguages): STRCONV
10352 (getPackages): ditto
10354 (getBabelOptions): ditto
10355 (getTClassPreamble): ditto
10356 (getLyXSGMLEntities): ditto
10357 (getIncludedFiles): ditto
10361 (scanAuxFile): ditto
10364 * LString.h: add the STRCONV macros
10366 * BufferView_pimpl.C (savePosition): STRCONV
10367 (restorePosition): ditto
10368 (MenuInsertLyXFile): ditto
10370 * vc-backend.C (scanMaster): change from submatch[...] to
10373 * funcrequest.C: include config.h
10375 * factory.C: include config.h
10377 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10379 * box.C: include config.h
10381 * LaTeX.C (scanAuxFile): change from submatch[...] to
10385 2002-10-25 Angus Leeming <leeming@lyx.org>
10387 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10389 * ispell.[Ch] (setError): new method.
10390 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10391 Use setError() insetead of goto END.
10393 * lyx_cb.C (AutoSave): move out child process into new class
10396 2002-10-30 John Levon <levon@movementarian.org>
10398 * text3.C: make start appendix undoable
10400 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10402 * lyxlength.C (inPixels): Fix returned value.
10404 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10407 2002-10-24 Angus Leeming <leeming@lyx.org>
10409 * lyxgluelength.h: no need to forward declare BufferParams
10410 or BufferView, so don't.
10412 2002-10-21 John Levon <levon@movementarian.org>
10414 * BufferView.C: menuUndo ->undo, redo
10416 * BufferView.h: document, remove dead, make some methods private
10418 * paragraph_funcs.h:
10419 * paragraph_funcs.C:
10420 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10425 * sgml.C: move sgml open/close tag into sgml.C
10427 * bufferview_funcs.h: unused prototype
10430 * lyxfunc.C: remove unused
10433 * text.C: remove unused
10435 2002-10-21 John Levon <levon@movementarian.org>
10439 * BufferView_pimpl.h:
10440 * BufferView_pimpl.C: fix mouse wheel handling based on
10441 patch from Darren Freeman
10443 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10445 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10447 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10449 * lyxlength.C (inPixels): Fix hanfling of negative length.
10450 Fix LyXLength::MU case.
10452 2002-10-16 John Levon <levon@movementarian.org>
10454 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10456 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10458 * converter.C (view): add support for $$i (file name) and $$p
10459 (file path) for the viewer command. If $$i is not specified, then
10460 it is appended to the command (for compatibility with old syntax)
10462 2002-10-14 Juergen Vigna <jug@sad.it>
10464 * undo_funcs.C (textHandleUndo): alter the order in which the
10465 new undopar is added to the LyXText, as we have to set first
10466 the right prev/next and then add it as otherwise the rebuild of
10467 LyXText is not correct. Also reset the cursor to the right paragraph,
10468 with this IMO we could remove the hack in "redoParagraphs()".
10470 2002-10-09 Angus Leeming <leeming@lyx.org>
10472 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10473 to turn off an optimisation if a new inset is to be inserted.
10475 2002-10-11 André Pönitz <poenitz@gmx.net>
10477 * lyxtext.h: make some functions public to allow access
10478 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10480 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10482 * text3.C (dispatch): when changing layout, avoid an infinite loop
10485 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10487 * lyxrc.C (read): treat a viewer or converter command of "none" as
10490 * MenuBackend.C (expandFormats): for an update, also allow the
10491 formats that are not viewable
10493 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10494 script if it is newer than the lyxrc.defaults in user directory
10496 2002-10-07 André Pönitz <poenitz@gmx.net>
10498 * text.C: Vitaly Lipatov's small i18n fix
10500 2002-09-25 Angus Leeming <leeming@lyx.org>
10502 * ispell.h: doxygen fix.
10504 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10506 * buffer.h (readFile): Add a new argument to the method, to allow
10507 reading of old-format templates.
10509 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10511 * toc.C (getTocList): Get TOC from InsetWrap.
10513 2002-09-16 John Levon <levon@movementarian.org>
10515 * lyxfunc.C: check tabular for cut/copy too
10517 2002-09-12 John Levon <levon@movementarian.org>
10519 * LyXAction.C: tidy
10522 * factory.C: add header
10524 * paragraph_funcs.h:
10525 * paragraph_funcs.C: cleanup
10527 2002-09-11 John Levon <levon@movementarian.org>
10529 * PrinterParams.h: odd/even default to true
10531 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10533 * PrinterParams.h: update printer parameters for new xforms dialog
10535 2002-09-11 Angus Leeming <leeming@lyx.org>
10537 * lyxserver.C (read_ready): re-write to make it more transparent
10538 and to make it work in coherent fashion under Tru64 Unix.
10540 2002-09-11 André Pönitz <poenitz@gmx.net>
10544 * text3.C: implement LFUN_WORDSEL
10546 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10548 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10549 make floatlist_ a boost::shared_ptr<FloatList>
10551 * lyxtextclass.C: include FloatList.h
10552 (LyXTextClass): initialize floatlist_
10553 (TextClassTags): add TC_NOFLOAT
10554 (Read): match "nofloat" to TC_NOFLOAT and use it.
10555 (readFloat): modify call to floatlist_
10559 * FloatList.[Ch] (FloatList): remove commented out float
10561 (erase): new function
10563 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10565 * MenuBackend.C (expandToc): fix crash when there is no document
10568 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10570 * many files: Add insetwrap.
10572 2002-09-09 John Levon <levon@movementarian.org>
10574 * text2.C: remove confusing and awkward depth wraparound
10576 2002-09-09 John Levon <levon@movementarian.org>
10578 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10581 * buffer.C: remove getIncludeonlyList()
10584 * lyxfunc.C: remove headers
10586 2002-09-09 Juergen Vigna <jug@sad.it>
10588 * text.C (getColumnNearX): fix form Michael this is most
10589 probably a cut&paste bug.
10591 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10593 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10595 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10596 references, ws changes.
10598 * text2.C (init): update counters after init
10599 (insertParagraph): no need to set counter on idividual paragraphs.
10600 (setCounter): access the counters object in the textclass object
10601 on in the buffer object.
10602 (updateCounters): ditto
10604 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10605 shared_ptr<Counters> to avoid loading counters.h in all
10607 (LyXTextClass): initialize ctrs_
10608 (TextClassTags): add TC_COUNTER, and ...
10609 (Read): use it here.
10610 (CounterTags): new tags
10611 (readCounter): new function
10612 (counters): new funtion
10613 (defaultLayoutName): return a const reference
10615 * counters.C (Counters): remove contructor
10616 (newCounter): remove a couple of unneeded statements.
10617 (newCounter): simplify a bit.
10618 (numberLabel): some small formatting changes.
10620 * buffer.[Ch]: remove all traces of counters, move the Counters
10621 object to the LyXTextClass.
10623 2002-09-06 Alain Castera <castera@in2p3.fr>
10625 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10626 package to set the horizontal alignment on fixed width columns.
10629 * lyx_sty.h: added tabularnewline macro def.
10631 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10633 2002-09-06 John Levon <levon@movementarian.org>
10635 * LyXAction.C: tooltips for sub/superscript
10637 * MenuBackend.C: a bit more verbose
10639 * lyxfunc.C: tiny clean
10641 * undo_funcs.C: document undo_frozen
10643 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10645 * counters.C (Counters): add missing algorithm counter.
10647 * text2.C (setCounter): lookup the counter with layouts latexname
10648 instead of by section number.
10649 (setCounter): use a hackish way to lookup the correct enum
10651 a float name->type change
10652 reset enum couners with counter name directly instead of depth value.
10654 * counters.C (Counters): remove the push_backs, change to use the
10655 float type not the float name.
10656 (labelItem): remove unused string, float name->type change
10658 * counters.h: don't include vector, loose the enums and sects vectors
10660 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10662 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10663 (Read): add float->TC_FLOAT to textclassTags
10664 (Read): and handle it in the switch
10665 (readFloat): new function
10667 * FloatList.C (FloatList): comment out the hardcoded float
10670 * lyxlayout.h: ws change.
10672 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10674 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10676 2002-09-03 Angus Leeming <leeming@lyx.org>
10678 * BufferView_pimpl.h: qualified name is not allowed in member
10679 declaration: WorkArea & Pimpl::workarea() const;
10681 * factory.C: added using std::endl directive.
10683 * text3.C: added using std::find and std::vector directives.
10685 2002-08-29 André Pönitz <poenitz@gmx.net>
10688 * text2.C: remove unused member number_of_rows
10691 * BufferView2.C: remove file, move contents to...
10692 * BufferView.C: ... here
10694 * BufferView_pimpl.C:
10695 * factory.C: move more inset creation to factory
10697 * vspace.C: avoid direct usage of LyXText, ws changes
10700 don't provide direct access to WorkArea, use two simple
10701 acessors haveSelction() and workHeight() instead
10704 2002-08-29 John Levon <levon@movementarian.org>
10706 * BufferView_pimpl.C (dispatch): do not continue when
10709 2002-08-28 André Pönitz <poenitz@gmx.net>
10711 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10714 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10716 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10718 * buffer.C: increment LYX_FORMAT to 221
10720 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10721 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10723 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10725 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10727 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10729 * factory.C (createInset): use LyXTextClass::floats
10731 * MenuBackend.C (expandFloatListInsert):
10732 (expandFloatInsert):
10735 * text2.C (setCounter):
10737 * LaTeXFeatures.C (useFloat):
10738 (getFloatDefinitions):
10740 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10742 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10743 floatlist_, with accessor floats().
10745 * FloatList.h: remove global FloatList
10747 2002-08-26 André Pönitz <poenitz@gmx.net>
10749 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10753 * BufferView_pimpl.C:
10754 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10756 2002-08-25 John Levon <levon@movementarian.org>
10758 * LyXAction.C: fix margin note description
10760 2002-08-24 John Levon <levon@movementarian.org>
10764 * bufferview_funcs.C:
10766 * undo_funcs.C: cleanups
10768 * lyxfunc.C: disable CUT/COPY when no selection
10770 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10772 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10773 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10775 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10776 Add backward compatibility to "mono", "gray" and "no".
10778 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10780 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10781 (and file_format >= 200).
10783 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10785 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10787 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10789 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10791 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10793 * BufferView_pimpl.C:
10800 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10801 inset and code to make it work with the paragraph code. The inset
10802 can be anywhere in the paragraph, but will only do the expected
10803 thing in LaTeX if the layout file contains the parameter line
10805 (or more generally, a nonzero value) for that layout.
10807 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10809 * paragraph.h: remove the declaration of undefined counters class
10812 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10814 * text2.C (setCounter): fixed enumeration mis-count as reported by
10815 Dr. Richard Hawkins.
10817 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10819 * paragraph_funcs.h: remove some unneeded includes
10821 * text.C (backspace): pasteParagraph now in global scipe
10823 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10824 (pasteSelection): ditto
10826 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10827 * paragraph_funcs.C (pasteParagraph): ... here
10829 2002-08-20 André Pönitz <poenitz@gmx.net>
10831 * commandtags.h: new LFUNs for swapping/copying table row/colums
10834 * lyxfunc.C: support for new lfuns
10836 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10839 * buffer.[Ch]: remove NO_COMPABILITY stuff
10841 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10843 * boost.C (throw_exception): new file, with helper function for
10844 boost compiled without exceptions.
10849 * ParameterStruct.h:
10850 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10852 * bufferlist.C (emergencyWriteAll): use boost bind
10854 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10856 * text.C: include paragraph_funcs.h
10857 (breakParagraph): breakParagraph is now in global scope
10859 * paragraph_funcs.[Ch]: new files
10861 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10864 * buffer.C: include paragraph_funcs.h
10865 (insertStringAsLines): breakParagraph is now in global scope
10867 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10870 * CutAndPaste.C: include paragraph_funcs.h
10871 (cutSelection): breakParagraphConservative is now in global scope
10872 (pasteSelection): ditto
10874 * buffer.h: declare oprator== and operator!= for
10875 Buffer::inset_iterator
10877 * bufferlist.C (emergencyWrite): don't use fmt(...)
10879 * text3.C: add using std::endl
10881 * BufferView.C (moveCursorUpdate): remove default arg
10883 2002-08-20 André Pönitz <poenitz@gmx.net>
10885 * buffer.[Ch]: move inline functions to .C
10888 * BufferView_pimpl.C:
10890 * buffer.[Ch]: use improved inset_iterator
10893 * paragraph.[Ch]: write one paragraph at a time
10895 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10897 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10898 style if style is not specified.
10900 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10902 * text2.C (setCounter): when searching for right label for a
10903 caption, make sure to recurse to parent insets (so that a caption
10904 in a minipage in a figure float works) (bug #568)
10906 2002-08-20 André Pönitz <poenitz@gmx.net>
10908 * text3.C: new file for LyXText::dispatch() and helpers
10910 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10912 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10914 2002-08-19 André Pönitz <poenitz@gmx.net>
10917 * text.C: new LyXText::dispatch()
10919 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10921 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10923 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10925 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10928 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10930 * Makefile.am: use $(variables) instead of @substitutions@
10932 2002-08-15 André Pönitz <poenitz@gmx.net>
10935 * BufferView_pimpl.C: streamlining mathed <-> outer world
10939 * LyXAction.C: remove unused LFUN_MATH
10941 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10943 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10945 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10947 * paragraph.C (Paragraph): reformat a bit
10948 (cutIntoMinibuffer): use builtin InsetList function instad of
10952 * buffer.C: include boost/bind.hpp, add using std::for_each
10953 (writeFileAscii): use ParagraphList iterators
10954 (validate): use for_each for validate traversal of paragraphs
10955 (getBibkeyList): use ParagraphList iterators
10956 (resizeInsets): use for_each to resizeInsetsLyXText for all
10958 (getParFromID): use ParagraphList iterators
10960 * BufferView2.C (lockInset): use paragraph list and iterators
10962 2002-08-14 John Levon <levon@movementarian.org>
10964 * lyxserver.C: remove spurious xforms include
10966 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10968 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10970 2002-08-13 André Pönitz <poenitz@gmx.net>
10973 * lyxfunc.C: further cleaning
10975 2002-08-13 André Pönitz <poenitz@gmx.net>
10977 * funcrequest.h: new constructor
10979 * funcrequest.C: move stuff here from .h
10982 * BufferView_pimpl.C:
10985 * lyxfunc.C: subsequent changes
10987 * lyxfunc.h: new view() member function
10989 * lyxfunc.C: subsequent changes
10991 2002-08-13 Angus Leeming <leeming@lyx.org>
10994 * BufferView_pimpl.C:
11002 changes due to the changed LyXView interface that now returns references
11003 to member variables not pointers.
11005 2002-08-13 Angus Leeming <leeming@lyx.org>
11007 * WordLangTuple (word, lang_code): return references to strings,
11012 * lyxtext.h: forward-declare WordLangTuple.
11017 * text.C: #include "WordLangTuple.h".
11020 * text.C: (selectNextWordToSpellcheck): constify return type.
11022 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11028 * paragraph_pimpl.h:
11031 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11032 suggested by Angus.
11033 Made updateCounter always count from start of buffer, and removed
11034 second argument (par).
11035 Reverted floats number display to '#'. Perhaps I'll try again when the
11036 code base is sanitized a bit.
11038 2002-08-12 Angus Leeming <leeming@lyx.org>
11040 * buffer.[Ch] (getLabelList): constify.
11042 2002-08-07 André Pönitz <poenitz@gmx.net>
11044 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11046 * funcrequest.h: extension to keep mouse (x,y) position
11048 2002-08-12 Juergen Vigna <jug@sad.it>
11050 * BufferView2.C (insertErrors): forbid undo when inserting error
11053 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11055 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11057 * ParagraphList.[Ch]: new files
11059 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11061 * BufferView2.C (lockInset): ParagraphList changes
11064 * bufferlist.C: ditto
11068 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11070 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11071 unused class variable counter_,
11073 * paragraph.[Ch] (getFirstCounter): delete unused function
11075 * counters.C: include LAssert.h
11076 (reset): add a new function with no arg, change other version to
11077 not have def. arg and to not allow empty arg.
11079 * text2.C (setCounter): remove empty arg from call to Counters::reset
11081 2002-08-11 John Levon <levon@movementarian.org>
11083 * Makefile.am: add WordLangTuple.h
11085 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11087 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11088 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11090 * insets/insettext.C: InsetList changes
11092 * graphics/GraphicsSupport.C (operator()): InsetList changes
11094 * toc.C (getTocList): InsetList changes
11096 * paragraph_pimpl.[Ch]: InsetList changes
11098 * paragraph.[Ch]: InsetList changes
11100 * buffer.C (inset_iterator): InsetList changes
11101 (setParagraph): ditto
11102 * buffer.h (inset_iterator): ditto
11103 * iterators.C (operator++): ditto
11104 * iterators.h: ditto
11106 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11108 * InsetList.[Ch]: new files, most InsetList handling moved out of
11111 * BufferView2.C (removeAutoInsets): InsetList changes
11113 (ChangeInsets): ditto
11115 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11117 * paragraph_pimpl.h (empty): new function
11119 * paragraph.[Ch] (empty): new function
11121 * other files: use the new Paragraph::empty function
11123 2002-08-09 John Levon <levon@movementarian.org>
11125 * lyxtext.h: remove unused refresh_height
11127 2002-08-09 John Levon <levon@movementarian.org>
11134 * paragraph.C: move sgml char escaping out of paragraph
11137 * paragraph.C: remove id setter
11141 * paragraph_pimpl.C: remove dead tex_code_break_column
11143 * bufferview_funcs.C: small cleanup
11145 * lyxfunc.C: remove dead proto
11147 * lyxtext.h: make some stuff private. Remove some dead stuff.
11149 * lyxgluelength.C: make as[LyX]String() readable
11151 2002-08-08 John Levon <levon@movementarian.org>
11156 * ToolbarDefaults.C:
11159 * toc.C: lyxaction cleanup
11161 2002-08-08 John Levon <levon@movementarian.org>
11163 * BufferView2.C: small cleanup
11166 * lyxfind.C: move unnecessary header into the .C
11168 2002-08-08 John Levon <levon@movementarian.org>
11170 * funcrequest.h: just tedious nonsense
11173 * lyx_main.C: cleanups
11176 * vspace.C: remove dead header lyx_main.h
11178 2002-08-07 Angus Leeming <leeming@lyx.org>
11181 * paragraph_pimpl.h:
11182 Forward declare class Counters in paragraph.h by moving the ctrs member
11183 variable into Paragraph::Pimpl.
11184 (counters): new method, returning a reference to pimpl_->ctrs.
11186 * text2.C: ensuing changes.
11188 2002-08-07 John Levon <levon@movementarian.org>
11190 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11192 * BufferView_pimpl.C: announce X selection on double/triple
11195 * lyx_main.C: use correct bool in batch dispatch
11197 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11199 2002-08-07 André Pönitz <poenitz@gmx.net>
11201 * funcrequest.h: new class to wrap a kb_action and its argument
11204 * BufferView_pimpl[Ch]:
11208 * lyxrc.C: subsequent changes
11211 2002-08-07 John Levon <levon@movementarian.org>
11213 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11214 document options change.
11216 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11221 * makefile.am: move counters functionality over from
11222 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11224 2002-08-06 John Levon <levon@movementarian.org>
11226 * WordLangTuple.h: new file for word + language code tuple
11237 * BufferView2.C: use WordLangTuple
11240 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11242 2002-08-06 John Levon <levon@movementarian.org>
11244 * lyx_main.C: fix cmdline batch handling
11246 2002-08-06 André Pönitz <poenitz@gmx.net>
11248 * lyxrc.C: set default for show_banner to true
11250 2002-08-06 John Levon <levon@movementarian.org>
11252 * pspell.C: fix a crash, and allow new aspell to work
11254 2002-08-06 John Levon <levon@movementarian.org>
11257 * kbmap.C: small cleanup
11260 * vspace.C: add const
11262 2002-08-05 John Levon <levon@movementarian.org>
11264 * LyXAction.C: back to tabular-insert
11266 2002-08-04 John Levon <levon@movementarian.org>
11269 * BufferView.C: cosmetic change
11271 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11281 * BufferView2.C: purge all "Lyx" not "LyX" strings
11284 * lyxcursor.C: attempt to add some documentation
11289 * ToolbarDefaults.C:
11290 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11291 merge with LFUN_TABULAR_INSERT
11298 * pspell.C: split up i/pspell implementations into separate
11299 files, many cleanups
11301 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11303 * text2.C: some cleanup
11305 * lyxfunc.C: don't check for isp_command == "none" any more, it
11306 didn't make any sense
11308 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11313 * makefile.am: move counters functionality over
11314 from text2.C/paragraph.[Ch] to counters.[Ch], and
11316 2002-08-02 John Levon <levon@movementarian.org>
11318 * buffer.C: s/lyxconvert/lyx2lyx/
11320 2002-08-02 Angus Leeming <leeming@lyx.org>
11322 * lyxlex.C: revert John's change as it breaks reading of the user
11325 2002-08-02 Angus Leeming <leeming@lyx.org>
11327 * importer.C (Import):
11328 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11329 changes due to LyXView::view() now returning a boost::shared_ptr.
11331 2002-08-02 John Levon <levon@movementarian.org>
11333 * lyxlex.C: small cleanup
11335 2002-08-02 John Levon <levon@movementarian.org>
11337 * text2.C (status): small cleanup, no logic change
11339 2002-08-01 John Levon <levon@movementarian.org>
11342 * buffer.C (writeFile): don't output alerts, caller
11346 * lyx_cb.C: from above
11348 * lyxfunc.C: allow to open non-existent files
11350 2002-07-31 John Levon <levon@movementarian.org>
11352 * lyxserver.C: don't let incidental errors get
11355 2002-07-30 John Levon <levon@movementarian.org>
11357 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11359 2002-07-30 John Levon <levon@movementarian.org>
11362 * lyxserver.C: remove I/O callback too
11364 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11366 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11369 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11371 * many files: strip,frontStrip -> trim,ltrim,rtrim
11373 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11375 * PrinterParams.h: remove extern containsOnly, and include
11376 support/lstrings.h instead.
11378 * LaTeX.C (scanAuxFile): modify because of strip changes
11380 * buffer.C (makeLaTeXFile): ditto
11381 * bufferparams.C (writeFile): ditt
11382 * lyxfont.C (stateText): ditto
11383 * lyxserver.C (read_ready): ditto
11384 * vc-backend.C (scanMaster): ditto
11386 * BufferView_pimpl.h: ws changes
11388 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11390 2002-07-26 André Pönitz <poenitz@gmx.net>
11392 * kb_sequence.C: remove unnedred usings
11394 2002-07-26 Juergen Vigna <jug@sad.it>
11396 * lyxfind.C (LyXReplace): we have to check better if the returned
11397 text is not of theLockingInset()->getLockingInset().
11399 2002-07-25 Juergen Vigna <jug@sad.it>
11401 * lyxfind.C (LyXReplace): don't replace if we don't get the
11404 * undo_funcs.C (createUndo): remove debugging code.
11406 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11408 * buffer.C (parseSingleLyXformat2Token): Use default placement
11409 when reading old floats.
11411 * FloatList.C (FloatList): Change the default placement of figure
11412 and tables to "tbp".
11414 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11416 * MenuBackend.C: using std::max
11418 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11420 * MenuBackend.C (expandToc):
11421 (expandToc2): code moved from xforms menu frontend. It is now
11422 generic and TOCs are transparent to menu frontends.
11424 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11426 * toc.C (getTocList): protect against buf=0
11428 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11429 Menu as first parameter. Now, this calls itself recursively to
11430 expand a whole tree (this will be useful for TOC handling)
11431 (expandFloatInsert): remove 'wide' version of floats
11433 * MenuBackend.h (submenuname): returns the name of the submenu.
11434 (submenu): returns the submenu itself, provided it has been
11435 created by MenuBackend::expand
11437 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11440 insets which have noFontChange == true. (bug #172)
11442 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11444 * BufferView_pimpl.C: add connection objects and use them...
11447 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11449 * MenuBackend.C (expandLastfiles):
11452 (expandFloatListInsert):
11453 (expandFloatInsert):
11454 (expand): split expand in parts
11456 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11458 * lyx_gui.C: use lyx_gui::exit()
11460 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11462 * LyXAction.C: show the failing pseudo action
11464 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11466 * buffer.C (readFile): Run the lyxconvert script in order to read
11469 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11473 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11475 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11479 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11481 2002-07-22 Herbert Voss <voss@lyx.org>
11484 * lyxlength.[Ch]: add support for the vertical lengths
11486 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11488 * toc.[Ch]: std:: fixes
11490 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11492 * lyxrc.C: do not include lyx_main.h
11494 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11500 * BufferView2.C: include "lyxlex.h"
11503 * bufferparams.h: do not #include "lyxlex.h"
11505 * lyxtextclasslist.C (Add): remove method
11506 (classlist): renamed to classlist_
11508 * paragraph_pimpl.C:
11512 * bufferview_funcs.C:
11517 * toc.C (getTocList): use BufferParams::getLyXTextClass
11519 * toc.C (getTocList): use InsetFloat::addToToc
11521 * toc.[Ch]: new files, containing helper functions to handle table
11524 * lyxfunc.C (dispatch): no need to remove spaces around command
11526 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11527 first command of the sequence; it is not very clever, but I do not
11528 have a better idea, actually
11530 * LyXAction.C (LookupFunc): make sure to remove space at the
11531 beginning and end of the command
11533 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11535 * MenuBackend.C (getMenubar): new method: return the menubar of
11537 (read): treat differently reading of menu and menubar (in
11538 particular, the menubar has no name now)
11539 (Menu::menubar): remove
11541 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11544 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11546 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11547 a bibitem inset in a RTL paragraph.
11549 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11551 * paragraph_pimpl.C: constify
11553 * BufferView_pimpl.C:
11555 * lyxfunc.C: fix dispatch in a nicer way
11557 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11559 * lyxfunc.C (dispatch):
11560 * BufferView_pimpl.C:
11561 * BufferView_pimpl.h:
11563 * BufferView.h: rename Dispatch() to dispatch()
11565 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11567 * lyxlayout.C (Read): honor DependsOn tag
11569 * lyxlayout.[Ch] (depends_on): new method
11571 * version.C.in: update lyx_docversion
11573 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11575 * paragraph.C (validate): remove from here...
11576 * paragraph_pimpl.C (validate): ... and move here
11577 (isTextAt): make it const
11579 * buffer.C (getLists): ws cleanup
11581 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11583 * language.C (read): Use iso8859-1 encoding in latex_lang
11584 (this prevents LyX from crashing when using iso10646-1 encoding).
11586 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11588 * text2.C (toggleInset): if cursor is inside an inset, close the
11589 inset and leave cursor _after_ it
11591 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11593 * lyxfunc.C: move minibuffer completion handling out of here
11595 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11597 * BufferView_pimpl.C:
11598 * LaTeX.C: fix dispatch calls
11600 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11602 * text.C (drawChars): Fix Arabic text rendering.
11604 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11608 * lyxfunc.C: remove message-push/pop
11612 * lyxfunc.C: rationalise some code by removing verboseDispatch
11613 in favour of a bool argument to dispatch()
11615 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11617 * lyx_main.C (init): make sure to read symlinks as absolute paths
11619 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11622 * lyxfunc.C: no need for commandshortcut to be a member
11624 2002-07-15 André Pönitz <poenitz@gmx.net>
11626 * converter.C: add support for $$s (scripts from lib/scripts dir)
11627 * lyx_main.C: white space
11629 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11633 * lyxrc.C: remove second exit confirmation
11635 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11640 * BufferView_pimpl.h:
11641 * BufferView_pimpl.C:
11642 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11644 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11646 * MenuBackend.C (expand): add numeric shortcuts to document menu
11648 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11650 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11652 * lyxfont.C (setLyXFamily):
11659 * buffer.C (asciiParagraph): use ascii_lowercase
11661 2002-07-15 Mike Fabian <mfabian@suse.de>
11663 * lyxlex_pimpl.C (search_kw):
11664 * lyxlex.C (getLongString):
11665 * converter.h (operator<):
11666 * converter.C (operator<):
11667 * buffer.C (parseSingleLyXformat2Token):
11669 * ToolbarDefaults.C (read):
11670 * MenuBackend.C (checkShortcuts):
11672 * LColor.C (getFromGUIName):
11673 (getFromLyXName): use the compare_ascii_no_case instead of
11674 compare_no_case, because in turkish, 'i' is not the lowercase
11675 version of 'I', and thus turkish locale breaks parsing of tags.
11677 2002-07-16 Angus Leeming <leeming@lyx.org>
11679 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11680 now takes a Buffer const & argument.
11682 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11684 * BufferView.C (resize): check there's a buffer to resize
11686 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11688 * lyxfunc.C: remove dead code
11691 * lyxserver.C: use lyx_guii::set_read_callback
11693 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11695 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11696 an inset in a RTL paragraph.
11698 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11700 * lyxfunc.C: repaint after a font size update
11702 2002-07-15 André Pönitz <poenitz@gmx.net>
11704 * lyxlength.C: inBP should be able to return negative values
11706 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11708 * lyxfunc.C: use lyx_gui::update_fonts()
11710 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11712 * lyxfunc.C: use lyx_gui::update_color()
11714 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11720 * lyxrc.C: remove file->new asks for name option, and let
11721 buffer-new take an argument
11723 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11725 * BufferView_pimpl.C: remove unneeded extra repaint()
11727 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11729 * LyXAction.C: allow command-sequence with NoBuffer
11731 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11733 2002-07-10 Angus Leeming <leeming@lyx.org>
11735 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11737 2002-07-09 Angus Leeming <leeming@lyx.org>
11739 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11741 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11743 * lengthcommon.h: whitespace
11745 * lyxfunc.C: update scrollbar after goto paragraph
11747 * lyxtext.h: factor out page break drawing, and fix it so
11748 page break/added space paints as selected nicely
11750 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11752 * BufferView_pimpl.C: add FIXMEs, clean up a little
11754 2002-07-09 André Pönitz <poenitz@gmx.net>
11756 * lyxfont.[Ch]: support for wasy symbols
11758 2002-07-08 André Pönitz <poenitz@gmx.net>
11760 * BufferView_pimpl.C: apply John's patch for #93.
11762 2002-07-05 Angus Leeming <leeming@lyx.org>
11764 * BufferView_pimpl.C (buffer): generate previews if desired.
11766 * LColor.h: add "preview" to the color enum.
11768 * LColor.C (LColor): add a corresponding entry to the items array.
11770 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11773 2002-07-05 Angus Leeming <leeming@lyx.org>
11775 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11776 The body of the code is now in the method that is passed an ostream &
11777 rather than a file name.
11778 Pass an additional only_preamble parameter, useful for the forthcoming
11781 2002-07-03 André Pönitz <poenitz@gmx.net>
11783 * lyxfunc.C: simplify getStatus() a bit for math stuff
11785 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11789 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11791 * text.C (changeRegionCase): do not change case of all the
11792 document when region ends at paragraph end (bug #461)
11794 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * paragraph.C (startTeXParParams):
11797 (endTeXParParams): add \protect when necessary
11799 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * BufferView_pimpl.C (workAreaExpose): remove warning
11803 2002-06-27 Angus Leeming <leeming@lyx.org>
11805 * Makefile.am: add lyxlayout_ptr_fwd.h.
11807 2002-06-26 André Pönitz <poenitz@gmx.net>
11809 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11811 2002-06-25 Angus Leeming <leeming@lyx.org>
11813 * lyxfunc.C (dispatch): Comment out the call to
11814 grfx::GCache::changeDisplay. The method no longer exists now that the
11815 pixmap generation part of the graphics loader has been moved into
11818 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11820 * text2.C: layout as layout
11822 * text.C: layout as layout
11824 * tabular.C (OldFormatRead): layout as layout
11826 * paragraph_pimpl.C (TeXDeeper): layout as layout
11827 (realizeFont): layout as layout
11829 * paragraph.C (writeFile): layout as layout
11830 (validate): layout as layout
11831 (getFont): layout as layout
11832 (getLabelFont): layout as layout
11833 (getLayoutFont): layout as layout
11834 (breakParagraph): layout as layout
11835 (stripLeadingSpaces): layout as layout
11836 (getEndLabel): layout as layout
11837 (getMaxDepthAfter): layout as layout
11838 (applyLayout): layout as layout
11839 (TeXOnePar): layout as layout
11840 (simpleTeXOnePar): layout as layout
11841 (TeXEnvironment): layout as layout
11842 (layout): layout as layout
11843 (layout): layout as layout
11845 * lyxtextclass.C (compare_name): new functor to work with
11846 shared_ptr, layout as layout
11847 (Read): layout as layout
11848 (hasLayout): layout as layout
11849 (operator): layout as layout
11850 (delete_layout): layout as layout
11851 (defaultLayout): layout as layout
11853 * lyxlayout_ptr_fwd.h: new file
11855 * lyxlayout.C (Read): layout as layout
11857 * lyx_cb.C (MenuInsertLabel): layout as layout
11859 * bufferlist.C (newFile): layout as layout
11861 * buffer.C (readLyXformat2): layout as layout
11862 (parseSingleLyXformat2Token): layout as layout
11863 (insertStringAsLines): layout as layout
11864 (asciiParagraph): layout as layout
11865 (latexParagraphs): layout as layout
11866 (makeLinuxDocFile): layout as layout
11867 (simpleLinuxDocOnePar): layout as layout
11868 (makeDocBookFile): layout as layout
11869 (simpleDocBookOnePar): layout as layout
11870 (getLists): layout as layout
11872 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11874 * CutAndPaste.C (cutSelection): layout as layout
11875 (pasteSelection): layout as layout
11876 (SwitchLayoutsBetweenClasses): layout as layout
11878 * BufferView_pimpl.C (Dispatch): layout as layout
11879 (smartQuote): layout as layout
11881 * BufferView2.C (unlockInset): layout as layout
11883 2002-06-24 André Pönitz <poenitz@gmx.net>
11885 * lyxfunc.C: fix #487
11887 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11891 * lyxfunc.C: remove display_shortcuts, show_banner
11893 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11895 * Buffer_pimpl.C: oops, update on resize
11897 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11904 * BufferView.C: use repaint()
11906 * BufferView_pimpl.h:
11907 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11908 as it's a clearer description. Remove superfluous
11911 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11913 * text.C: fix bug 488. Not ideal, but getting
11914 getWord() to work properly for the insets that
11915 matter is more difficult ...
11917 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11919 * BufferView_pimpl.C:
11922 * lyxfunc.C: remove the six million index lyxfuncs to just
11923 one, and DTRT (bug 458)
11925 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11929 * BufferView_pimpl.h:
11930 * BufferView_pimpl.C: clean up resize() stuff,
11931 and unnecessary updateScreen()s
11933 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11937 * BufferView_pimpl.h:
11938 * BufferView_pimpl.C:
11941 * minibuffer.C: remove focus management of workarea,
11942 not needed. Use screen's greyOut()
11944 2002-06-17 Herbert Voss <voss@lyx.org>
11946 * converter.C: (convert) do not post a message, when converting
11947 fails, let the calling function decide what to do in this case
11949 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11951 * lyxfunc.C: tidy up a little
11953 2002-06-16 <alstrup@diku.dk>
11955 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11956 Got rid of FORMS_H_LOCATION include. Now we are
11959 2002-06-15 LyX Development team <lyx@rilke>
11961 * buffer.[Ch] (sgmlOpenTag):
11962 (sgmlCloseTag): Added support for avoiding pernicious mixed
11963 content. Return number of lines written.
11965 (makeLinuxDocFile):
11966 (makeDocBookFile): Fixed calls to sgml*Tag.
11967 Simple white space clean.
11969 (simpleDocBookOnePar): Simple white space clean.
11971 * tabular.[Ch] (docBook): Renamed to docbook and got another
11972 argument to related with the pernicious mixed content.
11974 (docbookRow): Fixed calls for docbook inset method.
11976 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11978 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11979 so it's X11 independent.
11983 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11985 2002-06-15 Lyx Development team <lyx@electronia>
11987 * intl.h: Renamed getTrans to getTransManager.
11989 2002-06-14 Angus Leeming <leeming@lyx.org>
11991 * Makefile.am: nuke forgotten stl_string_fwd.h.
11993 2002-06-12 Angus Leeming <leeming@lyx.org>
11995 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11997 2002-06-13 Angus Leeming <leeming@lyx.org>
12000 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12002 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12004 * kbmap.C (getiso): add support for cyrillic and greek
12006 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12010 * BufferView_pimpl.h:
12011 * BufferView_pimpl.C: move bogus scrolling logic
12014 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12017 * BufferView_pimpl.C: view->resize() change
12019 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12021 * BufferView_pimpl.C: topCursorVisible
12024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12028 * lyx_gui.C: move to frontends/
12032 * lyx_main.C: changes from above
12034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12041 * lyx_main.C: minor tidy
12043 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12045 * BufferView_pimpl.h:
12046 * BufferView_pimpl.C:
12048 * BufferView.C: make painter() const,
12051 * BufferView2.C: use screen() accessor
12054 * lyx_main.C: some minor cleanup
12056 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12058 * BufferView_pimpl.h:
12059 * BufferView_pimpl.C: remove enter/leaveView,
12062 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12067 * BufferView_pimpl.h:
12068 * BufferView_pimpl.C: only construct screen once,
12071 * lyxrc.C: remove pointless comment
12073 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12076 * BufferView.C: remove active() and belowMouse()
12078 * BufferView_pimpl.h:
12079 * BufferView_pimpl.C: use workarea() not workarea_,
12080 and make it use a scoped_ptr instead
12082 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12084 * lyx_gui.C: add debug message on BadWindow
12086 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12088 * sp_spell.C: fdopen is not part of the C++ standard.
12090 * paragraph.C (InsetIterator): use >= instead of ==
12092 2002-06-07 Angus Leeming <leeming@lyx.org>
12094 Fixes needed to compile with Compaq cxx 6.5.
12095 * BufferView_pimpl.C:
12102 * lyxtextclasslist.C:
12107 all c-library variables have been moved into namespace std. Wrap
12108 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12113 Add a using std::abs declaration.
12115 * kbmap.h (modifier_pair):
12116 * paragraph.h (InsetTable, InsetList):
12117 * lyxfont.h (FontBits):
12118 type definition made public.
12120 * bufferlist.C (emergencyWriteAll): the compiler complains that
12121 there is more than one possible lyx::class_fun template to choose from.
12122 I re-named the void specialisation as lyx::void_class_fun.
12124 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12126 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12127 the compiler is is unable to find tostr in write_attribute.
12129 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12131 * buffer.C (sgmlError): hide #warning
12133 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12135 * xtl/*: get rid of xtl, which is not in use anyway
12137 * LyXAction.C (init):
12138 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12139 were unimplemented xtl experimentation
12141 2002-06-04 André Pönitz <poenitz@gmx.net>
12143 * lyxfunc.C: disable array operation on simple formulae
12145 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12147 * converter.C: constify a bit
12149 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12151 * lyx_gui.C: check xforms version correctly
12153 2002-04-30 Herbert Voss <voss@lyx.org>
12155 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12158 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12160 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12161 attempt to register it with a VCS)
12163 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12165 * lyx_main.C (init): honor variables LYX_DIR_13x and
12168 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12172 * lyx_main.C: fix a crash on bad command line,
12173 and give a useful exit status on error
12175 * lyxfunc.C (doImport): allow -i lyx to work
12177 2002-03-30 André Pönitz <poenitz@gmx.net>
12179 * lyxfunc.C: mathed font changes
12181 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12196 * trans_mgr.h: srcdocs, and some minor cleanups
12198 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12200 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12201 call getFont all the time)
12203 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12205 * switch from SigC signals to boost::signals
12207 2002-05-29 André Pönitz <poenitz@gmx.net>
12209 * paragraph_pimpl.C (getChar): don't call size() too often...
12211 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12213 * paragraph_pimpl.C (insertChar): do not try to update tables when
12214 appending (pos == size())
12216 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12217 in order to reduce drastically the number of comparisons needed to
12218 parse a large document
12220 2002-05-29 André Pönitz <poenitz@gmx.net>
12226 * textclasslist.[Ch]:
12227 * sp_ispell.h: whitespace change
12229 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12231 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12232 lyxaction directly now.
12234 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12238 * lyxvc.C: remove unused headers
12240 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12247 * undo_funcs.C: some cleanups. Use shared_ptr
12248 and a template for the undo stacks.
12250 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12252 * BufferView_pimpl.h:
12253 * BufferView_pimpl.C:
12260 * text2.C: use key_state/mouse_state
12262 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12264 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12267 * chset.C: change include order
12268 (loadFile): use boost regex and get rid of LRegex and LSubstring
12270 * Makefile.am (BOOST_LIBS): new variable
12271 (lyx_LDADD): use it
12273 * LaTeX.C: change include order.
12274 (scanAuxFile): use boost regex and get rid of LRegex and
12278 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12283 * FontInfo.C: moved to frontends/xforms/
12286 * FontLoader.C: moved into frontends for GUIIzation
12291 * lyxfunc.C: changes from above
12293 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12295 * LColor.C: remove spurious X include
12297 * BufferView_pimpl.C:
12302 * text2.C: move font metrics to frontends/
12304 2002-05-24 Juergen Vigna <jug@sad.it>
12306 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12307 setting the undo_cursor.
12309 * ParagraphParameters.h: include local includes first.
12311 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12313 * BufferView_pimpl.C:
12314 * BufferView_pimpl.h:
12318 * screen.C: move WorkArea into frontends/
12324 * BufferView2.C: move LyXScreen into frontends/
12328 * lyx_gui.C: move lyxlookup into frontends/xforms/
12330 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12333 * BufferView_pimpl.C:
12343 * bufferview_funcs.C:
12356 * vc-backend.C: move LyX/XFormsView into frontends/
12358 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12370 * text2.C: move Painter to frontends/
12372 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12374 * buffer.C: comment out some some code that depend upon lyx_format
12377 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12378 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12380 * buffer.h (NO_COMPABILITY): turn off compability
12382 * ColorHandler.C: include scoped_array.hpp
12384 * font.C: Use more specific smart_ptr header.
12387 * ShareContainer.h: ditto
12388 * lyx_main.h: ditto
12390 * FontInfo.h: ditto
12391 * BufferView_pimpl.h: ditto
12392 * ColorHandler.h: ditto
12394 * kbmap.C (defkey): change call to shared_ptr::reset
12396 2002-05-21 Juergen Vigna <jug@sad.it>
12398 * buffer.C (insertErtContents): fix to insert ert asis if it is
12399 non empty. Skip it completely if it contains only whitespaces.
12401 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12403 * BufferView_pimpl.C:
12404 * BufferView2.C: clear selection on paste (bug 393)
12406 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12408 * DepTable.C: include ctime
12410 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12412 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12414 2002-05-14 Juergen Vigna <jug@sad.it>
12416 * text.C (breakParagraph): fixed function to honor the keepempty
12417 layout in the right maner and also to permit the right breaking
12418 algorithm on empty or non empyt keepempty paragraphs.
12420 * paragraph.C (breakParagraph): we have to check also if the par
12421 is really empty (!size()) for isempty otherwise we do the wrong
12424 2002-05-10 Juergen Vigna <jug@sad.it>
12426 * buffer.[Ch] : The following are only changes to the ert
12427 compatibility read reading old LaTeX layout and font stuff and
12428 convert it to ERTInsets.
12430 * buffer.h: added isErtInset().
12432 * buffer.C (struct ErtComp): add a fromlayout bool to check
12433 if we're inside a LaTeX layout.
12434 (isErtInset): new helper function.
12435 (insertErtContents): look for other ert insets before this one
12436 and insert the contents there, so that we don't have subsequent
12437 ERT insets with nothing between them. This way we create only one
12438 inset with multiple paragraphs. Also check if we don't insert only
12439 spaces ' ' as they are ignored anyway afterwards in the .tex file
12440 so if we have only spaces we will ignore this latex part in the
12442 (parseSingleLyXformat2Token \\layout): better compatibility when
12443 reading layout-latex stuff.
12444 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12446 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12447 stuff after reading the inset only get the information back from
12450 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12452 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12454 * LaTeXFeatures.C (getBabelOptions): New method.
12456 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * BufferView_pimpl.C (Dispatch): work around missing argument for
12461 2002-05-08 Juergen Vigna <jug@sad.it>
12463 * text.C (leftMargin): handle paragraph leftindent.
12465 * paragraph.C (writeFile): write the new \\leftindent tag.
12466 (validate): handle leftindent code.
12467 (TeXEnvironment): handle paragraphleftindent code again.
12469 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12471 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12472 for paragrap_extra indent code and new token \\leftindent.
12473 (latexParagraphs): handle the leftindent as environment.
12475 * ParameterStruct.h: added leftindent support.
12477 * ParagraphParameters.C (leftIndent): added support functions for
12478 the paragraph left indent.
12480 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12483 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12485 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12488 * text.C (computeBidiTables): No bidi in insetERT.
12490 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12493 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12495 * version.C.in: pre 5
12497 2002-05-02 José Matos <jamatos@fep.up.pt>
12498 * buffer.C (makeDocBookFile): white space changes, add newline to
12500 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12502 * tabular.C (docBook): fix typo.
12504 2002-05-03 Juergen Vigna <jug@sad.it>
12506 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12507 change in LyXText as we can not be sure it was not freed.
12508 (drawOneRow): remove unused code.
12510 * text.C (drawInset): redo the calculation of the need_break_row as
12511 it could have a row which was already freed.
12512 (draw): look at the return value of drawInset and return false if
12513 it also returned false.
12514 (paintRowText): look at the return value of draw and return false if
12515 it also returned false.
12517 * lyxtext.h: added bool return type to drawInset() and draw() so that
12518 if we have a change in the row so that the rowbreak has to be redone
12519 we abort drawing as it will be called again.
12521 2002-05-02 Juergen Vigna <jug@sad.it>
12523 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12524 a change in the maintext also if we're inside an inset.
12525 (Dispatch): set the cursor again after a break line and after the
12526 screen has been updated as it could be we're in a different row.
12528 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12529 to set the cursor behind the pargraph with > size().
12530 (setCursor): check also for the same paragraph when checking where
12531 to put the cursor if we have a NFR inset.
12533 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12534 parts of layout read further up as it still was in the wrong
12537 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12539 * screen.C (drawFromTo): change sine fullRebreak always return
12542 * buffer.C (parseSingleLyXformat2Token): reindent some
12544 * BufferView_pimpl.C (update): change since fullRebreak always
12546 (Dispatch): git rid of the last hardcoded "Standard"s.
12548 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * text2.[Ch] (fullRebreak): make it return void now that we always
12553 2002-04-30 Juergen Vigna <jug@sad.it>
12555 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12556 ert compatibility check for "latex" layout.
12558 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12560 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12561 minipages: use col% instead of p%, and also use the current font.
12562 (makeLaTeXFile): Fix use babel condition.
12563 (parseSingleLyXformat2Token): Correct font when reading old floats.
12565 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12567 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12568 inserting list of floats.
12570 2002-04-25 Herbert Voss <voss@lyx.org>
12572 * MenuBackend.C (expand): don't add the graphics extensions to the
12575 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12577 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12578 non-existing layout, do not complain if it was the default layout
12579 of the original class (bug #342)
12581 2002-04-24 Juergen Vigna <jug@sad.it>
12583 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12584 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12586 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12588 * buffer.C (getBibkeyList): If using \bibliography, return the
12589 option field with the reference itself. Enables us to provide natbib
12590 support when using \bibliography.
12592 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12594 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12596 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12597 natbib is provided by the LaTeX class.
12599 2002-04-23 Juergen Vigna <jug@sad.it>
12601 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12604 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12606 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12608 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12610 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12611 ensuremath around textordmasculine, textordfeminine and
12614 2002-04-19 Juergen Vigna <jug@sad.it>
12616 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12617 reinitializing the buffer otherwise row-dimensions may be wrong.
12618 (update): reset also the selection cursors if they do exits otherwise
12619 their x/y positions may be wrong.
12621 * text2.C (cursorDown): don't enter the inset if we came from a row
12622 above and are one row over the inset.
12624 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12625 really leaving an inset.
12627 2002-04-18 Juergen Vigna <jug@sad.it>
12629 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12630 of the selected paragraph does not have the selected layout also if
12633 * text2.C (setLayout): fixed bug which did not change last selected
12636 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12637 changed the read and substituted \\end_float with \\end_inset!
12639 * BufferView_pimpl.C (cursorPrevious):
12640 (cursorNext): fixed to make it work with rows heigher than the work
12641 area without moving the cursor only the draw of the row.
12642 (workAreaMotionNotify): fix jumping over high rows.
12644 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12646 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12649 2002-04-16 Juergen Vigna <jug@sad.it>
12651 * text2.C (setCursor): set also the irow().
12652 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12654 (cursorDown): support for locking an inset if the x_fix value goes
12655 inside it. That way I can transverse insets too with cursor up/down.
12657 * lyxrow.h: added irow helper function same as other (i) functions.
12659 * BufferView_pimpl.C (cursorPrevious):
12660 (cursorNext): fixed for insets!
12662 2002-04-15 Juergen Vigna <jug@sad.it>
12664 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12665 position otherwise it is wrong in some cases.
12667 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12668 inside the inset before the call.
12670 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12672 * buffer.[Ch] (getBibkeyList): make it const.
12674 2002-04-12 Juergen Vigna <jug@sad.it>
12676 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12678 * text2.C (getCursorX): new helper function
12679 (setCursor): compute also ix_
12680 (setCursorFromCoordinates): set also ix.
12682 * lyxcursor.h: added ix_ and helper functions.
12684 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12686 * buffer.C (insertStringAsLines): dont break paragraph if the this
12687 paragraph is inside an inset which does not permit it!
12689 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12690 also with no chars on this paragraph.
12691 (paintRowText): only paint stuff if it's inside the workarea!
12693 * paragraph.C (breakParagraph): honor keepempty flag and break the
12694 paragraph always below not above.
12696 * BufferView2.C (unlockInset): update the paragraph layout on inset
12697 unlock as we changed paragraph in such a case.
12699 * lyxfind.C (LyXFind): clear the former selection if not found!
12701 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12702 again called in insertChar().
12704 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12705 an inset which uses the whole row!
12706 (rightMargin): ditto.
12707 (insertChar): force a rebreak if we inserted an inset!
12709 2002-03-28 Herbert Voss <voss@lyx.org>
12711 * lyxlength.[Ch]: add inBP() to get the right PS-point
12712 units (BigPoint). With inPixels we have rounding errors
12714 2002-04-11 Juergen Vigna <jug@sad.it>
12716 * text2.C (setCursorFromCoordinates): set iy to the right value.
12717 (setCursor): add check if row->previous exists!
12719 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12720 an old float_type as this was the case in the old code!
12722 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12724 * BufferView2.C (showLockedInsetCursor): use iy
12725 (fitLockedInsetCursor): ditto
12727 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12728 locked insets as there we have the right value now.
12730 * lyxcursor.C: added iy_ variable and iy functions to set to the
12731 baseline of cursor-y of the locked inset.
12733 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12734 (setCursor): fixed for insets which need a full row.
12736 * text.C (rowLastPrintable): don't ignore the last space when before
12737 an inset which needs a full row.
12738 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12739 as last character of a row when before a inset which needs a full row.
12741 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12743 * version.C.in: update date
12745 * text2.C (fullRebreak): try to always return true and see what
12748 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12750 * MenuBackend.C (expand): use Floating::listName
12752 * FloatList.C (FloatList): add listName argument to the built-in
12755 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12756 text associated with the float.
12758 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12760 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12762 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12764 * ShareContainer.h: add a couple of missing typenames.
12766 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12768 * lyxrc.C (getDescription): use _() correctly rather than N_().
12770 2002-03-28 Herbert Voss <voss@lyx.org>
12772 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12773 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12775 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12777 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12778 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12780 2002-03-29 Juergen Vigna <jug@sad.it>
12782 * lyxfunc.C (dispatch): add a missing fitCursor call.
12784 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12785 it was scrolled by a cursor move, so return the bool status.
12787 * BufferView.C (fitCursor): return the bool flag also to the outside
12788 world as this is needed.
12790 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12792 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12793 call the edit() as it is not needed (and wrong) IMO.
12794 (workAreaButtonPress): set the screen_first variable before evt.
12795 unlock the inset as this may change screen_first and then we have
12796 a wrong y position for the click!
12798 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12800 * MenuBackend.C (expand): another translation that I missed
12802 2002-03-28 Juergen Vigna <jug@sad.it>
12804 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12806 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12808 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12810 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12812 * MenuBackend.C (expand): fix export/view/update when there is no
12815 2002-03-27 Herbert Voss <voss@lyx.org>
12817 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12820 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12822 * bufferview_funcs.C (currentState): only show paragraph number
12823 for is DEVEL_VERSION is set.
12825 * lyxfunc.C (dispatch): put warning in INFO channel
12827 * MenuBackend.C (expand): translate the name of floats
12829 * FloatList.C (FloatList): mark the float names for translation
12831 * converter.C (convert): use LibScriptSearch
12833 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12835 * MenuBackend.C (defaults): fix default menu (we might as well get
12838 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12843 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * lyxvc.C: reorder includes.
12847 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12849 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12852 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12854 * CutAndPaste.C: change layouts earlier on paste
12855 to avoid crashing when calling getFont()
12857 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12859 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12862 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12864 * WorkArea.C: remove 'Pending' debug message.
12866 * most files: ws cleanup
12868 * buffer.[Ch]: ws changes
12870 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12872 2002-03-21 Juergen Vigna <jug@sad.it>
12874 * tabular.C (SetMultiColumn): collapse also the contents of the
12875 cells and set the last border right. Added a Buffer const * param.
12877 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12882 2002-03-19 Juergen Vigna <jug@sad.it>
12884 * text2.C (clearSelection): reset also xsel_cache.
12886 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12887 where it needs to be called (John tells us to do so too :)
12888 (selectionLost): reset sel_cache.
12890 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12892 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12894 * text2.C (setCursorIntern): put debuging code in INSETS channel
12896 2002-03-19 André Pönitz <poenitz@gmx.net>
12898 * lyxfunc.C: tiny whitespace change
12900 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12902 * ToolbarDefaults.C (init):
12903 * LyXAction.C (init):
12905 * BufferView_pimpl.C (Dispatch):
12906 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12908 2002-03-19 Allan Rae <rae@lyx.org>
12910 * exporter.C (Export): removeAutoInsets before doing anything else.
12911 While I've just introduced a dependency on BufferView this really is
12912 the best place to clean the buffer otherwise you need to cleanup in
12913 a dozen places before calling export or cleanup in a dozen functions
12916 * converter.C (runLaTeX):
12917 (scanLog): Better handling of removeAutoInsets and screen updates.
12919 * lyxfunc.C (dispatch): small whitespace changes
12921 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12923 * WorkArea.C (C_WorkAreaEvent): return a value.
12924 (event_cb): return 1 if we handled the event, 0 otherwise.
12926 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12928 2002-03-18 Juergen Vigna <jug@sad.it>
12930 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12931 (GetAdditionalWidth): ditto.
12932 (RightLine): ditto.
12935 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12936 inset if we're there actually (probably not used right now but this
12937 is the direction to go for unifying code).
12938 (paste): disable code to clear the selection.
12940 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12941 inside an InsetText and move the check further up as it is in the
12944 * text2.C (pasteSelection): set a selection over the pasted text.
12946 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12948 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12949 and libgraphics to build on Cygwin.
12951 2002-03-15 Juergen Vigna <jug@sad.it>
12953 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12954 inserting an Inset into the paragraph. I know this is not the best
12955 fix but we already use current_view in CutAndPaste so we will remove
12956 all of it's using at the same time.
12958 * buffer.C (sgmlError): deactivated function till it is rewritten in
12959 the right mode, now it can create problems.
12961 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12962 before accessing it.
12964 2002-03-14 Juergen Vigna <jug@sad.it>
12966 * undo_funcs.C (textHandleUndo): do the right thing when updating
12967 the inset after the undo/redo.
12969 * text2.C (setCursor): just some testcode for #44 not ready yet.
12971 * undo_funcs.C (textHandleUndo): set the next() and previous()
12972 pointers of the paragraph to 0 before deleting otherwise we have
12973 problems with the Paragraph::[destructor].
12975 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12976 on a paragraph insertion.
12978 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * buffer.C (asciiParagraph): use += operator for char append to
12983 * paragraph.C (getFontSettings): compare >= not just >
12984 (highestFontInRange): ditto
12987 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * paragraph.C: change several algorithm to be more appripriate for
12990 the problem domain. This is lookip in FontList and in the InsetList.
12992 2002-03-13 André Pönitz <poenitz@gmx.net>
12995 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12997 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13002 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13004 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13006 * Painter.C (display): anon helper function, adjust code for this
13008 (pixmap): remove function.
13010 * Painter.h: remove private display variable.
13012 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13014 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13016 * WorkArea.[Ch]: remove figinset_canvas cruft.
13018 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13020 * lyxtextclass.C (operator): add one item cache optimization.
13022 * bufferlist.h: doxy changes
13024 * bufferlist.C: ws changes
13026 * DepTable.[Ch] (ext_exist): place const in the right spot.
13028 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13030 (workAreaExpose): call resizeInsets when the with BufferView changes.
13031 (Dispatch): adjust for protectedBlank removal
13032 (specialChar): call updateInset if the insert went ok.
13034 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13035 specialChar instead.
13037 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13039 * BufferView.h: doxy change
13041 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13043 * lyxtextclass.C (operator[]): remove non-const version
13044 (defaultLayout): remove non-const version
13046 2002-03-12 Juergen Vigna <jug@sad.it>
13048 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13049 did resize the LyXText too.
13051 * buffer.C (readLyXformat2): set layout information on newly allocated
13054 * tabular.C (OldFormatRead): set layout information on the paragraph.
13056 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13058 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13060 2002-03-11 Juergen Vigna <jug@sad.it>
13062 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13064 (resizeCurrentBuffer): force also the insets to resize themselfes.
13065 (moveCursorUpdate): fixed up for InsetText.
13067 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13070 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13071 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13072 value of Dialogs::tooltipsEnabled().
13073 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13075 2002-03-08 Juergen Vigna <jug@sad.it>
13077 * BufferView_pimpl.C (updateInset): update inset inside inset also
13078 if it isn't inside theLockingInset().
13080 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13082 * buffer.C (asciiParagraph): redo some of the word and line length
13084 (getLists): look for Caption instead of caption.
13086 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13088 * buffer.C (Buffer): initialize niceFile to true
13090 (makeLinuxDocFile):
13091 (makeDocBookFile): make sure niceFile is true on exit
13093 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13095 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13097 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13099 * LyXSendto.C: remove.
13100 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13101 * lyx_gui.C: remove now-redundant comment.
13102 * ColorHandler.h: remove forward declaration of class WorkArea.
13103 * lyxfunc.C: remove #include "WorkArea.h".
13105 2002-03-07 Juergen Vigna <jug@sad.it>
13107 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13108 got moved away with the DEPM and also set the inset_owner always
13109 right which before could have been omitted.
13111 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13113 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13114 wanted layout is not found.
13116 2002-03-07 Juergen Vigna <jug@sad.it>
13118 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13120 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13122 * paragraph.C (breakParagraph): use default layout not layout of
13124 (Paragraph): clear ParagraphParameters.
13126 2002-03-06 Juergen Vigna <jug@sad.it>
13128 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13129 otherwise it would not be a valid lenght. Fixed a special case in
13130 the minipage compatibility read where we end the document with a
13133 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13134 was set as it could be 0 for InsetTexts first entry.
13136 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13138 * paragraph.C (writeFile): if layout is empty write out
13139 defaultLayoutName().
13141 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13142 file without named layout we set layout to defaultLayoutName().
13144 2002-03-06 Juergen Vigna <jug@sad.it>
13146 * CutAndPaste.C (copySelection): set layout for new paragraph.
13148 * text.C (prepareToPrint): leave ERT inset left aligned
13149 (leftMargin): don't indent paragraphs inside ERT insets
13151 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13153 * paragraph.C (breakParagraph): dont call clear do the work manually
13155 * paragraph.[Ch] (clear): remove function
13157 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13159 * paragraph.C (Paragraph): dont call clear, the work has already
13162 * lyxtextclass.C (operator): assert if n is empty
13164 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13165 work manually instead.
13167 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13169 * BufferView_pimpl.C: protect selectionLost against text == 0
13171 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13173 * text.C (breakParagraph): fix a setting layout to '0' problem.
13175 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13177 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13178 final location of file, for the included files, and graphics.
13180 2002-03-05 Juergen Vigna <jug@sad.it>
13182 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13184 2002-03-04 Juergen Vigna <jug@sad.it>
13186 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13188 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13189 last column of multicolumn cells.
13190 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13192 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13194 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13195 file if it doesn't go to a temporary file.
13197 * buffer.C (sgmlOpenTag):
13198 (sgmlCloseTag): remove extra newline insertion.
13200 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * text.C (getRowNearY): comment out debug msg
13204 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * text2.C: first -> first_y
13208 * text.C (getRowNearY): add some attemts at a possible
13209 optimization, not working.
13211 * tabular.[Ch]: add BufferParams to several function so that newly
13212 created paragraph can be initialized to he default layotu for the
13215 * tabular-old.C (ReadOld): add buf->params to call of Init
13217 * screen.C: rename text->first to text->first_y
13219 * paragraph.C (breakParagraph): always set layout in the broken
13222 * lyxtextclass.C (Read): remove lowercase
13225 (delete_layout): ditto
13227 * lyxtext.h: rename first -> first_y
13229 * lyxlayout.C (Read): remove lowercase
13232 (obsoleted_by): ditto
13234 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13236 * buffer.C (insertErtContents): add params are to InsetERT
13237 (parseSingleLyXformat2Token): add code to check if a paragraphs
13238 layout really exist.
13239 (parseSingleLyXformat2Token): add params to several inset
13241 (asciiParagraph): remove lowercase, do the layout comparisons with
13244 * BufferView_pimpl.C (cursorNext): first -> first_y
13245 (resizeCurrentBuffer): first -> first_y
13246 (updateScrollbar): first -> first_y
13247 (scrollCB): first -> first_y
13248 (workAreaMotionNotify): first -> first_y
13249 (workAreaButtonPress): first -> first_y
13250 (checkInsetHit): first -> first_y
13251 (cursorPrevious): first -> first_y
13252 (cursorNext): first -> first_y
13253 (Dispatch): add buffer_->params to severl inset contructors
13255 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13257 * lyxlayout.C (Read): remove some debug info that I forgot.
13259 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13260 clean up the code slightly.
13261 (makeLinuxDocFile): ditto
13262 (makeDocBookFile): ditto
13264 * text2.C: layout as string
13266 * text.C: layout as string
13268 * paragraph_pimpl.C: layout as string
13270 * paragraph.[Ch]: layout as string
13272 * lyxtextclasslist.[Ch]: layout as string
13274 * lyxtextclass.[Ch]: layout as string
13276 * lyxtext.h: layout as string
13278 * lyxlayout.[Ch]: layout as string
13280 * lyx_cb.C: layout as string
13282 * bufferview_funcs.C: layout as string
13284 * bufferparams.C: layout as string
13286 * buffer.C: layout as string
13288 * LyXView.[Ch]: layout as string
13290 * LaTeXFeatures.[Ch]: layout as string
13292 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13294 * BufferView_pimpl.C: change current_layout to string, remove
13299 (workAreaButtonRelease): layout as string
13301 * BufferView2.C (unlockInset): adjust
13303 * vspace.C (asLatexCommand): use an explict temp variable.
13305 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13307 * Makefile.am: use FRONTEND_*
13309 2002-03-01 Juergen Vigna <jug@sad.it>
13311 * tabular.C (SetWidthOfMulticolCell): changed to something better
13312 I hope but still work in progress.
13313 (recalculateMulticolumnsOfColumn): renamed function from
13314 recalculateMulticolCells as it is more appropriate now.
13315 (SetWidthOfCell): calculate multicols better.
13317 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13319 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13321 * lyxfunc.C (processKeySym): print sequence also if it is
13322 `deleted' (complete)
13324 * kbsequence.C (print): print sequence even if it is deleted
13325 (complete would be a better word, actually).
13327 * lyxfunc.C (dispatch): print complete options after a prefix key
13329 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13331 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13333 * text2.C (setCharFont): eliminate setCharFont code duplication.
13335 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13337 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13338 LFUN_TABULAR_FEATURE (bug #177)
13340 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13342 * Makefile.am: remove figure.h
13344 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13346 * Bufferview_pimpl.C:
13358 * text2.C: remove #include "lyx_gui_misc.h".
13360 * LaTeX.C: added #include <cstdio>
13362 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13364 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13365 that the paragraph following this one can have.
13367 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13369 * vspace.C (asLatexCommand): fix bogus gcc warning
13371 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13373 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13375 * text2.C (setLayout): get rid of redundant code
13377 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13379 * text2.C (incDepth): make sure depth cannot be increased beyond
13382 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13384 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13385 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13387 * PainterBase.h (image):
13388 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13389 a LyXImage const *.
13391 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13395 * BufferView_pimpl.C:
13396 * BufferView_pimpl.h:
13416 * sp_spell.C: remove fig inset, and the crap house of
13417 cards that follows it
13419 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13424 * os2_errortable.h:
13425 * nt_defines.h: move .h into support/
13427 * vms_defines.h: remove
13429 * WorkArea.C: add space in debug output
13433 * buffer.C: add WITH_WARNINGS
13437 * bufferlist.C: s/retrive/retrieve/, add docs
13446 * chset.C: add docs
13448 * lyxgui.C: add ID to X error handler
13450 * lyxtestclass.c: fix typo
13452 2002-02-26 Juergen Vigna <jug@sad.it>
13454 * tabular_funcs.C (write_attribute): changed so that some default
13455 attributes are not written at all.
13456 (getTokenValue): set default values before trying to read the
13457 value so we have the return value always set as default if we don't
13458 find the token we search for.
13460 * tabular.C (Write): write bools as bools not as strings!
13462 2002-02-22 Juergen Vigna <jug@sad.it>
13464 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13465 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13467 * text.C (leftMargin): don't add an indent for paragraphs inside
13468 tabular cells (fix #208).
13470 2002-02-21 José Matos <jamatos@fep.up.pt>
13472 * tabular.C (docBook): fixed support for long tables.
13474 2002-02-20 Juergen Vigna <jug@sad.it>
13476 * text2.C (getFont): get the drawing font of the Inset if this
13477 paragraph is inside an inset (only important for InsetERT for now).
13479 * buffer.C (insertErtContents): use new lanugage params in ERT
13482 * CutAndPaste.C: commenting out seemingly uneeded code.
13484 2002-02-19 Allan Rae <rae@lyx.org>
13486 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13487 Iterators might be simple to use but they also get invalidated.
13488 (removeAutoInsets): renamed saved cursor tracking variables and added
13489 some comments to clarify what everything does.
13491 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13498 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13499 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13502 * vc-backend.h: remove #include "support/syscall.h"
13506 * converter.C: rearrange #includes in Lars' approved fashion.
13508 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13509 forward declare class Timeout in the header file.
13511 * XFormsView.C: changes due to the above.
13513 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13514 similar to LyXView.
13516 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13517 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13519 2002-02-18 José Matos <jamatos@fep.up.pt>
13521 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13524 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13526 * a lot of small ws changes
13527 * add a lot of using std::XXX
13528 * use std construcs some places where approp.
13529 * use some exisint stuff from lyxfunctional where approp.
13530 * Make file changes to use partial linking (lets test this now...)
13532 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13536 remove #include "support/syscontr.h" as it's redundant. Always has been.
13544 change Systemcalls::System to Systemcalls::Wait and
13545 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13546 No change of functionality, just reflects the stripped down Systemcalls
13549 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13551 * debug.[Ch]: add a GRAPHICS type to the enum.
13553 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13555 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13557 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13560 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13562 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13563 match the changes below.
13565 * text2.C (toggleInset): if there is not editable inset at cursor
13566 position, try to see if cursor is _inside_ a collapsable inset
13569 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13571 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13572 document menu has a nice checkbox
13574 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13576 * lyxlength.C (asLatexString): change PW to output as percent of
13579 * lengthcommon.C: change '%' to 't%'
13581 * lyxfunc.C (dispatch): a few comments from Martin
13583 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13587 * BufferView_pimpl.h:
13588 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13591 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13593 * vspace.C (inPixels): fix compiler warning
13595 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13597 * lyxfunc.C (getStatus): fix status message for disabled commands.
13599 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13601 * BufferView_pimpl.C: fix crash on close buffer
13602 during selection (#227)
13604 2002-01-27 Herbert Voss <voss@lyx.org>
13606 * buffer.C: link old Figure to new graphic inset
13608 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13610 * FontLoader.C (getFontinfo): Change the latex font names in order
13611 to match the names of type1inst.
13613 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13615 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13617 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13618 (extchanged): ditto
13620 (remove_files_with_extension): ditto
13621 (remove_file): ditto
13624 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13625 document is smaller than the work area height. Do not initialize
13626 static variables to 0.
13628 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13630 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13632 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13633 LFUN_LAYOUT_PARAGRAPHS.
13635 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13636 tabular. It is possible to provide a possible cell, which will
13637 typically be the actcell from the corresponding insettabular
13639 * lyxfunc.C (getStatus): small cleanup; disable
13640 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13643 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13645 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13647 * paragraph.C (startTeXParParams):
13648 (endTeXParParams): new methods. The LaTeX code to
13649 start/end paragraph formatting
13650 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13651 empty (fixes bug #200)
13653 * vspace.C (inPixels): adapt to the change below
13654 (inPixels): [later] more cleanups (remove unused variables)
13656 * lyxlength.C (inPixels): change to use a width and a height as
13659 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13661 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13662 Replaced with \paperwidth
13664 * DepTable.C (insert): add std:: qualifier
13666 2002-01-18 Allan Rae <rae@lyx.org>
13668 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13671 * text.C (drawInset): Turned out I didn't know enough about how
13672 rebreaking worked. This fixes most of the redraw problems. I see
13673 an occasional cursor trail when a line is broken now and the cursor
13674 placement can seem out by a few pixels also after a rebreak.
13676 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13678 * buffer.C (parseSingleLyXformat2Token): update because minipage
13679 width is now a LyXLength
13681 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13683 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13686 2002-01-17 Juergen Vigna <jug@sad.it>
13688 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13690 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13691 is set correctly and the inset is updated correctly.
13693 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13695 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13696 the beginning of the loop.
13698 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13700 * lyxrc.C: improve help for use_scalable_fonts
13702 2002-01-17 Allan Rae <rae@lyx.org>
13704 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13706 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13708 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13709 make sure to set their inset_owner to the right value (bug #171)
13711 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13714 * DepTable.C: Implement mtime checking to reduce time spent doing
13717 2002-01-16 Juergen Vigna <jug@sad.it>
13719 * tabular.C (GetAdditionalHeight): one of error fixed.
13721 * lyxrc.C (output): small fix in writing use_pspell.
13723 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13725 * sp_base.h: #include LString.h
13727 2002-01-16 Allan Rae <rae@lyx.org>
13729 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13730 Can someone check this please?
13732 * text.C (drawInset): It was possible that p.row would be removed by
13733 breakAgainOneRow upsetting a few other settings. There may be another
13734 small tweak possible by setting need_break_row = 0 when p.row has been
13735 removed but I don't know enough about the logic here.
13737 2002-01-15 Allan Rae <rae@lyx.org>
13739 * text.C (insertChar): removed conditional truism.
13741 * BufferView2.C (removeAutoInsets): More tweaks.
13742 cur_par_prev could be a stray pointer. Check for trailing empty line
13743 in case last line was cur_par and only had an error inset on it.
13745 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13747 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13750 * vc-backend.C (most methods):
13751 * exporter.C (Export):
13752 * converter.C (convert):
13754 * LyXSendto.C (SendtoApplyCB):
13755 * lyxfunc.C (dispatch):
13759 * lyx_cb.C (AutoSave):
13761 * BufferView_pimpl.C (MenuInsertLyXFile):
13762 * buffer.C (runChktex): use Buffer::filePath().
13764 * buffer.h: rename filename to filename_; rename filepath to
13765 filepath_ and make it private
13766 (filePath): new method
13768 * buffer.C (writeFile): use fileName()
13771 * lyx_main.C (init): fix starting of LyX when the binary is a
13772 link from so,ewhere else.
13774 * minibuffer.C: include <cctype> for isprint
13776 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13778 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13779 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13780 name clash with InsetCollapsable's width function.
13782 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * lastfiles.C: include <iterator>
13786 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13788 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13791 * buffer.C (makeLaTeXFile): ditto.
13792 Also make loop operation more transparent.
13794 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13796 * ToolbarDefaults.C: remove trailing comma closing namespace.
13798 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13800 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13803 * trans.C (Load): comment out unused variable, allowed.
13805 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13807 * minibuffer.[Ch] (append_char): new method to recieve input from the
13808 drop-down completion browser. If a key was pressed, then recieve this
13809 char and append it to the existing string.
13810 (peek_event): modify the positioning data passed to the completion
13811 browser so that it can be placed above the minibuffer rather than below.
13812 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13814 * LyXAction.C (init): alloe error-next for readonly documents.
13816 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13819 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13821 * bufferlist.C (readFile): create the buffer _after_ checking that
13824 * lyxfunc.C (verboseDispatch): fix handling of arguments
13826 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13828 * lyxrc.C: use string::erase() instead of initializing to "".
13831 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13833 * BufferView_pimpl.h:
13834 * BufferView_pimpl.C:
13837 * text2.C: tell X when we have made a selection for copying
13839 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13841 * BufferView_pimpl.C (MenuInsertLyXFile):
13842 * lyxfunc.C (menuNew):
13844 (doImport): add shortcuts to directory buttons
13846 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13849 * lyxfunc.C (setStatusMessage):
13850 (getStatusMessage): new methods
13851 (getStatus):use setStatusMessage instead of setErrorMessage
13852 (dispatch): when function is disabled, set error message here
13853 [instead of in getStatus previously]
13855 * BufferView_pimpl.C (workAreaButtonRelease): update
13856 toolbar/menubar here too.
13858 2002-01-13 Allan Rae <rae@lyx.org>
13860 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13861 Now seems indestructible. Remaining task is to audit all other
13862 code affected by deleteEmptyParagraphMechanism. One small quirk
13863 left is that an empty document with an error in the preamble can
13864 be made to report an error but no error box appears. I don't know
13866 (removeAutoInsets): Improved comments.
13868 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13871 * Thesaurus.C: update for Aiksaurus 0.14
13873 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13875 * text2.C (firstParagraph): removed member function, all uses
13876 replaces with ownerParagraph
13877 (redoParagraphs): here
13878 (updateInset): here
13879 (toggleAppendix): here
13880 * BufferView2.C (insertErrors): here
13881 (setCursorFromRow): here
13883 2002-01-13 Allan Rae <rae@lyx.org>
13885 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13886 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13887 There is still a way to segfault this although you may have to do this
13888 multiple times: Have an InsetERT with an unknown command in it.
13889 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13890 <down-arrow>, <Enter> again, View->DVI, BANG!
13892 * text2.C (setCursor):
13893 (deleteEmptyParagraphMechanism):
13894 * lyxtext.h (setCursor):
13895 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13896 Making use of the return value may help fix other bugs.
13898 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13900 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13902 * LyXView.C (updateMenubar): call MenuBar::update here
13903 (updateToolbar): but not here
13904 (showState): do not update toolbar/menubar
13906 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13907 should need to care about that.
13909 * lyxfunc.C (verboseDispatch): simplify a bit
13910 (getStatus): have a version which takes a pseudoaction, and
13911 another which requires a (kb_action,string).
13913 * LyXAction.C (retrieveActionArg): make it work also when action
13914 is not a pseudo-action.
13915 (getActionName): simplify a bit
13918 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13920 * lyxfunc.C (verboseDispatch): new families of methods with
13921 several ways to specify a command and a bool to indicate whether
13922 the command name and shortcut should be displayed in minibuffer
13923 (eventually, we could extend that to a finer bitmask like
13924 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13925 (dispatch): the pristine dispatch command which just, well,
13926 dispatchs! Note it still sets its result to minibuffer; I'm not
13929 * lyxfunc.h: remove setHintMessage
13931 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13933 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13935 * BufferView_pimpl.C (specialChar): delete new inset if we have
13936 not been able to insert it.
13938 * kbmap.C: revert to using int instead of kb_action, since all we
13939 are dealing with is pseudo-actions.
13941 * LyXAction.C (searchActionArg): change to return int instead of
13942 kb_action, since the result is a pseudoaction.
13944 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13946 * buffer.C (insertErtContents): Fix (partially) the font bug.
13948 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13950 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13951 as the other one is broken on my machine!
13953 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13956 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13958 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13960 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13961 reflect their actual use. Provide compatibility code for older lyxrc
13964 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13966 change names of popup font variables in line with the changes to lyxrc.C
13968 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13970 * buffer.C (asciiParagraph): avoid outputing a word twice after
13973 * lyxrc.C (getDescription): document that document_path and
13974 template_path can be empty.
13976 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13978 * LaTeXFeatures.C (getMacros):
13979 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13981 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13983 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13985 (getPackages): rename feature "floats" to "float". Use an array to
13986 iterate over 'simple' features (i.e. just a \usepackage). Add
13987 handling of "amsmath" (renamed from "amsstyle").
13989 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13991 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13994 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13996 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13997 FuncStaus::FuncStatus & FuncStaus::some_method().
13999 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14001 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14002 of the func_satus stuff. Edited and massaged in various ways by
14005 * lyxfunc.C (getStatus): use FuncStatus
14007 2002-01-08 Juergen Vigna <jug@sad.it>
14009 * text.C (nextBreakPoint): use function Inset::isChar().
14011 * paragraph.C (TeXOnePar): use function
14012 Inset::forceDefaultParagraphs.
14014 * buffer.C (latexParagraphs): use function
14015 Inset::forceDefaultParagraphs.
14017 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14019 * lyx_gui.C (init): set the style of the menu popups to
14020 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14022 2002-01-07 Juergen Vigna <jug@sad.it>
14024 * text.C (setHeightOfRow): small fix
14025 (prepareToPrint): don't look at alignment if we don't have the place
14028 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14030 * box.C: New file. Move the Box methods and functions out of box.h,
14031 following Lars' suggestion.
14033 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14035 * box.h: #include "support/LOstream.h", needed for inlined function.
14038 * lyxtextclasslist.C: added some using std declarations.
14040 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14042 * box.h: make signed dimensions to allow insets wider than
14043 the screen (bug #162)
14045 * BufferView_pimpl.C: add some insetHit debug
14047 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14049 * vc-backend.C: add FIXME
14051 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14053 * lyxfunc.C (getStatus): enable code for showing math font status
14056 2002-01-07 Juergen Vigna <jug@sad.it>
14058 * text.C (nextBreakPoint): removed debug output not needed anymore.
14060 2002-01-06 Juergen Vigna <jug@sad.it>
14062 * text.C (nextBreakPoint): fixed up this function we had this bug
14063 since ever but now hopefully we break row better.
14064 (insertChar): we have to check if an inset is the next char as it
14065 could now happen that a large inset is causing a break.
14067 2002-01-05 Juergen Vigna <jug@sad.it>
14069 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14070 if it doesn't like to be drawed.
14072 2002-01-04 Juergen Vigna <jug@sad.it>
14074 * BufferView2.C (lockInset): forgot to set a cursor.
14076 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14078 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14080 * FormMathsPanel.C:
14083 * form_maths_panel.C:
14084 * form_maths_panel.h:
14085 * form_maths_panel.fd: implemented sub- and super- buttons in math
14088 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14089 (or ^ space) to be used as in TeX (req'd by Andr�.
14091 * lyxfunc.C: Allow ^ and _ again to be used both as
14092 super/subscript (mathed) and as themselves (in text).
14094 2002-01-03 Allan Rae <rae@lyx.org>
14096 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14097 "LyX" or the filename of the current buffer if it has one. This is a
14098 modified form of John Levon's patch.
14100 * XFormsView.C (setWindowTitle): also set icon title.
14102 * LyXView.h (setWindowTitle): signature changed.
14103 * XFormsView.h (setWindowTitle): ditto.
14105 2002-01-02 Juergen Vigna <jug@sad.it>
14107 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14109 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14111 * screen.C (topCursorVisible): introduce a temp var for
14112 text->cursor.row(), handle the case where this row is null. (kindo
14115 * text2.C (setCursor): add a couple of asserts.
14117 * paragraph.h (inset_iterator): add -> operator
14119 * paragraph.[Ch] (autoDeleteInsets): remove member function
14121 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14122 cursor pos correctly and handle inset deletion by itself.
14123 (insertErrors): move iterator declaration out of for expression
14125 * lyxtextclass.C: add <algorithm>
14127 * Makefile.am: added the new files to sources, removed layout.C
14129 * layout.C: removed file
14131 * layout.h: remove LYX_DUMMY_LAYOUT
14133 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14137 * lyxtextclass.[Ch]:
14138 * lyxtextclasslist.[Ch]: new files
14140 * include order changes to a lot of files, also changes because of
14143 2001-12-27 Juergen Vigna <jug@sad.it>
14145 * buffer.C (asciiParagraph): more fixes.
14147 * tabular.C (ascii): make ascii export support export of only the
14148 data separated by a column-delimiter.
14149 (ascii): better support for ascii export.
14151 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14153 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14155 * tabular_funcs.C: use a "using std::getline" instead of the
14156 previous fix from Angus (necessary for cxx + lyxstring)
14158 2001-12-24 Juergen Vigna <jug@sad.it>
14160 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14162 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14163 problems. First check a minipage also if we have some ert-contents
14164 (not only on par->size(), second set the right depth of the paragraph
14165 on the relink to the root-paragraph-list!
14167 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14168 which then did not anymore update the main paragraphs on undo/redo!
14170 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14172 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14173 code. Support all font-changing funcs (even those which are not in
14174 menu currently). Support for reporting font settings in
14175 mathed (disabled until Andre provides a function on mathed's side).
14177 * func_status.h (toggle): small helper function to set toggle
14180 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14182 * tabular_funcs.C: getline -> std::getline
14184 2001-12-21 Juergen Vigna <jug@sad.it>
14186 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14187 accessed and could be 0 (I couldn't generate this but it seems
14190 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14192 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14193 * tabular_funcs.h: here and include iosfwd
14195 2001-12-20 Juergen Vigna <jug@sad.it>
14197 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14198 inside inset but undo_par was.
14200 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14202 * Thesaurus.C: always include <config.h> in sources.
14206 * box.h: do not include <config.h> in header files
14208 * text.C (paintLastRow): remove unused variable
14210 * text.C (transformChar):
14212 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14214 * Painter.C (text):
14215 * font.C (width): rewrite to use uppercase() instead of
14218 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14220 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14222 * lyxfind.C: clean up of find failure position change
14224 2001-12-20 Juergen Vigna <jug@sad.it>
14226 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14228 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14229 (TeXRow): added to LaTeX a single tabular row.
14230 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14231 (Latex): simplified and finally good LT-h/f support.
14232 (various_functions): just small adaptions for LT-h/f support.
14234 * tabular_funcs.[hC]: added and moved here all not classfunctions
14237 2001-12-19 Juergen Vigna <jug@sad.it>
14239 * tabular.[Ch]: better support for longtabular options (not finished
14242 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14244 * text.C (paintLastRow): use the label font instead of the font of
14245 the last character to compute the size of *_BOX. This makes more
14246 sense and avoids a crash with empty paragraphs.
14247 Use Painter::rectangle to draw EMPTY_BOX.
14249 2001-12-19 Juergen Vigna <jug@sad.it>
14251 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14252 the paragraphs if the replaced paragraph is not the first one!
14253 Tried to delete not used paragraphs but does not work yet so for
14254 now it's inside #ifdef's and by default off!
14256 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14258 * MenuBackend.C: include "lyx_main.h" instead of declaring
14259 lastfiles (actually was declared as LastFiles* instead of a
14262 2001-12-17 Juergen Vigna <jug@sad.it>
14264 * tabular.C (AppendColumn): applied John's fix
14266 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14270 * BufferView_pimpl.h:
14271 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14274 * box.h: new start of class for above
14276 * lyxfunc.C: ignore space-only minibuffer dispatches.
14277 Show the command name when it doesn't exist
14279 * minibuffer.C: don't add empty lines to the history
14281 * minibuffer.C: add a space on dropdown completion
14283 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14285 * text.C: fix line above/below drawing in insets
14287 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14289 * lyxlength.C (LyXLength): Initialize private variables.
14291 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14293 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14294 when inserting error insets.
14296 2001-12-13 Juergen Vigna <jug@sad.it>
14298 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14299 actually sometimes the before-paragraph.
14300 (setUndo): don't clear the redostack if we're not actually undoing!
14302 2001-12-06 Juergen Vigna <jug@sad.it>
14304 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14305 and fixed redoing of main paragraph, so we can use it now ;)
14307 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14309 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14311 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14314 2001-12-13 André Pönitz <poenitz@gmx.net>
14317 * undo_func.C: minor cleanup
14319 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14321 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14322 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14323 font in urw-fonts package which is marked as -urw-fontspecific and
14324 does not work (incidentally, changing the encoding in the
14325 fonts.dir of this package to -adobe-fontspecific fixes the
14328 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14329 is a crash when undoing first paragraph (Juergen, please take a
14330 look). THis does not mean the undo fix is wrong, just that it
14333 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14334 the (Paragraph*) version when needed instead of duplicating the
14337 * text.C (workWidth): use Inset::parOwner to find out where the
14338 inset has been inserted. This is a huge performance gain for large
14339 documents with lots of insets. If Inset::parOwner is not set, fall
14340 back on the brute force method
14342 * paragraph_pimpl.C (insertInset):
14343 * paragraph.C (Paragraph):
14344 (cutIntoMinibuffer): set parOwner of insets when
14345 inserting/removing them
14347 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14349 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14355 * mathed/formulabase.C:
14356 * mathed/math_cursor.[Ch]:
14357 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14360 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14362 * lyxlength.[Ch] (operator!=): new function
14364 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14366 * text.C (workWidth): use Inset::parOwner to find out where the
14367 inset has been inserted. This is a huge performance gain for large
14368 documents with lots of insets. If Inset::parOwner is not set, fall
14369 back on the brute force method
14371 * paragraph_pimpl.C (insertInset):
14372 * paragraph.C (Paragraph):
14373 (cutIntoMinibuffer): set parOwner of insets when
14374 inserting/removing them
14376 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14378 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14380 * tabular-old.C (getTokenValue):
14381 * tabular.C (getTokenValue):
14382 (write_attribute): new versions for LyXLength
14383 (everywhere): adjust the use of widths
14385 * tabular.h: change the type of widths from string to LyXLength
14387 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14389 * paragraph.C: fixed missing line number count when exporting
14390 Environments to LaTeX file
14392 * buffer.C: added informational message for checking line numbers.
14394 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14396 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14397 paragraph, do the 'double space' part, but not the 'empty
14400 * text.C (workWidth): small optimization
14401 (getLengthMarkerHeight): use minimal size for negative lengths.
14403 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14405 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14407 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14409 2001-12-11 André Pönitz <poenitz@gmx.net>
14412 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14414 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14416 * text2.C: keep selection on a setFont()
14418 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14420 * lyx_cb.C: another bv->text misuse, from insert label
14422 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14425 * kbsequence.C: re-instate nmodifier mask
14427 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14429 * lyx_main.h: make lyxGUI private.
14431 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14433 * lyxfind.C: place the cursor correctly on failed search
14435 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14437 * text.C (getLengthMarkerHeight): for small heights, the arrows
14438 are not always on top/bottom of the text
14439 (drawLengthMarker): smaller arrows; take the left margin in
14440 account; draw also vfills.
14442 (paintLastRow): remove special code for vfill and standard spaces,
14443 since everything is handled in drawLengthMarker now.
14445 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14447 * buffer.C (insertErtContents): try to handle font and language
14448 interaction a bit better.g
14450 * ColorHandler.C (updateColor): change the hash to cover the whole
14451 LColor enum, ws cleanup
14452 (getGCLinepars): ditto
14453 (getGCLinepars): only lookup in the linecache once.
14455 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14457 * iterators.C (operator++): Make the iterator more robust
14459 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14461 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14463 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14466 * text.C: better added space drawing
14468 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14471 * BufferView2.C: fix layout combo update on inset unlock
14473 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14475 * Makefile.am: don't compile unused files
14477 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14481 * LyXAction.C: remove old LFUN_LAYOUTNO
14483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14485 * paragraph_pimpl.h:
14486 * paragraph_pimpl.C: isTextAt() doesn't need font param
14488 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14491 * lyxlex.C: little cleanup
14493 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14495 * BufferView_pimpl.C: fix insertAscii for insets
14497 2001-12-05 Juergen Vigna <jug@sad.it>
14499 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14500 set the right font on the "multi" paragraph paste!
14502 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14508 * lyxlength.C: remove out-commented code.
14510 * BufferView_pimpl:
14524 * vc-backend.C: change "while(" to "while ("
14526 * lyxlength.[Ch]: add zero function to check if length is zero or
14528 * lyxgluelength.C: use it
14530 2001-12-05 Allan Rae <rae@lyx.org>
14532 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14533 Works for 2.95.3, from what I understand of Garst's reports this should
14534 work for other g++ versions. We're screwed if the abs(int) definition
14535 changed between bugfix releases of gcc.
14537 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14539 * text.C: fix chapter label offset !
14541 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14544 * text.C: fix hfill at end of line, clean up
14546 2001-12-04 Juergen Vigna <jug@sad.it>
14548 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14549 that we force an update of the inset and it's owners if neccessary.
14551 2001-12-03 Juergen Vigna <jug@sad.it>
14553 * text.C (rowLast): simplified code
14555 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14557 * lyxfunc.C: fix show options on timeout
14559 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14561 * screen.C (topCursorVisible): scroll half a page when the cursor
14562 reached top of bottom of screen
14564 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14566 * minibuffer.C: deactivate on loss of focus
14568 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14570 * vspace.[Ch] (operator!=): add operator.
14572 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14574 * BufferView_pimpl.C: refuse to open an inset when
14575 there's a selection.
14577 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14579 * BufferView_pimpl.C: allow to click on RHS of full row insets
14581 2001-11-30 Juergen Vigna <jug@sad.it>
14583 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14584 insets for undo reasons.
14586 2001-11-28 André Pönitz <poenitz@gmx.net>
14588 * vspace.[Ch]: cosmetical changes
14590 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14600 * kbsequence.C: part re-write of old kb code
14603 * WorkArea.C: remove Lgb_bug_find_hack
14605 2001-11-30 José Matos <jamatos@fep.up.pt>
14607 * buffer.C (makeDocBookFile): add a comment to point a hack.
14608 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14609 Fixed a double write of labels.
14611 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14614 * LaTeX.h Fixed bug in LaTeX class where it would not
14615 re-run latex if no depfiles were changed, but the .dvi was removed.
14617 2001-11-28 André Pönitz <poenitz@gmx.net>
14619 * all the files from the change on 2001/11/26:
14620 use lyx::layout_type instead of LyXTextClass::size_type
14621 use lyx::textclass_type instead of LyXTextClassList::size_type
14623 2001-11-29 Juergen Vigna <jug@sad.it>
14625 * text.C: added support for paragraph::isFreeSpacing()
14627 * buffer.C: same as above
14629 * paragraph.h: inserted isFreeSpacing() function to enable
14630 FreeSpacing inside InsetERT.
14632 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14633 of the paragraph's in the cut/copy buffer to 0!
14635 * text2.C (removeRow): remove the assert as it can!
14637 * lyxtext.h: added helper function firstRow returning firstrow and
14638 made firstrow private again.
14640 * BufferView2.C (lockInset): don't relock if we're already locked!
14642 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14643 the only paragraph.
14644 (removeRow): added Assert::(firstrow)
14646 * debug.C: forgot to add INSETTEXT here.
14648 2001-11-28 Juergen Vigna <jug@sad.it>
14650 * sp_spell.C (initialize): changed error text to more general
14651 spellchecker command use (not only ispell!)
14653 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14655 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14657 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14659 * vspace.C: initialise lyxgluelength on failure
14661 2001-11-28 Allan Rae <rae@lyx.org>
14663 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14664 declaration & definition that looks like a function declaration.
14666 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14668 * BufferView2.C (copy):
14669 (copyEnvironment): do not clear the selection when doing a copy.
14671 * text.C (paintFirstRow): compilation fix
14673 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14675 * tabular.C (Latex): correct line count when writing latex.
14677 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14679 * paragraph_pimpl.h:
14680 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14683 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14687 * LColor.C: change vfillline->added_space
14689 * text.C: add markers and text for added space
14691 * vspace.C: fix comment
14693 2001-11-28 André Pönitz <poenitz@gmx.net>
14695 * paragraph.C: whitespace changes
14696 * all the other files from the change on 2001/11/26:
14697 change *::pos_type into lyx::pos_type
14699 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14701 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14702 language of the document when inserting error insets.
14704 2001-11-26 André Pönitz <poenitz@gmx.net>
14706 * BufferView_pimpl.[Ch]:
14714 * paragraph_pimpl.[Ch]:
14717 * text2.C: reduce header dependencies, introduce type for positions
14719 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14721 * <various>: change to use Alert.h
14723 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14725 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14726 when encountering an unknown token.
14727 (readLyXformat2): Show an error message if there were unknown tokens.
14729 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14732 * BufferView_pimpl.C:
14736 * text2.C: use par->isInset()
14738 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14740 * paragraph_pimpl.h:
14741 * paragraph_pimpl.C: cleanup
14743 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14745 * text2.C (removeRow):
14746 * text.C (setHeightOfRow): remove useless (and costly) call to
14749 2001-11-20 Allan Rae <rae@lyx.org>
14751 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14752 Now need Inset*::checkInsertChar() to return true for appropriate
14753 cases so that the characters in the minibuffer will actually be
14756 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14758 * text.C: change the order of the includes.
14759 (workWidth): initialize it at once.
14760 (workWidth): make maxw unsigned
14761 (setHeightOfRow): remove unused variable (inset)
14762 (selectSelectedWord): remove unused variable (inset)
14763 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14765 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14767 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14768 server is not running.
14770 (closeConnection): add debug info when server is disabled.
14772 * ColorHandler.C (getGCForeground): send debug message to GUI
14775 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14777 * kbmap.C (bind): modify because return conventions of
14778 kb_sequence::parse have changed.
14780 * kbsequence.C (parse): only ignore spaces and not any stupid
14781 control character. This avoids tests like s[i] <= ' ', which are
14782 guaranteed to fail with 8bit characters and signed chars.
14783 Change return code to string::npos when there have been no error
14784 (0 was a bad idea when error is at first character)
14786 2001-11-14 José Matos <jamatos@fep.up.pt>
14789 * buffer.C (simpleDocBookOnePar): removed unused argument.
14791 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14793 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14794 insets which are part of a word. Paragraph::isLetter takes care of
14795 that now. Use Paragraph::isInset to identify insets.
14796 (selectSelectedWord): do not test for hyphenation break.
14798 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14799 that protected spaces are considered as spaces.
14801 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14804 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14807 * lyxserver.C: fix it. and small cleanup.
14809 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14811 * BufferView_pimpl.C: use inline helpers
14814 * LaTeXFeatures.C: fix typos
14817 * Spacing.C: move spacing_string into class
14819 * ToolbarDefaults.C: move stuff into namespace anon
14821 * layout.h: update enum
14823 * lyxfunc.C: use better debug
14825 * minibuffer.h: fix typo
14829 * WorkArea.C: add and use Debug::WORKAREA
14833 * text2.C: code re-organisation, inline helpers
14835 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14837 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14838 std::vector.empty().
14840 2001-11-09 Allan Rae <rae@lyx.org>
14842 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14843 '\n's after tables. Tabular and ERT inset work now makes this no
14846 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14849 * minibuffer.C: fix crash, improve drop-down completion
14851 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14854 * lyxserver.C: invalidate fd's when doing endPipe()
14856 2001-11-08 José Matos <jamatos@fep.up.pt>
14858 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14859 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14862 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14864 2001-11-07 José Matos <jamatos@fep.up.pt>
14867 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14870 * buffer.C (sgmlOpenTag):
14871 * buffer.C (sgmlCloseTag): removed debug info.
14873 * buffer.h (sgmlOpenTag):
14874 * buffer.h (sgmlCloseTag): made public.
14876 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * buffer.C (saveParamsAsDefaults):
14879 * lyx_cb.C (MenuLayoutSave): remove
14881 * LyXAction.C (init):
14883 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14885 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14887 * buffer.C (setPaperStuff): removed from here...
14889 * bufferparams.C (setPaperStuff): ... and moved there.
14891 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14895 * XFormsView.C: add support for drop-down completion
14897 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14899 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14902 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14904 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14907 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14909 * lyx_main.C: change ref to known bugs
14911 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14913 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14914 to work around older babel problems.
14916 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14918 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14920 2001-10-24 Juergen Vigna <jug@sad.it>
14922 * tabular-old.C (ReadOld): below variable changes reflected.
14924 * tabular.[Ch]: added ltType struct for longtable header/footer
14925 defines and changed all instances where they are used. Added
14926 future support for double top/bottom rows.
14928 2001-10-24 José Matos <jamatos@fep.up.pt>
14930 * buffer.h (docbookHandleCaption):
14931 * buffer.C (docbookHandleCaption): removed unused function.
14932 (makeDocBookFile): moved docbook supported version to v4.1.
14934 2001-10-24 José Matos <jamatos@fep.up.pt>
14937 * tabular.C (docbookRow): new function to export docbook code of a row.
14938 (DocBook): now honors the longtable flags.
14940 2001-10-23 José Matos <jamatos@fep.up.pt>
14943 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14944 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14946 * buffer.C (makeLinuxDocFile):
14947 (makeDocBookFile): reworked the preamble, more clean, and with
14948 support for lyx defined entities. Changed the document declaration
14949 to be more XML friendly.
14951 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14952 if we need to output XML that should be done with a filter.
14954 2001-10-22 Juergen Vigna <jug@sad.it>
14956 * sp_pspell.h (class PSpell): add alive function needed in the
14957 controller to see if the spellchecker could be started.
14959 2001-10-22 Juergen Vigna <jug@sad.it>
14961 * buffer.C (insertStringAsLines): modify the font for inserting
14962 chars in certain conditions by calling checkInsertChar(font).
14964 2001-10-19 Juergen Vigna <jug@sad.it>
14966 * text.C (workWidth): use getRow instead of wrong algorithm.
14967 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14969 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14974 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14976 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14978 * text.C (workWidth): do not search for the exact row when
14979 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14980 optimization for big documents.
14982 2001-10-18 Juergen Vigna <jug@sad.it>
14984 * text.C (workWidth): new function with added Inset * parameter.
14986 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14988 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14990 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14991 change return type of getColumnNearX.
14994 * text.C (changeRegionCase): use uppercase/lowercase instead of
14997 (rightMargin): simplify code by factoring out the uses of
15002 (appendParagraph): use Paragraph::size_type
15004 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15006 * vspace.C (asLatexString): add a missing break
15008 2001-10-15 Herbert Voss <voss@perce.de>
15010 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15012 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15014 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15017 2001-10-10 André Pönitz <poenitz@gmx.net>
15019 * lyxfunc.C: removed greek_kb_flag.
15021 2001-10-10 Herbert Voss <voss@perce.de>
15023 * lyx_main.C: delete global string help_lyxdir.
15025 2001-10-09 Herbert Voss <voss@perce.de>
15027 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15029 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15031 * lyx_main.C: added global string help_lyxdir.
15033 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15035 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15037 * lyxrc.C (set_font_norm_type): support iso8859-4
15039 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15041 * LaTeX.C (deplog): add another regex for MikTeX
15043 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15045 * lyxrc.C (set_font_norm_type): support iso8859-3
15047 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15049 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15051 * LaTeXFeatures.C: remove special case of french and index
15053 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15054 before \begin{document}). This solves several incompatibilities.
15056 2001-10-03 Garst Reese <reese@isn.net>
15058 * lyx_cb.C: change CheckTex error msg.
15060 2001-10-03 José Matos <jamatos@fep.up.pt>
15062 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15064 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15066 * .cvsignore: update
15068 * lyx_main.C (commandLineVersionInfo): use new style version info.
15070 * buffer.C (writeFile):
15072 (makeLinuxDocFile):
15073 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15075 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15077 * version.h: update to use stuff in version.C
15079 * version.C.in: new file. Contains version information determined
15080 at compile time. This is a merging of version.h and
15083 2001-10-03 Juergen Vigna <jug@sad.it>
15085 * BufferView_pimpl.C (update): don't change "dirty" status in
15088 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15090 * WorkArea.C (c-tor): re-position version string slightly.
15092 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15094 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15095 revert to previous code.
15097 WorkArea.[Ch]: (show, destroySplash): methods removed.
15099 WorkArea.C: rework code so that it's an amalgam of the codes before and
15100 after the splash screen was moved to WorkArea.
15102 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15105 * vspace.C (inPixels):
15108 * buffer.C (insertStringAsLines):
15109 (asciiParagraph): fix types to be large enough
15111 * lyxlex_pimpl.h: change member status from short to int
15113 * layout.h: fix type of endlabeltype
15116 * kbsequence.C (parse): change return type to string::size_type
15118 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15121 * Bullet.C (bulletSize):
15122 (bulletEntry): do not use short ints as parameters
15124 * BufferView2.C (insertLyXFile): change a char to an int.
15126 * WorkArea.C (WorkArea): remove unneeded floats in computation
15128 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15130 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15132 * paragraph.C (asString): Do not ignore newline/hfill chars when
15133 copying to the clipboard.
15135 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15137 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15138 after a multi-line inset.
15140 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15142 * paragraph.C (validate): Set NeedLyXFootnoteCode
15144 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15146 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15147 and decrease-error to decrease.
15149 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15151 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15152 it more readable (should be equivalent)
15154 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15156 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15158 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15160 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15161 of a cursor (row, etc.) after a character has been deleted
15162 (deleteEmptyParagraphMechanism): call the method above on _all_
15163 cursors held by the LyXText when a double space has been
15166 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15168 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15170 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15172 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15173 background. Use greyOut() and the new show() methods to toggle between
15174 the foreground and background. Add code to remove the splash after
15175 its initial showing.
15177 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15178 (create_forms): no longer call Dialogs::showSplash.
15180 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15182 * .cvsignore: add version_info.h
15184 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15186 * version_info.h.in: new file
15188 * Makefile.am: add version_info.h.in
15190 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15191 version_info.h instead of VERSION_INFO
15193 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15195 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15196 The ERT inset now returns string().
15198 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15200 * lyxtext.h, text.C (selectNextWord): renamed as
15201 selectNextWordToSpellcheck.
15203 * text.C (selectNextWordToSpellcheck): Modified to not select
15204 words inside an ERT inset.
15206 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15208 * lyx_cb.C (MenuLayoutSave): change a bit the question
15210 * sp_base.h: include <sys/types.h>
15212 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15214 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15216 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15218 * several files: fix typos in user-visible strings
15220 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15222 * text2.C (pasteSelection): do not set the selection, since it
15223 will be cleared later. Actually, the intent was to fix the way the
15224 selection was set, but I figured rmoving the code was just as good.
15226 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15228 * FontLoader.C (available): Check if font is available without
15231 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15233 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15235 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15237 * lyxrc.[Ch]: added display_graphics variable and associated code.
15239 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15241 * bufferparams.C (hasClassDefaults): new method. Returns true if
15242 the buffer parameters correspond to known class defaults
15244 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15246 * XFormsView.C (show): set minimum size to the main window.
15248 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15250 * text2.C (copySelection):
15252 * lyxfind.C (LyXReplace):
15253 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15254 LyXText::selectionAsString.
15256 * paragraph.C (asString): add "label" argument to the second form
15258 * text2.C (selectionAsString): add "label" argument and pass it to
15259 Paragraph::asString.
15261 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15263 * lyx_main.C (commandLineHelp): remove version information
15265 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15267 * lyx_main.C: add -version commandline option
15269 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15271 * paragraph.h: make the optional constructor arg required instead.
15272 some modifications to other files because of this.
15274 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15276 * lyxserver.C (C_LyXComm_callback): make it static
15278 * lyx_main.C (error_handler): make it static
15280 * lyx_gui.C (LyX_XErrHandler): make it static
15282 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15284 * WorkArea.C: make the extern "C" methods static.
15286 * Makefile.am (lyx_LDADD): simplify
15288 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15290 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15291 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15293 * LyXAction.C (init):
15294 * lyxfunc.C (dispatch): associated code removal.
15296 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15298 * lyxfont.h (isSymbolFont): shut off warning
15300 * text.C (setHeightOfRow):
15301 (getVisibleRow): fix crash with empty paragraphs which have a
15304 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15306 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15309 2001-09-04 José Matos <jamatos@fep.up.pt>
15312 * tabular.C (docbook): rename docBook method to docbook.
15314 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15316 * Makefile.am: add dependencies to main.o.
15318 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15320 * FontLoader.C (available): Return false if !lyxrc.use_gui
15322 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15324 * FontInfo.C (query):
15325 * converter.C (view):
15326 * importer.C (Import):
15327 * exporter.C (Export): Can not -> cannot.
15329 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15331 * BufferView_pimpl.C: allow to create index inset even if
15334 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15336 * buffer.C (getLists): replace boost::tie code with an explicit pair
15337 as boost::tie can break some compilers.
15339 * iterators.h: Added a std:: declaration to the return type of
15342 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15344 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15347 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15349 * iterators.[Ch]: New files. Provide paragraph iterators.
15351 * buffer.C (changeLanguage): Use paragraph iterators.
15352 (isMultiLingual): ditto
15354 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15356 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15358 * FontLoader.C: Support for cmr font.
15360 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15362 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15363 (available): New method.
15365 * FontInfo.C (getFontname): Use scalable fonts even when
15366 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15369 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15371 * converter.C (Formats::view): reverted! Incorrect fix.
15373 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15375 * converter.C (Formats::view): only output the -paper option
15376 if the dvi viewer is xdvi, thereby fixing bug #233429.
15378 2001-08-23 Herbert Voss <voss@perce>
15380 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15382 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15384 * Spacing.h (Spacing): Set space to Default on in the default
15387 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15389 * vc-backend.h (RCS::versionString): add RCS to version
15390 (CVS::versionString): add CVS to version
15392 * vc-backend.C (scanMaster): do not add CVS to version.
15393 (scanMaster): do not add RCS to version
15395 * lyxvc.C (versionString): new method
15397 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15399 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15401 * Spacing.C (set): initialize fval
15403 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15405 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15408 2001-08-16 Juergen Vigna <jug@sad.it>
15410 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15412 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15414 * BufferView_pimpl.C:
15417 * text2.C: setParagraph takes linespacing now
15419 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15421 * LyxAction.C: add internal LFUN_CITATION_INSERT
15423 * LyXView.C: actually apply fix
15425 * bufferlist.C: fix open non-existent file
15427 * lyxfind.C: fix indentation
15429 * lyxfunc.C: remove unneeded assert, fix typo
15431 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15433 * MenuBackend.C: use "Floatname List"
15435 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15437 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15438 when converting LaTeX layout to insetERT.
15439 Generate a non-collapsed float when reading old float
15441 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15443 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15446 2001-08-13 Juergen Vigna <jug@sad.it>
15448 * text.C (fill): return 0 instead of 20 as this seems to be the more
15451 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15453 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15456 2001-08-13 Juergen Vigna <jug@sad.it>
15458 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15460 (SearchBackward): comment out the unlocking of the inset_owner this
15461 should not be needed!
15463 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15465 * Many files: Remove inherit_language, and add latex_language
15467 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15468 collapsible insets.
15470 2001-08-10 Juergen Vigna <jug@sad.it>
15472 * text.C (prepareToPrint): fixed hfill-width in draw!
15474 * BufferView2.C (selectLastWord): save the selection cursor as this
15475 now is cleared in the function LyXText::clearSelection!
15477 2001-08-08 Juergen Vigna <jug@sad.it>
15479 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15480 BACKSPACE type functions.
15482 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15483 is only cutted from the document but not put in the cut-buffer, where
15484 still the old stuff should be.
15486 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15488 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15490 * tabular.C (SetWidthOfCell): fixed special case where the width
15492 (LeftLine): handle '|' in align_special.
15494 (LeftAlreadyDrawed): ditto
15495 (SetWidthOfCell): ditto
15497 2001-08-07 Juergen Vigna <jug@sad.it>
15499 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15501 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15503 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15504 * lyxlex.[hC]: ditto
15506 2001-08-06 Juergen Vigna <jug@sad.it>
15508 * text.C (getVisibleRow): fix up row clearing a bit.
15510 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * minibuffer.C: make sure the X server sees the changes in the input.
15514 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15516 * paragraph.C (getFont): split into...
15517 (getLabelFont): this
15518 (getLayoutFont): and this
15519 * paragraph_pimpl.C (realizeFont): calling this
15521 * text2.C (getFont): split into...
15522 (getLayoutFont): this
15523 (getLabelFont): and this
15524 (realizeFont): all three calling this
15526 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15529 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15531 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15533 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15535 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15536 layouts from the Quote inset insertion.
15538 2001-08-03 Juergen Vigna <jug@sad.it>
15540 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15542 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15543 only if status not is already CHANGED_IN_DRAW (second level).
15545 * text.C (draw): don't set the need_break_row when inside an
15548 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15550 * buffer.C (parseSingleLyXformat2Token): handle more latex
15553 * bufferview_funcs.[hC]: change function names to
15554 begin with small char, adjust other files.
15556 2001-08-02 André Pönitz <poenitz@gmx.net>
15559 BufferView_pimpl.C: remove broken special code for math-greek
15561 2001-08-02 Juergen Vigna <jug@sad.it>
15563 * BufferView_pimpl.C (update): redone this function so that we
15564 update the text again if there was a CHANGE_IN_DRAW.
15566 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15567 (drawFromTo): added a new internal bool which is used by draw() and
15569 (general): some cursor drawing problems fixed.
15571 2001-08-01 Juergen Vigna <jug@sad.it>
15573 * lyxfind.C (LyXFind): fixed
15574 (SearchForward): ditto
15575 (SearchBackward): ditto
15577 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15578 spurius drawing of the cursor in the main area.
15580 * text2.C (status): small fix which could lead to a segfault!
15581 (clearSelection): remove unneeded BufferView param.
15583 2001-08-01 André Pönitz <poenitz@gmx.net>
15585 * lyxfunc.C: small change due to changed mathed interface
15587 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15589 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15591 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15593 * lyxfunc.c: fail gracefully if file doesn't exist
15598 * BufferView_pimpl.C: IsDirWriteable() proto changed
15600 * LyXView.C: fix updateWindowTitle() to store the last title
15602 2001-07-31 Juergen Vigna <jug@sad.it>
15604 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15605 the font (wrong since using of Paragraph::highestFontInRange).
15607 * paragraph.C (highestFontInRange): added a default_size parameter.
15609 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15610 (setHeightOfRow): reformat
15612 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15614 * converter.[hC] + affected files: move to (inital-char)lowercase
15617 * ParagraphParameters.C (ParagraphParameters): remove commented code
15619 * PainterBase.[Ch]: remove commented code
15621 * LaTeXFeatures.h: add "bool floats" for float.sty
15623 * LaTeXFeatures.C (LaTeXFeatures): init floats
15624 (require): handle float
15625 (getPackages): do it with floats
15627 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15629 * BufferView_pimpl.C (Dispatch): improve handling of
15630 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15632 * commandtags.h: #include lyxfont.h here temporarily to avoid
15635 * bufferlist.h: include LString.h here.
15637 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15639 * text2.C (getStringToIndex): new method.
15641 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15643 * *: Reduced header file dependencies all over.
15645 2001-07-30 Baruch Even <baruch@lyx.org>
15647 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15649 2001-07-29 Baruch Even <baruch@lyx.org>
15651 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15653 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15655 * ParameterStruct.h (endif): add a default constructor to make
15656 sure that all variables is initialized.
15658 * ParagraphParameters.C (ParagraphParameters): adjust
15660 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15663 index; also, check that there is something to index, and that it
15664 does not span over several paragraphs.
15665 (doubleClick): use WHOLE_WORD_STRICT for double click.
15667 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15669 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15672 2001-07-26 Baruch Even <baruch@lyx.org>
15674 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15675 an InsetFig figure, backwards compatible reading of old figure code.
15677 2001-07-27 Juergen Vigna <jug@sad.it>
15679 * text2.C: font.realize function adaption.
15681 * text.C (draw): add a warnings lyxerr text if needed.
15683 * layout.C: font.realize function adaption.
15685 * language.C: add inherit_language and implement it's handlings
15687 * bufferview_funcs.C (StyleReset): remove language parameter from
15688 font creation (should be language_inherit now).
15690 * bufferparams.C (writeFile): handle ignore_language.
15692 * paragraph.C (getFontSettings): the language has to be resolved
15693 otherwise we have problems in LyXFont!
15695 * lyxfont.C (lyxWriteChanges): added document_language parameter
15696 (update): removed unneeded language parameter
15698 * paragraph.C (validate): fixed wrong output of color-package when
15699 using interface colors for certain fonts in certain environments,
15700 which should not seen as that on the final output.
15702 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15704 * BufferView_pimpl.C:
15709 * LyXAction.C: add thesaurus support
15712 * lyxfind.C: add "once" parameter, for thesaurus, to not
15713 move to the next match
15715 2001-07-26 Juergen Vigna <jug@sad.it>
15717 * lyxfont.C (realize): honor ignore_language too!
15720 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15722 * text.C (draw): one place more for ignore_language to not draw
15725 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15727 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15729 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15731 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15732 the minipage conversion problem.
15734 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15736 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15739 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15741 * BufferView.h: don't forward declare WorkArea
15743 * BufferView.C: don't include WorkArea.h
15745 2001-07-25 André Pönitz <poenitz@gmx.net>
15749 * lyxfunc.C: new LFUN 'math-space'
15751 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15753 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15755 * text2.C (toggleInset): call open/close
15757 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15759 * lyxfunc.C (dispatch): add debug for the disabled case
15761 * font.C (buttonText): make similar to rectText
15763 * buffer.C (readInset): comment out parsing of insetlist and
15766 * PainterBase.C (rectText): small correction
15768 * BufferView_pimpl.C: comment out insettheorem and insetlist
15769 * LyXAction.C: ditto
15770 * commandtags.h: ditto
15772 2001-07-24 Juergen Vigna <jug@sad.it>
15774 * text.C (draw): honor the ignore_language.
15776 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15778 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15780 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15783 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15785 * lyxtext.h: remove unused (and unimplemented) methods
15787 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15789 * text.C (getVisibleRow): honor background color
15792 * Painter.h: remove default color argument for fillRectangle
15794 * text.C (backgroundColor): new method
15796 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15798 * text.C (getVisibleRow): adjust
15800 * font.[Ch] (rectText): new method, metrics
15801 (buttonText): new method, metrics
15803 * PainterBase.[hC]: make rectText and buttonText always draw and take
15806 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15808 * ToolbarDefaults.C (read):
15809 * MenuBackend.C (read): allow escaping in all strings
15811 * BufferView_pimpl.C (insertAndEditInset): new method.
15812 (Dispatch): use insertAndEditInset whenever appropriate.
15814 * BufferView_pimpl.C (insertNote): removed
15816 * BufferView_pimpl.C (smartQuote): new method, moved from
15817 BufferView; if an insetquote cannot be inserted, insert a '"'
15820 * BufferView2.C: remove insertCorrectQuote();
15822 * lyxfunc.C (getStatus): Add support for all remaingin
15823 inset-insert lfuns.
15825 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15827 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15828 command (necessary to pass " as parameter of self-insert.
15830 * text.C (selectWordWhenUnderCursor):
15831 (selectWord): add word_location parameter
15832 (selectWordWhenUnderCursor): same + remove special code for word
15834 (selectNextWord): use kind() to guess type of insetspecialchar,
15837 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15838 (insertErtContents): create ert insets as collapsed.
15839 (readInset): better compatibility code for Info inset.
15841 2001-07-20 Juergen Vigna <jug@sad.it>
15843 * lyxfunc.C (dispatch): use always LyXFind now!
15845 * text2.C (init): add a reinit flag so that the LyXText can be
15846 reinited instead of deleted and reallocated (used in InsetText).
15848 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15854 2001-07-18 Juergen Vigna <jug@sad.it>
15856 * text.C (selectNextWord): handle insets inside inset by calling
15857 always the bv->text functions so that we can go up the_locking_inset!
15859 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15860 in strange locations when inside an inset!
15862 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15863 handling to include insets.
15865 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15867 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15869 * LyXAction.C (init):
15871 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15872 LIGATURE_BREAK, since the name is so stupid.
15874 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15876 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15879 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15881 * sp_form.[Ch]: remove.
15883 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15885 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15888 * src/buffer.C (readInset): ditto.
15890 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15892 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15893 menuSeparator(), endOfSentenceDot(), ldots() and
15894 hyphenationPoint(), which are therefore removed.
15895 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15897 * LyXAction.C (init):
15898 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15900 * paragraph.C (getWord): removed.
15902 * BufferView_pimpl.C (Dispatch): use last word or selection for
15903 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15905 * lyx_main.C (queryUserLyXDir): do not ask before creating
15906 user_dir, except if it has been named explicitely.
15908 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15910 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15911 a document of zero size.
15913 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15915 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15916 approriately in the c-tor and in require().
15917 (getPackages): output the appropriate LaTeX for natbib support.
15919 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15920 variables "use_natbib" and "use_numerical_citations" when reading the
15922 (readInset): read the various natbib cite commands.
15923 (validate): white-space change.
15925 * bufferparams.[Ch]: new variables "bool use_natbib" and
15926 "bool use_numerical_citations".
15927 (writeFile): output them in the LyX file.
15929 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15931 * lyxfunc.C (getStatus): add support for all the inset insertion
15934 * text2.C (insertInset):
15935 * paragraph.C (insetAllowed):
15936 * BufferView_pimpl.C (insertInset): update to take in account the
15937 renaming of insertInsetAllowed
15939 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15941 * text2.C (getInset): new method. returns inset at cursor position.
15943 * BufferView_pimpl.C (Dispatch): changes because of this.
15945 * LyXAction.C (init): rename open-stuff to inset-toggle.
15947 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15949 * text2.C (toggleInset): renamed from openStuff; use
15952 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15954 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15956 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15958 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15960 * buffer.C (readLyXformat2): Add filename to the error dialog
15962 2001-07-18 Juergen Vigna <jug@sad.it>
15964 * tabular.C (GetCellNumber): put an assert here instead of the check!
15966 2001-07-17 Juergen Vigna <jug@sad.it>
15968 * BufferView_pimpl.C (toggleSelection): adapted too.
15970 * text.C (selectNextWord): adapted for use with insets.
15971 (selectSelectedWord): ditto
15973 2001-07-17 Juergen Vigna <jug@sad.it>
15975 * sp_spell.C (PSpell): fix initialitation order.
15977 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15979 * paragraph.C: spacing
15981 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15983 * sp_spell.C: repair language selection for pspell
15985 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15987 * lyxfunc.h: change more methods to begin with lower char.
15989 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15991 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15992 for unknown layouts.
15994 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15996 * buffer.C (readLyXformat2): Generate an error dialog if there are
15999 2001-07-16 Juergen Vigna <jug@sad.it>
16001 * sp_spell.C: always compile ISpell part.
16003 * lyxrc.C: added use_pspell entry and it's handling.
16005 2001-07-13 Juergen Vigna <jug@sad.it>
16007 * sp_spell.C: removed double includes.
16009 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16011 Consistent use of Lsstream.h:
16012 * Lsstream.h: added using std::stringstream for consistencies sake.
16014 * buffer.C: removed using std::stringstream
16016 * lyxfont.C (stateText):
16017 * paragraph.C (asString):
16018 * text.C (selectNextWord, selectSelectedWord):
16019 * text2.C (setCounter):
16020 * vspace.C (asString, asLatexString):
16021 std::ostringstream -> ostringstream.
16023 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16025 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16026 * commandtags.h: add LFUN_HELP_ABOUTLYX
16027 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16029 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16031 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16033 * lyx_gui_misc.C: remove spellchecker
16034 * lyxfunc.C: showSpellchecker
16036 * sp_ispell.h: added
16037 * sp_pspell.h: added
16038 * sp_spell.C: added
16039 * sp_form.[Ch]: removed
16040 * spellchecker.[Ch]: removed
16042 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16044 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16046 (simpleTeXSpecialChars): Simply print the input character without
16047 any special translation if pass_thru is set.
16049 * layout.h: Added bool pass_thru to layout class for being able to
16050 implement pass through of a paragraph for Literate Programming.
16052 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16053 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16054 * layout.C (Read): add "passthru" to list of layout tags and add
16055 code to set the pass_thru boolean when it is read.
16057 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16059 * trans_decl.h: remove allowed from KmodInfo
16061 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16062 remove allowed code
16065 * paragraph_pimpl.C (erase): use boost::prior
16067 * Painter.C (text): use data() instead of c_str() when length is
16069 * WorkArea.C (putClipboard): ditto
16070 * font.h (width): ditto
16072 * BufferView2.C: use it-> instead of (*it). for iterators
16074 * paragraph_pimpl.C: ditto
16075 * paragraph.C: ditto
16076 * minibuffer.C: ditto
16077 * language.C: ditto
16079 * encoding.C: ditto
16080 * counters.C: ditto
16081 * converter.C: ditto
16083 * Variables.C: ditto
16084 * TextCache.C: ditto
16085 * MenuBackend.C: ditto
16086 * LyXAction.C: ditto
16088 * FloatList.C: ditto
16089 * DepTable.C: ditto
16090 * ColorHandler.C (LyXColorHandler): ditto
16092 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16094 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16096 * text2.C (openStuff): reintroduce this method (which had been
16097 nuked in NEW_INSETS frenzy).
16099 * lyxfunc.C (Dispatch): when an action has not been handled, use
16100 its name in the error message, not its number.
16102 * paragraph.C (inInset): change method name to begin with lowercase.
16105 * text2.C: updates because of this.
16107 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16109 * ToolbarDefaults.C (add): add spaces in error message
16111 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16113 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16114 (readLyXformat2): rename return_par to first_par, use lyxlex's
16115 pushToken and remove the manual push handling.
16116 (parseSingleLyXformat2Token): add another ert comp. variable:
16117 in_tabular, rename return_par to first_par. handle newlines better
16119 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16121 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16123 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16125 * text2.C (getParFromID): removed
16127 * buffer.C (getParFromID): new method moved form lyxtext.
16128 * BufferView2.C (insertErrors): adjust
16129 (setCursorFromRow): adjust
16130 * BufferView_pimpl.C (restorePosition): adjust
16131 * lyxfunc.C (Dispatch): adjust
16132 * undo_funcs.C (textUndo): adjust
16134 (textHandleUndo): adjust
16135 (textHandleUndo): adjust
16137 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16139 * buffer.C: up' the LYX_FORMAT
16141 * lyxfont.h: turn NO_LATEX on as default
16143 * buffer.C (insertErtContents): new methods of tex style compability.
16144 (parseSingleLyXformat2Token): use it several places.
16145 * tabular.C (OldFormatRead): and here
16147 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16149 * text2.C: remove some commented code.
16152 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16153 * trans.C: changes because of the above.
16155 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16157 * text2.C (setCounter): Fix counters bug with bibliography layout.
16159 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16161 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16162 own member functions
16163 (simpleTeXSpecialChars): ditto
16165 2001-07-06 Juergen Vigna <jug@sad.it>
16167 * a lot of files: changed the access to LyXText::status and the
16168 call of undo-functions.
16170 * undo.[Ch]: added a inset_id to the undo informations.
16172 * undo_funcs.[Ch]: added and moved here all undo functions.
16174 * lyxtext.h: give the status enum a weight, made status_ a private
16175 variable and made accessor functions for it, removed the whole bunch
16176 of undo-functions as they are now in their own file, make some
16177 functions publically available. Added function ownerParagraph with
16180 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16181 made InInset() a const function, added getParFromID() function.
16183 * buffer.[Ch]: added const version for inset_iterator functions,
16184 added getInsetFromID() function.
16186 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16187 changed undo functions for new version.
16189 2001-07-05 Juergen Vigna <jug@sad.it>
16191 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16192 unknow mechanism does not call the proper constructor but only this
16193 one also if I request the other!?
16195 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16197 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16199 * text2.C (LyXText): use initialization lists.
16201 * lyxtext.h (Selection): initialize set_ and mark_
16202 (init): remove method
16204 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16206 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16208 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16210 * screen.[Ch]: change method names to begin with lowercase
16212 * BufferView_pimpl.C (updateScrollbar): simplify further and
16213 hopefully make it a bit faster.
16215 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16217 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16218 calling directly xforms functions.
16220 * Painter.C (Painter):
16221 * lyx_cb.C (MenuWrite):
16222 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16225 * lyx_gui.C: remove bogus guiruntime extern declaration.
16227 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16229 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16231 (redoDrawingOfParagraph): ditto
16232 (redoParagraphs): ditto
16233 (cutSelection): don't create a object for CutAndPaste use the
16234 static method directly
16235 (pasteSelection): ditto
16237 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16240 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16242 * modifications to some other files because of this.
16244 * Makefile.am (lyx_SOURCES): add XFormsView
16246 * XFormsView.[Ch]: new files
16248 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16249 the main window. Move the gui dependent stuff to XFormsView
16251 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16253 * tabular.C (GetCellInset): update cur_cell also in the row/col
16254 version of this function.
16256 * lyxfunc.C: no need to include figure_form.h here.
16262 * lyxvc.C: no need to include forms.h here.
16264 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16266 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16268 * lyxfunc.C (Dispatch):
16270 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16271 constructor argument.
16273 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16275 * paragraph.C (Paragraph): dont't clear, and just set layout.
16276 (makeSameLayout): use params's copy contructor.
16278 * ParagraphParameters.[Ch] (makeSame): delete method
16280 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16282 * Variables.[Ch]: fix indentation, rename set to isSet
16284 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16286 * lyxfunc.C (Dispatch): fix typo
16288 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16290 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16293 * bufferlist.C: include assert.h for emergencyWrite().
16295 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16297 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16298 give up at last (bug #425202) !
16300 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16306 * spellchecker.C: strip spellchecker options and bring up
16307 preferences tab instead
16309 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16311 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16312 the istringstream constructor
16314 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16316 * paragraph.C (getLayout): fix return value
16318 * paragraph.h: do not declare getLayout as inline.
16320 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16322 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16324 * lyxcursor.h (operator<): new func
16325 (operator>): new func
16326 (operator>=): new func
16327 (operator<=): new func
16329 * text.C (changeCase): use selection.start and selection.end
16330 (changeRegionCase): require from to be <= to. Require par to be a
16333 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16335 2001-06-27 Juergen Vigna <jug@sad.it>
16337 * text.C (cursorLeftOneWord): changed to return the cursor and added
16338 overlay with BufferView * parameter which calls this one.
16340 (selectWord): use new getWord function.
16341 (changeCase): renamed from changeWordCase as and extended to work
16342 also on selections.
16344 * lyxtext.h: added enum word_location
16346 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16347 changeCase as this operates now also on selections.
16349 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16351 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16353 * many files: send debug output to Debug::INFO instead of
16356 * converter.C (View):
16358 (Move): send debug output to Debug::FILES instead of console.
16360 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16362 * lyxfunc.C (getStatus): use func_status
16364 * func_status.h: new header, describing the results of
16365 LyXFunc::getStatus;
16367 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16370 2001-06-25 The LyX Project <jug@sad.it>
16372 * buffer.C (sgmlOpenTag):
16374 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16376 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16378 * text2.C: remove some dead code
16380 * tabular.C (GetCellInset): store the last cell checked (gotten)
16382 * tabular.h: add the helper for the speedup
16384 * lyxtext.h: remove some dead code
16386 2001-06-26 The LyX Project <Asger>
16388 * paragraph.C: Change export to LaTeX of alignment to
16389 \begin{center} and family for better roundtrip work with reLyX.
16391 * Tune the math drawing a bit.
16393 2001-06-25 The LyX Project <Asger>
16395 * LColor.C (LColor): New color for math background. New color
16398 2001-06-25 The LyX Project <jug@sad.it>
16400 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16402 * lyxfunc.C (Open):
16403 * bufferlist.C (newFile): do not restrict to files ending with
16406 * BufferView_pimpl.C (MenuInsertLyXFile):
16408 2001-06-24 The LyX Project <jug@sad.it>
16410 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16413 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * lyxtext.h: rename most methods to begin with a small char.
16416 Lots of changes because of this.
16418 * paragraph.C (Paragraph): do not call fitToSize
16419 (erase): call Pimpl::erase
16420 (insertChar): call Pimpl::insertChar
16421 (insertInset): call Pipl::insertInset
16422 (breakParagraph): do not call fitToSize
16423 (breakParagraphConservative): do not call fitToSize
16424 (fitToSize): remove method
16426 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16428 2001-06-24 The LyX Project <Asger>
16430 * Fix Qt compilation^2
16432 2001-06-24 The LyX Project <jug@sad.it>
16434 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16435 depthHook(getDepth()-1).
16438 * ParagraphParameters.h:
16439 * ParameterStruct.h: change type of depth to unsigned int ==
16440 depth_type. Many adaptations to other files before of that.
16442 2001-06-24 The LyX Project <Asger>
16444 * Fix Qt compilation.
16446 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16448 * paragraph.h: renamed several methods to begin with small letter.
16449 several changes to many parts of the code because of this.
16451 2001-06-23 The LyX Project <jug@sad.it>
16453 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16454 rewritten to discard all double spaces when KeepEmpty is off
16455 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16456 to only handle newlines but not fiddle with spaces and friends.
16458 * lyxfunc.C (MenuNew): when doing 'new from template', use
16459 template_path as default directory
16461 2001-06-23 The LyX Project <Asger>
16463 * Clean-up of header file includes all over
16464 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16466 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16468 * paragraph.h: renamed from lyxparagraph.h
16470 2001-06-23 Asger <lyx@violet.home.sad.it>
16472 * Buffer.h: Removed Buffer::resize
16473 * BufferList.h: Removed BufferList::resize
16474 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16475 the document lazily when we change the width, or the font settings.
16477 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16479 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16481 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16483 * buffer.h: remove out of date comment
16485 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16488 * screen.C: fix "theoretical" GC leak
16490 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16492 * LaTeX.C (scanAuxFile):
16493 (deplog): remove trailing \r when reading stream (useful under
16496 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16498 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16499 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16500 and BufferView::theLockingInset(Inset*), so should use them and not
16501 access bv_->text->the_locking_inset directly.
16503 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16505 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16508 * tex-defs.h: remove old unused file
16510 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16512 * BufferView_pimpl.C: fix typo, remove minibuffer message
16513 when buffer has loaded
16515 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16517 * lyxfunc.C (Dispatch): use stringstream
16518 (MenuNew): use stringstream
16519 (Open): use stringstream
16521 * importer.C (Import): use stringstream
16523 * bufferview_funcs.C (CurrentState): use stringstream
16525 * LaTeX.C (run): use stringstream
16527 * BufferView_pimpl.C (savePosition): use stringstream
16528 (restorePosition): use stringstream
16529 (MenuInsertLyXFile): use stringstream
16531 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16544 * vspace.C: removed // -*- C++ -*- as first line.
16547 * version.h: added // -*- C++ -*- as first line.
16549 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16551 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16553 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16556 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16558 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16561 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16563 * gettext.C: include LString.h even when --disable-nls is on.
16565 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16567 * converter.h (Get): changed argument type from int to
16568 FormatList::size_type to avoid unnecessary conversion.
16570 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16573 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16575 * gettext.h: include LString.h even when --disable-nls is on.
16577 2001-06-07 Juergen Vigna <jug@sad.it>
16579 * text.C (BreakAgain): subst spaces with tabs.
16581 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16582 (resizeInsetsLyXText): set force on resizeLyXText.
16584 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16586 * gettext.h (gettext_init):
16587 (locale_init): use a real definition instead of a macro
16589 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16591 * Bufferview_pimpl.C:
16593 * LColor.C: further lcolor tidies
16595 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16597 * BufferView_pimpl.C (updateScrollbar): simplify.
16599 * BufferView2.C: don't include insets/insetinfo.h, change
16600 prototype for insertInset and call the Pimpl version. let
16601 updateInset call Pimpl version.
16603 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16604 gotoInset to BufferView::Pimpl
16606 2001-06-01 Juergen Vigna <jug@sad.it>
16608 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16609 inside a LockingInset (is the update needed at all?).
16611 2001-05-31 Juergen Vigna <jug@sad.it>
16613 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16614 here not the old one otherwise how should we compare it afterwards
16617 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16622 * FontInfo.C: bring C functions into global namespace when
16625 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16627 * LString.h: make sure config.h has been loaded before LString.h.
16629 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16630 (one for each char read by EatLine!).
16632 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16635 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16637 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16638 to the same as the par we break from
16640 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16642 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16644 * MenuBackend.C (expand): also create menu entries for wide
16645 versions of the floats.
16647 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16649 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16651 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16652 frontends/Makefile.am
16658 * tabular.C (getTokenValue): add std::
16660 * tabular-old.C (getTokenValue): add std::
16661 (getTokenValue): ditto
16662 (getTokenValue): ditto
16664 * screen.C (ToggleSelection): adjust
16666 * lyxtext.h: put selection cursors inside a Selection struct.
16668 * lyxfunc.C (moveCursorUpdate): adjust
16670 * lyxfont.C (latexWriteStartChanges): add std::
16672 * lyxfind.C: adjust
16674 * font.h: delete with(char const *, LyXFont const &)
16676 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16678 * FontInfo.C (getFontname): add std::
16680 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16681 (workAreaButtonPress): adjust
16682 (tripleClick): adjust
16684 (moveCursorUpdate): adjust
16687 * BufferView2.C (gotoInset): adjust
16689 2001-05-30 Juergen Vigna <jug@sad.it>
16691 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16692 to check pspell I add this as default as I now have new pspell
16693 libraries and they seem to use this.
16695 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16697 * text2.C (CutSelection): make the cursor valid before the call to
16700 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16702 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16703 relied on 0 terminated strings and other horrors. Bug found due to
16704 the new assert in lyxstring!
16706 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16709 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16711 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16714 * lyxfunc.C (processKeySym): change method of getting to the
16717 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16718 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16719 * BufferView_pimpl.[Ch]: here as private methods.
16721 2001-05-28 Juergen Vigna <jug@sad.it>
16723 * text.C (SetHeightOfRow): added the update() call again as it is
16724 needed to initialize inset dimensions!
16726 2001-05-16 Juergen Vigna <jug@sad.it>
16728 * text2.C (SetCharFont): Add new function with BufferView * and
16729 bool toggleall parameters for setting insets internal fonts.
16730 (SetFont): Freeze the undo as we may change fonts in Insets and
16731 all this change should be inside only one Undo!
16733 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16734 setting font's in insets as for them we have the SetFont function!
16736 2001-05-15 Juergen Vigna <jug@sad.it>
16738 * text2.C (ClearSelection): to be sure we REALLY don't have any
16741 * tabular.C (TeXCellPreamble): fixed the left border problem for
16744 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16746 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16749 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16751 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16752 LFUN_BREAKPARAGRAPH.
16754 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16755 help test to "internal only", similar for LFUN_INSERT_URL
16757 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16758 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16759 auto_region_delete and deadkeys.
16761 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16764 * LColor.C: remove some dead entries, tidy a little
16766 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16768 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16770 (Dispatch): implement LFUN_ESCAPE
16772 * commandtags.h: add LFUN_ESCAPE
16774 * LyXAction.C (init): add entry for LFUN_ESCAPE
16776 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16777 Remove commented code.
16778 (insertNote): moved here
16779 (open_new_inset): moved here
16781 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16784 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16786 * kbmap.C (findbinding): clean it up and make it work correctly.
16788 * lyx_main.C (init): do not pass argc and argv as parameters
16790 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16792 * buffer.C: fix path for OS/2 & Win32
16796 * lyx_main.C: Added os:: class.
16798 * os2_defines.h: update
16800 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16802 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16803 better by trying again with reduced state.
16805 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16807 * lyxrc.C (read): print error about invalid key sequence only when
16808 debugging (because not all latinX keysyms are known to some X
16811 * kbsequence.C (getiso): add a few std:: qualifiers
16812 (getiso): comment out extra return statement.
16814 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16816 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16818 (Dispatch): enhance the accent inset a bit. (not perfect)
16820 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16822 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16824 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16826 * bufferlist.C (emergencyWrite): fix assert() call
16828 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16830 * text.C (InsertChar): Added trivial patch to only send the "you
16831 can not do multiple spaces this way" message once during a
16834 2001-05-08 Baruch Even <baruch@lyx.org>
16836 * Makefile.am: Changed order of libraries to get LyX to link properly
16837 with the gnome frontend.
16839 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16841 * LaTeXFeatures.h: add a std:: qualifier
16843 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16845 * paragraph.C (String): use stringstream
16847 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16849 * paragraph.C (writeFile): remove footflag arg
16851 * buffer.C (makeLaTeXFile): use stringstream
16852 (latexParagraphs): remove footnot gurba
16854 * LaTeXFeatures.C (getPackages): use stringstream
16855 (getMacros): likewise
16856 (getTClassPreamble): likewise
16857 (getFloatDefinitions): new method
16859 * paragraph.C (writeFile): reindent
16862 * WorkArea.h: revert the xpos + etc changes.
16864 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16866 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16868 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16869 (pasteSelection): likewise
16870 * text2.C (CreateUndo): likewise
16872 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16874 * minibuffer.C (peek_event): temporarily reduce the functionality
16875 of the minibuffer (to allow args on lfuns)
16877 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16878 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16880 * buffer.C (readInset): add compability reading of old float
16881 lists, add reading of new style float list.
16882 (readInset): avoid reevaluation of inscmd.getCmdName()
16883 (getLists): reindent
16885 * MenuBackend.C (MenuItem): implement parsing of
16886 md_floatlistinsert and md_floatinsert.
16887 (expand::LastFiles): move initalizaton of iterators out of loop,
16888 avoid reevaluation.
16889 (expand::Documents): introduce typdedef vector<string> Strings,
16891 (expand::ExportFormats): introduce typedef vector<Format const *>
16892 Formats, and use it.
16893 (expand): implement FloatListInsert and FloatInsert.
16895 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16896 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16897 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16899 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16901 (Dispatch::LFUN_FLOAT_LIST): implement
16903 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16905 * LaTeX.C (run): Fix problem with --export code.
16907 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16909 * BufferView.[Ch] (workarea): removed.
16910 (getClipboard) new method; wrapper for workarea()->getClipboard()
16912 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16915 * WorkArea.h (width, height, xpos, ypos): These methods all
16916 returned the dimensions of the work_area sub-area of WorkArea,
16917 resulting in a position error if the WorkArea were resized. Now
16918 return the dimensions of the entire WorkArea.
16920 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16922 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16924 * LaTeX.C (deplog): correct the syntax of regex reg1
16926 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16928 * undo.C: remove !NEW_INSETS cruft
16930 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16932 * text2.C: remove !NEW_INSETS cruft
16934 * text.C: remove !NEW_INSETS cruft
16936 * tabular.C: remove !NEW_INSETS cruft
16938 * spellchecker.C: remove !NEW_INSETS cruft
16940 * lyxtext.h: remove !NEW_INSETS cruft
16942 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16944 * lyxfunc.C: remove !NEW_INSETS cruft
16946 * lyxfind.C: remove !NEW_INSETS cruft
16948 * lyx_cb.C: remove !NEW_INSETS cruft
16950 * figureForm.C: remove !NEW_INSETS cruft
16952 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16954 * buffer.[Ch]: remove !NEW_INSETS cruft
16956 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16958 * CutAndPaste.C: remove !NEW_INSETS cruft
16960 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16962 * BufferView2.C: remove !NEW_INSETS cruft
16964 * BufferView.h: remove !NEW_INSETS cruft
16966 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16968 * Lsstream.h: include LString.h before the sstream headers to
16969 fix problem with gcc 2.95.3 and lyxstring
16971 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16973 * lyx_main.C: add using directives when needed for C functions
16974 declared in std:: namespace.
16976 2001-04-27 Juergen Vigna <jug@sad.it>
16978 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16979 (SetHeightOfRow): comment out the update call should not be needed!
16981 2001-04-13 Juergen Vigna <jug@sad.it>
16983 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16984 (LyXTabular): tried to minimize operator= operations (and realized
16985 hopfully Lars wish).
16987 2001-04-27 Juergen Vigna <jug@sad.it>
16989 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16991 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16993 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16995 * buffer.C (readInset): hack to make listof algorithm work
16997 * BufferView_pimpl.C: hack to make listof algorithm work
16999 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17001 * LyXAction.C: removed all !NEW_INSETS cruft
17002 (init): moved lfun_item in method
17004 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17006 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17008 * BufferView2.C (theLockingInset): white space.
17010 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17012 * minibuffer.C: include <iostream>
17014 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17016 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17018 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17020 * text.[Ch] (TransposeChars): new method
17022 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17024 * call message directly through LyXView instead of through LyXFunc
17025 * BufferView2.C: adjust
17026 * BufferView_pimpl.C: adjust
17027 * FontLoader.C: adjust
17029 * bufferview_funcs.C: adjust
17030 * converter.C: adjust
17031 * figureForm.C: adjust
17032 * importer.C: adjust
17034 * lyx_gui_misc.C: adjust
17035 * lyxfunc.C: adjust
17038 + more files in subdirs
17040 * lyxparagraph.h (size): move up int file
17043 * adjust all uses of Assert to lyx::Assert.
17045 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17046 lyxfunctional in namespace lyx
17047 * layout.C (hasLayout): ditto
17050 (delete_layout): ditto
17051 (NumberOfClass): ditto
17052 * converter.C (GetFormat): ditto
17057 * bufferlist.C (getFileNames): ditto
17058 (emergencyWriteAll): ditto
17061 * MenuBackend.C (hasSubmenu): ditto
17064 * BufferView_pimpl.C (getInsetByCode): ditto
17066 2001-04-18 Juergen Vigna <jug@sad.it>
17068 * vspace.C (asLatexString): fixed the 100% problem.
17070 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17072 * lyxfunc.C (Dispatch):
17074 * minibuffer.h: add a few std:: qualifiers
17076 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17078 * minibuffer.[Ch]: reimplement so that commands is initiated and
17079 run from lyxfunc, simplified som handling, and made the completion
17080 and history code for complete. wip.
17082 * lyxfunc.C (processKeySym): call message
17083 (miniDispatch): new temporary method
17084 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17085 (LFUN_MESSAGE): implement
17086 (LFUN_MESSAGE_PUSH): implement
17087 (LFUN_MESSAGE_POP): implement
17088 (initMiniBuffer): the initial/defualt minibuffer message.
17090 * lyxfont.[Ch]: inline some more getters
17092 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17094 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17096 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17097 (AutoSave): use LFUN_MESSAGE
17098 (Reconfigure): ditto
17100 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17102 * figureForm.C: use LFUN_MESSAGE
17104 * converter.C (runLaTeX): use LFUN_MESSAGE
17106 * bufferview_funcs.C: use LFUN_MESSAGE
17108 (changeDepth): ditto
17110 * bufferparams.h: use boost::
17112 * bufferlist.h: inherit privately from noncopyable
17114 * bufferlist.C (loadLyXFile): remove some commented code.
17116 * buffer.C (runChktex): use LFUN_MESSAGE
17118 * ShareContainer.h: inherit privately from noncopyable
17120 * ParagraphParameters.[hC] (depth): inline it.
17122 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17124 (message): new method
17125 (messagePush): ditto
17126 (messagePop): ditto
17127 (show): init minibuffer
17128 (showState): direct call
17130 * LaTeX.[Ch]: inherit privately from noncopyable
17131 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17132 instead of WriteStatus.
17134 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17136 * BufferView_pimpl.C (buffer): don't init minibuffer
17137 (workAreaButtonPress): use LFUN_MESSAGE
17138 (workAreaButtonRelease): ditto
17139 (savePosition): ditto
17140 (restorePosition): ditto
17141 (MenuInsertLyXFile): ditto
17142 (workAreaExpose): don't init minibuffer
17143 (update): remove commented code, simplify
17145 * BufferView2.C (openStuff): use LFUN_MESSAGE
17146 (toggleFloat): ditto
17149 (copyEnvironment): ditto
17150 (pasteEnvironment): ditto
17155 (updateInset): remove some commented code
17157 * lastfiles.h: inherit privately from noncopyable
17160 * lyx_main.h: ditto
17162 * lyxlex_pimpl.h: ditto
17164 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17165 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17166 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17168 * LyXAction.h: inherit privately from noncopyable, add methods
17169 func_begin, func_end, returning iterators to the func map.
17171 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17172 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17173 (func_begin): new method
17174 (func_end): new method
17176 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17178 (copySelection): ditto
17179 (pasteSelection): ditto
17181 * BufferView.C: whitespace change
17182 * BufferView.h: inherit privately from noncopyable
17184 2001-04-16 Allan Rae <rae@lyx.org>
17186 * tabular-old.C (l_getline):
17187 * spellchecker.C (sc_check_word):
17188 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17189 an unrecognised preprocessor directive. So ensure they're wrapped.
17191 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17193 * src/exporter.C (Export): Give an error message when path to file
17196 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17198 * LaTeX.C (deplog): Always check that foundfile exists.
17200 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17203 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17205 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17207 * tabular.[Ch] (getLabelList): implement new method
17209 * minibuffer.h: comment ouf setTiimer
17211 * minibuffer.C (ExecutingCB): constify res
17212 (peek_event): constify s
17213 (Set): constify ntext
17214 (Init): constify nicename
17216 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17218 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17219 (savePosition): use two params to Minibuffer::Set
17220 (restorePosition): ditto
17222 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17224 * lyx_main.C: include language.h
17226 * Makefile.am (lyx_main.o): add language.h
17228 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17234 * CutAndPaste.C: include gettext.h
17236 * lyxfont.h: remove old hack with ON and OFF.
17239 * lyxfont.h: do not include language.h...
17244 * bufferview_funcs.C:
17250 * paragraph.C: ... but do it here instead
17252 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17254 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17256 * tabular.C: small reformat
17258 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17261 (BreakParagraph): ditto
17262 (SetOnlyLayout): ditto
17265 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17268 * lastfiles.C: removed most using decl, add std:: where needed
17270 * buffer.C: ws changes
17272 * MenuBackend.C (class compare_format): put into anon namespace
17273 (expand): constify label, names, action, action2
17276 * text.C (SingleWidth): constify font
17277 (IsBoundary): constify rtl2
17278 (GetVisibleRow): constify ww
17280 * LaTeX.C (deplog): constify logfile
17282 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17284 (workAreaExpose): constify widthChange, heightChange
17286 * lyxrow.C (par): moved
17289 * lyxrow.h: as inlines here
17291 * lyxfont.h (shape): moved from lyxfont.C
17292 (emph): moved from lyxfont.C
17294 * lyxfont.C (LyXFont): use initialization list for all
17296 (shape): move to lyxfont.h as inline
17297 (emph): move to lyxfont.h as inline
17300 2001-04-04 Juergen Vigna <jug@sad.it>
17302 * vspace.C: had to include stdio.h for use of sscanf
17304 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17307 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17308 independent of xforms.
17310 2001-04-02 Juergen Vigna <jug@sad.it>
17312 * spellchecker.C: fixed namespace placing!
17314 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17316 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17317 the LyXParagraph * is 0.
17319 2001-03-29 Juergen Vigna <jug@sad.it>
17321 * vspace.C: added support for %, c%, p%, l%.
17322 (stringFromUnit): added helper function.
17323 (asLatexString): changed to give right results for the %-values.
17325 * buffer.C: convert the widthp in a width%.
17327 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17329 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17332 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17333 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17335 * lyx_cb.[Ch]: see above.
17337 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17341 * lyx.[Ch]: replaced by figure_form.[Ch].
17345 * lyxfunc.C: changed headers associated with above changes.
17347 2001-03-27 Juergen Vigna <jug@sad.it>
17349 * BufferView_pimpl.C: set the temporary cursor right!
17351 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17353 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17355 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17357 * LString.h: removed "using std::getline"!
17359 * BufferView_pimpl.C (Dispatch): changes due to changes in
17360 InsetInclude::Params.
17362 * buffer.C (tag_name): removed redundant break statements as they were
17363 producing lots of warnings with my compiler.
17365 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17367 * LString.h: add "using std::getline" when using the real <string>.
17369 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17371 * buffer.C: removed bitset usage.
17372 PAR_TAG moved to an anonymous name space.
17373 (tag_name): new funtion, also in the anonymous namespace.
17374 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17375 (makeDocBookFile): clean code. Completed transition from string arrays
17377 (SimpleDocBookOnePar): code clean.
17379 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17381 * tabular.C: add some comments.
17383 2001-03-22 Juergen Vigna <jug@sad.it>
17385 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17386 compatibility read a bit and fixed bug with minipage in different
17389 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17391 * buffer.C (pop_tag): removed.
17392 (push_tag): removed.
17393 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17394 array replaced with vector. Added support for CDATA sections.
17395 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17397 (makeDocBookFile): XML conformant declaration of CDATA section,
17398 fixed bug related to <emphasis> in the first paragraph char.
17399 (sgmlOpenTag): exclude empty tags.
17400 (sgmlCloseTag): ditto.
17402 * buffer.h (pop_tag): removed.
17403 (push_tag): removed.
17405 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17407 * language.h (Languages): added size_type and size().
17409 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17411 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17412 response on compability reading of minipages. One probliem is that
17413 the old usage of minipages was flertydig
17415 * several files here and in subdirs: don't use static at file
17416 scope use anon namespaces instead.
17418 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17420 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17421 LaTeX output. This is necessary for Literate document
17424 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17426 * buffer.C: insert hfill when needed.
17428 * tabular.C (l_getline): use string::erase, small whitespace change.
17430 * BufferView_pimpl.C: try the anon namespace.
17431 * WorkArea.C: ditto
17433 2001-03-16 Juergen Vigna <jug@sad.it>
17435 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17436 otherwise it won't open options-dialogs.
17438 * buffer.C: honor pextraWidth(p) on converting minipages.
17440 * tabular.C (l_getline): changed the functions to strip trailing \r.
17442 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17444 * BufferView_pimpl.C:
17445 * minibuffer..C: added "using SigC::slot" declaration.
17447 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17449 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17455 * paragraph.C: ditto
17457 * lyxtext.h: NO_PEXTRA
17459 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17461 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17462 * ParameterStruct.h: ditto
17463 * ParagraphParameters.h: ditto
17464 * lyxparagraph.h: ditto
17466 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17468 * buffer.C: add compability for minipage alignment.
17469 (latexParagraphs): remove unwanted pextra check.
17471 * several files: remove CXX_WORKING_NAMESPACES
17473 * buffer.C (pop_tag): tie is in namespace boost
17475 * BufferView.h: noncopyable is in namespace boost
17477 * lyx_main.h: ditto
17480 * lastfiles.h: ditto
17481 * bufferlist.h: ditto
17482 * ShareContainer.h: ditto
17484 * LyXAction.h: ditto
17487 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17489 * Merging changes from BRANCH_MVC back into HEAD.
17491 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17493 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17495 * BufferView_pimpl.C: change from intl.C
17499 * Makefile.am: move combox.*
17505 * intl.C: remove dialog (covered by prefs)
17507 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17509 * lyxfunc.C (Dispatch): removed redundant break statement.
17511 2001-03-14 Juergen Vigna <jug@sad.it>
17513 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17515 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17517 * buffer.C: add hack to fix compability reading of minipages.
17519 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17521 * buffer.C (getLists): Cleanup.
17523 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17525 * lyxfont.C (update): don't honor toggleall on font size.
17527 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17531 * Makefile.am: moved to frontends/xforms/
17535 * BufferView_pimpl.C: changes for moved mathpanel
17537 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17539 * gettext.h: fix gettext_init() in --disable-nls
17541 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17543 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17545 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17548 * lyx.h: strip external form
17550 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17552 * BufferView_pimpl.C: add comment, destroySplash()
17554 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17556 * BufferView_pimpl.C:
17560 * lyxfunc.C: use re-worked insetinclude
17562 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17564 * buffer.C: add using std::stringstream.
17566 * lyx_cb.C: readd using std::ios.
17568 * buffer.C: add using std::map.
17570 * BufferView_pimpl.C: add using std::vector.
17572 * ShareContainer.h: add std:: to swap.
17574 * buffer.h: add some typedefs
17575 * buffer.C (getLists): use them
17576 (getLists): renamed from getTocList.
17577 add a counter for the different float types and use it in the
17579 (getLists): use the same counter for the NEW_INSETS and the "non"
17582 * lyx_cb.h: remove unused items, includes, using etc.
17584 * ShareContainer.h: remove some commented code, add more comments
17585 and "documentation".
17587 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17589 * buffer.C (getTocList): make the list also when NEW_INSETS is
17592 * buffer.h: remove TocType
17594 * buffer.C (getTocList): change to return a map<string,
17595 vector<TocItem> >, implement for dynamic number of list.
17597 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17598 * text2.C (PasteSelection): adjust
17599 * CutAndPaste.C (pasteSelection): adjust
17601 * FloatList.C (FloatList): update from the new_insets branch.
17602 * Floating.[Ch]: ditto
17603 * LaTeXFeatures.C: ditto
17605 * lyxlex_pimpl.C: ditto
17607 * paragraph.C (Last): remove when NEW_INSETS is defined.
17609 * other file: changes because of the above.
17611 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17613 * lyxparagraph.h: rename next to next_, previous to previous_,
17614 make them private for NEW_INSETS. Rename Next() to next(),
17615 Previous() to previous().
17617 * other files: changes because of the above.
17619 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17622 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17625 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17627 * main.C (main): pass lyx_localedir to gettext_init().
17629 * gettext.h: remove locale_init and gettext_init macros
17631 * gettext.C (locale_init): new function
17632 (gettext_init): new function
17634 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17637 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17639 * Moved credits to frontends:
17640 * credits.[Ch]: removed
17641 * credits_form.[Ch]: removed
17642 * lyx_gui_misc.C: remove credits stuff
17645 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17647 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17649 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17650 unneeded destructor.
17652 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17653 a standalone pointer again.
17655 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17657 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17663 * ToolbarDefaults.C:
17672 * BufferView_pimpl.C: use new file dialog in GUII
17675 * lyx_cb.C: remove LayoutsCB to Toolbar
17677 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17679 * ShareContainer.h (get): add std:: qualifier
17681 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17683 * ShareContainer.h: define a proper ShareContainer::value_type
17684 type (and use typename to please compaq cxx)
17686 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17688 * lyxparagraph.h: move serveral local vars to
17689 ParameterStruct/ParagraphParameters., use ShareContainer in
17690 FontTable., make vars in FontTable private and add getter and
17693 * paragraph.C: changes because of the above.
17695 * lyxfont.h: remove copy constructor and copy assignment. (the
17696 default ones is ok), move number inside FontBits. move inlines to
17699 * lyxfont.C: add number to initializaton of statics, move several
17700 inlines here. constify several local vars. some whitespace
17701 cleanup. Dont hide outerscope variables.
17703 * Spacing.h: add two new constructors to match the set methods.
17705 * ShareContainer.h: new file, will perhaps be moved to support
17707 * ParameterStruct.h: new file
17709 * ParagraphParameters.h: new file
17711 * ParagraphParameters.C: new file
17713 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17714 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17716 * BufferView_pimpl.C: ParagraphParameter changes.
17717 * buffer.C: Likewise.
17718 * bufferview_funcs.C: Likewise.
17719 * text.C: Likewise.
17720 * text2.C: Likewise.
17722 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17724 * lyxfind.C (LyXReplace): do not redefine default argument in
17726 (IsStringInText): ditto
17727 (SearchForward): ditto
17728 (SearchBackward): ditto
17730 2001-03-06 Juergen Vigna <jug@sad.it>
17732 * lyxfind.C (IsStringInText): put parentes around expressions.
17734 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17736 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17738 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17740 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17742 * stl_string_fwd.h: add comment
17744 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17747 * tabular.C: remove unused DocBook methods
17753 killed DO_USE_DEFAULT_LANGUAGE
17755 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17757 * lyx_gui.C: do not include language.h.
17759 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17760 arguments in function implementation.
17762 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17764 * BufferView_pimpl.C: add <ctime>
17766 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17768 * BufferView_pimpl.C: add using std::find_if
17770 2001-02-27 José Matos <jamatos@fep.up.pt>
17772 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17775 2001-02-11 José Matos <jamatos@fep.up.pt>
17777 * buffer.C (makeDocBookFile): command styles now have a parameter as
17778 "title" by default.
17780 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17782 * layout_forms.[Ch]: removed
17783 * lyx_cb.[Ch]: out character
17784 * lyx_gui.C: out character
17785 * lyx_gui_misc.C: out character
17786 * bufferview_funcs.C: : out character,
17787 added toggleall as parameter in ToggleAndShow
17789 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17791 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17793 * text2.C (SetCurrentFont): Disable number property at boundary.
17795 2001-02-26 Juergen Vigna <jug@sad.it>
17797 * lyxfunc.C (getStatus): added a string argument override function so
17798 that this is correctly called from LyXFunc::Dispatch if it contains a
17799 do_not_use_argument which is used!
17800 (Dispatch): added check for "custom" export and call appropriate func.
17802 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17804 * lyxrc.C: Add language_command_local, language_use_babel and
17805 language_global_options.
17807 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17809 * buffer.C (makeLaTeXFile): Use language_use_babel and
17810 language_global_options.
17812 2001-02-23 Juergen Vigna <jug@sad.it>
17814 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17815 which works with LyXText and putted it inside BufferView. Here now we
17816 only call for that part the BufferView::Dispatch() function.
17818 * BufferView.C (Dispatch): added.
17820 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17821 functions which needs to use a LyXText over from LyXFunc.
17822 (MenuInsertLyXFile): added
17823 (getInsetByCode): added
17824 (moveCursorUpdate): added
17825 (static TEXT): added
17827 2001-02-22 Juergen Vigna <jug@sad.it>
17829 * BufferView_pimpl.C (update): call a status update to see if LyXText
17832 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17834 * vc-backend.C (revert): implement for CVS
17835 (getLog): implement for CVS
17837 2001-02-20 Juergen Vigna <jug@sad.it>
17839 * text2.C (ClearSelection): added BufferView param for inset_owner call
17841 * lyxfunc.C (TEXT): added this function and use it instead of
17842 directly owner->view()-text of getLyXText().
17844 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17846 * src/layout_forms.C: out preamble
17847 * src/layout_forms.h: out preamble
17848 * src/lyx_cb.C: out preamble
17849 * src/lyx_cb.h: out preamble
17850 * src/lyx_gui.C: out preamble
17851 * src/lyx_gui_misc.C: out preamble
17852 * src/lyxfunc.C: connect with guii preamble
17854 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17856 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17858 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17860 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17861 whether to run bibtex.
17863 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17865 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17867 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17869 * Makefile.am (lyx_SOURCES): removed bibforms.h
17871 * vspace.h: doxygen
17873 * text.C (GetVisibleRow): make several local vars const
17875 * tabular.C: small cleanup.
17877 * lyxserver.C (callback): use compare instead of strncmp
17879 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17880 inlines to after class or to paragraph.C
17882 * lyxfont.h: remove friend operator!=
17884 * converter.h: move friend bool operator< to non friend and after
17887 * combox.h: small cleanup
17889 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17890 to inlines after class def.
17892 * buffer.C (pop_tag): use string operations instead of strcmp
17894 * bmtable.c: doxygen, small cleanup
17896 * LaTeX.h: remove friend operator==
17898 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17910 * BufferView_pimpl.C:
17911 * BufferView.[Ch]: remove cruft
17913 2001-02-14 Juergen Vigna <jug@sad.it>
17915 * lyxfunc.C: removed #if 0 unused code
17917 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17919 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17921 * text2.C (SetSelection): added a BufferView * parameter
17923 2001-02-13 Juergen Vigna <jug@sad.it>
17925 * lyxfunc.C (Dispatch): fixed protected blank problem.
17926 * BufferView2.C (protectedBlank): added LyxText * parameter.
17928 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17929 (AppendColumn): same as above for column_info.
17931 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17932 (moveCursorUpdate): use a LyXText param for support of InsetText.
17934 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17935 (tripleClick): ditto
17937 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17939 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17941 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17943 * text2.C (SetSelection): set correct update status if inset_owner
17944 (ToggleFree): ditto
17946 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17948 * tabular.C: remove some commented code.
17950 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17952 * BufferView_pimpl.C: call hideSplash()
17954 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17957 * bibforms.h: remove
17960 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17961 add LFUN_CHILD_CREATE
17963 * counters.h: fix tiny typo
17968 * lyx.C: move splash to frontends/xforms/
17970 * lyx_gui_misc.C: move Include and Bibform to frontends
17972 * lyxvc.h: clarify comment
17974 * vspace.C: tiny housekeeping
17976 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17978 * text.C (PrepareToPrint): RTL Fix.
17980 * paragraph.C (GetUChar): New method.
17981 (String): Use GetUChar.
17983 * buffer.C (asciiParagraph): Use GetUChar.
17985 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17987 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17989 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17992 * buffer.C: rename to getLogName(), handle
17993 build log / latex log nicely
17995 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17998 * MenuBackend.h: remove support for reference menuitem type.
18000 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18002 * BufferView_pimpl.C: housekeeping
18003 * BufferView_pimpl.h:
18008 * minibuffer.h: move Timeout GUI-I
18010 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18012 * lyxrc.C (read): Update converters data-structures.
18014 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18016 * LaTeX.h (operator!=): add operator != for Aux_Info
18018 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18020 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18022 * LaTeXLog.C: deleted, useful code moved to Buffer
18025 * buffer.C: new function getLatexLogName()
18031 * lyxfunc.C: use frontends for LaTeX and VC logs
18033 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18035 * LaTeX.h: yet another std:: that Allan forgot.
18037 * Variables.C (set): renamed from isset(), because this clashes
18038 with some HP-UX macros (grr).
18040 2001-02-06 Allan Rae <rae@lyx.org>
18042 * LaTeX.h: Another bug fix. Missing std:: this time.
18044 2001-02-04 Allan Rae <rae@lyx.org>
18046 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18047 floats problem. I've left it commented out because it's not quite
18048 correct. It should also test that the current object is a table or
18049 figure inset. But I haven't gotten around to figuring out how to do
18050 that. I *think* it'll be something like: "table" == inset.type()
18052 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18055 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18057 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18058 all the citation/databases/styles in the auxilary file.
18059 (run): Rerun latex if there was a babel language error.
18061 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18063 * text.C (Backspace): Preserve the font when changing newline char
18065 (BreakParagraph): If the cursor is before a space, delete the space.
18067 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18069 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18071 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18072 new argument (code).
18073 (ChangeCitationsIfUnique): New method.
18075 * paragraph.C (GetPositionOfInset): Handle bibkey.
18077 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18079 * BufferView_pimpl.h: change type of Position::par_pos to
18080 LyXParagraph::size_type.
18082 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18084 * BufferView_pimpl.C (savePosition, restorePosition): Write
18085 messages to minibuffer.
18087 2001-01-28 José Matos <jamatos@fep.up.pt>
18089 * buffer.C (makeDocBookFile): adds support for document language.
18090 A silly restriction on the name of LatexCommand types where removed.
18091 Added support for CDATA sections, allows to chars unescaped, used
18092 among others in code, to avoid escape < and >.
18094 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18096 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18097 saved positions instrad of a stack. Furthermore, a position is
18098 stored using paragraph id/paragraph position.
18100 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18101 Remove LFUN_REF_BACK.
18103 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18105 * converter.C (dvipdfm_options): New method.
18107 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18109 * vspace.C (isValidLength): Fix for empty input string.
18111 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18113 * LyXAction.C (init): change description of LFUN_FIGURE to
18116 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18118 * LaTeX.C: add using directive
18120 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18122 * MenuBackend.C (expand): Fix the sorting of the formats.
18124 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18126 * lyx_main.C: tiny error message fix
18128 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18130 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18131 calling fl_initialize(). This fixes the problem with ',' as
18132 decimal separator in text files.
18134 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18136 * trans.C (process): Fix the keymap bug.
18138 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18140 * LaTeX.C (scanAuxFiles): New method. Provides support for
18141 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18142 (scanLogFile) Scan for "run BibTeX" messages.
18144 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18145 OT1 font encoding. Also, load the aecompl package if the ae
18148 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18150 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18152 * texrow.C (increasePos): turn two error messages into debug
18155 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18157 * LaTeX.C (scanAux): Handle the \@input macro.
18158 (runBibTeX): Use scanAux().
18160 * language.C (latex_options_): New field.
18162 * LaTeXFeatures.C (getMacros): Add language macros.
18164 * buffer.C (makeLaTeXFile): Small fix.
18166 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18168 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18170 * text2.C: add a using directive.
18172 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18177 * lyxfunc.C: kill LyXBell.
18179 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18181 * text.C (IsBoundary): Remove the error message
18183 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18185 * lyxrc.C (setDefaults): Correct initialization value for
18188 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18190 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18193 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18194 and GotoNextNote().
18196 * src/LyXAction.C: Added reference-next.
18198 * text.C (InsertChar): Use contains instead of strchr.
18200 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18202 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18204 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18205 alignment commands (when needed).
18207 * text.C (InsertChar): Add ':' to number separator chars.