1 2005-07-17 Juergen Vigna <jug@lyx.org>
3 * text2.C (cursorHome):
4 * text.C (drawSelection, cursorX):
5 * dociterator.C (textRow): add boundary to getRow() call
7 * paragraph.C (getRow): implementation of below
9 * paragraph.h: add parameter boundary for getRow() function
11 2005-07-18 José Matos <jamatos@fc.up.pt>
15 * tex-strings.[Ch]: new file format, remove support for a4.sty,
16 a4wide.sty and a4widemargins.
18 2005-07-17 Juergen Vigna <jug@lyx.org>
20 * text2.C (cursorLeft): fix one of error
22 2005-07-17 Juergen Vigna <jug@lyx.org>
24 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
26 more fixes for boundary handling
28 * text3.C (dispatch): don't reset cursor if boundary has changed
31 2005-07-16 Juergen Vigna <jug@lyx.org>
33 * text2.C (getColumnNearX): hopefully got it right now,
34 check if we are on column 0 for special case.
36 2005-07-16 Juergen Vigna <jug@lyx.org>
38 * text2.C (getColumnNearX): handle special case Newline Inset
40 * text.C (singleWidth): Just remove bogus check
42 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
44 * funcrequest.C (split): avoid reading uninitialized char c
46 2005-07-16 José Matos <jamatos@fc.up.pt>
52 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
53 single papersize variable.
55 2005-07-16 Juergen Vigna <jug@lyx.org>
57 * text3.C (dispatch): honor boundary when checking if a cursor
58 movement has been done
60 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
61 (setCursor, setCursorIntern): fix cursor movement with boundary
63 2005-07-16 Juergen Vigna <jug@lyx.org>
65 * text.C (currentState): output the actual Boundary
67 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * factory.C (createInset): fix bad logic for tabular creation
71 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
73 * lyx_main.C (init): change some reLyX reference to tex2lyx
75 2005-07-16 Juergen Vigna <jug@lyx.org>
77 * dociterator.C (DocIterator): initialize boundary
79 2005-07-16 Juergen Vigna <jug@lyx.org>
81 * text2.C (getColumnNearX): Consider rows without trailing blank.
83 2005-07-16 André Pönitz <poenitz@gmx.net>
85 * lyxfont.h: Change order of declarations to give the compiler
86 a better chance to inline things
88 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
89 questions on unsaved docs for better scritability
91 2005-07-16 André Pönitz <poenitz@gmx.net>
93 * paragraph.h (getChar): remove asserts as the same kind of security
94 can be achieved by using a suitable standard library implementation
95 and the function was in the critical path (25.9% in profiler)
97 2005-07-16 Juergen Vigna <jug@lyx.org>
99 * cursor.C (bruteFind2):
100 * bufferview_funcs.C (coordOffset):
101 * text.C (cursorX,cursorY): Handle cursor position after last char
102 in row before a inset which uses a whole row.
104 2005-07-15 José Matos <jamatos@lyx.org>
106 * output_plaintext.[Ch] (writeFileAscii): control reference title
108 (asciiParagraph): noparbreak was already deal and was incorrectly
111 2005-07-15 Juergen Vigna <jug@lyx.org>
113 * lyxfunc.C (dispatch): save and restore the cursor after a
116 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
118 * text.C (backspace): bug 806 for empty keepempty paragraphs we
119 change the layout to default before letting DEPM do its thing.
121 * paragraph_funcs.C (breakParagraph): dont reset the layout on
124 * text.C (setCursorFromCoordinates): add a debug statement
126 * text2.C (getColumnNearX): bug 1825 make sure that we don't
127 return a pos that is not on the row
129 * output_latex.C (TeXDeeper): get rid of potential dereferencing
130 of past the end iterator
132 2005-07-14 André Pönitz <poenitz@gmx.net>
134 * undo.C (recordUndoFullBuffer): implement undo for
137 2005-07-14 André Pönitz <poenitz@gmx.net>
139 * cursor.C (setSelection): open insets when selection is set there
140 to avoid crashs with cold coord cache
142 2005-07-14 André Pönitz <poenitz@gmx.net>
144 * trans_mgr.C (insert): move cursor to the right after inserting
147 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
149 * BufferView_pimpl.C (update): dampen some of the debug blabbering
150 * factory.C (readInset): ditto
151 * text.C, text2.C: ditto
153 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * buffer.C: format incremented to 242. There is no file format per
156 se, but the "frenchb" language has been removed from lib/language
157 and has to be translated to "french" by lyx2lyx.
159 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * cursor_slice.h, dociterator.h: add some documentation
162 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
164 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * text.C (leftMargin): do not add identation to display() style
167 insets, because they are always centered (bug 1293).
169 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
171 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
172 formatted_time methods in support/lyxtime.
174 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
176 * toc.[Ch]: new method getGuiName, which is used by the frontends
177 to set the toc combo (fixes bug 1870). Make TOC string translatable.
179 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
181 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
182 StableDocIterator const &)
183 * undo.C (recordUndo): use the above instead of cell.size() comparison
184 (fixes bug 1808; instructed by André).
186 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
189 * dociterator.h: Fix the assert when copying rows/cols in math
191 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
193 * BufferView_pimpl.C:
195 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
197 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
198 (findInset): new functions, refactored from goto Inset that return
199 the position of a certain inset without setting the buffer's cursor
201 (gotoInset): rewrite to call findInset and then set the cursor
204 2005-06-16 Angus Leeming <leeming@lyx.org>
206 * lyxrc.C (output, read): wrap all input and output of paths with
207 calls to os::internal_path and os::external_path, respectively.
208 (output): wrap bind_file inside quotes.
210 * format.C (view): enable the viewer to use the '$$s' placeholder.
212 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
214 * LColor.[Ch] (getFromLaTeXName): new
216 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
218 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
220 2005-06-14 Angus Leeming <leeming@lyx.org>
222 * lyx_main.C (init): ensure that the LyX binary dir is the first
223 element in the PATH on non-POSIX builds.
225 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
227 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
229 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * rowpainter.C (paintInset, paintHebrewComposeChar)
232 (paintArabicComposeChar, paintChars): add a LyXFont argument.
233 (paintChars): use getFontSpan to reduce calls to getFont to a
234 minimum; use Paragraph::lookupChange instead of isXXXText.
235 (paintForeignMark): rename LyXFont argument.
236 (paintFromPos): pass a LyXFont object to the various paintXXX
239 * FontIterator.C (FontIterator, operator++): use
240 Paragraph::getFontSpan
242 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
243 version that returns the font span as a pair.
245 2005-06-09 Angus Leeming <leeming@lyx.org>
247 * converter.C (convert): Don't forget "outfile = real_outfile" as
248 the final step in a conversion where the input and output file names
249 are the same. Otherwise, future conversion steps won't work...
251 2005-06-09 Angus Leeming <leeming@lyx.org>
253 * lyxsocket.C: remove stub code as it isn't needed by
254 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
256 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
258 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
259 effectively disabled -x
261 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
263 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
264 when it actually makes sense.
266 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
268 * BufferView_pimpl.C: revert to showCursor in connection with
269 Lars's front-end stack
271 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
273 * text.C (redoParagraph): move cursor right after a bibitem
276 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
278 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * buffer_funcs.C (bufferErrors): fix computation of the end of an
283 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
285 * BufferView.[Ch] (update):
286 * BufferView_pimpl.[Ch] (update, metrics):
287 * dimension.h (operator==):
288 * lyxfunc.C (dispatch):
289 * metricsinfo.h (ViewMetricsInfo):
290 * rowpainter.C (paintText):
292 * text.C (redoParagraph):
293 * text3.C (dispatch): Make LyX only repaint current paragraph in
294 case of character insert --> speedup. Also fix cursor draw
297 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
300 avoid a crash (bug 1891)
302 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * text2.C (getStringToIndex): constify cur argument.
308 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
309 argument has been given
310 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
311 try to invoke LFUN_INSET_APPLY).
313 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
314 if no inset was created by doInsertInset
315 (doInsertInset): return true if an inset has been inserted.
317 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * vspace.C (asGUIName): new method. A version of the space
320 suitable for showing on screen.
322 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
325 * lyxrc.C: rename "ASCII" to "Plain Text"
327 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * buffer_funcs.C (expandLabel): take a Buffer as argument;
330 translate the labelstring.
331 (setCounter): translate labelstring as needed.
333 * output_docbook.C (makeCommand): fix expandLabel invokation
335 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
337 * BufferView.C: fix dialog title
339 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
341 * lyx_main.C (priv_exec): fix logic error with help from Angus
342 * lyx_main.C (parse_execute): set is_gui = false and remove now
343 obsolete comment about a segfault
345 2005-05-18 Angus Leeming <leeming@lyx.org>
347 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
349 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
351 * tabular.[hC]: added setCellInset to fix tabular paste.
353 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
355 * buffer.C (save): check if destination is writable before trying
358 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
360 * BufferView_pimpl.C (update): fix processEvents -caused update
363 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * buffer_funcs.C (setCounter): fix test for numbering of
368 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
369 depth correctly; use optional argument when it exists
371 * lyxtextclass.C: remove unused MaxCounterTags enum
372 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
373 (max_toclevel, min_toclevel): new methods.
375 * MenuBackend.C (expandToc2): fix case where depth is smaller than
376 the smallest depth in toc.
378 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
379 layouts that should not appear in a table of contents.
381 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
383 * cursor.h (undispatched, noUpdate): add comments from André
385 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
389 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
391 2005-05-07 André Pönitz <poenitz@gmx.net>
393 * cursor.[Ch] (leaveInset): new function
395 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
397 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
399 2005-05-04 Angus Leeming <leeming@lyx.org>
401 * lyxfunc.C (getStatus): disable the spell checker dialog if
402 none of USE_[AIP]SPELL are defined.
404 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
406 * tabular.C (setWidthOfCell): remove obsolete comment
408 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
410 * paragraph.C (bibitem):
411 * buffer_funcs.C (setCounter):
412 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
414 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * text3.C (getStatus): immediately return after setOnOff
418 * rowpainter.C: fix drawing of appendix start
420 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
422 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
423 SwitchBetweenClasses and remove the unused return value.
424 Handle character styles, too
426 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
428 * factory.C (createInset): handle undefined character styles
430 2005-05-02 Angus Leeming <leeming@lyx.org>
432 * buffer.C: protect the #include of utime.h with a preprocessor
435 2005-05-02 Angus Leeming <leeming@lyx.org>
437 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
438 function so that auto-saving works, albeit in a blocking manner.
440 * Makefile.am: make compilation of the client sub directory, of
441 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
442 on conditionals set at configure time.
444 * SpellBase.[Ch]: no longer an abstract base class. Instead,
445 it can be compiled in its own right but has no-op functionality.
447 * aspell.C, pspell.C: remove preprocessor guards. The files should
448 be compiled only if the necessary functionality exists.
450 * lyxserver.C, lyxsocket.C: disable on Windows.
452 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
454 * text.C (leftMargin): Fix the parindent use bug (1764)
457 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
459 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
462 2005-04-25 Angus Leeming <leeming@lyx.org>
470 include <config.h> in .C files, not .h ones.
472 protect headers inside preprocessor guards.
474 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
476 * FuncStatus.h (StatusCodes): document
478 2005-04-21 André Pönitz <poenitz@gmx.net>
480 * FuncStatus.h (enabled, onoff): document
482 2005-04-19 Angus Leeming <leeming@lyx.org>
484 * BufferView_pimpl.C (cursorToggle): no longer test whether
485 any child processes have been reaped before calling
486 handleCompletedProcesses().
488 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
490 * text3.C (dispatch): fix, finally fix, the language problem in
491 new lyxtexts, without disabling on-the-fly font changes (Helge's
494 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
496 * text3.C (dispatch): set cursor on double/triple click events
499 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
502 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
504 * rowpainter.C (paintFirst): simplify the code a little bit. In
505 particular, remove the test for secnumdepth.
506 * text.C (setHeightOfRow): only allocate space for chapter number
507 when updateCounters provided an actual label, instead of looking
508 at secnumdepth directly.
510 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
512 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
513 paragraphs when secnumdepth is large enough or, for environments,
514 when they are not the first in a sequence.
516 2005-04-17 Angus Leeming <leeming@lyx.org>
518 * buffer.C (makeLaTeXFile): replace code to manipulate a path
519 containing space and '~' characters with a call to latex_path().
521 2005-04-17 Angus Leeming <leeming@lyx.org>
523 * converter.C (convert): protect all args of convertDefault.sh
526 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * text3.C (dispatch): change the layout to "Caption" after inserting
531 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
533 * text3.C (dispatch): fix language problem in newly created
534 textinsets (and main text) in non-english docs
536 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
538 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
539 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
540 * text3.C (getStatus): disable LFUN_INSET_MODIFY
542 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
547 * rowpainter.C (getFont): Fix metrics bug introduced by inset
550 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
552 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
553 output of \item arguments without trailing text.
555 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * FontIterator.C (operator*): avoid a copy of the font.
559 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
561 * rowpainter.C (getFont): fix language bug from previous fix
563 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
565 * rowpainter.C (RowPainter, getFont): fix font inside inset
568 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
570 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
571 preventing inserted font, deco, delim insets jumping to start of
574 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
576 * lyxfunc.C (dispatch): translate message before sending it to the
579 2005-03-29 Angus Leeming <leeming@lyx.org>
581 * lyx_main.C (priv_exec): call os::internal_path on each file passed
582 to LyX on the command line.
584 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
586 * vc-backend.C: use QuoteName to protect file names wherever
589 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
592 * BranchList.h: fix bugs 1844,1845: document settings don't
595 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
597 * lyxrc.C (setDefaults, read, output, getDescription): add support
598 for tex_allows_spaces.
600 * exporter.C (Export): allows files in directory containing spaces
601 if tex_allows_spaces is true.
603 * buffer.C (makeLaTeXFile): if the document path contains spaces,
604 output it in double quotes.
606 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
608 * rowpainter.C: use default text height for drawing change tracker
611 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
613 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
615 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
617 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
618 directory is missing.
620 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
622 * text2.C: fixed the fix, extended to other case.
624 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
626 * text2.C: fix for cursor up/down stuck in math [bug 1792]
628 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
630 * text2.C (cursorUp): get rid of a crash
631 * text.C (x2pos): add an assert
633 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
635 * lyxfunc.C (getStatus): fix warning when assertions are disabled
639 * dociterator.C: include <boost/current_function.hpp>, which is
640 needed when assertions are disabled.
642 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
644 * text2.C: fix for stuck cursor when traversing two
645 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
647 2005-02-25 Andreas Vox <avox@arcor.de>
649 * output_docbook.C (makeParagraph): suppress trailing newline
650 after a run of paragraphs
652 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
654 * paragraph.C: fix for confused change tracker when pasting
655 text that begins with a lineseparator. [bug 1827]
656 (setChange(0, Change::INSERTED);)
658 * paragraph_funcs.C: fix for lost changes on triple-paste
659 in change tracking mode [bug 1827] (par.setChange()).
661 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * text2.C (updateCounters, setCounter, expandLabel): move to
666 * buffer_funcs.C (updateCounters): turn into a free standing
667 function and add a buffer parameter. Remove dead code for tracking
669 (setCounter): change into a free-standing function which gets a
670 dociterator as argument. Use this iterator to fix captions in a
671 simple way. When no float is found above the caption, use the
672 labelstring of the caption layout as default.
674 * text.C (breakParagraph, backspace):
675 * text2.C (init, setLayout, changeDepth):
676 * text3.C (dispatch):
677 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
680 * dociterator.C (forwardPar): make it much faster by calling
681 forwardPos() only when really necessary.
683 * output_docbook.C (makeCommand): adapt to expandLabel move.
685 * cursor.C: remove unused variable
687 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
689 * paragraph_funcs.C: fix crash when pasting insets in change
690 tracking mode [bug 1277] (honour change type in moveItem).
692 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
694 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
696 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * BufferView.C (setCursor): change to use a DocIterator.
699 (gotoLabel): use BufferView::setCursor (other part of bug 781).
700 (putSelectionAt): adapt to BufferView::setCursor change.
702 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
703 moved here from LyXText and rewritten to use proper cursor
704 methods. Fixes bug 1787, 616 and 835.
706 * BufferView_pimpl.C (restorePosition): set the cursor correctly
707 when inside an inset (part of bug 781).
708 (dispatch): adapt to change of BufferView::setCursor.
709 (getStatus, dispatch): handle LFUN_GOTOERROR,
710 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
712 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
713 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
714 * text3.C (gotoNextInset, gotoInset): removed.
716 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
718 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
720 2005-02-15 Angus Leeming <leeming@lyx.org>
722 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
723 can be used meaningfully in a comparison.
725 2005-02-13 André Pönitz <poenitz@gmx.net>
727 * bufferview_funcs.C (coordOffset): improve cursor drawing
729 2005-02-13 André Pönitz <poenitz@gmx.net>
731 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
732 * Cursor.C (dispatch): use fixIfBroken
733 * lyxfunc.C (getStatus): use fixIfBroken
735 2005-02-15 Angus Leeming <leeming@lyx.org>
737 * lyx_main.C (error_handler):
739 * lyxrc.C (setDefaults):
741 #include "environment.h".
743 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
745 2005-02-15 Angus Leeming <leeming@lyx.org>
747 * lyxserver.C (startPipe): squash MSVC warning "local variable
748 'fd' used without having been initialized".
750 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
752 * BufferView_pimpl.C: revert accidental commit.
754 2005-02-14 André Pönitz <poenitz@gmx.net>
756 * dociterator.[Ch]: new member forwardPosNoDescent(),
757 which doesn't enter nested insets.
758 * text2.C (setFont): use forwardPosNoDescent() instead
759 of ForwardPos() (fixes crash on font change).
761 2005-02-13 Angus Leeming <leeming@lyx.org>
763 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
764 only if lyxrc.path_prefix is not empty.
766 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
768 * bufferparams.C (readGraphicsDriver): prevent crash
770 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
772 * text2.C (setCounter): check for inInset() == 0
774 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
776 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
777 but use update() to get correct screen display; use convert
778 instead of istringstream.
779 (getStatus): handle LFUN_GOTO_PARAGRAPH
781 * lyxfunc.C (dispatch, getStatus): do not handle
782 LFUN_GOTO_PARAGRAPH here.
784 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
786 * text3.C (dispatch): size() -> depth()
788 * text2.C: remove some debug output
790 * paragraph.C: ws changes only
792 * lyxfunc.C (getStatus): size() -> depth()
794 * dociterator.h (clear, push_back, pop_back, internalData,
795 operator[], resize, empty): new functions
796 Make StableDocIterator and operator== be friends. Don't inherit
797 from std::vector use a privat class variable slices_ instead.
800 * dociterator.C: update because of not inheriting from std::vector
801 anymore. Call explictly to slices_ instead. Use depth() instead of
802 size() and top() instead of back()
804 * cursor.C: chagne size() -> depth and back() -> top(). Also
805 remove some direct operator[](i) calls in favour of foo[i]
806 (getFont): remove some dead code
808 * bufferview_funcs.C (coordOffset): size() -> depth()
810 * buffer.C: ws changes only
812 * CutAndPaste.C (eraseSelection): back() -> top()
814 * BufferView_pimpl.C (selectionRequested): back() -> top()
816 * BufferView.C (setCursor): size() -> depth()
818 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
820 * text3.C (cursorPrevious): return true if depm changed something
822 (dispatch): rename sl to oldTopSlice, remove moving use the new
823 NoUpdate func attrib instead. Make sure that needsUpdate is set
824 for function that have NoUpdate, but where depm might have changed
827 * text2.C (cursorLeft): make us return true if depm changed
830 (cursorUpParagraph): ditto
831 (curosrDownParagraph): ditto
832 (cursorUp, cursorDown): ditto, make sure to read comments in code
833 (deleteEmptyParagraphMechanism): remove an assert, also return
834 true if just a single char was deleted.
836 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
837 cursor that we modify, to avoid modifying an active cursor before
838 we call setCursor. This allows depm to run. Also return true if
839 depm deleted something.
841 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
842 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
843 cursorDownParagraph, cursorPrevious and cursorNext, return true if
844 something was changed in the buffer because of them (ie. depm run)
846 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
847 debug messages. Make update by default be false. Make sure that
848 the result of update is retained throught several calls down to
851 * LyXAction.h: add a new func_attrib: NoUpdate
853 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
854 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
855 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
857 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
859 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
861 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
862 bv_->owner(), bv_->buffer() by direct references to the private
864 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
865 (getStatus): isSavedPosition() is in BufferView::Pimpl.
866 (fitCursor): center() is in BufferView::Pimpl.
867 (getStatus, trackChanges, dispatch): no need for a temporary buf
869 (fitCursor, workAreaDispatch): use workarea().workheight()
871 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
873 * CutAndPaste.C (pasteSelectionHelper): fix a crash
875 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
877 * buffer.C: format up to 241.
878 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
879 break if pasting into ERT
880 * lyxfunc.C (getStatus): suppress mathpanel and
881 LFUN_DIALOG_SHOW_NEW_INSET in ERT
883 2005-02-01 Angus Leeming <leeming@lyx.org>
885 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
887 2005-02-01 Angus Leeming <leeming@lyx.org>
889 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
890 calling fs::is_directory().
892 2005-01-31 Angus Leeming <leeming@lyx.org>
894 * lyx_main.C (priv_exec): specify explicitly the relative location
895 of the top level build directory when run in-place.
897 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
899 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
900 LyXText containing the cursor, not the top-level one.
902 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
904 (insertStringAsLines): rename par to pit; use temporary variable
905 par to hold a Paragraph; do not store par.layout() in a variable,
906 since the pointer may die when breaking paragraphs; pass pars to
907 breakParagraph() instead of Buffer::paragraphs().
909 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
911 * lyxlex_pimpl.h: #include <fstream>.
913 * BufferView.[Ch] (getLyXText): add a const version.
915 * BufferView_pimpl.C: add debug aids.
920 * paragraph_funcs.h: add commentary explaining what the class does.
923 * coordcache.[Ch]: add lots of commentary.
924 (startUpdating, doneUpdating): debug aids.
925 (arrays, insets, parPos, getParPos): accessors to private data.
927 * cursor_slice.[Ch] (text): add a const version.
928 * dociterator.[Ch] (text, innerText): add const versions.
930 * lyxtext.h (breakParagraph): change the keep_layout arg to a
933 * paragraph.C (getRow, pos2ros): add asserts.
935 * paragraph.h: add commentary. Lots of.
937 * paragraph.[Ch] (metrucs, draw): removed.
940 * rowpainter.[Ch]: const-correct changes.
942 * text.C: various obvious clean-ups. Removal of ancient cruft.
945 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
947 * vc-backend.C (find_file): rewrite to use boost.filesystem
950 * main.C (main): set default name check for boost.filesystem to
953 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
956 (actOnUpdatedPrefs): ditto
958 * lyx_main.C (init): rewrite to use boost.filesystem
959 (queryUserLyXDir): ditto
961 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
962 (getContentsOfAsciiFile): ditto
964 * lastfiles.C (readFile): rewrite to use boost.filesystem
966 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
968 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
971 * buffer.C (Buffer): adjust for destroydir
972 (getLogName): rewrite to use boost.filesystem
974 (save): use fs::copy_file (from fs_extras)
976 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
978 * LaTeX.C (run): rewrite to use boost.filesystem
979 (scanAuxFiles): ditto
980 (handleFoundFile): ditto
982 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
984 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
986 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
988 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
990 * lyxlayout.[Ch]: change some vars from float to double
992 * buffer.C (readFile): make a local var const
994 * Several files: use convert<> instead of atoi,strToXXX and friends
996 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
998 * LaTeXFeatures.[Ch]: Add a static list packages_ that
999 holds the contents of packages.lst. New functions getAvailable
1000 and isAvailable to parse and check that list, resp.
1004 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1006 * bufferparams.[Ch]: new param output_changes.
1008 * Buffer.C: increase file format to 240.
1009 Use output_changes and isVailable.
1013 * paragraph_pimpl.C: Use output_changes and isVailable.
1015 2005-01-23 Angus Leeming <leeming@lyx.org>
1017 * output_latex.C: #include "insetbibitem.h", rather than
1018 forward declare function bibitemWidest.
1020 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1022 * lyx_main.C (init): make it compile on the Mac.
1024 2005-01-20 Angus Leeming <leeming@lyx.org>
1026 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1027 (setLyXMisc): (char string literal) != (char string literal) is
1028 performing a comparison on the addresses. Convert one operand
1029 explicitly to string to guarantee expected behaviour.
1032 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1035 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1037 * output_plaintext.C: remove unneeded #include gzstream.h.
1039 2005-01-20 Angus Leeming <leeming@lyx.org>
1041 * SpellBase.h: rename some of the elements of the Result enum.
1048 * pspell.C (check): ditto
1050 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1052 * buffer.C: add #include <fstream>.
1054 * lyx_main.C (init): Compile fix.
1056 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1058 2005-01-20 Angus Leeming <leeming@lyx.org>
1060 * mover.h: change commentary to reflect the changed meaning of
1061 the $$s placeholder.
1063 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1065 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1067 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1069 2005-01-20 Angus Leeming <leeming@lyx.org>
1071 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1072 printing diagnostic data by not dereferecing an iterator past the
1075 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1077 * buffer.C (readHeader): use "&&" rather than "and".
1079 * lyxserver.h (inPipeName, outPipeName): make these const.
1081 2005-01-19 Angus Leeming <leeming@lyx.org>
1083 * lyx_main.C (error_handler, init): protect SIGHUP with
1084 #ifdef SIGHUP guards.
1086 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1088 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1090 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 * text.C (setHeightOfRow): add a margin at the top and bottom of
1093 the document (bug 1761)
1095 2005-01-17 Angus Leeming <leeming@lyx.org>
1097 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1098 with "python ". Workaround for a brain-dead Windows.
1100 2005-01-16 Angus Leeming <leeming@lyx.org>
1102 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1103 for MacOSX and Windows to use prependEnvPath.
1104 Strip out the hard-coded block to add elements to the PATH for
1105 MacOSX and replace it with a call to prependEnvPath using the
1106 contents of LyXRC::path_prefix.
1107 (queryUserLyXDir): strip out the code to run reconfigure, instead
1108 returning a boolean indicating the necessity to do so.
1109 (reconfigureUserLyXDir): contains the code to reconfigure the
1110 user support directory. Is now called after the various LyXRC data
1111 files have been read.
1113 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1115 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1117 * converter.[Ch] (convert): take a new parameter try_default. Use
1118 a default converter (imagemagick) if try_default is true.
1120 2005-01-13 Angus Leeming <leeming@lyx.org>
1122 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1123 os::cygwin_path_fix.
1124 (write): output LyXRC::cygwin_path_fix as necessary.
1126 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1129 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1131 2005-01-12 Angus Leeming <leeming@lyx.org>
1133 * lyx_main.C (init): set the PATH variable to include the
1134 directory containing the LyX binary when running on Mac or Windows.
1136 2005-01-12 Angus Leeming <leeming@lyx.org>
1138 * lyx_main.C (init): remove cruft that purports to set the locale
1139 dir. It doesn't and is not needed anyway.
1141 2005-01-10 Angus Leeming <leeming@lyx.org>
1143 * Makefile.am: remove the lyx_main.C special casing.
1145 * BufferView_pimpl.C:
1151 * messages.C: use support/package.h to provide the paths to the
1152 various directories used by LyX.
1154 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1156 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1157 layout if pasting into an empty paragraph)
1159 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1161 * tex-accent.C: add <string>
1163 2005-01-06 José Matos <jamatos@lyx.org>
1165 * ParagraphParameters.C (write): put every parameter in its own line.
1166 * paragraph.C (write): reduce number of consecutive empty lines exported.
1167 * buffer.C (LYX_FORMAT): increase file format to 239.
1169 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1171 * everywhere: change support/tostr.h -> support/convert.h
1173 * tabular.C: make all write_attributes templates, tostr -> convert
1175 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1176 (emptyTag): and -> &&, and fix type for ret from getChar
1177 (getFirstWord): fix type for ret from getChar
1178 (onlyText): and -> &&
1179 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1182 * toc.C (goTo, action):
1183 * text3.C (dispatch):
1184 * text.C (currentState):
1185 * tex-accent.C (DoAccent):
1188 * lyxfunc.C (menuNew):
1189 * lyxfinc.C (replace):
1190 * counters.C (laberItem):
1191 * bufferview_funcs.C (font2string):
1192 * bufferparams.C (writeFile):
1193 * buffer.C (readFile):
1195 * MenuBackend.C: tostr -> convert
1197 * LaTeX.C (runMessage): fix format
1198 (scanAuxFiles): tostr -> convert
1200 * BufferView_pimpl.C (savePosition): fix format
1201 (restorePosition): ditto
1204 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1206 * Spacing.[Ch]: New method getValueAsString().
1210 * ParagraphParameters.C:
1213 * text3.C: store/read spacing value as string.
1215 * rowpainter.C: change float value (spacing_val) to double.
1217 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1218 broken custom document spacing).
1220 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1222 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1223 namespace, also more use of temp references and const
1225 * cursor.[Ch] (getStatus): move to lyxfunc.C
1227 * bufferparams.C: reformat slightly
1229 * bufferview_funcs.C (font2string): constify arg
1235 * buffer_funcs.C: (many funcs): constify arg on function
1236 definitions, also make more local vars const, also add ASSERTS on
1239 * buffer.C (LYX_FORMAT): put const in correct place
1240 (many funcs): constify arg on function definitions, also make
1241 more local vars const
1243 * aspell_local.h: remove "struct" from typdef setup
1245 * aspell.C (check): make word_ok const
1246 (nextMiss): simplify slightly
1249 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1251 * lyxrc.[Ch]: store all float values as strings.
1252 use int (not float) for lyxrc.dpi.
1254 2005-01-04 Angus Leeming <leeming@lyx.org>
1256 * lyx_cb.C (Reconfigure):
1257 * lyx_main.C (queryUserLyXDir):
1258 to run the <system_lyxdir>/configure correctly on Windows, prefix
1259 the path to the script with "sh " when generating the string that
1260 is passed to system().
1262 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1264 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1266 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1268 * lyxlength.C (asLatexString): get rid of setprecision
1270 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1272 * text2.C (setLayout): remove unused variable endpit.
1273 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1275 * paragraph.C (onlyText): remove unused variable style.
1277 * cursor.C (bruteFind): remove unused variables beg and end.
1279 * Makefile.am (dist_noinset_DATA): not needed anymore
1281 * cheaders/*: remove.
1283 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1285 * text3.C: fix LFUN_MATH_MODE.
1287 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1289 * buffer_funcs.C (countWords): new function. Counts words between
1292 * BufferView_pimpl.C (getStatus, dispatch): handle
1295 * LyXAction.C (init):
1296 * lfuns.h: add LFUN_WORDS_COUNT.
1298 2004-12-19 Angus Leeming <leeming@lyx.org>
1300 * buffer.C (save): s/slashify_path/internal_path/.
1302 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1304 * lyxfind.C (findChange): do not search for end of pars, because
1305 the change tracker cannot handle this (fixes bug 1719).
1307 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1309 * paragraph.[Ch] (autoBreakRows): remove
1311 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1313 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1314 avoid using the paragraph one
1316 * text2.C (LyXText, insertStringAsLines): adjust
1318 2004-12-16 Angus Leeming <leeming@lyx.org>
1322 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1324 2004-12-14 Angus Leeming <leeming@lyx.org>
1326 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1328 * bufferlist.C (emergencyWrite):
1329 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1332 2004-12-14 Angus Leeming <leeming@lyx.org>
1334 * main.C: (main): no longer pass pointers to os::init.
1336 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1338 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1339 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1341 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1344 * text3.C: remove selection_possible global flag
1346 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1348 * text2.C (getSelectionSpan): remove
1349 (changeDepth, changeDepthAllowed): adjust
1351 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1353 * Makefile.am (BOOST_LIBS): use boost variables
1355 2004-12-03 José Matos <jamatos@lyx.org>
1357 * buffer.C: format up to 238.
1359 2004-12-03 José Matos <jamatos@lyx.org>
1361 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1363 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1365 * cursor.C (goUpDown): remove call to idxUpDown2
1367 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1369 * tabular.[Ch]: use size_t-like types for cell, row and column
1372 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1374 * lyxfunc.C (getStatus): do not lose previous information when
1375 calling BufferView::getStatus; do not set a default "Command
1376 disabled" message at the beginning, but just before returning.
1378 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1380 * cursor.h (getStatus): add better comment from src/cursor.C
1382 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1384 * text3.C (getStatus): return false when the lfun is not handled
1386 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * broken_headers.h: remove
1390 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1392 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1394 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1395 offset_ref accessors
1397 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1398 top_y_, merge fitcursor with update
1399 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1401 (metrics): introduce
1402 (workAreaDispatch): adapt to new coord scheme
1403 (redoCurrentBuffer): remove
1405 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1407 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1410 * coordcache.[Ch]: add paragraph cache and helpers
1412 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1415 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1416 (targetX, setTargetX): introduce
1418 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1419 baseline -> ascent, as the rest of lyx
1421 * lyxtext.h: remove redoParagraphs, updateParPositions,
1422 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1423 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1424 have ascent/descent (ascent is ascent of first par)
1426 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1429 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1431 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1433 * pariterator.C: fix infinite loop introduced in par->pit renaming
1435 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1436 in insets and LyXText, draw two off-screen paragraphs using
1437 NullPainter, and adapt to new coord scheme
1441 * text3.C: adapt lfun handlers to the new coord scheme, which
1442 means: there's only guaranteed coord information for onscreen pars
1443 plus one above and one below. This implies that one can do search
1444 from y coordinates in the range [-1,workHeight]
1446 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1448 * rename a lot of InsetOld to InsetBase
1450 2004-11-25 Angus Leeming <leeming@lyx.org>
1452 * BufferView_pimpl.C:
1454 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1456 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1459 call BufferView::getStatus if LCursor::getStatus did nothing
1460 (setStatusMessage, getStatusMessage): removed.
1462 * FuncStatus.C (message): new methods. Used to provide an error
1463 message indicating why a command is disabled.
1464 (clear, |=, FuncStatus): update for message.
1466 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1468 * lyxfunc.C (dispatch): always call sendDispatchMessage
1470 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1473 * BufferView_pimpl.C:
1478 * cursor_slice.[Ch]:
1481 * paragraph_funcs.C:
1487 * undo.C: par->pit renaming
1489 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1491 * tabular.C (cellstruct): use initialization, store a shared_ptr
1492 to insettext instead of the insettext directly, adjust to fit.
1493 (operator=): new function
1494 (swap): new function
1495 (rowstruct): use initialization
1496 (columnstruct): use initialization
1497 (ltType): use initialization
1500 * lyxlength.h (swap): new function
1502 * LColor.[Ch] (operator=): use the common semantics
1504 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1506 * lyxfind.C (findNextChange): update the bufferview after setting
1509 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1512 number of InsetOptArgs has already been inserted.
1514 * output_latex.C (latexOptArgInsets): new method. This outputs all
1515 the optarg insets, up to the limit defined in the layout file.
1516 (optArgInset): removed
1517 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1519 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1521 * paragraph.C (isLetter): remove special spellchecker-related
1522 code; return true also for digits
1523 (isWord, isKomma): remove
1525 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1526 * lyxfind.C (MatchString()): use isLetter instead of isWord
1528 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1530 * pariterator.h (operatir=): comment out un-implemented member
1533 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1536 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1538 * lyxfont.h: include LColor.h to satisfy concept checks.
1540 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1542 * pariterator.h: add typdefs for value_type, difference_type,
1543 pointer and reference to satisfy concept checks. Also add default
1544 constructor for same reason.
1546 * pariterator.C (operator++): add post-increment operator to
1547 satisfy concept checks.
1549 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1552 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1554 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1555 checks. Also rename base_type to BaseType to follow naming
1558 * FloatList.h: include Floating.h to satisfy concept checks.
1560 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * lyxfunc.C (getStatus): when the origin of the request is menu or
1563 toolbar, and the LyXView does not have focus, do as if there was
1564 no buffer (bug 1720)
1566 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1567 FuncRequest to individual entries of LFUN_SEQUENCE
1569 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 * output_latex.C (TeXOnePar): override runparams.moving_arg
1572 according to the needprotect value of the current paragraph (bug
1575 * paragraph.C (simpleTeXOnePar): no need to override
1576 runparams.moving_args here
1578 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1580 * vspace.C: fix off-by-one-error, related to fix #1682
1582 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1584 * lengthcommon.C: a more general fix for bug 1682
1586 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1588 * text.C (backspace): fix crash
1590 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1592 * format.[Ch] (getFormatFromFile): new method
1593 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1595 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1597 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1599 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1601 * lyxfunc.C (dispatch): remove the verbose argument
1602 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1605 * kbmap.C (defkey): set the origin of func to KEYBOARD
1607 * MenuBackend.C (MenuItem):
1608 * ToolbarBackend.C (add): set the origin of func to UI
1610 * funcrequest.[Ch]: add origin member, which indicates which part
1611 of LyX requests an action
1613 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1615 * converter.C (move): don't lie in the error message
1616 * converter.h (isReachable, move): document
1618 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1620 * buffer.C: remove unused using lyx::support::atoi
1621 * paragraph_funcs.C: ditto
1623 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1625 * bufferlist.C (exists): use bind and equal_to instead of
1628 * lyxtextclasslist.C (NumberOfClass): ditto
1630 * cursor.C (insert): use for_each instead of explicit for loop
1632 * bufferlist.C (getFileNames): use std::transform and
1633 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1635 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1638 * buffer.C (changeLanguage): use for_each instead of explicit for
1640 (hasParWithID): implement using getParFromID
1642 * LaTeXFeatures.C: ws change only
1644 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1647 * BufferView_pimpl.C (trackChanges): use for_each instead of
1650 2004-11-04 André Pönitz <poenitz@gmx.net>
1653 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1655 * dociterator.C (asDocIterator): use hard assert again.
1657 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1659 * lyxlength.C (asLatexString): rewrite so that it does not use
1662 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1664 * text3.C (specialChar, dispatch): make sure cursor moves to the
1665 right after inserting an inset
1667 2004-11-02 José Matos <jamatos@lyx.org>
1669 * output_docbook.C (docbook):
1670 * paragraph.C (getID):
1671 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1672 garantee that the output is always legal.
1674 * tabular.C (docbook):
1675 * outputprams.[Ch]: remove mixed contents.
1677 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1679 * text2.C (setCounter): prevent endless loop
1681 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1683 * exporter.C (copyFile): use the mover instead of support::copy()
1684 * exporter.C (Export): pass format and latex name to copyFile()
1685 * exporter.h (addExternalFile): document
1686 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1688 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1690 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1692 2004-10-30 José Matos <jamatos@lyx.org>
1694 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1695 text and no inset or font change. This allows to use CDATA
1696 sections just for the whole paragraph.
1698 2004-10-30 José Matos <jamatos@lyx.org>
1700 * paragraph.C (getFirstWord): remove unused variable.
1702 2004-10-30 José Matos <jamatos@lyx.org>
1704 * paragraph.C (getFirstWord): the content should always be escaped
1706 (simpleDocBookOnePar):
1707 * output_docbook.C (makeEnvironment): replace reference to CDATA
1710 2004-10-30 José Matos <jamatos@lyx.org>
1712 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1714 2004-10-30 José Matos <jamatos@lyx.org>
1716 * output_docbook.C (makeParagraphs):
1717 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1718 standard paragraph has only a given type of content drop the wrapper.
1720 2004-10-29 José Matos <jamatos@lyx.org>
1722 * output_docbook.C (makeEnvironment):
1724 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1726 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1728 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1729 (cleanID): sanitize any id.
1731 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1733 * buffer.C, lyxlex_pimpl.C:
1734 * lyxlex_pimpl.C (setFile):
1735 s/getExtFromContents/getFormatFromContents/
1737 2004-10-28 José Matos <jamatos@lyx.org>
1739 * output_docbook.C (makeEnvironment): move id to broadest possible
1742 * sgml.C (openTag): apply substitution of <> for all attributes.
1744 2004-10-28 José Matos <jamatos@lyx.org>
1746 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1747 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1748 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1750 * sgml.[Ch]: new version for open and closeTag for paragraph and
1751 for strings. Now they handle the ids of paragraphs.
1753 2004-10-26 Angus Leeming <leeming@lyx.org>
1755 * Makefile.am: add mover.[Ch].
1757 * converter.C (convert, move): use the new Movers to move external
1758 files to the temp directory.
1760 * lyx_main.C (init): ensure that the global system_movers data
1763 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1766 * mover.[Ch]: new files, defining a Mover as a utility to move an
1767 external file between directories and, if necessary, manipulate this
1768 file using a helper script.
1770 2004-10-25 José Matos <jamatos@lyx.org>
1772 * output_docbook.C (makeCommand): merge two if's that tested the
1775 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1777 * sgml.C (escapeString): fix warning in a better way
1779 2004-10-25 José Matos <jamatos@lyx.org>
1781 * sgml.C (escapeString): import the require boosts header file for
1782 tie, and avoid a signed unsigned comparison.
1784 2004-10-25 José Matos <jamatos@lyx.org>
1786 * sgml.h: add #include <string>
1788 2004-10-25 José Matos <jamatos@lyx.org>
1790 * sgml.[Ch] (escapeString): new function to escape all the string.
1792 2004-10-24 José Matos <jamatos@lyx.org>
1794 * paragraph.[Ch] (getFirstWord): new function to get the first
1795 word. Useful for description.
1796 (simpleDocBookOnePar): remove depth argument, add another that
1797 says where to start the paragraph.
1799 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1800 use the new functions to fix cleanly the support for descriptions.
1802 2004-10-24 José Matos <jamatos@lyx.org>
1804 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1805 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1806 * output_linuxdoc.C (linuxdocParagraphs):
1807 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1808 add buffer as argument.
1810 2004-10-24 José Matos <jamatos@lyx.org>
1812 * output_docbook.C (makeEnvironment, searchEnvironment): place
1813 CDATA inside paragraphs and fix scope for listitems.
1815 2004-10-24 José Matos <jamatos@lyx.org>
1817 * output_docbook.C: remove using statement for stack.
1819 2004-10-23 José Matos <jamatos@lyx.org>
1821 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1822 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1823 docbook. The new scheme is recursive and makes use of iterators, the
1824 same as latex export works.
1825 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1826 directly with the paragraph contents. This code was moved up to
1827 output_docbook.C (docbookParagraphs).
1828 * sgml.C (openTag, closeTag): removed unneeded newlines.
1829 (closeEnvTags) removed.
1831 2004-10-23 André Pönitz <poenitz@gmx.net>
1833 * undo.C (textUndoOrRedo):
1834 * dociterator.C (asDocIterator): work around crash
1836 * cursor.C (getStatus): replace ASSERT by more verbose error message
1837 and manual correction of the problem. Should increase stability
1838 while providing more sensible information.
1840 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1842 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1844 * bufferlist.C (previous, next): new methods
1847 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1849 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1851 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1852 entities to preamble.
1854 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1856 * messages.C (Pimpl): strip off translation context information
1858 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1860 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1861 the cursor is correct (bug 1694)
1863 2004-10-13 José Matos <jamatos@lyx.org>
1865 * output_docbook.C (docbookParagraphs): fix closing tags in the
1866 end of the document.
1868 2004-10-09 José Matos <jamatos@lyx.org>
1870 * buffer.C: format up to 237.
1871 * bufferparams.C (write): use tostr to convert booleans to strings.
1873 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1875 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1877 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1879 * LaTeX.C: implement use of babel language in xindy.
1881 2004-10-05 José Matos <jamatos@lyx.org>
1883 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1884 Add new translators to help reading and writing the lyx file.
1886 2004-10-05 José Matos <jamatos@lyx.org>
1888 * ParagraphParameters.C (read):
1889 * text.C (readParToken): replace nexToken by more appropriate lex
1892 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1894 * LaTeX.C (runMakeIndex):
1895 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1896 (usually 'makeindex') configurable.
1898 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1899 with a variable rather than with a number.
1901 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1903 * output_latex.C (TeXOnePar): make sure font setting is the first
1904 thing that gets output (and the last at the end). Should fix bug
1907 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1909 * pch.h: use proper signal include
1911 * LaTeX.h: Use preferred calling of Boost.Signal
1914 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1916 * pch.h: dont include <boost/function/function0.hpp>
1918 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1920 * paragraph_pimpl.h: remove usage of ShareContainer
1922 * paragraph_pimpl.C: remove initialization of ShareContainer.
1924 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1928 * BufferView.C (putSelectionAt): change the semantics when
1929 backwards == true: now, this just swaps cursor and anchor wrt the
1932 * BufferView.h (putSelectionAt): add some documentation
1934 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1935 make sure backwardChar is done at least once (to avoid getting
1937 (findNextChange): use putSelectionAt in the forward direction
1938 (operator()): use Paragraph::isWord
1940 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1942 * Spacing.C (set): c_str fix
1944 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1946 * lyx_cb.C (Reconfigure): quote the name of configure script in
1947 case it contains spaces
1949 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1953 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1954 (BOOST_LIBS): use top_buildir when looking for the file
1956 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1958 * pch.h: do not use include boost/format.hpp, multiple symbols
1959 will result (gcc bug)
1962 2004-08-23 José Matos <jamatos@lyx.org>
1964 * bufferparams.C (readToken): fix reading of the author field.
1966 2004-08-20 José Matos <jamatos@lyx.org>
1968 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1970 2004-08-20 José Matos <jamatos@lyx.org>
1972 * lyxlex.[Ch] (findToken): remove function.
1974 * ParagraphParameters.C (findToken):
1975 * bufferparams.C (findToken): replace call for previous function
1976 with local copy. This local function has one more argument, the
1977 read string argument.
1979 2004-08-16 José Matos <jamatos@lyx.org>
1981 * ParagraphParameters.C (write):
1982 * Spacing.C (writeFile):
1983 * bufferparams.C (writeLaTeX):
1984 * lyx_cb.C (Reconfigure):
1985 * paragraph.C (write):
1986 * tabular.C (write): remove unnecessary space at end of line.
1989 2004-08-16 José Matos <jamatos@lyx.org>
1991 * text.C (readParagraph): remove debug message.
1993 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1995 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1998 * output_plaintext.C (asciiParagraph): set depth correctly
2000 * outputparams.h: add member depth
2002 * paragraph_funcs.C (ownerPar): remove.
2004 * text2.C (setCounter): remove first_pit; comment out some
2005 non-working code that uses ownerPar
2007 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2010 2004-08-16 José Matos <jamatos@lyx.org>
2012 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2013 For the same level of importance use the same chanel to report problems.
2014 (read): add code to deal with \begin_body and \end_body.
2017 2004-08-15 José Matos <jamatos@lyx.org>
2019 * lyxlex.C (getString): fix comment, buffer::readBody is now
2020 buffer:readDocument.
2022 * tex-strings.C (string_papersize): Default -> default,
2023 Custom -> custom, for consistency with other options.
2025 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
2029 * Makefile.am: support pch
2031 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2033 * text.C (readParToken): remove the static LyXFont variable and
2034 pass it as a parameter instead. This fixes a nasty bug where an
2035 inset will be inserted with a bad font in some situations
2036 (readParagraph): adapt
2038 * text2.C (setCounter): reduce number of calls to pars_[pit]
2040 * text.C (singleWidth): add an assert, fix a test
2042 * rowpainter.C (paintText): reduce number of calls to singleWidth
2044 * paragraph.C (isHfill):
2045 (isNewline): ws only
2047 2004-08-14 André Pönitz <poenitz@gmx.net>
2052 * lyxtext.h (several functions): use a Paragraph & argument
2055 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2057 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2059 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2061 * text.C (singleWidth): remove useless test
2063 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2065 * tabular.h: remove bogus comments
2067 * tabular.C (getDescentOfRow):
2068 (isPartOfMultiColumn): add assertions
2070 * lyxlength.C (inPixels): remove #warning
2072 2004-08-14 André Pönitz <poenitz@gmx.net>
2074 * paragraph.h: inline getChar()
2076 * BufferView.h: remove unused declarations
2078 2004-08-14 José Matos <jamatos@lyx.org>
2080 * Buffer.[Ch] (readDocument): new name for old readBody.
2081 * Buffer.C: new file format, new keywords: \begin_document,
2082 \begin_header, \begin_body, \end_body.
2084 * bufferparams.C (readToken): replace all calls to lex.nextToken
2085 by lex.next(). Do the same to eatLine except where really needed.
2087 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2088 line when writing to the lyx file.
2090 * output_plaintext.C (asciiParagraph): fix Bibliography style
2093 * text.C (read): fix end of file handling.
2095 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2097 * MenuBackend.C (Menu::operator[]): new method to access
2098 individual menu items
2099 (Menu::hasFunc): new method. search for an item that corresponds
2101 (MenuBackend::specialMenu): new method
2102 (MenuBackend::expand): if a special menu has been set, skip
2103 entries whose func() appears in this menu
2105 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2107 * text3.C: use Debug::DEBUG a bit more
2109 * text.C (leftMargin): try to simplify a tiny bit change var x to
2110 l_margin. Dont output the wide margins always.
2111 (rightMargin): no margin in inner texts
2113 * rowpainter.h (nestMargin): new func
2114 (changebarMargin): new func
2115 (rightMargin): new func
2117 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2121 * factory.C (createInset): modify setDrawFrame
2123 * cursor.C: use Debug::DEBUG a bit more
2125 2004-08-14 André Pönitz <poenitz@gmx.net>
2128 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2129 cache for all insets in (at least partially) visible (top-level)
2132 * BufferView_pimpl.C: reset external coord cache before every update.
2133 This means the coord cache only contains valid entries.
2135 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2138 * BufferView_pimpl.C (getInsetByCode): move function out of class
2139 and change in to a template in anon namespace. Also fix to do what
2142 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2145 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2147 (breakParagraph): rename par to par_offset and use a local
2148 reference. Add code to keep the language over a rebreak.
2149 (breakParagraphConservative): rename par to par_offset, use a
2151 (mergeParagraph): ditto
2153 (isFirstInSequence): ditto
2154 (outerFont): rename pit to par_offset
2156 * paragraph.C: ws change
2157 * paragraph.h: ditto
2161 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2163 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2166 * paragraph.C (simpleTeXOnePar): when we have a \item with
2167 optional argument, enclose the argument with curly brackets (in
2168 case it contains a closing square bracket)
2172 * text3.C (checkInsetHit): constify
2174 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2176 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2177 documents (bug 1629)
2179 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 Fix toggling of collapsable insets with the mouse (bug 1558)
2183 * lyxfunc.C (dispatch): adapt to LCursor changes
2185 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2186 make sure that dispatch is not invoked twice
2188 * cursor.C (needsUpdate): new method
2189 (dispatch): return void
2190 (result): new method, to access the DispatchResult of the cursor.
2192 2004-08-13 José Matos <jamatos@lyx.org>
2194 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2196 2004-08-13 André Pönitz <poenitz@gmx.net>
2198 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2200 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2203 2004-08-12 André Pönitz <poenitz@gmx.net>
2205 * text3.C: take out the 'cursor right' form insertInset and only
2206 do it in those places when it is really needed. Fixes crash on
2209 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2211 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2213 * BufferView_pimpl.C (setBuffer): initialize the current font of
2214 the underlying LyXText
2216 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2218 * kbsequence.C (print): use UI native formatting for menu
2221 * text.C (insertChar): call Paragraph::insertChar with a font
2224 * paragraph.C (insertInset, insertChar): the version that takes a
2225 LyXFont argument is now a wrapper around the other one (the
2226 opposite used to be true).
2228 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2229 argument. Font setting is done in Paragraph now.
2231 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2233 * outputparams.h: add new members intitle and lang.
2235 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2236 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2238 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2240 * text3.C (dispatch): remove special handling of button 4 and 5,
2241 it is now taken care of in the frontend code.
2243 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2245 * Spacing.h: add <string> (STLPort compile fix)
2247 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2249 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2251 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2253 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2256 * converter.C (showMessage): inherit from unary_function, make
2259 * buffer.C (writeFile): initialize retval
2261 * InsetList.h: rename private variable list to list_
2262 * InsetList.[Ch]: adjust accordingly.
2264 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2266 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2267 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2268 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2269 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2270 * ParagraphParameters.C, LaTeXFeatures.C: replace
2271 "support/std_sstream.h" with <sstream>
2273 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2275 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2276 * lyxsocket.C (LyXServerSocket): ditto
2277 (serverCallback): ditto
2279 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2281 * LaTeXFeatures.C: check release date when loading jurabib.
2283 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2285 * lyxserver.C (startPipe): call register_socket_callback
2286 (endPipe): call unregister_socket_callback
2288 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2290 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2291 (LyXServerSocket): register the callback
2292 (LyXServerSocket): unregister the callback
2293 (fd): delete function
2294 (serverCallback): improve error checking and setup the callbacks.
2295 (dataCallback): change arg to fd.
2296 (writeln): new func (copied fro the client socket) used for server
2298 (LyXDataSocket): simplify
2299 (~LyXDataSocket): close ann unregiser callback
2300 (server): delete function
2301 (fd): delete function
2302 (readln): small changes, improve some std::string usage
2303 (writeln): constify a bit
2305 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2307 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2310 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2312 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2313 after it has been populated
2315 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2317 * text2.C (insertInset): move cursor when inserting inset.
2319 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2321 * kbmap.C (findbindings): a couple of new methods. returns a
2322 container of kb_sequence objects. The real work is done by the
2323 private recursive version
2324 (printbindings): uses findbindings to print out a bracketed list
2325 of bindings (renamed from findbinding).
2327 * MenuBackend.C (binding): use kb_keymap::findbindings
2329 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2331 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2333 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2335 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2337 * paragraph.C (isWord): return true on insets that report
2340 * text.C (getWord): use Paragraph::isWord to decide what is in a
2341 word and what is not; fix bug 1609.
2343 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2345 * tex-strings.C: add "none" to string_paperpackages[], fixes
2346 off-by-one-error in the paperpackage selection.
2349 * tex-strings.[Ch]: char const * string[n]
2350 -> char const * const string[]
2352 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2354 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2355 command, return early.
2357 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2359 * debug.h: add DEBUG to enum and fix size of ANY.
2361 * debug.C: add support for Debug::DEBUG
2362 (showTags): cast errorTags.level to unsigned int
2364 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2365 (redoCurrentBuffer): ditto
2366 (updateScrollbar): ditto
2367 * cursor.C (dispatch): ditto
2368 * text2.C (setLayout): ditto
2370 (updateCounters): ditto
2372 (deleteEmptyParagraphMechanism): ditto
2374 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2376 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2377 annotations to cleanup the Makefile slightly.
2379 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2381 * lyxrc.C: do not set user_email to a default value but use empty
2382 instead. The entry used to be translated, which does not work
2383 since at the point where lyxrc is constructed there is no
2384 translation service available
2386 * messages.C (getLocaleDir): remove and use directly
2387 lyx_localedir() instead
2389 2004-06-02 Angus Leeming <leeming@lyx.org>
2391 Fix crash caused by dereferencing null pointer 'exportdata' in
2392 OutputParams by creating a new ExportData variable on the heap,
2393 storing it in a boost::shared_ptr.
2394 The crash was triggered when generating an Instant Preview
2395 of an external inset.
2397 * Makefile.am: add outputparams.C
2399 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2400 (c-tor): allocate memory to it.
2402 * exporter.C (c-tor): associated changes.
2404 2004-06-01 Angus Leeming <leeming@lyx.org>
2406 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2407 contains data before calling isInset(0). (Bug 1513.)
2409 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2411 * exporter.C (checkOverwrite): new method
2412 * exporter.C (copyFile): new method
2413 * exporter.C (Export): copy referenced files to the document dir
2414 * exporter.[Ch]: new class ExportedFile
2415 * exporter.[Ch]: new class ExportData. Contains currently the
2416 names of referenced external files
2417 * outputparams.h: add exportdata member.
2419 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2421 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2424 2004-05-19 Angus Leeming <leeming@lyx.org>
2429 * lyxfunc.C: small changes due to the introduction of namespace
2430 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2432 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2434 * text3.C (dispatch): supress update when only moving the cursor
2435 * cursor.C (selHandle): remove commented code
2437 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2439 * paragraph.C (startTeXParParams): correct column count
2440 * CutAndPaste.C (pasteSelection): remove const_cast
2441 * output_docbook.C (docbookParagraphs): remove const_cast
2442 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2443 const_cast and return ParagraphList::const_iterator
2444 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2445 * output_plaintext.C (writeFileAscii): remove const_cast
2446 * paragraph.[Ch] (simpleTeXOnePar): make const
2447 * paragraph_funcs.C (outerPar): use const iterators
2448 * paragraph_pimpl.C (validate): use const iterators
2449 * text.C (setHeightOfRow): use const iterators
2451 2004-05-17 Angus Leeming <leeming@lyx.org>
2454 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2456 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2457 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2458 if the citation engine has changed.
2460 2004-05-14 José Matos <jamatos@lyx.org>
2462 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2463 if the textclass does not provide it. Have it different for sgml and
2465 support the language of document.
2466 * output_docbook.C (docbookParagraphs):
2467 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2468 first anchor as the id of the paragraph, remove special case code.
2469 * sgml.C (escapeChar): escape only < & >.
2471 2004-05-14 Angus Leeming <leeming@lyx.org>
2473 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2474 dependencies on src/frontends/controllers/biblio.h. Define a
2475 CiteEngine_enum wrapper class to enable the enum to be forward
2478 2004-05-12 Angus Leeming <leeming@lyx.org>
2480 * buffer.C: up LYX_FORMAT to 234.
2481 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2482 use_numerical_citations with a single biblio::CiteEngine cite_engine
2484 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2486 2004-05-13 José Matos <jamatos@lyx.org>
2489 * converter.C (Converter, readFlags): add xml member.
2490 * outputparams.h: add XML flavor.
2491 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2493 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2495 * lyxfunc.C (dispatch):
2496 (getStatus): fix handling of LFUN_SEQUENCE
2498 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2500 * debug.C (showLevel): do not forget the end-of-line marker
2502 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2504 * kbmap.C (read): do not stop parsing a bind file when an error
2507 2004-04-29 Angus Leeming <leeming@lyx.org>
2512 * text2.C: wrap a bunch of #warning statements
2513 inside #ifdef WITH_WARNINGS blocks.
2515 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2517 * buffer.C: increment format to 233.
2519 2004-04-28 Angus Leeming <leeming@lyx.org>
2521 * BufferView_pimpl.C:
2524 s/updateToolbar()/updateToolbars()/
2525 s/Toolbar.h/Toolbars.h/
2527 2004-04-28 Angus Leeming <leeming@lyx.org>
2529 * BufferView.[Ch] (c-tor):
2530 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2531 No longer passes these data to the WorkArea generator.
2533 2004-04-28 Angus Leeming <leeming@lyx.org>
2535 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2537 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2539 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2541 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2543 * output_latex.C (TeXEnvironment): make sure that there is a line
2544 break before \end{foo} for the last paragraph of a document
2545 (TeXOnePar): if the paragraph is at the end of the document (or
2546 inset) and the language has to be reset, then make sure that the
2547 line break is _before_ the language command, not after (fixes bug
2548 1225); also make sure that the language reset command is the first
2549 thing after the paragraph (to ensure proper nesting of
2550 environments and thus fix bug 1404)
2552 2004-04-21 John Levon <levon@movementarian.org>
2555 * ToolbarBackend.C: make "name" be a programmatic name
2556 and a gui_name field.
2558 * lyxfunc.C: display the minibuffer on M-x
2560 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2562 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2565 2004-04-19 Angus Leeming <leeming@lyx.org>
2567 * BufferView_pimpl.C (setBuffer): changed preview interface.
2569 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2572 2004-04-19 John Levon <levon@movementarian.org>
2574 * BufferView_pimpl.C:
2575 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2577 2004-04-05 Angus Leeming <leeming@lyx.org>
2579 * text.C (redoParagraphs): add call to updateCounters(), thereby
2580 fixing the missing "Figure #:" label from the caption of a
2583 2004-04-13 Angus Leeming <leeming@lyx.org>
2585 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2586 cursor is clicked out of an inset.
2588 2004-04-13 Angus Leeming <leeming@lyx.org>
2590 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2591 than an InsetOld one.
2593 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2595 * format.[Ch]: add editor to Format
2596 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2597 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2599 2004-04-08 André Pönitz <poenitz@gmx.net>
2601 * metricsinfo.h: remove PainterInfo::width member
2603 2004-04-08 Angus Leeming <leeming@lyx.org>
2605 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2606 "\providecommand" rather than "\newcommand", thereby preventing
2607 clashes with packages that define "\boldsymbol" themselves.
2610 2004-04-08 Angus Leeming <leeming@lyx.org>
2612 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2613 thereby squashing an unnecessary warning.
2615 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2617 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2620 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2622 * BufferView.C (setCursor): call redoParagraph (some insets could
2624 (putSelectionAt): remove the 'double update' trick
2626 * BufferView_pimpl.C (fitCursor): call refreshPar
2627 (workAreaDispatch): remove an uneeded update call
2628 (dispatch): remove some manual update calls
2630 * cursor.[Ch]: remove cached_y_, updatePos
2631 (selHandle): set noUpdate when appropriate
2633 * lyxfunc.C (dispatch): track if we need an update
2635 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2637 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2638 (paintSelection): cheap optimization, do not call cursorX when not
2640 (paintPars): change signature
2643 (paintTextInset): adjust
2647 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2649 * lengthcommon.C: compilation fix: remove explicit array size from
2650 unit_name[] and friends
2652 2004-04-05 Angus Leeming <leeming@lyx.org>
2654 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2656 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2657 present only for the preferences dialog.
2658 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2660 2004-04-05 Angus Leeming <leeming@lyx.org>
2662 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2663 to enable the frontends to export changes to lyxrc correctly.
2665 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2667 2004-04-07 André Pönitz <poenitz@gmx.net>
2669 * cursor.[Ch] (selClear, adjust): remove math
2671 * cursor_slice.C: more agressive assert
2674 * BufferView_pimpl.C: rework mouse event dispatch
2681 2004-04-05 André Pönitz <poenitz@gmx.net>
2683 * cursor.[Ch] (valign, halign...): remove unneeded functions
2685 2004-04-05 Angus Leeming <leeming@lyx.org>
2687 * lyxlength.[Ch] (unit_name et al.): const-correct.
2689 2004-04-05 Angus Leeming <leeming@lyx.org>
2691 * BufferView_pimpl.C:
2700 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2702 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2704 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2706 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2708 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2709 * BufferView_pimpl.[Ch] (getStatus)
2710 * BufferView.[Ch] (getStatus): add
2711 * lyxfunc.C (getStatus): move lfuns handled in
2712 BufferView::dispatch to te function above
2713 * Cursor.C (setSelection): set selection() = true
2715 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2717 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2719 2004-03-31 Angus Leeming <leeming@lyx.org>
2721 * lyxfunc.C (dispatch): Fall through to the generic
2722 Dialogs::show("preamble").
2724 2004-03-31 Angus Leeming <leeming@lyx.org>
2726 * lyxfunc.C (dispatch): Fall through to the generic
2727 Dialogs::show("spellchecker").
2729 2004-03-31 Angus Leeming <leeming@lyx.org>
2731 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2734 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2739 * insetiterator.[Ch]:
2744 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2746 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2748 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2749 insets where we are putting the cursor.
2751 2004-03-31 Angus Leeming <leeming@lyx.org>
2754 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2756 * lyxrc.[Ch] (read, write): overloaded member functions taking
2757 a std::[io]stream arguments.
2759 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2761 2004-03-31 Angus Leeming <leeming@lyx.org>
2763 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2764 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2766 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2767 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2769 2004-03-31 Angus Leeming <leeming@lyx.org>
2771 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2772 the LFUN_ALL_INSETS_TOGGLE code.
2774 2004-03-30 Angus Leeming <leeming@lyx.org>
2776 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2777 has died. Fall through to the generic Dialogs::show("document").
2779 2004-03-30 Angus Leeming <leeming@lyx.org>
2782 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2783 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2785 * lyxfunc.C (getStatus, dispatch): define the actions for these
2786 lfuns. Little more than a cut and pste job from ControlDocument.C
2788 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2790 2004-03-30 Angus Leeming <leeming@lyx.org>
2793 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2794 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2796 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2797 open/closed state of ollapsable insets. Usage:
2799 all-inset-toggle <state> <name>, where
2800 <state> == "open" || "closed" || "toggle" and
2801 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2803 * lyxtext.h, text2.C (toggleInset): removed.
2805 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2806 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2807 now passes LFUN_INSET_TOGGLE to the found inset.
2809 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2810 is now invoked as "all-insets-toggle toggle branch".
2812 2004-03-30 Angus Leeming <leeming@lyx.org>
2816 * pariterator.[Ch]: added/corrected header blurb.
2818 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2820 * dociterator.[Ch]: add an inset_ member
2821 (backwardPos): implemented
2822 (backwardPos, forwardPos): use inset_ when the stack is empty.
2823 (doc_iterator_begin, doc_iterator_end): implemented
2824 * pariterator.[Ch]: adjust, add begin, end
2825 * insetiterator.[Ch]: adjust, add begin, end
2829 * BufferView_pimpl.C:
2830 * CutAndPaste.C: adjust
2832 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2834 * buffer.C: increment file format to 232.
2835 * LaTeXFeatures.C: add bibtopic package.
2836 * bufferparams.[Ch]: param \use_bibtopic.
2838 * lyxrc.[Ch]: add lyxrc bibtex_command
2839 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2841 * buffer.C: increment file format to 231.
2843 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2845 * dociterator.C: implement forwardPar
2846 * iterators.[Ch]: remove, replaced by
2847 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2849 * BufferView_pimpl.C:
2852 * bufferview_funcs.C:
2858 * Makefile.am: adjust
2860 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2862 * CutAndPaste.C (pasteSelection): fix 2 crashes
2863 (eraseSelection): fix a crash
2864 * paragraph_funcs.C: remove a warning
2866 2004-03-28 Angus Leeming <leeming@lyx.org>
2869 * LyXAction.C (init): new LFUN_PRINT.
2871 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2873 2004-03-27 Angus Leeming <leeming@lyx.org>
2876 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2878 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2880 2004-03-27 Angus Leeming <leeming@lyx.org>
2882 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2883 insetlist always contains non-null pointers to insets.
2885 2004-03-26 Angus Leeming <leeming@lyx.org>
2887 * src/BufferView_pimpl.C:
2888 * src/CutAndPaste.C:
2891 * src/output_plaintext.C:
2892 * src/outputparams.h:
2893 * src/paragraph_funcs.C:
2897 * src/frontends/controllers/ControlErrorList.C:
2898 * src/frontends/gtk/FileDialogPrivate.C:
2899 * src/frontends/gtk/GPainter.C:
2900 * src/frontends/gtk/GToolbar.C:
2901 * src/frontends/qt2/QRef.C:
2902 * src/mathed/math_scriptinset.C: squash compiler warnings.
2904 2004-03-26 Angus Leeming <leeming@lyx.org>
2906 * ispell.C (LaunchIspell::start):
2907 * lyx_cb.C (AutoSaveBuffer::start):
2908 invoke run(DontWait) rather than runNonBlocking().
2910 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2912 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2914 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2916 * kbsequence.C (print): adjust
2918 * kbmap.C (printKeySym): rename and change signature
2919 (printKey): use LyXKeySym::print()
2921 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2923 * undo.C: add using std::advance to compile for stlport
2925 2004-03-24 Angus Leeming <leeming@lyx.org>
2927 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2928 it leads to a crash when no buffer is present.
2930 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2931 Martin Vermeer <martin.vermeer@hut.fi>
2933 * lyxfunc.C (dispatch):
2934 * bufferparams.C (readToken): use the new LColor::setColor
2936 * LColor.[Ch] (setColor): new version that takes two strings as
2937 argument and creates a new color entry if necessary
2939 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2941 * buffer.C (makeLaTeXFile): if the main latex file that is
2942 processed is usually a subdocument of some master, then pretend
2943 for a while that it is actually the master
2945 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2947 * buffer.C (getLabelList):
2948 (getBibkeyList): use getMasterBuffer()
2949 (getMasterBuffer): new method. Returns the main document in the
2950 case where one is using included documents.
2952 2004-03-25 André Pönitz <poenitz@gmx.net>
2956 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2958 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2960 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2961 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2963 * ParameterStruct.h: merge with ParagraphParameters
2965 * lyxtext.h: remove LyXText::parOffset() and getPar()
2967 * text3.C: Remove all 'manual' update calls. We do now one per user
2968 interaction which is completely sufficient.
2972 * BufferView_pimpl.C:
2973 * FontIterator.[Ch]:
2975 * ParagraphParameters.[Ch]:
2980 * cursor_slice.[Ch]:
2987 * output_docbook.[Ch]:
2988 * output_latex.[Ch]:
2989 * output_linuxdoc.[Ch]:
2990 * output_plaintext.[Ch]:
2992 * paragraph_funcs.[Ch]:
2993 * paragraph_pimpl.[Ch]:
3001 * frontends/controllers/ControlDocument.C:
3002 * frontends/controllers/ControlErrorList.C:
3003 * frontends/controllers/ControlSpellchecker.C:
3006 * insets/insetbase.h:
3007 * insets/insetbibitem.C:
3008 * insets/insetbox.C:
3009 * insets/insetbranch.C:
3010 * insets/insetcaption.C:
3011 * insets/insetcharstyle.C:
3012 * insets/insetcharstyle.h:
3013 * insets/insetcollapsable.C:
3014 * insets/insetcollapsable.h:
3015 * insets/insetert.C:
3016 * insets/insetfloat.C:
3017 * insets/insetfoot.C:
3018 * insets/insetmarginal.C:
3019 * insets/insetnote.C:
3020 * insets/insetoptarg.C:
3021 * insets/insettabular.C:
3022 * insets/insettext.C:
3023 * insets/insettext.h:
3024 * insets/insetwrap.C:
3025 * mathed/math_mboxinset.C:
3026 * mathed/math_nestinset.C:
3027 * mathed/math_scriptinset.C:
3028 * mathed/math_scriptinset.h:
3031 2004-03-24 Angus Leeming <leeming@lyx.org>
3033 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3034 deal with any child processes that have finished but are waiting to
3035 communicate this fact to the rest of LyX.
3037 2004-03-24 Angus Leeming <leeming@lyx.org>
3039 64-bit compile fixes.
3041 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3042 (c-tor): pass lyx::pos_types rather than ints.
3044 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3047 * text.C (Delete): compile fix.
3048 (getPar): ensure that function declaration is the same as that in
3051 2004-03-23 Angus Leeming <leeming@lyx.org>
3053 * ispell.C (LaunchIspell):
3054 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3055 a boost::shred_ptr rather than a std::auto_ptr.
3057 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3059 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3060 handle LFUN_FILE_INSERT_*
3062 * lyxrc.C (setDefaults, getDescription, output, read):
3063 * lyxrc.h: remove ps_command
3065 2004-03-22 Angus Leeming <leeming@lyx.org>
3067 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3068 Ensure that error_handler is processed once only and that all data
3069 is saved before attempting to output any warning messages.
3071 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3073 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3075 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3077 2004-03-19 André Pönitz <poenitz@gmx.net>
3079 * cursor.[Ch] (reset): take main text inset as argument
3081 * BufferView: adjust
3082 * BufferView_pimpl.C: adjust
3084 * paragraph.[Ch]: fix completely broken operator=()
3086 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3088 * LColor.C (getFromLyXName): make sure that the color name is used
3091 2004-03-17 Angus Leeming <leeming@lyx.org>
3094 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3096 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3097 dialog and to kill a forked process.
3099 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3101 * text2.C (setCursorFromCoordinates): fix font problem
3103 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3105 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3106 bogus "rebuild cursor" code
3108 2004-03-11 André Pönitz <poenitz@gmx.net>
3110 * buffer.[Ch]: use InsetText instead of LyXText as container for
3113 * dociterator.[Ch]: drop the BufferView * member which is not needed
3114 anymore after the change to buffer.C
3116 * paragraph_funcs.C:
3120 * BufferView_pimpl.[Ch]:
3122 * cursor_slice.[Ch]: adjust
3124 * text3.C: fix bug in mathDispatch
3126 2004-03-08 André Pönitz <poenitz@gmx.net>
3128 * undo.[Ch]: use 'StableDocumentIterator' as base for
3131 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3134 * bufferparams.[Ch]: add jurabib support and param.
3136 * LaTeX.C: add FIXME/comment.
3138 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3140 * buffer.C: increment file format to 230.
3142 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3144 * cursor.C (dispatch): avoid infinite loops
3146 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3148 * rowpainter.C (paintSelection): fix x coordinates
3150 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3152 * text.C (rowBreakPoint): fix breaking before displayed insets
3154 2004-03-01 André Pönitz <poenitz@gmx.net>
3156 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3158 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3162 * BufferView_pimpl.C:
3170 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3176 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3177 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3179 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3181 * Bidi.[Ch] (computeTables): const correctness
3182 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3183 fill_hfill, fill_label_hfill and x from Row
3184 * lyxtext.h: prepareToPrint returns a RowMetrics
3185 * rowPainter.C: adjust
3186 * text.C (prepareToPrint): use width, not textWidth. adjust
3187 (redoParagraphInternal, cursorX): adjust
3188 * text2.C (getColumnNearX): adjust
3189 (init): put a default value to the top LyXText::width
3191 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3193 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3195 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3197 * lyxtext.h: add FontIterator class
3199 * text.C (FontIterator, operator*, operator->, operator++): add
3200 (rowBreakPoint, setRowWidth): adjust (fixing a
3203 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3205 * BufferView_pimpl.C (workAreaDispatch): allow also
3206 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3208 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3210 * text.C (rowBreakPoint): fix a bug showing with very large insets
3212 2004-02-25 André Pönitz <poenitz@gmx.net>
3215 * cursor.[Ch]: move some mathed specific code to mathed
3217 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3219 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3220 use_tempdir in preferences
3221 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3223 * lyx_main.C: ensure that tempdir is valid
3224 * lyxlex.h: correct typo
3225 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3226 * paragraph.[Ch] (isMultiLingual): make const
3227 * cursor.[Ch] (openable): make const
3229 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3231 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3233 2004-02-20 André Pönitz <poenitz@gmx.net>
3235 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3237 * cursor.[Ch]: prepare for localized getStatus()
3243 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3245 2004-02-20 André Pönitz <poenitz@gmx.net>
3247 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3249 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3251 * text2.C (setCursorFromCoordinates): switch to absolute coords
3253 (cursorDown): adjust
3254 * text3.C (dispatch): adjust
3256 2004-02-16 André Pönitz <poenitz@gmx.net>
3258 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3261 * cursor_slice.[Ch]: remove unneeded acessor function
3263 * lyxtext.h: rename rtl() to isRTL()
3271 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3273 * rowpainter.C (paintSelection): coord fix
3275 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3277 * Spacing.C: compile fix
3279 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3281 * cursor.C (dispatch): restore current_ before returning
3283 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3285 * text2.C (cursorUp, cursorDown): fix coords
3288 2004-02-12 André Pönitz <poenitz@gmx.net>
3293 * text3.C: add LCursor & parameter to most cursor movement functions
3294 remove usage of LyXText::cursorRow() and cursorPar()
3296 * cursor.[Ch]: add textRow() needed members
3299 * BufferView_pimpl.C:
3302 * BufferView_pimpl.C: adjust
3304 2004-02-11 André Pönitz <poenitz@gmx.net>
3308 * BufferView_pimpl.C: shift undo/redo handling
3310 * cursor.[Ch]: fix mathed crash
3313 * lyxtext.h: move selectionAsText to LCursor
3321 * rowpainter.C: fix excessive drawing
3323 2004-02-06 André Pönitz <poenitz@gmx.net>
3326 * BufferView_pimpl.[Ch]:
3327 * text3.C: move some text specific LFUN handling
3329 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3331 * text3.C (checkInsetHit): adjust coords
3332 * text2.C (getColumnNearX): adjust coords
3333 (edit): adjust coords
3334 * text.C (getRowNearY): add two asserts
3336 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3339 * format.C: add using std::distance to compile on gcc 2.95/stlport
3341 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3343 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3345 2004-02-04 André Pönitz <poenitz@gmx.net>
3347 * BufferView.[Ch] (insertInset):
3348 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3353 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3355 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3356 on the default clause of the switch
3357 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3358 wasn't catched by LCursor::dispatch
3360 2004-02-03 André Pönitz <poenitz@gmx.net>
3363 * cursor.[Ch]: some additional asserts
3365 * undo.[Ch]: remove LyXText dependency in interface
3369 * lyxtext.h (firstPar, lastPar): remove dead functions
3374 * paragraph.[Ch]: adjust
3376 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3378 * lyxfind.C (find): fix argument order in call to ::find
3380 2004-02-02 André Pönitz <poenitz@gmx.net>
3382 * cursor.[Ch]: remove direct access to anchor
3384 * text.C: remove findText() hack
3386 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3388 * iterators.[Ch] (lockPath): remove in favour of...
3389 * BufferView.[Ch] (setCursor): this addition
3390 * BufferView.C (putSelectionAt): adjust
3391 * undo.C (performUndoOrRedo): adjust
3392 * lyxfunc.C (dispatch): adjust
3394 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3396 * iterators.C (lockPath): add a missing slice
3397 * undo.C (performUndoOrRedo): remove redundant positioning code
3399 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3401 * vc-backend.C (scanMaster): ";" -> ';'
3403 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3405 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3406 std::binary_function
3408 * lyxtextclass.C (compare_name): rename to...
3409 (LayoutNamesEqual): ...this
3411 * lyxlex_pimpl.C (compare_tags): inherit from
3412 std::binary_function, put back into anon namespace
3414 * lyxfind.C (MatchString): inherig from std::binary_function
3415 (findChange): use empty() istead of !size()
3417 * format.C (FormatNamesEqual): new functor
3424 * converter.C (compare_Converter): rename to...
3425 (ConverterEqual): ...this, and fixup a bit.
3426 (getConverter): use it, and make function const
3427 (getNumber): use it, and make function const
3431 * bufferlist.C: add using boost::bind
3433 * MenuBackend.C (MenuNamesEqual): new functor
3434 (hasMenu): use it, and make function const
3435 (hasSubmenu): use nested bind to get rid of compare_memfun.
3437 2004-01-30 André Pönitz <poenitz@gmx.net>
3439 * BufferView_pimpl.C:
3442 * cursor_slice.[Ch]:
3445 * paragraph_funcs.C:
3446 * paragraph_funcs.h:
3450 * text3.C: move some of the edit(x,y) handling to the insets
3451 some coordinate changes.
3453 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3455 * text.C: add using statements for std::advance and std::distance
3457 * paragraph.C: add using statement for std::distance
3459 * lyxfind.C: add using statement for std::advance
3461 * cursor.C (region): remove std:: from swap
3462 (openable): use nucleus in stead of operator->
3464 * BufferView.C: add using statements for std::distance and std::swap
3466 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3468 * iterators.C: Remove the pimple, move the needed structures to
3469 the header file. Create accessor for the positions stack.
3470 (asPosIterator): remove function
3472 * PosIterator.C (PosIterator): move constructors to top of file
3473 (PosIterator): reimplement the constructor taking a ParIterator in
3475 (setFrom): new function
3476 (operator!=): inline it
3478 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3480 * lyxfind.C (replaceAll): use std::advance
3482 * iterators.h: inherit from std::iterator.
3484 * PosIterator.C (advance, distance): remove
3485 * PosIterator.h: interit from std::iterator.
3487 2004-01-26 André Pönitz <poenitz@gmx.net>
3490 * BufferView_pimpl.[Ch]:
3494 * bufferview_funcs.C:
3504 * output_linuxdoc.C:
3505 * output_plaintext.C:
3507 * paragraph_funcs.[Ch]:
3508 * paragraph_pimpl.[Ch]:
3514 * text3.C: more IU: dumps most of the rest of the mathcursor
3515 implementation into cursor.[Ch]; "globalize" a bit of it.
3517 2004-01-25 Angus Leeming <leeming@lyx.org>
3519 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3521 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3523 * LaTeXFeatures.h: add nice_ and nice() const
3524 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3526 2004-01-20 André Pönitz <poenitz@gmx.net>
3529 * BufferView_pimpl.C:
3531 * bufferview_funcs.C:
3533 * cursor_slice.[Ch]:
3544 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3545 LCursor and mathcursor parts to LCursor and InsetBase.
3547 2004-01-15 André Pönitz <poenitz@gmx.net>
3549 * cursor_slice.[Ch]: add a few covienience functions
3551 * funcrequest.[Ch]: remove BufferView * member
3553 * BufferView_pimpl.C:
3560 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3562 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3564 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3565 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3567 2004-01-13 André Pönitz <poenitz@gmx.net>
3570 * lyxtext.h: hide cursor and selection anchor behind accessor function
3573 * BufferView_pimpl.[Ch]:
3575 * bufferview_funcs.C:
3585 * cursor_slice.[Ch]: some integer type changes for inset unification
3587 * lyxcursor.[hC]: remove, it's CursorSlice now.
3590 * BufferView_pimpl.[Ch]:
3591 * bufferview_funcs.C:
3597 * textcursor.[Ch]: adjust
3599 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3601 * text2.C (undoSpan): add and use
3602 * text.C (breakParagraph): use undoSpan (fix bug 578)
3605 2004-01-08 Angus Leeming <leeming@lyx.org>
3607 * BufferView_pimpl.C (MenuInsertLyXFile):
3608 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3609 * lyxfunc.C (menuNew, open, doImport):
3610 FileFilterList change to the FileDialog open and save functions.
3612 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3614 * ShareContainer.h: make isEqual and isUnique adaptable
3616 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3618 2004-01-07 Angus Leeming <leeming@lyx.org>
3621 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3623 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3625 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3626 functions replacing find, replace and replaceAll.
3628 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3629 LFUN_WORDFIND(FORWARD|BACKWARD).
3631 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3633 * text.C (breakParagraph): remove an outdated #warning
3635 2004-01-07 André Pönitz <poenitz@gmx.net>
3637 * lyxfind.C: somewhat clearer logic
3639 * text.C: prevent crash in cursorX on unitialized row cache
3641 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3643 * lyxcursor.[Ch] (operator>): add
3644 * textcursor.C (selStart, selEnd): use std::min and std::max
3646 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3648 * Chktex.C: include boost/format.hpp
3650 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3652 * InsetList.C: replace functor MathcIt with adaptable functor
3654 (insetIterator): modify accordingly
3656 * BranchList.h: move the BranchNamesEqual functor here from...
3657 * BranchList.C: ... to here
3659 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3661 (add): replace a finding loop with std::find_if.
3663 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3665 * output_docbook.C: moving LatexParam functionality into
3668 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3670 * buffer.C: increment format to 229.
3672 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3675 * lyx_sty.[Ch]: remove minipageindent_def
3681 * text3.C: remove LFUN_INSET_MINIPAGE
3683 2003-12-28 Angus Leeming <leeming@lyx.org>
3685 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3687 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3689 * text2.C (setParagraph): fix off-by-one crash
3691 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3693 * output_docbook.C: header stuff for AGU
3695 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3697 * text2.C (redoCursor): remove
3700 * BufferView_pimpl.C: remove calls to redoCursor and
3701 setCursor(cursor.par(), cursor.pos()) all around
3703 2003-12-15 Angus Leeming <leeming@lyx.org>
3705 * buffer.C: up the format to 228.
3707 2003-12-15 André Pönitz <poenitz@gmx.net>
3709 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3714 * BufferView_pimpl.C:
3723 2003-12-15 Angus Leeming <leeming@lyx.org>
3725 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3726 than getFromGUIName to manipulate the color.
3728 2003-12-14 Angus Leeming <leeming@lyx.org>
3730 * BranchList.[Ch]: minimize the API.
3731 (Branch::getBranch, getColor): now return a 'const &'.
3732 (Branch::setSelected) now returns a bool set to true if the
3733 selection status changes.
3734 (BranchList::clear, size, getColor, setColor, setSelected,
3735 allBranches, allSelected, separator): removed.
3736 (BranchList::find): new functions, returning the Branch with
3738 (BranchList::add, remove): return a bool indicating that
3739 the operation was successful.
3741 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3742 new InsetBranch::isBranchSlected member function.
3744 * LColor.[Ch]: mimimize the API.
3745 (fill): renamed as addColor and made private.
3746 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3747 versions of these functions taking a string arg have been removed.
3749 * bufferparams.C (readToken):
3750 * lyxfunc.C (dispatch):
3751 * lyxrc.C (read): changes due to the altered BranchList and
3754 * factory.C (createInset, readInset): changes due to altered
3757 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3760 * lyxfunc.C: remove insetminipage. "minipage-insert"
3761 now produces a frameless minipage box inset.
3763 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3765 * textcursor.[Ch] (selStart,selEnd): add new methods
3766 remove selection::start, end, use LyXCursor::operator<
3767 * lyxcursor.[Ch] (operator<): add
3768 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3769 * BufferView.[Ch] (unsetXSel): add
3770 * text2.C (clearSelection): use unsetXSel,adjust
3773 * rowpainter.C: adjust
3774 * bufferview_funcs.C (put_selection_at): adjust
3776 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3778 * BufferView_pimpl.C: small coord. correction
3780 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3782 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3783 dragging over the splash screen.
3785 2003-12-11 Angus Leeming <leeming@lyx.org>
3787 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3788 as it is now handled in LyXText::dispatch.
3790 * text3.C (doInsertInset): remove a level of nesting.
3792 2003-12-11 Angus Leeming <leeming@lyx.org>
3794 * factory.C (createInset): changes due to the changed interface to
3795 InsetCommandMailer::string2params.
3797 2003-12-10 Angus Leeming <leeming@lyx.org>
3799 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3800 'dialog-show-new-inset <inset name>'
3802 2003-12-10 Angus Leeming <leeming@lyx.org>
3804 * buffer.C: up the format to 227.
3806 * factory.C: the box inset is now identified simply by 'Box'.
3808 2003-12-10 Angus Leeming <leeming@lyx.org>
3810 * buffer.C: up the format to 226.
3812 * factory.C: the note inset is now identified simply by 'Note'.
3814 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3816 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3817 when a pit is enough. Standarize a couple of loops.
3819 2003-12-05 Angus Leeming <leeming@lyx.org>
3821 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3822 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3823 data to the re-worked "log" dialog.
3825 2003-12-03 André Pönitz <poenitz@gmx.net>
3831 * paragraph_funcs.C:
3833 * text2.C: use Inset::getText instead of Inset::getParagraph
3835 2003-12-03 André Pönitz <poenitz@gmx.net>
3839 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3840 InsetText::read() as LyXText::read()
3842 2003-12-02 Angus Leeming <leeming@lyx.org>
3844 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3845 type. Add a comment in the implementation that the function uses
3846 the stream's bad() function rather than fail() as the std::streams
3849 2003-12-02 André Pönitz <poenitz@gmx.net>
3851 * lyxlex.[Ch]: make interface more similar to std::stream
3853 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3855 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3857 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3859 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3861 * vspace.[Ch]: remove VSpace::NONE
3863 2003-12-01 André Pönitz <poenitz@gmx.net>
3866 * lyxtext.h: move ParagraphList member to LyXText
3867 rename LyXText::ownerParagraphs to LyXText::paragraph
3870 * bufferview_funcs.C:
3880 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3882 * undo.C: fix cursor positioning
3884 2003-12-01 John Levon <levon@movementarian.org>
3886 * BufferView_pimpl.C: fix a crash on exit with
3889 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3891 * BranchList.C: fix setSelected() method.
3893 2003-11-28 André Pönitz <poenitz@gmx.net>
3895 * ParagraphParameters.[Ch]:
3896 * ParameterStruct.h: remove space above/below from Paragraph to
3899 * BufferView_pimpl.C:
3905 * paragraph_funcs.C:
3911 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3913 * factory.C: Syntax change for CharStyles
3915 2003-11-28 André Pönitz <poenitz@gmx.net>
3920 * buffer.[Ch]: move LyXText member
3922 2003-11-28 André Pönitz <poenitz@gmx.net>
3924 * BufferView.[Ch]: make LyXText * text a private member
3926 * BufferView_pimpl.C:
3937 * output_plaintext.C: cleanup
3939 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3942 * lyxtextclass.[Ch]: parametrize SGML document header
3944 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3947 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3950 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3952 * text2.C (setFont): rework using PosIterator (no more recursive)
3953 (setCharFont): no more needed
3954 (setLayout): no more selection cursors fiddling (done by redoCursor)
3955 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3956 destroy remaining ones)
3958 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3960 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3962 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3965 * text3.C: adjust + re-allow multi par depth changes
3966 * textcursor.C: simplify a bit
3968 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3974 * src/output_docbook.C:
3975 * src/output_latex.C:
3980 * src/text2.C: Introducing a number of tags parametrizing various
3981 XML formats that we may want to support
3983 2003-11-25 André Pönitz <poenitz@gmx.net>
3985 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3987 * lyxtext.h (leftMargin/rightMargin): simplify interface
3994 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3996 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3997 master file to any child files. Fixes bug 546.
3999 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4001 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4003 2003-11-24 André Pönitz <poenitz@gmx.net>
4005 * rowpainter.C: simplification
4007 * text2.C (updateCounters): remove call to redoParagraph on
4008 changed labels as this is far too expensive.
4010 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4012 * converter.C (convert): fix a crash: this function gets
4013 called with buffer == 0 from importer code.
4015 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
4017 * text3.C (cursorPrevious): make sure that we do not compare
4018 iterators form different containers.
4021 * rowpainter.C (paintSelection): make sure that we do not compare
4022 iterators from different containers.
4024 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4025 iterators from different ParagraphList containers.
4028 * text2.C (LyXText): change order of initialization slightly
4029 (operator=): new function. copy all variables except cache_par_
4030 (moveUp): make sure that we do not compare iterators from
4031 different ParagraphList constainers.
4034 * text.C (firstPar): new function
4035 (lastPar): new function
4036 (endPar): new function
4038 * lyxtext.h: move things around and group public functions, public
4039 variables, private functions, private variables
4041 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4043 * factory.C: change call to InsetERT constructor to avoid
4044 additional invocation of method status
4045 * text2.C (toggleInset): remove redundant update() call
4046 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4047 instead of a Bufferview pointer
4049 2003-11-21 André Pönitz <poenitz@gmx.net>
4051 * rowpainter.C: simplification
4053 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4055 * text3.C (dispatch): make possible to extend a word/row selection
4058 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4060 * lyxtext.h: x0_,y0_ -> xo_,yo_
4061 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4062 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4063 * rowpainter.C (paintRows): paint full paragraphs
4065 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4067 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4070 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4072 * lyxtext.h: add x0_, y0_
4073 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4074 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4076 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4078 * text2.C (setCursorIntern): move the x_target update here *
4079 * text3.C: change some bv() to true/false in calls to
4080 cursorUp/Down/Right/Left
4081 * cursor.C: use helper function.
4083 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4085 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4086 * paragraph_funcs.[Ch]: correct comment
4087 * rowpainter.C: do not paint selections away from bv->cursor()
4088 Fix a long standing selection painting bug.
4089 * text3.C: generalize mouse-selection code to LyXTexts other that
4091 * textcursor.C: do not use y coords if we can use par offsets
4093 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4095 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4096 cursor position after e.g. inset insert)
4098 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4100 * lyxfind.C (replace): adjust to locking removal + some
4103 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4105 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4108 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4111 * output_docbook.C: XML sanitation: new layout
4112 parameters InnerTag and CommandDepth
4114 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4116 * BufferView_pimpl.C:
4118 * text3.C: Fix the insertion and modification of button-style
4121 2003-11-13 André Pönitz <poenitz@gmx.net>
4123 * InsetList.[Ch]: remove deleteLyXText
4125 * paragraph.[Ch]: cache beginOfBody position
4130 * text3.C: remove superfluous update() calls
4134 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4136 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4137 * BufferView.C (fitLockedInsetCursor): remove
4138 * cursor.[Ch] (getDim): add
4139 * text.C (getRowNearY): add faster version
4140 * text3.C: remove some update calls
4142 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4154 * text3.C: The Character Style /XML short element patch.
4156 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4159 * factory.C: Small step to solving 'unable to insert some insets'
4162 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4164 * cursor.[Ch] (updatePos): new function for updating the y
4165 position of the tip inset
4166 * bufferview_funcs.C (put_selection_at):
4167 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4169 2003-11-11 André Pönitz <poenitz@gmx.net>
4171 * text.C: remove big comment on invalid Paragraph pointers as it is
4174 2003-11-11 André Pönitz <poenitz@gmx.net>
4176 * text_funcs.[Ch]: merge with ...
4184 * Makefile.am: remove text_funcs.[Ch]
4186 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4188 * cursor.C (getPos): return absolute cached y coord
4190 * BufferView_pimpl.C (fitCursor): new simplistic code
4191 (workAreaDispatch): add a fitCursor call
4193 2003-11-10 André Pönitz <poenitz@gmx.net>
4196 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4198 2003-11-10 André Pönitz <poenitz@gmx.net>
4200 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4201 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4202 indicate that the cursor needs to leave an inset
4204 * lyxtext.h: remove inset locking
4206 * cursor.[Ch]: re-implement functionality provided by inset locking
4209 * BufferView_pimpl.[Ch]:
4211 * bufferview_funcs.[Ch]:
4223 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4225 * PosIterator.[Ch]: replace the stack with a vector, add inset
4227 * iterators.[C]: adjust
4229 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4231 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4233 * paragraph_funcs.C (readParToken): put the correct id in the
4234 error item, not the id of the top paragraph
4236 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4238 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4239 * bufferview_funcs.C (put_selection_at): use the above
4241 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4243 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4245 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4247 * output_linuxdoc.h:
4248 * output_plaintext.h:
4250 * output_docbook.h: add #include statements
4252 2003-11-05 José Matos <jamatos@lyx.org>
4254 * output_docbook.[Ch]:
4255 * output_latex.[Ch]:
4256 * output_linuxdoc.[Ch]:
4257 * output_plaintext.[Ch]: New files for output formats.
4258 * output.[Ch]: New file for helper functions.
4261 * paragraph_funcs.[Ch]: output functions moved to new files.
4263 * outputparams.h: rename of latexrunparams.h
4271 * paragraph_funcs.[Ch]:
4272 * paragraph_pimpl.[Ch]:
4273 * tabular.[Ch]: rename ascii to plaintext
4274 and LatexRunParams to OutputParams.
4276 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4278 * iterators.[Ch] (text): require bv argument
4279 * undo.C (recordUndo):
4280 * lyxfunc.C (dispatch):
4281 * bufferview_funcs.C (put_selection_at): adjust
4283 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4285 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4287 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4289 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4292 2003-11-04 André Pönitz <poenitz@gmx.net>
4294 * cursor.[Ch]: restructure
4297 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4299 * iterators.[Ch] (asCursor): remove
4301 * lfuns.h: remove LFUN_INSET_EDIT
4307 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4309 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4311 * lyxfind.[Ch]: complete overhaul
4312 * BufferView_pimpl.C:
4314 * paragraph.[Ch] (insert): add
4316 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4320 * text.C: remove dead spellcheck code
4322 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * dispatchresult.h: add a val setter
4326 * cursor.C (dispatch): use a tempvar for data_[i]
4328 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4330 * PosIterator.[Ch]: compile fix
4332 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4334 * text.C (cursorPar): deactivate the cursor cache
4336 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4338 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4340 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4342 * text3.C (dispatch): adjust for new DisptchResult semantics.
4344 * lyxfunc.C (dispatch): handle update when return from
4345 Cursor::dispatch, adjust for new DispatchResult semantics.
4347 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4348 DispatchResult(true) mean to not update. Add class functions for
4349 setting dispatched and update, as well as reading.
4351 * cursor.C (dispatch): don't handle update here
4353 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4356 * trans_mgr.C: adjust
4358 * paragraph_funcs.C (readParToken): exception safety
4360 * lyxvc.h: store the vcs pointer in a scoped_ptr
4363 * lyxsocket.C (serverCallback): exception safety
4365 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4367 * ispell.C (clone): make it return a auto_ptr
4369 * factory.C (createInset): exception safety
4370 (readInset): exception safety
4372 * bufferlist.C (newBuffer): exception safety
4374 * Thesaurus.C (Thesaurus): use initialization for aik_
4376 * MenuBackend.C (expandToc): exception safety.
4378 2003-11-03 André Pönitz <poenitz@gmx.net>
4382 * bufferview_funcs.C: remove getInsetFromId()
4385 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4391 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4393 * PosIterator.C (distance, advance): new
4394 * bufferview_funcs.[Ch] (put_selection_at): new
4395 * iterators.[Ch] (lockPath): new
4397 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4399 * iterators.[Ch] (asPosIterator): added
4400 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4401 * PosIterator.[Ch]: added
4403 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * cursor.C (dispatch):
4408 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4410 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4411 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4412 contructor, add a class function dispatched. Remove operator>=
4414 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * debug.C: only use the default constructor for debugstream
4419 * main.C (main): include debug.h and setup the lyxerr streambuf
4422 2003-10-31 José Matos <jamatos@lyx.org>
4424 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4426 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4427 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4428 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4429 * paragraph_pimpl.C (simpleTeXSpecialC):
4430 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4431 add LatexRunParams argument.
4433 * exporter.C (Export): change call accordingly.
4435 * latexrunparams.h: add new member to take care of the other backends.
4436 2003-10-30 José Matos <jamatos@lyx.org>
4438 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4439 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4440 factorise code for paragraph output.
4442 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4445 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * text3.C (dispatch):
4448 * lyxfunc.C (dispatch):
4449 * cursor.C (dispatch):
4450 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4452 * dispatchresult.h: make the dispatch_result_t ctor explicit
4454 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4457 * buffer.C: small refactoring of docbook stuff
4459 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4461 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4464 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4467 operator dispatch_result_t, and operators for == != and >=
4469 * cursor.C (dispatch): adjust for operator dispatch_result_t
4470 removal. comment out call to update
4472 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4474 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4482 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4485 * dispatchresult.h: new file, DispatchResult broken out of
4488 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4490 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4492 * text.C (rowBreakPoint): put a hack inside #if 0
4494 2003-10-28 André Pönitz <poenitz@gmx.net>
4498 * paragraph_funcs.C:
4501 * text2.C: general cleanup (lots of small stuff)
4503 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4505 * text2.C (cursorEnd): simple fix to the "end key goes to one
4506 before the end on last row" bug
4508 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4510 * text.C (backspace): fix the "zombie characters"
4512 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4514 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4516 2003-10-27 André Pönitz <poenitz@gmx.net>
4518 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4520 * factory.C: handle new InsetPagebreak, InsetLine
4522 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4523 and move handling into new InsetPagebreak, InsetLine
4525 * BufferView_pimpl.C:
4527 * ParagraphParameters.C:
4528 * ParameterStruct.h:
4533 * paragraph_funcs.C:
4534 * paragraph_pimpl.C:
4540 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4543 * lyxrow_funcs.[Ch]:
4549 * text3.C: remove lastPos uses in favour of Row::endpos
4551 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4553 * undo.C (performUndoOrRedo): fix two crashes by setting a
4554 cursor by hand and reordering some calls. Use bv->lockInset instead
4555 of inset->edit because the latter loses cursor information
4557 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4559 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4561 (rowBreakPoint): fix width. change point to point + 1.
4562 Add a missing check.
4564 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4567 * lyxfunc.C: fix (at least partly) the problems
4568 with the Nav menu and headers inside branch insets
4571 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4573 * paragraph.C (getChar): add strong asserts
4575 * lyxrow_funcs.C (lastPos): remove hideous hack
4577 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4578 (fill): adjust to that (avoid an infinite loop)
4580 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4582 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4584 2003-10-23 André Pönitz <poenitz@gmx.net>
4586 * RowList_fwd.h: change list<> to vector<> to gain speed
4587 after suggestion from Alfredo
4589 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4591 * lyxtext.h: move the bidi stuff from here...
4594 * Bidi.[Ch]: ... to here
4596 2003-10-23 André Pönitz <poenitz@gmx.net>
4599 * text.C (isLastRow, isFirstRow): new functions
4601 * paragraph.h: new width cache member
4603 * rowpainter.C: replace RowList::iterator with Row & where possible
4605 * lyxfunc.C: replace several view()->text with a single call
4607 * toc.C: fix 'unused' warning
4609 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4611 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4612 when woring with stream::pos_type
4613 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4615 2003-10-22 André Pönitz <poenitz@gmx.net>
4618 * text.C: use Row & instead of RowList::iterator
4620 * lyxrow.h: rename end() to endpos()
4626 2003-10-22 Angus Leeming <leeming@lyx.org>
4628 * buffer.[Ch] (fully_loaded): new member function, returning true
4629 only when the file has been loaded fully.
4630 Used to prevent the premature generation of previews and by the
4631 citation inset to prevent computation of the natbib-style label.
4633 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4634 templates are all set up.
4636 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4638 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4640 * text.C: fixed an "oops" in the "is a bit silly"
4643 2003-10-21 André Pönitz <poenitz@gmx.net>
4645 * FuncStatus.[Ch]: small stuff, whitespace
4647 * lyxfont.[Ch]: operator<<() for debug reasons
4651 * lyxtext.h: whitespace, spelling
4653 * paragraph.C: naming of variables
4656 * text2.C: small stuff
4659 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4661 * text.C: (1) finish off the inset display() work;
4662 (2) fix the "is a bit silly" bug (accessing char
4665 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4667 * text.C: re-introduce display() for insets, fixing the
4668 various bugs (stretch of line above, math inset
4671 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4673 * text.C (rightMargin): remove spurious semicolon
4675 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4678 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4680 * text3.C: fix one crash due to wrong cursor def
4682 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * vc-backend.C (scanMaster): make the regex static
4686 * LaTeX.C (scanAuxFile): make the regexs static
4688 * text3.C (doInsertInset, dispatch, dispatch):
4689 * text2.C (cursorUp, cursorDown):
4690 * text.C (selectNextWordToSpellcheck):
4691 * BufferView_pimpl.C (dispatch):
4692 * lyxfunc.C (dispatch): localDispatch -> dispatch
4694 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4696 * lyxsocket.C: include <cerrno>
4698 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * lyxfunc.C (dispatch): remove textcache stuff
4702 * bufferlist.C (release): remove textcache stuff
4705 * TextCache.C: delete file
4706 * TextCache.h: delete file
4708 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4710 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4711 delete of the bv_->text.
4712 (resizeCurrentBuffer): remove texcache stuff
4713 (workAreaResize): ditto
4715 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4717 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4720 2003-10-16 André Pönitz <poenitz@gmx.net>
4727 * text3.C: speed up by storing y positions per paragraph plus per-row
4728 offset instead of having a 'full' y position in the row.
4730 2003-10-15 André Pönitz <poenitz@gmx.net>
4734 * undo.[Ch]: make undo aware of inner insets
4736 2003-10-14 Angus Leeming <leeming@lyx.org>
4738 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4739 static member functions LyX::ref() and LyX::cref.
4740 (lastfiles): new accessor functions for the new lastfiles_ member var.
4741 (addLyXView, views_): add a new LyXView to the list of views_.
4742 (updateInset): loop over all LyXViews to call their own updateInset
4743 member function, returning a pointer to the Buffer owning the inset.
4745 * BufferView_pimpl.C (loadLyXFile):
4746 * MenuBackend.C (expandLastfiles):
4747 * bufferlist.C (MenuWrite, QuitLyX):
4748 lastfiles is no longer a global variable.
4749 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4751 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4752 static function. Access through LyX::cref().emergencyCleanup().
4754 2003-10-14 André Pönitz <poenitz@gmx.net>
4756 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4758 * undo.[Ch]: restoring part of 'undo in insets'
4761 * undo_funcs.[Ch]: merge with undo.[Ch]
4763 * tabular.C: small cleansing stuff
4765 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4767 * paragraph_funcs.C (readParToken): report unknown insets as error
4768 boxes. Use the outer paragraph as location (also for unknown
4771 * factory.C (readInset): do not abort on reading an unknown inset.
4772 Eat it and return 0.
4774 2003-10-13 Angus Leeming <leeming@lyx.org>
4776 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4778 * lyxrc.C: displayTranslator is now a function,
4779 declared in GraphicsTypes.h.
4781 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4783 * format.C: new placeholder $$a to pass the socket address.
4785 * bufferlist.[Ch]: new function getBufferFromTmp.
4787 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4788 files in the temporary dir.
4790 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4792 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4794 * Makefile.am: add lyxsocket.[Ch].
4796 * lyx_main.C (error_handler): handle SIGPIPE.
4798 2003-10-13 André Pönitz <poenitz@gmx.net>
4800 * BufferView_pimpl.C:
4805 * undo_funcs.[Ch]: use paroffset_type instead of
4806 ParagraphList::iterators to prevent multiple conversion
4807 (and get a more robust interface)
4809 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4811 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4813 * text3.C (dispatch): ditto
4815 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4817 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4818 move the onlyfile, use onlyfile instead of foundfile in a couple
4821 * DepTable.C (update): flush the error stream a bit more
4823 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4825 * lyxserver.C (callback): adjust
4827 * lyxfunc.C (getStatus): add a missing brace in commented code
4828 (ensureBufferClean): reindent
4829 (dispatch): delete version taking a string
4831 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * LaTeX.C (deplog): move found file handlig from here...
4834 (handleFoundFile): .. to new function here.
4835 (deplog): make sure to discover several files mentioned on the
4838 2003-10-10 André Pönitz <poenitz@gmx.net>
4845 * text3.C: fix some of the tabular crashes
4847 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4849 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4851 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4853 2003-10-09 André Pönitz <poenitz@gmx.net>
4855 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4858 * BufferView_pimpl.C:
4859 * bufferview_funcs.C:
4870 * undo_funcs.C: adjust
4872 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4874 * text2.C (incrementItemDepth): new function, use a backtracking
4875 algorithm to discover the correct item depth.
4876 (resetEnumCounterIfNeeded): new function, use a backtracking
4877 algorithm to discover if counter reset is needed.
4878 (setCounter): use them. Simplify a bit. Add different labels for
4879 different item depths for itemize.
4881 * paragraph.C (Paragraph): remove initialization of enumdepth
4884 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4885 enumerate and itemize. Change the type of itemdepth to signed char.
4887 2003-10-08 André Pönitz <poenitz@gmx.net>
4889 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4894 * tabular.[Ch]: fix crash after 'row-insert'
4896 2003-10-08 Angus Leeming <leeming@lyx.org>
4898 Fix doxygen warnings.
4900 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4901 Remove CutAndPaste:: prefix from header file declaration.
4903 * LColor.h (fill): remove LColor:: prefix from declaration.
4905 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4906 use lyx::depth_type rather than Paragraph::depth_type so that
4907 header file and .C file match.
4909 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4911 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4912 * aspell.C: \file aspell_local.C -> \file aspell.C
4913 * gettext.C: \file gettext.C -> \file src/gettext.C
4914 * gettext.h: \file gettext.h -> \file src/gettext.h
4915 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4916 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4917 * text.C: \file text.C -> \file src/text.C
4919 * toc.C: move comment so that doxygen is not confused.
4921 2003-10-07 Angus Leeming <leeming@lyx.org>
4923 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4925 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4928 * aspell_local.h: add forgotten std::string's.
4930 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4937 * text3.C: The Box patch. Fancybox support, minipage, parbox
4939 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4945 * ParagraphParameters.h:
4955 * lyxtextclasslist.h:
4958 * paragraph_pimpl.C:
4959 * textcursor.h: add <string> and other small fixes to make Lars'
4960 std::string patch compile with STLport.
4962 2003-10-06 Angus Leeming <leeming@lyx.org>
4964 * LColor.h: Add missing #include <string>.
4966 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4968 * All most all file in all subdirs: Make <string> be the prefered
4969 way of getting to std::string, add using declarations.
4971 2003-10-06 André Pönitz <poenitz@gmx.net>
4973 * metricsinfo.C: initialize LyXFont before changing attribute.
4974 (fixes the 'math in \emph is upright' bug)
4976 2003-10-06 André Pönitz <poenitz@gmx.net>
4978 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4980 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4983 * paragraph_pimpl.C: Small fixes to build using STLport
4985 2003-10-02 André Pönitz <poenitz@gmx.net>
4988 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4990 2003-10-01 André Pönitz <poenitz@gmx.net>
4992 * factory.C: assert early
4994 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * lyx_main.C: remove the global debug object
4998 * debug.h: adjust for new debugstream
5000 * debug.C: adjust for new debugstream and keep the global debug
5003 2003-09-22 Angus Leeming <leeming@lyx.org>
5005 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5006 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5007 an incomplete class LyXFont.
5009 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5011 * factory.C: bug fix in branches
5013 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5015 * lyxfunc.C (processKeySym): adjust
5017 (dispatch): change arg name from ev to func, adjust
5018 (sendDispatchMessage): ditto
5020 * lyx_main.C (defaultKeyBindings): adjust keybindings
5021 (deadKeyBindings): ditto
5023 * kbsequence.C (addkey): return a FuncRequest
5025 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5027 * kbmap.C (bind): take a FuncRequest as arg, adjust
5030 (defkey): change to take a FuncRequest as arg, adjust
5031 (findbinding): take a FuncRequest as arg, adjust.
5033 * funcrequest.h (operator=): added
5035 * funcrequest.C (FuncRequest): default kb_action changed from
5036 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5038 * buffer.C (dispatch): simplify
5039 (dispatch): adjust to take a FuncRequest as arg, adjust
5041 * boost.C (assertion_failed): change assertion message slightly
5043 * ToolbarBackend.C (read): simplify
5045 * MenuBackend.C (binding): adjust call to findbinding, add a
5046 message if no binding is found.
5048 (expandToc): correct by adding a empty FuncRequest
5050 * LyXAction.C: include <boost/assert.hpp>
5051 (isPseudoAction): delete function
5052 (LookupFunc): change name to...
5053 (lookupFunc): this. change return type to FuncRequest.
5054 (getActionName): take kb_action as arg, simplify
5055 (funcHasFlag): add an assert, simplify.
5057 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5059 * toc.C (action): return a FuncRequest, simplify
5061 * lyxfunc.C (processKeySym): adjust
5062 (getStatus): delete version that takes an int.
5064 (dispatch): delete version that takes action as int
5066 (sendDispatchMessage): simplify and adjust
5068 * funcrequest.C (getArg): take unsigned int as arg
5070 * ToolbarBackend.C (read): adjust
5071 (add): delete version that takes func as a string.
5072 (getIton): take a FuncRequest as arg
5074 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5077 * MenuBackend.C (MenuItem): add a new construct that only takes a
5078 Kind, simplify the constructor use for submenus.
5080 (expandLastfiles): adjust
5081 (expandDocuments): adjust
5082 (expandFormats): adjust
5083 (expandFloatListInsert): adjust
5084 (expandFloatInsert): adjust
5085 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5087 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5088 Remove class variables lyx_pseudo_map and lyx_arg_map
5090 * LyXAction.C (searchActionArg): delete function
5091 (getPseudoAction): delete function
5092 (retrieveActionArg): delete function
5093 (LookupFunc): make it return kb_action, simplify.
5094 (getActionName): simplify
5096 * factory.C (createInset): fix new bug
5098 2003-09-19 Angus Leeming <leeming@lyx.org>
5100 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5101 masterFilename_ parameter in the include inset.
5103 * factory.C (createInset): changes due to the changes to InsetInclude.
5105 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5107 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5109 2003-09-18 Angus Leeming <leeming@lyx.org>
5112 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5113 Inset::fillWithBibKeys.
5114 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5116 2003-09-18 Angus Leeming <leeming@lyx.org>
5118 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5120 (ctor): pass and store a 'Buffer const &'
5121 (buffer): new member function.
5123 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5124 '*this' to the LaTeXFeatures ctor.
5126 2003-09-18 Angus Leeming <leeming@lyx.org>
5132 * text.C: rename EnumLColor as LColor_color.
5134 2003-09-18 Angus Leeming <leeming@lyx.org>
5136 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5137 remove #include "insets/insetbase.h" from cursor.h.
5139 2003-09-18 Angus Leeming <leeming@lyx.org>
5141 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5142 InsetOld_code to remove #include "inset.h".
5144 * iterators.C: add #include "insets/inset.h"
5146 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5148 * BufferView.C: remove more locking stuff that apparently doesn't
5149 do anything sensible.
5151 2003-09-16 André Pönitz <poenitz@gmx.net>
5154 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5157 2003-09-16 Angus Leeming <leeming@lyx.org>
5159 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5161 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5164 * paragraph.h: remove #include "lyxfont.h". Forward declare
5167 2003-09-16 Angus Leeming <leeming@lyx.org>
5169 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5170 of support/textutils.h.
5171 (isWord): move the contents of support/textutils.h's IsWordChar here.
5177 * text2.C: add #include "paragraph.h".
5180 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5182 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5188 * LaTeX.C: use namespace alias for lyx::support::os
5190 2003-09-16 Angus Leeming <leeming@lyx.org>
5193 * bufferview_funcs.C:
5196 * paragraph_pimpl.C:
5198 * text.C: add #include "LColor.h".
5200 2003-09-16 Angus Leeming <leeming@lyx.org>
5202 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5203 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5205 Store the FontBits::color variable as an int rather than as an
5206 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5209 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5210 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5211 string calls together.
5213 * lyxrc.C: add #include "LColor.h".
5215 2003-09-15 Angus Leeming <leeming@lyx.org>
5217 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5220 2003-09-15 Angus Leeming <leeming@lyx.org>
5222 * LColor.h: add an EnumLColor wrapper for LColor::color.
5224 * lyxfont.[Ch] (color, setColor, realColor):
5225 * lyxtext.h, text.C (backgroundColor):
5226 pass EnumLColor args to/from the functions, rather than LColor::color
5230 * lyxtext.h: forward declare EnumLColor.
5232 * lyx_main.C: add #include "LColor.h".
5234 2003-09-15 Angus Leeming <leeming@lyx.org>
5236 * .cvsignore: add lyx-gtk.
5238 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * ParagraphParameters.C
5247 * bufferview_funcs.C
5257 * vc-backend.C: remove usage of STRCONV
5259 2003-09-15 Angus Leeming <leeming@lyx.org>
5261 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5262 explicitly define the color passed to the painter.
5264 2003-09-15 Angus Leeming <leeming@lyx.org>
5266 * bufferparams.C (BufferParams): reorder member initializers to avoid
5269 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5271 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5272 * text.C (updateRowPositions): remove an unusual nop
5274 2003-09-12 André Pönitz <poenitz@gmx.net>
5276 * BufferView_pimpl.C:
5285 * Counters.[Ch]: finish the 'automatic counters' job
5287 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5289 * aspell.C: include <boost/assert.cpp> (compile fix)
5291 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5293 * boost.C (assertion_failed): use lyx::support::abort instead of
5296 2003-09-10 Angus Leeming <leeming@lyx.org>
5298 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5299 with their _fwd progeny.
5301 2003-09-09 Angus Leeming <leeming@lyx.org>
5303 134 files throughtout the source tree: replace 'using namespace abc;'
5304 directives with the appropriate 'using abc::xyz;' declarations.
5306 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5308 * boost.C (emergencyCleanup): moved here from LAssert.c
5309 (assertion_failed): new function, called by BOOST_ASSERT
5311 * several files: change Assert to BOOST_ASSERT
5313 2003-09-09 Angus Leeming <leeming@lyx.org>
5315 * buffer.[Ch]: Add an Impl class and move Buffer's member
5316 variables into it. As a result move several header files out of
5319 Add header files to lots of .C files all over the tree as a result.
5321 2003-09-09 Angus Leeming <leeming@lyx.org>
5323 * buffer.[Ch]: make Buffer's member variables private. Add
5326 Lots of changes all over the tree as a result.
5328 2003-09-08 Angus Leeming <leeming@lyx.org>
5330 * graph.C: #include <config.h>.
5332 2003-09-08 Angus Leeming <leeming@lyx.org>
5336 * BufferView_pimpl.C:
5365 * toc.C: remove redundant using directives.
5367 2003-09-07 Angus Leeming <leeming@lyx.org>
5369 * LaTeXFeatures.h: remove #include "support/types.h".
5370 * ToolbarBackend.h: remove #include <algorithm>.
5371 * changes.h: remove #include <ctime>.
5372 * debug.h: remove #include <iosfwd>.
5373 * graph.h: remove #include "support/std_string.h".
5374 * lyx_main.h: remove #include <csignal>.
5375 * lyxlex_pimpl.h: remove #include <fstream>.
5376 * sgml.h: remove #include <algorithm>, <utility>.
5377 * toc.h: remove #include "support/std_ostream.h".
5378 Add #include <iosfwd>.
5380 2003-09-07 Angus Leeming <leeming@lyx.org>
5382 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5384 * converter.h: forward declare LatexRunParams.
5385 * encoding.h: remove #include "lyxrc.h".
5386 * lyxtext.h: remove #include "LColor.h".
5387 * lyxtextclass.h: remove #include "support/types.h".
5388 * trans.h: remove #include "tex-accent.h".
5389 * trans_mgr.h: remove #include "tex-accent.h".
5390 * insets/inset.h: remove #include "support/types.h", <vector>.
5391 * insets/insetcollapsable.h: remove #include "LColor.h".
5392 * insets/insetinclude.h: remove #include "dimension.h".
5393 * insets/insetlatexaccent.h: remove #include "dimension.h".
5394 * insets/insetoptarg.h:: remove #include "insettext.h".
5395 * insets/insettext.h: remove #include "dimension.h",
5396 <boost/shared_ptr.hpp>
5398 * insets/renderers.h: add #include "dimension.h".
5399 * insets/updatableinset.h: add #include "support/types.h".
5401 * many .C files: Associated changes.
5403 2003-09-06 Angus Leeming <leeming@lyx.org>
5405 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5406 one, inside testInvariant.
5408 * PrinterParams.C: new file.
5409 * PrinterParams.[Ch]: move the function bodies out of line.
5411 2003-09-06 Angus Leeming <leeming@lyx.org>
5413 * ParagraphParameters.h: forward declare ParameterStruct rather than
5414 including its header file.
5415 (depth): moved out-of-line.
5417 2003-09-06 Angus Leeming <leeming@lyx.org>
5419 * BufferView_pimpl.h:
5422 * lyxfunc.h: forward declare LyXKeySym rather than
5423 #include "frontends/LyXKeySym.h".
5425 * BufferView_pimpl.C:
5428 * lyxfunc.C: associated changes.
5430 2003-09-06 Angus Leeming <leeming@lyx.org>
5432 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5433 As a result, can remove the #include "insets/inset.h" from BufferView.h
5435 2003-09-06 Angus Leeming <leeming@lyx.org>
5437 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5438 As a result, can remove the #include "insets/inset.h" from BufferView.h
5440 2003-09-06 Angus Leeming <leeming@lyx.org>
5446 * bufferview_funcs.C:
5447 * BufferView_pimpl.C:
5452 * ParagraphParameters.C:
5457 * frontends/controllers/ControlDocument.C:
5458 * insets/insetcaption.C: rearrange the #includes into some sort of
5461 * buffer.h: remove #includes ErrorList.h, undo.h
5463 2003-09-06 Angus Leeming <leeming@lyx.org>
5465 * support/types.h: add a 'depth_type' typedef, used to store the
5466 nesting depth of a paragraph.
5469 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5470 defining explicitly.
5473 * paragraph_funcs.h:
5474 * ParagraphParameters.h:
5475 * sgml.h: use lyx::depth_type rather than Paragraph or
5476 ParameterStruct's depth_type.
5479 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5482 * BufferView_pimpl.C:
5484 * ParagraphParameters.C:
5487 * bufferview_funcs.C:
5494 * frontends/LyXView.C:
5495 * frontends/controllers/ControlDocument.C:
5496 * frontends/controllers/ControlErrorList.C:
5497 * insets/insetbibitem.C:
5498 * insets/insetbranch.C:
5499 * insets/insetcaption.C:
5500 * insets/insetcollapsable.C:
5501 * insets/insetenv.C:
5502 * insets/insetert.C:
5503 * insets/insetfloat.C:
5504 * insets/insetfoot.C:
5505 * insets/insetfootlike.C:
5506 * insets/insetnewline.C:
5507 * insets/insetquotes.C:
5508 * insets/insettabular.C:
5509 * insets/insettext.C:
5510 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5512 * frontends/controllers/ControlChanges.C: #include "changes.h".
5514 2003-09-06 Angus Leeming <leeming@lyx.org>
5516 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5517 than #including paragraph.h.
5520 * RowList.h: deleted. Superfluous.
5530 * insets/insettext.h: use ParagraphList_fwd.h rather than
5533 * paragraph.h: don't forward declare ParagraphList.
5536 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5537 rather than ParagraphList.h. paragraph.h is still needed for the
5538 Paragraph::depth_type parameters.
5540 * textcursor.h: enable it to compile stand-alone in light of the
5543 * bufferview_funcs.C:
5555 * frontends/controllers/ControlParagraph.C:
5556 * frontends/controllers/ControlTabular.C:
5557 * insets/insetmarginal.C:
5558 * insets/insetminipage.C:
5559 * insets/insetnote.C:
5560 * insets/insetoptarg.C: add header files needed to compile again.
5562 2003-09-06 Angus Leeming <leeming@lyx.org>
5564 * RowList_fwd.h: new file, forward-declaring Row rather than
5565 #including lyxrow.h.
5570 * insets/insettext.h: use it instead of RowList.h
5572 * bufferview_funcs.C:
5579 * text3.C: #include "RowList.h".
5581 2003-09-05 Angus Leeming <leeming@lyx.org>
5583 * factory.C (createInset):
5584 * vspace.C (c-tor): replace sscanf call with an istringstream.
5585 * ispell.C: re-add missing HP/UX headers.
5586 * lyxserver.C: re-add missing os2 headers.
5588 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5597 * text3.C: re-add missing system headers, needed for 2.95.2.
5599 2003-09-05 Angus Leeming <leeming@lyx.org>
5601 Changes most place everywhere due to the removal of using directives
5602 from support/std_sstream.h.
5604 2003-09-05 Angus Leeming <leeming@lyx.org>
5606 Replace LString.h with support/std_string.h,
5607 Lsstream.h with support/std_sstream.h,
5608 support/LIstream.h with support/std_istream.h,
5609 support/LOstream.h with support/std_ostream.h.
5611 Changes resulting throughout the tree.
5613 2003-09-05 Angus Leeming <leeming@lyx.org>
5615 * sgml.h: ensure that the header file can be compiled stand-alone.
5616 * *.C: strip out redundant #includes. (320 in total.)
5618 2003-09-04 Angus Leeming <leeming@lyx.org>
5620 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5621 here (from getPackages).
5623 * debug.[Ch]: add a new EXTERNAL tag.
5625 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5627 * text2.C (cursorEnd): simplify
5629 (getColumnNearX): adjust
5631 * text.C (computeBidiTables): adjust
5634 * rowpainter.C (paintChars): adjust
5635 (paintSelection): adjust
5636 (paintChangeBar): adjust
5639 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5641 (numberOfSeparators): adjust
5643 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5649 * text3.C: Restricts the mouse click functionality
5650 of insets like bibtex, include, toc and floatlist to the visible
5651 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5652 up the dialogs. Cursor has to be in front of the inset (i.e.
5653 start of row) for this to function.
5655 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5657 * bufferview_funcs.C (currentState): output row information
5659 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5661 * bufferview_funcs.C (currentState): output paragraph position
5663 2003-09-04 Angus Leeming <leeming@lyx.org>
5665 * FloatList.h: move out #include "Floating.h".
5666 * LaTeX.h: move out #include "DepTable.h".
5667 * LyXAction.h: move out #include "funcrequest.h".
5668 * buffer.h: move out #include "author.h", "iterators.h".
5669 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5670 * lyx_main.h: move out #include "errorlist.h".
5671 * lyxfunc.h: move out #include "FuncStatus.h".
5672 * lyxtext: move out #include "lyxcursor.h".
5673 * paragraph_pimpl.h: move out #include "counters.h".
5675 2003-09-03 Angus Leeming <leeming@lyx.org>
5677 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5678 preamble_snippets list, enabling us to add snippets to the preamble
5679 only if the snippet was not there already.
5681 2003-09-04 Angus Leeming <leeming@lyx.org>
5683 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5685 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5687 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5690 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5692 * BranchList.C: point fix, earlier forgotten
5694 2003-09-02 Angus Leeming <leeming@lyx.org>
5696 * box.C (contains): renamed from 'contained' after a fantastic
5699 2003-09-02 John Levon <levon@movementarian.org>
5705 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5707 2003-09-02 John Levon <levon@movementarian.org>
5709 * text2.C: simplification of cursorEnd(), including partial
5712 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * buffer.C (readFile): add a space
5716 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5718 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5720 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * buffer.C (readFile): new function, take a filename and a
5723 ParagraphList::iterator
5725 (readFile): adjust, make it private. don't use setStream, make
5726 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5727 always contain the filename.
5729 * BufferView.C (insertLyXFile): simplify and make it work for
5732 2003-08-30 John Levon <levon@movementarian.org>
5734 * Makefile.am: fix dist (from Kayvan)
5736 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * most files: change to use const Buffer refs
5740 2003-08-27 André Pönitz <poenitz@gmx.net>
5742 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5743 on top of ownerPar().
5745 2003-08-27 John Levon <levon@movementarian.org>
5747 * funcrequest.C: properly initialise POD members
5749 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5751 * lyxtext.h (top_y): move top_y from here
5756 * BufferView_pimpl.[Ch]: to here
5757 * frontends/screen.C:
5758 * insets/insettabular.C:
5759 * insets/insettext.C: adjust
5760 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5762 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5765 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5767 2003-08-26 André Pönitz <poenitz@gmx.net>
5769 * paragraph_func.[Ch] (outerPar): new function
5772 * paragraph_funcs.C:
5773 * paragraph_funcs.h:
5774 * paragraph_pimpl.C:
5775 * text2.C: remove Inset::par_owner
5777 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5782 * text2.C: eliminates the needFullRow/display() stuff
5783 altogether, putting the logic in metrics/draw in the insets.
5785 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5787 * text2.C (redoParagraphInternal, redoParagraphs):
5788 * text.C (redoParagraph): add a call to updateRowPositions at the
5789 end of each 'metrics-like' call. Remove all others.
5790 (getRow): remove the 'y-computing' version.
5791 (getRowNearY): do not compute nor return the real y. Solve the
5792 'y < 0' problem and simplify.
5794 2003-08-22 Angus Leeming <leeming@lyx.org>
5796 * *.[Ch]: clean-up of licence and author blurbs.
5797 Also move config.h out of a few .h files and into a few .C files.
5799 2003-08-22 André Pönitz <poenitz@gmx.net>
5801 * lyxrow.[Ch]: add x_ and *fill_ members
5806 * text2.C: adjust/remove prepareToPrint() calls
5808 2003-08-22 André Pönitz <poenitz@gmx.net>
5810 * lyxrow.[Ch]: add end_ member
5812 * lyxrow_funcs.C: use LyXRow::end_
5814 * lyxtext.h (singleWidth): add LyXFont parameter
5817 * text2.C: adjust LyXText::singleWidth() calls
5819 * text.C (redoParagraph): simplify row breaking logic
5822 2003-08-19 André Pönitz <poenitz@gmx.net>
5824 * funcrequest.C: initialize button_ member
5827 * rowpainter.[Ch]: interface consolidation
5829 2003-08-18 André Pönitz <poenitz@gmx.net>
5832 * BufferView_pimpl.C:
5834 * paragraph_funcs.C:
5836 * text3.C: remove LyXScreen::draw() and fitCursor calls
5838 * BranchList.h: remove spurious semicolons
5840 * MenuBackend.C: fix branchlist related crash
5842 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5850 * bufferparams.[Ch]:
5854 * text3.C: implements the 'branch inset'
5855 idea. This allows the output of various versions of a document
5856 from a single source version, selectively outputing or suppressing
5857 output of parts of the text.
5858 This implementation contains a 'branch list editor' in a separate
5859 tab of the document settings dialog. Branches are user definable
5860 and have a "display colour" to distinguish them on-screen.
5862 ColorHandler was somewhat cleaned up.
5863 (1) make possible a dynamically growing LColor list by allowing
5864 the graphic context cache to grow along (vector);
5865 (2) eliminate an IMHO unnecessary step in colour allocation.
5867 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5869 * BufferView_pimpl.C: compile fix
5871 2003-08-15 André Pönitz <poenitz@gmx.net>
5873 * rowpainter.C: remove extra metrics calls
5875 * lyxtext.h: merge the two constructors into a single one,
5876 pass reference to owner's par list
5878 * BufferView_pimpl.C:
5882 2003-08-15 André Pönitz <poenitz@gmx.net>
5884 * lyxrow_funcs.[Ch]:
5887 * paragraph_funcs.C:
5892 * text_funcs.C: split LyXText::rowlist_ into individual
5893 Paragraph::rows_ chunks
5896 * BufferView_pimpl.[Ch]:
5899 * text3.C: remove toggleSelection()
5901 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5903 * bufferlist.C: beautify two alerts (shorter text of buttons)
5904 * buffer.C: Remove redundant ' ' from message
5906 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5907 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5908 rename VALIGN_CENTER to VALIGN_MIDDLE
5910 2003-08-11 André Pönitz <poenitz@gmx.net>
5912 * lyxtext.h (getPar):
5913 * text.C: new function
5915 2003-08-11 André Pönitz <poenitz@gmx.net>
5918 * tracer.[Ch]: remove unneeded files
5920 * InsetList.[Ch]: remove resizeInsetsLyXText()
5925 * text3.C: merge insertParagraphs() and appendParagraph()
5926 remove breakAgain(), update()
5928 * BufferView_pimpl.[Ch]:
5929 * bufferview_funcs.[Ch]:
5933 * tabular.C: adjust after text & InsetList changes.
5935 2003-08-08 André Pönitz <poenitz@gmx.net>
5937 * text.C (insertChar, backspace): replace rowlist fiddling
5938 with rebreak of full par
5941 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5942 checkParagraph, updateInset): removed
5944 2003-08-07 André Pönitz <poenitz@gmx.net>
5947 * text3.C: merge some LFUN handlers, remove dead code
5949 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5951 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5953 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5955 * text2.C (DEPM): fix part of bug 1255 and 1256
5957 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5959 * BufferView_pimpl.C (workAreaDispatch): change to use
5960 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5961 that are no mouse related.
5963 2003-08-05 André Pönitz <poenitz@gmx.net>
5966 * BufferView_pimpl.[Ch]:
5967 * bufferview_funcs.C:
5969 * text3.C: rip out "deep update"
5971 * textcursor.[Ch] (last_sel_cursor): remove unused member
5973 2003-08-04 André Pönitz <poenitz@gmx.net>
5976 * BufferView_pimpl.[Ch]:
5977 * ParagraphParameters.C:
5978 * bufferview_funcs.C:
5984 * text3.C: replace "complicated" BufferView::update(...) calls with
5987 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5989 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5991 * Makefile.am (lyx_SOURCES): add paper.h
5993 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5995 * Makefile.am: move things around so that both lyx-qt and
5996 lyx-xforms can be built (according to --with-frontend). Then lyx
5997 is a symbolic link to lyx-[firstfrontend]
5999 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6001 * Always use std::endl with lyxerr
6003 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6005 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6007 2003-08-01 André Pönitz <poenitz@gmx.net>
6010 * BufferView_pimpl.[Ch]:
6012 * text3.C: merge BufferView::repaint() and BufferView::update()
6014 2003-08-01 José Matos <jamatos@lyx.org>
6016 * buffer.[Ch]: file_format is no longer a buffer data element.
6018 2003-08-01 André Pönitz <poenitz@gmx.net>
6023 * text2.C: make redoParagraph more independent of current cursor
6025 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6027 * text2.C: remove unneeded members
6029 2003-07-30 André Pönitz <poenitz@gmx.net>
6031 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6033 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6034 create a single function...
6036 * paragraph_funcs.C (moveItem): ... here.
6039 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6041 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6043 * LColor.[Ch]: Add comment and greyedout logical colors.
6045 2003-07-30 André Pönitz <poenitz@gmx.net>
6047 * tabular.C: don't use Assert too heavily. This crashes where it
6050 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6052 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6053 is disabled (bug 1232)
6055 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6057 * factory.C: limited 'arg' scope
6059 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6061 * factory.C: fixed Note submenu issues
6063 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6065 * factory.C: submenu for Note/Comment/Greyedout
6067 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6070 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6072 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6075 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6076 greyedout. Patch provided by Jürgen Spitzmüller.
6078 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6080 * kbmap.C (read): fix error message when reading bind files
6082 2003-07-29 Angus Leeming <leeming@lyx.org>
6084 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6085 certainly does not do what it purports to do. I am doing it, and
6086 us, a favour by killing it.
6088 2003-07-28 José Matos <jamatos@lyx.org>
6090 * buffer.C (readBody, do_writeFile):
6091 * paragraph.C(readParagraph): \end_document replaces \the_end.
6093 2003-07-29 André Pönitz <poenitz@gmx.net>
6096 * BufferView_pimpl.[Ch]:
6100 * textcursor.[Ch]: remove toggleToggle & Co
6102 2003-07-28 José Matos <jamatos@fep.up.pt>
6104 * buffer.C (readParagraph):
6105 * params_func (readParToken, readParagraph):
6106 * paragraph.C (write): \layout -> \begin_layout.
6108 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * lyxlex_pimpl.C (setFile): clean up slightly.
6112 * bufferparams.h: add compressed var
6114 * buffer_funcs.C (readFile): adjust for LyXLex change
6115 (newFile): ditto + simplify
6117 * buffer.C (writeFile): handle writing of compressed files
6119 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6120 Check if the file is compressed and set a bufferparm if so.
6122 * Makefile.am (lyx_LDADD): remove explicit -lz
6124 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6126 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6127 makeDocBookFile): put the real LyX version in the first line of
6131 * version.C.in: remove lyx_docversion
6133 * tabular.C (write_attribute): add a template-based version to
6134 write enums properly
6136 2003-07-28 André Pönitz <poenitz@gmx.net>
6141 * text3.C: use doubles again for x-coordinates. They are needed.
6143 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6145 * messages.C (getLocaleDir): use lyx_localedir()
6147 * lyxlex_pimpl.C (setFile): compress stuff
6149 * buffer.C (writeFile): add some compression stuff
6150 (do_writeFile): new func, dont call expliti close... will this
6153 * Makefile.am (lyx_LDADD): add -lz
6155 2003-07-28 José Matos <jamatos@fep.up.pt>
6157 * buffer.C: increment file format.
6158 * paragraph_funcs (readParagraph, readParToken):
6159 * paragraph.C (readParagraph): add \end_layout.
6161 2003-07-27 Angus Leeming <leeming@lyx.org>
6163 * Makefile.am: remove special casing for configure-time setting of
6164 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6166 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6167 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6169 2003-07-26 André Pönitz <poenitz@gmx.net>
6171 * paragraph_func.[Ch]:
6172 * paragraph.C (realizeFont): inline it whereever it is used
6177 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6180 2003-07-26 André Pönitz <poenitz@gmx.net>
6184 * text2.C: get rid of LyXText::need_break_row
6186 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6188 * toc.[Ch]: put namespace toc inside namespace lyx
6190 * MenuBackend.C (expandToc2): adjust for lyx::toc
6193 * lyxfunc.C (dispatch): adjust for lyx::find
6195 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6196 lyx::find instead. Reorganize a bit.
6197 (LyXReplace): rename to replace
6198 (LyXFind): rename to find
6200 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6203 2003-07-26 André Pönitz <poenitz@gmx.net>
6205 * text.C (setHeightOfRow): restrict scope of temporary variable
6207 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6208 code (never has been used?)
6210 2003-07-27 Asger Alstrup <alstrup@local>
6212 * text.C (fill): Optimise algorithm to exploit that we can reuse
6213 the LyXFont for many characters.
6214 (setHeightOfRow): Same thing.
6215 (rowBreakPoint): Same thing.
6217 2003-07-26 Asger Alstrup <alstrup@local>
6219 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6221 * text.C (singleWidth): Spurious font copying in hot-spot
6222 singleWidth avoided. Reorder tests for arabic for efficiency.
6224 * text.C (fill): handle empty paragraphs better.
6226 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6229 * encoding.h: add includes
6231 * lyxrc.C: remove reading of bind files
6233 * lyx_main.C (init): setup bindings and menus only if we have a
6236 * kbmap.C (read): new method. Do the actual reading of bind
6239 * converter.C (dvipdfm_options):
6242 (output): adapt PAPER_* enums.
6244 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6246 * bufferparams.h: remove paper-related enums from there
6248 * paper.h: New file. A trivial header file to hold paper-related
6249 enums. It should later expand to contain many paper-related
6252 * lyxrc.C: declare extern displayTranslator
6254 2003-07-27 José Matos <jamatos@fep.up.pt>
6256 * tabular.[Ch] (linuxdoc): add support for tables and figures
6259 2003-07-27 José Matos <jamatos@fep.up.pt>
6261 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6262 consistency in both functions.
6263 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6265 2003-07-26 Asger Alstrup <alstrup@local>
6267 * rowpainter.C (paintRows): Change algorithm to work directly on
6268 the insets rather than asking every character in the document
6269 whether its an inset.
6271 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6273 * buffer.C (openFileWrite): factorize some code
6275 2003-07-26 Angus Leeming <leeming@lyx.org>
6278 * lyx_main.[Ch]: replace occurances of system_tempdir with
6281 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6283 * rename Inset to InsetOld
6285 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6287 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6288 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6289 which I think is a bit clearer. EDIT is gone, since it was
6290 premature optimisation, and broken for mathed anyway.
6291 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6292 with cursor positioning in insets as well (math insets still do not
6293 work, but that's a different story anyway.) It mysteriously
6294 crashes sometimes with undo in the first paragraph, but I'm fairly
6295 confident that this is a compiler bug.
6297 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * paragraph.C (Paragraph): adjust for new clone return type
6301 (copyIntoMinibuffer): ditto
6303 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6305 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6306 by not having a special case, and always doing a full rebreak of
6307 the document after undo.
6309 2003-07-23 Angus Leeming <leeming@lyx.org>
6311 * factory.C (createInset): InsetExternal::setParams now takes a
6314 2003-07-23 Angus Leeming <leeming@lyx.org>
6316 * factory.C (createInset): changed interface to the external and
6317 graphics mailers' string2params functions.
6319 2003-07-23 Angus Leeming <leeming@lyx.org>
6321 * factory.C (createInset): pass a
6322 Buffer const * parameter to InsetExternalMailer's string2params.
6324 2003-07-22 John Levon <levon@movementarian.org>
6326 * Thesaurus.h: include the right aiksaurus header
6328 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6330 * MenuBackend.C (expand): check menu shortcuts unconditionally
6332 2003-07-21 Angus Leeming <leeming@lyx.org>
6334 * factory.C (createInset): pass a
6335 buffer_path parameter to InsetGraphicsMailer's string2params.
6337 2003-07-21 Angus Leeming <leeming@lyx.org>
6339 * BufferView_pimpl.C (buffer):
6342 * lyxfunc.C (dispatch):
6343 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6344 rather than the grfx shortcut.
6346 2003-07-21 André Pönitz <poenitz@gmx.net>
6348 * rowpainter.C: remove unused variables
6351 * tabular_funcs.h: move to tabular.C
6352 * Makefile.am: adjust
6354 * tabular.[Ch]: basic optical cleaning
6356 * author.h: pass references, not values
6358 2003-07-18 André Pönitz <poenitz@gmx.net>
6366 * text3.C: two-phase drawing for InsetText and InsetTabular
6367 some float -> int changes.
6369 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6371 * lyx_main.C: fix the fix
6373 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6375 * lyx_main.C: fix a crash in batch mode if no files specified
6378 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6380 * format.[Ch] (papersize): moved to BufferParams
6381 * converter.[Ch] (dvips_options): moved to BufferParams
6382 (dvipdfm_options): moved to anon namespace
6383 * bufferparams.[Ch]: added above functions.
6385 2003-07-17 André Pönitz <poenitz@gmx.net>
6389 * text2.C: don't call inset->update() anymore
6391 * metricsinfo.[Ch]: add convenience constructor
6393 2003-07-16 André Pönitz <poenitz@gmx.net>
6398 * text2.C: replace the LyXCursor::irow_ member with
6399 on-demand computation of the value
6401 2003-07-16 John Levon <levon@movementarian.org>
6403 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6405 2003-07-15 André Pönitz <poenitz@gmx.net>
6408 * text2.C: remove no more needed refresh_row
6410 2003-07-15 André Pönitz <poenitz@gmx.net>
6415 * text3.C: refresh_status tristate -> need_update bool
6417 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6419 * lyxtext.h (init): remove reinit argument (act as if always true)
6420 * text2.C: adjust to that
6422 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6424 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6425 * text3.C: use it to delete selections in some cases
6426 (bugs 441, 673, 702, 954).
6428 2003-07-14 André Pönitz <poenitz@gmx.net>
6430 * rowpainter.[Ch]: reduce interface
6432 2003-07-14 André Pönitz <poenitz@gmx.net>
6434 * BufferView_pimpl.C:
6435 * text2.C: adjust after removing unused BufferView * argument
6437 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6439 * text2.C (init): fix a crash fired on resize
6441 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6443 * buffer.[Ch]: added new closing signal
6444 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6445 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6446 BufferView::Pimpl via the closing the signal
6448 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6450 * buffer.[Ch]: take out all bv-related from buffer
6452 * BufferView_pimpl.[Ch]: connect to new signals
6453 * CutAndPaste.C: removed useless asserts
6454 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6457 * lyxfunc.C: moved view-related funciontality from vc here
6458 * paragraph.C: removed outdated comments
6461 2003-07-10 André Pönitz <poenitz@gmx.net>
6463 * BufferView_pimpl.C:
6467 * text2.C: remove InsetText::InnerCache, clean up consequences
6469 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6471 * ispell.C: fix two typos in error messages
6473 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6475 * Extend Note inset to other forms of annotation like Comment
6476 and Greyedout. Right button click gives dialog.
6478 Files modified or added (+):
6482 * ControlNote.[Ch] +
6484 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6485 frontends/controllers
6489 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6491 * aspell.C: add missing namespace lyx::support
6493 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6495 * BufferView.[Ch] (newFile): Add
6496 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6497 * LaTeX.[Ch] (message): added this signal and use it
6498 * buffer.[Ch] (busy, message): added these signals and use them
6499 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6503 * importer.C: use buffer signals instead of direct bv calling
6504 * lyx_cb.[Ch] (ShowMessage): removed
6507 * paragraph_funcs.C:
6508 * text2.C: use buffer signals
6510 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6512 * introduce namespace lyx::graphics
6514 2003-07-02 André Pönitz <poenitz@gmx.net>
6516 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6518 2003-07-01 André Pönitz <poenitz@gmx.net>
6525 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6526 text*.C to text_func.C
6528 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6530 * introduce namespace lyx::support
6532 2003-06-30 André Pönitz <poenitz@gmx.net>
6537 * text.C: re-enable --with-included-string
6539 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * textcursor.C: add <config.h>
6543 * text.C (getWord): remove const from word_location arg
6545 * lyxvc.C (getLogFile): fix const type order
6547 * lyxtext.h: remove const from word_location arg, add arg name
6549 * lyxlayout.h: currect type on labeltype.
6551 * importer.C: correct \file
6553 * converter.C (intToFormat): use std:: on ret val, ws changes
6555 * bufferlist.h: correct \file
6557 * buffer.C (makeLinuxDocFile): fix const type order
6558 (makeDocBookFile): ditto
6559 (fillWithBibKeys): use std:: on stdlib args.
6561 * CutAndPaste.C: fix authors.
6562 (availableSelections): use std:: on return vector
6564 2003-06-27 André Pönitz <poenitz@gmx.net>
6566 * BufferView_pimpl.C:
6567 * bufferview_funcs.C:
6575 * text3.C: remove LyXCursor::row_ member
6578 * text.C: rename fullRebreak() to partialRebreak() and implement
6579 a fullRebreak() that really bereks fully
6581 * textcursor.h: new struct for cursor-related data
6583 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6585 * lyx_main.C (LyX): get full path of document loaded on the
6588 2003-06-26 André Pönitz <poenitz@gmx.net>
6590 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6591 remove unused/broken operator>,<,>=.
6593 * text.C: remove only use of broken operator<= in an Assert().
6595 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6597 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6598 moved errorlist_.clear to showErrorList
6600 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6602 * converter.C (scanLog, runLaTeX):
6603 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6604 move the bv->showErrorList call to the callers
6605 * lyxfunc.C: i.e. here...
6607 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6608 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6609 namespace, the second to...
6610 * buffer_funcs (BufferFormat, parseErrors): added
6611 * errorlist.C (ErrorList(TeXErrors const &)): removed
6613 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6615 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6617 2003-06-24 "Garst R. Reese" <reese@isn.net>
6621 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6623 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6625 * version.C.in: change docversion to 1.4
6627 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6629 * buffer.C: fix a bug just introduced
6631 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6633 * buffer.[Ch]: added the parseError signal and use it, removed
6635 * BufferView.[Ch] (addError): moved to ...
6636 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6637 to the Buffer::parseError signal to catch (guess what) parse errors
6638 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6640 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6642 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6643 ability to create a buffer and to return an existing one from
6644 the list. Moved these functions to...
6645 * buffer_funcs.[Ch]: added
6646 * BufferView.[Ch] (loadLyXFile): added
6647 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6648 job removed from bufferlist::loadLyXFile.
6649 * buffer.C (setReadOnly): make it work without view
6650 (i.e added an if (users))
6652 2003-06-19 Angus Leeming <leeming@lyx.org>
6655 * LyXAction.C (init):
6656 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6657 with LFUN_DIALOG_SHOW <name> <data>.
6659 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6661 * CutAndPaste.C (availableSelections): small compilation fix for
6662 ancient (gcc 2.9x) compilers
6664 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6666 * text3.C (cursorNext): add tmp var
6668 * text2.C (updateCounters): for function calling out of for clause
6669 (replaceSelectionWithString): ditto
6670 (insertStringAsParagraphs): ditto
6671 (getColumnNearX): add tmp var
6672 (setCursorFromCoordinates): add tmp var
6673 (cursorDownParagraph): add tmp var
6674 (deleteEmptyParagraphMechanism): add tmp var
6676 * text.C (insertChar): add tmp var
6678 * rowpainter.C (paintDepthBar): add tmp var
6680 * CutAndPaste.C (availableSelections): potentially check all
6681 paragraphs in a cut to fill the shown strings.
6683 2003-06-18 André Pönitz <poenitz@gmx.net>
6685 * kbmap.[Ch]: use vector<> instead of list<>
6687 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6689 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6690 pasteSelection with index
6692 * text2.C (pasteSelection): modify, call pasteSelection with index
6694 * paragraph.C (asString): reimplement version with no interval to
6695 call the one with interval.
6697 * lyxtext.h: add index arg to pasteSelection
6699 * MenuBackend.C (MenuItem): handle PasteRecent
6700 (Menu::read::Menutags): add md_pasterecent
6702 (expandPasteRecent): new function
6705 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6707 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6709 (availableSelections): new function
6711 2003-06-17 Angus Leeming <leeming@lyx.org>
6713 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6715 2003-06-17 Angus Leeming <leeming@lyx.org>
6718 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6720 * lyxfunc.C (dispatch): invoke it.
6722 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6724 * iterators.C (operator++, ParPosition): reintroduce some
6725 const_cast for the benefit of older compilers.
6727 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6729 * text3.C (dispatch): do not modify clipboard when doing
6730 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6731 LFUN_DELETE_SKIP on a selection selection
6733 2003-06-16 André Pönitz <poenitz@gmx.net>
6739 * tabular.[Ch]: IU of clone() and getLabelList();
6741 2003-06-13 André Pönitz <poenitz@gmx.net>
6743 * tabular.h: compactification
6745 2003-06-12 André Pönitz <poenitz@gmx.net>
6749 * tabular_funcs.h: some renaming plus whitespace
6751 2003-06-12 André Pönitz <poenitz@gmx.net>
6754 * BufferView_pimpl.C:
6760 * toc.C: Return a Paragraph & for ParIterator::operator*()
6762 2003-06-11 John Levon <levon@movementarian.org>
6766 * ToolbarBackend.C: add "Toolbars" section and
6769 2003-06-10 Angus Leeming <leeming@lyx.org>
6772 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6774 * lyxfunc.C (dispatch): invoke it.
6776 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6778 * main.C: protect <ios> with HAVE_IOS
6779 (main): protect sync_with_stdio with HAVE_IOS
6781 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6783 * text2.C (cutSelection): adjust
6784 (pasteSelection): adjust
6786 * messages.C: handle get of empty string
6788 * main.C (main): use sync_with_stdio(false)
6790 * lyxfunc.C (dispatch): adjust
6792 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6793 (WriteAs): remove unneeded BufferView arg.
6795 * bufferparams.h: use correct types on papersize, papersize2 and
6798 * bufferparams.C (readToken): adjust for type
6799 (writeLaTeX): add missing cases to switch.
6801 * bufferlist.C (quitWriteBuffer): adjust
6804 * buffer.C (asciiParagraph): remove some commented code.
6806 * CutAndPaste.C: remove current_view extern variable.
6807 (cutSelection): add BufferParams arg.
6808 (eraseSelection): add BufferParams arg.
6809 (pasteSelection): add Buffer const & arg
6811 2003-06-07 John Levon <levon@movementarian.org>
6814 * paragraph_funcs.C:
6815 * paragraph_pimpl.C:
6819 * paragraph.C: allow InsetERT to freely space lines,
6820 and some consolidation of code
6822 2003-06-06 José Matos <jamatos@fep.up.pt>
6824 * buffer.C (makeDocBookFile): fix bug #821
6826 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6828 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6830 2003-06-04 Angus Leeming <leeming@lyx.org>
6832 * buffer.C: bump format to 224.
6834 2003-06-05 André Pönitz <poenitz@gmx.net>
6836 * text2.C (redoParagraphs): remove two const_cast<>
6838 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6840 * ParagraphList.h: remove last remnants of NO_STD_LIST
6842 2003-06-03 Angus Leeming <leeming@lyx.org>
6844 * factory.C (createInset): small change to the way InsetExternal's params
6847 2003-06-04 André Pönitz <poenitz@gmx.net>
6849 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6851 * paragraph_pimpl.h:
6852 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6854 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6856 * undo_funcs.C: make some simple cases of undo work again
6858 2003-06-03 John Levon <levon@movementarian.org>
6860 * ispell.C: HPUX doesn't have sys/select.h
6863 2003-06-03 John Levon <levon@movementarian.org>
6865 * CutAndPaste.C: update tabular and include inset
6870 * paragraph.C: remove owningBuffer(), don't pass Buffer
6873 * factory.C: insetGraphicsParams changed
6875 2003-06-02 John Levon <levon@movementarian.org>
6881 * text3.C: remove insetparent
6883 2003-06-02 John Levon <levon@movementarian.org>
6886 * buffer.C: fix inset_iterator.end(), move out of line
6889 2003-06-01 John Levon <levon@movementarian.org>
6891 * text3.C: use a proper cut/paste when doing inset
6892 insert (from Jürgen Spitzmüller)
6894 2003-06-01 John Levon <levon@movementarian.org>
6896 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6898 2003-05-30 André Pönitz <poenitz@gmx.net>
6900 * rowpainter.C: unify second drawing phase
6902 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6904 * trans_mgr.C: remove one case of current_view
6906 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6908 * paragraph_funcs.h: remove paragraph.h include
6910 * paragraph.h: delete NO_STD_LIST stuff
6912 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6914 * buffer.h: remove paragraph.h include
6916 * ParagraphList.C: delete file
6918 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6920 * toc.C (getTocList): adjust
6922 * paragraph_pimpl.C (validate): adjust
6924 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6926 * paragraph.C (Paragraph): adjust
6927 (getPositionOfInset): use const_iterator, adjust
6928 (bibitem): use const_iterator, adjust
6929 (setInsetOwner): adjust
6931 * iterators.C (operator++): adjust
6933 * InsetList.[Ch]: Replace selfmade iterator with standard
6934 vector::iterator also introduce const_iterator. Remove getPos,
6935 getInset and setInset from InsetTable. Adjust accordingly.
6937 * BufferView.C (lockInset): adjust
6938 (ChangeInsets): adjust
6940 * tabular.[Ch]: delete commented same_id functions
6942 2003-05-28 John Levon <levon@movementarian.org>
6944 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6946 2003-05-28 André Pönitz <poenitz@gmx.net>
6948 * metricsinfo.[Ch]: remove 'fullredraw' member
6950 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6952 * lyxtextclass.C (operator): remove caching.
6954 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * text2.C (cursorBottom): adjust
6959 (setCounter): use ParagraphList::find, adjust
6961 * text.C (workWidth): use ParagraphList::find, adjust
6963 * lyxcursor.C (LyXCursor): adjust
6965 * buffer.C (inset_iterator): adjust
6967 * ParagraphList.h: make iterator(value_type) private, make
6968 ParagraphList a friend of iterator.
6970 * ParagraphList.C (find): new function
6972 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6974 2003-05-27 André Pönitz <poenitz@gmx.net>
6976 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6978 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6980 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6982 2003-05-26 John Levon <levon@movementarian.org>
6984 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6986 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6988 * remove same_id from function signatures, adjust.
6990 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6994 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6996 * paragraph.C (Paragraph): get rid of same_ids parameter
6998 * ParagraphList.C (insert): adjust
7001 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7003 * paragraph_funcs.C (breakParagraph): adjust
7004 (breakParagraphConservative): adjust
7006 * buffer.C (readParagraph): adjust
7008 * ParagraphList.C (insert): take a reference instead of a pointer
7011 * paragraph.[Ch] (id): new function
7013 * bufferlist.C (newFile): adjust
7015 * ParagraphList.C (ParagraphList): adjust
7017 (push_back): take a reference instead of a pointer.
7019 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7021 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7024 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7025 set else use old code.
7027 * ParagraphList.C: remove all NO_NEXT code and only compile this
7028 code of NO_STD_LIST is set.
7030 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7032 * BufferView_pimpl.C:
7042 * graphics/GraphicsConverter.C:
7043 * graphics/PreviewLoader.C: header adjustment
7045 2003-05-23 Angus Leeming <leeming@lyx.org>
7047 * LaTeXFeatures.[Ch] (useBabel): new method.
7048 * bufferparams.C (writeLaTeX): use it.
7050 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7052 * ParagraphList.h (set): remove unused function.
7054 2003-05-23 André Pönitz <poenitz@gmx.net>
7057 * BufferView_pimpl.C:
7061 * undo_funcs.C: setUndo reworked
7063 * iterators.[Ch]: add access to topmost ParagraphList
7065 * lyxtext.[Ch] (workWidth): add a const
7067 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7069 * texrow.[Ch] (increasePos): remove function
7070 * exporter.C (export): removed unused var and outdated comment
7072 2003-05-23 Angus Leeming <leeming@lyx.org>
7074 * latexrunparams.h: rename fragile as moving_arg.
7075 * paragraph.C (simpleTeXOnePar): ditto.
7076 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7078 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7082 (textUndoOrRedo): comment out a currently unused var.
7084 * paragraph.h (NO_NEXT): enable NO_NEXT
7086 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7088 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7090 * exporter.C (Export): adjust for removeAutoInsets removal.
7092 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7094 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7096 * BufferView.[Ch] (removeAutoInsets): delete function
7098 2003-05-22 Angus Leeming <leeming@lyx.org>
7100 * latexrunparams.h: add a free_spacing variable.
7102 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7103 to pass moving_arg, as the data is stored in runparams.fragile.
7105 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7106 to Inset::latexOptional or to simpleTeXOnePar.
7108 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7109 free_spacing arg to Inset::latexOptional.
7111 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7114 2003-05-22 Angus Leeming <leeming@lyx.org>
7116 * latexrunparams.h: add fragile and use_babel variables.
7118 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7119 * buffer.C (makeLaTeXFile): store this returned value in
7120 runparams.use_babel, thus passing it to the inset::latex methods.
7122 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7123 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7125 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7126 longer has a fragile arg, as it is stored in runparams.fragile.
7128 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7129 moving_arg parameter as the data is stored in runparams.fragile.
7131 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7132 a fragile parameter as the data is stored in runparams.fragile.
7134 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7138 2003-05-22 Angus Leeming <leeming@lyx.org>
7140 * latexrunparams.h: add a 'bool nice' which defaults to false.
7142 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7143 now encapsulated within runparams.
7145 * bufferlist.C (updateIncludedTeXfiles):
7146 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7148 2003-05-22 Angus Leeming <leeming@lyx.org>
7150 * latexrunparams.h: new file containing struct LatexRunParams.
7151 * Makefile.am: add new file.
7153 * LaTeX.[Ch] (c-tor, run):
7154 * buffer.[Ch] (makeLaTeXFile):
7155 * bufferlist.[Ch] (updateIncludedTeXfiles):
7156 * converter.C (convert, scanLog):
7157 * converter.[Ch] (runLaTeX):
7158 * exporter.C (Export):
7159 * paragraph.[Ch] (simpleTeXOnePar):
7160 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7161 * paragraph_funcs.[Ch] (latexParagraphs):
7162 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7163 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7164 pass around a LatexRunParams parameter.
7166 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * paragraph.[Ch]: remove unused constructor
7170 * ParagraphList.C (erase): new function, taking two iterators
7172 2003-05-22 André Pönitz <poenitz@gmx.net>
7174 * undo_funcs.C: remove duplicated code
7176 * iterator.[Ch]: operator=
7178 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * tabular.C (SetMultiColumn): ws changes
7182 * rowpainter.C (paintFirst): get rid of a ->previous
7184 * lyx_cb.C (getPossibleLabel): parlist simplification
7186 * BufferView.C (ChangeInsets): simplify slightly.
7188 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7190 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7191 * lfuns.h: new LFUN_SPACE
7192 * lyxfunc.C: protected space has a new lfun
7193 * paragraph_funcs.C: read new space insets
7195 * factory.C: handle new space insets
7197 2003-05-22 André Pönitz <poenitz@gmx.net>
7200 * BufferView_pimpl.C:
7203 * undo_funcs.C: return a ParIterator from getParFromID.
7205 * iterators.[Ch]: add two const's
7207 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7209 * toc.C (getTocList): adjust
7211 * iterators.[Ch]: rework for parlist
7213 * buffer.C (par_iterator_begin): adjust
7214 (par_iterator_end): adjust
7216 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7218 * BufferView.C (removeAutoInsets): adjust
7219 (ChangeInsets): adjust
7221 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7223 * text.C (top_y): fix bug 1110
7225 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7227 * errorlist.[Ch]: added
7230 * BufferView_pimpl.C:
7231 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7234 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7236 * Makefile.am: ensure that lyx is relinked upon changes to the
7237 various "convenience" libs.
7239 2003-05-20 Angus Leeming <leeming@lyx.org>
7241 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7242 files are compiled in alphabetical order again.
7244 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7246 2003-05-19 Angus Leeming <leeming@lyx.org>
7248 * gettext.[Ch]: remove "char const * _(char const *)".
7250 2003-05-19 André Pönitz <poenitz@gmx.net>
7252 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7261 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7263 2003-05-19 André Pönitz <poenitz@gmx.net>
7267 * lyxtextclass.[Ch]:
7269 * paragraph_funcs.[Ch]:
7271 * text3.C: more insetenv work
7273 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7275 * ParagraphParameters.C (params2string): small bug fixed
7277 2003-05-16 André Pönitz <poenitz@gmx.net>
7280 * bufferview_funcs.C: patch from Kornel Benko to prevent
7281 crash when _(...) is called twice in a statement
7283 2003-05-16 André Pönitz <poenitz@gmx.net>
7290 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7292 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7294 * lyx_main.C (init): remove spurious static_cast
7296 2003-05-14 André Pönitz <poenitz@gmx.net>
7298 * BufferView.C: fix format string
7300 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7302 * BufferView.[Ch] (insertErrors): removed
7303 * BufferView.[Ch] (showErrorList): added
7304 * buffer.C (runChkTeX):
7305 * converter.C (scanLog): call showErrorList instead of inserterrors
7307 2003-05-13 André Pönitz <poenitz@gmx.net>
7309 * BufferView_pimpl.C:
7311 * bufferview_func.C:
7318 * tabular_funcs.h: tostr() from its own header
7320 * ParagraphParameters.C:
7325 * text3.C: STRCONV()
7327 2003-05-12 André Pönitz <poenitz@gmx.net>
7330 * BufferView_pimpl.C:
7334 * ParagraphParameters.C:
7338 * bufferview_funcs.C:
7351 * paragraph_funcs.C:
7355 * text3.C: boost::format -> bformat all over the place
7358 2003-05-09 André Pönitz <poenitz@gmx.net>
7360 * LColor.[Ch]: Pimpl the #include <map> away
7362 2003-05-09 John Levon <levon@movementarian.org>
7364 * bufferlist.C: never remove emergency saves
7366 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7368 * Makefile.am: better lib building
7370 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7374 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7375 (simpleTeXSpecialChars): adjust
7376 (simpleTeXSpecialChars): adjust
7377 * paragraph.C (simpleTeXOnePar): adjust
7378 * buffer.C (makeLaTeXFile): adjust
7380 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7382 * text2.C (changeDepth): parlist cleanup
7383 (getColumnNearX): ditto
7385 * rowpainter.C (getLabelFont): parlist cleanup
7387 * bufferlist.C (newFile): parlist cleanup
7389 * CutAndPaste.C (eraseSelection): parlist cleanup
7391 * BufferView_pimpl.C (trackChanges): parlist cleanup
7394 * BufferView.C (lockInset): parlist cleanup.
7395 (ChangeInsets): ditto
7397 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7399 * CutAndPaste.h: Update file header.
7401 * CutAndPaste.C: Update file header.
7402 Store the parts cut out of the Document in a limited_stack.
7403 (copySelection): adjust
7404 (pasteSelection): new function, takes the index in the limited stack.
7405 (nrOfParagraphs): adjust
7406 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7407 simplify error inset insertion.
7408 (checkPastePossible): adjust
7410 2003-05-06 John Levon <levon@movementarian.org>
7412 * text2.C: don't cast wrap inset to float
7414 2003-05-05 André Pönitz <poenitz@gmx.net>
7417 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7419 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7420 few naked Paragraph *.
7422 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7424 * bufferparams.C: Output warning if a document with missing
7425 TeX document class is loaded
7426 * exporter.C: Disable TeX exports if the document class is missing
7429 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7430 isTeXClassAvailable()
7432 2003-05-03 John Levon <levon@movementarian.org>
7435 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7436 explicit cursor show/hide
7438 * BufferView_pimpl.h:
7439 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7440 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7442 * lyxfunc.C: hide cursor before dispatching.
7447 * text3.C: remove explicit cursor hides
7449 2003-05-02 André Pönitz <poenitz@gmx.net>
7451 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7454 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7457 * text2.C: tiny whitespace
7459 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7461 * undo_funcs.C: almost only ws changes.
7463 * ParagraphList.C (splice): just return if pl is empty.
7465 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7467 * ParagraphList.C (splice): new function.
7469 * CutAndPaste.C (pasteSelection): use it
7471 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7473 * CutAndPaste.C (pasteSelection): remove the last next and
7474 previous from this file.
7476 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7478 * CutAndPaste.C (pasteSelection): more clean up, user proper
7479 ParagraphList functions for pasteing.
7481 * ParagraphList.C (insert): new function, three arg insert
7483 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7485 * ParagraphList.C (insert): new function, three arg insert
7487 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7490 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7492 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7494 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7498 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7501 (copySelection): clean up a bit.
7502 (pasteSelection): use make_pair
7504 * ParagraphList.C (ParagraphList): implement copy constructor
7505 (operator=): implement, base on copy constructor.
7508 * paragraph.C (erase): return a bool
7510 * paragraph_pimpl.C (erasePos): remove function, move contents...
7511 (erase): ... here. Return a bool.
7512 (erase): call erase instead of erasePos.
7514 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7516 * ParagraphList.h: define PitPosPair
7517 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7518 ParagraphList, fix a bug on pasting multiple pars
7519 * text2.C: change interface to C&P
7521 2003-04-30 André Pönitz <poenitz@gmx.net>
7523 * undo_func.C: revert part of yesterday's patch 2
7525 2003-04-30 John Levon <levon@movementarian.org>
7527 * LColor.C: s/tabular/table/
7529 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7531 * text3.C (dispatch): do not convert iterator -> pointer
7532 * undo_funcs.C (setCursorParUndo): ditto
7533 * text_funcs.C (transposeChars): ditto
7535 * text2.C (setLayout): ws changes only
7537 * text.C (breakParagraph): do not convert iterator -> pointer
7539 (acceptChange): ditto
7540 (rejectChange): ditto
7545 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7548 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7550 * text3.C (gotoInset): YABG (yet another bad getChar)
7552 2003-04-29 André Pönitz <poenitz@gmx.net>
7554 * paragraph.h: make operator= private unimplemented as long as
7557 * ParagraphList.C: whitespace
7560 * paragraph_pimpl.[Ch]:
7561 * paragraph_funcs.C:
7563 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7566 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7568 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7570 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7571 * paragraph.[Ch] (erase):
7572 * paragraph_pimpl.[Ch] (erase): change return type and value
7573 * text2.C (cutSelection): some rework
7575 2003-04-28 John Levon <levon@movementarian.org>
7577 * bufferlist.C: changes for unsaved changes dialog
7579 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7581 * bufferlist.C (newFile): set language (messages_) for new
7584 * buffer.C (readFile): ws changes only.
7586 2003-04-28 André Pönitz <poenitz@gmx.net>
7591 * BufferView_pimpl.C:
7592 * BufferView.C: getParFromID related ParagraphList::iterator changes
7594 2003-04-28 André Pönitz <poenitz@gmx.net>
7596 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7599 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7601 * messages.C: remove one more localedir class variable.
7603 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * messages.C (getLocaleDir): singleton generation function
7607 (Messages): add a default constructor.
7609 * main.C (main): do not setup localedir here, do not call
7612 * gettext.C (_): use it.
7613 (gettext_init): delete funciton
7615 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7617 * gettext.C (getLyXMessages): new singleton generating function.
7619 * buffer.C (updateDocLang): adjust
7621 * Makefile.am (messages.o): add target
7622 (main.o): remove target
7624 2003-04-27 John Levon <levon@movementarian.org>
7629 * lyxvc.C: specify cancel button in Alert::prompt
7631 2003-04-26 John Levon <levon@movementarian.org>
7636 * LyXAction.C: add LFUN_INSET_SETTINGS
7638 * lyxfunc.C: don't enable tabular-feature when there's
7639 just any locking inset
7641 2003-04-26 John Levon <levon@movementarian.org>
7643 * bufferlist.C: re-add Cancel to buffer close question
7645 * lyxfunc.C: fix import UI a bit
7647 2003-04-25 John Levon <levon@movementarian.org>
7649 * gettext.C: remove the broken asserts for now
7651 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7653 * messages.C: make case where setlocale cannot comply work better.
7655 * buffer.C (updateDocLang): new function
7656 (changeLanguage): use it
7659 * text2.C (setCounter): use B_ a bit.
7661 * lyxlayout.C (Read): be sure to trim the label strings.
7663 * messages.C (Messages): fix typo in comment
7665 * buffer.C (readFile): set message_ after file is loaded.
7666 (makeDocBookFile): remove double return
7667 (changeLanguage): reset message_ upon language change.
7668 (B_): new func, use this to get translated buffer strings.
7670 * main.C: add myself and Jean Marc as authors.
7672 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7674 * messages.[hC]: pimplify Messages, and three different pimpls to be
7675 used in different circumstances.
7677 * gettext.[Ch]: change for use with new message code.
7679 2003-04-24 André Pönitz <poenitz@gmx.net>
7681 * factory.C: support for eqref
7683 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7685 * messages.[Ch]: add missing char
7687 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7689 * messages.[Ch]: New files
7691 2003-04-18 John Levon <levon@movementarian.org>
7695 * BufferView_pimpl.C:
7699 * text2.C: remove layout-copy/paste (bug 778)
7701 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7703 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7705 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7707 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7708 if they succeed. Act accordingly.
7710 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7712 * text2.C (setCharFont): adjust
7713 (setCounter): adjust
7714 (insertStringAsLines): adjust
7716 * text.C (leftMargin): adjust
7717 (setHeightOfRow): adjust
7719 * rowpainter.C (paintFirst): adjust
7722 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7724 (isFirstInSequence): ditto
7725 (getEndLabel): ditto
7728 * paragraph.C (getParLanguage): comment out some hard stuff.
7730 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7732 (simpleDocBookOnePar): ditto
7733 (makeDocBookFile): use ParagraphList::iterator
7735 * CutAndPaste.C (pasteSelection): adjust
7737 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * text2.C (getFont): adjust
7740 (getLayoutFont): adjust
7741 (getLabelFont): adjust
7743 * paragraph_funcs.C (TeXOnePar): adjust
7745 * buffer.C (simpleLinuxDocOnePar): adjust
7746 (simpleDocBookOnePar): adjust
7748 * CutAndPaste.C (pasteSelection): adjust
7750 * BufferView.C (getEncoding): adjust
7752 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7754 2003-04-16 John Levon <levon@movementarian.org>
7756 * lyxfind.C: use parlist stuff for search/changes
7758 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7760 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7762 * text2.C (deleteEmptyParagraphMechanism): adjust
7764 * text2.[Ch] (ownerParagraph): delete func (both of them
7766 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7768 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7770 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * ParagraphList.C: prepare for NO_NEXT
7774 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7776 * text2.C (getFont): adjust
7777 (getLayoutFont): adjust
7778 (getLabelFont): adjust
7780 * paragraph.C (getFont): adjust
7781 (getLabelFont): adjust
7782 (getLayoutFont): adjust
7784 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7786 2003-04-15 John Levon <levon@movementarian.org>
7790 * lyx_main.C: handle Include in .ui files
7792 2003-04-15 John Levon <levon@movementarian.org>
7794 * MenuBackend.C: make the doc files length shorter
7797 * ToolbarBackend.C: handle toolbar placement flags,
7800 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7805 * paragraph_funcs.C (TeXOnePar): adjust
7807 * paragraph.C (getLabelFont): add outerfont arg, adjust
7808 (getLayoutFont): ditto
7809 (simpleTeXOnePar): adjust
7811 * paragraph_pimpl.C (realizeFont): delete func
7813 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7815 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7816 row argument, constify cur argument.
7818 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7820 * text2.C (getFont): adjust
7821 (getLayoutFont): adjust
7822 (getLabelFont): adjust
7824 * paragraph_funcs.C (TeXOnePar): adjust
7825 (outerFont): new func...
7826 (realizeFont): ...moved out from here, changed this to facilitate
7829 * paragraph.C (getFont): take outerfont as arg, adjust
7830 (simpleTeXOnePar): add outerfont arg, adjust
7832 * buffer.C (simpleLinuxDocOnePar): adjust
7833 (simpleDocBookOnePar): adjust
7835 * CutAndPaste.C (pasteSelection): adjust
7837 * BufferView.C (getEncoding): adjust
7839 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7841 * text2.C (setCharFont): adjust
7842 (setCounter): adjust
7844 * text.C (leftMargin): adjust
7845 (setHeightOfRow): adjust
7847 * rowpainter.C (paintFirst): adjust
7850 * paragraph_pimpl.C (realizeFont): adjust
7852 * paragraph.C (isFirstInSequence): move from here...
7853 * paragraph_funcs.C (isFirstInSequence): ...to here
7855 * paragraph.C (outerHook): move from here...
7856 * paragraph_funcs.C (outerHook): ...to here
7858 * paragraph.C (depthHook): move from here...
7859 * paragraph_funcs.C (depthHook): ...to here
7861 * paragraph.C (getEndLabel): move from here...
7862 * paragraph_funcs.C (getEndLabel): ...to here
7864 * text2.C (realizeFont): move from here...
7865 * paragraph_funcs.C (realizeFont): ...to here
7867 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7869 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7871 2003-04-14 Angus Leeming <leeming@lyx.org>
7873 * LColor.[Ch]: scrap LColor mathcursor.
7875 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7877 * lyxlex.[Ch] (text): delete function
7878 * trans.C (Load): adjust
7879 * paragraph_funcs.C (readParToken): adjust
7881 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7883 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7884 vector<char> instead of a char[].
7886 * lyxlex_pimpl.C (getString): adjust
7888 (lex): use getString
7892 * lyxlex.C (text): use pimpl_->getString()
7896 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7898 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7899 (makeFontEntriesLayoutSpecific): temp var for par.size()
7900 (setLayout): temp var for ownerParagraphs().end()
7901 (fullRebreak): temp var for rows().end()
7902 (selectionAsString): temp var for boost::next(startpit), realize
7903 that the while really is a regular for loop.
7904 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7905 setCursor in one place.
7906 (setParagraph): temp vr for ownerParagraphs().end()
7907 (updateCounters): make the while loop a for loop
7908 (cutSelection): temp var for ownerParagraphs().end()
7909 (updateInset): make the do {} while() a regular for loop
7910 (getCursorX): use temp vars
7911 (setCurrentFont): use temp vars
7912 (getColumnNearX): use temp vars
7914 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7916 * text.C (transformChar): use temp var for getChar
7917 (computeBidiTables): use temp var for row->par()
7918 (fill): move temp vars for row->par() and pit->layout() earlier in
7920 (labelFill): use temp var for row->par()
7921 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7922 asc and desc, realize that pit never changes and that firstpit is
7923 just a duplicate and not needed. Exchange rit->par() with pit in a
7925 (breakAgain): use a temp var for boost::next(rit)
7926 (breakAgainOneRow): ditto
7927 (breakParagraph): use a temp var for rows().begin()
7928 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7929 (cursorRightOneWord): use temp var for cursor.par() and
7930 cursor.pos(), remove usage of tmpcursor.
7931 (cursorLeftOneWord): use temp var for cursor.par() and
7932 cursor.pos() only set cur at end of function.
7934 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7936 * text.C, text2.C: exchange all usage of Paragraph::next with
7937 boost::next(ParagraphList::iterator)
7939 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7941 * text2.C (cursorTop): simplify implementation
7942 (cursorBottom): ditto
7943 (setParagraph): use ParagraphList::iterator
7944 (setCurrentFont): adjust
7945 (getColumnNearX): adjust
7946 (cursorRight): adjust
7947 (cursorLeft): remove usage of Paragraph::previous
7948 (cursorUpParagraph): ditto
7949 (deleteEmptyParagraphMechanism): slight cleanup
7951 * text.C (isBoundary): take a Paragraph const & instead of a
7953 (addressBreakPoint): ditto
7954 (leftMargin): remove usage of Paragraph::previous.
7955 (setHeightOfRow): ditto
7956 (cursorLeftOneWord): ditto
7957 (selectNextWordToSpellcheck): ditto
7960 (breakParagraph): remove one usage of Paragraph::next
7961 (redoParagraph): ditto
7962 (acceptChange): ditto
7963 (insertChar): adjust
7964 (rowBreakPoint): adjust
7966 * bufferview_funcs.C (toggleAndShow): adjust
7968 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7970 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7971 methods to access it.
7973 * text.C: Added updateRowPositions to compute all row positions.
7974 Make top_y and getRowNearY() to use the cached y position
7976 2003-04-11 John Levon <levon@movementarian.org>
7978 * text.C (rowBreakPoint): reintroduce the labelEnd
7979 checks, code copied from the row fill stuff. Deep voodoo.
7981 * text.C (fill): add a comment and debugging for the
7984 2003-04-11 John Levon <levon@movementarian.org>
7986 * text.C: make sure fullrow insets get wrapped to the next line,
7987 even when they're in a manual label
7989 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7991 * text2.C (insertParagraph): make it take ParagraphList::iterator
7993 (setLayout): make it return ParagraphList::iterator
7994 (redoParagraphs): ditto
7996 (checkParagraph): ditto
7998 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8000 * text2.C: adjust several funcs.
8001 (realizeFont): take a ParagraphList::iterator as arg.
8002 (getLayoutFont): ditto
8003 (getLabelFont): ditto
8004 (setCharFont): ditto
8006 * text.C: adjust several funcs.
8008 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8010 * text.C (selectNextWordToSpellcheck): don't accidentally
8013 2003-04-10 John Levon <levon@movementarian.org>
8015 * ToolbarBackend.C (getIcon): special handling for
8018 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8020 * text2.C (cursorRight): a getChar assert fixed
8022 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8024 * text2.C (getFont): change to take a ParagraphList::iterator
8025 instead of Paragraph*
8026 Adjust several functions.
8028 * text.C (transformChar): change to take a ParagraphList::iterator
8029 instead of Paragraph*
8030 (singleWidth): ditto
8031 Adjust several functions.
8033 * rowpainter.C: adjust several functions
8034 * rowpainter.h:store a ParagraphList::iterator and not a
8038 2003-04-09 John Levon <levon@movementarian.org>
8043 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8044 and the "help" bits as well
8046 2003-04-09 John Levon <levon@movementarian.org>
8049 * ToolbarBackend.C: allow multiple toolbars
8051 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8053 * undo_funcs.C (setCursorParUndo): adjust
8055 * text_funcs.C (transposeChars): adjust
8057 * text3.C (gotoNextInset): adjust
8060 * text2.C (setLayout): adjust
8061 (changeDepth): adjust
8063 (redoParagraphs): adjust
8064 (selectionAsString): adjust
8065 (setParagraph): adjust
8066 (insertInset): adjust
8067 (cutSelection): adjust
8068 (copySelection): adjust
8069 (pasteSelection): adjust
8070 (insertStringAsLines): adjust
8071 (updateInset): adjust
8072 (setCursor): change to take a ParagraphList::iterator parameter
8073 (setCursorIntern): change to take a ParagraphList::iterator parameter
8074 (setCurrentFont): adjust
8075 (cursorLeft): adjust
8076 (cursorRight): adjust
8077 (deleteEmptyParagraphMechanism): adjust
8079 * text.C (breakParagraph): adjust
8080 (insertChar): adjust
8081 (acceptChange): adjust
8082 (rejectChange): adjust
8083 (selectNextWordToSpellcheck): adjust
8084 (changeCase): adjust
8088 * lyxfind.C (SearchForward): adjust
8089 (SearchBackward): adjust
8090 (nextChange): adjust
8092 * lyxcursor.C (par): adjust
8094 * lyxcursor.h: store a ParagraphList::iterator instead of a
8097 * lyx_cb.C (getPossibleLabel): adjust
8099 * bufferview_funcs.C (toggleAndShow): adjust
8101 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8104 * BufferView.C (removeAutoInsets): adjust
8105 (lockedInsetStoreUndo): adjust
8107 2003-04-09 John Levon <levon@movementarian.org>
8109 * ToolbarBackend.C: try icon without argument
8110 if with argument fails
8112 2003-04-08 John Levon <levon@movementarian.org>
8115 * ToolbarBackend.C: add getIcon(), handle tooltip,
8116 and change from "Icon" to "Item".
8118 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8120 * BufferView.C (lockInset): another bad getchar crunched
8122 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8124 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8127 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8129 * lyxfind.C (searchForward, searchBackwards): bug 782
8131 2003-04-07 John Levon <levon@movementarian.org>
8133 * paragraph.C: remove dead comment
8135 * text.C: remove troublesome depth-fiddling code
8136 in leftMargin() and rightMargin() (bug 1017)
8138 * text.C: fix breaking of rows in nested lists
8141 * text2.C (updateCounters): fix up depth values
8144 2003-04-07 John Levon <levon@movementarian.org>
8146 * BufferView_pimpl.C: clear message when doc finishes resizing,
8147 and after a mouse event
8149 * lyxfunc.C: clear message after exiting inset
8151 2003-04-07 John Levon <levon@movementarian.org>
8153 * bufferview_funcs.C: show math status not outside
8154 status in the statusbar
8156 2003-04-07 John Levon <levon@movementarian.org>
8158 * lyxfunc.C: note status changed after a depth change
8160 2003-04-04 Angus Leeming <leeming@lyx.org>
8162 * LaTeX.h: move AuxInfo operator==, != out of line.
8163 Remove LaTeX virtual destructor; nothing derives from it.
8164 Move operator()() out of public area and rename it startscript().
8165 Change protected for private.
8167 2003-04-04 Angus Leeming <leeming@lyx.org>
8170 * text2.C: remove unneeded #includes.
8172 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8174 * text2.C (dEPM): fix the heigth of the next row
8176 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8178 * text.C: squashed an invalid getChar requester + some ws changes
8180 2003-04-03 John Levon <levon@movementarian.org>
8182 * bufferview_funcs.h:
8183 * bufferview_funcs.C:
8186 * text2.C: make getStatus work for the env depth lfuns
8188 2003-04-03 John Levon <levon@movementarian.org>
8190 * bufferview_funcs.h:
8191 * bufferview_funcs.C:
8194 * text2.C: parlistize decDepth(), by merging it with incDepth()
8196 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8198 * lyxrow.h: store a ParagraphList::iterator instead of a
8199 Paragraph* and adjust other class functions to suit.
8201 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8204 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8206 * text2.C (setCursor): do not anchor to cursor row for the time being
8208 2003-04-02 John Levon <levon@movementarian.org>
8215 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8217 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8219 * paragraph.h: make ParagraphList and ParagraphList::iterator
8220 friends of Paragraph.
8222 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8224 * ParagraphList.C: Use the private next_ and previous_ from
8227 2003-04-01 John Levon <levon@movementarian.org>
8231 * Makefile.am: rename, remove defaults gunk
8234 * MenuBackend.C: remove defaults gunk
8237 * Languages.C: remove defaults gunk
8240 * lyx_main.C: error out if files couldn't be found.
8242 2003-04-02 John Levon <levon@movementarian.org>
8244 * text2.C: make incDepth() use parlist
8246 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8248 * undo_funcs.C (firstUndoParagraph): adjust
8250 * text3.C (gotoInset): adjust
8251 (dispatch): adjust, and rewrite loop.
8253 * text2.C (init): adjust, and rewrite loop.
8254 (redoParagraphs): adjust
8255 (updateInset): adjust, and rewrite loop.
8256 (deleteEmptyParagraphMechanism): adjust
8258 * tabular.C (LyXTabular): adjust
8259 (SetMultiColumn): adjust
8262 * lyxtext.[Ch] (ownerParagraph): delete function
8263 (ownerParagraphs): new function returns a ParagraphList.
8265 * BufferView.C (removeAutoInsets): adjust
8266 (insertErrors): adjust
8267 (setCursorFromRow): adjust
8269 2003-04-01 Angus Leeming <leeming@lyx.org>
8271 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8274 2003-04-02 John Levon <levon@movementarian.org>
8280 * text_funcs.C: make transposeChars a free function
8282 * lyxrow_funcs.C: remove wrong comment
8284 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8287 * rowpainter.C: adjust
8292 * lyxrow_funcs. [Ch]: new files
8294 * lyxrow.[Ch]: remove next and previous pointers
8295 (next,previous): remove accessor functions
8296 (isParEnd): move to lyxrow_funcs
8297 (lastPos): move to lyxrow_funcs
8298 (nextRowIsAllInset): move to lyxrow_funcs
8299 (lastPrintablePos): move to lyxrow_funcs
8300 (numberOfSeparators): move to lyxrow_funcs
8301 (numberOfHfills): move to lyxrow_funcs
8302 (numberOfLabelHfills): move to lyxrow_funcs
8303 (hfillExpansion): move to lyxrow_funcs
8307 * bufferview_funcs.C (toggleAndShow): adjust
8309 * RowList.h: Remove class RowList from file leave just a
8312 * RowList.C: delete file
8314 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8317 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8319 * text3.C (cursorPrevious): adjust
8320 (cursorNext): adjust
8323 * text2.C (redoHeightOfParagraph): adjust
8324 (redoDrawingOfParagraph): adjust
8327 * text.C (breakParagraph): adjust
8328 (insertChar): adjust
8331 * rowpainter.C (RowPainter): adjust
8332 (leftMargin): simplify and adjust
8333 (most rowpainter functions): adjust.
8335 * rowpainter.h: store the row as RowList::iterator not as Row*
8337 * lyxcursor.C (row): taka RowList::iterator as arg
8340 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8343 2003-04-01 Angus Leeming <leeming@lyx.org>
8345 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8346 stuff like bool Bool.
8348 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8350 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8353 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8355 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8358 * lyxtext.h (rows): drop one version and leve a const variant that
8359 returns a RowList::iterator.
8361 2003-03-31 Angus Leeming <leeming@lyx.org>
8363 * text.C (fill): ensure that the signature is the same as that in the
8366 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8368 * text2.C (redoParagraphs): adjust
8369 (updateCounters): adjust
8370 (checkParagraph): adjust
8371 (getColumnNearX): adjust and reformat a bit.
8373 * text.C (top_y): adjust
8375 (leftMargin): adjust
8376 (prepareToPrint): adjust
8378 (getRowNearY): adjust
8380 * lyxtext.h: make rowlist_ mutable.
8382 * RowList.h: add const_iterator
8383 * RowList.C: adjust for RowList::const_iterator.
8385 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8388 2003-03-31 John Levon <levon@movementarian.org>
8391 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8393 * lyx_main.C: set default fonts from using lyx_gui funcs
8395 * exporter.C: pdf_mode moved from lyxrc
8398 * lyxfunc.C: changes from above
8400 2003-03-31 John Levon <levon@movementarian.org>
8402 * lyx_main.C: fix to the last fix
8404 2003-03-31 John Levon <levon@movementarian.org>
8406 * bufferlist.C: "Load original" -> "Load Original"
8412 * format.C: more Alert cleanups
8414 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8416 * text2.C (removeParagraph): make it take a RowList::iterator as
8418 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8419 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8421 * text.C (anchor_row): make it take a RowList::iterator as arg,
8423 (computeBidiTables): make it take a const reference to Row instead
8424 of Row pointer, adjust.
8425 (leftMargin): make it take a RowList::iterator as arg, adjust.
8426 (rowBreakPoint): adjust
8427 (breakAgainOneRow): make it take a RowList::iterator as arg,
8429 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8431 * bufferview_funcs.C (toggleAndShow): adjust
8433 2003-03-30 John Levon <levon@movementarian.org>
8437 * boost-inst.C: moved to support
8439 * several files: changes as a result
8441 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8443 * text2.C (LyXText): adjust.
8445 (removeRow): make it take a RowList::iterator as arg, adjust.
8446 (fullRebreak): adjust
8447 (deleteEmptyParagraphMechanism): adjust
8448 (clearPaint): adjust
8451 * text.C (top_y): adjust
8452 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8453 (breakAgain): make it take a RowList::iterator as arg, adjust.
8454 (breakParagraph): adjust
8455 (insertChar): adjust
8458 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8459 need_break_row, and refresh_row.
8461 * text3.C (dispatch): adjust
8463 * text2.C (checkParagraph): adjust
8465 (setCursorFromCoordinates): adjust
8467 * text.C (top_y): adjust
8469 (getRow): make it return a RowList::iterator, adjust
8470 (getRowNearY): make it return a RowList::iterator, adjust
8472 * text2.C (init): adjust
8473 (insertRow): remove function
8474 (insertParagraph): adjust
8475 (redoParagraphs): adjust
8476 (fullRebreak): adjust
8477 (updateCounters): adjust
8479 * text.C (top_y): rewrite to use RowList iterators.
8481 (setHeightOfRow): rewrite to sue RowList iterators.
8482 (appendParagraph): adjust
8483 (breakAgain): adjust
8484 (breakAgainOneRow): adjust
8485 (breakParagraph): adjust
8487 (getRowNearY): adjust, and remove commented code.
8489 * lyxtext.h (firstRow): delete function
8490 (lastRow): delete function
8491 (rows): new function (const and non-const versions.)
8492 (insertRow): delete function
8494 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8496 2003-03-29 John Levon <levon@movementarian.org>
8498 * BufferView_pimpl.C: always update scrollbar top
8499 because pasting text when we're anchored could mean we
8500 miss an update altogether
8502 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8504 * text2.C (init): use rowlist_.end() and not 0.
8505 (insertRow): change to take a RowList::iterator as arg, adjust
8507 (insertParagraph): change to take a RowList::iterator as arg,
8509 (redoParagraphs): remove some debug msgs.
8511 * text.C (appendParagraph): change to take a RowList::iterator
8512 arg, adjust for this.
8513 (breakAgain): add an assert
8514 (breakAgainOneRow): ditto
8516 2003-03-29 John Levon <levon@movementarian.org>
8518 * text2.C: do not clear selection after inc/decDepth
8521 2003-03-29 John Levon <levon@movementarian.org>
8524 * buffer.C: fix broken strerrors according to Lars
8526 2003-03-29 John Levon <levon@movementarian.org>
8528 * converters.C: more Alert cleanups
8530 2003-03-29 John Levon <levon@movementarian.org>
8532 * bufferview_funcs.C: remove pointless Alert
8534 * buffer.C: fix confusing error message when
8535 a template is chmoded 000
8537 2003-03-29 John Levon <levon@movementarian.org>
8541 * BufferView_pimpl.C: Alert fixes
8545 * tabular-old.C: remove unused table compat reading
8547 2003-03-29 John Levon <levon@movementarian.org>
8552 * lyx_cb.C: more Alert cleanups
8554 * lyxfunc.C: don't allow chktex if not latex document
8556 2003-03-29 John Levon <levon@movementarian.org>
8560 * buffer.C: warnings pushed down from support/,
8563 2003-03-29 John Levon <levon@movementarian.org>
8565 * lyxfunc.C: safety check for C-r (revert)
8567 2003-03-29 John Levon <levon@movementarian.org>
8570 * bufferlist.C: several UI fixes using Alert::prompt.
8571 Fix the pointless looping quit code. Fix stupid revert
8576 * lyx_cb.C: use Alert::prompt
8578 * lyx_main.C: remove a silly question
8580 * lyxfunc.C: remove a couple of silly questions,
8583 2003-03-28 John Levon <levon@movementarian.org>
8585 * text2.C: fix bug 974 (End on empty par)
8587 2003-03-28 John Levon <levon@movementarian.org>
8589 * BufferView_pimpl.C:
8591 * lfuns.h: remove do-nothing math greek lfuns
8593 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8595 * lyxgluelength.h (isValidGlueLength): add default arg on
8596 parameter 2. Remove default arg from friend in class.
8598 * lyxlength.h (isValidLength): add default arg on parameter 2.
8599 Remove default arg from friend in class.
8601 * text2.C (LyXText): adjust, initialize refresh_row.
8605 (insertParagraph): adjst
8606 (redoParagraphs): adjust
8607 (fullRebreak): adjust
8608 (updateCounters): adjust
8609 (deleteEmptyParagraphMechanism): first attempt at fixing a
8612 * text.C (top_y): adjust
8613 (setHeightOfRow): adjust
8615 (getRowNearY): adjust
8617 * lyxtext.h: include RowList.h
8618 (~LyXText): not needed anymore, deleted.
8619 (firstRow): modify for RowList
8620 (lastRow): new function
8621 Delete firstrow and lastrow class variables, add a Rowlist
8622 rowlist_ class variable.
8624 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8627 * RowList.C (insert): fix case where it == begin().
8629 2003-03-26 Angus Leeming <leeming@lyx.org>
8631 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8632 the thesaurus dialog.
8634 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8638 * RowList.[Ch]: new files
8640 * ParagraphList.C (erase): handle the case where it == begin
8643 2003-03-25 John Levon <levon@movementarian.org>
8647 * aspell.C: add new aspell support
8650 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8653 2003-03-25 Angus Leeming <leeming@lyx.org>
8656 * LyXAction.C (init): new LFUN_INSET_INSERT.
8658 * BufferView_pimpl.C (dispatch): split out part of the
8659 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8661 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8664 2003-03-25 Angus Leeming <leeming@lyx.org>
8666 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8668 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8671 * text3.C: remove useless row->height(0)
8673 2003-03-25 John Levon <levon@movementarian.org>
8677 * text3.C: rename the refreshing stuff to better names
8679 2003-03-24 John Levon <levon@movementarian.org>
8681 * BufferView_pimpl.h:
8682 * BufferView_pimpl.C: update layout choice on a mouse
8685 2003-03-23 John Levon <levon@movementarian.org>
8687 * Makefile.am: fix commandtags.h reference
8689 2003-03-22 John Levon <levon@movementarian.org>
8691 * BufferView_pimpl.C:
8696 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8698 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8701 * text.C: take the rtl methods out of line
8703 2003-03-21 André Pönitz <poenitz@gmx.net>
8705 * metricsinfo.[Ch]: new files containing structures to be passed around
8706 during the two-phase-drawing...
8708 2003-03-21 André Pönitz <poenitz@gmx.net>
8710 * lyxtextclass.C: read 'environment' tag.
8712 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8714 * text2.C (removeRow): fix bug 964
8716 2003-03-20 John Levon <levon@movementarian.org>
8720 * text2.C: paint cleanups. Inset::update() dropped font
8723 2003-03-19 John Levon <levon@movementarian.org>
8725 * lyxfunc.C: only fitcursor/markDirty if available()
8727 2003-03-19 John Levon <levon@movementarian.org>
8729 * commandtags.h: rename to ...
8731 * lfuns.h: ... this, and renumber / cleanup
8733 2003-03-19 John Levon <levon@movementarian.org>
8735 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8736 fit the cursor after an lfun
8740 * BufferView_pimpl.h:
8741 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8743 * LyXAction.C: layout-character should have ReadOnly
8745 * ParagraphParameters.C:
8747 * bufferview_funcs.C:
8754 * undo_funcs.C: changes from above
8756 2003-03-18 John Levon <levon@movementarian.org>
8758 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8759 remove it from update()
8761 * lyxfunc.C: update layout choice after an lfun
8763 * text3.C: remove extra updateLayoutChoice()s
8765 2003-03-18 John Levon <levon@movementarian.org>
8767 * text.C: top_y change means full repaint, fix
8768 a drawing bug with cursor movement
8770 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8774 * text2.C: anchor row on setCursor
8776 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8778 * lyxtext.h: remove almost all mutable keywords
8781 * text3.C: remove const keywords accordingly
8783 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8785 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8787 (TeXEnvironment): ditto
8790 2003-03-17 John Levon <levon@movementarian.org>
8792 * text.C (rowBreakPoint): remove attempt to fix displayed
8793 math insets inside a manual label
8795 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * lyxtext.h: remove BufferView* as first arg from almost all class
8799 * other files: adjust.
8801 2003-03-17 John Levon <levon@movementarian.org>
8805 * text2.C: more paint cleanups
8807 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8810 * rowpainter.C: remove "smart" background painting code
8812 2003-03-16 John Levon <levon@movementarian.org>
8817 * text3.C: add helper functions for setting refresh_row/y
8819 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8821 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8822 newline inset which *can* get inserted in the pass_thru layouts.
8823 This is primarily for literate documents.
8825 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8827 * buffer.C: increment LYX_FORMAT to 223
8829 2003-03-14 André Pönitz <poenitz@gmx.net>
8831 * textclass.h: prepare for environment handling, ws changes
8832 * lyxlayout.C: read latexheader and latexfooter tags
8834 2003-03-14 John Levon <levon@movementarian.org>
8836 * text2.C: rewrite ::status() a bit
8838 2003-03-13 John Levon <levon@movementarian.org>
8840 * lyxtext.h: add some docs
8842 2003-03-13 John Levon <levon@movementarian.org>
8847 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8849 2003-03-13 John Levon <levon@movementarian.org>
8851 * text3.C: fix appendix redrawing
8853 2003-03-13 John Levon <levon@movementarian.org>
8855 * text.C (setHeightOfRow):
8857 * rowpainter.C: make appendix mark have the text
8858 "Appendix" so the user knows what it is
8861 * LColor.C: s/appendixline/appendix/ from above
8863 2003-03-13 John Levon <levon@movementarian.org>
8865 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8867 * text.C: fix a getChar(pos) bug properly
8869 2003-03-13 Angus Leeming <leeming@lyx.org>
8872 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8873 Probably only temporary. Let's see how things pan out.
8875 * BufferView.C (unlockInset):
8876 * BufferView_pimpl.C (fitCursor):
8877 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8879 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8880 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8882 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8883 new functions that convert ParagraphParameters to and from a string.
8885 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8886 BufferView::Pimpl's dispatch.
8887 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8889 2003-03-13 André Pönitz <poenitz@gmx.net>
8893 * factory.C: make it aware of InsetEnv
8895 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8897 * text2.C (setCursor): never ask for one past last
8898 (setCursor): add some debugging messages.
8900 * text.C (singleWidth): never ask for one past last
8901 (singleWidth): ditto
8903 (rightMargin): ditto
8904 (rowBreakPoint): ditto
8905 (setHeightOfRow): ditto
8906 (prepareToPrint): ditto
8908 * rowpainter.C (paintBackground): never ask for one past last
8909 (paintText): never ask for one past last
8911 * paragraph_pimpl.C (getChar): make the assert stricter, never
8912 allow the one past last pos to be taken
8914 * paragraph.C (getChar): ws changes only
8916 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8917 (numberOfSeparators): ditto
8918 (numberOfHfills): ditto
8920 2003-03-12 John Levon <levon@movementarian.org>
8926 * paragraph_funcs.C: fix per-buffer authorlists
8928 2003-03-12 John Levon <levon@movementarian.org>
8930 * text.C: fix newline in right address
8932 2003-03-12 Angus Leeming <leeming@lyx.org>
8934 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8935 duplicate those in LyXFunc::dispatch.
8939 * ToolbarDefaults.C:
8940 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8941 Add LFUN_FONTFREE_UPDATE.
8943 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8944 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8946 * bufferview_func.[Ch]: several new functions to facilliate
8947 transfer of data to and from the character dialog.
8949 2003-03-12 John Levon <levon@movementarian.org>
8954 * paragraph_funcs.C:
8955 * paragraph_pimpl.C:
8959 * text3.C: remove META_NEWLINE in favour of an inset
8962 * rowpainter.C: remove paintNewline (done by inset)
8964 2003-03-12 John Levon <levon@movementarian.org>
8966 * paragraph_pimpl.C: complain about bad getChar()s
8967 for a while at least
8969 2003-03-12 John Levon <levon@movementarian.org>
8972 * buffer.C: move paragraph read into a separate function,
8973 a little renaming to reflect that.
8976 * bufferparams.C: remove the author_ids map, not necessary now
8979 * factory.C: moved Buffer::readInset to here
8981 * paragraph_funcs.h:
8982 * paragraph_funcs.C: readParagraph free function moved from
8985 * tabular.C: name change
8987 2003-03-12 John Levon <levon@movementarian.org>
8990 * ParagraphParameters.C: move par params input to
8993 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8994 behave like a normal read from the stream wrt reading
8995 a line vs. a \\token
8997 2003-03-12 John Levon <levon@movementarian.org>
9000 * ParagraphParameters.h:
9001 * ParagraphParameters.C: move output code to a
9004 2003-03-12 John Levon <levon@movementarian.org>
9006 * BufferView.C (insertLyXFile):
9009 * tabular.C: use a parlist iterator for creating the
9012 2003-03-12 John Levon <levon@movementarian.org>
9014 * buffer.C: make current_change static local not
9017 2003-03-12 John Levon <levon@movementarian.org>
9019 * buffer.C: fix insertStringAsLines for change tracking
9021 2003-03-12 John Levon <levon@movementarian.org>
9028 * bufferparams.C: move author list into params. Rename some
9029 functions. Move the header reading into a separate token
9030 loop. Move the header token reading into BufferParams.
9032 2003-03-12 John Levon <levon@movementarian.org>
9034 * changes.C: put debug inside lyxerr.debugging() checks
9036 2003-03-11 André Pönitz <poenitz@gmx.net>
9038 * factory.C: make it aware of InsetHFill
9040 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9042 * buffer.C (latexParagraphs): move function from here...
9043 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9046 2003-03-10 Angus Leeming <leeming@lyx.org>
9048 * LyXAction.C (init): fix bug in poplating array with multiple entries
9049 with the same LFUN (spotted by JMarc).
9051 2003-03-10 John Levon <levon@movementarian.org>
9054 * text2.C: move getColumnNearX() near its
9057 2003-03-10 John Levon <levon@movementarian.org>
9059 * text.C: fix break before a minipage
9061 2003-03-10 John Levon <levon@movementarian.org>
9063 * text.C: fix the last commit
9065 2003-03-09 John Levon <levon@movementarian.org>
9069 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9070 bug 365 (don't break before insets unless needed). Don't
9071 return a value > last under any circumstances.
9073 2003-03-09 Angus Leeming <leeming@lyx.org>
9075 * BufferView_pimpl.C (trackChanges, dispatch): call
9076 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9078 2003-03-09 Angus Leeming <leeming@lyx.org>
9080 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9081 than Dialogs::showAboutlyx().
9083 2003-03-09 Angus Leeming <leeming@lyx.org>
9085 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9086 than Dialogs::showTabularCreate().
9088 2003-03-09 John Levon <levon@movementarian.org>
9092 * text2.C: 3rd arg to nextBreakPoint was always the same.
9095 2003-03-08 John Levon <levon@movementarian.org>
9102 * text2.C: Remove the "main" bit from the "main body"
9105 2003-03-08 John Levon <levon@movementarian.org>
9107 * text.C (leftMargin): The left margin of an empty
9108 manual label paragraph should not include the label width
9111 * text.C (prepareToPrint): don't attempt to measure hfills
9112 for empty manual label paragraphs - the answer should be 0
9114 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9116 * CutAndPaste.C: remove commented code and reindent.
9118 2003-03-08 John Levon <levon@movementarian.org>
9121 * lyxfunc.C: move reloadBuffer()
9124 * BufferView.C: to here
9126 * lyxvc.C: add comment
9129 * vc-backend.C: call bv->reload() to avoid
9130 getStatus() check on MENURELOAD
9132 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9134 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9135 to an old format .dep file.
9137 2003-03-07 Angus Leeming <leeming@lyx.org>
9139 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9140 when the LFUN_MOUSE_RELEASE should have been handled by
9141 inset->localDispatch.
9143 2003-03-07 Angus Leeming <leeming@lyx.org>
9145 * BufferView_pimpl.C (dispatch):
9146 * LyXAction.C (init):
9147 * ToolbarDefaults.C (init):
9149 * lyxfunc.C (getStatus):
9150 remove LFUN_INSET_GRAPHICS.
9152 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9154 2003-03-07 Angus Leeming <leeming@lyx.org>
9157 * LyXAction.C (init):
9158 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9160 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9163 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9165 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9166 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9168 2003-03-07 Angus Leeming <leeming@lyx.org>
9170 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9173 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9175 * ParagraphList.C (front): new function
9178 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9180 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9181 and top_row_offset_. removed var first_y.
9183 * text2.C (LyXText, removeRow):
9185 * BufferView_pimpl.C:
9186 use these methods instead of using first_y
9188 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9190 * text2.C (pasteSelection): adjust for checkPastePossible
9192 * CutAndPaste.C: remove Paragraph * buf and replace with
9193 ParagraphList paragraphs.
9194 (DeleteBuffer): delete
9195 (cutSelection): change the tc type to textclass_type
9196 (copySelection): change the tc type to textclass_type
9197 (copySelection): adjust for ParagraphList
9198 (pasteSelection): change the tc type to textclass_type
9199 (pasteSelection): adjust for Paragraphlist
9200 (nrOfParagraphs): simplify for ParagraphList
9201 (checkPastePossible): simplify for ParagraphList
9202 (checkPastePossible): remove unused arg
9204 * ParagraphList.C (insert): handle the case where there are no
9207 * CutAndPaste.h: make CutAndPaste a namespace.
9209 * text3.C (dispatch): adjust
9211 * text.C (breakParagraph): add a ParagraphList as arg
9213 * paragraph_funcs.C (breakParagraph): change to take a
9214 BufferParams and a ParagraphList as args.
9215 (breakParagraphConservative): ditto
9216 (mergeParagraph): ditto
9217 (TeXDeeper): add a ParagraphList arg
9218 (TeXEnvironment): ditto
9221 * buffer.C (readLyXformat2): adjust
9222 (insertStringAsLines): adjust
9223 (latexParagraphs): adjust
9225 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9226 (cutSelection): adjust
9227 (pasteSelection): adjust
9229 * BufferView_pimpl.C (insertInset): adjust
9231 2003-03-05 Angus Leeming <leeming@lyx.org>
9234 * LyXAction.C (init):
9235 * BufferView_pimpl.C (dispatch):
9236 * lyxfunc.C (getStatus):
9237 remove LFUN_CHILD_INSERT.
9239 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9241 2003-03-05 Angus Leeming <leeming@lyx.org>
9244 * LyXAction.C (init):
9245 * src/factory.C (createInset):
9246 * lyxfunc.C (getStatus):
9247 * text3.C (dispatch):
9248 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9250 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9252 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9254 * ParagraphList.C (insert): handle insert right before end()
9255 (erase): fix cases where it can be first or last paragraph.
9257 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9259 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9260 Paragraph::next and Paragraph::previous
9263 * text.C (breakParagraph): adjust
9265 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9266 BufferParams& as arg.
9267 (breakParagraph): use ParagraphList::insert
9268 (breakParagraphConservative): take a Buffer* instead of a
9269 BufferParams& as arg.
9270 (breakParagraphConservative): use ParagraphList::insert.
9272 * buffer.C (insertStringAsLines): un-const it
9273 (insertStringAsLines): adjust
9275 * ParagraphList.C (insert): new function
9277 * CutAndPaste.C (pasteSelection): adjust
9279 * text.C (backspace): adjust
9281 * tabular.C (SetMultiColumn): adjust
9283 * CutAndPaste.C (cutSelection): adjust
9284 (pasteSelection): adjust
9286 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9287 Buffer const * as arg
9289 * ParagraphList.C (erase): new function
9290 * paragraph_funcs.C (mergeParagraph): use it
9291 (mergeParagraph): make it take a Buffer* instead of a
9292 BufferParams* as arg
9294 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9296 (breakParagraphConservative): ditto
9298 * paragraph.h: remove the breakParagraph friend
9300 * paragraph.C (eraseIntern): new function
9301 (setChange): new function
9303 * paragraph_funcs.C (mergeParagraph): make it take a
9304 ParagraphList::iterator instead of a Paragraph *, adjust
9307 * paragraph.h: move an #endif so that the change tracking stuff
9308 also works in the NO_NEXT case.
9310 2003-03-04 Angus Leeming <leeming@lyx.org>
9313 * LyXAction.C: new LFUN_INSET_MODIFY.
9315 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9316 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9318 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9320 * several files: ws changes only
9322 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9323 (TeXEnvironment): ditto
9326 * buffer.C (makeLaTeXFile): adjust
9327 (latexParagraphs): make it take ParagraphList::iterator as args
9329 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9331 * buffer.C (latexParagraphs): adjust
9333 * paragraph.C (TeXOnePar): move function...
9334 (optArgInset): move function...
9335 (TeXEnvironment): move function...
9336 * paragraph_pimpl.C (TeXDeeper): move function...
9337 * paragraph_funcs.C: ...here
9339 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9341 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9343 * buffer.C (readInset): remove compability code for old Figure and
9346 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9348 * buffer.C: ws changes
9351 * BufferView_pimpl.C: ditto
9354 * bufferlist.h: ditto
9358 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9360 * converter.[Ch]: split into itself +
9363 * Makefile.am: += graph.[Ch] + format.[Ch]
9370 * lyxrc.C: added #include "format.h"
9372 2003-02-27 Angus Leeming <leeming@lyx.org>
9374 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9377 * factory.C (createInset): add "label" to the factory.
9379 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9380 string and do no more.
9382 2003-02-27 Angus Leeming <leeming@lyx.org>
9385 * LyXAction.C (init):
9386 * factory.C (createInset):
9387 * BufferView_pimpl.C (dispatch):
9388 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9390 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9392 * lyxfunc.C (dispatch):
9393 * text3.C (dispatch): pass name to params2string.
9395 2003-02-26 Angus Leeming <leeming@lyx.org>
9397 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9399 Rearrange the ~includes. Strip out the unnecessary ones.
9401 * factory.C (createInset): reformat.
9402 create new insets for the various LFUN_XYZ_APPLY lfuns.
9404 2003-02-26 John Levon <levon@movementarian.org>
9407 * lyxrow.C: add isParStart,isParEnd helpers
9409 * paragraph.h: make isInserted/DeletedText take refs
9411 * paragraph_funcs.h:
9412 * paragraph_funcs.C: remove #if 0'd code
9417 * text.C: use lyxrow helpers above.
9418 Move draw and paint routines to RowPainter.
9419 Make several methods use refs not pointers.
9420 Make backgroundColor() const.
9421 Add markChangeInDraw(), isInInset().
9422 Merge changeRegionCase into changeCase.
9423 Make workWidth() shouldn't-happen code into an Assert.
9426 * rowpainter.C: new class for painting a row.
9429 * vspace.C: make inPixels take a ref
9431 2003-02-26 Angus Leeming <leeming@lyx.org>
9433 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9436 2003-02-25 John Levon <levon@movementarian.org>
9438 * ispell.C: give the forked command a more accurate name
9440 2003-02-22 John Levon <levon@movementarian.org>
9443 * toc.C: make TocItem store an id not a Paragraph *
9446 2003-02-21 Angus Leeming <leeming@lyx.org>
9448 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9449 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9450 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9451 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9452 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9453 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9455 * BufferView_pimpl.C (dispatch):
9456 * LyXAction.C (init):
9457 * factory.C (createInset):
9458 * lyxfunc.C (getStatus, dispatch):
9459 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9461 2003-02-21 Angus Leeming <leeming@lyx.org>
9463 * BufferView_pimpl.C (MenuInsertLyXFile):
9464 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9465 * lyxfunc.C (menuNew, open, doImport):
9466 no longer pass a LyXView & to fileDlg.
9468 2003-02-21 Angus Leeming <leeming@lyx.org>
9470 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9471 * LyXAction.C: change, BIBKEY to BIBITEM.
9472 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9473 Change InsetBibKey to InsetBibitem.
9474 Change BIBKEY_CODE to BIBITEM_CODE.
9475 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9476 * factory.C: replace insetbib.h with insetbibitem.h.
9477 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9478 * paragraph.C: replace insetbib.h with insetbibitem.h.
9479 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9480 Change bibkey() to bibitem().
9481 * text.C: remove insetbib.h.
9482 * text2.C: replace insetbib.h with insetbibitem.h.
9483 change bibkey() to bibitem().
9484 * text3.C: remove insetbib.h.
9485 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9487 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9489 * lyxrc.C (output): enclose user email in quotes (in case there are
9492 2003-02-18 John Levon <levon@movementarian.org>
9494 * buffer.h: add std::
9496 2003-02-17 John Levon <levon@movementarian.org>
9502 * pspell.C: reworking. Especially in ispell, a large
9503 number of clean ups and bug fixes.
9505 * lyxfunc.C: fix revert to behave sensibly
9507 2003-02-17 André Pönitz <poenitz@gmx.net>
9510 * commandtags.h: new LFUN_INSERT_BIBKEY
9520 * paragraph_func.C: remove special bibkey handling
9522 2003-02-17 John Levon <levon@movementarian.org>
9524 * text.C (Delete): fix case where delete at the end of
9525 the very first paragraph would not merge the pars
9527 2003-02-17 John Levon <levon@movementarian.org>
9529 * lyxrow.C: fix lastPrintablePos()
9531 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9533 * bufferparams.C (writeLaTeX): add a std:here
9535 * buffer.C: and remove a using directive there
9537 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9539 * buffer.C (makeLaTeXFile): move the code that generates the
9542 * bufferparams.C (writeLaTeX): ... in this new method
9544 * LaTeXFeatures.C (getEncodingSet): make const
9545 (getLanguages): make const
9547 * MenuBackend.C (binding): returns the binding associated to this
9549 (add): sets the status of each item by calling getStatus. Adds
9551 (read): add support for OptSubMenu
9552 (expand): remove extra separator at the end of expanded menu
9554 2003-02-15 John Levon <levon@movementarian.org>
9557 * BufferView_pimpl.C:
9559 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9560 inset code that had no actual effect. Remove unneeded status
9563 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9568 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9570 * text.C (drawLengthMarker): also draw an arrow marker for
9571 symbolic lengths (medskip...)
9573 2003-02-14 John Levon <levon@movementarian.org>
9576 * tabular.C: better method names
9578 2003-02-14 John Levon <levon@movementarian.org>
9580 * BufferView_pimpl.C:
9585 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9586 it's a more accurate name. Remove some pointless uses.
9588 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9590 * text2.C (LyXText): change order of initilizers to shut off
9593 2003-02-14 John Levon <levon@movementarian.org>
9595 * buffer.C: use ParIterator for getParFromID()
9599 * paragraph_pimpl.h:
9600 * paragraph_pimpl.C: remove unused getParFromID()
9602 2003-02-14 John Levon <levon@movementarian.org>
9604 * buffer.C: remove some very old #if 0'd parse code
9606 2003-02-13 John Levon <levon@movementarian.org>
9610 * text2.C: move hfillExpansion(), numberOfSeparators(),
9611 rowLast(), rowLastPrintable(), numberofHfills(),
9612 numberOfLabelHfills() ...
9615 * lyxrow.C: ... to member functions here.
9620 * text.C: remove LyXText::beginningOfMainBody(), and call
9621 p->beginningOfMainBody() directly. Move the check for
9622 LABEL_MANUAL into the latter.
9629 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9635 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9636 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9638 2003-02-13 John Levon <levon@movementarian.org>
9640 * CutAndPaste.C: remove debug
9642 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9644 * paragraph.C (asString): remove two unused variables
9646 * lyxtextclass.C (readTitleType):
9648 (LyXTextClass): handle new members titletype_ and titlename_
9650 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9652 2003-02-09 John Levon <levon@movementarian.org>
9655 * buffer.C: replace hand-coded list with a map for the dep clean
9657 2003-02-08 John Levon <levon@movementarian.org>
9659 * LaTeX.C: consolidate code into showRunMessage() helper
9661 2003-02-08 John Levon <levon@movementarian.org>
9666 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9667 and pass the size in explicitly
9669 * BufferView_pimpl.h:
9670 * BufferView_pimpl.C:
9672 * BufferView.C: add getCurrentChange()
9674 * BufferView_pimpl.h:
9675 * BufferView_pimpl.C: handle change lfuns
9677 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9678 for changes. Mark pasted paragraphs as new.
9680 * support/lyxtime.h:
9681 * support/lyxtime.C:
9682 * DepTable.C: abstract time_t as lyx::time_type
9685 * LColor.C: add colours for new text, deleted text, changebars
9687 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9688 package use "usenames" option.
9692 * LyXAction.C: add change lfuns
9696 * author.C: author handling
9699 * buffer.C: add a per-buffer author list, with first entry as
9700 current author. Handle new .lyx tokens for change tracking. Output
9701 author list to .lyx file. Output dvipost stuff to .tex preamble.
9702 Bump lyx format to 222.
9705 * bufferlist.C: add setCurrentAuthor() to reset current author details
9709 * bufferparams.C: add param for tracking
9711 * bufferview_funcs.C: output change info in minibuffer
9715 * changes.C: add change-tracking structure
9718 * debug.C: add CHANGES debug flag
9721 * lyxfind.C: add code for finding the next change piece
9724 * lyxrc.C: add user_name and user_email
9727 * lyxrow.C: add a metric for the top of the text line
9730 * text.C: implement accept/rejectChange()
9733 * text.C: paint changebars. Paint new/deleted text in the chosen
9734 colours. Strike through deleted text.
9738 * paragraph_pimpl.h:
9739 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9740 in the current change to the insert functions. Rework erase to
9741 mark text as deleted, adding an eraseIntern() and a range-based
9742 erase(). Implement per-paragraph change lookup and
9745 * paragraph_funcs.C: Fixup paste for change tracking.
9747 * tabular.C: mark added row/columns as new.
9749 * text.C: fix rowLast() to never return -1. Don't allow
9750 spellchecking of deleted text. Track transpose changes. Don't
9751 allow paragraph break or merge where appropriate.
9753 * text2.C: leave cursor at end of selection after a cut.
9755 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9757 * text.C (getLengthMarkerHeight):
9758 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9759 visible on screen too.
9761 2003-02-07 John Levon <levon@movementarian.org>
9763 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9765 2003-02-05 Angus Leeming <leeming@lyx.org>
9767 * lyxserver.C (read_ready): revert my patch of 11 September last year
9768 as it sends PC cpu through the roof. Presumably this means that
9769 the lyxserver will no longer run on an Alpha...
9771 2003-01-30 Angus Leeming <leeming@lyx.org>
9773 * factory.C (createInset): create an InsetCommandParam of type "index"
9774 and use it to 'do the right thing'.
9776 * text2.C (getStringToIndex): ensure that cursor position is always
9777 reset to the reset_cursor position.
9779 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9781 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9784 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9788 * lyxfunc.C: Output messages with identical spelling, punctuation,
9791 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9793 * MenuBackend.C (expandFormats): List only viewable export formats
9796 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9799 * lyxfunc.C (getStatus): Make sure that formats other than
9800 "fax" can also be disabled
9802 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9804 * text3.C (dispatch): put the lfuns that insert insets in 3
9805 groups, and call doInsertInset with appropriate arguments.
9806 (doInsertInset): new function, that creates an inset and inserts
9807 it according to some boolean parameters.
9809 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9811 * buffer.C (readFile): remember to pass on 'par' when calling
9812 readFile recursively.
9814 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9816 * MenuBackend.C (expandFormats): add "..." to import formats.
9818 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9820 * paragraph.C (asString): Remove XForms RTL hacks.
9822 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9823 * buffer.C: fix typo
9825 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9827 * Makefile.am (LIBS): delete var
9828 (lyx_LDADD): add @LIBS@ here instead.
9830 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9832 * Clarify the meaning of "wheel mouse jump"
9834 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9836 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9839 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9841 * importer.C (Loaders): do not preallocate 3 elements in the
9842 vector, since one ends up with 6 elements otherwise
9844 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9846 * DepTable.C (write): write the file name as last element of the
9847 .dep file (because it may contain spaces)
9848 (read): read info in the right order
9850 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9852 * paragraph_pimpl.C (simpleTeXBlanks):
9853 (simpleTeXSpecialChars):
9854 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9856 * tabular.C (latex): add some missing case statements. Reindent.
9858 * MenuBackend.C (expandToc): remove unused variable.
9860 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9869 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9872 2003-01-05 John Levon <levon@movementarian.org>
9875 * BufferView.C: add getEncoding()
9878 * kbsequence.C: do not store last keypress
9881 * lyxfunc.C: store last keypress here instead. Pass encoding
9884 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9886 * lyx_main.C (init): remove annoying error message when following
9887 symbolic links (bug #780)
9889 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9891 * text.C (insertChar):
9892 * lyxrc.C (getDescription): remove extra spaces
9894 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9896 * lyxrc.C (getDescription): remove extra spaces
9898 2002-12-20 John Levon <levon@movementarian.org>
9900 * text3.C: hack fix for page up/down across tall rows
9902 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9904 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9907 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9909 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9910 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9911 thesaurus is not compiled in
9913 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9915 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9917 2002-12-16 Angus Leeming <leeming@lyx.org>
9920 * lyx_main.C (init): remove override_x_deadkeys stuff.
9922 2002-12-12 John Levon <levon@movementarian.org>
9924 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9925 insert. Only remove shift modifier under strict
9928 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9930 * MenuBackend.C (expandToc): fix crash.
9932 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9934 * MenuBackend.C (expandToc): gettext on float names.
9936 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9938 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9939 implement bool empty() [bug 490]
9941 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9943 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9945 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9947 * several files: ws changes
9949 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9951 * text2.C (setCounter): clean up a bit, use boost.format.
9952 (updateCounters): initialize par upon declaration.
9954 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9955 if the layout exists. We do not just store the layout any more.
9956 (SwitchLayoutsBetweenClasses): use boost.format
9958 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9960 * converter.C (convert): if from and to files are the same, use a
9961 temporary files as intermediary
9963 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9966 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9968 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9970 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9972 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9974 * tabular.C (asciiPrintCell): use string(size, char) instead of
9977 * sgml.C (openTag): fix order of arguments to string constructor
9980 * lyxfunc.C (dispatch): use boost.format
9982 * lots of files: change "c" -> 'c'
9984 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9986 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9988 2002-11-25 Angus Leeming <leeming@lyx.org>
9990 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9992 * lyx_main.C (init): compile fix.
9994 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9996 * lyx_cb.C (start): boost.formatify
9997 do not include <iostream>
9999 * lengthcommon.C: ws only
10001 * boost-inst.C,BoostFormat.h: add more explict instantations
10003 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10005 * lots of files: handle USE_BOOST_FORMAT
10007 2002-11-21 John Levon <levon@movementarian.org>
10009 * pspell.C: fix compile
10011 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10013 * lyxfunc.C (dispatch): use boost::format
10017 * lyxfont.C (stateText): use boost::format
10019 * lyx_main.C (LyX): use boost::format
10021 (queryUserLyXDir): ditto
10022 (readRcFile): ditto
10024 (typedef boost::function): use the recommened syntax.
10026 * importer.C (Import): use boost::format
10028 * debug.C (showLevel): use boost::format
10030 * converter.C (view): use boost::format
10035 * bufferview_funcs.C (currentState): use boost::format
10037 * bufferlist.C (emergencyWrite): use boost::format
10039 * buffer.C (readLyXformat2): use boost::format
10040 (parseSingleLyXformat2Token): ditto
10042 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10044 * LaTeX.C (run): use boost::format
10046 * Chktex.C (scanLogFile): use boost::format
10048 * BufferView_pimpl.C (savePosition): use boost::format
10049 (restorePosition): ditto
10050 (MenuInsertLyXFile): ditto
10052 * BoostFormat.h: help file for explicit instation.
10054 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10056 * tabular.C (latex): Support for block alignment in fixed width
10059 2002-11-17 John Levon <levon@movementarian.org>
10061 * BufferView_pimpl.C:
10063 * lyxfunc.C: split filedialog into open/save
10065 2002-11-08 Juergen Vigna <jug@sad.it>
10067 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10068 by my last patch (hopefully).
10070 2002-11-08 John Levon <levon@movementarian.org>
10079 * toc.C: ParConstIterator, and use it (from Lars)
10081 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10083 * lyxtextclass.[Ch]: revise and add doxygen comments
10085 2002-11-07 John Levon <levon@movementarian.org>
10087 * text.C: fix progress value for spellchecker
10089 * toc.C: fix navigate menu for insetwrap inside minipage
10091 * paragraph_funcs.C: added FIXME for suspect code
10093 2002-11-07 John Levon <levon@movementarian.org>
10095 * BufferView_pimpl.C: fix redrawing of insets
10098 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10100 * text2.C (updateCounters): fix bug 668
10102 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10104 * text3.C (dispatch): Do not make the buffer dirty when moving the
10107 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10109 * vc-backend.C: STRCONV
10110 (scanMaster): ditto
10112 * text2.C (setCounter): STRCONV
10114 * paragraph.C (asString): STRCONV
10116 * lyxlength.C (asString): STRCONV
10117 (asLatexString): ditto
10119 * lyxgluelength.C (asString): STRCONV
10120 (asLatexString): ditto
10122 * lyxfunc.C (dispatch): STRCONV
10125 * lyxfont.C (stateText): STRCONV
10127 * importer.C (Import): STRCONV
10129 * counters.C (labelItem): STRCONV
10130 (numberLabel): ditto
10131 (numberLabel): remove unused ostringstream o
10136 * bufferview_funcs.C (currentState): STRCONV
10138 * buffer.C (readFile): STRCONV
10139 (asciiParagraph): ditto
10140 (makeLaTeXFile): ditto
10142 * Spacing.C (writeEnvirBegin): STRCONV
10144 * LaTeXFeatures.C (getLanguages): STRCONV
10145 (getPackages): ditto
10147 (getBabelOptions): ditto
10148 (getTClassPreamble): ditto
10149 (getLyXSGMLEntities): ditto
10150 (getIncludedFiles): ditto
10154 (scanAuxFile): ditto
10157 * LString.h: add the STRCONV macros
10159 * BufferView_pimpl.C (savePosition): STRCONV
10160 (restorePosition): ditto
10161 (MenuInsertLyXFile): ditto
10163 * vc-backend.C (scanMaster): change from submatch[...] to
10166 * funcrequest.C: include config.h
10168 * factory.C: include config.h
10170 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10172 * box.C: include config.h
10174 * LaTeX.C (scanAuxFile): change from submatch[...] to
10178 2002-10-25 Angus Leeming <leeming@lyx.org>
10180 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10182 * ispell.[Ch] (setError): new method.
10183 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10184 Use setError() insetead of goto END.
10186 * lyx_cb.C (AutoSave): move out child process into new class
10189 2002-10-30 John Levon <levon@movementarian.org>
10191 * text3.C: make start appendix undoable
10193 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10195 * lyxlength.C (inPixels): Fix returned value.
10197 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10200 2002-10-24 Angus Leeming <leeming@lyx.org>
10202 * lyxgluelength.h: no need to forward declare BufferParams
10203 or BufferView, so don't.
10205 2002-10-21 John Levon <levon@movementarian.org>
10207 * BufferView.C: menuUndo ->undo, redo
10209 * BufferView.h: document, remove dead, make some methods private
10211 * paragraph_funcs.h:
10212 * paragraph_funcs.C:
10213 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10218 * sgml.C: move sgml open/close tag into sgml.C
10220 * bufferview_funcs.h: unused prototype
10223 * lyxfunc.C: remove unused
10226 * text.C: remove unused
10228 2002-10-21 John Levon <levon@movementarian.org>
10232 * BufferView_pimpl.h:
10233 * BufferView_pimpl.C: fix mouse wheel handling based on
10234 patch from Darren Freeman
10236 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10238 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10240 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10242 * lyxlength.C (inPixels): Fix hanfling of negative length.
10243 Fix LyXLength::MU case.
10245 2002-10-16 John Levon <levon@movementarian.org>
10247 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10249 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10251 * converter.C (view): add support for $$i (file name) and $$p
10252 (file path) for the viewer command. If $$i is not specified, then
10253 it is appended to the command (for compatibility with old syntax)
10255 2002-10-14 Juergen Vigna <jug@sad.it>
10257 * undo_funcs.C (textHandleUndo): alter the order in which the
10258 new undopar is added to the LyXText, as we have to set first
10259 the right prev/next and then add it as otherwise the rebuild of
10260 LyXText is not correct. Also reset the cursor to the right paragraph,
10261 with this IMO we could remove the hack in "redoParagraphs()".
10263 2002-10-09 Angus Leeming <leeming@lyx.org>
10265 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10266 to turn off an optimisation if a new inset is to be inserted.
10268 2002-10-11 André Pönitz <poenitz@gmx.net>
10270 * lyxtext.h: make some functions public to allow access
10271 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10273 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10275 * text3.C (dispatch): when changing layout, avoid an infinite loop
10278 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10280 * lyxrc.C (read): treat a viewer or converter command of "none" as
10283 * MenuBackend.C (expandFormats): for an update, also allow the
10284 formats that are not viewable
10286 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10287 script if it is newer than the lyxrc.defaults in user directory
10289 2002-10-07 André Pönitz <poenitz@gmx.net>
10291 * text.C: Vitaly Lipatov's small i18n fix
10293 2002-09-25 Angus Leeming <leeming@lyx.org>
10295 * ispell.h: doxygen fix.
10297 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10299 * buffer.h (readFile): Add a new argument to the method, to allow
10300 reading of old-format templates.
10302 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10304 * toc.C (getTocList): Get TOC from InsetWrap.
10306 2002-09-16 John Levon <levon@movementarian.org>
10308 * lyxfunc.C: check tabular for cut/copy too
10310 2002-09-12 John Levon <levon@movementarian.org>
10312 * LyXAction.C: tidy
10315 * factory.C: add header
10317 * paragraph_funcs.h:
10318 * paragraph_funcs.C: cleanup
10320 2002-09-11 John Levon <levon@movementarian.org>
10322 * PrinterParams.h: odd/even default to true
10324 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10326 * PrinterParams.h: update printer parameters for new xforms dialog
10328 2002-09-11 Angus Leeming <leeming@lyx.org>
10330 * lyxserver.C (read_ready): re-write to make it more transparent
10331 and to make it work in coherent fashion under Tru64 Unix.
10333 2002-09-11 André Pönitz <poenitz@gmx.net>
10337 * text3.C: implement LFUN_WORDSEL
10339 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10341 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10342 make floatlist_ a boost::shared_ptr<FloatList>
10344 * lyxtextclass.C: include FloatList.h
10345 (LyXTextClass): initialize floatlist_
10346 (TextClassTags): add TC_NOFLOAT
10347 (Read): match "nofloat" to TC_NOFLOAT and use it.
10348 (readFloat): modify call to floatlist_
10352 * FloatList.[Ch] (FloatList): remove commented out float
10354 (erase): new function
10356 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10358 * MenuBackend.C (expandToc): fix crash when there is no document
10361 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10363 * many files: Add insetwrap.
10365 2002-09-09 John Levon <levon@movementarian.org>
10367 * text2.C: remove confusing and awkward depth wraparound
10369 2002-09-09 John Levon <levon@movementarian.org>
10371 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10374 * buffer.C: remove getIncludeonlyList()
10377 * lyxfunc.C: remove headers
10379 2002-09-09 Juergen Vigna <jug@sad.it>
10381 * text.C (getColumnNearX): fix form Michael this is most
10382 probably a cut&paste bug.
10384 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10386 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10388 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10389 references, ws changes.
10391 * text2.C (init): update counters after init
10392 (insertParagraph): no need to set counter on idividual paragraphs.
10393 (setCounter): access the counters object in the textclass object
10394 on in the buffer object.
10395 (updateCounters): ditto
10397 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10398 shared_ptr<Counters> to avoid loading counters.h in all
10400 (LyXTextClass): initialize ctrs_
10401 (TextClassTags): add TC_COUNTER, and ...
10402 (Read): use it here.
10403 (CounterTags): new tags
10404 (readCounter): new function
10405 (counters): new funtion
10406 (defaultLayoutName): return a const reference
10408 * counters.C (Counters): remove contructor
10409 (newCounter): remove a couple of unneeded statements.
10410 (newCounter): simplify a bit.
10411 (numberLabel): some small formatting changes.
10413 * buffer.[Ch]: remove all traces of counters, move the Counters
10414 object to the LyXTextClass.
10416 2002-09-06 Alain Castera <castera@in2p3.fr>
10418 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10419 package to set the horizontal alignment on fixed width columns.
10422 * lyx_sty.h: added tabularnewline macro def.
10424 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10426 2002-09-06 John Levon <levon@movementarian.org>
10428 * LyXAction.C: tooltips for sub/superscript
10430 * MenuBackend.C: a bit more verbose
10432 * lyxfunc.C: tiny clean
10434 * undo_funcs.C: document undo_frozen
10436 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10438 * counters.C (Counters): add missing algorithm counter.
10440 * text2.C (setCounter): lookup the counter with layouts latexname
10441 instead of by section number.
10442 (setCounter): use a hackish way to lookup the correct enum
10444 a float name->type change
10445 reset enum couners with counter name directly instead of depth value.
10447 * counters.C (Counters): remove the push_backs, change to use the
10448 float type not the float name.
10449 (labelItem): remove unused string, float name->type change
10451 * counters.h: don't include vector, loose the enums and sects vectors
10453 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10455 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10456 (Read): add float->TC_FLOAT to textclassTags
10457 (Read): and handle it in the switch
10458 (readFloat): new function
10460 * FloatList.C (FloatList): comment out the hardcoded float
10463 * lyxlayout.h: ws change.
10465 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10467 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10469 2002-09-03 Angus Leeming <leeming@lyx.org>
10471 * BufferView_pimpl.h: qualified name is not allowed in member
10472 declaration: WorkArea & Pimpl::workarea() const;
10474 * factory.C: added using std::endl directive.
10476 * text3.C: added using std::find and std::vector directives.
10478 2002-08-29 André Pönitz <poenitz@gmx.net>
10481 * text2.C: remove unused member number_of_rows
10484 * BufferView2.C: remove file, move contents to...
10485 * BufferView.C: ... here
10487 * BufferView_pimpl.C:
10488 * factory.C: move more inset creation to factory
10490 * vspace.C: avoid direct usage of LyXText, ws changes
10493 don't provide direct access to WorkArea, use two simple
10494 acessors haveSelction() and workHeight() instead
10497 2002-08-29 John Levon <levon@movementarian.org>
10499 * BufferView_pimpl.C (dispatch): do not continue when
10502 2002-08-28 André Pönitz <poenitz@gmx.net>
10504 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10507 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10509 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10511 * buffer.C: increment LYX_FORMAT to 221
10513 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10514 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10516 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10518 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10520 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10522 * factory.C (createInset): use LyXTextClass::floats
10524 * MenuBackend.C (expandFloatListInsert):
10525 (expandFloatInsert):
10528 * text2.C (setCounter):
10530 * LaTeXFeatures.C (useFloat):
10531 (getFloatDefinitions):
10533 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10535 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10536 floatlist_, with accessor floats().
10538 * FloatList.h: remove global FloatList
10540 2002-08-26 André Pönitz <poenitz@gmx.net>
10542 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10546 * BufferView_pimpl.C:
10547 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10549 2002-08-25 John Levon <levon@movementarian.org>
10551 * LyXAction.C: fix margin note description
10553 2002-08-24 John Levon <levon@movementarian.org>
10557 * bufferview_funcs.C:
10559 * undo_funcs.C: cleanups
10561 * lyxfunc.C: disable CUT/COPY when no selection
10563 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10565 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10566 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10568 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10569 Add backward compatibility to "mono", "gray" and "no".
10571 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10573 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10574 (and file_format >= 200).
10576 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10578 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10580 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10582 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10584 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10586 * BufferView_pimpl.C:
10593 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10594 inset and code to make it work with the paragraph code. The inset
10595 can be anywhere in the paragraph, but will only do the expected
10596 thing in LaTeX if the layout file contains the parameter line
10598 (or more generally, a nonzero value) for that layout.
10600 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10602 * paragraph.h: remove the declaration of undefined counters class
10605 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10607 * text2.C (setCounter): fixed enumeration mis-count as reported by
10608 Dr. Richard Hawkins.
10610 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * paragraph_funcs.h: remove some unneeded includes
10614 * text.C (backspace): pasteParagraph now in global scipe
10616 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10617 (pasteSelection): ditto
10619 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10620 * paragraph_funcs.C (pasteParagraph): ... here
10622 2002-08-20 André Pönitz <poenitz@gmx.net>
10624 * commandtags.h: new LFUNs for swapping/copying table row/colums
10627 * lyxfunc.C: support for new lfuns
10629 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10632 * buffer.[Ch]: remove NO_COMPABILITY stuff
10634 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10636 * boost.C (throw_exception): new file, with helper function for
10637 boost compiled without exceptions.
10642 * ParameterStruct.h:
10643 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10645 * bufferlist.C (emergencyWriteAll): use boost bind
10647 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10649 * text.C: include paragraph_funcs.h
10650 (breakParagraph): breakParagraph is now in global scope
10652 * paragraph_funcs.[Ch]: new files
10654 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10657 * buffer.C: include paragraph_funcs.h
10658 (insertStringAsLines): breakParagraph is now in global scope
10660 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10663 * CutAndPaste.C: include paragraph_funcs.h
10664 (cutSelection): breakParagraphConservative is now in global scope
10665 (pasteSelection): ditto
10667 * buffer.h: declare oprator== and operator!= for
10668 Buffer::inset_iterator
10670 * bufferlist.C (emergencyWrite): don't use fmt(...)
10672 * text3.C: add using std::endl
10674 * BufferView.C (moveCursorUpdate): remove default arg
10676 2002-08-20 André Pönitz <poenitz@gmx.net>
10678 * buffer.[Ch]: move inline functions to .C
10681 * BufferView_pimpl.C:
10683 * buffer.[Ch]: use improved inset_iterator
10686 * paragraph.[Ch]: write one paragraph at a time
10688 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10690 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10691 style if style is not specified.
10693 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10695 * text2.C (setCounter): when searching for right label for a
10696 caption, make sure to recurse to parent insets (so that a caption
10697 in a minipage in a figure float works) (bug #568)
10699 2002-08-20 André Pönitz <poenitz@gmx.net>
10701 * text3.C: new file for LyXText::dispatch() and helpers
10703 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10705 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10707 2002-08-19 André Pönitz <poenitz@gmx.net>
10710 * text.C: new LyXText::dispatch()
10712 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10714 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10716 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10718 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10721 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10723 * Makefile.am: use $(variables) instead of @substitutions@
10725 2002-08-15 André Pönitz <poenitz@gmx.net>
10728 * BufferView_pimpl.C: streamlining mathed <-> outer world
10732 * LyXAction.C: remove unused LFUN_MATH
10734 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10736 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10738 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10740 * paragraph.C (Paragraph): reformat a bit
10741 (cutIntoMinibuffer): use builtin InsetList function instad of
10745 * buffer.C: include boost/bind.hpp, add using std::for_each
10746 (writeFileAscii): use ParagraphList iterators
10747 (validate): use for_each for validate traversal of paragraphs
10748 (getBibkeyList): use ParagraphList iterators
10749 (resizeInsets): use for_each to resizeInsetsLyXText for all
10751 (getParFromID): use ParagraphList iterators
10753 * BufferView2.C (lockInset): use paragraph list and iterators
10755 2002-08-14 John Levon <levon@movementarian.org>
10757 * lyxserver.C: remove spurious xforms include
10759 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10761 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10763 2002-08-13 André Pönitz <poenitz@gmx.net>
10766 * lyxfunc.C: further cleaning
10768 2002-08-13 André Pönitz <poenitz@gmx.net>
10770 * funcrequest.h: new constructor
10772 * funcrequest.C: move stuff here from .h
10775 * BufferView_pimpl.C:
10778 * lyxfunc.C: subsequent changes
10780 * lyxfunc.h: new view() member function
10782 * lyxfunc.C: subsequent changes
10784 2002-08-13 Angus Leeming <leeming@lyx.org>
10787 * BufferView_pimpl.C:
10795 changes due to the changed LyXView interface that now returns references
10796 to member variables not pointers.
10798 2002-08-13 Angus Leeming <leeming@lyx.org>
10800 * WordLangTuple (word, lang_code): return references to strings,
10805 * lyxtext.h: forward-declare WordLangTuple.
10810 * text.C: #include "WordLangTuple.h".
10813 * text.C: (selectNextWordToSpellcheck): constify return type.
10815 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10821 * paragraph_pimpl.h:
10824 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10825 suggested by Angus.
10826 Made updateCounter always count from start of buffer, and removed
10827 second argument (par).
10828 Reverted floats number display to '#'. Perhaps I'll try again when the
10829 code base is sanitized a bit.
10831 2002-08-12 Angus Leeming <leeming@lyx.org>
10833 * buffer.[Ch] (getLabelList): constify.
10835 2002-08-07 André Pönitz <poenitz@gmx.net>
10837 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10839 * funcrequest.h: extension to keep mouse (x,y) position
10841 2002-08-12 Juergen Vigna <jug@sad.it>
10843 * BufferView2.C (insertErrors): forbid undo when inserting error
10846 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10848 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10850 * ParagraphList.[Ch]: new files
10852 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10854 * BufferView2.C (lockInset): ParagraphList changes
10857 * bufferlist.C: ditto
10861 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10863 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10864 unused class variable counter_,
10866 * paragraph.[Ch] (getFirstCounter): delete unused function
10868 * counters.C: include LAssert.h
10869 (reset): add a new function with no arg, change other version to
10870 not have def. arg and to not allow empty arg.
10872 * text2.C (setCounter): remove empty arg from call to Counters::reset
10874 2002-08-11 John Levon <levon@movementarian.org>
10876 * Makefile.am: add WordLangTuple.h
10878 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10880 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10881 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10883 * insets/insettext.C: InsetList changes
10885 * graphics/GraphicsSupport.C (operator()): InsetList changes
10887 * toc.C (getTocList): InsetList changes
10889 * paragraph_pimpl.[Ch]: InsetList changes
10891 * paragraph.[Ch]: InsetList changes
10893 * buffer.C (inset_iterator): InsetList changes
10894 (setParagraph): ditto
10895 * buffer.h (inset_iterator): ditto
10896 * iterators.C (operator++): ditto
10897 * iterators.h: ditto
10899 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10901 * InsetList.[Ch]: new files, most InsetList handling moved out of
10904 * BufferView2.C (removeAutoInsets): InsetList changes
10906 (ChangeInsets): ditto
10908 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10910 * paragraph_pimpl.h (empty): new function
10912 * paragraph.[Ch] (empty): new function
10914 * other files: use the new Paragraph::empty function
10916 2002-08-09 John Levon <levon@movementarian.org>
10918 * lyxtext.h: remove unused refresh_height
10920 2002-08-09 John Levon <levon@movementarian.org>
10927 * paragraph.C: move sgml char escaping out of paragraph
10930 * paragraph.C: remove id setter
10934 * paragraph_pimpl.C: remove dead tex_code_break_column
10936 * bufferview_funcs.C: small cleanup
10938 * lyxfunc.C: remove dead proto
10940 * lyxtext.h: make some stuff private. Remove some dead stuff.
10942 * lyxgluelength.C: make as[LyX]String() readable
10944 2002-08-08 John Levon <levon@movementarian.org>
10949 * ToolbarDefaults.C:
10952 * toc.C: lyxaction cleanup
10954 2002-08-08 John Levon <levon@movementarian.org>
10956 * BufferView2.C: small cleanup
10959 * lyxfind.C: move unnecessary header into the .C
10961 2002-08-08 John Levon <levon@movementarian.org>
10963 * funcrequest.h: just tedious nonsense
10966 * lyx_main.C: cleanups
10969 * vspace.C: remove dead header lyx_main.h
10971 2002-08-07 Angus Leeming <leeming@lyx.org>
10974 * paragraph_pimpl.h:
10975 Forward declare class Counters in paragraph.h by moving the ctrs member
10976 variable into Paragraph::Pimpl.
10977 (counters): new method, returning a reference to pimpl_->ctrs.
10979 * text2.C: ensuing changes.
10981 2002-08-07 John Levon <levon@movementarian.org>
10983 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10985 * BufferView_pimpl.C: announce X selection on double/triple
10988 * lyx_main.C: use correct bool in batch dispatch
10990 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10992 2002-08-07 André Pönitz <poenitz@gmx.net>
10994 * funcrequest.h: new class to wrap a kb_action and its argument
10997 * BufferView_pimpl[Ch]:
11001 * lyxrc.C: subsequent changes
11004 2002-08-07 John Levon <levon@movementarian.org>
11006 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11007 document options change.
11009 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11014 * makefile.am: move counters functionality over from
11015 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11017 2002-08-06 John Levon <levon@movementarian.org>
11019 * WordLangTuple.h: new file for word + language code tuple
11030 * BufferView2.C: use WordLangTuple
11033 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11035 2002-08-06 John Levon <levon@movementarian.org>
11037 * lyx_main.C: fix cmdline batch handling
11039 2002-08-06 André Pönitz <poenitz@gmx.net>
11041 * lyxrc.C: set default for show_banner to true
11043 2002-08-06 John Levon <levon@movementarian.org>
11045 * pspell.C: fix a crash, and allow new aspell to work
11047 2002-08-06 John Levon <levon@movementarian.org>
11050 * kbmap.C: small cleanup
11053 * vspace.C: add const
11055 2002-08-05 John Levon <levon@movementarian.org>
11057 * LyXAction.C: back to tabular-insert
11059 2002-08-04 John Levon <levon@movementarian.org>
11062 * BufferView.C: cosmetic change
11064 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11074 * BufferView2.C: purge all "Lyx" not "LyX" strings
11077 * lyxcursor.C: attempt to add some documentation
11082 * ToolbarDefaults.C:
11083 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11084 merge with LFUN_TABULAR_INSERT
11091 * pspell.C: split up i/pspell implementations into separate
11092 files, many cleanups
11094 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11096 * text2.C: some cleanup
11098 * lyxfunc.C: don't check for isp_command == "none" any more, it
11099 didn't make any sense
11101 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11106 * makefile.am: move counters functionality over
11107 from text2.C/paragraph.[Ch] to counters.[Ch], and
11109 2002-08-02 John Levon <levon@movementarian.org>
11111 * buffer.C: s/lyxconvert/lyx2lyx/
11113 2002-08-02 Angus Leeming <leeming@lyx.org>
11115 * lyxlex.C: revert John's change as it breaks reading of the user
11118 2002-08-02 Angus Leeming <leeming@lyx.org>
11120 * importer.C (Import):
11121 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11122 changes due to LyXView::view() now returning a boost::shared_ptr.
11124 2002-08-02 John Levon <levon@movementarian.org>
11126 * lyxlex.C: small cleanup
11128 2002-08-02 John Levon <levon@movementarian.org>
11130 * text2.C (status): small cleanup, no logic change
11132 2002-08-01 John Levon <levon@movementarian.org>
11135 * buffer.C (writeFile): don't output alerts, caller
11139 * lyx_cb.C: from above
11141 * lyxfunc.C: allow to open non-existent files
11143 2002-07-31 John Levon <levon@movementarian.org>
11145 * lyxserver.C: don't let incidental errors get
11148 2002-07-30 John Levon <levon@movementarian.org>
11150 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11152 2002-07-30 John Levon <levon@movementarian.org>
11155 * lyxserver.C: remove I/O callback too
11157 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11159 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11162 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11164 * many files: strip,frontStrip -> trim,ltrim,rtrim
11166 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11168 * PrinterParams.h: remove extern containsOnly, and include
11169 support/lstrings.h instead.
11171 * LaTeX.C (scanAuxFile): modify because of strip changes
11173 * buffer.C (makeLaTeXFile): ditto
11174 * bufferparams.C (writeFile): ditt
11175 * lyxfont.C (stateText): ditto
11176 * lyxserver.C (read_ready): ditto
11177 * vc-backend.C (scanMaster): ditto
11179 * BufferView_pimpl.h: ws changes
11181 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11183 2002-07-26 André Pönitz <poenitz@gmx.net>
11185 * kb_sequence.C: remove unnedred usings
11187 2002-07-26 Juergen Vigna <jug@sad.it>
11189 * lyxfind.C (LyXReplace): we have to check better if the returned
11190 text is not of theLockingInset()->getLockingInset().
11192 2002-07-25 Juergen Vigna <jug@sad.it>
11194 * lyxfind.C (LyXReplace): don't replace if we don't get the
11197 * undo_funcs.C (createUndo): remove debugging code.
11199 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11201 * buffer.C (parseSingleLyXformat2Token): Use default placement
11202 when reading old floats.
11204 * FloatList.C (FloatList): Change the default placement of figure
11205 and tables to "tbp".
11207 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11209 * MenuBackend.C: using std::max
11211 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11213 * MenuBackend.C (expandToc):
11214 (expandToc2): code moved from xforms menu frontend. It is now
11215 generic and TOCs are transparent to menu frontends.
11217 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11219 * toc.C (getTocList): protect against buf=0
11221 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11222 Menu as first parameter. Now, this calls itself recursively to
11223 expand a whole tree (this will be useful for TOC handling)
11224 (expandFloatInsert): remove 'wide' version of floats
11226 * MenuBackend.h (submenuname): returns the name of the submenu.
11227 (submenu): returns the submenu itself, provided it has been
11228 created by MenuBackend::expand
11230 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11232 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11233 insets which have noFontChange == true. (bug #172)
11235 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11237 * BufferView_pimpl.C: add connection objects and use them...
11240 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11242 * MenuBackend.C (expandLastfiles):
11245 (expandFloatListInsert):
11246 (expandFloatInsert):
11247 (expand): split expand in parts
11249 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11251 * lyx_gui.C: use lyx_gui::exit()
11253 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11255 * LyXAction.C: show the failing pseudo action
11257 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11259 * buffer.C (readFile): Run the lyxconvert script in order to read
11262 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11266 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11268 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11272 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11274 2002-07-22 Herbert Voss <voss@lyx.org>
11277 * lyxlength.[Ch]: add support for the vertical lengths
11279 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11281 * toc.[Ch]: std:: fixes
11283 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11285 * lyxrc.C: do not include lyx_main.h
11287 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11293 * BufferView2.C: include "lyxlex.h"
11296 * bufferparams.h: do not #include "lyxlex.h"
11298 * lyxtextclasslist.C (Add): remove method
11299 (classlist): renamed to classlist_
11301 * paragraph_pimpl.C:
11305 * bufferview_funcs.C:
11310 * toc.C (getTocList): use BufferParams::getLyXTextClass
11312 * toc.C (getTocList): use InsetFloat::addToToc
11314 * toc.[Ch]: new files, containing helper functions to handle table
11317 * lyxfunc.C (dispatch): no need to remove spaces around command
11319 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11320 first command of the sequence; it is not very clever, but I do not
11321 have a better idea, actually
11323 * LyXAction.C (LookupFunc): make sure to remove space at the
11324 beginning and end of the command
11326 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11328 * MenuBackend.C (getMenubar): new method: return the menubar of
11330 (read): treat differently reading of menu and menubar (in
11331 particular, the menubar has no name now)
11332 (Menu::menubar): remove
11334 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11337 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11339 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11340 a bibitem inset in a RTL paragraph.
11342 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11344 * paragraph_pimpl.C: constify
11346 * BufferView_pimpl.C:
11348 * lyxfunc.C: fix dispatch in a nicer way
11350 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11352 * lyxfunc.C (dispatch):
11353 * BufferView_pimpl.C:
11354 * BufferView_pimpl.h:
11356 * BufferView.h: rename Dispatch() to dispatch()
11358 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11360 * lyxlayout.C (Read): honor DependsOn tag
11362 * lyxlayout.[Ch] (depends_on): new method
11364 * version.C.in: update lyx_docversion
11366 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11368 * paragraph.C (validate): remove from here...
11369 * paragraph_pimpl.C (validate): ... and move here
11370 (isTextAt): make it const
11372 * buffer.C (getLists): ws cleanup
11374 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11376 * language.C (read): Use iso8859-1 encoding in latex_lang
11377 (this prevents LyX from crashing when using iso10646-1 encoding).
11379 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11381 * text2.C (toggleInset): if cursor is inside an inset, close the
11382 inset and leave cursor _after_ it
11384 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11386 * lyxfunc.C: move minibuffer completion handling out of here
11388 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11390 * BufferView_pimpl.C:
11391 * LaTeX.C: fix dispatch calls
11393 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11395 * text.C (drawChars): Fix Arabic text rendering.
11397 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11401 * lyxfunc.C: remove message-push/pop
11405 * lyxfunc.C: rationalise some code by removing verboseDispatch
11406 in favour of a bool argument to dispatch()
11408 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11410 * lyx_main.C (init): make sure to read symlinks as absolute paths
11412 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11415 * lyxfunc.C: no need for commandshortcut to be a member
11417 2002-07-15 André Pönitz <poenitz@gmx.net>
11419 * converter.C: add support for $$s (scripts from lib/scripts dir)
11420 * lyx_main.C: white space
11422 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11426 * lyxrc.C: remove second exit confirmation
11428 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11433 * BufferView_pimpl.h:
11434 * BufferView_pimpl.C:
11435 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11437 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * MenuBackend.C (expand): add numeric shortcuts to document menu
11441 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11443 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11445 * lyxfont.C (setLyXFamily):
11452 * buffer.C (asciiParagraph): use ascii_lowercase
11454 2002-07-15 Mike Fabian <mfabian@suse.de>
11456 * lyxlex_pimpl.C (search_kw):
11457 * lyxlex.C (getLongString):
11458 * converter.h (operator<):
11459 * converter.C (operator<):
11460 * buffer.C (parseSingleLyXformat2Token):
11462 * ToolbarDefaults.C (read):
11463 * MenuBackend.C (checkShortcuts):
11465 * LColor.C (getFromGUIName):
11466 (getFromLyXName): use the compare_ascii_no_case instead of
11467 compare_no_case, because in turkish, 'i' is not the lowercase
11468 version of 'I', and thus turkish locale breaks parsing of tags.
11470 2002-07-16 Angus Leeming <leeming@lyx.org>
11472 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11473 now takes a Buffer const & argument.
11475 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11477 * BufferView.C (resize): check there's a buffer to resize
11479 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11481 * lyxfunc.C: remove dead code
11484 * lyxserver.C: use lyx_guii::set_read_callback
11486 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11488 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11489 an inset in a RTL paragraph.
11491 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11493 * lyxfunc.C: repaint after a font size update
11495 2002-07-15 André Pönitz <poenitz@gmx.net>
11497 * lyxlength.C: inBP should be able to return negative values
11499 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11501 * lyxfunc.C: use lyx_gui::update_fonts()
11503 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11505 * lyxfunc.C: use lyx_gui::update_color()
11507 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11513 * lyxrc.C: remove file->new asks for name option, and let
11514 buffer-new take an argument
11516 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11518 * BufferView_pimpl.C: remove unneeded extra repaint()
11520 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11522 * LyXAction.C: allow command-sequence with NoBuffer
11524 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11526 2002-07-10 Angus Leeming <leeming@lyx.org>
11528 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11530 2002-07-09 Angus Leeming <leeming@lyx.org>
11532 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11534 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11536 * lengthcommon.h: whitespace
11538 * lyxfunc.C: update scrollbar after goto paragraph
11540 * lyxtext.h: factor out page break drawing, and fix it so
11541 page break/added space paints as selected nicely
11543 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11545 * BufferView_pimpl.C: add FIXMEs, clean up a little
11547 2002-07-09 André Pönitz <poenitz@gmx.net>
11549 * lyxfont.[Ch]: support for wasy symbols
11551 2002-07-08 André Pönitz <poenitz@gmx.net>
11553 * BufferView_pimpl.C: apply John's patch for #93.
11555 2002-07-05 Angus Leeming <leeming@lyx.org>
11557 * BufferView_pimpl.C (buffer): generate previews if desired.
11559 * LColor.h: add "preview" to the color enum.
11561 * LColor.C (LColor): add a corresponding entry to the items array.
11563 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11566 2002-07-05 Angus Leeming <leeming@lyx.org>
11568 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11569 The body of the code is now in the method that is passed an ostream &
11570 rather than a file name.
11571 Pass an additional only_preamble parameter, useful for the forthcoming
11574 2002-07-03 André Pönitz <poenitz@gmx.net>
11576 * lyxfunc.C: simplify getStatus() a bit for math stuff
11578 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11580 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11582 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11584 * text.C (changeRegionCase): do not change case of all the
11585 document when region ends at paragraph end (bug #461)
11587 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11589 * paragraph.C (startTeXParParams):
11590 (endTeXParParams): add \protect when necessary
11592 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11594 * BufferView_pimpl.C (workAreaExpose): remove warning
11596 2002-06-27 Angus Leeming <leeming@lyx.org>
11598 * Makefile.am: add lyxlayout_ptr_fwd.h.
11600 2002-06-26 André Pönitz <poenitz@gmx.net>
11602 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11604 2002-06-25 Angus Leeming <leeming@lyx.org>
11606 * lyxfunc.C (dispatch): Comment out the call to
11607 grfx::GCache::changeDisplay. The method no longer exists now that the
11608 pixmap generation part of the graphics loader has been moved into
11611 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * text2.C: layout as layout
11615 * text.C: layout as layout
11617 * tabular.C (OldFormatRead): layout as layout
11619 * paragraph_pimpl.C (TeXDeeper): layout as layout
11620 (realizeFont): layout as layout
11622 * paragraph.C (writeFile): layout as layout
11623 (validate): layout as layout
11624 (getFont): layout as layout
11625 (getLabelFont): layout as layout
11626 (getLayoutFont): layout as layout
11627 (breakParagraph): layout as layout
11628 (stripLeadingSpaces): layout as layout
11629 (getEndLabel): layout as layout
11630 (getMaxDepthAfter): layout as layout
11631 (applyLayout): layout as layout
11632 (TeXOnePar): layout as layout
11633 (simpleTeXOnePar): layout as layout
11634 (TeXEnvironment): layout as layout
11635 (layout): layout as layout
11636 (layout): layout as layout
11638 * lyxtextclass.C (compare_name): new functor to work with
11639 shared_ptr, layout as layout
11640 (Read): layout as layout
11641 (hasLayout): layout as layout
11642 (operator): layout as layout
11643 (delete_layout): layout as layout
11644 (defaultLayout): layout as layout
11646 * lyxlayout_ptr_fwd.h: new file
11648 * lyxlayout.C (Read): layout as layout
11650 * lyx_cb.C (MenuInsertLabel): layout as layout
11652 * bufferlist.C (newFile): layout as layout
11654 * buffer.C (readLyXformat2): layout as layout
11655 (parseSingleLyXformat2Token): layout as layout
11656 (insertStringAsLines): layout as layout
11657 (asciiParagraph): layout as layout
11658 (latexParagraphs): layout as layout
11659 (makeLinuxDocFile): layout as layout
11660 (simpleLinuxDocOnePar): layout as layout
11661 (makeDocBookFile): layout as layout
11662 (simpleDocBookOnePar): layout as layout
11663 (getLists): layout as layout
11665 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11667 * CutAndPaste.C (cutSelection): layout as layout
11668 (pasteSelection): layout as layout
11669 (SwitchLayoutsBetweenClasses): layout as layout
11671 * BufferView_pimpl.C (Dispatch): layout as layout
11672 (smartQuote): layout as layout
11674 * BufferView2.C (unlockInset): layout as layout
11676 2002-06-24 André Pönitz <poenitz@gmx.net>
11678 * lyxfunc.C: fix #487
11680 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11684 * lyxfunc.C: remove display_shortcuts, show_banner
11686 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11688 * Buffer_pimpl.C: oops, update on resize
11690 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11697 * BufferView.C: use repaint()
11699 * BufferView_pimpl.h:
11700 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11701 as it's a clearer description. Remove superfluous
11704 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11706 * text.C: fix bug 488. Not ideal, but getting
11707 getWord() to work properly for the insets that
11708 matter is more difficult ...
11710 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11712 * BufferView_pimpl.C:
11715 * lyxfunc.C: remove the six million index lyxfuncs to just
11716 one, and DTRT (bug 458)
11718 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11722 * BufferView_pimpl.h:
11723 * BufferView_pimpl.C: clean up resize() stuff,
11724 and unnecessary updateScreen()s
11726 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11730 * BufferView_pimpl.h:
11731 * BufferView_pimpl.C:
11734 * minibuffer.C: remove focus management of workarea,
11735 not needed. Use screen's greyOut()
11737 2002-06-17 Herbert Voss <voss@lyx.org>
11739 * converter.C: (convert) do not post a message, when converting
11740 fails, let the calling function decide what to do in this case
11742 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11744 * lyxfunc.C: tidy up a little
11746 2002-06-16 <alstrup@diku.dk>
11748 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11749 Got rid of FORMS_H_LOCATION include. Now we are
11752 2002-06-15 LyX Development team <lyx@rilke>
11754 * buffer.[Ch] (sgmlOpenTag):
11755 (sgmlCloseTag): Added support for avoiding pernicious mixed
11756 content. Return number of lines written.
11758 (makeLinuxDocFile):
11759 (makeDocBookFile): Fixed calls to sgml*Tag.
11760 Simple white space clean.
11762 (simpleDocBookOnePar): Simple white space clean.
11764 * tabular.[Ch] (docBook): Renamed to docbook and got another
11765 argument to related with the pernicious mixed content.
11767 (docbookRow): Fixed calls for docbook inset method.
11769 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11771 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11772 so it's X11 independent.
11776 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11778 2002-06-15 Lyx Development team <lyx@electronia>
11780 * intl.h: Renamed getTrans to getTransManager.
11782 2002-06-14 Angus Leeming <leeming@lyx.org>
11784 * Makefile.am: nuke forgotten stl_string_fwd.h.
11786 2002-06-12 Angus Leeming <leeming@lyx.org>
11788 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11790 2002-06-13 Angus Leeming <leeming@lyx.org>
11793 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11795 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11797 * kbmap.C (getiso): add support for cyrillic and greek
11799 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11803 * BufferView_pimpl.h:
11804 * BufferView_pimpl.C: move bogus scrolling logic
11807 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11810 * BufferView_pimpl.C: view->resize() change
11812 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11814 * BufferView_pimpl.C: topCursorVisible
11817 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11821 * lyx_gui.C: move to frontends/
11825 * lyx_main.C: changes from above
11827 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11834 * lyx_main.C: minor tidy
11836 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11838 * BufferView_pimpl.h:
11839 * BufferView_pimpl.C:
11841 * BufferView.C: make painter() const,
11844 * BufferView2.C: use screen() accessor
11847 * lyx_main.C: some minor cleanup
11849 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11851 * BufferView_pimpl.h:
11852 * BufferView_pimpl.C: remove enter/leaveView,
11855 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11860 * BufferView_pimpl.h:
11861 * BufferView_pimpl.C: only construct screen once,
11864 * lyxrc.C: remove pointless comment
11866 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11869 * BufferView.C: remove active() and belowMouse()
11871 * BufferView_pimpl.h:
11872 * BufferView_pimpl.C: use workarea() not workarea_,
11873 and make it use a scoped_ptr instead
11875 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11877 * lyx_gui.C: add debug message on BadWindow
11879 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * sp_spell.C: fdopen is not part of the C++ standard.
11883 * paragraph.C (InsetIterator): use >= instead of ==
11885 2002-06-07 Angus Leeming <leeming@lyx.org>
11887 Fixes needed to compile with Compaq cxx 6.5.
11888 * BufferView_pimpl.C:
11895 * lyxtextclasslist.C:
11900 all c-library variables have been moved into namespace std. Wrap
11901 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11906 Add a using std::abs declaration.
11908 * kbmap.h (modifier_pair):
11909 * paragraph.h (InsetTable, InsetList):
11910 * lyxfont.h (FontBits):
11911 type definition made public.
11913 * bufferlist.C (emergencyWriteAll): the compiler complains that
11914 there is more than one possible lyx::class_fun template to choose from.
11915 I re-named the void specialisation as lyx::void_class_fun.
11917 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11919 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11920 the compiler is is unable to find tostr in write_attribute.
11922 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11924 * buffer.C (sgmlError): hide #warning
11926 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11928 * xtl/*: get rid of xtl, which is not in use anyway
11930 * LyXAction.C (init):
11931 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11932 were unimplemented xtl experimentation
11934 2002-06-04 André Pönitz <poenitz@gmx.net>
11936 * lyxfunc.C: disable array operation on simple formulae
11938 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11940 * converter.C: constify a bit
11942 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11944 * lyx_gui.C: check xforms version correctly
11946 2002-04-30 Herbert Voss <voss@lyx.org>
11948 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11951 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11953 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11954 attempt to register it with a VCS)
11956 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11958 * lyx_main.C (init): honor variables LYX_DIR_13x and
11961 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11965 * lyx_main.C: fix a crash on bad command line,
11966 and give a useful exit status on error
11968 * lyxfunc.C (doImport): allow -i lyx to work
11970 2002-03-30 André Pönitz <poenitz@gmx.net>
11972 * lyxfunc.C: mathed font changes
11974 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11989 * trans_mgr.h: srcdocs, and some minor cleanups
11991 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11994 call getFont all the time)
11996 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11998 * switch from SigC signals to boost::signals
12000 2002-05-29 André Pönitz <poenitz@gmx.net>
12002 * paragraph_pimpl.C (getChar): don't call size() too often...
12004 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12006 * paragraph_pimpl.C (insertChar): do not try to update tables when
12007 appending (pos == size())
12009 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12010 in order to reduce drastically the number of comparisons needed to
12011 parse a large document
12013 2002-05-29 André Pönitz <poenitz@gmx.net>
12019 * textclasslist.[Ch]:
12020 * sp_ispell.h: whitespace change
12022 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12024 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12025 lyxaction directly now.
12027 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12031 * lyxvc.C: remove unused headers
12033 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12040 * undo_funcs.C: some cleanups. Use shared_ptr
12041 and a template for the undo stacks.
12043 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12045 * BufferView_pimpl.h:
12046 * BufferView_pimpl.C:
12053 * text2.C: use key_state/mouse_state
12055 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12057 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12060 * chset.C: change include order
12061 (loadFile): use boost regex and get rid of LRegex and LSubstring
12063 * Makefile.am (BOOST_LIBS): new variable
12064 (lyx_LDADD): use it
12066 * LaTeX.C: change include order.
12067 (scanAuxFile): use boost regex and get rid of LRegex and
12071 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12076 * FontInfo.C: moved to frontends/xforms/
12079 * FontLoader.C: moved into frontends for GUIIzation
12084 * lyxfunc.C: changes from above
12086 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12088 * LColor.C: remove spurious X include
12090 * BufferView_pimpl.C:
12095 * text2.C: move font metrics to frontends/
12097 2002-05-24 Juergen Vigna <jug@sad.it>
12099 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12100 setting the undo_cursor.
12102 * ParagraphParameters.h: include local includes first.
12104 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12106 * BufferView_pimpl.C:
12107 * BufferView_pimpl.h:
12111 * screen.C: move WorkArea into frontends/
12117 * BufferView2.C: move LyXScreen into frontends/
12121 * lyx_gui.C: move lyxlookup into frontends/xforms/
12123 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12126 * BufferView_pimpl.C:
12136 * bufferview_funcs.C:
12149 * vc-backend.C: move LyX/XFormsView into frontends/
12151 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12163 * text2.C: move Painter to frontends/
12165 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12167 * buffer.C: comment out some some code that depend upon lyx_format
12170 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12171 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12173 * buffer.h (NO_COMPABILITY): turn off compability
12175 * ColorHandler.C: include scoped_array.hpp
12177 * font.C: Use more specific smart_ptr header.
12180 * ShareContainer.h: ditto
12181 * lyx_main.h: ditto
12183 * FontInfo.h: ditto
12184 * BufferView_pimpl.h: ditto
12185 * ColorHandler.h: ditto
12187 * kbmap.C (defkey): change call to shared_ptr::reset
12189 2002-05-21 Juergen Vigna <jug@sad.it>
12191 * buffer.C (insertErtContents): fix to insert ert asis if it is
12192 non empty. Skip it completely if it contains only whitespaces.
12194 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12196 * BufferView_pimpl.C:
12197 * BufferView2.C: clear selection on paste (bug 393)
12199 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12201 * DepTable.C: include ctime
12203 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12205 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12207 2002-05-14 Juergen Vigna <jug@sad.it>
12209 * text.C (breakParagraph): fixed function to honor the keepempty
12210 layout in the right maner and also to permit the right breaking
12211 algorithm on empty or non empyt keepempty paragraphs.
12213 * paragraph.C (breakParagraph): we have to check also if the par
12214 is really empty (!size()) for isempty otherwise we do the wrong
12217 2002-05-10 Juergen Vigna <jug@sad.it>
12219 * buffer.[Ch] : The following are only changes to the ert
12220 compatibility read reading old LaTeX layout and font stuff and
12221 convert it to ERTInsets.
12223 * buffer.h: added isErtInset().
12225 * buffer.C (struct ErtComp): add a fromlayout bool to check
12226 if we're inside a LaTeX layout.
12227 (isErtInset): new helper function.
12228 (insertErtContents): look for other ert insets before this one
12229 and insert the contents there, so that we don't have subsequent
12230 ERT insets with nothing between them. This way we create only one
12231 inset with multiple paragraphs. Also check if we don't insert only
12232 spaces ' ' as they are ignored anyway afterwards in the .tex file
12233 so if we have only spaces we will ignore this latex part in the
12235 (parseSingleLyXformat2Token \\layout): better compatibility when
12236 reading layout-latex stuff.
12237 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12239 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12240 stuff after reading the inset only get the information back from
12243 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12245 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12247 * LaTeXFeatures.C (getBabelOptions): New method.
12249 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12251 * BufferView_pimpl.C (Dispatch): work around missing argument for
12254 2002-05-08 Juergen Vigna <jug@sad.it>
12256 * text.C (leftMargin): handle paragraph leftindent.
12258 * paragraph.C (writeFile): write the new \\leftindent tag.
12259 (validate): handle leftindent code.
12260 (TeXEnvironment): handle paragraphleftindent code again.
12262 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12264 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12265 for paragrap_extra indent code and new token \\leftindent.
12266 (latexParagraphs): handle the leftindent as environment.
12268 * ParameterStruct.h: added leftindent support.
12270 * ParagraphParameters.C (leftIndent): added support functions for
12271 the paragraph left indent.
12273 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12276 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12278 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12281 * text.C (computeBidiTables): No bidi in insetERT.
12283 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12286 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12288 * version.C.in: pre 5
12290 2002-05-02 José Matos <jamatos@fep.up.pt>
12291 * buffer.C (makeDocBookFile): white space changes, add newline to
12293 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12295 * tabular.C (docBook): fix typo.
12297 2002-05-03 Juergen Vigna <jug@sad.it>
12299 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12300 change in LyXText as we can not be sure it was not freed.
12301 (drawOneRow): remove unused code.
12303 * text.C (drawInset): redo the calculation of the need_break_row as
12304 it could have a row which was already freed.
12305 (draw): look at the return value of drawInset and return false if
12306 it also returned false.
12307 (paintRowText): look at the return value of draw and return false if
12308 it also returned false.
12310 * lyxtext.h: added bool return type to drawInset() and draw() so that
12311 if we have a change in the row so that the rowbreak has to be redone
12312 we abort drawing as it will be called again.
12314 2002-05-02 Juergen Vigna <jug@sad.it>
12316 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12317 a change in the maintext also if we're inside an inset.
12318 (Dispatch): set the cursor again after a break line and after the
12319 screen has been updated as it could be we're in a different row.
12321 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12322 to set the cursor behind the pargraph with > size().
12323 (setCursor): check also for the same paragraph when checking where
12324 to put the cursor if we have a NFR inset.
12326 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12327 parts of layout read further up as it still was in the wrong
12330 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12332 * screen.C (drawFromTo): change sine fullRebreak always return
12335 * buffer.C (parseSingleLyXformat2Token): reindent some
12337 * BufferView_pimpl.C (update): change since fullRebreak always
12339 (Dispatch): git rid of the last hardcoded "Standard"s.
12341 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12343 * text2.[Ch] (fullRebreak): make it return void now that we always
12346 2002-04-30 Juergen Vigna <jug@sad.it>
12348 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12349 ert compatibility check for "latex" layout.
12351 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12353 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12354 minipages: use col% instead of p%, and also use the current font.
12355 (makeLaTeXFile): Fix use babel condition.
12356 (parseSingleLyXformat2Token): Correct font when reading old floats.
12358 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12360 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12361 inserting list of floats.
12363 2002-04-25 Herbert Voss <voss@lyx.org>
12365 * MenuBackend.C (expand): don't add the graphics extensions to the
12368 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12370 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12371 non-existing layout, do not complain if it was the default layout
12372 of the original class (bug #342)
12374 2002-04-24 Juergen Vigna <jug@sad.it>
12376 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12377 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12379 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12381 * buffer.C (getBibkeyList): If using \bibliography, return the
12382 option field with the reference itself. Enables us to provide natbib
12383 support when using \bibliography.
12385 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12387 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12389 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12390 natbib is provided by the LaTeX class.
12392 2002-04-23 Juergen Vigna <jug@sad.it>
12394 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12397 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12399 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12401 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12403 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12404 ensuremath around textordmasculine, textordfeminine and
12407 2002-04-19 Juergen Vigna <jug@sad.it>
12409 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12410 reinitializing the buffer otherwise row-dimensions may be wrong.
12411 (update): reset also the selection cursors if they do exits otherwise
12412 their x/y positions may be wrong.
12414 * text2.C (cursorDown): don't enter the inset if we came from a row
12415 above and are one row over the inset.
12417 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12418 really leaving an inset.
12420 2002-04-18 Juergen Vigna <jug@sad.it>
12422 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12423 of the selected paragraph does not have the selected layout also if
12426 * text2.C (setLayout): fixed bug which did not change last selected
12429 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12430 changed the read and substituted \\end_float with \\end_inset!
12432 * BufferView_pimpl.C (cursorPrevious):
12433 (cursorNext): fixed to make it work with rows heigher than the work
12434 area without moving the cursor only the draw of the row.
12435 (workAreaMotionNotify): fix jumping over high rows.
12437 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12439 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12442 2002-04-16 Juergen Vigna <jug@sad.it>
12444 * text2.C (setCursor): set also the irow().
12445 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12447 (cursorDown): support for locking an inset if the x_fix value goes
12448 inside it. That way I can transverse insets too with cursor up/down.
12450 * lyxrow.h: added irow helper function same as other (i) functions.
12452 * BufferView_pimpl.C (cursorPrevious):
12453 (cursorNext): fixed for insets!
12455 2002-04-15 Juergen Vigna <jug@sad.it>
12457 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12458 position otherwise it is wrong in some cases.
12460 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12461 inside the inset before the call.
12463 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12465 * buffer.[Ch] (getBibkeyList): make it const.
12467 2002-04-12 Juergen Vigna <jug@sad.it>
12469 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12471 * text2.C (getCursorX): new helper function
12472 (setCursor): compute also ix_
12473 (setCursorFromCoordinates): set also ix.
12475 * lyxcursor.h: added ix_ and helper functions.
12477 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12479 * buffer.C (insertStringAsLines): dont break paragraph if the this
12480 paragraph is inside an inset which does not permit it!
12482 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12483 also with no chars on this paragraph.
12484 (paintRowText): only paint stuff if it's inside the workarea!
12486 * paragraph.C (breakParagraph): honor keepempty flag and break the
12487 paragraph always below not above.
12489 * BufferView2.C (unlockInset): update the paragraph layout on inset
12490 unlock as we changed paragraph in such a case.
12492 * lyxfind.C (LyXFind): clear the former selection if not found!
12494 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12495 again called in insertChar().
12497 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12498 an inset which uses the whole row!
12499 (rightMargin): ditto.
12500 (insertChar): force a rebreak if we inserted an inset!
12502 2002-03-28 Herbert Voss <voss@lyx.org>
12504 * lyxlength.[Ch]: add inBP() to get the right PS-point
12505 units (BigPoint). With inPixels we have rounding errors
12507 2002-04-11 Juergen Vigna <jug@sad.it>
12509 * text2.C (setCursorFromCoordinates): set iy to the right value.
12510 (setCursor): add check if row->previous exists!
12512 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12513 an old float_type as this was the case in the old code!
12515 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12517 * BufferView2.C (showLockedInsetCursor): use iy
12518 (fitLockedInsetCursor): ditto
12520 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12521 locked insets as there we have the right value now.
12523 * lyxcursor.C: added iy_ variable and iy functions to set to the
12524 baseline of cursor-y of the locked inset.
12526 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12527 (setCursor): fixed for insets which need a full row.
12529 * text.C (rowLastPrintable): don't ignore the last space when before
12530 an inset which needs a full row.
12531 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12532 as last character of a row when before a inset which needs a full row.
12534 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12536 * version.C.in: update date
12538 * text2.C (fullRebreak): try to always return true and see what
12541 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12543 * MenuBackend.C (expand): use Floating::listName
12545 * FloatList.C (FloatList): add listName argument to the built-in
12548 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12549 text associated with the float.
12551 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12553 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12555 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12557 * ShareContainer.h: add a couple of missing typenames.
12559 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12561 * lyxrc.C (getDescription): use _() correctly rather than N_().
12563 2002-03-28 Herbert Voss <voss@lyx.org>
12565 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12566 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12568 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12570 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12571 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12573 2002-03-29 Juergen Vigna <jug@sad.it>
12575 * lyxfunc.C (dispatch): add a missing fitCursor call.
12577 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12578 it was scrolled by a cursor move, so return the bool status.
12580 * BufferView.C (fitCursor): return the bool flag also to the outside
12581 world as this is needed.
12583 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12585 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12586 call the edit() as it is not needed (and wrong) IMO.
12587 (workAreaButtonPress): set the screen_first variable before evt.
12588 unlock the inset as this may change screen_first and then we have
12589 a wrong y position for the click!
12591 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12593 * MenuBackend.C (expand): another translation that I missed
12595 2002-03-28 Juergen Vigna <jug@sad.it>
12597 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12599 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12601 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12603 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12605 * MenuBackend.C (expand): fix export/view/update when there is no
12608 2002-03-27 Herbert Voss <voss@lyx.org>
12610 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12613 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12615 * bufferview_funcs.C (currentState): only show paragraph number
12616 for is DEVEL_VERSION is set.
12618 * lyxfunc.C (dispatch): put warning in INFO channel
12620 * MenuBackend.C (expand): translate the name of floats
12622 * FloatList.C (FloatList): mark the float names for translation
12624 * converter.C (convert): use LibScriptSearch
12626 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12628 * MenuBackend.C (defaults): fix default menu (we might as well get
12631 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12633 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12636 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12638 * lyxvc.C: reorder includes.
12640 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12642 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12645 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12647 * CutAndPaste.C: change layouts earlier on paste
12648 to avoid crashing when calling getFont()
12650 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12652 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12655 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * WorkArea.C: remove 'Pending' debug message.
12659 * most files: ws cleanup
12661 * buffer.[Ch]: ws changes
12663 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12665 2002-03-21 Juergen Vigna <jug@sad.it>
12667 * tabular.C (SetMultiColumn): collapse also the contents of the
12668 cells and set the last border right. Added a Buffer const * param.
12670 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12672 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12675 2002-03-19 Juergen Vigna <jug@sad.it>
12677 * text2.C (clearSelection): reset also xsel_cache.
12679 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12680 where it needs to be called (John tells us to do so too :)
12681 (selectionLost): reset sel_cache.
12683 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12685 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12687 * text2.C (setCursorIntern): put debuging code in INSETS channel
12689 2002-03-19 André Pönitz <poenitz@gmx.net>
12691 * lyxfunc.C: tiny whitespace change
12693 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12695 * ToolbarDefaults.C (init):
12696 * LyXAction.C (init):
12698 * BufferView_pimpl.C (Dispatch):
12699 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12701 2002-03-19 Allan Rae <rae@lyx.org>
12703 * exporter.C (Export): removeAutoInsets before doing anything else.
12704 While I've just introduced a dependency on BufferView this really is
12705 the best place to clean the buffer otherwise you need to cleanup in
12706 a dozen places before calling export or cleanup in a dozen functions
12709 * converter.C (runLaTeX):
12710 (scanLog): Better handling of removeAutoInsets and screen updates.
12712 * lyxfunc.C (dispatch): small whitespace changes
12714 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * WorkArea.C (C_WorkAreaEvent): return a value.
12717 (event_cb): return 1 if we handled the event, 0 otherwise.
12719 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12721 2002-03-18 Juergen Vigna <jug@sad.it>
12723 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12724 (GetAdditionalWidth): ditto.
12725 (RightLine): ditto.
12728 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12729 inset if we're there actually (probably not used right now but this
12730 is the direction to go for unifying code).
12731 (paste): disable code to clear the selection.
12733 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12734 inside an InsetText and move the check further up as it is in the
12737 * text2.C (pasteSelection): set a selection over the pasted text.
12739 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12741 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12742 and libgraphics to build on Cygwin.
12744 2002-03-15 Juergen Vigna <jug@sad.it>
12746 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12747 inserting an Inset into the paragraph. I know this is not the best
12748 fix but we already use current_view in CutAndPaste so we will remove
12749 all of it's using at the same time.
12751 * buffer.C (sgmlError): deactivated function till it is rewritten in
12752 the right mode, now it can create problems.
12754 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12755 before accessing it.
12757 2002-03-14 Juergen Vigna <jug@sad.it>
12759 * undo_funcs.C (textHandleUndo): do the right thing when updating
12760 the inset after the undo/redo.
12762 * text2.C (setCursor): just some testcode for #44 not ready yet.
12764 * undo_funcs.C (textHandleUndo): set the next() and previous()
12765 pointers of the paragraph to 0 before deleting otherwise we have
12766 problems with the Paragraph::[destructor].
12768 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12769 on a paragraph insertion.
12771 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * buffer.C (asciiParagraph): use += operator for char append to
12776 * paragraph.C (getFontSettings): compare >= not just >
12777 (highestFontInRange): ditto
12780 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * paragraph.C: change several algorithm to be more appripriate for
12783 the problem domain. This is lookip in FontList and in the InsetList.
12785 2002-03-13 André Pönitz <poenitz@gmx.net>
12788 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12790 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12795 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12797 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12799 * Painter.C (display): anon helper function, adjust code for this
12801 (pixmap): remove function.
12803 * Painter.h: remove private display variable.
12805 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12807 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12809 * WorkArea.[Ch]: remove figinset_canvas cruft.
12811 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * lyxtextclass.C (operator): add one item cache optimization.
12815 * bufferlist.h: doxy changes
12817 * bufferlist.C: ws changes
12819 * DepTable.[Ch] (ext_exist): place const in the right spot.
12821 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12823 (workAreaExpose): call resizeInsets when the with BufferView changes.
12824 (Dispatch): adjust for protectedBlank removal
12825 (specialChar): call updateInset if the insert went ok.
12827 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12828 specialChar instead.
12830 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12832 * BufferView.h: doxy change
12834 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12836 * lyxtextclass.C (operator[]): remove non-const version
12837 (defaultLayout): remove non-const version
12839 2002-03-12 Juergen Vigna <jug@sad.it>
12841 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12842 did resize the LyXText too.
12844 * buffer.C (readLyXformat2): set layout information on newly allocated
12847 * tabular.C (OldFormatRead): set layout information on the paragraph.
12849 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12851 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12853 2002-03-11 Juergen Vigna <jug@sad.it>
12855 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12857 (resizeCurrentBuffer): force also the insets to resize themselfes.
12858 (moveCursorUpdate): fixed up for InsetText.
12860 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12863 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12864 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12865 value of Dialogs::tooltipsEnabled().
12866 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12868 2002-03-08 Juergen Vigna <jug@sad.it>
12870 * BufferView_pimpl.C (updateInset): update inset inside inset also
12871 if it isn't inside theLockingInset().
12873 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12875 * buffer.C (asciiParagraph): redo some of the word and line length
12877 (getLists): look for Caption instead of caption.
12879 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12881 * buffer.C (Buffer): initialize niceFile to true
12883 (makeLinuxDocFile):
12884 (makeDocBookFile): make sure niceFile is true on exit
12886 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12888 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12890 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12892 * LyXSendto.C: remove.
12893 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12894 * lyx_gui.C: remove now-redundant comment.
12895 * ColorHandler.h: remove forward declaration of class WorkArea.
12896 * lyxfunc.C: remove #include "WorkArea.h".
12898 2002-03-07 Juergen Vigna <jug@sad.it>
12900 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12901 got moved away with the DEPM and also set the inset_owner always
12902 right which before could have been omitted.
12904 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12907 wanted layout is not found.
12909 2002-03-07 Juergen Vigna <jug@sad.it>
12911 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12913 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * paragraph.C (breakParagraph): use default layout not layout of
12917 (Paragraph): clear ParagraphParameters.
12919 2002-03-06 Juergen Vigna <jug@sad.it>
12921 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12922 otherwise it would not be a valid lenght. Fixed a special case in
12923 the minipage compatibility read where we end the document with a
12926 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12927 was set as it could be 0 for InsetTexts first entry.
12929 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12931 * paragraph.C (writeFile): if layout is empty write out
12932 defaultLayoutName().
12934 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12935 file without named layout we set layout to defaultLayoutName().
12937 2002-03-06 Juergen Vigna <jug@sad.it>
12939 * CutAndPaste.C (copySelection): set layout for new paragraph.
12941 * text.C (prepareToPrint): leave ERT inset left aligned
12942 (leftMargin): don't indent paragraphs inside ERT insets
12944 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12946 * paragraph.C (breakParagraph): dont call clear do the work manually
12948 * paragraph.[Ch] (clear): remove function
12950 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12952 * paragraph.C (Paragraph): dont call clear, the work has already
12955 * lyxtextclass.C (operator): assert if n is empty
12957 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12958 work manually instead.
12960 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12962 * BufferView_pimpl.C: protect selectionLost against text == 0
12964 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * text.C (breakParagraph): fix a setting layout to '0' problem.
12968 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12970 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12971 final location of file, for the included files, and graphics.
12973 2002-03-05 Juergen Vigna <jug@sad.it>
12975 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12977 2002-03-04 Juergen Vigna <jug@sad.it>
12979 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12981 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12982 last column of multicolumn cells.
12983 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12985 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12987 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12988 file if it doesn't go to a temporary file.
12990 * buffer.C (sgmlOpenTag):
12991 (sgmlCloseTag): remove extra newline insertion.
12993 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12995 * text.C (getRowNearY): comment out debug msg
12997 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * text2.C: first -> first_y
13001 * text.C (getRowNearY): add some attemts at a possible
13002 optimization, not working.
13004 * tabular.[Ch]: add BufferParams to several function so that newly
13005 created paragraph can be initialized to he default layotu for the
13008 * tabular-old.C (ReadOld): add buf->params to call of Init
13010 * screen.C: rename text->first to text->first_y
13012 * paragraph.C (breakParagraph): always set layout in the broken
13015 * lyxtextclass.C (Read): remove lowercase
13018 (delete_layout): ditto
13020 * lyxtext.h: rename first -> first_y
13022 * lyxlayout.C (Read): remove lowercase
13025 (obsoleted_by): ditto
13027 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13029 * buffer.C (insertErtContents): add params are to InsetERT
13030 (parseSingleLyXformat2Token): add code to check if a paragraphs
13031 layout really exist.
13032 (parseSingleLyXformat2Token): add params to several inset
13034 (asciiParagraph): remove lowercase, do the layout comparisons with
13037 * BufferView_pimpl.C (cursorNext): first -> first_y
13038 (resizeCurrentBuffer): first -> first_y
13039 (updateScrollbar): first -> first_y
13040 (scrollCB): first -> first_y
13041 (workAreaMotionNotify): first -> first_y
13042 (workAreaButtonPress): first -> first_y
13043 (checkInsetHit): first -> first_y
13044 (cursorPrevious): first -> first_y
13045 (cursorNext): first -> first_y
13046 (Dispatch): add buffer_->params to severl inset contructors
13048 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13050 * lyxlayout.C (Read): remove some debug info that I forgot.
13052 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13053 clean up the code slightly.
13054 (makeLinuxDocFile): ditto
13055 (makeDocBookFile): ditto
13057 * text2.C: layout as string
13059 * text.C: layout as string
13061 * paragraph_pimpl.C: layout as string
13063 * paragraph.[Ch]: layout as string
13065 * lyxtextclasslist.[Ch]: layout as string
13067 * lyxtextclass.[Ch]: layout as string
13069 * lyxtext.h: layout as string
13071 * lyxlayout.[Ch]: layout as string
13073 * lyx_cb.C: layout as string
13075 * bufferview_funcs.C: layout as string
13077 * bufferparams.C: layout as string
13079 * buffer.C: layout as string
13081 * LyXView.[Ch]: layout as string
13083 * LaTeXFeatures.[Ch]: layout as string
13085 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13087 * BufferView_pimpl.C: change current_layout to string, remove
13092 (workAreaButtonRelease): layout as string
13094 * BufferView2.C (unlockInset): adjust
13096 * vspace.C (asLatexCommand): use an explict temp variable.
13098 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13100 * Makefile.am: use FRONTEND_*
13102 2002-03-01 Juergen Vigna <jug@sad.it>
13104 * tabular.C (SetWidthOfMulticolCell): changed to something better
13105 I hope but still work in progress.
13106 (recalculateMulticolumnsOfColumn): renamed function from
13107 recalculateMulticolCells as it is more appropriate now.
13108 (SetWidthOfCell): calculate multicols better.
13110 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13112 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13114 * lyxfunc.C (processKeySym): print sequence also if it is
13115 `deleted' (complete)
13117 * kbsequence.C (print): print sequence even if it is deleted
13118 (complete would be a better word, actually).
13120 * lyxfunc.C (dispatch): print complete options after a prefix key
13122 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13124 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13126 * text2.C (setCharFont): eliminate setCharFont code duplication.
13128 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13130 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13131 LFUN_TABULAR_FEATURE (bug #177)
13133 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13135 * Makefile.am: remove figure.h
13137 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13139 * Bufferview_pimpl.C:
13151 * text2.C: remove #include "lyx_gui_misc.h".
13153 * LaTeX.C: added #include <cstdio>
13155 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13157 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13158 that the paragraph following this one can have.
13160 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13162 * vspace.C (asLatexCommand): fix bogus gcc warning
13164 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13166 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13168 * text2.C (setLayout): get rid of redundant code
13170 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13172 * text2.C (incDepth): make sure depth cannot be increased beyond
13175 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13177 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13178 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13180 * PainterBase.h (image):
13181 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13182 a LyXImage const *.
13184 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13188 * BufferView_pimpl.C:
13189 * BufferView_pimpl.h:
13209 * sp_spell.C: remove fig inset, and the crap house of
13210 cards that follows it
13212 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13217 * os2_errortable.h:
13218 * nt_defines.h: move .h into support/
13220 * vms_defines.h: remove
13222 * WorkArea.C: add space in debug output
13226 * buffer.C: add WITH_WARNINGS
13230 * bufferlist.C: s/retrive/retrieve/, add docs
13239 * chset.C: add docs
13241 * lyxgui.C: add ID to X error handler
13243 * lyxtestclass.c: fix typo
13245 2002-02-26 Juergen Vigna <jug@sad.it>
13247 * tabular_funcs.C (write_attribute): changed so that some default
13248 attributes are not written at all.
13249 (getTokenValue): set default values before trying to read the
13250 value so we have the return value always set as default if we don't
13251 find the token we search for.
13253 * tabular.C (Write): write bools as bools not as strings!
13255 2002-02-22 Juergen Vigna <jug@sad.it>
13257 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13258 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13260 * text.C (leftMargin): don't add an indent for paragraphs inside
13261 tabular cells (fix #208).
13263 2002-02-21 José Matos <jamatos@fep.up.pt>
13265 * tabular.C (docBook): fixed support for long tables.
13267 2002-02-20 Juergen Vigna <jug@sad.it>
13269 * text2.C (getFont): get the drawing font of the Inset if this
13270 paragraph is inside an inset (only important for InsetERT for now).
13272 * buffer.C (insertErtContents): use new lanugage params in ERT
13275 * CutAndPaste.C: commenting out seemingly uneeded code.
13277 2002-02-19 Allan Rae <rae@lyx.org>
13279 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13280 Iterators might be simple to use but they also get invalidated.
13281 (removeAutoInsets): renamed saved cursor tracking variables and added
13282 some comments to clarify what everything does.
13284 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13291 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13292 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13295 * vc-backend.h: remove #include "support/syscall.h"
13299 * converter.C: rearrange #includes in Lars' approved fashion.
13301 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13302 forward declare class Timeout in the header file.
13304 * XFormsView.C: changes due to the above.
13306 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13307 similar to LyXView.
13309 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13310 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13312 2002-02-18 José Matos <jamatos@fep.up.pt>
13314 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13317 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13319 * a lot of small ws changes
13320 * add a lot of using std::XXX
13321 * use std construcs some places where approp.
13322 * use some exisint stuff from lyxfunctional where approp.
13323 * Make file changes to use partial linking (lets test this now...)
13325 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13329 remove #include "support/syscontr.h" as it's redundant. Always has been.
13337 change Systemcalls::System to Systemcalls::Wait and
13338 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13339 No change of functionality, just reflects the stripped down Systemcalls
13342 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13344 * debug.[Ch]: add a GRAPHICS type to the enum.
13346 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13348 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13350 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13353 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13355 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13356 match the changes below.
13358 * text2.C (toggleInset): if there is not editable inset at cursor
13359 position, try to see if cursor is _inside_ a collapsable inset
13362 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13364 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13365 document menu has a nice checkbox
13367 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13369 * lyxlength.C (asLatexString): change PW to output as percent of
13372 * lengthcommon.C: change '%' to 't%'
13374 * lyxfunc.C (dispatch): a few comments from Martin
13376 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13380 * BufferView_pimpl.h:
13381 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13384 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13386 * vspace.C (inPixels): fix compiler warning
13388 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13390 * lyxfunc.C (getStatus): fix status message for disabled commands.
13392 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13394 * BufferView_pimpl.C: fix crash on close buffer
13395 during selection (#227)
13397 2002-01-27 Herbert Voss <voss@lyx.org>
13399 * buffer.C: link old Figure to new graphic inset
13401 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13403 * FontLoader.C (getFontinfo): Change the latex font names in order
13404 to match the names of type1inst.
13406 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13408 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13410 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13411 (extchanged): ditto
13413 (remove_files_with_extension): ditto
13414 (remove_file): ditto
13417 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13418 document is smaller than the work area height. Do not initialize
13419 static variables to 0.
13421 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13423 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13425 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13426 LFUN_LAYOUT_PARAGRAPHS.
13428 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13429 tabular. It is possible to provide a possible cell, which will
13430 typically be the actcell from the corresponding insettabular
13432 * lyxfunc.C (getStatus): small cleanup; disable
13433 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13436 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13438 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13440 * paragraph.C (startTeXParParams):
13441 (endTeXParParams): new methods. The LaTeX code to
13442 start/end paragraph formatting
13443 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13444 empty (fixes bug #200)
13446 * vspace.C (inPixels): adapt to the change below
13447 (inPixels): [later] more cleanups (remove unused variables)
13449 * lyxlength.C (inPixels): change to use a width and a height as
13452 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13454 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13455 Replaced with \paperwidth
13457 * DepTable.C (insert): add std:: qualifier
13459 2002-01-18 Allan Rae <rae@lyx.org>
13461 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13464 * text.C (drawInset): Turned out I didn't know enough about how
13465 rebreaking worked. This fixes most of the redraw problems. I see
13466 an occasional cursor trail when a line is broken now and the cursor
13467 placement can seem out by a few pixels also after a rebreak.
13469 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13471 * buffer.C (parseSingleLyXformat2Token): update because minipage
13472 width is now a LyXLength
13474 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13476 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13479 2002-01-17 Juergen Vigna <jug@sad.it>
13481 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13483 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13484 is set correctly and the inset is updated correctly.
13486 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13488 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13489 the beginning of the loop.
13491 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13493 * lyxrc.C: improve help for use_scalable_fonts
13495 2002-01-17 Allan Rae <rae@lyx.org>
13497 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13499 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13501 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13502 make sure to set their inset_owner to the right value (bug #171)
13504 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13507 * DepTable.C: Implement mtime checking to reduce time spent doing
13510 2002-01-16 Juergen Vigna <jug@sad.it>
13512 * tabular.C (GetAdditionalHeight): one of error fixed.
13514 * lyxrc.C (output): small fix in writing use_pspell.
13516 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13518 * sp_base.h: #include LString.h
13520 2002-01-16 Allan Rae <rae@lyx.org>
13522 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13523 Can someone check this please?
13525 * text.C (drawInset): It was possible that p.row would be removed by
13526 breakAgainOneRow upsetting a few other settings. There may be another
13527 small tweak possible by setting need_break_row = 0 when p.row has been
13528 removed but I don't know enough about the logic here.
13530 2002-01-15 Allan Rae <rae@lyx.org>
13532 * text.C (insertChar): removed conditional truism.
13534 * BufferView2.C (removeAutoInsets): More tweaks.
13535 cur_par_prev could be a stray pointer. Check for trailing empty line
13536 in case last line was cur_par and only had an error inset on it.
13538 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13540 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13543 * vc-backend.C (most methods):
13544 * exporter.C (Export):
13545 * converter.C (convert):
13547 * LyXSendto.C (SendtoApplyCB):
13548 * lyxfunc.C (dispatch):
13552 * lyx_cb.C (AutoSave):
13554 * BufferView_pimpl.C (MenuInsertLyXFile):
13555 * buffer.C (runChktex): use Buffer::filePath().
13557 * buffer.h: rename filename to filename_; rename filepath to
13558 filepath_ and make it private
13559 (filePath): new method
13561 * buffer.C (writeFile): use fileName()
13564 * lyx_main.C (init): fix starting of LyX when the binary is a
13565 link from so,ewhere else.
13567 * minibuffer.C: include <cctype> for isprint
13569 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13571 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13572 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13573 name clash with InsetCollapsable's width function.
13575 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * lastfiles.C: include <iterator>
13579 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13581 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13584 * buffer.C (makeLaTeXFile): ditto.
13585 Also make loop operation more transparent.
13587 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13589 * ToolbarDefaults.C: remove trailing comma closing namespace.
13591 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13593 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13596 * trans.C (Load): comment out unused variable, allowed.
13598 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13600 * minibuffer.[Ch] (append_char): new method to recieve input from the
13601 drop-down completion browser. If a key was pressed, then recieve this
13602 char and append it to the existing string.
13603 (peek_event): modify the positioning data passed to the completion
13604 browser so that it can be placed above the minibuffer rather than below.
13605 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13607 * LyXAction.C (init): alloe error-next for readonly documents.
13609 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13612 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13614 * bufferlist.C (readFile): create the buffer _after_ checking that
13617 * lyxfunc.C (verboseDispatch): fix handling of arguments
13619 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13621 * lyxrc.C: use string::erase() instead of initializing to "".
13624 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13626 * BufferView_pimpl.h:
13627 * BufferView_pimpl.C:
13630 * text2.C: tell X when we have made a selection for copying
13632 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13634 * BufferView_pimpl.C (MenuInsertLyXFile):
13635 * lyxfunc.C (menuNew):
13637 (doImport): add shortcuts to directory buttons
13639 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13642 * lyxfunc.C (setStatusMessage):
13643 (getStatusMessage): new methods
13644 (getStatus):use setStatusMessage instead of setErrorMessage
13645 (dispatch): when function is disabled, set error message here
13646 [instead of in getStatus previously]
13648 * BufferView_pimpl.C (workAreaButtonRelease): update
13649 toolbar/menubar here too.
13651 2002-01-13 Allan Rae <rae@lyx.org>
13653 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13654 Now seems indestructible. Remaining task is to audit all other
13655 code affected by deleteEmptyParagraphMechanism. One small quirk
13656 left is that an empty document with an error in the preamble can
13657 be made to report an error but no error box appears. I don't know
13659 (removeAutoInsets): Improved comments.
13661 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13664 * Thesaurus.C: update for Aiksaurus 0.14
13666 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * text2.C (firstParagraph): removed member function, all uses
13669 replaces with ownerParagraph
13670 (redoParagraphs): here
13671 (updateInset): here
13672 (toggleAppendix): here
13673 * BufferView2.C (insertErrors): here
13674 (setCursorFromRow): here
13676 2002-01-13 Allan Rae <rae@lyx.org>
13678 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13679 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13680 There is still a way to segfault this although you may have to do this
13681 multiple times: Have an InsetERT with an unknown command in it.
13682 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13683 <down-arrow>, <Enter> again, View->DVI, BANG!
13685 * text2.C (setCursor):
13686 (deleteEmptyParagraphMechanism):
13687 * lyxtext.h (setCursor):
13688 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13689 Making use of the return value may help fix other bugs.
13691 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13693 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13695 * LyXView.C (updateMenubar): call MenuBar::update here
13696 (updateToolbar): but not here
13697 (showState): do not update toolbar/menubar
13699 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13700 should need to care about that.
13702 * lyxfunc.C (verboseDispatch): simplify a bit
13703 (getStatus): have a version which takes a pseudoaction, and
13704 another which requires a (kb_action,string).
13706 * LyXAction.C (retrieveActionArg): make it work also when action
13707 is not a pseudo-action.
13708 (getActionName): simplify a bit
13711 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13713 * lyxfunc.C (verboseDispatch): new families of methods with
13714 several ways to specify a command and a bool to indicate whether
13715 the command name and shortcut should be displayed in minibuffer
13716 (eventually, we could extend that to a finer bitmask like
13717 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13718 (dispatch): the pristine dispatch command which just, well,
13719 dispatchs! Note it still sets its result to minibuffer; I'm not
13722 * lyxfunc.h: remove setHintMessage
13724 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13726 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13728 * BufferView_pimpl.C (specialChar): delete new inset if we have
13729 not been able to insert it.
13731 * kbmap.C: revert to using int instead of kb_action, since all we
13732 are dealing with is pseudo-actions.
13734 * LyXAction.C (searchActionArg): change to return int instead of
13735 kb_action, since the result is a pseudoaction.
13737 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13739 * buffer.C (insertErtContents): Fix (partially) the font bug.
13741 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13743 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13744 as the other one is broken on my machine!
13746 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13749 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13751 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13753 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13754 reflect their actual use. Provide compatibility code for older lyxrc
13757 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13759 change names of popup font variables in line with the changes to lyxrc.C
13761 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13763 * buffer.C (asciiParagraph): avoid outputing a word twice after
13766 * lyxrc.C (getDescription): document that document_path and
13767 template_path can be empty.
13769 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13771 * LaTeXFeatures.C (getMacros):
13772 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13774 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13776 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13778 (getPackages): rename feature "floats" to "float". Use an array to
13779 iterate over 'simple' features (i.e. just a \usepackage). Add
13780 handling of "amsmath" (renamed from "amsstyle").
13782 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13784 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13787 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13789 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13790 FuncStaus::FuncStatus & FuncStaus::some_method().
13792 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13794 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13795 of the func_satus stuff. Edited and massaged in various ways by
13798 * lyxfunc.C (getStatus): use FuncStatus
13800 2002-01-08 Juergen Vigna <jug@sad.it>
13802 * text.C (nextBreakPoint): use function Inset::isChar().
13804 * paragraph.C (TeXOnePar): use function
13805 Inset::forceDefaultParagraphs.
13807 * buffer.C (latexParagraphs): use function
13808 Inset::forceDefaultParagraphs.
13810 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13812 * lyx_gui.C (init): set the style of the menu popups to
13813 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13815 2002-01-07 Juergen Vigna <jug@sad.it>
13817 * text.C (setHeightOfRow): small fix
13818 (prepareToPrint): don't look at alignment if we don't have the place
13821 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13823 * box.C: New file. Move the Box methods and functions out of box.h,
13824 following Lars' suggestion.
13826 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13828 * box.h: #include "support/LOstream.h", needed for inlined function.
13831 * lyxtextclasslist.C: added some using std declarations.
13833 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13835 * box.h: make signed dimensions to allow insets wider than
13836 the screen (bug #162)
13838 * BufferView_pimpl.C: add some insetHit debug
13840 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13842 * vc-backend.C: add FIXME
13844 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13846 * lyxfunc.C (getStatus): enable code for showing math font status
13849 2002-01-07 Juergen Vigna <jug@sad.it>
13851 * text.C (nextBreakPoint): removed debug output not needed anymore.
13853 2002-01-06 Juergen Vigna <jug@sad.it>
13855 * text.C (nextBreakPoint): fixed up this function we had this bug
13856 since ever but now hopefully we break row better.
13857 (insertChar): we have to check if an inset is the next char as it
13858 could now happen that a large inset is causing a break.
13860 2002-01-05 Juergen Vigna <jug@sad.it>
13862 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13863 if it doesn't like to be drawed.
13865 2002-01-04 Juergen Vigna <jug@sad.it>
13867 * BufferView2.C (lockInset): forgot to set a cursor.
13869 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13871 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13873 * FormMathsPanel.C:
13876 * form_maths_panel.C:
13877 * form_maths_panel.h:
13878 * form_maths_panel.fd: implemented sub- and super- buttons in math
13881 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13882 (or ^ space) to be used as in TeX (req'd by André).
13884 * lyxfunc.C: Allow ^ and _ again to be used both as
13885 super/subscript (mathed) and as themselves (in text).
13887 2002-01-03 Allan Rae <rae@lyx.org>
13889 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13890 "LyX" or the filename of the current buffer if it has one. This is a
13891 modified form of John Levon's patch.
13893 * XFormsView.C (setWindowTitle): also set icon title.
13895 * LyXView.h (setWindowTitle): signature changed.
13896 * XFormsView.h (setWindowTitle): ditto.
13898 2002-01-02 Juergen Vigna <jug@sad.it>
13900 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13902 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13904 * screen.C (topCursorVisible): introduce a temp var for
13905 text->cursor.row(), handle the case where this row is null. (kindo
13908 * text2.C (setCursor): add a couple of asserts.
13910 * paragraph.h (inset_iterator): add -> operator
13912 * paragraph.[Ch] (autoDeleteInsets): remove member function
13914 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13915 cursor pos correctly and handle inset deletion by itself.
13916 (insertErrors): move iterator declaration out of for expression
13918 * lyxtextclass.C: add <algorithm>
13920 * Makefile.am: added the new files to sources, removed layout.C
13922 * layout.C: removed file
13924 * layout.h: remove LYX_DUMMY_LAYOUT
13926 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13930 * lyxtextclass.[Ch]:
13931 * lyxtextclasslist.[Ch]: new files
13933 * include order changes to a lot of files, also changes because of
13936 2001-12-27 Juergen Vigna <jug@sad.it>
13938 * buffer.C (asciiParagraph): more fixes.
13940 * tabular.C (ascii): make ascii export support export of only the
13941 data separated by a column-delimiter.
13942 (ascii): better support for ascii export.
13944 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13946 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13948 * tabular_funcs.C: use a "using std::getline" instead of the
13949 previous fix from Angus (necessary for cxx + lyxstring)
13951 2001-12-24 Juergen Vigna <jug@sad.it>
13953 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13955 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13956 problems. First check a minipage also if we have some ert-contents
13957 (not only on par->size(), second set the right depth of the paragraph
13958 on the relink to the root-paragraph-list!
13960 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13961 which then did not anymore update the main paragraphs on undo/redo!
13963 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13965 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13966 code. Support all font-changing funcs (even those which are not in
13967 menu currently). Support for reporting font settings in
13968 mathed (disabled until Andre provides a function on mathed's side).
13970 * func_status.h (toggle): small helper function to set toggle
13973 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13975 * tabular_funcs.C: getline -> std::getline
13977 2001-12-21 Juergen Vigna <jug@sad.it>
13979 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13980 accessed and could be 0 (I couldn't generate this but it seems
13983 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13985 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13986 * tabular_funcs.h: here and include iosfwd
13988 2001-12-20 Juergen Vigna <jug@sad.it>
13990 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13991 inside inset but undo_par was.
13993 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13995 * Thesaurus.C: always include <config.h> in sources.
13999 * box.h: do not include <config.h> in header files
14001 * text.C (paintLastRow): remove unused variable
14003 * text.C (transformChar):
14005 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14007 * Painter.C (text):
14008 * font.C (width): rewrite to use uppercase() instead of
14011 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14013 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14015 * lyxfind.C: clean up of find failure position change
14017 2001-12-20 Juergen Vigna <jug@sad.it>
14019 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14021 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14022 (TeXRow): added to LaTeX a single tabular row.
14023 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14024 (Latex): simplified and finally good LT-h/f support.
14025 (various_functions): just small adaptions for LT-h/f support.
14027 * tabular_funcs.[hC]: added and moved here all not classfunctions
14030 2001-12-19 Juergen Vigna <jug@sad.it>
14032 * tabular.[Ch]: better support for longtabular options (not finished
14035 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14037 * text.C (paintLastRow): use the label font instead of the font of
14038 the last character to compute the size of *_BOX. This makes more
14039 sense and avoids a crash with empty paragraphs.
14040 Use Painter::rectangle to draw EMPTY_BOX.
14042 2001-12-19 Juergen Vigna <jug@sad.it>
14044 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14045 the paragraphs if the replaced paragraph is not the first one!
14046 Tried to delete not used paragraphs but does not work yet so for
14047 now it's inside #ifdef's and by default off!
14049 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14051 * MenuBackend.C: include "lyx_main.h" instead of declaring
14052 lastfiles (actually was declared as LastFiles* instead of a
14055 2001-12-17 Juergen Vigna <jug@sad.it>
14057 * tabular.C (AppendColumn): applied John's fix
14059 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14063 * BufferView_pimpl.h:
14064 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14067 * box.h: new start of class for above
14069 * lyxfunc.C: ignore space-only minibuffer dispatches.
14070 Show the command name when it doesn't exist
14072 * minibuffer.C: don't add empty lines to the history
14074 * minibuffer.C: add a space on dropdown completion
14076 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14078 * text.C: fix line above/below drawing in insets
14080 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * lyxlength.C (LyXLength): Initialize private variables.
14084 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14087 when inserting error insets.
14089 2001-12-13 Juergen Vigna <jug@sad.it>
14091 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14092 actually sometimes the before-paragraph.
14093 (setUndo): don't clear the redostack if we're not actually undoing!
14095 2001-12-06 Juergen Vigna <jug@sad.it>
14097 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14098 and fixed redoing of main paragraph, so we can use it now ;)
14100 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14102 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14104 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14107 2001-12-13 André Pönitz <poenitz@gmx.net>
14110 * undo_func.C: minor cleanup
14112 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14114 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14115 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14116 font in urw-fonts package which is marked as -urw-fontspecific and
14117 does not work (incidentally, changing the encoding in the
14118 fonts.dir of this package to -adobe-fontspecific fixes the
14121 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14122 is a crash when undoing first paragraph (Juergen, please take a
14123 look). THis does not mean the undo fix is wrong, just that it
14126 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14127 the (Paragraph*) version when needed instead of duplicating the
14130 * text.C (workWidth): use Inset::parOwner to find out where the
14131 inset has been inserted. This is a huge performance gain for large
14132 documents with lots of insets. If Inset::parOwner is not set, fall
14133 back on the brute force method
14135 * paragraph_pimpl.C (insertInset):
14136 * paragraph.C (Paragraph):
14137 (cutIntoMinibuffer): set parOwner of insets when
14138 inserting/removing them
14140 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14142 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14148 * mathed/formulabase.C:
14149 * mathed/math_cursor.[Ch]:
14150 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14153 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14155 * lyxlength.[Ch] (operator!=): new function
14157 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14159 * text.C (workWidth): use Inset::parOwner to find out where the
14160 inset has been inserted. This is a huge performance gain for large
14161 documents with lots of insets. If Inset::parOwner is not set, fall
14162 back on the brute force method
14164 * paragraph_pimpl.C (insertInset):
14165 * paragraph.C (Paragraph):
14166 (cutIntoMinibuffer): set parOwner of insets when
14167 inserting/removing them
14169 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14171 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14173 * tabular-old.C (getTokenValue):
14174 * tabular.C (getTokenValue):
14175 (write_attribute): new versions for LyXLength
14176 (everywhere): adjust the use of widths
14178 * tabular.h: change the type of widths from string to LyXLength
14180 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14182 * paragraph.C: fixed missing line number count when exporting
14183 Environments to LaTeX file
14185 * buffer.C: added informational message for checking line numbers.
14187 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14189 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14190 paragraph, do the 'double space' part, but not the 'empty
14193 * text.C (workWidth): small optimization
14194 (getLengthMarkerHeight): use minimal size for negative lengths.
14196 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14198 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14200 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14202 2001-12-11 André Pönitz <poenitz@gmx.net>
14205 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14207 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14209 * text2.C: keep selection on a setFont()
14211 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14213 * lyx_cb.C: another bv->text misuse, from insert label
14215 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14218 * kbsequence.C: re-instate nmodifier mask
14220 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14222 * lyx_main.h: make lyxGUI private.
14224 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14226 * lyxfind.C: place the cursor correctly on failed search
14228 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14230 * text.C (getLengthMarkerHeight): for small heights, the arrows
14231 are not always on top/bottom of the text
14232 (drawLengthMarker): smaller arrows; take the left margin in
14233 account; draw also vfills.
14235 (paintLastRow): remove special code for vfill and standard spaces,
14236 since everything is handled in drawLengthMarker now.
14238 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14240 * buffer.C (insertErtContents): try to handle font and language
14241 interaction a bit better.g
14243 * ColorHandler.C (updateColor): change the hash to cover the whole
14244 LColor enum, ws cleanup
14245 (getGCLinepars): ditto
14246 (getGCLinepars): only lookup in the linecache once.
14248 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14250 * iterators.C (operator++): Make the iterator more robust
14252 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14254 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14256 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14259 * text.C: better added space drawing
14261 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14264 * BufferView2.C: fix layout combo update on inset unlock
14266 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14268 * Makefile.am: don't compile unused files
14270 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14274 * LyXAction.C: remove old LFUN_LAYOUTNO
14276 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14278 * paragraph_pimpl.h:
14279 * paragraph_pimpl.C: isTextAt() doesn't need font param
14281 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14284 * lyxlex.C: little cleanup
14286 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14288 * BufferView_pimpl.C: fix insertAscii for insets
14290 2001-12-05 Juergen Vigna <jug@sad.it>
14292 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14293 set the right font on the "multi" paragraph paste!
14295 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14301 * lyxlength.C: remove out-commented code.
14303 * BufferView_pimpl:
14317 * vc-backend.C: change "while(" to "while ("
14319 * lyxlength.[Ch]: add zero function to check if length is zero or
14321 * lyxgluelength.C: use it
14323 2001-12-05 Allan Rae <rae@lyx.org>
14325 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14326 Works for 2.95.3, from what I understand of Garst's reports this should
14327 work for other g++ versions. We're screwed if the abs(int) definition
14328 changed between bugfix releases of gcc.
14330 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14332 * text.C: fix chapter label offset !
14334 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14337 * text.C: fix hfill at end of line, clean up
14339 2001-12-04 Juergen Vigna <jug@sad.it>
14341 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14342 that we force an update of the inset and it's owners if neccessary.
14344 2001-12-03 Juergen Vigna <jug@sad.it>
14346 * text.C (rowLast): simplified code
14348 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14350 * lyxfunc.C: fix show options on timeout
14352 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14354 * screen.C (topCursorVisible): scroll half a page when the cursor
14355 reached top of bottom of screen
14357 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14359 * minibuffer.C: deactivate on loss of focus
14361 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14363 * vspace.[Ch] (operator!=): add operator.
14365 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14367 * BufferView_pimpl.C: refuse to open an inset when
14368 there's a selection.
14370 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14372 * BufferView_pimpl.C: allow to click on RHS of full row insets
14374 2001-11-30 Juergen Vigna <jug@sad.it>
14376 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14377 insets for undo reasons.
14379 2001-11-28 André Pönitz <poenitz@gmx.net>
14381 * vspace.[Ch]: cosmetical changes
14383 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14393 * kbsequence.C: part re-write of old kb code
14396 * WorkArea.C: remove Lgb_bug_find_hack
14398 2001-11-30 José Matos <jamatos@fep.up.pt>
14400 * buffer.C (makeDocBookFile): add a comment to point a hack.
14401 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14402 Fixed a double write of labels.
14404 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14407 * LaTeX.h Fixed bug in LaTeX class where it would not
14408 re-run latex if no depfiles were changed, but the .dvi was removed.
14410 2001-11-28 André Pönitz <poenitz@gmx.net>
14412 * all the files from the change on 2001/11/26:
14413 use lyx::layout_type instead of LyXTextClass::size_type
14414 use lyx::textclass_type instead of LyXTextClassList::size_type
14416 2001-11-29 Juergen Vigna <jug@sad.it>
14418 * text.C: added support for paragraph::isFreeSpacing()
14420 * buffer.C: same as above
14422 * paragraph.h: inserted isFreeSpacing() function to enable
14423 FreeSpacing inside InsetERT.
14425 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14426 of the paragraph's in the cut/copy buffer to 0!
14428 * text2.C (removeRow): remove the assert as it can!
14430 * lyxtext.h: added helper function firstRow returning firstrow and
14431 made firstrow private again.
14433 * BufferView2.C (lockInset): don't relock if we're already locked!
14435 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14436 the only paragraph.
14437 (removeRow): added Assert::(firstrow)
14439 * debug.C: forgot to add INSETTEXT here.
14441 2001-11-28 Juergen Vigna <jug@sad.it>
14443 * sp_spell.C (initialize): changed error text to more general
14444 spellchecker command use (not only ispell!)
14446 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14448 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14450 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14452 * vspace.C: initialise lyxgluelength on failure
14454 2001-11-28 Allan Rae <rae@lyx.org>
14456 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14457 declaration & definition that looks like a function declaration.
14459 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14461 * BufferView2.C (copy):
14462 (copyEnvironment): do not clear the selection when doing a copy.
14464 * text.C (paintFirstRow): compilation fix
14466 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14468 * tabular.C (Latex): correct line count when writing latex.
14470 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14472 * paragraph_pimpl.h:
14473 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14476 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14480 * LColor.C: change vfillline->added_space
14482 * text.C: add markers and text for added space
14484 * vspace.C: fix comment
14486 2001-11-28 André Pönitz <poenitz@gmx.net>
14488 * paragraph.C: whitespace changes
14489 * all the other files from the change on 2001/11/26:
14490 change *::pos_type into lyx::pos_type
14492 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14494 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14495 language of the document when inserting error insets.
14497 2001-11-26 André Pönitz <poenitz@gmx.net>
14499 * BufferView_pimpl.[Ch]:
14507 * paragraph_pimpl.[Ch]:
14510 * text2.C: reduce header dependencies, introduce type for positions
14512 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14514 * <various>: change to use Alert.h
14516 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14518 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14519 when encountering an unknown token.
14520 (readLyXformat2): Show an error message if there were unknown tokens.
14522 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14525 * BufferView_pimpl.C:
14529 * text2.C: use par->isInset()
14531 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14533 * paragraph_pimpl.h:
14534 * paragraph_pimpl.C: cleanup
14536 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14538 * text2.C (removeRow):
14539 * text.C (setHeightOfRow): remove useless (and costly) call to
14542 2001-11-20 Allan Rae <rae@lyx.org>
14544 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14545 Now need Inset*::checkInsertChar() to return true for appropriate
14546 cases so that the characters in the minibuffer will actually be
14549 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14551 * text.C: change the order of the includes.
14552 (workWidth): initialize it at once.
14553 (workWidth): make maxw unsigned
14554 (setHeightOfRow): remove unused variable (inset)
14555 (selectSelectedWord): remove unused variable (inset)
14556 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14558 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14560 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14561 server is not running.
14563 (closeConnection): add debug info when server is disabled.
14565 * ColorHandler.C (getGCForeground): send debug message to GUI
14568 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14570 * kbmap.C (bind): modify because return conventions of
14571 kb_sequence::parse have changed.
14573 * kbsequence.C (parse): only ignore spaces and not any stupid
14574 control character. This avoids tests like s[i] <= ' ', which are
14575 guaranteed to fail with 8bit characters and signed chars.
14576 Change return code to string::npos when there have been no error
14577 (0 was a bad idea when error is at first character)
14579 2001-11-14 José Matos <jamatos@fep.up.pt>
14582 * buffer.C (simpleDocBookOnePar): removed unused argument.
14584 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14587 insets which are part of a word. Paragraph::isLetter takes care of
14588 that now. Use Paragraph::isInset to identify insets.
14589 (selectSelectedWord): do not test for hyphenation break.
14591 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14592 that protected spaces are considered as spaces.
14594 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14597 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14600 * lyxserver.C: fix it. and small cleanup.
14602 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14604 * BufferView_pimpl.C: use inline helpers
14607 * LaTeXFeatures.C: fix typos
14610 * Spacing.C: move spacing_string into class
14612 * ToolbarDefaults.C: move stuff into namespace anon
14614 * layout.h: update enum
14616 * lyxfunc.C: use better debug
14618 * minibuffer.h: fix typo
14622 * WorkArea.C: add and use Debug::WORKAREA
14626 * text2.C: code re-organisation, inline helpers
14628 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14630 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14631 std::vector.empty().
14633 2001-11-09 Allan Rae <rae@lyx.org>
14635 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14636 '\n's after tables. Tabular and ERT inset work now makes this no
14639 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14642 * minibuffer.C: fix crash, improve drop-down completion
14644 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14647 * lyxserver.C: invalidate fd's when doing endPipe()
14649 2001-11-08 José Matos <jamatos@fep.up.pt>
14651 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14652 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14655 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14657 2001-11-07 José Matos <jamatos@fep.up.pt>
14660 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14663 * buffer.C (sgmlOpenTag):
14664 * buffer.C (sgmlCloseTag): removed debug info.
14666 * buffer.h (sgmlOpenTag):
14667 * buffer.h (sgmlCloseTag): made public.
14669 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14671 * buffer.C (saveParamsAsDefaults):
14672 * lyx_cb.C (MenuLayoutSave): remove
14674 * LyXAction.C (init):
14676 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14678 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14680 * buffer.C (setPaperStuff): removed from here...
14682 * bufferparams.C (setPaperStuff): ... and moved there.
14684 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14688 * XFormsView.C: add support for drop-down completion
14690 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14692 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14695 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14697 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14700 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14702 * lyx_main.C: change ref to known bugs
14704 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14706 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14707 to work around older babel problems.
14709 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14711 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14713 2001-10-24 Juergen Vigna <jug@sad.it>
14715 * tabular-old.C (ReadOld): below variable changes reflected.
14717 * tabular.[Ch]: added ltType struct for longtable header/footer
14718 defines and changed all instances where they are used. Added
14719 future support for double top/bottom rows.
14721 2001-10-24 José Matos <jamatos@fep.up.pt>
14723 * buffer.h (docbookHandleCaption):
14724 * buffer.C (docbookHandleCaption): removed unused function.
14725 (makeDocBookFile): moved docbook supported version to v4.1.
14727 2001-10-24 José Matos <jamatos@fep.up.pt>
14730 * tabular.C (docbookRow): new function to export docbook code of a row.
14731 (DocBook): now honors the longtable flags.
14733 2001-10-23 José Matos <jamatos@fep.up.pt>
14736 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14737 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14739 * buffer.C (makeLinuxDocFile):
14740 (makeDocBookFile): reworked the preamble, more clean, and with
14741 support for lyx defined entities. Changed the document declaration
14742 to be more XML friendly.
14744 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14745 if we need to output XML that should be done with a filter.
14747 2001-10-22 Juergen Vigna <jug@sad.it>
14749 * sp_pspell.h (class PSpell): add alive function needed in the
14750 controller to see if the spellchecker could be started.
14752 2001-10-22 Juergen Vigna <jug@sad.it>
14754 * buffer.C (insertStringAsLines): modify the font for inserting
14755 chars in certain conditions by calling checkInsertChar(font).
14757 2001-10-19 Juergen Vigna <jug@sad.it>
14759 * text.C (workWidth): use getRow instead of wrong algorithm.
14760 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14762 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14767 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14769 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14771 * text.C (workWidth): do not search for the exact row when
14772 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14773 optimization for big documents.
14775 2001-10-18 Juergen Vigna <jug@sad.it>
14777 * text.C (workWidth): new function with added Inset * parameter.
14779 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14781 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14783 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14784 change return type of getColumnNearX.
14787 * text.C (changeRegionCase): use uppercase/lowercase instead of
14790 (rightMargin): simplify code by factoring out the uses of
14795 (appendParagraph): use Paragraph::size_type
14797 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14799 * vspace.C (asLatexString): add a missing break
14801 2001-10-15 Herbert Voss <voss@perce.de>
14803 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14805 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14807 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14810 2001-10-10 André Pönitz <poenitz@gmx.net>
14812 * lyxfunc.C: removed greek_kb_flag.
14814 2001-10-10 Herbert Voss <voss@perce.de>
14816 * lyx_main.C: delete global string help_lyxdir.
14818 2001-10-09 Herbert Voss <voss@perce.de>
14820 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14822 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14824 * lyx_main.C: added global string help_lyxdir.
14826 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14828 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14830 * lyxrc.C (set_font_norm_type): support iso8859-4
14832 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14834 * LaTeX.C (deplog): add another regex for MikTeX
14836 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14838 * lyxrc.C (set_font_norm_type): support iso8859-3
14840 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14842 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14844 * LaTeXFeatures.C: remove special case of french and index
14846 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14847 before \begin{document}). This solves several incompatibilities.
14849 2001-10-03 Garst Reese <reese@isn.net>
14851 * lyx_cb.C: change CheckTex error msg.
14853 2001-10-03 José Matos <jamatos@fep.up.pt>
14855 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14857 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14859 * .cvsignore: update
14861 * lyx_main.C (commandLineVersionInfo): use new style version info.
14863 * buffer.C (writeFile):
14865 (makeLinuxDocFile):
14866 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14868 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14870 * version.h: update to use stuff in version.C
14872 * version.C.in: new file. Contains version information determined
14873 at compile time. This is a merging of version.h and
14876 2001-10-03 Juergen Vigna <jug@sad.it>
14878 * BufferView_pimpl.C (update): don't change "dirty" status in
14881 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14883 * WorkArea.C (c-tor): re-position version string slightly.
14885 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14887 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14888 revert to previous code.
14890 WorkArea.[Ch]: (show, destroySplash): methods removed.
14892 WorkArea.C: rework code so that it's an amalgam of the codes before and
14893 after the splash screen was moved to WorkArea.
14895 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14898 * vspace.C (inPixels):
14901 * buffer.C (insertStringAsLines):
14902 (asciiParagraph): fix types to be large enough
14904 * lyxlex_pimpl.h: change member status from short to int
14906 * layout.h: fix type of endlabeltype
14909 * kbsequence.C (parse): change return type to string::size_type
14911 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14914 * Bullet.C (bulletSize):
14915 (bulletEntry): do not use short ints as parameters
14917 * BufferView2.C (insertLyXFile): change a char to an int.
14919 * WorkArea.C (WorkArea): remove unneeded floats in computation
14921 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14923 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14925 * paragraph.C (asString): Do not ignore newline/hfill chars when
14926 copying to the clipboard.
14928 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14930 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14931 after a multi-line inset.
14933 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14935 * paragraph.C (validate): Set NeedLyXFootnoteCode
14937 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14939 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14940 and decrease-error to decrease.
14942 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14944 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14945 it more readable (should be equivalent)
14947 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14949 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14951 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14953 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14954 of a cursor (row, etc.) after a character has been deleted
14955 (deleteEmptyParagraphMechanism): call the method above on _all_
14956 cursors held by the LyXText when a double space has been
14959 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14961 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14963 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14965 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14966 background. Use greyOut() and the new show() methods to toggle between
14967 the foreground and background. Add code to remove the splash after
14968 its initial showing.
14970 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14971 (create_forms): no longer call Dialogs::showSplash.
14973 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14975 * .cvsignore: add version_info.h
14977 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * version_info.h.in: new file
14981 * Makefile.am: add version_info.h.in
14983 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14984 version_info.h instead of VERSION_INFO
14986 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14988 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14989 The ERT inset now returns string().
14991 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14993 * lyxtext.h, text.C (selectNextWord): renamed as
14994 selectNextWordToSpellcheck.
14996 * text.C (selectNextWordToSpellcheck): Modified to not select
14997 words inside an ERT inset.
14999 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15001 * lyx_cb.C (MenuLayoutSave): change a bit the question
15003 * sp_base.h: include <sys/types.h>
15005 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15007 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15009 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15011 * several files: fix typos in user-visible strings
15013 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15015 * text2.C (pasteSelection): do not set the selection, since it
15016 will be cleared later. Actually, the intent was to fix the way the
15017 selection was set, but I figured rmoving the code was just as good.
15019 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15021 * FontLoader.C (available): Check if font is available without
15024 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15026 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15028 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15030 * lyxrc.[Ch]: added display_graphics variable and associated code.
15032 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15034 * bufferparams.C (hasClassDefaults): new method. Returns true if
15035 the buffer parameters correspond to known class defaults
15037 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15039 * XFormsView.C (show): set minimum size to the main window.
15041 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15043 * text2.C (copySelection):
15045 * lyxfind.C (LyXReplace):
15046 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15047 LyXText::selectionAsString.
15049 * paragraph.C (asString): add "label" argument to the second form
15051 * text2.C (selectionAsString): add "label" argument and pass it to
15052 Paragraph::asString.
15054 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15056 * lyx_main.C (commandLineHelp): remove version information
15058 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15060 * lyx_main.C: add -version commandline option
15062 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15064 * paragraph.h: make the optional constructor arg required instead.
15065 some modifications to other files because of this.
15067 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15069 * lyxserver.C (C_LyXComm_callback): make it static
15071 * lyx_main.C (error_handler): make it static
15073 * lyx_gui.C (LyX_XErrHandler): make it static
15075 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15077 * WorkArea.C: make the extern "C" methods static.
15079 * Makefile.am (lyx_LDADD): simplify
15081 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15083 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15084 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15086 * LyXAction.C (init):
15087 * lyxfunc.C (dispatch): associated code removal.
15089 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15091 * lyxfont.h (isSymbolFont): shut off warning
15093 * text.C (setHeightOfRow):
15094 (getVisibleRow): fix crash with empty paragraphs which have a
15097 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15099 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15102 2001-09-04 José Matos <jamatos@fep.up.pt>
15105 * tabular.C (docbook): rename docBook method to docbook.
15107 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15109 * Makefile.am: add dependencies to main.o.
15111 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15113 * FontLoader.C (available): Return false if !lyxrc.use_gui
15115 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15117 * FontInfo.C (query):
15118 * converter.C (view):
15119 * importer.C (Import):
15120 * exporter.C (Export): Can not -> cannot.
15122 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15124 * BufferView_pimpl.C: allow to create index inset even if
15127 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15129 * buffer.C (getLists): replace boost::tie code with an explicit pair
15130 as boost::tie can break some compilers.
15132 * iterators.h: Added a std:: declaration to the return type of
15135 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15137 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15140 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15142 * iterators.[Ch]: New files. Provide paragraph iterators.
15144 * buffer.C (changeLanguage): Use paragraph iterators.
15145 (isMultiLingual): ditto
15147 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15149 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15151 * FontLoader.C: Support for cmr font.
15153 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15155 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15156 (available): New method.
15158 * FontInfo.C (getFontname): Use scalable fonts even when
15159 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15162 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15164 * converter.C (Formats::view): reverted! Incorrect fix.
15166 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15168 * converter.C (Formats::view): only output the -paper option
15169 if the dvi viewer is xdvi, thereby fixing bug #233429.
15171 2001-08-23 Herbert Voss <voss@perce>
15173 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15175 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15177 * Spacing.h (Spacing): Set space to Default on in the default
15180 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * vc-backend.h (RCS::versionString): add RCS to version
15183 (CVS::versionString): add CVS to version
15185 * vc-backend.C (scanMaster): do not add CVS to version.
15186 (scanMaster): do not add RCS to version
15188 * lyxvc.C (versionString): new method
15190 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15192 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15194 * Spacing.C (set): initialize fval
15196 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15198 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15201 2001-08-16 Juergen Vigna <jug@sad.it>
15203 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15205 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15207 * BufferView_pimpl.C:
15210 * text2.C: setParagraph takes linespacing now
15212 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15214 * LyxAction.C: add internal LFUN_CITATION_INSERT
15216 * LyXView.C: actually apply fix
15218 * bufferlist.C: fix open non-existent file
15220 * lyxfind.C: fix indentation
15222 * lyxfunc.C: remove unneeded assert, fix typo
15224 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15226 * MenuBackend.C: use "Floatname List"
15228 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15230 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15231 when converting LaTeX layout to insetERT.
15232 Generate a non-collapsed float when reading old float
15234 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15236 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15239 2001-08-13 Juergen Vigna <jug@sad.it>
15241 * text.C (fill): return 0 instead of 20 as this seems to be the more
15244 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15246 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15249 2001-08-13 Juergen Vigna <jug@sad.it>
15251 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15253 (SearchBackward): comment out the unlocking of the inset_owner this
15254 should not be needed!
15256 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15258 * Many files: Remove inherit_language, and add latex_language
15260 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15261 collapsible insets.
15263 2001-08-10 Juergen Vigna <jug@sad.it>
15265 * text.C (prepareToPrint): fixed hfill-width in draw!
15267 * BufferView2.C (selectLastWord): save the selection cursor as this
15268 now is cleared in the function LyXText::clearSelection!
15270 2001-08-08 Juergen Vigna <jug@sad.it>
15272 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15273 BACKSPACE type functions.
15275 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15276 is only cutted from the document but not put in the cut-buffer, where
15277 still the old stuff should be.
15279 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15281 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15283 * tabular.C (SetWidthOfCell): fixed special case where the width
15285 (LeftLine): handle '|' in align_special.
15287 (LeftAlreadyDrawed): ditto
15288 (SetWidthOfCell): ditto
15290 2001-08-07 Juergen Vigna <jug@sad.it>
15292 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15294 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15297 * lyxlex.[hC]: ditto
15299 2001-08-06 Juergen Vigna <jug@sad.it>
15301 * text.C (getVisibleRow): fix up row clearing a bit.
15303 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15305 * minibuffer.C: make sure the X server sees the changes in the input.
15307 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * paragraph.C (getFont): split into...
15310 (getLabelFont): this
15311 (getLayoutFont): and this
15312 * paragraph_pimpl.C (realizeFont): calling this
15314 * text2.C (getFont): split into...
15315 (getLayoutFont): this
15316 (getLabelFont): and this
15317 (realizeFont): all three calling this
15319 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15322 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15324 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15326 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15328 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15329 layouts from the Quote inset insertion.
15331 2001-08-03 Juergen Vigna <jug@sad.it>
15333 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15335 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15336 only if status not is already CHANGED_IN_DRAW (second level).
15338 * text.C (draw): don't set the need_break_row when inside an
15341 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15343 * buffer.C (parseSingleLyXformat2Token): handle more latex
15346 * bufferview_funcs.[hC]: change function names to
15347 begin with small char, adjust other files.
15349 2001-08-02 André Pönitz <poenitz@gmx.net>
15352 BufferView_pimpl.C: remove broken special code for math-greek
15354 2001-08-02 Juergen Vigna <jug@sad.it>
15356 * BufferView_pimpl.C (update): redone this function so that we
15357 update the text again if there was a CHANGE_IN_DRAW.
15359 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15360 (drawFromTo): added a new internal bool which is used by draw() and
15362 (general): some cursor drawing problems fixed.
15364 2001-08-01 Juergen Vigna <jug@sad.it>
15366 * lyxfind.C (LyXFind): fixed
15367 (SearchForward): ditto
15368 (SearchBackward): ditto
15370 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15371 spurius drawing of the cursor in the main area.
15373 * text2.C (status): small fix which could lead to a segfault!
15374 (clearSelection): remove unneeded BufferView param.
15376 2001-08-01 André Pönitz <poenitz@gmx.net>
15378 * lyxfunc.C: small change due to changed mathed interface
15380 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15382 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15384 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15386 * lyxfunc.c: fail gracefully if file doesn't exist
15391 * BufferView_pimpl.C: IsDirWriteable() proto changed
15393 * LyXView.C: fix updateWindowTitle() to store the last title
15395 2001-07-31 Juergen Vigna <jug@sad.it>
15397 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15398 the font (wrong since using of Paragraph::highestFontInRange).
15400 * paragraph.C (highestFontInRange): added a default_size parameter.
15402 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15403 (setHeightOfRow): reformat
15405 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15407 * converter.[hC] + affected files: move to (inital-char)lowercase
15410 * ParagraphParameters.C (ParagraphParameters): remove commented code
15412 * PainterBase.[Ch]: remove commented code
15414 * LaTeXFeatures.h: add "bool floats" for float.sty
15416 * LaTeXFeatures.C (LaTeXFeatures): init floats
15417 (require): handle float
15418 (getPackages): do it with floats
15420 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15422 * BufferView_pimpl.C (Dispatch): improve handling of
15423 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15425 * commandtags.h: #include lyxfont.h here temporarily to avoid
15428 * bufferlist.h: include LString.h here.
15430 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15432 * text2.C (getStringToIndex): new method.
15434 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15436 * *: Reduced header file dependencies all over.
15438 2001-07-30 Baruch Even <baruch@lyx.org>
15440 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15442 2001-07-29 Baruch Even <baruch@lyx.org>
15444 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15446 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15448 * ParameterStruct.h (endif): add a default constructor to make
15449 sure that all variables is initialized.
15451 * ParagraphParameters.C (ParagraphParameters): adjust
15453 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15455 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15456 index; also, check that there is something to index, and that it
15457 does not span over several paragraphs.
15458 (doubleClick): use WHOLE_WORD_STRICT for double click.
15460 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15462 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15465 2001-07-26 Baruch Even <baruch@lyx.org>
15467 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15468 an InsetFig figure, backwards compatible reading of old figure code.
15470 2001-07-27 Juergen Vigna <jug@sad.it>
15472 * text2.C: font.realize function adaption.
15474 * text.C (draw): add a warnings lyxerr text if needed.
15476 * layout.C: font.realize function adaption.
15478 * language.C: add inherit_language and implement it's handlings
15480 * bufferview_funcs.C (StyleReset): remove language parameter from
15481 font creation (should be language_inherit now).
15483 * bufferparams.C (writeFile): handle ignore_language.
15485 * paragraph.C (getFontSettings): the language has to be resolved
15486 otherwise we have problems in LyXFont!
15488 * lyxfont.C (lyxWriteChanges): added document_language parameter
15489 (update): removed unneeded language parameter
15491 * paragraph.C (validate): fixed wrong output of color-package when
15492 using interface colors for certain fonts in certain environments,
15493 which should not seen as that on the final output.
15495 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15497 * BufferView_pimpl.C:
15502 * LyXAction.C: add thesaurus support
15505 * lyxfind.C: add "once" parameter, for thesaurus, to not
15506 move to the next match
15508 2001-07-26 Juergen Vigna <jug@sad.it>
15510 * lyxfont.C (realize): honor ignore_language too!
15513 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15515 * text.C (draw): one place more for ignore_language to not draw
15518 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15520 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15522 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15524 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15525 the minipage conversion problem.
15527 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15529 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15532 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15534 * BufferView.h: don't forward declare WorkArea
15536 * BufferView.C: don't include WorkArea.h
15538 2001-07-25 André Pönitz <poenitz@gmx.net>
15542 * lyxfunc.C: new LFUN 'math-space'
15544 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15546 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15548 * text2.C (toggleInset): call open/close
15550 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15552 * lyxfunc.C (dispatch): add debug for the disabled case
15554 * font.C (buttonText): make similar to rectText
15556 * buffer.C (readInset): comment out parsing of insetlist and
15559 * PainterBase.C (rectText): small correction
15561 * BufferView_pimpl.C: comment out insettheorem and insetlist
15562 * LyXAction.C: ditto
15563 * commandtags.h: ditto
15565 2001-07-24 Juergen Vigna <jug@sad.it>
15567 * text.C (draw): honor the ignore_language.
15569 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15571 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15576 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15578 * lyxtext.h: remove unused (and unimplemented) methods
15580 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15582 * text.C (getVisibleRow): honor background color
15585 * Painter.h: remove default color argument for fillRectangle
15587 * text.C (backgroundColor): new method
15589 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15591 * text.C (getVisibleRow): adjust
15593 * font.[Ch] (rectText): new method, metrics
15594 (buttonText): new method, metrics
15596 * PainterBase.[hC]: make rectText and buttonText always draw and take
15599 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15601 * ToolbarDefaults.C (read):
15602 * MenuBackend.C (read): allow escaping in all strings
15604 * BufferView_pimpl.C (insertAndEditInset): new method.
15605 (Dispatch): use insertAndEditInset whenever appropriate.
15607 * BufferView_pimpl.C (insertNote): removed
15609 * BufferView_pimpl.C (smartQuote): new method, moved from
15610 BufferView; if an insetquote cannot be inserted, insert a '"'
15613 * BufferView2.C: remove insertCorrectQuote();
15615 * lyxfunc.C (getStatus): Add support for all remaingin
15616 inset-insert lfuns.
15618 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15620 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15621 command (necessary to pass " as parameter of self-insert.
15623 * text.C (selectWordWhenUnderCursor):
15624 (selectWord): add word_location parameter
15625 (selectWordWhenUnderCursor): same + remove special code for word
15627 (selectNextWord): use kind() to guess type of insetspecialchar,
15630 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15631 (insertErtContents): create ert insets as collapsed.
15632 (readInset): better compatibility code for Info inset.
15634 2001-07-20 Juergen Vigna <jug@sad.it>
15636 * lyxfunc.C (dispatch): use always LyXFind now!
15638 * text2.C (init): add a reinit flag so that the LyXText can be
15639 reinited instead of deleted and reallocated (used in InsetText).
15641 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15647 2001-07-18 Juergen Vigna <jug@sad.it>
15649 * text.C (selectNextWord): handle insets inside inset by calling
15650 always the bv->text functions so that we can go up the_locking_inset!
15652 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15653 in strange locations when inside an inset!
15655 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15656 handling to include insets.
15658 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15660 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * LyXAction.C (init):
15664 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15665 LIGATURE_BREAK, since the name is so stupid.
15667 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15669 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15672 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15674 * sp_form.[Ch]: remove.
15676 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15678 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15681 * src/buffer.C (readInset): ditto.
15683 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15685 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15686 menuSeparator(), endOfSentenceDot(), ldots() and
15687 hyphenationPoint(), which are therefore removed.
15688 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15690 * LyXAction.C (init):
15691 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15693 * paragraph.C (getWord): removed.
15695 * BufferView_pimpl.C (Dispatch): use last word or selection for
15696 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15698 * lyx_main.C (queryUserLyXDir): do not ask before creating
15699 user_dir, except if it has been named explicitely.
15701 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15703 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15704 a document of zero size.
15706 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15708 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15709 approriately in the c-tor and in require().
15710 (getPackages): output the appropriate LaTeX for natbib support.
15712 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15713 variables "use_natbib" and "use_numerical_citations" when reading the
15715 (readInset): read the various natbib cite commands.
15716 (validate): white-space change.
15718 * bufferparams.[Ch]: new variables "bool use_natbib" and
15719 "bool use_numerical_citations".
15720 (writeFile): output them in the LyX file.
15722 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15724 * lyxfunc.C (getStatus): add support for all the inset insertion
15727 * text2.C (insertInset):
15728 * paragraph.C (insetAllowed):
15729 * BufferView_pimpl.C (insertInset): update to take in account the
15730 renaming of insertInsetAllowed
15732 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15734 * text2.C (getInset): new method. returns inset at cursor position.
15736 * BufferView_pimpl.C (Dispatch): changes because of this.
15738 * LyXAction.C (init): rename open-stuff to inset-toggle.
15740 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15742 * text2.C (toggleInset): renamed from openStuff; use
15745 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15747 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15749 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15751 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15753 * buffer.C (readLyXformat2): Add filename to the error dialog
15755 2001-07-18 Juergen Vigna <jug@sad.it>
15757 * tabular.C (GetCellNumber): put an assert here instead of the check!
15759 2001-07-17 Juergen Vigna <jug@sad.it>
15761 * BufferView_pimpl.C (toggleSelection): adapted too.
15763 * text.C (selectNextWord): adapted for use with insets.
15764 (selectSelectedWord): ditto
15766 2001-07-17 Juergen Vigna <jug@sad.it>
15768 * sp_spell.C (PSpell): fix initialitation order.
15770 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15772 * paragraph.C: spacing
15774 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15776 * sp_spell.C: repair language selection for pspell
15778 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15780 * lyxfunc.h: change more methods to begin with lower char.
15782 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15784 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15785 for unknown layouts.
15787 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15789 * buffer.C (readLyXformat2): Generate an error dialog if there are
15792 2001-07-16 Juergen Vigna <jug@sad.it>
15794 * sp_spell.C: always compile ISpell part.
15796 * lyxrc.C: added use_pspell entry and it's handling.
15798 2001-07-13 Juergen Vigna <jug@sad.it>
15800 * sp_spell.C: removed double includes.
15802 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15804 Consistent use of Lsstream.h:
15805 * Lsstream.h: added using std::stringstream for consistencies sake.
15807 * buffer.C: removed using std::stringstream
15809 * lyxfont.C (stateText):
15810 * paragraph.C (asString):
15811 * text.C (selectNextWord, selectSelectedWord):
15812 * text2.C (setCounter):
15813 * vspace.C (asString, asLatexString):
15814 std::ostringstream -> ostringstream.
15816 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15818 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15819 * commandtags.h: add LFUN_HELP_ABOUTLYX
15820 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15822 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15824 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15826 * lyx_gui_misc.C: remove spellchecker
15827 * lyxfunc.C: showSpellchecker
15829 * sp_ispell.h: added
15830 * sp_pspell.h: added
15831 * sp_spell.C: added
15832 * sp_form.[Ch]: removed
15833 * spellchecker.[Ch]: removed
15835 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15837 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15839 (simpleTeXSpecialChars): Simply print the input character without
15840 any special translation if pass_thru is set.
15842 * layout.h: Added bool pass_thru to layout class for being able to
15843 implement pass through of a paragraph for Literate Programming.
15845 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15846 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15847 * layout.C (Read): add "passthru" to list of layout tags and add
15848 code to set the pass_thru boolean when it is read.
15850 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15852 * trans_decl.h: remove allowed from KmodInfo
15854 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15855 remove allowed code
15858 * paragraph_pimpl.C (erase): use boost::prior
15860 * Painter.C (text): use data() instead of c_str() when length is
15862 * WorkArea.C (putClipboard): ditto
15863 * font.h (width): ditto
15865 * BufferView2.C: use it-> instead of (*it). for iterators
15867 * paragraph_pimpl.C: ditto
15868 * paragraph.C: ditto
15869 * minibuffer.C: ditto
15870 * language.C: ditto
15872 * encoding.C: ditto
15873 * counters.C: ditto
15874 * converter.C: ditto
15876 * Variables.C: ditto
15877 * TextCache.C: ditto
15878 * MenuBackend.C: ditto
15879 * LyXAction.C: ditto
15881 * FloatList.C: ditto
15882 * DepTable.C: ditto
15883 * ColorHandler.C (LyXColorHandler): ditto
15885 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15887 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15889 * text2.C (openStuff): reintroduce this method (which had been
15890 nuked in NEW_INSETS frenzy).
15892 * lyxfunc.C (Dispatch): when an action has not been handled, use
15893 its name in the error message, not its number.
15895 * paragraph.C (inInset): change method name to begin with lowercase.
15898 * text2.C: updates because of this.
15900 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15902 * ToolbarDefaults.C (add): add spaces in error message
15904 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15906 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15907 (readLyXformat2): rename return_par to first_par, use lyxlex's
15908 pushToken and remove the manual push handling.
15909 (parseSingleLyXformat2Token): add another ert comp. variable:
15910 in_tabular, rename return_par to first_par. handle newlines better
15912 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15914 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15916 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15918 * text2.C (getParFromID): removed
15920 * buffer.C (getParFromID): new method moved form lyxtext.
15921 * BufferView2.C (insertErrors): adjust
15922 (setCursorFromRow): adjust
15923 * BufferView_pimpl.C (restorePosition): adjust
15924 * lyxfunc.C (Dispatch): adjust
15925 * undo_funcs.C (textUndo): adjust
15927 (textHandleUndo): adjust
15928 (textHandleUndo): adjust
15930 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15932 * buffer.C: up' the LYX_FORMAT
15934 * lyxfont.h: turn NO_LATEX on as default
15936 * buffer.C (insertErtContents): new methods of tex style compability.
15937 (parseSingleLyXformat2Token): use it several places.
15938 * tabular.C (OldFormatRead): and here
15940 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15942 * text2.C: remove some commented code.
15945 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15946 * trans.C: changes because of the above.
15948 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15950 * text2.C (setCounter): Fix counters bug with bibliography layout.
15952 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15954 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15955 own member functions
15956 (simpleTeXSpecialChars): ditto
15958 2001-07-06 Juergen Vigna <jug@sad.it>
15960 * a lot of files: changed the access to LyXText::status and the
15961 call of undo-functions.
15963 * undo.[Ch]: added a inset_id to the undo informations.
15965 * undo_funcs.[Ch]: added and moved here all undo functions.
15967 * lyxtext.h: give the status enum a weight, made status_ a private
15968 variable and made accessor functions for it, removed the whole bunch
15969 of undo-functions as they are now in their own file, make some
15970 functions publically available. Added function ownerParagraph with
15973 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15974 made InInset() a const function, added getParFromID() function.
15976 * buffer.[Ch]: added const version for inset_iterator functions,
15977 added getInsetFromID() function.
15979 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15980 changed undo functions for new version.
15982 2001-07-05 Juergen Vigna <jug@sad.it>
15984 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15985 unknow mechanism does not call the proper constructor but only this
15986 one also if I request the other!?
15988 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15990 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15992 * text2.C (LyXText): use initialization lists.
15994 * lyxtext.h (Selection): initialize set_ and mark_
15995 (init): remove method
15997 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15999 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16001 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16003 * screen.[Ch]: change method names to begin with lowercase
16005 * BufferView_pimpl.C (updateScrollbar): simplify further and
16006 hopefully make it a bit faster.
16008 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16010 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16011 calling directly xforms functions.
16013 * Painter.C (Painter):
16014 * lyx_cb.C (MenuWrite):
16015 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16018 * lyx_gui.C: remove bogus guiruntime extern declaration.
16020 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16022 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16024 (redoDrawingOfParagraph): ditto
16025 (redoParagraphs): ditto
16026 (cutSelection): don't create a object for CutAndPaste use the
16027 static method directly
16028 (pasteSelection): ditto
16030 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16033 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16035 * modifications to some other files because of this.
16037 * Makefile.am (lyx_SOURCES): add XFormsView
16039 * XFormsView.[Ch]: new files
16041 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16042 the main window. Move the gui dependent stuff to XFormsView
16044 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16046 * tabular.C (GetCellInset): update cur_cell also in the row/col
16047 version of this function.
16049 * lyxfunc.C: no need to include figure_form.h here.
16055 * lyxvc.C: no need to include forms.h here.
16057 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16059 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16061 * lyxfunc.C (Dispatch):
16063 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16064 constructor argument.
16066 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16068 * paragraph.C (Paragraph): dont't clear, and just set layout.
16069 (makeSameLayout): use params's copy contructor.
16071 * ParagraphParameters.[Ch] (makeSame): delete method
16073 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16075 * Variables.[Ch]: fix indentation, rename set to isSet
16077 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16079 * lyxfunc.C (Dispatch): fix typo
16081 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16083 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16086 * bufferlist.C: include assert.h for emergencyWrite().
16088 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16090 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16091 give up at last (bug #425202) !
16093 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16099 * spellchecker.C: strip spellchecker options and bring up
16100 preferences tab instead
16102 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16104 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16105 the istringstream constructor
16107 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16109 * paragraph.C (getLayout): fix return value
16111 * paragraph.h: do not declare getLayout as inline.
16113 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16115 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16117 * lyxcursor.h (operator<): new func
16118 (operator>): new func
16119 (operator>=): new func
16120 (operator<=): new func
16122 * text.C (changeCase): use selection.start and selection.end
16123 (changeRegionCase): require from to be <= to. Require par to be a
16126 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16128 2001-06-27 Juergen Vigna <jug@sad.it>
16130 * text.C (cursorLeftOneWord): changed to return the cursor and added
16131 overlay with BufferView * parameter which calls this one.
16133 (selectWord): use new getWord function.
16134 (changeCase): renamed from changeWordCase as and extended to work
16135 also on selections.
16137 * lyxtext.h: added enum word_location
16139 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16140 changeCase as this operates now also on selections.
16142 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16144 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16146 * many files: send debug output to Debug::INFO instead of
16149 * converter.C (View):
16151 (Move): send debug output to Debug::FILES instead of console.
16153 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16155 * lyxfunc.C (getStatus): use func_status
16157 * func_status.h: new header, describing the results of
16158 LyXFunc::getStatus;
16160 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16163 2001-06-25 The LyX Project <jug@sad.it>
16165 * buffer.C (sgmlOpenTag):
16167 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16169 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16171 * text2.C: remove some dead code
16173 * tabular.C (GetCellInset): store the last cell checked (gotten)
16175 * tabular.h: add the helper for the speedup
16177 * lyxtext.h: remove some dead code
16179 2001-06-26 The LyX Project <Asger>
16181 * paragraph.C: Change export to LaTeX of alignment to
16182 \begin{center} and family for better roundtrip work with reLyX.
16184 * Tune the math drawing a bit.
16186 2001-06-25 The LyX Project <Asger>
16188 * LColor.C (LColor): New color for math background. New color
16191 2001-06-25 The LyX Project <jug@sad.it>
16193 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16195 * lyxfunc.C (Open):
16196 * bufferlist.C (newFile): do not restrict to files ending with
16199 * BufferView_pimpl.C (MenuInsertLyXFile):
16201 2001-06-24 The LyX Project <jug@sad.it>
16203 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16206 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16208 * lyxtext.h: rename most methods to begin with a small char.
16209 Lots of changes because of this.
16211 * paragraph.C (Paragraph): do not call fitToSize
16212 (erase): call Pimpl::erase
16213 (insertChar): call Pimpl::insertChar
16214 (insertInset): call Pipl::insertInset
16215 (breakParagraph): do not call fitToSize
16216 (breakParagraphConservative): do not call fitToSize
16217 (fitToSize): remove method
16219 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16221 2001-06-24 The LyX Project <Asger>
16223 * Fix Qt compilation^2
16225 2001-06-24 The LyX Project <jug@sad.it>
16227 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16228 depthHook(getDepth()-1).
16231 * ParagraphParameters.h:
16232 * ParameterStruct.h: change type of depth to unsigned int ==
16233 depth_type. Many adaptations to other files before of that.
16235 2001-06-24 The LyX Project <Asger>
16237 * Fix Qt compilation.
16239 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16241 * paragraph.h: renamed several methods to begin with small letter.
16242 several changes to many parts of the code because of this.
16244 2001-06-23 The LyX Project <jug@sad.it>
16246 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16247 rewritten to discard all double spaces when KeepEmpty is off
16248 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16249 to only handle newlines but not fiddle with spaces and friends.
16251 * lyxfunc.C (MenuNew): when doing 'new from template', use
16252 template_path as default directory
16254 2001-06-23 The LyX Project <Asger>
16256 * Clean-up of header file includes all over
16257 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16259 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16261 * paragraph.h: renamed from lyxparagraph.h
16263 2001-06-23 Asger <lyx@violet.home.sad.it>
16265 * Buffer.h: Removed Buffer::resize
16266 * BufferList.h: Removed BufferList::resize
16267 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16268 the document lazily when we change the width, or the font settings.
16270 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16272 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16274 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16276 * buffer.h: remove out of date comment
16278 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16281 * screen.C: fix "theoretical" GC leak
16283 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16285 * LaTeX.C (scanAuxFile):
16286 (deplog): remove trailing \r when reading stream (useful under
16289 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16291 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16292 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16293 and BufferView::theLockingInset(Inset*), so should use them and not
16294 access bv_->text->the_locking_inset directly.
16296 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16298 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16301 * tex-defs.h: remove old unused file
16303 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16305 * BufferView_pimpl.C: fix typo, remove minibuffer message
16306 when buffer has loaded
16308 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16310 * lyxfunc.C (Dispatch): use stringstream
16311 (MenuNew): use stringstream
16312 (Open): use stringstream
16314 * importer.C (Import): use stringstream
16316 * bufferview_funcs.C (CurrentState): use stringstream
16318 * LaTeX.C (run): use stringstream
16320 * BufferView_pimpl.C (savePosition): use stringstream
16321 (restorePosition): use stringstream
16322 (MenuInsertLyXFile): use stringstream
16324 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16337 * vspace.C: removed // -*- C++ -*- as first line.
16340 * version.h: added // -*- C++ -*- as first line.
16342 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16344 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16346 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16349 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16351 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16354 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16356 * gettext.C: include LString.h even when --disable-nls is on.
16358 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16360 * converter.h (Get): changed argument type from int to
16361 FormatList::size_type to avoid unnecessary conversion.
16363 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16366 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16368 * gettext.h: include LString.h even when --disable-nls is on.
16370 2001-06-07 Juergen Vigna <jug@sad.it>
16372 * text.C (BreakAgain): subst spaces with tabs.
16374 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16375 (resizeInsetsLyXText): set force on resizeLyXText.
16377 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16379 * gettext.h (gettext_init):
16380 (locale_init): use a real definition instead of a macro
16382 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16384 * Bufferview_pimpl.C:
16386 * LColor.C: further lcolor tidies
16388 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16390 * BufferView_pimpl.C (updateScrollbar): simplify.
16392 * BufferView2.C: don't include insets/insetinfo.h, change
16393 prototype for insertInset and call the Pimpl version. let
16394 updateInset call Pimpl version.
16396 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16397 gotoInset to BufferView::Pimpl
16399 2001-06-01 Juergen Vigna <jug@sad.it>
16401 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16402 inside a LockingInset (is the update needed at all?).
16404 2001-05-31 Juergen Vigna <jug@sad.it>
16406 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16407 here not the old one otherwise how should we compare it afterwards
16410 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16415 * FontInfo.C: bring C functions into global namespace when
16418 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16420 * LString.h: make sure config.h has been loaded before LString.h.
16422 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16423 (one for each char read by EatLine!).
16425 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16428 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16430 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16431 to the same as the par we break from
16433 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16435 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16437 * MenuBackend.C (expand): also create menu entries for wide
16438 versions of the floats.
16440 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16442 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16444 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16445 frontends/Makefile.am
16451 * tabular.C (getTokenValue): add std::
16453 * tabular-old.C (getTokenValue): add std::
16454 (getTokenValue): ditto
16455 (getTokenValue): ditto
16457 * screen.C (ToggleSelection): adjust
16459 * lyxtext.h: put selection cursors inside a Selection struct.
16461 * lyxfunc.C (moveCursorUpdate): adjust
16463 * lyxfont.C (latexWriteStartChanges): add std::
16465 * lyxfind.C: adjust
16467 * font.h: delete with(char const *, LyXFont const &)
16469 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16471 * FontInfo.C (getFontname): add std::
16473 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16474 (workAreaButtonPress): adjust
16475 (tripleClick): adjust
16477 (moveCursorUpdate): adjust
16480 * BufferView2.C (gotoInset): adjust
16482 2001-05-30 Juergen Vigna <jug@sad.it>
16484 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16485 to check pspell I add this as default as I now have new pspell
16486 libraries and they seem to use this.
16488 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16490 * text2.C (CutSelection): make the cursor valid before the call to
16493 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16495 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16496 relied on 0 terminated strings and other horrors. Bug found due to
16497 the new assert in lyxstring!
16499 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16502 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16504 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16507 * lyxfunc.C (processKeySym): change method of getting to the
16510 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16511 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16512 * BufferView_pimpl.[Ch]: here as private methods.
16514 2001-05-28 Juergen Vigna <jug@sad.it>
16516 * text.C (SetHeightOfRow): added the update() call again as it is
16517 needed to initialize inset dimensions!
16519 2001-05-16 Juergen Vigna <jug@sad.it>
16521 * text2.C (SetCharFont): Add new function with BufferView * and
16522 bool toggleall parameters for setting insets internal fonts.
16523 (SetFont): Freeze the undo as we may change fonts in Insets and
16524 all this change should be inside only one Undo!
16526 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16527 setting font's in insets as for them we have the SetFont function!
16529 2001-05-15 Juergen Vigna <jug@sad.it>
16531 * text2.C (ClearSelection): to be sure we REALLY don't have any
16534 * tabular.C (TeXCellPreamble): fixed the left border problem for
16537 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16539 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16542 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16544 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16545 LFUN_BREAKPARAGRAPH.
16547 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16548 help test to "internal only", similar for LFUN_INSERT_URL
16550 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16551 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16552 auto_region_delete and deadkeys.
16554 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16557 * LColor.C: remove some dead entries, tidy a little
16559 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16561 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16563 (Dispatch): implement LFUN_ESCAPE
16565 * commandtags.h: add LFUN_ESCAPE
16567 * LyXAction.C (init): add entry for LFUN_ESCAPE
16569 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16570 Remove commented code.
16571 (insertNote): moved here
16572 (open_new_inset): moved here
16574 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16577 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16579 * kbmap.C (findbinding): clean it up and make it work correctly.
16581 * lyx_main.C (init): do not pass argc and argv as parameters
16583 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16585 * buffer.C: fix path for OS/2 & Win32
16589 * lyx_main.C: Added os:: class.
16591 * os2_defines.h: update
16593 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16595 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16596 better by trying again with reduced state.
16598 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16600 * lyxrc.C (read): print error about invalid key sequence only when
16601 debugging (because not all latinX keysyms are known to some X
16604 * kbsequence.C (getiso): add a few std:: qualifiers
16605 (getiso): comment out extra return statement.
16607 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16609 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16611 (Dispatch): enhance the accent inset a bit. (not perfect)
16613 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16615 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16617 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16619 * bufferlist.C (emergencyWrite): fix assert() call
16621 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16623 * text.C (InsertChar): Added trivial patch to only send the "you
16624 can not do multiple spaces this way" message once during a
16627 2001-05-08 Baruch Even <baruch@lyx.org>
16629 * Makefile.am: Changed order of libraries to get LyX to link properly
16630 with the gnome frontend.
16632 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16634 * LaTeXFeatures.h: add a std:: qualifier
16636 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16638 * paragraph.C (String): use stringstream
16640 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16642 * paragraph.C (writeFile): remove footflag arg
16644 * buffer.C (makeLaTeXFile): use stringstream
16645 (latexParagraphs): remove footnot gurba
16647 * LaTeXFeatures.C (getPackages): use stringstream
16648 (getMacros): likewise
16649 (getTClassPreamble): likewise
16650 (getFloatDefinitions): new method
16652 * paragraph.C (writeFile): reindent
16655 * WorkArea.h: revert the xpos + etc changes.
16657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16659 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16661 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16662 (pasteSelection): likewise
16663 * text2.C (CreateUndo): likewise
16665 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16667 * minibuffer.C (peek_event): temporarily reduce the functionality
16668 of the minibuffer (to allow args on lfuns)
16670 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16671 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16673 * buffer.C (readInset): add compability reading of old float
16674 lists, add reading of new style float list.
16675 (readInset): avoid reevaluation of inscmd.getCmdName()
16676 (getLists): reindent
16678 * MenuBackend.C (MenuItem): implement parsing of
16679 md_floatlistinsert and md_floatinsert.
16680 (expand::LastFiles): move initalizaton of iterators out of loop,
16681 avoid reevaluation.
16682 (expand::Documents): introduce typdedef vector<string> Strings,
16684 (expand::ExportFormats): introduce typedef vector<Format const *>
16685 Formats, and use it.
16686 (expand): implement FloatListInsert and FloatInsert.
16688 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16689 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16690 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16692 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16694 (Dispatch::LFUN_FLOAT_LIST): implement
16696 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16698 * LaTeX.C (run): Fix problem with --export code.
16700 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16702 * BufferView.[Ch] (workarea): removed.
16703 (getClipboard) new method; wrapper for workarea()->getClipboard()
16705 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16708 * WorkArea.h (width, height, xpos, ypos): These methods all
16709 returned the dimensions of the work_area sub-area of WorkArea,
16710 resulting in a position error if the WorkArea were resized. Now
16711 return the dimensions of the entire WorkArea.
16713 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16715 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16717 * LaTeX.C (deplog): correct the syntax of regex reg1
16719 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16721 * undo.C: remove !NEW_INSETS cruft
16723 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16725 * text2.C: remove !NEW_INSETS cruft
16727 * text.C: remove !NEW_INSETS cruft
16729 * tabular.C: remove !NEW_INSETS cruft
16731 * spellchecker.C: remove !NEW_INSETS cruft
16733 * lyxtext.h: remove !NEW_INSETS cruft
16735 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16737 * lyxfunc.C: remove !NEW_INSETS cruft
16739 * lyxfind.C: remove !NEW_INSETS cruft
16741 * lyx_cb.C: remove !NEW_INSETS cruft
16743 * figureForm.C: remove !NEW_INSETS cruft
16745 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16747 * buffer.[Ch]: remove !NEW_INSETS cruft
16749 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16751 * CutAndPaste.C: remove !NEW_INSETS cruft
16753 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16755 * BufferView2.C: remove !NEW_INSETS cruft
16757 * BufferView.h: remove !NEW_INSETS cruft
16759 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16761 * Lsstream.h: include LString.h before the sstream headers to
16762 fix problem with gcc 2.95.3 and lyxstring
16764 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16766 * lyx_main.C: add using directives when needed for C functions
16767 declared in std:: namespace.
16769 2001-04-27 Juergen Vigna <jug@sad.it>
16771 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16772 (SetHeightOfRow): comment out the update call should not be needed!
16774 2001-04-13 Juergen Vigna <jug@sad.it>
16776 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16777 (LyXTabular): tried to minimize operator= operations (and realized
16778 hopfully Lars wish).
16780 2001-04-27 Juergen Vigna <jug@sad.it>
16782 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16784 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16786 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16788 * buffer.C (readInset): hack to make listof algorithm work
16790 * BufferView_pimpl.C: hack to make listof algorithm work
16792 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16794 * LyXAction.C: removed all !NEW_INSETS cruft
16795 (init): moved lfun_item in method
16797 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16799 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16801 * BufferView2.C (theLockingInset): white space.
16803 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16805 * minibuffer.C: include <iostream>
16807 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16809 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16811 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16813 * text.[Ch] (TransposeChars): new method
16815 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16817 * call message directly through LyXView instead of through LyXFunc
16818 * BufferView2.C: adjust
16819 * BufferView_pimpl.C: adjust
16820 * FontLoader.C: adjust
16822 * bufferview_funcs.C: adjust
16823 * converter.C: adjust
16824 * figureForm.C: adjust
16825 * importer.C: adjust
16827 * lyx_gui_misc.C: adjust
16828 * lyxfunc.C: adjust
16831 + more files in subdirs
16833 * lyxparagraph.h (size): move up int file
16836 * adjust all uses of Assert to lyx::Assert.
16838 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16839 lyxfunctional in namespace lyx
16840 * layout.C (hasLayout): ditto
16843 (delete_layout): ditto
16844 (NumberOfClass): ditto
16845 * converter.C (GetFormat): ditto
16850 * bufferlist.C (getFileNames): ditto
16851 (emergencyWriteAll): ditto
16854 * MenuBackend.C (hasSubmenu): ditto
16857 * BufferView_pimpl.C (getInsetByCode): ditto
16859 2001-04-18 Juergen Vigna <jug@sad.it>
16861 * vspace.C (asLatexString): fixed the 100% problem.
16863 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16865 * lyxfunc.C (Dispatch):
16867 * minibuffer.h: add a few std:: qualifiers
16869 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16871 * minibuffer.[Ch]: reimplement so that commands is initiated and
16872 run from lyxfunc, simplified som handling, and made the completion
16873 and history code for complete. wip.
16875 * lyxfunc.C (processKeySym): call message
16876 (miniDispatch): new temporary method
16877 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16878 (LFUN_MESSAGE): implement
16879 (LFUN_MESSAGE_PUSH): implement
16880 (LFUN_MESSAGE_POP): implement
16881 (initMiniBuffer): the initial/defualt minibuffer message.
16883 * lyxfont.[Ch]: inline some more getters
16885 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16887 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16889 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16890 (AutoSave): use LFUN_MESSAGE
16891 (Reconfigure): ditto
16893 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16895 * figureForm.C: use LFUN_MESSAGE
16897 * converter.C (runLaTeX): use LFUN_MESSAGE
16899 * bufferview_funcs.C: use LFUN_MESSAGE
16901 (changeDepth): ditto
16903 * bufferparams.h: use boost::
16905 * bufferlist.h: inherit privately from noncopyable
16907 * bufferlist.C (loadLyXFile): remove some commented code.
16909 * buffer.C (runChktex): use LFUN_MESSAGE
16911 * ShareContainer.h: inherit privately from noncopyable
16913 * ParagraphParameters.[hC] (depth): inline it.
16915 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16917 (message): new method
16918 (messagePush): ditto
16919 (messagePop): ditto
16920 (show): init minibuffer
16921 (showState): direct call
16923 * LaTeX.[Ch]: inherit privately from noncopyable
16924 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16925 instead of WriteStatus.
16927 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16929 * BufferView_pimpl.C (buffer): don't init minibuffer
16930 (workAreaButtonPress): use LFUN_MESSAGE
16931 (workAreaButtonRelease): ditto
16932 (savePosition): ditto
16933 (restorePosition): ditto
16934 (MenuInsertLyXFile): ditto
16935 (workAreaExpose): don't init minibuffer
16936 (update): remove commented code, simplify
16938 * BufferView2.C (openStuff): use LFUN_MESSAGE
16939 (toggleFloat): ditto
16942 (copyEnvironment): ditto
16943 (pasteEnvironment): ditto
16948 (updateInset): remove some commented code
16950 * lastfiles.h: inherit privately from noncopyable
16953 * lyx_main.h: ditto
16955 * lyxlex_pimpl.h: ditto
16957 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16958 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16959 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16961 * LyXAction.h: inherit privately from noncopyable, add methods
16962 func_begin, func_end, returning iterators to the func map.
16964 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16965 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16966 (func_begin): new method
16967 (func_end): new method
16969 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16971 (copySelection): ditto
16972 (pasteSelection): ditto
16974 * BufferView.C: whitespace change
16975 * BufferView.h: inherit privately from noncopyable
16977 2001-04-16 Allan Rae <rae@lyx.org>
16979 * tabular-old.C (l_getline):
16980 * spellchecker.C (sc_check_word):
16981 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16982 an unrecognised preprocessor directive. So ensure they're wrapped.
16984 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16986 * src/exporter.C (Export): Give an error message when path to file
16989 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16991 * LaTeX.C (deplog): Always check that foundfile exists.
16993 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16996 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16998 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17000 * tabular.[Ch] (getLabelList): implement new method
17002 * minibuffer.h: comment ouf setTiimer
17004 * minibuffer.C (ExecutingCB): constify res
17005 (peek_event): constify s
17006 (Set): constify ntext
17007 (Init): constify nicename
17009 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17011 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17012 (savePosition): use two params to Minibuffer::Set
17013 (restorePosition): ditto
17015 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17017 * lyx_main.C: include language.h
17019 * Makefile.am (lyx_main.o): add language.h
17021 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17027 * CutAndPaste.C: include gettext.h
17029 * lyxfont.h: remove old hack with ON and OFF.
17032 * lyxfont.h: do not include language.h...
17037 * bufferview_funcs.C:
17043 * paragraph.C: ... but do it here instead
17045 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17047 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17049 * tabular.C: small reformat
17051 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17054 (BreakParagraph): ditto
17055 (SetOnlyLayout): ditto
17058 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17061 * lastfiles.C: removed most using decl, add std:: where needed
17063 * buffer.C: ws changes
17065 * MenuBackend.C (class compare_format): put into anon namespace
17066 (expand): constify label, names, action, action2
17069 * text.C (SingleWidth): constify font
17070 (IsBoundary): constify rtl2
17071 (GetVisibleRow): constify ww
17073 * LaTeX.C (deplog): constify logfile
17075 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17077 (workAreaExpose): constify widthChange, heightChange
17079 * lyxrow.C (par): moved
17082 * lyxrow.h: as inlines here
17084 * lyxfont.h (shape): moved from lyxfont.C
17085 (emph): moved from lyxfont.C
17087 * lyxfont.C (LyXFont): use initialization list for all
17089 (shape): move to lyxfont.h as inline
17090 (emph): move to lyxfont.h as inline
17093 2001-04-04 Juergen Vigna <jug@sad.it>
17095 * vspace.C: had to include stdio.h for use of sscanf
17097 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17100 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17101 independent of xforms.
17103 2001-04-02 Juergen Vigna <jug@sad.it>
17105 * spellchecker.C: fixed namespace placing!
17107 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17109 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17110 the LyXParagraph * is 0.
17112 2001-03-29 Juergen Vigna <jug@sad.it>
17114 * vspace.C: added support for %, c%, p%, l%.
17115 (stringFromUnit): added helper function.
17116 (asLatexString): changed to give right results for the %-values.
17118 * buffer.C: convert the widthp in a width%.
17120 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17122 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17125 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17126 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17128 * lyx_cb.[Ch]: see above.
17130 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17134 * lyx.[Ch]: replaced by figure_form.[Ch].
17138 * lyxfunc.C: changed headers associated with above changes.
17140 2001-03-27 Juergen Vigna <jug@sad.it>
17142 * BufferView_pimpl.C: set the temporary cursor right!
17144 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17146 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17148 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17150 * LString.h: removed "using std::getline"!
17152 * BufferView_pimpl.C (Dispatch): changes due to changes in
17153 InsetInclude::Params.
17155 * buffer.C (tag_name): removed redundant break statements as they were
17156 producing lots of warnings with my compiler.
17158 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17160 * LString.h: add "using std::getline" when using the real <string>.
17162 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17164 * buffer.C: removed bitset usage.
17165 PAR_TAG moved to an anonymous name space.
17166 (tag_name): new funtion, also in the anonymous namespace.
17167 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17168 (makeDocBookFile): clean code. Completed transition from string arrays
17170 (SimpleDocBookOnePar): code clean.
17172 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17174 * tabular.C: add some comments.
17176 2001-03-22 Juergen Vigna <jug@sad.it>
17178 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17179 compatibility read a bit and fixed bug with minipage in different
17182 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17184 * buffer.C (pop_tag): removed.
17185 (push_tag): removed.
17186 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17187 array replaced with vector. Added support for CDATA sections.
17188 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17190 (makeDocBookFile): XML conformant declaration of CDATA section,
17191 fixed bug related to <emphasis> in the first paragraph char.
17192 (sgmlOpenTag): exclude empty tags.
17193 (sgmlCloseTag): ditto.
17195 * buffer.h (pop_tag): removed.
17196 (push_tag): removed.
17198 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17200 * language.h (Languages): added size_type and size().
17202 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17204 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17205 response on compability reading of minipages. One probliem is that
17206 the old usage of minipages was «flertydig»
17208 * several files here and in subdirs: don't use static at file
17209 scope use anon namespaces instead.
17211 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17213 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17214 LaTeX output. This is necessary for Literate document
17217 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17219 * buffer.C: insert hfill when needed.
17221 * tabular.C (l_getline): use string::erase, small whitespace change.
17223 * BufferView_pimpl.C: try the anon namespace.
17224 * WorkArea.C: ditto
17226 2001-03-16 Juergen Vigna <jug@sad.it>
17228 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17229 otherwise it won't open options-dialogs.
17231 * buffer.C: honor pextraWidth(p) on converting minipages.
17233 * tabular.C (l_getline): changed the functions to strip trailing \r.
17235 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17237 * BufferView_pimpl.C:
17238 * minibuffer..C: added "using SigC::slot" declaration.
17240 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17242 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17248 * paragraph.C: ditto
17250 * lyxtext.h: NO_PEXTRA
17252 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17254 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17255 * ParameterStruct.h: ditto
17256 * ParagraphParameters.h: ditto
17257 * lyxparagraph.h: ditto
17259 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17261 * buffer.C: add compability for minipage alignment.
17262 (latexParagraphs): remove unwanted pextra check.
17264 * several files: remove CXX_WORKING_NAMESPACES
17266 * buffer.C (pop_tag): tie is in namespace boost
17268 * BufferView.h: noncopyable is in namespace boost
17270 * lyx_main.h: ditto
17273 * lastfiles.h: ditto
17274 * bufferlist.h: ditto
17275 * ShareContainer.h: ditto
17277 * LyXAction.h: ditto
17280 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17282 * Merging changes from BRANCH_MVC back into HEAD.
17284 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17286 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17288 * BufferView_pimpl.C: change from intl.C
17292 * Makefile.am: move combox.*
17298 * intl.C: remove dialog (covered by prefs)
17300 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17302 * lyxfunc.C (Dispatch): removed redundant break statement.
17304 2001-03-14 Juergen Vigna <jug@sad.it>
17306 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17308 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17310 * buffer.C: add hack to fix compability reading of minipages.
17312 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17314 * buffer.C (getLists): Cleanup.
17316 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17318 * lyxfont.C (update): don't honor toggleall on font size.
17320 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17324 * Makefile.am: moved to frontends/xforms/
17328 * BufferView_pimpl.C: changes for moved mathpanel
17330 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17332 * gettext.h: fix gettext_init() in --disable-nls
17334 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17336 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17338 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17341 * lyx.h: strip external form
17343 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17345 * BufferView_pimpl.C: add comment, destroySplash()
17347 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17349 * BufferView_pimpl.C:
17353 * lyxfunc.C: use re-worked insetinclude
17355 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17357 * buffer.C: add using std::stringstream.
17359 * lyx_cb.C: readd using std::ios.
17361 * buffer.C: add using std::map.
17363 * BufferView_pimpl.C: add using std::vector.
17365 * ShareContainer.h: add std:: to swap.
17367 * buffer.h: add some typedefs
17368 * buffer.C (getLists): use them
17369 (getLists): renamed from getTocList.
17370 add a counter for the different float types and use it in the
17372 (getLists): use the same counter for the NEW_INSETS and the "non"
17375 * lyx_cb.h: remove unused items, includes, using etc.
17377 * ShareContainer.h: remove some commented code, add more comments
17378 and "documentation".
17380 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17382 * buffer.C (getTocList): make the list also when NEW_INSETS is
17385 * buffer.h: remove TocType
17387 * buffer.C (getTocList): change to return a map<string,
17388 vector<TocItem> >, implement for dynamic number of list.
17390 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17391 * text2.C (PasteSelection): adjust
17392 * CutAndPaste.C (pasteSelection): adjust
17394 * FloatList.C (FloatList): update from the new_insets branch.
17395 * Floating.[Ch]: ditto
17396 * LaTeXFeatures.C: ditto
17398 * lyxlex_pimpl.C: ditto
17400 * paragraph.C (Last): remove when NEW_INSETS is defined.
17402 * other file: changes because of the above.
17404 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17406 * lyxparagraph.h: rename next to next_, previous to previous_,
17407 make them private for NEW_INSETS. Rename Next() to next(),
17408 Previous() to previous().
17410 * other files: changes because of the above.
17412 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17415 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17418 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17420 * main.C (main): pass lyx_localedir to gettext_init().
17422 * gettext.h: remove locale_init and gettext_init macros
17424 * gettext.C (locale_init): new function
17425 (gettext_init): new function
17427 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17430 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17432 * Moved credits to frontends:
17433 * credits.[Ch]: removed
17434 * credits_form.[Ch]: removed
17435 * lyx_gui_misc.C: remove credits stuff
17438 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17440 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17442 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17443 unneeded destructor.
17445 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17446 a standalone pointer again.
17448 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17450 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17456 * ToolbarDefaults.C:
17465 * BufferView_pimpl.C: use new file dialog in GUII
17468 * lyx_cb.C: remove LayoutsCB to Toolbar
17470 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17472 * ShareContainer.h (get): add std:: qualifier
17474 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17476 * ShareContainer.h: define a proper ShareContainer::value_type
17477 type (and use typename to please compaq cxx)
17479 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17481 * lyxparagraph.h: move serveral local vars to
17482 ParameterStruct/ParagraphParameters., use ShareContainer in
17483 FontTable., make vars in FontTable private and add getter and
17486 * paragraph.C: changes because of the above.
17488 * lyxfont.h: remove copy constructor and copy assignment. (the
17489 default ones is ok), move number inside FontBits. move inlines to
17492 * lyxfont.C: add number to initializaton of statics, move several
17493 inlines here. constify several local vars. some whitespace
17494 cleanup. Dont hide outerscope variables.
17496 * Spacing.h: add two new constructors to match the set methods.
17498 * ShareContainer.h: new file, will perhaps be moved to support
17500 * ParameterStruct.h: new file
17502 * ParagraphParameters.h: new file
17504 * ParagraphParameters.C: new file
17506 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17507 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17509 * BufferView_pimpl.C: ParagraphParameter changes.
17510 * buffer.C: Likewise.
17511 * bufferview_funcs.C: Likewise.
17512 * text.C: Likewise.
17513 * text2.C: Likewise.
17515 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17517 * lyxfind.C (LyXReplace): do not redefine default argument in
17519 (IsStringInText): ditto
17520 (SearchForward): ditto
17521 (SearchBackward): ditto
17523 2001-03-06 Juergen Vigna <jug@sad.it>
17525 * lyxfind.C (IsStringInText): put parentes around expressions.
17527 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17529 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17531 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17533 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17535 * stl_string_fwd.h: add comment
17537 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17540 * tabular.C: remove unused DocBook methods
17546 killed DO_USE_DEFAULT_LANGUAGE
17548 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17550 * lyx_gui.C: do not include language.h.
17552 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17553 arguments in function implementation.
17555 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17557 * BufferView_pimpl.C: add <ctime>
17559 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17561 * BufferView_pimpl.C: add using std::find_if
17563 2001-02-27 José Matos <jamatos@fep.up.pt>
17565 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17568 2001-02-11 José Matos <jamatos@fep.up.pt>
17570 * buffer.C (makeDocBookFile): command styles now have a parameter as
17571 "title" by default.
17573 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17575 * layout_forms.[Ch]: removed
17576 * lyx_cb.[Ch]: out character
17577 * lyx_gui.C: out character
17578 * lyx_gui_misc.C: out character
17579 * bufferview_funcs.C: : out character,
17580 added toggleall as parameter in ToggleAndShow
17582 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17584 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17586 * text2.C (SetCurrentFont): Disable number property at boundary.
17588 2001-02-26 Juergen Vigna <jug@sad.it>
17590 * lyxfunc.C (getStatus): added a string argument override function so
17591 that this is correctly called from LyXFunc::Dispatch if it contains a
17592 do_not_use_argument which is used!
17593 (Dispatch): added check for "custom" export and call appropriate func.
17595 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17597 * lyxrc.C: Add language_command_local, language_use_babel and
17598 language_global_options.
17600 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17602 * buffer.C (makeLaTeXFile): Use language_use_babel and
17603 language_global_options.
17605 2001-02-23 Juergen Vigna <jug@sad.it>
17607 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17608 which works with LyXText and putted it inside BufferView. Here now we
17609 only call for that part the BufferView::Dispatch() function.
17611 * BufferView.C (Dispatch): added.
17613 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17614 functions which needs to use a LyXText over from LyXFunc.
17615 (MenuInsertLyXFile): added
17616 (getInsetByCode): added
17617 (moveCursorUpdate): added
17618 (static TEXT): added
17620 2001-02-22 Juergen Vigna <jug@sad.it>
17622 * BufferView_pimpl.C (update): call a status update to see if LyXText
17625 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17627 * vc-backend.C (revert): implement for CVS
17628 (getLog): implement for CVS
17630 2001-02-20 Juergen Vigna <jug@sad.it>
17632 * text2.C (ClearSelection): added BufferView param for inset_owner call
17634 * lyxfunc.C (TEXT): added this function and use it instead of
17635 directly owner->view()-text of getLyXText().
17637 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17639 * src/layout_forms.C: out preamble
17640 * src/layout_forms.h: out preamble
17641 * src/lyx_cb.C: out preamble
17642 * src/lyx_cb.h: out preamble
17643 * src/lyx_gui.C: out preamble
17644 * src/lyx_gui_misc.C: out preamble
17645 * src/lyxfunc.C: connect with guii preamble
17647 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17649 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17651 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17653 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17654 whether to run bibtex.
17656 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17658 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17660 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17662 * Makefile.am (lyx_SOURCES): removed bibforms.h
17664 * vspace.h: doxygen
17666 * text.C (GetVisibleRow): make several local vars const
17668 * tabular.C: small cleanup.
17670 * lyxserver.C (callback): use compare instead of strncmp
17672 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17673 inlines to after class or to paragraph.C
17675 * lyxfont.h: remove friend operator!=
17677 * converter.h: move friend bool operator< to non friend and after
17680 * combox.h: small cleanup
17682 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17683 to inlines after class def.
17685 * buffer.C (pop_tag): use string operations instead of strcmp
17687 * bmtable.c: doxygen, small cleanup
17689 * LaTeX.h: remove friend operator==
17691 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17703 * BufferView_pimpl.C:
17704 * BufferView.[Ch]: remove cruft
17706 2001-02-14 Juergen Vigna <jug@sad.it>
17708 * lyxfunc.C: removed #if 0 unused code
17710 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17712 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17714 * text2.C (SetSelection): added a BufferView * parameter
17716 2001-02-13 Juergen Vigna <jug@sad.it>
17718 * lyxfunc.C (Dispatch): fixed protected blank problem.
17719 * BufferView2.C (protectedBlank): added LyxText * parameter.
17721 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17722 (AppendColumn): same as above for column_info.
17724 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17725 (moveCursorUpdate): use a LyXText param for support of InsetText.
17727 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17728 (tripleClick): ditto
17730 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17732 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17734 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17736 * text2.C (SetSelection): set correct update status if inset_owner
17737 (ToggleFree): ditto
17739 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17741 * tabular.C: remove some commented code.
17743 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17745 * BufferView_pimpl.C: call hideSplash()
17747 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17750 * bibforms.h: remove
17753 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17754 add LFUN_CHILD_CREATE
17756 * counters.h: fix tiny typo
17761 * lyx.C: move splash to frontends/xforms/
17763 * lyx_gui_misc.C: move Include and Bibform to frontends
17765 * lyxvc.h: clarify comment
17767 * vspace.C: tiny housekeeping
17769 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17771 * text.C (PrepareToPrint): RTL Fix.
17773 * paragraph.C (GetUChar): New method.
17774 (String): Use GetUChar.
17776 * buffer.C (asciiParagraph): Use GetUChar.
17778 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17780 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17782 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17785 * buffer.C: rename to getLogName(), handle
17786 build log / latex log nicely
17788 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17791 * MenuBackend.h: remove support for reference menuitem type.
17793 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17795 * BufferView_pimpl.C: housekeeping
17796 * BufferView_pimpl.h:
17801 * minibuffer.h: move Timeout GUI-I
17803 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17805 * lyxrc.C (read): Update converters data-structures.
17807 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17809 * LaTeX.h (operator!=): add operator != for Aux_Info
17811 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17813 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17815 * LaTeXLog.C: deleted, useful code moved to Buffer
17818 * buffer.C: new function getLatexLogName()
17824 * lyxfunc.C: use frontends for LaTeX and VC logs
17826 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17828 * LaTeX.h: yet another std:: that Allan forgot.
17830 * Variables.C (set): renamed from isset(), because this clashes
17831 with some HP-UX macros (grr).
17833 2001-02-06 Allan Rae <rae@lyx.org>
17835 * LaTeX.h: Another bug fix. Missing std:: this time.
17837 2001-02-04 Allan Rae <rae@lyx.org>
17839 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17840 floats problem. I've left it commented out because it's not quite
17841 correct. It should also test that the current object is a table or
17842 figure inset. But I haven't gotten around to figuring out how to do
17843 that. I *think* it'll be something like: "table" == inset.type()
17845 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17848 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17850 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17851 all the citation/databases/styles in the auxilary file.
17852 (run): Rerun latex if there was a babel language error.
17854 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17856 * text.C (Backspace): Preserve the font when changing newline char
17858 (BreakParagraph): If the cursor is before a space, delete the space.
17860 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17862 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17864 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17865 new argument (code).
17866 (ChangeCitationsIfUnique): New method.
17868 * paragraph.C (GetPositionOfInset): Handle bibkey.
17870 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17872 * BufferView_pimpl.h: change type of Position::par_pos to
17873 LyXParagraph::size_type.
17875 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17877 * BufferView_pimpl.C (savePosition, restorePosition): Write
17878 messages to minibuffer.
17880 2001-01-28 José Matos <jamatos@fep.up.pt>
17882 * buffer.C (makeDocBookFile): adds support for document language.
17883 A silly restriction on the name of LatexCommand types where removed.
17884 Added support for CDATA sections, allows to chars unescaped, used
17885 among others in code, to avoid escape < and >.
17887 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17889 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17890 saved positions instrad of a stack. Furthermore, a position is
17891 stored using paragraph id/paragraph position.
17893 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17894 Remove LFUN_REF_BACK.
17896 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17898 * converter.C (dvipdfm_options): New method.
17900 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17902 * vspace.C (isValidLength): Fix for empty input string.
17904 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17906 * LyXAction.C (init): change description of LFUN_FIGURE to
17909 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17911 * LaTeX.C: add using directive
17913 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17915 * MenuBackend.C (expand): Fix the sorting of the formats.
17917 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17919 * lyx_main.C: tiny error message fix
17921 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17923 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17924 calling fl_initialize(). This fixes the problem with ',' as
17925 decimal separator in text files.
17927 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17929 * trans.C (process): Fix the keymap bug.
17931 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17933 * LaTeX.C (scanAuxFiles): New method. Provides support for
17934 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17935 (scanLogFile) Scan for "run BibTeX" messages.
17937 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17938 OT1 font encoding. Also, load the aecompl package if the ae
17941 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17943 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17945 * texrow.C (increasePos): turn two error messages into debug
17948 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17950 * LaTeX.C (scanAux): Handle the \@input macro.
17951 (runBibTeX): Use scanAux().
17953 * language.C (latex_options_): New field.
17955 * LaTeXFeatures.C (getMacros): Add language macros.
17957 * buffer.C (makeLaTeXFile): Small fix.
17959 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17961 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17963 * text2.C: add a using directive.
17965 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17970 * lyxfunc.C: kill LyXBell.
17972 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17974 * text.C (IsBoundary): Remove the error message
17976 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17978 * lyxrc.C (setDefaults): Correct initialization value for
17981 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17983 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17986 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17987 and GotoNextNote().
17989 * src/LyXAction.C: Added reference-next.
17991 * text.C (InsertChar): Use contains instead of strchr.
17993 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17995 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17997 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17998 alignment commands (when needed).
18000 * text.C (InsertChar): Add ':' to number separator chars.