1 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * dociterator.C (DocIterator): fix initialization order
5 2005-07-17 Juergen Vigna <jug@lyx.org>
7 * text2.C (cursorHome):
8 * text.C (drawSelection, cursorX):
9 * dociterator.C (textRow): add boundary to getRow() call
11 * paragraph.C (getRow): implementation of below
13 * paragraph.h: add parameter boundary for getRow() function
15 2005-07-18 José Matos <jamatos@fc.up.pt>
19 * tex-strings.[Ch]: new file format, remove support for a4.sty,
20 a4wide.sty and a4widemargins.
22 2005-07-17 Juergen Vigna <jug@lyx.org>
24 * text2.C (cursorLeft): fix one of error
26 2005-07-17 Juergen Vigna <jug@lyx.org>
28 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
30 more fixes for boundary handling
32 * text3.C (dispatch): don't reset cursor if boundary has changed
35 2005-07-16 Juergen Vigna <jug@lyx.org>
37 * text2.C (getColumnNearX): hopefully got it right now,
38 check if we are on column 0 for special case.
40 2005-07-16 Juergen Vigna <jug@lyx.org>
42 * text2.C (getColumnNearX): handle special case Newline Inset
44 * text.C (singleWidth): Just remove bogus check
46 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
48 * funcrequest.C (split): avoid reading uninitialized char c
50 2005-07-16 José Matos <jamatos@fc.up.pt>
56 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
57 single papersize variable.
59 2005-07-16 Juergen Vigna <jug@lyx.org>
61 * text3.C (dispatch): honor boundary when checking if a cursor
62 movement has been done
64 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
65 (setCursor, setCursorIntern): fix cursor movement with boundary
67 2005-07-16 Juergen Vigna <jug@lyx.org>
69 * text.C (currentState): output the actual Boundary
71 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * factory.C (createInset): fix bad logic for tabular creation
75 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
77 * lyx_main.C (init): change some reLyX reference to tex2lyx
79 2005-07-16 Juergen Vigna <jug@lyx.org>
81 * dociterator.C (DocIterator): initialize boundary
83 2005-07-16 Juergen Vigna <jug@lyx.org>
85 * text2.C (getColumnNearX): Consider rows without trailing blank.
87 2005-07-16 André Pönitz <poenitz@gmx.net>
89 * lyxfont.h: Change order of declarations to give the compiler
90 a better chance to inline things
92 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
93 questions on unsaved docs for better scritability
95 2005-07-16 André Pönitz <poenitz@gmx.net>
97 * paragraph.h (getChar): remove asserts as the same kind of security
98 can be achieved by using a suitable standard library implementation
99 and the function was in the critical path (25.9% in profiler)
101 2005-07-16 Juergen Vigna <jug@lyx.org>
103 * cursor.C (bruteFind2):
104 * bufferview_funcs.C (coordOffset):
105 * text.C (cursorX,cursorY): Handle cursor position after last char
106 in row before a inset which uses a whole row.
108 2005-07-15 José Matos <jamatos@lyx.org>
110 * output_plaintext.[Ch] (writeFileAscii): control reference title
112 (asciiParagraph): noparbreak was already deal and was incorrectly
115 2005-07-15 Juergen Vigna <jug@lyx.org>
117 * lyxfunc.C (dispatch): save and restore the cursor after a
120 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
122 * text.C (backspace): bug 806 for empty keepempty paragraphs we
123 change the layout to default before letting DEPM do its thing.
125 * paragraph_funcs.C (breakParagraph): dont reset the layout on
128 * text.C (setCursorFromCoordinates): add a debug statement
130 * text2.C (getColumnNearX): bug 1825 make sure that we don't
131 return a pos that is not on the row
133 * output_latex.C (TeXDeeper): get rid of potential dereferencing
134 of past the end iterator
136 2005-07-14 André Pönitz <poenitz@gmx.net>
138 * undo.C (recordUndoFullBuffer): implement undo for
141 2005-07-14 André Pönitz <poenitz@gmx.net>
143 * cursor.C (setSelection): open insets when selection is set there
144 to avoid crashs with cold coord cache
146 2005-07-14 André Pönitz <poenitz@gmx.net>
148 * trans_mgr.C (insert): move cursor to the right after inserting
151 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
153 * BufferView_pimpl.C (update): dampen some of the debug blabbering
154 * factory.C (readInset): ditto
155 * text.C, text2.C: ditto
157 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * buffer.C: format incremented to 242. There is no file format per
160 se, but the "frenchb" language has been removed from lib/language
161 and has to be translated to "french" by lyx2lyx.
163 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
165 * cursor_slice.h, dociterator.h: add some documentation
166 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
168 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
170 * text.C (leftMargin): do not add identation to display() style
171 insets, because they are always centered (bug 1293).
173 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
175 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
176 formatted_time methods in support/lyxtime.
178 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
180 * toc.[Ch]: new method getGuiName, which is used by the frontends
181 to set the toc combo (fixes bug 1870). Make TOC string translatable.
183 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
185 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
186 StableDocIterator const &)
187 * undo.C (recordUndo): use the above instead of cell.size() comparison
188 (fixes bug 1808; instructed by André).
190 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
193 * dociterator.h: Fix the assert when copying rows/cols in math
195 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
197 * BufferView_pimpl.C:
199 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
201 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
202 (findInset): new functions, refactored from goto Inset that return
203 the position of a certain inset without setting the buffer's cursor
205 (gotoInset): rewrite to call findInset and then set the cursor
208 2005-06-16 Angus Leeming <leeming@lyx.org>
210 * lyxrc.C (output, read): wrap all input and output of paths with
211 calls to os::internal_path and os::external_path, respectively.
212 (output): wrap bind_file inside quotes.
214 * format.C (view): enable the viewer to use the '$$s' placeholder.
216 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
218 * LColor.[Ch] (getFromLaTeXName): new
220 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
222 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
224 2005-06-14 Angus Leeming <leeming@lyx.org>
226 * lyx_main.C (init): ensure that the LyX binary dir is the first
227 element in the PATH on non-POSIX builds.
229 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
233 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * rowpainter.C (paintInset, paintHebrewComposeChar)
236 (paintArabicComposeChar, paintChars): add a LyXFont argument.
237 (paintChars): use getFontSpan to reduce calls to getFont to a
238 minimum; use Paragraph::lookupChange instead of isXXXText.
239 (paintForeignMark): rename LyXFont argument.
240 (paintFromPos): pass a LyXFont object to the various paintXXX
243 * FontIterator.C (FontIterator, operator++): use
244 Paragraph::getFontSpan
246 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
247 version that returns the font span as a pair.
249 2005-06-09 Angus Leeming <leeming@lyx.org>
251 * converter.C (convert): Don't forget "outfile = real_outfile" as
252 the final step in a conversion where the input and output file names
253 are the same. Otherwise, future conversion steps won't work...
255 2005-06-09 Angus Leeming <leeming@lyx.org>
257 * lyxsocket.C: remove stub code as it isn't needed by
258 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
260 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
262 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
263 effectively disabled -x
265 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
267 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
268 when it actually makes sense.
270 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
272 * BufferView_pimpl.C: revert to showCursor in connection with
273 Lars's front-end stack
275 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
277 * text.C (redoParagraph): move cursor right after a bibitem
280 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
282 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * buffer_funcs.C (bufferErrors): fix computation of the end of an
287 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
289 * BufferView.[Ch] (update):
290 * BufferView_pimpl.[Ch] (update, metrics):
291 * dimension.h (operator==):
292 * lyxfunc.C (dispatch):
293 * metricsinfo.h (ViewMetricsInfo):
294 * rowpainter.C (paintText):
296 * text.C (redoParagraph):
297 * text3.C (dispatch): Make LyX only repaint current paragraph in
298 case of character insert --> speedup. Also fix cursor draw
301 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
304 avoid a crash (bug 1891)
306 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * text2.C (getStringToIndex): constify cur argument.
312 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
313 argument has been given
314 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
315 try to invoke LFUN_INSET_APPLY).
317 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
318 if no inset was created by doInsertInset
319 (doInsertInset): return true if an inset has been inserted.
321 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * vspace.C (asGUIName): new method. A version of the space
324 suitable for showing on screen.
326 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
329 * lyxrc.C: rename "ASCII" to "Plain Text"
331 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * buffer_funcs.C (expandLabel): take a Buffer as argument;
334 translate the labelstring.
335 (setCounter): translate labelstring as needed.
337 * output_docbook.C (makeCommand): fix expandLabel invokation
339 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
341 * BufferView.C: fix dialog title
343 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
345 * lyx_main.C (priv_exec): fix logic error with help from Angus
346 * lyx_main.C (parse_execute): set is_gui = false and remove now
347 obsolete comment about a segfault
349 2005-05-18 Angus Leeming <leeming@lyx.org>
351 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
353 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
355 * tabular.[hC]: added setCellInset to fix tabular paste.
357 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
359 * buffer.C (save): check if destination is writable before trying
362 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
364 * BufferView_pimpl.C (update): fix processEvents -caused update
367 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * buffer_funcs.C (setCounter): fix test for numbering of
372 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
373 depth correctly; use optional argument when it exists
375 * lyxtextclass.C: remove unused MaxCounterTags enum
376 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
377 (max_toclevel, min_toclevel): new methods.
379 * MenuBackend.C (expandToc2): fix case where depth is smaller than
380 the smallest depth in toc.
382 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
383 layouts that should not appear in a table of contents.
385 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
387 * cursor.h (undispatched, noUpdate): add comments from André
389 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
393 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
395 2005-05-07 André Pönitz <poenitz@gmx.net>
397 * cursor.[Ch] (leaveInset): new function
399 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
401 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
403 2005-05-04 Angus Leeming <leeming@lyx.org>
405 * lyxfunc.C (getStatus): disable the spell checker dialog if
406 none of USE_[AIP]SPELL are defined.
408 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
410 * tabular.C (setWidthOfCell): remove obsolete comment
412 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
414 * paragraph.C (bibitem):
415 * buffer_funcs.C (setCounter):
416 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
418 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
420 * text3.C (getStatus): immediately return after setOnOff
422 * rowpainter.C: fix drawing of appendix start
424 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
426 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
427 SwitchBetweenClasses and remove the unused return value.
428 Handle character styles, too
430 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
432 * factory.C (createInset): handle undefined character styles
434 2005-05-02 Angus Leeming <leeming@lyx.org>
436 * buffer.C: protect the #include of utime.h with a preprocessor
439 2005-05-02 Angus Leeming <leeming@lyx.org>
441 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
442 function so that auto-saving works, albeit in a blocking manner.
444 * Makefile.am: make compilation of the client sub directory, of
445 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
446 on conditionals set at configure time.
448 * SpellBase.[Ch]: no longer an abstract base class. Instead,
449 it can be compiled in its own right but has no-op functionality.
451 * aspell.C, pspell.C: remove preprocessor guards. The files should
452 be compiled only if the necessary functionality exists.
454 * lyxserver.C, lyxsocket.C: disable on Windows.
456 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
458 * text.C (leftMargin): Fix the parindent use bug (1764)
461 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
463 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
466 2005-04-25 Angus Leeming <leeming@lyx.org>
474 include <config.h> in .C files, not .h ones.
476 protect headers inside preprocessor guards.
478 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
480 * FuncStatus.h (StatusCodes): document
482 2005-04-21 André Pönitz <poenitz@gmx.net>
484 * FuncStatus.h (enabled, onoff): document
486 2005-04-19 Angus Leeming <leeming@lyx.org>
488 * BufferView_pimpl.C (cursorToggle): no longer test whether
489 any child processes have been reaped before calling
490 handleCompletedProcesses().
492 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
494 * text3.C (dispatch): fix, finally fix, the language problem in
495 new lyxtexts, without disabling on-the-fly font changes (Helge's
498 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
500 * text3.C (dispatch): set cursor on double/triple click events
503 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
506 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
508 * rowpainter.C (paintFirst): simplify the code a little bit. In
509 particular, remove the test for secnumdepth.
510 * text.C (setHeightOfRow): only allocate space for chapter number
511 when updateCounters provided an actual label, instead of looking
512 at secnumdepth directly.
514 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
516 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
517 paragraphs when secnumdepth is large enough or, for environments,
518 when they are not the first in a sequence.
520 2005-04-17 Angus Leeming <leeming@lyx.org>
522 * buffer.C (makeLaTeXFile): replace code to manipulate a path
523 containing space and '~' characters with a call to latex_path().
525 2005-04-17 Angus Leeming <leeming@lyx.org>
527 * converter.C (convert): protect all args of convertDefault.sh
530 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
532 * text3.C (dispatch): change the layout to "Caption" after inserting
535 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
537 * text3.C (dispatch): fix language problem in newly created
538 textinsets (and main text) in non-english docs
540 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
542 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
543 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
544 * text3.C (getStatus): disable LFUN_INSET_MODIFY
546 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
551 * rowpainter.C (getFont): Fix metrics bug introduced by inset
554 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
556 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
557 output of \item arguments without trailing text.
559 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
561 * FontIterator.C (operator*): avoid a copy of the font.
563 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
565 * rowpainter.C (getFont): fix language bug from previous fix
567 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
569 * rowpainter.C (RowPainter, getFont): fix font inside inset
572 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
574 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
575 preventing inserted font, deco, delim insets jumping to start of
578 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * lyxfunc.C (dispatch): translate message before sending it to the
583 2005-03-29 Angus Leeming <leeming@lyx.org>
585 * lyx_main.C (priv_exec): call os::internal_path on each file passed
586 to LyX on the command line.
588 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
590 * vc-backend.C: use QuoteName to protect file names wherever
593 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
596 * BranchList.h: fix bugs 1844,1845: document settings don't
599 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
601 * lyxrc.C (setDefaults, read, output, getDescription): add support
602 for tex_allows_spaces.
604 * exporter.C (Export): allows files in directory containing spaces
605 if tex_allows_spaces is true.
607 * buffer.C (makeLaTeXFile): if the document path contains spaces,
608 output it in double quotes.
610 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
612 * rowpainter.C: use default text height for drawing change tracker
615 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
617 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
619 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
622 directory is missing.
624 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
626 * text2.C: fixed the fix, extended to other case.
628 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
630 * text2.C: fix for cursor up/down stuck in math [bug 1792]
632 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
634 * text2.C (cursorUp): get rid of a crash
635 * text.C (x2pos): add an assert
637 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
639 * lyxfunc.C (getStatus): fix warning when assertions are disabled
643 * dociterator.C: include <boost/current_function.hpp>, which is
644 needed when assertions are disabled.
646 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
648 * text2.C: fix for stuck cursor when traversing two
649 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
651 2005-02-25 Andreas Vox <avox@arcor.de>
653 * output_docbook.C (makeParagraph): suppress trailing newline
654 after a run of paragraphs
656 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
658 * paragraph.C: fix for confused change tracker when pasting
659 text that begins with a lineseparator. [bug 1827]
660 (setChange(0, Change::INSERTED);)
662 * paragraph_funcs.C: fix for lost changes on triple-paste
663 in change tracking mode [bug 1827] (par.setChange()).
665 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * text2.C (updateCounters, setCounter, expandLabel): move to
670 * buffer_funcs.C (updateCounters): turn into a free standing
671 function and add a buffer parameter. Remove dead code for tracking
673 (setCounter): change into a free-standing function which gets a
674 dociterator as argument. Use this iterator to fix captions in a
675 simple way. When no float is found above the caption, use the
676 labelstring of the caption layout as default.
678 * text.C (breakParagraph, backspace):
679 * text2.C (init, setLayout, changeDepth):
680 * text3.C (dispatch):
681 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
684 * dociterator.C (forwardPar): make it much faster by calling
685 forwardPos() only when really necessary.
687 * output_docbook.C (makeCommand): adapt to expandLabel move.
689 * cursor.C: remove unused variable
691 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
693 * paragraph_funcs.C: fix crash when pasting insets in change
694 tracking mode [bug 1277] (honour change type in moveItem).
696 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
698 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
700 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
702 * BufferView.C (setCursor): change to use a DocIterator.
703 (gotoLabel): use BufferView::setCursor (other part of bug 781).
704 (putSelectionAt): adapt to BufferView::setCursor change.
706 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
707 moved here from LyXText and rewritten to use proper cursor
708 methods. Fixes bug 1787, 616 and 835.
710 * BufferView_pimpl.C (restorePosition): set the cursor correctly
711 when inside an inset (part of bug 781).
712 (dispatch): adapt to change of BufferView::setCursor.
713 (getStatus, dispatch): handle LFUN_GOTOERROR,
714 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
716 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
717 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
718 * text3.C (gotoNextInset, gotoInset): removed.
720 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
722 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
724 2005-02-15 Angus Leeming <leeming@lyx.org>
726 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
727 can be used meaningfully in a comparison.
729 2005-02-13 André Pönitz <poenitz@gmx.net>
731 * bufferview_funcs.C (coordOffset): improve cursor drawing
733 2005-02-13 André Pönitz <poenitz@gmx.net>
735 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
736 * Cursor.C (dispatch): use fixIfBroken
737 * lyxfunc.C (getStatus): use fixIfBroken
739 2005-02-15 Angus Leeming <leeming@lyx.org>
741 * lyx_main.C (error_handler):
743 * lyxrc.C (setDefaults):
745 #include "environment.h".
747 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
749 2005-02-15 Angus Leeming <leeming@lyx.org>
751 * lyxserver.C (startPipe): squash MSVC warning "local variable
752 'fd' used without having been initialized".
754 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
756 * BufferView_pimpl.C: revert accidental commit.
758 2005-02-14 André Pönitz <poenitz@gmx.net>
760 * dociterator.[Ch]: new member forwardPosNoDescent(),
761 which doesn't enter nested insets.
762 * text2.C (setFont): use forwardPosNoDescent() instead
763 of ForwardPos() (fixes crash on font change).
765 2005-02-13 Angus Leeming <leeming@lyx.org>
767 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
768 only if lyxrc.path_prefix is not empty.
770 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
772 * bufferparams.C (readGraphicsDriver): prevent crash
774 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
776 * text2.C (setCounter): check for inInset() == 0
778 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
780 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
781 but use update() to get correct screen display; use convert
782 instead of istringstream.
783 (getStatus): handle LFUN_GOTO_PARAGRAPH
785 * lyxfunc.C (dispatch, getStatus): do not handle
786 LFUN_GOTO_PARAGRAPH here.
788 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
790 * text3.C (dispatch): size() -> depth()
792 * text2.C: remove some debug output
794 * paragraph.C: ws changes only
796 * lyxfunc.C (getStatus): size() -> depth()
798 * dociterator.h (clear, push_back, pop_back, internalData,
799 operator[], resize, empty): new functions
800 Make StableDocIterator and operator== be friends. Don't inherit
801 from std::vector use a privat class variable slices_ instead.
804 * dociterator.C: update because of not inheriting from std::vector
805 anymore. Call explictly to slices_ instead. Use depth() instead of
806 size() and top() instead of back()
808 * cursor.C: chagne size() -> depth and back() -> top(). Also
809 remove some direct operator[](i) calls in favour of foo[i]
810 (getFont): remove some dead code
812 * bufferview_funcs.C (coordOffset): size() -> depth()
814 * buffer.C: ws changes only
816 * CutAndPaste.C (eraseSelection): back() -> top()
818 * BufferView_pimpl.C (selectionRequested): back() -> top()
820 * BufferView.C (setCursor): size() -> depth()
822 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
824 * text3.C (cursorPrevious): return true if depm changed something
826 (dispatch): rename sl to oldTopSlice, remove moving use the new
827 NoUpdate func attrib instead. Make sure that needsUpdate is set
828 for function that have NoUpdate, but where depm might have changed
831 * text2.C (cursorLeft): make us return true if depm changed
834 (cursorUpParagraph): ditto
835 (curosrDownParagraph): ditto
836 (cursorUp, cursorDown): ditto, make sure to read comments in code
837 (deleteEmptyParagraphMechanism): remove an assert, also return
838 true if just a single char was deleted.
840 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
841 cursor that we modify, to avoid modifying an active cursor before
842 we call setCursor. This allows depm to run. Also return true if
843 depm deleted something.
845 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
846 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
847 cursorDownParagraph, cursorPrevious and cursorNext, return true if
848 something was changed in the buffer because of them (ie. depm run)
850 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
851 debug messages. Make update by default be false. Make sure that
852 the result of update is retained throught several calls down to
855 * LyXAction.h: add a new func_attrib: NoUpdate
857 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
858 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
859 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
861 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
863 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
865 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
866 bv_->owner(), bv_->buffer() by direct references to the private
868 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
869 (getStatus): isSavedPosition() is in BufferView::Pimpl.
870 (fitCursor): center() is in BufferView::Pimpl.
871 (getStatus, trackChanges, dispatch): no need for a temporary buf
873 (fitCursor, workAreaDispatch): use workarea().workheight()
875 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
877 * CutAndPaste.C (pasteSelectionHelper): fix a crash
879 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
881 * buffer.C: format up to 241.
882 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
883 break if pasting into ERT
884 * lyxfunc.C (getStatus): suppress mathpanel and
885 LFUN_DIALOG_SHOW_NEW_INSET in ERT
887 2005-02-01 Angus Leeming <leeming@lyx.org>
889 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
891 2005-02-01 Angus Leeming <leeming@lyx.org>
893 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
894 calling fs::is_directory().
896 2005-01-31 Angus Leeming <leeming@lyx.org>
898 * lyx_main.C (priv_exec): specify explicitly the relative location
899 of the top level build directory when run in-place.
901 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
903 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
904 LyXText containing the cursor, not the top-level one.
906 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
908 (insertStringAsLines): rename par to pit; use temporary variable
909 par to hold a Paragraph; do not store par.layout() in a variable,
910 since the pointer may die when breaking paragraphs; pass pars to
911 breakParagraph() instead of Buffer::paragraphs().
913 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
915 * lyxlex_pimpl.h: #include <fstream>.
917 * BufferView.[Ch] (getLyXText): add a const version.
919 * BufferView_pimpl.C: add debug aids.
924 * paragraph_funcs.h: add commentary explaining what the class does.
927 * coordcache.[Ch]: add lots of commentary.
928 (startUpdating, doneUpdating): debug aids.
929 (arrays, insets, parPos, getParPos): accessors to private data.
931 * cursor_slice.[Ch] (text): add a const version.
932 * dociterator.[Ch] (text, innerText): add const versions.
934 * lyxtext.h (breakParagraph): change the keep_layout arg to a
937 * paragraph.C (getRow, pos2ros): add asserts.
939 * paragraph.h: add commentary. Lots of.
941 * paragraph.[Ch] (metrucs, draw): removed.
944 * rowpainter.[Ch]: const-correct changes.
946 * text.C: various obvious clean-ups. Removal of ancient cruft.
949 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
951 * vc-backend.C (find_file): rewrite to use boost.filesystem
954 * main.C (main): set default name check for boost.filesystem to
957 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
960 (actOnUpdatedPrefs): ditto
962 * lyx_main.C (init): rewrite to use boost.filesystem
963 (queryUserLyXDir): ditto
965 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
966 (getContentsOfAsciiFile): ditto
968 * lastfiles.C (readFile): rewrite to use boost.filesystem
970 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
972 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
975 * buffer.C (Buffer): adjust for destroydir
976 (getLogName): rewrite to use boost.filesystem
978 (save): use fs::copy_file (from fs_extras)
980 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
982 * LaTeX.C (run): rewrite to use boost.filesystem
983 (scanAuxFiles): ditto
984 (handleFoundFile): ditto
986 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
988 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
990 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
992 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
994 * lyxlayout.[Ch]: change some vars from float to double
996 * buffer.C (readFile): make a local var const
998 * Several files: use convert<> instead of atoi,strToXXX and friends
1000 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1002 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1003 holds the contents of packages.lst. New functions getAvailable
1004 and isAvailable to parse and check that list, resp.
1008 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1010 * bufferparams.[Ch]: new param output_changes.
1012 * Buffer.C: increase file format to 240.
1013 Use output_changes and isVailable.
1017 * paragraph_pimpl.C: Use output_changes and isVailable.
1019 2005-01-23 Angus Leeming <leeming@lyx.org>
1021 * output_latex.C: #include "insetbibitem.h", rather than
1022 forward declare function bibitemWidest.
1024 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1026 * lyx_main.C (init): make it compile on the Mac.
1028 2005-01-20 Angus Leeming <leeming@lyx.org>
1030 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1031 (setLyXMisc): (char string literal) != (char string literal) is
1032 performing a comparison on the addresses. Convert one operand
1033 explicitly to string to guarantee expected behaviour.
1036 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1039 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1041 * output_plaintext.C: remove unneeded #include gzstream.h.
1043 2005-01-20 Angus Leeming <leeming@lyx.org>
1045 * SpellBase.h: rename some of the elements of the Result enum.
1052 * pspell.C (check): ditto
1054 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1056 * buffer.C: add #include <fstream>.
1058 * lyx_main.C (init): Compile fix.
1060 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1062 2005-01-20 Angus Leeming <leeming@lyx.org>
1064 * mover.h: change commentary to reflect the changed meaning of
1065 the $$s placeholder.
1067 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1069 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1071 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1073 2005-01-20 Angus Leeming <leeming@lyx.org>
1075 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1076 printing diagnostic data by not dereferecing an iterator past the
1079 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1081 * buffer.C (readHeader): use "&&" rather than "and".
1083 * lyxserver.h (inPipeName, outPipeName): make these const.
1085 2005-01-19 Angus Leeming <leeming@lyx.org>
1087 * lyx_main.C (error_handler, init): protect SIGHUP with
1088 #ifdef SIGHUP guards.
1090 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1094 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1096 * text.C (setHeightOfRow): add a margin at the top and bottom of
1097 the document (bug 1761)
1099 2005-01-17 Angus Leeming <leeming@lyx.org>
1101 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1102 with "python ". Workaround for a brain-dead Windows.
1104 2005-01-16 Angus Leeming <leeming@lyx.org>
1106 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1107 for MacOSX and Windows to use prependEnvPath.
1108 Strip out the hard-coded block to add elements to the PATH for
1109 MacOSX and replace it with a call to prependEnvPath using the
1110 contents of LyXRC::path_prefix.
1111 (queryUserLyXDir): strip out the code to run reconfigure, instead
1112 returning a boolean indicating the necessity to do so.
1113 (reconfigureUserLyXDir): contains the code to reconfigure the
1114 user support directory. Is now called after the various LyXRC data
1115 files have been read.
1117 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1119 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1121 * converter.[Ch] (convert): take a new parameter try_default. Use
1122 a default converter (imagemagick) if try_default is true.
1124 2005-01-13 Angus Leeming <leeming@lyx.org>
1126 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1127 os::cygwin_path_fix.
1128 (write): output LyXRC::cygwin_path_fix as necessary.
1130 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1133 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1135 2005-01-12 Angus Leeming <leeming@lyx.org>
1137 * lyx_main.C (init): set the PATH variable to include the
1138 directory containing the LyX binary when running on Mac or Windows.
1140 2005-01-12 Angus Leeming <leeming@lyx.org>
1142 * lyx_main.C (init): remove cruft that purports to set the locale
1143 dir. It doesn't and is not needed anyway.
1145 2005-01-10 Angus Leeming <leeming@lyx.org>
1147 * Makefile.am: remove the lyx_main.C special casing.
1149 * BufferView_pimpl.C:
1155 * messages.C: use support/package.h to provide the paths to the
1156 various directories used by LyX.
1158 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1160 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1161 layout if pasting into an empty paragraph)
1163 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1165 * tex-accent.C: add <string>
1167 2005-01-06 José Matos <jamatos@lyx.org>
1169 * ParagraphParameters.C (write): put every parameter in its own line.
1170 * paragraph.C (write): reduce number of consecutive empty lines exported.
1171 * buffer.C (LYX_FORMAT): increase file format to 239.
1173 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1175 * everywhere: change support/tostr.h -> support/convert.h
1177 * tabular.C: make all write_attributes templates, tostr -> convert
1179 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1180 (emptyTag): and -> &&, and fix type for ret from getChar
1181 (getFirstWord): fix type for ret from getChar
1182 (onlyText): and -> &&
1183 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1186 * toc.C (goTo, action):
1187 * text3.C (dispatch):
1188 * text.C (currentState):
1189 * tex-accent.C (DoAccent):
1192 * lyxfunc.C (menuNew):
1193 * lyxfinc.C (replace):
1194 * counters.C (laberItem):
1195 * bufferview_funcs.C (font2string):
1196 * bufferparams.C (writeFile):
1197 * buffer.C (readFile):
1199 * MenuBackend.C: tostr -> convert
1201 * LaTeX.C (runMessage): fix format
1202 (scanAuxFiles): tostr -> convert
1204 * BufferView_pimpl.C (savePosition): fix format
1205 (restorePosition): ditto
1208 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1210 * Spacing.[Ch]: New method getValueAsString().
1214 * ParagraphParameters.C:
1217 * text3.C: store/read spacing value as string.
1219 * rowpainter.C: change float value (spacing_val) to double.
1221 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1222 broken custom document spacing).
1224 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1226 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1227 namespace, also more use of temp references and const
1229 * cursor.[Ch] (getStatus): move to lyxfunc.C
1231 * bufferparams.C: reformat slightly
1233 * bufferview_funcs.C (font2string): constify arg
1239 * buffer_funcs.C: (many funcs): constify arg on function
1240 definitions, also make more local vars const, also add ASSERTS on
1243 * buffer.C (LYX_FORMAT): put const in correct place
1244 (many funcs): constify arg on function definitions, also make
1245 more local vars const
1247 * aspell_local.h: remove "struct" from typdef setup
1249 * aspell.C (check): make word_ok const
1250 (nextMiss): simplify slightly
1253 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1255 * lyxrc.[Ch]: store all float values as strings.
1256 use int (not float) for lyxrc.dpi.
1258 2005-01-04 Angus Leeming <leeming@lyx.org>
1260 * lyx_cb.C (Reconfigure):
1261 * lyx_main.C (queryUserLyXDir):
1262 to run the <system_lyxdir>/configure correctly on Windows, prefix
1263 the path to the script with "sh " when generating the string that
1264 is passed to system().
1266 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1268 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1270 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1272 * lyxlength.C (asLatexString): get rid of setprecision
1274 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1276 * text2.C (setLayout): remove unused variable endpit.
1277 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1279 * paragraph.C (onlyText): remove unused variable style.
1281 * cursor.C (bruteFind): remove unused variables beg and end.
1283 * Makefile.am (dist_noinset_DATA): not needed anymore
1285 * cheaders/*: remove.
1287 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1289 * text3.C: fix LFUN_MATH_MODE.
1291 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * buffer_funcs.C (countWords): new function. Counts words between
1296 * BufferView_pimpl.C (getStatus, dispatch): handle
1299 * LyXAction.C (init):
1300 * lfuns.h: add LFUN_WORDS_COUNT.
1302 2004-12-19 Angus Leeming <leeming@lyx.org>
1304 * buffer.C (save): s/slashify_path/internal_path/.
1306 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1308 * lyxfind.C (findChange): do not search for end of pars, because
1309 the change tracker cannot handle this (fixes bug 1719).
1311 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1313 * paragraph.[Ch] (autoBreakRows): remove
1315 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1317 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1318 avoid using the paragraph one
1320 * text2.C (LyXText, insertStringAsLines): adjust
1322 2004-12-16 Angus Leeming <leeming@lyx.org>
1326 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1328 2004-12-14 Angus Leeming <leeming@lyx.org>
1330 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1332 * bufferlist.C (emergencyWrite):
1333 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1336 2004-12-14 Angus Leeming <leeming@lyx.org>
1338 * main.C: (main): no longer pass pointers to os::init.
1340 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1342 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1343 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1345 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1348 * text3.C: remove selection_possible global flag
1350 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1352 * text2.C (getSelectionSpan): remove
1353 (changeDepth, changeDepthAllowed): adjust
1355 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1357 * Makefile.am (BOOST_LIBS): use boost variables
1359 2004-12-03 José Matos <jamatos@lyx.org>
1361 * buffer.C: format up to 238.
1363 2004-12-03 José Matos <jamatos@lyx.org>
1365 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1367 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1369 * cursor.C (goUpDown): remove call to idxUpDown2
1371 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1373 * tabular.[Ch]: use size_t-like types for cell, row and column
1376 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1378 * lyxfunc.C (getStatus): do not lose previous information when
1379 calling BufferView::getStatus; do not set a default "Command
1380 disabled" message at the beginning, but just before returning.
1382 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1384 * cursor.h (getStatus): add better comment from src/cursor.C
1386 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * text3.C (getStatus): return false when the lfun is not handled
1390 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 * broken_headers.h: remove
1394 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1396 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1398 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1399 offset_ref accessors
1401 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1402 top_y_, merge fitcursor with update
1403 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1405 (metrics): introduce
1406 (workAreaDispatch): adapt to new coord scheme
1407 (redoCurrentBuffer): remove
1409 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1411 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1414 * coordcache.[Ch]: add paragraph cache and helpers
1416 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1419 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1420 (targetX, setTargetX): introduce
1422 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1423 baseline -> ascent, as the rest of lyx
1425 * lyxtext.h: remove redoParagraphs, updateParPositions,
1426 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1427 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1428 have ascent/descent (ascent is ascent of first par)
1430 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1433 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1435 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1437 * pariterator.C: fix infinite loop introduced in par->pit renaming
1439 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1440 in insets and LyXText, draw two off-screen paragraphs using
1441 NullPainter, and adapt to new coord scheme
1445 * text3.C: adapt lfun handlers to the new coord scheme, which
1446 means: there's only guaranteed coord information for onscreen pars
1447 plus one above and one below. This implies that one can do search
1448 from y coordinates in the range [-1,workHeight]
1450 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1452 * rename a lot of InsetOld to InsetBase
1454 2004-11-25 Angus Leeming <leeming@lyx.org>
1456 * BufferView_pimpl.C:
1458 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1460 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1462 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1463 call BufferView::getStatus if LCursor::getStatus did nothing
1464 (setStatusMessage, getStatusMessage): removed.
1466 * FuncStatus.C (message): new methods. Used to provide an error
1467 message indicating why a command is disabled.
1468 (clear, |=, FuncStatus): update for message.
1470 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1472 * lyxfunc.C (dispatch): always call sendDispatchMessage
1474 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1477 * BufferView_pimpl.C:
1482 * cursor_slice.[Ch]:
1485 * paragraph_funcs.C:
1491 * undo.C: par->pit renaming
1493 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1495 * tabular.C (cellstruct): use initialization, store a shared_ptr
1496 to insettext instead of the insettext directly, adjust to fit.
1497 (operator=): new function
1498 (swap): new function
1499 (rowstruct): use initialization
1500 (columnstruct): use initialization
1501 (ltType): use initialization
1504 * lyxlength.h (swap): new function
1506 * LColor.[Ch] (operator=): use the common semantics
1508 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1510 * lyxfind.C (findNextChange): update the bufferview after setting
1513 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1515 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1516 number of InsetOptArgs has already been inserted.
1518 * output_latex.C (latexOptArgInsets): new method. This outputs all
1519 the optarg insets, up to the limit defined in the layout file.
1520 (optArgInset): removed
1521 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1523 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1525 * paragraph.C (isLetter): remove special spellchecker-related
1526 code; return true also for digits
1527 (isWord, isKomma): remove
1529 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1530 * lyxfind.C (MatchString()): use isLetter instead of isWord
1532 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1534 * pariterator.h (operatir=): comment out un-implemented member
1537 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1540 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1542 * lyxfont.h: include LColor.h to satisfy concept checks.
1544 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1546 * pariterator.h: add typdefs for value_type, difference_type,
1547 pointer and reference to satisfy concept checks. Also add default
1548 constructor for same reason.
1550 * pariterator.C (operator++): add post-increment operator to
1551 satisfy concept checks.
1553 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1556 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1558 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1559 checks. Also rename base_type to BaseType to follow naming
1562 * FloatList.h: include Floating.h to satisfy concept checks.
1564 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1566 * lyxfunc.C (getStatus): when the origin of the request is menu or
1567 toolbar, and the LyXView does not have focus, do as if there was
1568 no buffer (bug 1720)
1570 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1571 FuncRequest to individual entries of LFUN_SEQUENCE
1573 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1575 * output_latex.C (TeXOnePar): override runparams.moving_arg
1576 according to the needprotect value of the current paragraph (bug
1579 * paragraph.C (simpleTeXOnePar): no need to override
1580 runparams.moving_args here
1582 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1584 * vspace.C: fix off-by-one-error, related to fix #1682
1586 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1588 * lengthcommon.C: a more general fix for bug 1682
1590 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1592 * text.C (backspace): fix crash
1594 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1596 * format.[Ch] (getFormatFromFile): new method
1597 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1599 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1601 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1603 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1605 * lyxfunc.C (dispatch): remove the verbose argument
1606 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1609 * kbmap.C (defkey): set the origin of func to KEYBOARD
1611 * MenuBackend.C (MenuItem):
1612 * ToolbarBackend.C (add): set the origin of func to UI
1614 * funcrequest.[Ch]: add origin member, which indicates which part
1615 of LyX requests an action
1617 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1619 * converter.C (move): don't lie in the error message
1620 * converter.h (isReachable, move): document
1622 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1624 * buffer.C: remove unused using lyx::support::atoi
1625 * paragraph_funcs.C: ditto
1627 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1629 * bufferlist.C (exists): use bind and equal_to instead of
1632 * lyxtextclasslist.C (NumberOfClass): ditto
1634 * cursor.C (insert): use for_each instead of explicit for loop
1636 * bufferlist.C (getFileNames): use std::transform and
1637 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1639 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1642 * buffer.C (changeLanguage): use for_each instead of explicit for
1644 (hasParWithID): implement using getParFromID
1646 * LaTeXFeatures.C: ws change only
1648 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1651 * BufferView_pimpl.C (trackChanges): use for_each instead of
1654 2004-11-04 André Pönitz <poenitz@gmx.net>
1657 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1659 * dociterator.C (asDocIterator): use hard assert again.
1661 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1663 * lyxlength.C (asLatexString): rewrite so that it does not use
1666 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1668 * text3.C (specialChar, dispatch): make sure cursor moves to the
1669 right after inserting an inset
1671 2004-11-02 José Matos <jamatos@lyx.org>
1673 * output_docbook.C (docbook):
1674 * paragraph.C (getID):
1675 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1676 garantee that the output is always legal.
1678 * tabular.C (docbook):
1679 * outputprams.[Ch]: remove mixed contents.
1681 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1683 * text2.C (setCounter): prevent endless loop
1685 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1687 * exporter.C (copyFile): use the mover instead of support::copy()
1688 * exporter.C (Export): pass format and latex name to copyFile()
1689 * exporter.h (addExternalFile): document
1690 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1692 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1694 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1696 2004-10-30 José Matos <jamatos@lyx.org>
1698 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1699 text and no inset or font change. This allows to use CDATA
1700 sections just for the whole paragraph.
1702 2004-10-30 José Matos <jamatos@lyx.org>
1704 * paragraph.C (getFirstWord): remove unused variable.
1706 2004-10-30 José Matos <jamatos@lyx.org>
1708 * paragraph.C (getFirstWord): the content should always be escaped
1710 (simpleDocBookOnePar):
1711 * output_docbook.C (makeEnvironment): replace reference to CDATA
1714 2004-10-30 José Matos <jamatos@lyx.org>
1716 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1718 2004-10-30 José Matos <jamatos@lyx.org>
1720 * output_docbook.C (makeParagraphs):
1721 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1722 standard paragraph has only a given type of content drop the wrapper.
1724 2004-10-29 José Matos <jamatos@lyx.org>
1726 * output_docbook.C (makeEnvironment):
1728 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1730 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1732 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1733 (cleanID): sanitize any id.
1735 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1737 * buffer.C, lyxlex_pimpl.C:
1738 * lyxlex_pimpl.C (setFile):
1739 s/getExtFromContents/getFormatFromContents/
1741 2004-10-28 José Matos <jamatos@lyx.org>
1743 * output_docbook.C (makeEnvironment): move id to broadest possible
1746 * sgml.C (openTag): apply substitution of <> for all attributes.
1748 2004-10-28 José Matos <jamatos@lyx.org>
1750 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1751 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1752 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1754 * sgml.[Ch]: new version for open and closeTag for paragraph and
1755 for strings. Now they handle the ids of paragraphs.
1757 2004-10-26 Angus Leeming <leeming@lyx.org>
1759 * Makefile.am: add mover.[Ch].
1761 * converter.C (convert, move): use the new Movers to move external
1762 files to the temp directory.
1764 * lyx_main.C (init): ensure that the global system_movers data
1767 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1770 * mover.[Ch]: new files, defining a Mover as a utility to move an
1771 external file between directories and, if necessary, manipulate this
1772 file using a helper script.
1774 2004-10-25 José Matos <jamatos@lyx.org>
1776 * output_docbook.C (makeCommand): merge two if's that tested the
1779 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1781 * sgml.C (escapeString): fix warning in a better way
1783 2004-10-25 José Matos <jamatos@lyx.org>
1785 * sgml.C (escapeString): import the require boosts header file for
1786 tie, and avoid a signed unsigned comparison.
1788 2004-10-25 José Matos <jamatos@lyx.org>
1790 * sgml.h: add #include <string>
1792 2004-10-25 José Matos <jamatos@lyx.org>
1794 * sgml.[Ch] (escapeString): new function to escape all the string.
1796 2004-10-24 José Matos <jamatos@lyx.org>
1798 * paragraph.[Ch] (getFirstWord): new function to get the first
1799 word. Useful for description.
1800 (simpleDocBookOnePar): remove depth argument, add another that
1801 says where to start the paragraph.
1803 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1804 use the new functions to fix cleanly the support for descriptions.
1806 2004-10-24 José Matos <jamatos@lyx.org>
1808 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1809 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1810 * output_linuxdoc.C (linuxdocParagraphs):
1811 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1812 add buffer as argument.
1814 2004-10-24 José Matos <jamatos@lyx.org>
1816 * output_docbook.C (makeEnvironment, searchEnvironment): place
1817 CDATA inside paragraphs and fix scope for listitems.
1819 2004-10-24 José Matos <jamatos@lyx.org>
1821 * output_docbook.C: remove using statement for stack.
1823 2004-10-23 José Matos <jamatos@lyx.org>
1825 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1826 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1827 docbook. The new scheme is recursive and makes use of iterators, the
1828 same as latex export works.
1829 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1830 directly with the paragraph contents. This code was moved up to
1831 output_docbook.C (docbookParagraphs).
1832 * sgml.C (openTag, closeTag): removed unneeded newlines.
1833 (closeEnvTags) removed.
1835 2004-10-23 André Pönitz <poenitz@gmx.net>
1837 * undo.C (textUndoOrRedo):
1838 * dociterator.C (asDocIterator): work around crash
1840 * cursor.C (getStatus): replace ASSERT by more verbose error message
1841 and manual correction of the problem. Should increase stability
1842 while providing more sensible information.
1844 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1846 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1848 * bufferlist.C (previous, next): new methods
1851 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1853 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1855 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1856 entities to preamble.
1858 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1860 * messages.C (Pimpl): strip off translation context information
1862 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1864 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1865 the cursor is correct (bug 1694)
1867 2004-10-13 José Matos <jamatos@lyx.org>
1869 * output_docbook.C (docbookParagraphs): fix closing tags in the
1870 end of the document.
1872 2004-10-09 José Matos <jamatos@lyx.org>
1874 * buffer.C: format up to 237.
1875 * bufferparams.C (write): use tostr to convert booleans to strings.
1877 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1879 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1881 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1883 * LaTeX.C: implement use of babel language in xindy.
1885 2004-10-05 José Matos <jamatos@lyx.org>
1887 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1888 Add new translators to help reading and writing the lyx file.
1890 2004-10-05 José Matos <jamatos@lyx.org>
1892 * ParagraphParameters.C (read):
1893 * text.C (readParToken): replace nexToken by more appropriate lex
1896 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1898 * LaTeX.C (runMakeIndex):
1899 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1900 (usually 'makeindex') configurable.
1902 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1903 with a variable rather than with a number.
1905 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1907 * output_latex.C (TeXOnePar): make sure font setting is the first
1908 thing that gets output (and the last at the end). Should fix bug
1911 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1913 * pch.h: use proper signal include
1915 * LaTeX.h: Use preferred calling of Boost.Signal
1918 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1920 * pch.h: dont include <boost/function/function0.hpp>
1922 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1924 * paragraph_pimpl.h: remove usage of ShareContainer
1926 * paragraph_pimpl.C: remove initialization of ShareContainer.
1928 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1932 * BufferView.C (putSelectionAt): change the semantics when
1933 backwards == true: now, this just swaps cursor and anchor wrt the
1936 * BufferView.h (putSelectionAt): add some documentation
1938 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1939 make sure backwardChar is done at least once (to avoid getting
1941 (findNextChange): use putSelectionAt in the forward direction
1942 (operator()): use Paragraph::isWord
1944 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1946 * Spacing.C (set): c_str fix
1948 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1950 * lyx_cb.C (Reconfigure): quote the name of configure script in
1951 case it contains spaces
1953 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1957 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1958 (BOOST_LIBS): use top_buildir when looking for the file
1960 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1962 * pch.h: do not use include boost/format.hpp, multiple symbols
1963 will result (gcc bug)
1966 2004-08-23 José Matos <jamatos@lyx.org>
1968 * bufferparams.C (readToken): fix reading of the author field.
1970 2004-08-20 José Matos <jamatos@lyx.org>
1972 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1974 2004-08-20 José Matos <jamatos@lyx.org>
1976 * lyxlex.[Ch] (findToken): remove function.
1978 * ParagraphParameters.C (findToken):
1979 * bufferparams.C (findToken): replace call for previous function
1980 with local copy. This local function has one more argument, the
1981 read string argument.
1983 2004-08-16 José Matos <jamatos@lyx.org>
1985 * ParagraphParameters.C (write):
1986 * Spacing.C (writeFile):
1987 * bufferparams.C (writeLaTeX):
1988 * lyx_cb.C (Reconfigure):
1989 * paragraph.C (write):
1990 * tabular.C (write): remove unnecessary space at end of line.
1993 2004-08-16 José Matos <jamatos@lyx.org>
1995 * text.C (readParagraph): remove debug message.
1997 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1999 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2002 * output_plaintext.C (asciiParagraph): set depth correctly
2004 * outputparams.h: add member depth
2006 * paragraph_funcs.C (ownerPar): remove.
2008 * text2.C (setCounter): remove first_pit; comment out some
2009 non-working code that uses ownerPar
2011 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2014 2004-08-16 José Matos <jamatos@lyx.org>
2016 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2017 For the same level of importance use the same chanel to report problems.
2018 (read): add code to deal with \begin_body and \end_body.
2021 2004-08-15 José Matos <jamatos@lyx.org>
2023 * lyxlex.C (getString): fix comment, buffer::readBody is now
2024 buffer:readDocument.
2026 * tex-strings.C (string_papersize): Default -> default,
2027 Custom -> custom, for consistency with other options.
2029 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
2033 * Makefile.am: support pch
2035 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2037 * text.C (readParToken): remove the static LyXFont variable and
2038 pass it as a parameter instead. This fixes a nasty bug where an
2039 inset will be inserted with a bad font in some situations
2040 (readParagraph): adapt
2042 * text2.C (setCounter): reduce number of calls to pars_[pit]
2044 * text.C (singleWidth): add an assert, fix a test
2046 * rowpainter.C (paintText): reduce number of calls to singleWidth
2048 * paragraph.C (isHfill):
2049 (isNewline): ws only
2051 2004-08-14 André Pönitz <poenitz@gmx.net>
2056 * lyxtext.h (several functions): use a Paragraph & argument
2059 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2061 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2063 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2065 * text.C (singleWidth): remove useless test
2067 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2069 * tabular.h: remove bogus comments
2071 * tabular.C (getDescentOfRow):
2072 (isPartOfMultiColumn): add assertions
2074 * lyxlength.C (inPixels): remove #warning
2076 2004-08-14 André Pönitz <poenitz@gmx.net>
2078 * paragraph.h: inline getChar()
2080 * BufferView.h: remove unused declarations
2082 2004-08-14 José Matos <jamatos@lyx.org>
2084 * Buffer.[Ch] (readDocument): new name for old readBody.
2085 * Buffer.C: new file format, new keywords: \begin_document,
2086 \begin_header, \begin_body, \end_body.
2088 * bufferparams.C (readToken): replace all calls to lex.nextToken
2089 by lex.next(). Do the same to eatLine except where really needed.
2091 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2092 line when writing to the lyx file.
2094 * output_plaintext.C (asciiParagraph): fix Bibliography style
2097 * text.C (read): fix end of file handling.
2099 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2101 * MenuBackend.C (Menu::operator[]): new method to access
2102 individual menu items
2103 (Menu::hasFunc): new method. search for an item that corresponds
2105 (MenuBackend::specialMenu): new method
2106 (MenuBackend::expand): if a special menu has been set, skip
2107 entries whose func() appears in this menu
2109 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2111 * text3.C: use Debug::DEBUG a bit more
2113 * text.C (leftMargin): try to simplify a tiny bit change var x to
2114 l_margin. Dont output the wide margins always.
2115 (rightMargin): no margin in inner texts
2117 * rowpainter.h (nestMargin): new func
2118 (changebarMargin): new func
2119 (rightMargin): new func
2121 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2125 * factory.C (createInset): modify setDrawFrame
2127 * cursor.C: use Debug::DEBUG a bit more
2129 2004-08-14 André Pönitz <poenitz@gmx.net>
2132 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2133 cache for all insets in (at least partially) visible (top-level)
2136 * BufferView_pimpl.C: reset external coord cache before every update.
2137 This means the coord cache only contains valid entries.
2139 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2142 * BufferView_pimpl.C (getInsetByCode): move function out of class
2143 and change in to a template in anon namespace. Also fix to do what
2146 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2149 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2151 (breakParagraph): rename par to par_offset and use a local
2152 reference. Add code to keep the language over a rebreak.
2153 (breakParagraphConservative): rename par to par_offset, use a
2155 (mergeParagraph): ditto
2157 (isFirstInSequence): ditto
2158 (outerFont): rename pit to par_offset
2160 * paragraph.C: ws change
2161 * paragraph.h: ditto
2165 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2167 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2170 * paragraph.C (simpleTeXOnePar): when we have a \item with
2171 optional argument, enclose the argument with curly brackets (in
2172 case it contains a closing square bracket)
2176 * text3.C (checkInsetHit): constify
2178 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2180 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2181 documents (bug 1629)
2183 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2185 Fix toggling of collapsable insets with the mouse (bug 1558)
2187 * lyxfunc.C (dispatch): adapt to LCursor changes
2189 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2190 make sure that dispatch is not invoked twice
2192 * cursor.C (needsUpdate): new method
2193 (dispatch): return void
2194 (result): new method, to access the DispatchResult of the cursor.
2196 2004-08-13 José Matos <jamatos@lyx.org>
2198 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2200 2004-08-13 André Pönitz <poenitz@gmx.net>
2202 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2204 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2207 2004-08-12 André Pönitz <poenitz@gmx.net>
2209 * text3.C: take out the 'cursor right' form insertInset and only
2210 do it in those places when it is really needed. Fixes crash on
2213 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2215 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2217 * BufferView_pimpl.C (setBuffer): initialize the current font of
2218 the underlying LyXText
2220 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2222 * kbsequence.C (print): use UI native formatting for menu
2225 * text.C (insertChar): call Paragraph::insertChar with a font
2228 * paragraph.C (insertInset, insertChar): the version that takes a
2229 LyXFont argument is now a wrapper around the other one (the
2230 opposite used to be true).
2232 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2233 argument. Font setting is done in Paragraph now.
2235 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2237 * outputparams.h: add new members intitle and lang.
2239 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2240 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2242 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2244 * text3.C (dispatch): remove special handling of button 4 and 5,
2245 it is now taken care of in the frontend code.
2247 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2249 * Spacing.h: add <string> (STLPort compile fix)
2251 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2253 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2255 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2257 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2260 * converter.C (showMessage): inherit from unary_function, make
2263 * buffer.C (writeFile): initialize retval
2265 * InsetList.h: rename private variable list to list_
2266 * InsetList.[Ch]: adjust accordingly.
2268 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2270 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2271 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2272 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2273 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2274 * ParagraphParameters.C, LaTeXFeatures.C: replace
2275 "support/std_sstream.h" with <sstream>
2277 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2279 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2280 * lyxsocket.C (LyXServerSocket): ditto
2281 (serverCallback): ditto
2283 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2285 * LaTeXFeatures.C: check release date when loading jurabib.
2287 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2289 * lyxserver.C (startPipe): call register_socket_callback
2290 (endPipe): call unregister_socket_callback
2292 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2294 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2295 (LyXServerSocket): register the callback
2296 (LyXServerSocket): unregister the callback
2297 (fd): delete function
2298 (serverCallback): improve error checking and setup the callbacks.
2299 (dataCallback): change arg to fd.
2300 (writeln): new func (copied fro the client socket) used for server
2302 (LyXDataSocket): simplify
2303 (~LyXDataSocket): close ann unregiser callback
2304 (server): delete function
2305 (fd): delete function
2306 (readln): small changes, improve some std::string usage
2307 (writeln): constify a bit
2309 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2311 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2314 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2316 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2317 after it has been populated
2319 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2321 * text2.C (insertInset): move cursor when inserting inset.
2323 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2325 * kbmap.C (findbindings): a couple of new methods. returns a
2326 container of kb_sequence objects. The real work is done by the
2327 private recursive version
2328 (printbindings): uses findbindings to print out a bracketed list
2329 of bindings (renamed from findbinding).
2331 * MenuBackend.C (binding): use kb_keymap::findbindings
2333 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2335 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2337 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2339 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2341 * paragraph.C (isWord): return true on insets that report
2344 * text.C (getWord): use Paragraph::isWord to decide what is in a
2345 word and what is not; fix bug 1609.
2347 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2349 * tex-strings.C: add "none" to string_paperpackages[], fixes
2350 off-by-one-error in the paperpackage selection.
2353 * tex-strings.[Ch]: char const * string[n]
2354 -> char const * const string[]
2356 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2358 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2359 command, return early.
2361 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2363 * debug.h: add DEBUG to enum and fix size of ANY.
2365 * debug.C: add support for Debug::DEBUG
2366 (showTags): cast errorTags.level to unsigned int
2368 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2369 (redoCurrentBuffer): ditto
2370 (updateScrollbar): ditto
2371 * cursor.C (dispatch): ditto
2372 * text2.C (setLayout): ditto
2374 (updateCounters): ditto
2376 (deleteEmptyParagraphMechanism): ditto
2378 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2380 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2381 annotations to cleanup the Makefile slightly.
2383 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * lyxrc.C: do not set user_email to a default value but use empty
2386 instead. The entry used to be translated, which does not work
2387 since at the point where lyxrc is constructed there is no
2388 translation service available
2390 * messages.C (getLocaleDir): remove and use directly
2391 lyx_localedir() instead
2393 2004-06-02 Angus Leeming <leeming@lyx.org>
2395 Fix crash caused by dereferencing null pointer 'exportdata' in
2396 OutputParams by creating a new ExportData variable on the heap,
2397 storing it in a boost::shared_ptr.
2398 The crash was triggered when generating an Instant Preview
2399 of an external inset.
2401 * Makefile.am: add outputparams.C
2403 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2404 (c-tor): allocate memory to it.
2406 * exporter.C (c-tor): associated changes.
2408 2004-06-01 Angus Leeming <leeming@lyx.org>
2410 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2411 contains data before calling isInset(0). (Bug 1513.)
2413 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2415 * exporter.C (checkOverwrite): new method
2416 * exporter.C (copyFile): new method
2417 * exporter.C (Export): copy referenced files to the document dir
2418 * exporter.[Ch]: new class ExportedFile
2419 * exporter.[Ch]: new class ExportData. Contains currently the
2420 names of referenced external files
2421 * outputparams.h: add exportdata member.
2423 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2425 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2428 2004-05-19 Angus Leeming <leeming@lyx.org>
2433 * lyxfunc.C: small changes due to the introduction of namespace
2434 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2436 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2438 * text3.C (dispatch): supress update when only moving the cursor
2439 * cursor.C (selHandle): remove commented code
2441 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2443 * paragraph.C (startTeXParParams): correct column count
2444 * CutAndPaste.C (pasteSelection): remove const_cast
2445 * output_docbook.C (docbookParagraphs): remove const_cast
2446 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2447 const_cast and return ParagraphList::const_iterator
2448 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2449 * output_plaintext.C (writeFileAscii): remove const_cast
2450 * paragraph.[Ch] (simpleTeXOnePar): make const
2451 * paragraph_funcs.C (outerPar): use const iterators
2452 * paragraph_pimpl.C (validate): use const iterators
2453 * text.C (setHeightOfRow): use const iterators
2455 2004-05-17 Angus Leeming <leeming@lyx.org>
2458 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2460 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2461 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2462 if the citation engine has changed.
2464 2004-05-14 José Matos <jamatos@lyx.org>
2466 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2467 if the textclass does not provide it. Have it different for sgml and
2469 support the language of document.
2470 * output_docbook.C (docbookParagraphs):
2471 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2472 first anchor as the id of the paragraph, remove special case code.
2473 * sgml.C (escapeChar): escape only < & >.
2475 2004-05-14 Angus Leeming <leeming@lyx.org>
2477 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2478 dependencies on src/frontends/controllers/biblio.h. Define a
2479 CiteEngine_enum wrapper class to enable the enum to be forward
2482 2004-05-12 Angus Leeming <leeming@lyx.org>
2484 * buffer.C: up LYX_FORMAT to 234.
2485 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2486 use_numerical_citations with a single biblio::CiteEngine cite_engine
2488 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2490 2004-05-13 José Matos <jamatos@lyx.org>
2493 * converter.C (Converter, readFlags): add xml member.
2494 * outputparams.h: add XML flavor.
2495 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2497 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2499 * lyxfunc.C (dispatch):
2500 (getStatus): fix handling of LFUN_SEQUENCE
2502 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2504 * debug.C (showLevel): do not forget the end-of-line marker
2506 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2508 * kbmap.C (read): do not stop parsing a bind file when an error
2511 2004-04-29 Angus Leeming <leeming@lyx.org>
2516 * text2.C: wrap a bunch of #warning statements
2517 inside #ifdef WITH_WARNINGS blocks.
2519 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2521 * buffer.C: increment format to 233.
2523 2004-04-28 Angus Leeming <leeming@lyx.org>
2525 * BufferView_pimpl.C:
2528 s/updateToolbar()/updateToolbars()/
2529 s/Toolbar.h/Toolbars.h/
2531 2004-04-28 Angus Leeming <leeming@lyx.org>
2533 * BufferView.[Ch] (c-tor):
2534 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2535 No longer passes these data to the WorkArea generator.
2537 2004-04-28 Angus Leeming <leeming@lyx.org>
2539 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2541 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2543 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2545 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2547 * output_latex.C (TeXEnvironment): make sure that there is a line
2548 break before \end{foo} for the last paragraph of a document
2549 (TeXOnePar): if the paragraph is at the end of the document (or
2550 inset) and the language has to be reset, then make sure that the
2551 line break is _before_ the language command, not after (fixes bug
2552 1225); also make sure that the language reset command is the first
2553 thing after the paragraph (to ensure proper nesting of
2554 environments and thus fix bug 1404)
2556 2004-04-21 John Levon <levon@movementarian.org>
2559 * ToolbarBackend.C: make "name" be a programmatic name
2560 and a gui_name field.
2562 * lyxfunc.C: display the minibuffer on M-x
2564 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2566 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2569 2004-04-19 Angus Leeming <leeming@lyx.org>
2571 * BufferView_pimpl.C (setBuffer): changed preview interface.
2573 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2576 2004-04-19 John Levon <levon@movementarian.org>
2578 * BufferView_pimpl.C:
2579 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2581 2004-04-05 Angus Leeming <leeming@lyx.org>
2583 * text.C (redoParagraphs): add call to updateCounters(), thereby
2584 fixing the missing "Figure #:" label from the caption of a
2587 2004-04-13 Angus Leeming <leeming@lyx.org>
2589 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2590 cursor is clicked out of an inset.
2592 2004-04-13 Angus Leeming <leeming@lyx.org>
2594 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2595 than an InsetOld one.
2597 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2599 * format.[Ch]: add editor to Format
2600 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2601 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2603 2004-04-08 André Pönitz <poenitz@gmx.net>
2605 * metricsinfo.h: remove PainterInfo::width member
2607 2004-04-08 Angus Leeming <leeming@lyx.org>
2609 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2610 "\providecommand" rather than "\newcommand", thereby preventing
2611 clashes with packages that define "\boldsymbol" themselves.
2614 2004-04-08 Angus Leeming <leeming@lyx.org>
2616 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2617 thereby squashing an unnecessary warning.
2619 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2621 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2624 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2626 * BufferView.C (setCursor): call redoParagraph (some insets could
2628 (putSelectionAt): remove the 'double update' trick
2630 * BufferView_pimpl.C (fitCursor): call refreshPar
2631 (workAreaDispatch): remove an uneeded update call
2632 (dispatch): remove some manual update calls
2634 * cursor.[Ch]: remove cached_y_, updatePos
2635 (selHandle): set noUpdate when appropriate
2637 * lyxfunc.C (dispatch): track if we need an update
2639 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2641 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2642 (paintSelection): cheap optimization, do not call cursorX when not
2644 (paintPars): change signature
2647 (paintTextInset): adjust
2651 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2653 * lengthcommon.C: compilation fix: remove explicit array size from
2654 unit_name[] and friends
2656 2004-04-05 Angus Leeming <leeming@lyx.org>
2658 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2660 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2661 present only for the preferences dialog.
2662 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2664 2004-04-05 Angus Leeming <leeming@lyx.org>
2666 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2667 to enable the frontends to export changes to lyxrc correctly.
2669 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2671 2004-04-07 André Pönitz <poenitz@gmx.net>
2673 * cursor.[Ch] (selClear, adjust): remove math
2675 * cursor_slice.C: more agressive assert
2678 * BufferView_pimpl.C: rework mouse event dispatch
2685 2004-04-05 André Pönitz <poenitz@gmx.net>
2687 * cursor.[Ch] (valign, halign...): remove unneeded functions
2689 2004-04-05 Angus Leeming <leeming@lyx.org>
2691 * lyxlength.[Ch] (unit_name et al.): const-correct.
2693 2004-04-05 Angus Leeming <leeming@lyx.org>
2695 * BufferView_pimpl.C:
2704 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2706 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2708 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2710 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2712 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2713 * BufferView_pimpl.[Ch] (getStatus)
2714 * BufferView.[Ch] (getStatus): add
2715 * lyxfunc.C (getStatus): move lfuns handled in
2716 BufferView::dispatch to te function above
2717 * Cursor.C (setSelection): set selection() = true
2719 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2721 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2723 2004-03-31 Angus Leeming <leeming@lyx.org>
2725 * lyxfunc.C (dispatch): Fall through to the generic
2726 Dialogs::show("preamble").
2728 2004-03-31 Angus Leeming <leeming@lyx.org>
2730 * lyxfunc.C (dispatch): Fall through to the generic
2731 Dialogs::show("spellchecker").
2733 2004-03-31 Angus Leeming <leeming@lyx.org>
2735 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2738 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2743 * insetiterator.[Ch]:
2748 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2750 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2752 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2753 insets where we are putting the cursor.
2755 2004-03-31 Angus Leeming <leeming@lyx.org>
2758 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2760 * lyxrc.[Ch] (read, write): overloaded member functions taking
2761 a std::[io]stream arguments.
2763 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2765 2004-03-31 Angus Leeming <leeming@lyx.org>
2767 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2768 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2770 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2771 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2773 2004-03-31 Angus Leeming <leeming@lyx.org>
2775 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2776 the LFUN_ALL_INSETS_TOGGLE code.
2778 2004-03-30 Angus Leeming <leeming@lyx.org>
2780 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2781 has died. Fall through to the generic Dialogs::show("document").
2783 2004-03-30 Angus Leeming <leeming@lyx.org>
2786 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2787 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2789 * lyxfunc.C (getStatus, dispatch): define the actions for these
2790 lfuns. Little more than a cut and pste job from ControlDocument.C
2792 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2794 2004-03-30 Angus Leeming <leeming@lyx.org>
2797 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2798 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2800 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2801 open/closed state of ollapsable insets. Usage:
2803 all-inset-toggle <state> <name>, where
2804 <state> == "open" || "closed" || "toggle" and
2805 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2807 * lyxtext.h, text2.C (toggleInset): removed.
2809 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2810 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2811 now passes LFUN_INSET_TOGGLE to the found inset.
2813 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2814 is now invoked as "all-insets-toggle toggle branch".
2816 2004-03-30 Angus Leeming <leeming@lyx.org>
2820 * pariterator.[Ch]: added/corrected header blurb.
2822 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2824 * dociterator.[Ch]: add an inset_ member
2825 (backwardPos): implemented
2826 (backwardPos, forwardPos): use inset_ when the stack is empty.
2827 (doc_iterator_begin, doc_iterator_end): implemented
2828 * pariterator.[Ch]: adjust, add begin, end
2829 * insetiterator.[Ch]: adjust, add begin, end
2833 * BufferView_pimpl.C:
2834 * CutAndPaste.C: adjust
2836 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2838 * buffer.C: increment file format to 232.
2839 * LaTeXFeatures.C: add bibtopic package.
2840 * bufferparams.[Ch]: param \use_bibtopic.
2842 * lyxrc.[Ch]: add lyxrc bibtex_command
2843 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2845 * buffer.C: increment file format to 231.
2847 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2849 * dociterator.C: implement forwardPar
2850 * iterators.[Ch]: remove, replaced by
2851 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2853 * BufferView_pimpl.C:
2856 * bufferview_funcs.C:
2862 * Makefile.am: adjust
2864 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2866 * CutAndPaste.C (pasteSelection): fix 2 crashes
2867 (eraseSelection): fix a crash
2868 * paragraph_funcs.C: remove a warning
2870 2004-03-28 Angus Leeming <leeming@lyx.org>
2873 * LyXAction.C (init): new LFUN_PRINT.
2875 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2877 2004-03-27 Angus Leeming <leeming@lyx.org>
2880 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2882 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2884 2004-03-27 Angus Leeming <leeming@lyx.org>
2886 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2887 insetlist always contains non-null pointers to insets.
2889 2004-03-26 Angus Leeming <leeming@lyx.org>
2891 * src/BufferView_pimpl.C:
2892 * src/CutAndPaste.C:
2895 * src/output_plaintext.C:
2896 * src/outputparams.h:
2897 * src/paragraph_funcs.C:
2901 * src/frontends/controllers/ControlErrorList.C:
2902 * src/frontends/gtk/FileDialogPrivate.C:
2903 * src/frontends/gtk/GPainter.C:
2904 * src/frontends/gtk/GToolbar.C:
2905 * src/frontends/qt2/QRef.C:
2906 * src/mathed/math_scriptinset.C: squash compiler warnings.
2908 2004-03-26 Angus Leeming <leeming@lyx.org>
2910 * ispell.C (LaunchIspell::start):
2911 * lyx_cb.C (AutoSaveBuffer::start):
2912 invoke run(DontWait) rather than runNonBlocking().
2914 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2916 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2918 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2920 * kbsequence.C (print): adjust
2922 * kbmap.C (printKeySym): rename and change signature
2923 (printKey): use LyXKeySym::print()
2925 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2927 * undo.C: add using std::advance to compile for stlport
2929 2004-03-24 Angus Leeming <leeming@lyx.org>
2931 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2932 it leads to a crash when no buffer is present.
2934 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2935 Martin Vermeer <martin.vermeer@hut.fi>
2937 * lyxfunc.C (dispatch):
2938 * bufferparams.C (readToken): use the new LColor::setColor
2940 * LColor.[Ch] (setColor): new version that takes two strings as
2941 argument and creates a new color entry if necessary
2943 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2945 * buffer.C (makeLaTeXFile): if the main latex file that is
2946 processed is usually a subdocument of some master, then pretend
2947 for a while that it is actually the master
2949 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2951 * buffer.C (getLabelList):
2952 (getBibkeyList): use getMasterBuffer()
2953 (getMasterBuffer): new method. Returns the main document in the
2954 case where one is using included documents.
2956 2004-03-25 André Pönitz <poenitz@gmx.net>
2960 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2962 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2964 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2965 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2967 * ParameterStruct.h: merge with ParagraphParameters
2969 * lyxtext.h: remove LyXText::parOffset() and getPar()
2971 * text3.C: Remove all 'manual' update calls. We do now one per user
2972 interaction which is completely sufficient.
2976 * BufferView_pimpl.C:
2977 * FontIterator.[Ch]:
2979 * ParagraphParameters.[Ch]:
2984 * cursor_slice.[Ch]:
2991 * output_docbook.[Ch]:
2992 * output_latex.[Ch]:
2993 * output_linuxdoc.[Ch]:
2994 * output_plaintext.[Ch]:
2996 * paragraph_funcs.[Ch]:
2997 * paragraph_pimpl.[Ch]:
3005 * frontends/controllers/ControlDocument.C:
3006 * frontends/controllers/ControlErrorList.C:
3007 * frontends/controllers/ControlSpellchecker.C:
3010 * insets/insetbase.h:
3011 * insets/insetbibitem.C:
3012 * insets/insetbox.C:
3013 * insets/insetbranch.C:
3014 * insets/insetcaption.C:
3015 * insets/insetcharstyle.C:
3016 * insets/insetcharstyle.h:
3017 * insets/insetcollapsable.C:
3018 * insets/insetcollapsable.h:
3019 * insets/insetert.C:
3020 * insets/insetfloat.C:
3021 * insets/insetfoot.C:
3022 * insets/insetmarginal.C:
3023 * insets/insetnote.C:
3024 * insets/insetoptarg.C:
3025 * insets/insettabular.C:
3026 * insets/insettext.C:
3027 * insets/insettext.h:
3028 * insets/insetwrap.C:
3029 * mathed/math_mboxinset.C:
3030 * mathed/math_nestinset.C:
3031 * mathed/math_scriptinset.C:
3032 * mathed/math_scriptinset.h:
3035 2004-03-24 Angus Leeming <leeming@lyx.org>
3037 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3038 deal with any child processes that have finished but are waiting to
3039 communicate this fact to the rest of LyX.
3041 2004-03-24 Angus Leeming <leeming@lyx.org>
3043 64-bit compile fixes.
3045 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3046 (c-tor): pass lyx::pos_types rather than ints.
3048 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3051 * text.C (Delete): compile fix.
3052 (getPar): ensure that function declaration is the same as that in
3055 2004-03-23 Angus Leeming <leeming@lyx.org>
3057 * ispell.C (LaunchIspell):
3058 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3059 a boost::shred_ptr rather than a std::auto_ptr.
3061 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3063 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3064 handle LFUN_FILE_INSERT_*
3066 * lyxrc.C (setDefaults, getDescription, output, read):
3067 * lyxrc.h: remove ps_command
3069 2004-03-22 Angus Leeming <leeming@lyx.org>
3071 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3072 Ensure that error_handler is processed once only and that all data
3073 is saved before attempting to output any warning messages.
3075 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3077 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3079 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3081 2004-03-19 André Pönitz <poenitz@gmx.net>
3083 * cursor.[Ch] (reset): take main text inset as argument
3085 * BufferView: adjust
3086 * BufferView_pimpl.C: adjust
3088 * paragraph.[Ch]: fix completely broken operator=()
3090 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3092 * LColor.C (getFromLyXName): make sure that the color name is used
3095 2004-03-17 Angus Leeming <leeming@lyx.org>
3098 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3100 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3101 dialog and to kill a forked process.
3103 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3105 * text2.C (setCursorFromCoordinates): fix font problem
3107 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3109 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3110 bogus "rebuild cursor" code
3112 2004-03-11 André Pönitz <poenitz@gmx.net>
3114 * buffer.[Ch]: use InsetText instead of LyXText as container for
3117 * dociterator.[Ch]: drop the BufferView * member which is not needed
3118 anymore after the change to buffer.C
3120 * paragraph_funcs.C:
3124 * BufferView_pimpl.[Ch]:
3126 * cursor_slice.[Ch]: adjust
3128 * text3.C: fix bug in mathDispatch
3130 2004-03-08 André Pönitz <poenitz@gmx.net>
3132 * undo.[Ch]: use 'StableDocumentIterator' as base for
3135 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3138 * bufferparams.[Ch]: add jurabib support and param.
3140 * LaTeX.C: add FIXME/comment.
3142 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3144 * buffer.C: increment file format to 230.
3146 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3148 * cursor.C (dispatch): avoid infinite loops
3150 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3152 * rowpainter.C (paintSelection): fix x coordinates
3154 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3156 * text.C (rowBreakPoint): fix breaking before displayed insets
3158 2004-03-01 André Pönitz <poenitz@gmx.net>
3160 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3162 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3166 * BufferView_pimpl.C:
3174 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3180 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3181 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3183 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3185 * Bidi.[Ch] (computeTables): const correctness
3186 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3187 fill_hfill, fill_label_hfill and x from Row
3188 * lyxtext.h: prepareToPrint returns a RowMetrics
3189 * rowPainter.C: adjust
3190 * text.C (prepareToPrint): use width, not textWidth. adjust
3191 (redoParagraphInternal, cursorX): adjust
3192 * text2.C (getColumnNearX): adjust
3193 (init): put a default value to the top LyXText::width
3195 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3197 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3199 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3201 * lyxtext.h: add FontIterator class
3203 * text.C (FontIterator, operator*, operator->, operator++): add
3204 (rowBreakPoint, setRowWidth): adjust (fixing a
3207 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3209 * BufferView_pimpl.C (workAreaDispatch): allow also
3210 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3212 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3214 * text.C (rowBreakPoint): fix a bug showing with very large insets
3216 2004-02-25 André Pönitz <poenitz@gmx.net>
3219 * cursor.[Ch]: move some mathed specific code to mathed
3221 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3223 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3224 use_tempdir in preferences
3225 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3227 * lyx_main.C: ensure that tempdir is valid
3228 * lyxlex.h: correct typo
3229 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3230 * paragraph.[Ch] (isMultiLingual): make const
3231 * cursor.[Ch] (openable): make const
3233 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3235 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3237 2004-02-20 André Pönitz <poenitz@gmx.net>
3239 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3241 * cursor.[Ch]: prepare for localized getStatus()
3247 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3249 2004-02-20 André Pönitz <poenitz@gmx.net>
3251 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3253 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3255 * text2.C (setCursorFromCoordinates): switch to absolute coords
3257 (cursorDown): adjust
3258 * text3.C (dispatch): adjust
3260 2004-02-16 André Pönitz <poenitz@gmx.net>
3262 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3265 * cursor_slice.[Ch]: remove unneeded acessor function
3267 * lyxtext.h: rename rtl() to isRTL()
3275 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3277 * rowpainter.C (paintSelection): coord fix
3279 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3281 * Spacing.C: compile fix
3283 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3285 * cursor.C (dispatch): restore current_ before returning
3287 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3289 * text2.C (cursorUp, cursorDown): fix coords
3292 2004-02-12 André Pönitz <poenitz@gmx.net>
3297 * text3.C: add LCursor & parameter to most cursor movement functions
3298 remove usage of LyXText::cursorRow() and cursorPar()
3300 * cursor.[Ch]: add textRow() needed members
3303 * BufferView_pimpl.C:
3306 * BufferView_pimpl.C: adjust
3308 2004-02-11 André Pönitz <poenitz@gmx.net>
3312 * BufferView_pimpl.C: shift undo/redo handling
3314 * cursor.[Ch]: fix mathed crash
3317 * lyxtext.h: move selectionAsText to LCursor
3325 * rowpainter.C: fix excessive drawing
3327 2004-02-06 André Pönitz <poenitz@gmx.net>
3330 * BufferView_pimpl.[Ch]:
3331 * text3.C: move some text specific LFUN handling
3333 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3335 * text3.C (checkInsetHit): adjust coords
3336 * text2.C (getColumnNearX): adjust coords
3337 (edit): adjust coords
3338 * text.C (getRowNearY): add two asserts
3340 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3343 * format.C: add using std::distance to compile on gcc 2.95/stlport
3345 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3347 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3349 2004-02-04 André Pönitz <poenitz@gmx.net>
3351 * BufferView.[Ch] (insertInset):
3352 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3357 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3359 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3360 on the default clause of the switch
3361 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3362 wasn't catched by LCursor::dispatch
3364 2004-02-03 André Pönitz <poenitz@gmx.net>
3367 * cursor.[Ch]: some additional asserts
3369 * undo.[Ch]: remove LyXText dependency in interface
3373 * lyxtext.h (firstPar, lastPar): remove dead functions
3378 * paragraph.[Ch]: adjust
3380 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3382 * lyxfind.C (find): fix argument order in call to ::find
3384 2004-02-02 André Pönitz <poenitz@gmx.net>
3386 * cursor.[Ch]: remove direct access to anchor
3388 * text.C: remove findText() hack
3390 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3392 * iterators.[Ch] (lockPath): remove in favour of...
3393 * BufferView.[Ch] (setCursor): this addition
3394 * BufferView.C (putSelectionAt): adjust
3395 * undo.C (performUndoOrRedo): adjust
3396 * lyxfunc.C (dispatch): adjust
3398 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3400 * iterators.C (lockPath): add a missing slice
3401 * undo.C (performUndoOrRedo): remove redundant positioning code
3403 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3405 * vc-backend.C (scanMaster): ";" -> ';'
3407 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3409 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3410 std::binary_function
3412 * lyxtextclass.C (compare_name): rename to...
3413 (LayoutNamesEqual): ...this
3415 * lyxlex_pimpl.C (compare_tags): inherit from
3416 std::binary_function, put back into anon namespace
3418 * lyxfind.C (MatchString): inherig from std::binary_function
3419 (findChange): use empty() istead of !size()
3421 * format.C (FormatNamesEqual): new functor
3428 * converter.C (compare_Converter): rename to...
3429 (ConverterEqual): ...this, and fixup a bit.
3430 (getConverter): use it, and make function const
3431 (getNumber): use it, and make function const
3435 * bufferlist.C: add using boost::bind
3437 * MenuBackend.C (MenuNamesEqual): new functor
3438 (hasMenu): use it, and make function const
3439 (hasSubmenu): use nested bind to get rid of compare_memfun.
3441 2004-01-30 André Pönitz <poenitz@gmx.net>
3443 * BufferView_pimpl.C:
3446 * cursor_slice.[Ch]:
3449 * paragraph_funcs.C:
3450 * paragraph_funcs.h:
3454 * text3.C: move some of the edit(x,y) handling to the insets
3455 some coordinate changes.
3457 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3459 * text.C: add using statements for std::advance and std::distance
3461 * paragraph.C: add using statement for std::distance
3463 * lyxfind.C: add using statement for std::advance
3465 * cursor.C (region): remove std:: from swap
3466 (openable): use nucleus in stead of operator->
3468 * BufferView.C: add using statements for std::distance and std::swap
3470 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3472 * iterators.C: Remove the pimple, move the needed structures to
3473 the header file. Create accessor for the positions stack.
3474 (asPosIterator): remove function
3476 * PosIterator.C (PosIterator): move constructors to top of file
3477 (PosIterator): reimplement the constructor taking a ParIterator in
3479 (setFrom): new function
3480 (operator!=): inline it
3482 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3484 * lyxfind.C (replaceAll): use std::advance
3486 * iterators.h: inherit from std::iterator.
3488 * PosIterator.C (advance, distance): remove
3489 * PosIterator.h: interit from std::iterator.
3491 2004-01-26 André Pönitz <poenitz@gmx.net>
3494 * BufferView_pimpl.[Ch]:
3498 * bufferview_funcs.C:
3508 * output_linuxdoc.C:
3509 * output_plaintext.C:
3511 * paragraph_funcs.[Ch]:
3512 * paragraph_pimpl.[Ch]:
3518 * text3.C: more IU: dumps most of the rest of the mathcursor
3519 implementation into cursor.[Ch]; "globalize" a bit of it.
3521 2004-01-25 Angus Leeming <leeming@lyx.org>
3523 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3525 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3527 * LaTeXFeatures.h: add nice_ and nice() const
3528 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3530 2004-01-20 André Pönitz <poenitz@gmx.net>
3533 * BufferView_pimpl.C:
3535 * bufferview_funcs.C:
3537 * cursor_slice.[Ch]:
3548 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3549 LCursor and mathcursor parts to LCursor and InsetBase.
3551 2004-01-15 André Pönitz <poenitz@gmx.net>
3553 * cursor_slice.[Ch]: add a few covienience functions
3555 * funcrequest.[Ch]: remove BufferView * member
3557 * BufferView_pimpl.C:
3564 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3566 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3568 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3569 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3571 2004-01-13 André Pönitz <poenitz@gmx.net>
3574 * lyxtext.h: hide cursor and selection anchor behind accessor function
3577 * BufferView_pimpl.[Ch]:
3579 * bufferview_funcs.C:
3589 * cursor_slice.[Ch]: some integer type changes for inset unification
3591 * lyxcursor.[hC]: remove, it's CursorSlice now.
3594 * BufferView_pimpl.[Ch]:
3595 * bufferview_funcs.C:
3601 * textcursor.[Ch]: adjust
3603 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3605 * text2.C (undoSpan): add and use
3606 * text.C (breakParagraph): use undoSpan (fix bug 578)
3609 2004-01-08 Angus Leeming <leeming@lyx.org>
3611 * BufferView_pimpl.C (MenuInsertLyXFile):
3612 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3613 * lyxfunc.C (menuNew, open, doImport):
3614 FileFilterList change to the FileDialog open and save functions.
3616 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3618 * ShareContainer.h: make isEqual and isUnique adaptable
3620 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3622 2004-01-07 Angus Leeming <leeming@lyx.org>
3625 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3627 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3629 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3630 functions replacing find, replace and replaceAll.
3632 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3633 LFUN_WORDFIND(FORWARD|BACKWARD).
3635 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3637 * text.C (breakParagraph): remove an outdated #warning
3639 2004-01-07 André Pönitz <poenitz@gmx.net>
3641 * lyxfind.C: somewhat clearer logic
3643 * text.C: prevent crash in cursorX on unitialized row cache
3645 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3647 * lyxcursor.[Ch] (operator>): add
3648 * textcursor.C (selStart, selEnd): use std::min and std::max
3650 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3652 * Chktex.C: include boost/format.hpp
3654 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3656 * InsetList.C: replace functor MathcIt with adaptable functor
3658 (insetIterator): modify accordingly
3660 * BranchList.h: move the BranchNamesEqual functor here from...
3661 * BranchList.C: ... to here
3663 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3665 (add): replace a finding loop with std::find_if.
3667 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3669 * output_docbook.C: moving LatexParam functionality into
3672 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3674 * buffer.C: increment format to 229.
3676 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3679 * lyx_sty.[Ch]: remove minipageindent_def
3685 * text3.C: remove LFUN_INSET_MINIPAGE
3687 2003-12-28 Angus Leeming <leeming@lyx.org>
3689 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3691 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3693 * text2.C (setParagraph): fix off-by-one crash
3695 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3697 * output_docbook.C: header stuff for AGU
3699 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3701 * text2.C (redoCursor): remove
3704 * BufferView_pimpl.C: remove calls to redoCursor and
3705 setCursor(cursor.par(), cursor.pos()) all around
3707 2003-12-15 Angus Leeming <leeming@lyx.org>
3709 * buffer.C: up the format to 228.
3711 2003-12-15 André Pönitz <poenitz@gmx.net>
3713 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3718 * BufferView_pimpl.C:
3727 2003-12-15 Angus Leeming <leeming@lyx.org>
3729 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3730 than getFromGUIName to manipulate the color.
3732 2003-12-14 Angus Leeming <leeming@lyx.org>
3734 * BranchList.[Ch]: minimize the API.
3735 (Branch::getBranch, getColor): now return a 'const &'.
3736 (Branch::setSelected) now returns a bool set to true if the
3737 selection status changes.
3738 (BranchList::clear, size, getColor, setColor, setSelected,
3739 allBranches, allSelected, separator): removed.
3740 (BranchList::find): new functions, returning the Branch with
3742 (BranchList::add, remove): return a bool indicating that
3743 the operation was successful.
3745 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3746 new InsetBranch::isBranchSlected member function.
3748 * LColor.[Ch]: mimimize the API.
3749 (fill): renamed as addColor and made private.
3750 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3751 versions of these functions taking a string arg have been removed.
3753 * bufferparams.C (readToken):
3754 * lyxfunc.C (dispatch):
3755 * lyxrc.C (read): changes due to the altered BranchList and
3758 * factory.C (createInset, readInset): changes due to altered
3761 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3764 * lyxfunc.C: remove insetminipage. "minipage-insert"
3765 now produces a frameless minipage box inset.
3767 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3769 * textcursor.[Ch] (selStart,selEnd): add new methods
3770 remove selection::start, end, use LyXCursor::operator<
3771 * lyxcursor.[Ch] (operator<): add
3772 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3773 * BufferView.[Ch] (unsetXSel): add
3774 * text2.C (clearSelection): use unsetXSel,adjust
3777 * rowpainter.C: adjust
3778 * bufferview_funcs.C (put_selection_at): adjust
3780 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3782 * BufferView_pimpl.C: small coord. correction
3784 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3786 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3787 dragging over the splash screen.
3789 2003-12-11 Angus Leeming <leeming@lyx.org>
3791 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3792 as it is now handled in LyXText::dispatch.
3794 * text3.C (doInsertInset): remove a level of nesting.
3796 2003-12-11 Angus Leeming <leeming@lyx.org>
3798 * factory.C (createInset): changes due to the changed interface to
3799 InsetCommandMailer::string2params.
3801 2003-12-10 Angus Leeming <leeming@lyx.org>
3803 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3804 'dialog-show-new-inset <inset name>'
3806 2003-12-10 Angus Leeming <leeming@lyx.org>
3808 * buffer.C: up the format to 227.
3810 * factory.C: the box inset is now identified simply by 'Box'.
3812 2003-12-10 Angus Leeming <leeming@lyx.org>
3814 * buffer.C: up the format to 226.
3816 * factory.C: the note inset is now identified simply by 'Note'.
3818 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3820 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3821 when a pit is enough. Standarize a couple of loops.
3823 2003-12-05 Angus Leeming <leeming@lyx.org>
3825 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3826 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3827 data to the re-worked "log" dialog.
3829 2003-12-03 André Pönitz <poenitz@gmx.net>
3835 * paragraph_funcs.C:
3837 * text2.C: use Inset::getText instead of Inset::getParagraph
3839 2003-12-03 André Pönitz <poenitz@gmx.net>
3843 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3844 InsetText::read() as LyXText::read()
3846 2003-12-02 Angus Leeming <leeming@lyx.org>
3848 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3849 type. Add a comment in the implementation that the function uses
3850 the stream's bad() function rather than fail() as the std::streams
3853 2003-12-02 André Pönitz <poenitz@gmx.net>
3855 * lyxlex.[Ch]: make interface more similar to std::stream
3857 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3859 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3861 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3863 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3865 * vspace.[Ch]: remove VSpace::NONE
3867 2003-12-01 André Pönitz <poenitz@gmx.net>
3870 * lyxtext.h: move ParagraphList member to LyXText
3871 rename LyXText::ownerParagraphs to LyXText::paragraph
3874 * bufferview_funcs.C:
3884 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3886 * undo.C: fix cursor positioning
3888 2003-12-01 John Levon <levon@movementarian.org>
3890 * BufferView_pimpl.C: fix a crash on exit with
3893 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3895 * BranchList.C: fix setSelected() method.
3897 2003-11-28 André Pönitz <poenitz@gmx.net>
3899 * ParagraphParameters.[Ch]:
3900 * ParameterStruct.h: remove space above/below from Paragraph to
3903 * BufferView_pimpl.C:
3909 * paragraph_funcs.C:
3915 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3917 * factory.C: Syntax change for CharStyles
3919 2003-11-28 André Pönitz <poenitz@gmx.net>
3924 * buffer.[Ch]: move LyXText member
3926 2003-11-28 André Pönitz <poenitz@gmx.net>
3928 * BufferView.[Ch]: make LyXText * text a private member
3930 * BufferView_pimpl.C:
3941 * output_plaintext.C: cleanup
3943 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3946 * lyxtextclass.[Ch]: parametrize SGML document header
3948 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3951 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3954 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3956 * text2.C (setFont): rework using PosIterator (no more recursive)
3957 (setCharFont): no more needed
3958 (setLayout): no more selection cursors fiddling (done by redoCursor)
3959 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3960 destroy remaining ones)
3962 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3964 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3966 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3969 * text3.C: adjust + re-allow multi par depth changes
3970 * textcursor.C: simplify a bit
3972 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3978 * src/output_docbook.C:
3979 * src/output_latex.C:
3984 * src/text2.C: Introducing a number of tags parametrizing various
3985 XML formats that we may want to support
3987 2003-11-25 André Pönitz <poenitz@gmx.net>
3989 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3991 * lyxtext.h (leftMargin/rightMargin): simplify interface
3998 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4000 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4001 master file to any child files. Fixes bug 546.
4003 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4005 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4007 2003-11-24 André Pönitz <poenitz@gmx.net>
4009 * rowpainter.C: simplification
4011 * text2.C (updateCounters): remove call to redoParagraph on
4012 changed labels as this is far too expensive.
4014 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4016 * converter.C (convert): fix a crash: this function gets
4017 called with buffer == 0 from importer code.
4019 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
4021 * text3.C (cursorPrevious): make sure that we do not compare
4022 iterators form different containers.
4025 * rowpainter.C (paintSelection): make sure that we do not compare
4026 iterators from different containers.
4028 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4029 iterators from different ParagraphList containers.
4032 * text2.C (LyXText): change order of initialization slightly
4033 (operator=): new function. copy all variables except cache_par_
4034 (moveUp): make sure that we do not compare iterators from
4035 different ParagraphList constainers.
4038 * text.C (firstPar): new function
4039 (lastPar): new function
4040 (endPar): new function
4042 * lyxtext.h: move things around and group public functions, public
4043 variables, private functions, private variables
4045 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4047 * factory.C: change call to InsetERT constructor to avoid
4048 additional invocation of method status
4049 * text2.C (toggleInset): remove redundant update() call
4050 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4051 instead of a Bufferview pointer
4053 2003-11-21 André Pönitz <poenitz@gmx.net>
4055 * rowpainter.C: simplification
4057 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4059 * text3.C (dispatch): make possible to extend a word/row selection
4062 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4064 * lyxtext.h: x0_,y0_ -> xo_,yo_
4065 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4066 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4067 * rowpainter.C (paintRows): paint full paragraphs
4069 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4071 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4074 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4076 * lyxtext.h: add x0_, y0_
4077 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4078 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4080 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4082 * text2.C (setCursorIntern): move the x_target update here *
4083 * text3.C: change some bv() to true/false in calls to
4084 cursorUp/Down/Right/Left
4085 * cursor.C: use helper function.
4087 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4089 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4090 * paragraph_funcs.[Ch]: correct comment
4091 * rowpainter.C: do not paint selections away from bv->cursor()
4092 Fix a long standing selection painting bug.
4093 * text3.C: generalize mouse-selection code to LyXTexts other that
4095 * textcursor.C: do not use y coords if we can use par offsets
4097 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4099 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4100 cursor position after e.g. inset insert)
4102 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4104 * lyxfind.C (replace): adjust to locking removal + some
4107 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4109 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4112 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4115 * output_docbook.C: XML sanitation: new layout
4116 parameters InnerTag and CommandDepth
4118 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4120 * BufferView_pimpl.C:
4122 * text3.C: Fix the insertion and modification of button-style
4125 2003-11-13 André Pönitz <poenitz@gmx.net>
4127 * InsetList.[Ch]: remove deleteLyXText
4129 * paragraph.[Ch]: cache beginOfBody position
4134 * text3.C: remove superfluous update() calls
4138 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4140 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4141 * BufferView.C (fitLockedInsetCursor): remove
4142 * cursor.[Ch] (getDim): add
4143 * text.C (getRowNearY): add faster version
4144 * text3.C: remove some update calls
4146 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4158 * text3.C: The Character Style /XML short element patch.
4160 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4163 * factory.C: Small step to solving 'unable to insert some insets'
4166 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4168 * cursor.[Ch] (updatePos): new function for updating the y
4169 position of the tip inset
4170 * bufferview_funcs.C (put_selection_at):
4171 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4173 2003-11-11 André Pönitz <poenitz@gmx.net>
4175 * text.C: remove big comment on invalid Paragraph pointers as it is
4178 2003-11-11 André Pönitz <poenitz@gmx.net>
4180 * text_funcs.[Ch]: merge with ...
4188 * Makefile.am: remove text_funcs.[Ch]
4190 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4192 * cursor.C (getPos): return absolute cached y coord
4194 * BufferView_pimpl.C (fitCursor): new simplistic code
4195 (workAreaDispatch): add a fitCursor call
4197 2003-11-10 André Pönitz <poenitz@gmx.net>
4200 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4202 2003-11-10 André Pönitz <poenitz@gmx.net>
4204 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4205 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4206 indicate that the cursor needs to leave an inset
4208 * lyxtext.h: remove inset locking
4210 * cursor.[Ch]: re-implement functionality provided by inset locking
4213 * BufferView_pimpl.[Ch]:
4215 * bufferview_funcs.[Ch]:
4227 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4229 * PosIterator.[Ch]: replace the stack with a vector, add inset
4231 * iterators.[C]: adjust
4233 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4235 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4237 * paragraph_funcs.C (readParToken): put the correct id in the
4238 error item, not the id of the top paragraph
4240 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4242 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4243 * bufferview_funcs.C (put_selection_at): use the above
4245 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4247 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4249 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4251 * output_linuxdoc.h:
4252 * output_plaintext.h:
4254 * output_docbook.h: add #include statements
4256 2003-11-05 José Matos <jamatos@lyx.org>
4258 * output_docbook.[Ch]:
4259 * output_latex.[Ch]:
4260 * output_linuxdoc.[Ch]:
4261 * output_plaintext.[Ch]: New files for output formats.
4262 * output.[Ch]: New file for helper functions.
4265 * paragraph_funcs.[Ch]: output functions moved to new files.
4267 * outputparams.h: rename of latexrunparams.h
4275 * paragraph_funcs.[Ch]:
4276 * paragraph_pimpl.[Ch]:
4277 * tabular.[Ch]: rename ascii to plaintext
4278 and LatexRunParams to OutputParams.
4280 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4282 * iterators.[Ch] (text): require bv argument
4283 * undo.C (recordUndo):
4284 * lyxfunc.C (dispatch):
4285 * bufferview_funcs.C (put_selection_at): adjust
4287 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4289 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4291 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4293 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4296 2003-11-04 André Pönitz <poenitz@gmx.net>
4298 * cursor.[Ch]: restructure
4301 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4303 * iterators.[Ch] (asCursor): remove
4305 * lfuns.h: remove LFUN_INSET_EDIT
4311 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4313 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4315 * lyxfind.[Ch]: complete overhaul
4316 * BufferView_pimpl.C:
4318 * paragraph.[Ch] (insert): add
4320 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4324 * text.C: remove dead spellcheck code
4326 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4328 * dispatchresult.h: add a val setter
4330 * cursor.C (dispatch): use a tempvar for data_[i]
4332 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4334 * PosIterator.[Ch]: compile fix
4336 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4338 * text.C (cursorPar): deactivate the cursor cache
4340 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4342 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4344 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * text3.C (dispatch): adjust for new DisptchResult semantics.
4348 * lyxfunc.C (dispatch): handle update when return from
4349 Cursor::dispatch, adjust for new DispatchResult semantics.
4351 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4352 DispatchResult(true) mean to not update. Add class functions for
4353 setting dispatched and update, as well as reading.
4355 * cursor.C (dispatch): don't handle update here
4357 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4360 * trans_mgr.C: adjust
4362 * paragraph_funcs.C (readParToken): exception safety
4364 * lyxvc.h: store the vcs pointer in a scoped_ptr
4367 * lyxsocket.C (serverCallback): exception safety
4369 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4371 * ispell.C (clone): make it return a auto_ptr
4373 * factory.C (createInset): exception safety
4374 (readInset): exception safety
4376 * bufferlist.C (newBuffer): exception safety
4378 * Thesaurus.C (Thesaurus): use initialization for aik_
4380 * MenuBackend.C (expandToc): exception safety.
4382 2003-11-03 André Pönitz <poenitz@gmx.net>
4386 * bufferview_funcs.C: remove getInsetFromId()
4389 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4395 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4397 * PosIterator.C (distance, advance): new
4398 * bufferview_funcs.[Ch] (put_selection_at): new
4399 * iterators.[Ch] (lockPath): new
4401 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4403 * iterators.[Ch] (asPosIterator): added
4404 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4405 * PosIterator.[Ch]: added
4407 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * cursor.C (dispatch):
4412 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4414 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4415 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4416 contructor, add a class function dispatched. Remove operator>=
4418 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * debug.C: only use the default constructor for debugstream
4423 * main.C (main): include debug.h and setup the lyxerr streambuf
4426 2003-10-31 José Matos <jamatos@lyx.org>
4428 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4430 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4431 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4432 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4433 * paragraph_pimpl.C (simpleTeXSpecialC):
4434 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4435 add LatexRunParams argument.
4437 * exporter.C (Export): change call accordingly.
4439 * latexrunparams.h: add new member to take care of the other backends.
4440 2003-10-30 José Matos <jamatos@lyx.org>
4442 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4443 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4444 factorise code for paragraph output.
4446 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4449 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4451 * text3.C (dispatch):
4452 * lyxfunc.C (dispatch):
4453 * cursor.C (dispatch):
4454 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4456 * dispatchresult.h: make the dispatch_result_t ctor explicit
4458 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4461 * buffer.C: small refactoring of docbook stuff
4463 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4468 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4471 operator dispatch_result_t, and operators for == != and >=
4473 * cursor.C (dispatch): adjust for operator dispatch_result_t
4474 removal. comment out call to update
4476 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4478 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4489 * dispatchresult.h: new file, DispatchResult broken out of
4492 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4494 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4496 * text.C (rowBreakPoint): put a hack inside #if 0
4498 2003-10-28 André Pönitz <poenitz@gmx.net>
4502 * paragraph_funcs.C:
4505 * text2.C: general cleanup (lots of small stuff)
4507 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4509 * text2.C (cursorEnd): simple fix to the "end key goes to one
4510 before the end on last row" bug
4512 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4514 * text.C (backspace): fix the "zombie characters"
4516 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4518 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4520 2003-10-27 André Pönitz <poenitz@gmx.net>
4522 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4524 * factory.C: handle new InsetPagebreak, InsetLine
4526 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4527 and move handling into new InsetPagebreak, InsetLine
4529 * BufferView_pimpl.C:
4531 * ParagraphParameters.C:
4532 * ParameterStruct.h:
4537 * paragraph_funcs.C:
4538 * paragraph_pimpl.C:
4544 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4547 * lyxrow_funcs.[Ch]:
4553 * text3.C: remove lastPos uses in favour of Row::endpos
4555 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4557 * undo.C (performUndoOrRedo): fix two crashes by setting a
4558 cursor by hand and reordering some calls. Use bv->lockInset instead
4559 of inset->edit because the latter loses cursor information
4561 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4563 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4565 (rowBreakPoint): fix width. change point to point + 1.
4566 Add a missing check.
4568 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4571 * lyxfunc.C: fix (at least partly) the problems
4572 with the Nav menu and headers inside branch insets
4575 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4577 * paragraph.C (getChar): add strong asserts
4579 * lyxrow_funcs.C (lastPos): remove hideous hack
4581 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4582 (fill): adjust to that (avoid an infinite loop)
4584 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4586 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4588 2003-10-23 André Pönitz <poenitz@gmx.net>
4590 * RowList_fwd.h: change list<> to vector<> to gain speed
4591 after suggestion from Alfredo
4593 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4595 * lyxtext.h: move the bidi stuff from here...
4598 * Bidi.[Ch]: ... to here
4600 2003-10-23 André Pönitz <poenitz@gmx.net>
4603 * text.C (isLastRow, isFirstRow): new functions
4605 * paragraph.h: new width cache member
4607 * rowpainter.C: replace RowList::iterator with Row & where possible
4609 * lyxfunc.C: replace several view()->text with a single call
4611 * toc.C: fix 'unused' warning
4613 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4616 when woring with stream::pos_type
4617 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4619 2003-10-22 André Pönitz <poenitz@gmx.net>
4622 * text.C: use Row & instead of RowList::iterator
4624 * lyxrow.h: rename end() to endpos()
4630 2003-10-22 Angus Leeming <leeming@lyx.org>
4632 * buffer.[Ch] (fully_loaded): new member function, returning true
4633 only when the file has been loaded fully.
4634 Used to prevent the premature generation of previews and by the
4635 citation inset to prevent computation of the natbib-style label.
4637 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4638 templates are all set up.
4640 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4642 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4644 * text.C: fixed an "oops" in the "is a bit silly"
4647 2003-10-21 André Pönitz <poenitz@gmx.net>
4649 * FuncStatus.[Ch]: small stuff, whitespace
4651 * lyxfont.[Ch]: operator<<() for debug reasons
4655 * lyxtext.h: whitespace, spelling
4657 * paragraph.C: naming of variables
4660 * text2.C: small stuff
4663 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4665 * text.C: (1) finish off the inset display() work;
4666 (2) fix the "is a bit silly" bug (accessing char
4669 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4671 * text.C: re-introduce display() for insets, fixing the
4672 various bugs (stretch of line above, math inset
4675 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4677 * text.C (rightMargin): remove spurious semicolon
4679 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4682 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4684 * text3.C: fix one crash due to wrong cursor def
4686 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4688 * vc-backend.C (scanMaster): make the regex static
4690 * LaTeX.C (scanAuxFile): make the regexs static
4692 * text3.C (doInsertInset, dispatch, dispatch):
4693 * text2.C (cursorUp, cursorDown):
4694 * text.C (selectNextWordToSpellcheck):
4695 * BufferView_pimpl.C (dispatch):
4696 * lyxfunc.C (dispatch): localDispatch -> dispatch
4698 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4700 * lyxsocket.C: include <cerrno>
4702 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4704 * lyxfunc.C (dispatch): remove textcache stuff
4706 * bufferlist.C (release): remove textcache stuff
4709 * TextCache.C: delete file
4710 * TextCache.h: delete file
4712 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4714 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4715 delete of the bv_->text.
4716 (resizeCurrentBuffer): remove texcache stuff
4717 (workAreaResize): ditto
4719 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4721 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4724 2003-10-16 André Pönitz <poenitz@gmx.net>
4731 * text3.C: speed up by storing y positions per paragraph plus per-row
4732 offset instead of having a 'full' y position in the row.
4734 2003-10-15 André Pönitz <poenitz@gmx.net>
4738 * undo.[Ch]: make undo aware of inner insets
4740 2003-10-14 Angus Leeming <leeming@lyx.org>
4742 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4743 static member functions LyX::ref() and LyX::cref.
4744 (lastfiles): new accessor functions for the new lastfiles_ member var.
4745 (addLyXView, views_): add a new LyXView to the list of views_.
4746 (updateInset): loop over all LyXViews to call their own updateInset
4747 member function, returning a pointer to the Buffer owning the inset.
4749 * BufferView_pimpl.C (loadLyXFile):
4750 * MenuBackend.C (expandLastfiles):
4751 * bufferlist.C (MenuWrite, QuitLyX):
4752 lastfiles is no longer a global variable.
4753 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4755 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4756 static function. Access through LyX::cref().emergencyCleanup().
4758 2003-10-14 André Pönitz <poenitz@gmx.net>
4760 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4762 * undo.[Ch]: restoring part of 'undo in insets'
4765 * undo_funcs.[Ch]: merge with undo.[Ch]
4767 * tabular.C: small cleansing stuff
4769 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4771 * paragraph_funcs.C (readParToken): report unknown insets as error
4772 boxes. Use the outer paragraph as location (also for unknown
4775 * factory.C (readInset): do not abort on reading an unknown inset.
4776 Eat it and return 0.
4778 2003-10-13 Angus Leeming <leeming@lyx.org>
4780 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4782 * lyxrc.C: displayTranslator is now a function,
4783 declared in GraphicsTypes.h.
4785 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4787 * format.C: new placeholder $$a to pass the socket address.
4789 * bufferlist.[Ch]: new function getBufferFromTmp.
4791 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4792 files in the temporary dir.
4794 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4796 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4798 * Makefile.am: add lyxsocket.[Ch].
4800 * lyx_main.C (error_handler): handle SIGPIPE.
4802 2003-10-13 André Pönitz <poenitz@gmx.net>
4804 * BufferView_pimpl.C:
4809 * undo_funcs.[Ch]: use paroffset_type instead of
4810 ParagraphList::iterators to prevent multiple conversion
4811 (and get a more robust interface)
4813 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4817 * text3.C (dispatch): ditto
4819 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4821 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4822 move the onlyfile, use onlyfile instead of foundfile in a couple
4825 * DepTable.C (update): flush the error stream a bit more
4827 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4829 * lyxserver.C (callback): adjust
4831 * lyxfunc.C (getStatus): add a missing brace in commented code
4832 (ensureBufferClean): reindent
4833 (dispatch): delete version taking a string
4835 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4837 * LaTeX.C (deplog): move found file handlig from here...
4838 (handleFoundFile): .. to new function here.
4839 (deplog): make sure to discover several files mentioned on the
4842 2003-10-10 André Pönitz <poenitz@gmx.net>
4849 * text3.C: fix some of the tabular crashes
4851 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4853 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4855 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4857 2003-10-09 André Pönitz <poenitz@gmx.net>
4859 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4862 * BufferView_pimpl.C:
4863 * bufferview_funcs.C:
4874 * undo_funcs.C: adjust
4876 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4878 * text2.C (incrementItemDepth): new function, use a backtracking
4879 algorithm to discover the correct item depth.
4880 (resetEnumCounterIfNeeded): new function, use a backtracking
4881 algorithm to discover if counter reset is needed.
4882 (setCounter): use them. Simplify a bit. Add different labels for
4883 different item depths for itemize.
4885 * paragraph.C (Paragraph): remove initialization of enumdepth
4888 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4889 enumerate and itemize. Change the type of itemdepth to signed char.
4891 2003-10-08 André Pönitz <poenitz@gmx.net>
4893 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4898 * tabular.[Ch]: fix crash after 'row-insert'
4900 2003-10-08 Angus Leeming <leeming@lyx.org>
4902 Fix doxygen warnings.
4904 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4905 Remove CutAndPaste:: prefix from header file declaration.
4907 * LColor.h (fill): remove LColor:: prefix from declaration.
4909 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4910 use lyx::depth_type rather than Paragraph::depth_type so that
4911 header file and .C file match.
4913 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4915 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4916 * aspell.C: \file aspell_local.C -> \file aspell.C
4917 * gettext.C: \file gettext.C -> \file src/gettext.C
4918 * gettext.h: \file gettext.h -> \file src/gettext.h
4919 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4920 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4921 * text.C: \file text.C -> \file src/text.C
4923 * toc.C: move comment so that doxygen is not confused.
4925 2003-10-07 Angus Leeming <leeming@lyx.org>
4927 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4929 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4932 * aspell_local.h: add forgotten std::string's.
4934 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4941 * text3.C: The Box patch. Fancybox support, minipage, parbox
4943 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4949 * ParagraphParameters.h:
4959 * lyxtextclasslist.h:
4962 * paragraph_pimpl.C:
4963 * textcursor.h: add <string> and other small fixes to make Lars'
4964 std::string patch compile with STLport.
4966 2003-10-06 Angus Leeming <leeming@lyx.org>
4968 * LColor.h: Add missing #include <string>.
4970 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * All most all file in all subdirs: Make <string> be the prefered
4973 way of getting to std::string, add using declarations.
4975 2003-10-06 André Pönitz <poenitz@gmx.net>
4977 * metricsinfo.C: initialize LyXFont before changing attribute.
4978 (fixes the 'math in \emph is upright' bug)
4980 2003-10-06 André Pönitz <poenitz@gmx.net>
4982 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4984 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4987 * paragraph_pimpl.C: Small fixes to build using STLport
4989 2003-10-02 André Pönitz <poenitz@gmx.net>
4992 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4994 2003-10-01 André Pönitz <poenitz@gmx.net>
4996 * factory.C: assert early
4998 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * lyx_main.C: remove the global debug object
5002 * debug.h: adjust for new debugstream
5004 * debug.C: adjust for new debugstream and keep the global debug
5007 2003-09-22 Angus Leeming <leeming@lyx.org>
5009 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5010 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5011 an incomplete class LyXFont.
5013 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5015 * factory.C: bug fix in branches
5017 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5019 * lyxfunc.C (processKeySym): adjust
5021 (dispatch): change arg name from ev to func, adjust
5022 (sendDispatchMessage): ditto
5024 * lyx_main.C (defaultKeyBindings): adjust keybindings
5025 (deadKeyBindings): ditto
5027 * kbsequence.C (addkey): return a FuncRequest
5029 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5031 * kbmap.C (bind): take a FuncRequest as arg, adjust
5034 (defkey): change to take a FuncRequest as arg, adjust
5035 (findbinding): take a FuncRequest as arg, adjust.
5037 * funcrequest.h (operator=): added
5039 * funcrequest.C (FuncRequest): default kb_action changed from
5040 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5042 * buffer.C (dispatch): simplify
5043 (dispatch): adjust to take a FuncRequest as arg, adjust
5045 * boost.C (assertion_failed): change assertion message slightly
5047 * ToolbarBackend.C (read): simplify
5049 * MenuBackend.C (binding): adjust call to findbinding, add a
5050 message if no binding is found.
5052 (expandToc): correct by adding a empty FuncRequest
5054 * LyXAction.C: include <boost/assert.hpp>
5055 (isPseudoAction): delete function
5056 (LookupFunc): change name to...
5057 (lookupFunc): this. change return type to FuncRequest.
5058 (getActionName): take kb_action as arg, simplify
5059 (funcHasFlag): add an assert, simplify.
5061 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5063 * toc.C (action): return a FuncRequest, simplify
5065 * lyxfunc.C (processKeySym): adjust
5066 (getStatus): delete version that takes an int.
5068 (dispatch): delete version that takes action as int
5070 (sendDispatchMessage): simplify and adjust
5072 * funcrequest.C (getArg): take unsigned int as arg
5074 * ToolbarBackend.C (read): adjust
5075 (add): delete version that takes func as a string.
5076 (getIton): take a FuncRequest as arg
5078 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5081 * MenuBackend.C (MenuItem): add a new construct that only takes a
5082 Kind, simplify the constructor use for submenus.
5084 (expandLastfiles): adjust
5085 (expandDocuments): adjust
5086 (expandFormats): adjust
5087 (expandFloatListInsert): adjust
5088 (expandFloatInsert): adjust
5089 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5091 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5092 Remove class variables lyx_pseudo_map and lyx_arg_map
5094 * LyXAction.C (searchActionArg): delete function
5095 (getPseudoAction): delete function
5096 (retrieveActionArg): delete function
5097 (LookupFunc): make it return kb_action, simplify.
5098 (getActionName): simplify
5100 * factory.C (createInset): fix new bug
5102 2003-09-19 Angus Leeming <leeming@lyx.org>
5104 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5105 masterFilename_ parameter in the include inset.
5107 * factory.C (createInset): changes due to the changes to InsetInclude.
5109 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5111 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5113 2003-09-18 Angus Leeming <leeming@lyx.org>
5116 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5117 Inset::fillWithBibKeys.
5118 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5120 2003-09-18 Angus Leeming <leeming@lyx.org>
5122 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5124 (ctor): pass and store a 'Buffer const &'
5125 (buffer): new member function.
5127 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5128 '*this' to the LaTeXFeatures ctor.
5130 2003-09-18 Angus Leeming <leeming@lyx.org>
5136 * text.C: rename EnumLColor as LColor_color.
5138 2003-09-18 Angus Leeming <leeming@lyx.org>
5140 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5141 remove #include "insets/insetbase.h" from cursor.h.
5143 2003-09-18 Angus Leeming <leeming@lyx.org>
5145 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5146 InsetOld_code to remove #include "inset.h".
5148 * iterators.C: add #include "insets/inset.h"
5150 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5152 * BufferView.C: remove more locking stuff that apparently doesn't
5153 do anything sensible.
5155 2003-09-16 André Pönitz <poenitz@gmx.net>
5158 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5161 2003-09-16 Angus Leeming <leeming@lyx.org>
5163 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5165 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5168 * paragraph.h: remove #include "lyxfont.h". Forward declare
5171 2003-09-16 Angus Leeming <leeming@lyx.org>
5173 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5174 of support/textutils.h.
5175 (isWord): move the contents of support/textutils.h's IsWordChar here.
5181 * text2.C: add #include "paragraph.h".
5184 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5186 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5192 * LaTeX.C: use namespace alias for lyx::support::os
5194 2003-09-16 Angus Leeming <leeming@lyx.org>
5197 * bufferview_funcs.C:
5200 * paragraph_pimpl.C:
5202 * text.C: add #include "LColor.h".
5204 2003-09-16 Angus Leeming <leeming@lyx.org>
5206 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5207 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5209 Store the FontBits::color variable as an int rather than as an
5210 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5213 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5214 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5215 string calls together.
5217 * lyxrc.C: add #include "LColor.h".
5219 2003-09-15 Angus Leeming <leeming@lyx.org>
5221 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5224 2003-09-15 Angus Leeming <leeming@lyx.org>
5226 * LColor.h: add an EnumLColor wrapper for LColor::color.
5228 * lyxfont.[Ch] (color, setColor, realColor):
5229 * lyxtext.h, text.C (backgroundColor):
5230 pass EnumLColor args to/from the functions, rather than LColor::color
5234 * lyxtext.h: forward declare EnumLColor.
5236 * lyx_main.C: add #include "LColor.h".
5238 2003-09-15 Angus Leeming <leeming@lyx.org>
5240 * .cvsignore: add lyx-gtk.
5242 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5247 * ParagraphParameters.C
5251 * bufferview_funcs.C
5261 * vc-backend.C: remove usage of STRCONV
5263 2003-09-15 Angus Leeming <leeming@lyx.org>
5265 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5266 explicitly define the color passed to the painter.
5268 2003-09-15 Angus Leeming <leeming@lyx.org>
5270 * bufferparams.C (BufferParams): reorder member initializers to avoid
5273 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5275 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5276 * text.C (updateRowPositions): remove an unusual nop
5278 2003-09-12 André Pönitz <poenitz@gmx.net>
5280 * BufferView_pimpl.C:
5289 * Counters.[Ch]: finish the 'automatic counters' job
5291 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5293 * aspell.C: include <boost/assert.cpp> (compile fix)
5295 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5297 * boost.C (assertion_failed): use lyx::support::abort instead of
5300 2003-09-10 Angus Leeming <leeming@lyx.org>
5302 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5303 with their _fwd progeny.
5305 2003-09-09 Angus Leeming <leeming@lyx.org>
5307 134 files throughtout the source tree: replace 'using namespace abc;'
5308 directives with the appropriate 'using abc::xyz;' declarations.
5310 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5312 * boost.C (emergencyCleanup): moved here from LAssert.c
5313 (assertion_failed): new function, called by BOOST_ASSERT
5315 * several files: change Assert to BOOST_ASSERT
5317 2003-09-09 Angus Leeming <leeming@lyx.org>
5319 * buffer.[Ch]: Add an Impl class and move Buffer's member
5320 variables into it. As a result move several header files out of
5323 Add header files to lots of .C files all over the tree as a result.
5325 2003-09-09 Angus Leeming <leeming@lyx.org>
5327 * buffer.[Ch]: make Buffer's member variables private. Add
5330 Lots of changes all over the tree as a result.
5332 2003-09-08 Angus Leeming <leeming@lyx.org>
5334 * graph.C: #include <config.h>.
5336 2003-09-08 Angus Leeming <leeming@lyx.org>
5340 * BufferView_pimpl.C:
5369 * toc.C: remove redundant using directives.
5371 2003-09-07 Angus Leeming <leeming@lyx.org>
5373 * LaTeXFeatures.h: remove #include "support/types.h".
5374 * ToolbarBackend.h: remove #include <algorithm>.
5375 * changes.h: remove #include <ctime>.
5376 * debug.h: remove #include <iosfwd>.
5377 * graph.h: remove #include "support/std_string.h".
5378 * lyx_main.h: remove #include <csignal>.
5379 * lyxlex_pimpl.h: remove #include <fstream>.
5380 * sgml.h: remove #include <algorithm>, <utility>.
5381 * toc.h: remove #include "support/std_ostream.h".
5382 Add #include <iosfwd>.
5384 2003-09-07 Angus Leeming <leeming@lyx.org>
5386 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5388 * converter.h: forward declare LatexRunParams.
5389 * encoding.h: remove #include "lyxrc.h".
5390 * lyxtext.h: remove #include "LColor.h".
5391 * lyxtextclass.h: remove #include "support/types.h".
5392 * trans.h: remove #include "tex-accent.h".
5393 * trans_mgr.h: remove #include "tex-accent.h".
5394 * insets/inset.h: remove #include "support/types.h", <vector>.
5395 * insets/insetcollapsable.h: remove #include "LColor.h".
5396 * insets/insetinclude.h: remove #include "dimension.h".
5397 * insets/insetlatexaccent.h: remove #include "dimension.h".
5398 * insets/insetoptarg.h:: remove #include "insettext.h".
5399 * insets/insettext.h: remove #include "dimension.h",
5400 <boost/shared_ptr.hpp>
5402 * insets/renderers.h: add #include "dimension.h".
5403 * insets/updatableinset.h: add #include "support/types.h".
5405 * many .C files: Associated changes.
5407 2003-09-06 Angus Leeming <leeming@lyx.org>
5409 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5410 one, inside testInvariant.
5412 * PrinterParams.C: new file.
5413 * PrinterParams.[Ch]: move the function bodies out of line.
5415 2003-09-06 Angus Leeming <leeming@lyx.org>
5417 * ParagraphParameters.h: forward declare ParameterStruct rather than
5418 including its header file.
5419 (depth): moved out-of-line.
5421 2003-09-06 Angus Leeming <leeming@lyx.org>
5423 * BufferView_pimpl.h:
5426 * lyxfunc.h: forward declare LyXKeySym rather than
5427 #include "frontends/LyXKeySym.h".
5429 * BufferView_pimpl.C:
5432 * lyxfunc.C: associated changes.
5434 2003-09-06 Angus Leeming <leeming@lyx.org>
5436 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5437 As a result, can remove the #include "insets/inset.h" from BufferView.h
5439 2003-09-06 Angus Leeming <leeming@lyx.org>
5441 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5442 As a result, can remove the #include "insets/inset.h" from BufferView.h
5444 2003-09-06 Angus Leeming <leeming@lyx.org>
5450 * bufferview_funcs.C:
5451 * BufferView_pimpl.C:
5456 * ParagraphParameters.C:
5461 * frontends/controllers/ControlDocument.C:
5462 * insets/insetcaption.C: rearrange the #includes into some sort of
5465 * buffer.h: remove #includes ErrorList.h, undo.h
5467 2003-09-06 Angus Leeming <leeming@lyx.org>
5469 * support/types.h: add a 'depth_type' typedef, used to store the
5470 nesting depth of a paragraph.
5473 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5474 defining explicitly.
5477 * paragraph_funcs.h:
5478 * ParagraphParameters.h:
5479 * sgml.h: use lyx::depth_type rather than Paragraph or
5480 ParameterStruct's depth_type.
5483 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5486 * BufferView_pimpl.C:
5488 * ParagraphParameters.C:
5491 * bufferview_funcs.C:
5498 * frontends/LyXView.C:
5499 * frontends/controllers/ControlDocument.C:
5500 * frontends/controllers/ControlErrorList.C:
5501 * insets/insetbibitem.C:
5502 * insets/insetbranch.C:
5503 * insets/insetcaption.C:
5504 * insets/insetcollapsable.C:
5505 * insets/insetenv.C:
5506 * insets/insetert.C:
5507 * insets/insetfloat.C:
5508 * insets/insetfoot.C:
5509 * insets/insetfootlike.C:
5510 * insets/insetnewline.C:
5511 * insets/insetquotes.C:
5512 * insets/insettabular.C:
5513 * insets/insettext.C:
5514 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5516 * frontends/controllers/ControlChanges.C: #include "changes.h".
5518 2003-09-06 Angus Leeming <leeming@lyx.org>
5520 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5521 than #including paragraph.h.
5524 * RowList.h: deleted. Superfluous.
5534 * insets/insettext.h: use ParagraphList_fwd.h rather than
5537 * paragraph.h: don't forward declare ParagraphList.
5540 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5541 rather than ParagraphList.h. paragraph.h is still needed for the
5542 Paragraph::depth_type parameters.
5544 * textcursor.h: enable it to compile stand-alone in light of the
5547 * bufferview_funcs.C:
5559 * frontends/controllers/ControlParagraph.C:
5560 * frontends/controllers/ControlTabular.C:
5561 * insets/insetmarginal.C:
5562 * insets/insetminipage.C:
5563 * insets/insetnote.C:
5564 * insets/insetoptarg.C: add header files needed to compile again.
5566 2003-09-06 Angus Leeming <leeming@lyx.org>
5568 * RowList_fwd.h: new file, forward-declaring Row rather than
5569 #including lyxrow.h.
5574 * insets/insettext.h: use it instead of RowList.h
5576 * bufferview_funcs.C:
5583 * text3.C: #include "RowList.h".
5585 2003-09-05 Angus Leeming <leeming@lyx.org>
5587 * factory.C (createInset):
5588 * vspace.C (c-tor): replace sscanf call with an istringstream.
5589 * ispell.C: re-add missing HP/UX headers.
5590 * lyxserver.C: re-add missing os2 headers.
5592 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5601 * text3.C: re-add missing system headers, needed for 2.95.2.
5603 2003-09-05 Angus Leeming <leeming@lyx.org>
5605 Changes most place everywhere due to the removal of using directives
5606 from support/std_sstream.h.
5608 2003-09-05 Angus Leeming <leeming@lyx.org>
5610 Replace LString.h with support/std_string.h,
5611 Lsstream.h with support/std_sstream.h,
5612 support/LIstream.h with support/std_istream.h,
5613 support/LOstream.h with support/std_ostream.h.
5615 Changes resulting throughout the tree.
5617 2003-09-05 Angus Leeming <leeming@lyx.org>
5619 * sgml.h: ensure that the header file can be compiled stand-alone.
5620 * *.C: strip out redundant #includes. (320 in total.)
5622 2003-09-04 Angus Leeming <leeming@lyx.org>
5624 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5625 here (from getPackages).
5627 * debug.[Ch]: add a new EXTERNAL tag.
5629 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5631 * text2.C (cursorEnd): simplify
5633 (getColumnNearX): adjust
5635 * text.C (computeBidiTables): adjust
5638 * rowpainter.C (paintChars): adjust
5639 (paintSelection): adjust
5640 (paintChangeBar): adjust
5643 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5645 (numberOfSeparators): adjust
5647 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5653 * text3.C: Restricts the mouse click functionality
5654 of insets like bibtex, include, toc and floatlist to the visible
5655 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5656 up the dialogs. Cursor has to be in front of the inset (i.e.
5657 start of row) for this to function.
5659 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5661 * bufferview_funcs.C (currentState): output row information
5663 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5665 * bufferview_funcs.C (currentState): output paragraph position
5667 2003-09-04 Angus Leeming <leeming@lyx.org>
5669 * FloatList.h: move out #include "Floating.h".
5670 * LaTeX.h: move out #include "DepTable.h".
5671 * LyXAction.h: move out #include "funcrequest.h".
5672 * buffer.h: move out #include "author.h", "iterators.h".
5673 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5674 * lyx_main.h: move out #include "errorlist.h".
5675 * lyxfunc.h: move out #include "FuncStatus.h".
5676 * lyxtext: move out #include "lyxcursor.h".
5677 * paragraph_pimpl.h: move out #include "counters.h".
5679 2003-09-03 Angus Leeming <leeming@lyx.org>
5681 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5682 preamble_snippets list, enabling us to add snippets to the preamble
5683 only if the snippet was not there already.
5685 2003-09-04 Angus Leeming <leeming@lyx.org>
5687 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5689 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5694 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5696 * BranchList.C: point fix, earlier forgotten
5698 2003-09-02 Angus Leeming <leeming@lyx.org>
5700 * box.C (contains): renamed from 'contained' after a fantastic
5703 2003-09-02 John Levon <levon@movementarian.org>
5709 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5711 2003-09-02 John Levon <levon@movementarian.org>
5713 * text2.C: simplification of cursorEnd(), including partial
5716 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * buffer.C (readFile): add a space
5720 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5722 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5724 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * buffer.C (readFile): new function, take a filename and a
5727 ParagraphList::iterator
5729 (readFile): adjust, make it private. don't use setStream, make
5730 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5731 always contain the filename.
5733 * BufferView.C (insertLyXFile): simplify and make it work for
5736 2003-08-30 John Levon <levon@movementarian.org>
5738 * Makefile.am: fix dist (from Kayvan)
5740 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5742 * most files: change to use const Buffer refs
5744 2003-08-27 André Pönitz <poenitz@gmx.net>
5746 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5747 on top of ownerPar().
5749 2003-08-27 John Levon <levon@movementarian.org>
5751 * funcrequest.C: properly initialise POD members
5753 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5755 * lyxtext.h (top_y): move top_y from here
5760 * BufferView_pimpl.[Ch]: to here
5761 * frontends/screen.C:
5762 * insets/insettabular.C:
5763 * insets/insettext.C: adjust
5764 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5766 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5769 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5771 2003-08-26 André Pönitz <poenitz@gmx.net>
5773 * paragraph_func.[Ch] (outerPar): new function
5776 * paragraph_funcs.C:
5777 * paragraph_funcs.h:
5778 * paragraph_pimpl.C:
5779 * text2.C: remove Inset::par_owner
5781 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5786 * text2.C: eliminates the needFullRow/display() stuff
5787 altogether, putting the logic in metrics/draw in the insets.
5789 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5791 * text2.C (redoParagraphInternal, redoParagraphs):
5792 * text.C (redoParagraph): add a call to updateRowPositions at the
5793 end of each 'metrics-like' call. Remove all others.
5794 (getRow): remove the 'y-computing' version.
5795 (getRowNearY): do not compute nor return the real y. Solve the
5796 'y < 0' problem and simplify.
5798 2003-08-22 Angus Leeming <leeming@lyx.org>
5800 * *.[Ch]: clean-up of licence and author blurbs.
5801 Also move config.h out of a few .h files and into a few .C files.
5803 2003-08-22 André Pönitz <poenitz@gmx.net>
5805 * lyxrow.[Ch]: add x_ and *fill_ members
5810 * text2.C: adjust/remove prepareToPrint() calls
5812 2003-08-22 André Pönitz <poenitz@gmx.net>
5814 * lyxrow.[Ch]: add end_ member
5816 * lyxrow_funcs.C: use LyXRow::end_
5818 * lyxtext.h (singleWidth): add LyXFont parameter
5821 * text2.C: adjust LyXText::singleWidth() calls
5823 * text.C (redoParagraph): simplify row breaking logic
5826 2003-08-19 André Pönitz <poenitz@gmx.net>
5828 * funcrequest.C: initialize button_ member
5831 * rowpainter.[Ch]: interface consolidation
5833 2003-08-18 André Pönitz <poenitz@gmx.net>
5836 * BufferView_pimpl.C:
5838 * paragraph_funcs.C:
5840 * text3.C: remove LyXScreen::draw() and fitCursor calls
5842 * BranchList.h: remove spurious semicolons
5844 * MenuBackend.C: fix branchlist related crash
5846 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5854 * bufferparams.[Ch]:
5858 * text3.C: implements the 'branch inset'
5859 idea. This allows the output of various versions of a document
5860 from a single source version, selectively outputing or suppressing
5861 output of parts of the text.
5862 This implementation contains a 'branch list editor' in a separate
5863 tab of the document settings dialog. Branches are user definable
5864 and have a "display colour" to distinguish them on-screen.
5866 ColorHandler was somewhat cleaned up.
5867 (1) make possible a dynamically growing LColor list by allowing
5868 the graphic context cache to grow along (vector);
5869 (2) eliminate an IMHO unnecessary step in colour allocation.
5871 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5873 * BufferView_pimpl.C: compile fix
5875 2003-08-15 André Pönitz <poenitz@gmx.net>
5877 * rowpainter.C: remove extra metrics calls
5879 * lyxtext.h: merge the two constructors into a single one,
5880 pass reference to owner's par list
5882 * BufferView_pimpl.C:
5886 2003-08-15 André Pönitz <poenitz@gmx.net>
5888 * lyxrow_funcs.[Ch]:
5891 * paragraph_funcs.C:
5896 * text_funcs.C: split LyXText::rowlist_ into individual
5897 Paragraph::rows_ chunks
5900 * BufferView_pimpl.[Ch]:
5903 * text3.C: remove toggleSelection()
5905 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5907 * bufferlist.C: beautify two alerts (shorter text of buttons)
5908 * buffer.C: Remove redundant ' ' from message
5910 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5911 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5912 rename VALIGN_CENTER to VALIGN_MIDDLE
5914 2003-08-11 André Pönitz <poenitz@gmx.net>
5916 * lyxtext.h (getPar):
5917 * text.C: new function
5919 2003-08-11 André Pönitz <poenitz@gmx.net>
5922 * tracer.[Ch]: remove unneeded files
5924 * InsetList.[Ch]: remove resizeInsetsLyXText()
5929 * text3.C: merge insertParagraphs() and appendParagraph()
5930 remove breakAgain(), update()
5932 * BufferView_pimpl.[Ch]:
5933 * bufferview_funcs.[Ch]:
5937 * tabular.C: adjust after text & InsetList changes.
5939 2003-08-08 André Pönitz <poenitz@gmx.net>
5941 * text.C (insertChar, backspace): replace rowlist fiddling
5942 with rebreak of full par
5945 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5946 checkParagraph, updateInset): removed
5948 2003-08-07 André Pönitz <poenitz@gmx.net>
5951 * text3.C: merge some LFUN handlers, remove dead code
5953 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5955 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5957 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5959 * text2.C (DEPM): fix part of bug 1255 and 1256
5961 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5963 * BufferView_pimpl.C (workAreaDispatch): change to use
5964 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5965 that are no mouse related.
5967 2003-08-05 André Pönitz <poenitz@gmx.net>
5970 * BufferView_pimpl.[Ch]:
5971 * bufferview_funcs.C:
5973 * text3.C: rip out "deep update"
5975 * textcursor.[Ch] (last_sel_cursor): remove unused member
5977 2003-08-04 André Pönitz <poenitz@gmx.net>
5980 * BufferView_pimpl.[Ch]:
5981 * ParagraphParameters.C:
5982 * bufferview_funcs.C:
5988 * text3.C: replace "complicated" BufferView::update(...) calls with
5991 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5993 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5995 * Makefile.am (lyx_SOURCES): add paper.h
5997 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5999 * Makefile.am: move things around so that both lyx-qt and
6000 lyx-xforms can be built (according to --with-frontend). Then lyx
6001 is a symbolic link to lyx-[firstfrontend]
6003 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6005 * Always use std::endl with lyxerr
6007 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6009 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6011 2003-08-01 André Pönitz <poenitz@gmx.net>
6014 * BufferView_pimpl.[Ch]:
6016 * text3.C: merge BufferView::repaint() and BufferView::update()
6018 2003-08-01 José Matos <jamatos@lyx.org>
6020 * buffer.[Ch]: file_format is no longer a buffer data element.
6022 2003-08-01 André Pönitz <poenitz@gmx.net>
6027 * text2.C: make redoParagraph more independent of current cursor
6029 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6031 * text2.C: remove unneeded members
6033 2003-07-30 André Pönitz <poenitz@gmx.net>
6035 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6037 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6038 create a single function...
6040 * paragraph_funcs.C (moveItem): ... here.
6043 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6045 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6047 * LColor.[Ch]: Add comment and greyedout logical colors.
6049 2003-07-30 André Pönitz <poenitz@gmx.net>
6051 * tabular.C: don't use Assert too heavily. This crashes where it
6054 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6056 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6057 is disabled (bug 1232)
6059 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6061 * factory.C: limited 'arg' scope
6063 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6065 * factory.C: fixed Note submenu issues
6067 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6069 * factory.C: submenu for Note/Comment/Greyedout
6071 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6074 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6076 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6079 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6080 greyedout. Patch provided by Jürgen Spitzmüller.
6082 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6084 * kbmap.C (read): fix error message when reading bind files
6086 2003-07-29 Angus Leeming <leeming@lyx.org>
6088 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6089 certainly does not do what it purports to do. I am doing it, and
6090 us, a favour by killing it.
6092 2003-07-28 José Matos <jamatos@lyx.org>
6094 * buffer.C (readBody, do_writeFile):
6095 * paragraph.C(readParagraph): \end_document replaces \the_end.
6097 2003-07-29 André Pönitz <poenitz@gmx.net>
6100 * BufferView_pimpl.[Ch]:
6104 * textcursor.[Ch]: remove toggleToggle & Co
6106 2003-07-28 José Matos <jamatos@fep.up.pt>
6108 * buffer.C (readParagraph):
6109 * params_func (readParToken, readParagraph):
6110 * paragraph.C (write): \layout -> \begin_layout.
6112 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6114 * lyxlex_pimpl.C (setFile): clean up slightly.
6116 * bufferparams.h: add compressed var
6118 * buffer_funcs.C (readFile): adjust for LyXLex change
6119 (newFile): ditto + simplify
6121 * buffer.C (writeFile): handle writing of compressed files
6123 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6124 Check if the file is compressed and set a bufferparm if so.
6126 * Makefile.am (lyx_LDADD): remove explicit -lz
6128 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6130 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6131 makeDocBookFile): put the real LyX version in the first line of
6135 * version.C.in: remove lyx_docversion
6137 * tabular.C (write_attribute): add a template-based version to
6138 write enums properly
6140 2003-07-28 André Pönitz <poenitz@gmx.net>
6145 * text3.C: use doubles again for x-coordinates. They are needed.
6147 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6149 * messages.C (getLocaleDir): use lyx_localedir()
6151 * lyxlex_pimpl.C (setFile): compress stuff
6153 * buffer.C (writeFile): add some compression stuff
6154 (do_writeFile): new func, dont call expliti close... will this
6157 * Makefile.am (lyx_LDADD): add -lz
6159 2003-07-28 José Matos <jamatos@fep.up.pt>
6161 * buffer.C: increment file format.
6162 * paragraph_funcs (readParagraph, readParToken):
6163 * paragraph.C (readParagraph): add \end_layout.
6165 2003-07-27 Angus Leeming <leeming@lyx.org>
6167 * Makefile.am: remove special casing for configure-time setting of
6168 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6170 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6171 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6173 2003-07-26 André Pönitz <poenitz@gmx.net>
6175 * paragraph_func.[Ch]:
6176 * paragraph.C (realizeFont): inline it whereever it is used
6181 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6184 2003-07-26 André Pönitz <poenitz@gmx.net>
6188 * text2.C: get rid of LyXText::need_break_row
6190 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6192 * toc.[Ch]: put namespace toc inside namespace lyx
6194 * MenuBackend.C (expandToc2): adjust for lyx::toc
6197 * lyxfunc.C (dispatch): adjust for lyx::find
6199 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6200 lyx::find instead. Reorganize a bit.
6201 (LyXReplace): rename to replace
6202 (LyXFind): rename to find
6204 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6207 2003-07-26 André Pönitz <poenitz@gmx.net>
6209 * text.C (setHeightOfRow): restrict scope of temporary variable
6211 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6212 code (never has been used?)
6214 2003-07-27 Asger Alstrup <alstrup@local>
6216 * text.C (fill): Optimise algorithm to exploit that we can reuse
6217 the LyXFont for many characters.
6218 (setHeightOfRow): Same thing.
6219 (rowBreakPoint): Same thing.
6221 2003-07-26 Asger Alstrup <alstrup@local>
6223 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6225 * text.C (singleWidth): Spurious font copying in hot-spot
6226 singleWidth avoided. Reorder tests for arabic for efficiency.
6228 * text.C (fill): handle empty paragraphs better.
6230 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6233 * encoding.h: add includes
6235 * lyxrc.C: remove reading of bind files
6237 * lyx_main.C (init): setup bindings and menus only if we have a
6240 * kbmap.C (read): new method. Do the actual reading of bind
6243 * converter.C (dvipdfm_options):
6246 (output): adapt PAPER_* enums.
6248 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6250 * bufferparams.h: remove paper-related enums from there
6252 * paper.h: New file. A trivial header file to hold paper-related
6253 enums. It should later expand to contain many paper-related
6256 * lyxrc.C: declare extern displayTranslator
6258 2003-07-27 José Matos <jamatos@fep.up.pt>
6260 * tabular.[Ch] (linuxdoc): add support for tables and figures
6263 2003-07-27 José Matos <jamatos@fep.up.pt>
6265 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6266 consistency in both functions.
6267 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6269 2003-07-26 Asger Alstrup <alstrup@local>
6271 * rowpainter.C (paintRows): Change algorithm to work directly on
6272 the insets rather than asking every character in the document
6273 whether its an inset.
6275 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6277 * buffer.C (openFileWrite): factorize some code
6279 2003-07-26 Angus Leeming <leeming@lyx.org>
6282 * lyx_main.[Ch]: replace occurances of system_tempdir with
6285 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6287 * rename Inset to InsetOld
6289 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6291 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6292 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6293 which I think is a bit clearer. EDIT is gone, since it was
6294 premature optimisation, and broken for mathed anyway.
6295 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6296 with cursor positioning in insets as well (math insets still do not
6297 work, but that's a different story anyway.) It mysteriously
6298 crashes sometimes with undo in the first paragraph, but I'm fairly
6299 confident that this is a compiler bug.
6301 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6303 * paragraph.C (Paragraph): adjust for new clone return type
6305 (copyIntoMinibuffer): ditto
6307 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6309 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6310 by not having a special case, and always doing a full rebreak of
6311 the document after undo.
6313 2003-07-23 Angus Leeming <leeming@lyx.org>
6315 * factory.C (createInset): InsetExternal::setParams now takes a
6318 2003-07-23 Angus Leeming <leeming@lyx.org>
6320 * factory.C (createInset): changed interface to the external and
6321 graphics mailers' string2params functions.
6323 2003-07-23 Angus Leeming <leeming@lyx.org>
6325 * factory.C (createInset): pass a
6326 Buffer const * parameter to InsetExternalMailer's string2params.
6328 2003-07-22 John Levon <levon@movementarian.org>
6330 * Thesaurus.h: include the right aiksaurus header
6332 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6334 * MenuBackend.C (expand): check menu shortcuts unconditionally
6336 2003-07-21 Angus Leeming <leeming@lyx.org>
6338 * factory.C (createInset): pass a
6339 buffer_path parameter to InsetGraphicsMailer's string2params.
6341 2003-07-21 Angus Leeming <leeming@lyx.org>
6343 * BufferView_pimpl.C (buffer):
6346 * lyxfunc.C (dispatch):
6347 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6348 rather than the grfx shortcut.
6350 2003-07-21 André Pönitz <poenitz@gmx.net>
6352 * rowpainter.C: remove unused variables
6355 * tabular_funcs.h: move to tabular.C
6356 * Makefile.am: adjust
6358 * tabular.[Ch]: basic optical cleaning
6360 * author.h: pass references, not values
6362 2003-07-18 André Pönitz <poenitz@gmx.net>
6370 * text3.C: two-phase drawing for InsetText and InsetTabular
6371 some float -> int changes.
6373 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6375 * lyx_main.C: fix the fix
6377 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6379 * lyx_main.C: fix a crash in batch mode if no files specified
6382 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6384 * format.[Ch] (papersize): moved to BufferParams
6385 * converter.[Ch] (dvips_options): moved to BufferParams
6386 (dvipdfm_options): moved to anon namespace
6387 * bufferparams.[Ch]: added above functions.
6389 2003-07-17 André Pönitz <poenitz@gmx.net>
6393 * text2.C: don't call inset->update() anymore
6395 * metricsinfo.[Ch]: add convenience constructor
6397 2003-07-16 André Pönitz <poenitz@gmx.net>
6402 * text2.C: replace the LyXCursor::irow_ member with
6403 on-demand computation of the value
6405 2003-07-16 John Levon <levon@movementarian.org>
6407 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6409 2003-07-15 André Pönitz <poenitz@gmx.net>
6412 * text2.C: remove no more needed refresh_row
6414 2003-07-15 André Pönitz <poenitz@gmx.net>
6419 * text3.C: refresh_status tristate -> need_update bool
6421 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6423 * lyxtext.h (init): remove reinit argument (act as if always true)
6424 * text2.C: adjust to that
6426 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6428 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6429 * text3.C: use it to delete selections in some cases
6430 (bugs 441, 673, 702, 954).
6432 2003-07-14 André Pönitz <poenitz@gmx.net>
6434 * rowpainter.[Ch]: reduce interface
6436 2003-07-14 André Pönitz <poenitz@gmx.net>
6438 * BufferView_pimpl.C:
6439 * text2.C: adjust after removing unused BufferView * argument
6441 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6443 * text2.C (init): fix a crash fired on resize
6445 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6447 * buffer.[Ch]: added new closing signal
6448 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6449 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6450 BufferView::Pimpl via the closing the signal
6452 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6454 * buffer.[Ch]: take out all bv-related from buffer
6456 * BufferView_pimpl.[Ch]: connect to new signals
6457 * CutAndPaste.C: removed useless asserts
6458 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6461 * lyxfunc.C: moved view-related funciontality from vc here
6462 * paragraph.C: removed outdated comments
6465 2003-07-10 André Pönitz <poenitz@gmx.net>
6467 * BufferView_pimpl.C:
6471 * text2.C: remove InsetText::InnerCache, clean up consequences
6473 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6475 * ispell.C: fix two typos in error messages
6477 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6479 * Extend Note inset to other forms of annotation like Comment
6480 and Greyedout. Right button click gives dialog.
6482 Files modified or added (+):
6486 * ControlNote.[Ch] +
6488 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6489 frontends/controllers
6493 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6495 * aspell.C: add missing namespace lyx::support
6497 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6499 * BufferView.[Ch] (newFile): Add
6500 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6501 * LaTeX.[Ch] (message): added this signal and use it
6502 * buffer.[Ch] (busy, message): added these signals and use them
6503 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6507 * importer.C: use buffer signals instead of direct bv calling
6508 * lyx_cb.[Ch] (ShowMessage): removed
6511 * paragraph_funcs.C:
6512 * text2.C: use buffer signals
6514 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6516 * introduce namespace lyx::graphics
6518 2003-07-02 André Pönitz <poenitz@gmx.net>
6520 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6522 2003-07-01 André Pönitz <poenitz@gmx.net>
6529 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6530 text*.C to text_func.C
6532 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6534 * introduce namespace lyx::support
6536 2003-06-30 André Pönitz <poenitz@gmx.net>
6541 * text.C: re-enable --with-included-string
6543 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * textcursor.C: add <config.h>
6547 * text.C (getWord): remove const from word_location arg
6549 * lyxvc.C (getLogFile): fix const type order
6551 * lyxtext.h: remove const from word_location arg, add arg name
6553 * lyxlayout.h: currect type on labeltype.
6555 * importer.C: correct \file
6557 * converter.C (intToFormat): use std:: on ret val, ws changes
6559 * bufferlist.h: correct \file
6561 * buffer.C (makeLinuxDocFile): fix const type order
6562 (makeDocBookFile): ditto
6563 (fillWithBibKeys): use std:: on stdlib args.
6565 * CutAndPaste.C: fix authors.
6566 (availableSelections): use std:: on return vector
6568 2003-06-27 André Pönitz <poenitz@gmx.net>
6570 * BufferView_pimpl.C:
6571 * bufferview_funcs.C:
6579 * text3.C: remove LyXCursor::row_ member
6582 * text.C: rename fullRebreak() to partialRebreak() and implement
6583 a fullRebreak() that really bereks fully
6585 * textcursor.h: new struct for cursor-related data
6587 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6589 * lyx_main.C (LyX): get full path of document loaded on the
6592 2003-06-26 André Pönitz <poenitz@gmx.net>
6594 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6595 remove unused/broken operator>,<,>=.
6597 * text.C: remove only use of broken operator<= in an Assert().
6599 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6601 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6602 moved errorlist_.clear to showErrorList
6604 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6606 * converter.C (scanLog, runLaTeX):
6607 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6608 move the bv->showErrorList call to the callers
6609 * lyxfunc.C: i.e. here...
6611 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6612 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6613 namespace, the second to...
6614 * buffer_funcs (BufferFormat, parseErrors): added
6615 * errorlist.C (ErrorList(TeXErrors const &)): removed
6617 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6619 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6621 2003-06-24 "Garst R. Reese" <reese@isn.net>
6625 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6627 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6629 * version.C.in: change docversion to 1.4
6631 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6633 * buffer.C: fix a bug just introduced
6635 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6637 * buffer.[Ch]: added the parseError signal and use it, removed
6639 * BufferView.[Ch] (addError): moved to ...
6640 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6641 to the Buffer::parseError signal to catch (guess what) parse errors
6642 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6644 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6646 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6647 ability to create a buffer and to return an existing one from
6648 the list. Moved these functions to...
6649 * buffer_funcs.[Ch]: added
6650 * BufferView.[Ch] (loadLyXFile): added
6651 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6652 job removed from bufferlist::loadLyXFile.
6653 * buffer.C (setReadOnly): make it work without view
6654 (i.e added an if (users))
6656 2003-06-19 Angus Leeming <leeming@lyx.org>
6659 * LyXAction.C (init):
6660 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6661 with LFUN_DIALOG_SHOW <name> <data>.
6663 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6665 * CutAndPaste.C (availableSelections): small compilation fix for
6666 ancient (gcc 2.9x) compilers
6668 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6670 * text3.C (cursorNext): add tmp var
6672 * text2.C (updateCounters): for function calling out of for clause
6673 (replaceSelectionWithString): ditto
6674 (insertStringAsParagraphs): ditto
6675 (getColumnNearX): add tmp var
6676 (setCursorFromCoordinates): add tmp var
6677 (cursorDownParagraph): add tmp var
6678 (deleteEmptyParagraphMechanism): add tmp var
6680 * text.C (insertChar): add tmp var
6682 * rowpainter.C (paintDepthBar): add tmp var
6684 * CutAndPaste.C (availableSelections): potentially check all
6685 paragraphs in a cut to fill the shown strings.
6687 2003-06-18 André Pönitz <poenitz@gmx.net>
6689 * kbmap.[Ch]: use vector<> instead of list<>
6691 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6693 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6694 pasteSelection with index
6696 * text2.C (pasteSelection): modify, call pasteSelection with index
6698 * paragraph.C (asString): reimplement version with no interval to
6699 call the one with interval.
6701 * lyxtext.h: add index arg to pasteSelection
6703 * MenuBackend.C (MenuItem): handle PasteRecent
6704 (Menu::read::Menutags): add md_pasterecent
6706 (expandPasteRecent): new function
6709 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6711 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6713 (availableSelections): new function
6715 2003-06-17 Angus Leeming <leeming@lyx.org>
6717 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6719 2003-06-17 Angus Leeming <leeming@lyx.org>
6722 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6724 * lyxfunc.C (dispatch): invoke it.
6726 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6728 * iterators.C (operator++, ParPosition): reintroduce some
6729 const_cast for the benefit of older compilers.
6731 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6733 * text3.C (dispatch): do not modify clipboard when doing
6734 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6735 LFUN_DELETE_SKIP on a selection selection
6737 2003-06-16 André Pönitz <poenitz@gmx.net>
6743 * tabular.[Ch]: IU of clone() and getLabelList();
6745 2003-06-13 André Pönitz <poenitz@gmx.net>
6747 * tabular.h: compactification
6749 2003-06-12 André Pönitz <poenitz@gmx.net>
6753 * tabular_funcs.h: some renaming plus whitespace
6755 2003-06-12 André Pönitz <poenitz@gmx.net>
6758 * BufferView_pimpl.C:
6764 * toc.C: Return a Paragraph & for ParIterator::operator*()
6766 2003-06-11 John Levon <levon@movementarian.org>
6770 * ToolbarBackend.C: add "Toolbars" section and
6773 2003-06-10 Angus Leeming <leeming@lyx.org>
6776 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6778 * lyxfunc.C (dispatch): invoke it.
6780 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * main.C: protect <ios> with HAVE_IOS
6783 (main): protect sync_with_stdio with HAVE_IOS
6785 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6787 * text2.C (cutSelection): adjust
6788 (pasteSelection): adjust
6790 * messages.C: handle get of empty string
6792 * main.C (main): use sync_with_stdio(false)
6794 * lyxfunc.C (dispatch): adjust
6796 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6797 (WriteAs): remove unneeded BufferView arg.
6799 * bufferparams.h: use correct types on papersize, papersize2 and
6802 * bufferparams.C (readToken): adjust for type
6803 (writeLaTeX): add missing cases to switch.
6805 * bufferlist.C (quitWriteBuffer): adjust
6808 * buffer.C (asciiParagraph): remove some commented code.
6810 * CutAndPaste.C: remove current_view extern variable.
6811 (cutSelection): add BufferParams arg.
6812 (eraseSelection): add BufferParams arg.
6813 (pasteSelection): add Buffer const & arg
6815 2003-06-07 John Levon <levon@movementarian.org>
6818 * paragraph_funcs.C:
6819 * paragraph_pimpl.C:
6823 * paragraph.C: allow InsetERT to freely space lines,
6824 and some consolidation of code
6826 2003-06-06 José Matos <jamatos@fep.up.pt>
6828 * buffer.C (makeDocBookFile): fix bug #821
6830 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6832 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6834 2003-06-04 Angus Leeming <leeming@lyx.org>
6836 * buffer.C: bump format to 224.
6838 2003-06-05 André Pönitz <poenitz@gmx.net>
6840 * text2.C (redoParagraphs): remove two const_cast<>
6842 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6844 * ParagraphList.h: remove last remnants of NO_STD_LIST
6846 2003-06-03 Angus Leeming <leeming@lyx.org>
6848 * factory.C (createInset): small change to the way InsetExternal's params
6851 2003-06-04 André Pönitz <poenitz@gmx.net>
6853 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6855 * paragraph_pimpl.h:
6856 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6858 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6860 * undo_funcs.C: make some simple cases of undo work again
6862 2003-06-03 John Levon <levon@movementarian.org>
6864 * ispell.C: HPUX doesn't have sys/select.h
6867 2003-06-03 John Levon <levon@movementarian.org>
6869 * CutAndPaste.C: update tabular and include inset
6874 * paragraph.C: remove owningBuffer(), don't pass Buffer
6877 * factory.C: insetGraphicsParams changed
6879 2003-06-02 John Levon <levon@movementarian.org>
6885 * text3.C: remove insetparent
6887 2003-06-02 John Levon <levon@movementarian.org>
6890 * buffer.C: fix inset_iterator.end(), move out of line
6893 2003-06-01 John Levon <levon@movementarian.org>
6895 * text3.C: use a proper cut/paste when doing inset
6896 insert (from Jürgen Spitzmüller)
6898 2003-06-01 John Levon <levon@movementarian.org>
6900 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6902 2003-05-30 André Pönitz <poenitz@gmx.net>
6904 * rowpainter.C: unify second drawing phase
6906 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * trans_mgr.C: remove one case of current_view
6910 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6912 * paragraph_funcs.h: remove paragraph.h include
6914 * paragraph.h: delete NO_STD_LIST stuff
6916 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6918 * buffer.h: remove paragraph.h include
6920 * ParagraphList.C: delete file
6922 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6924 * toc.C (getTocList): adjust
6926 * paragraph_pimpl.C (validate): adjust
6928 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6930 * paragraph.C (Paragraph): adjust
6931 (getPositionOfInset): use const_iterator, adjust
6932 (bibitem): use const_iterator, adjust
6933 (setInsetOwner): adjust
6935 * iterators.C (operator++): adjust
6937 * InsetList.[Ch]: Replace selfmade iterator with standard
6938 vector::iterator also introduce const_iterator. Remove getPos,
6939 getInset and setInset from InsetTable. Adjust accordingly.
6941 * BufferView.C (lockInset): adjust
6942 (ChangeInsets): adjust
6944 * tabular.[Ch]: delete commented same_id functions
6946 2003-05-28 John Levon <levon@movementarian.org>
6948 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6950 2003-05-28 André Pönitz <poenitz@gmx.net>
6952 * metricsinfo.[Ch]: remove 'fullredraw' member
6954 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6956 * lyxtextclass.C (operator): remove caching.
6958 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * text2.C (cursorBottom): adjust
6963 (setCounter): use ParagraphList::find, adjust
6965 * text.C (workWidth): use ParagraphList::find, adjust
6967 * lyxcursor.C (LyXCursor): adjust
6969 * buffer.C (inset_iterator): adjust
6971 * ParagraphList.h: make iterator(value_type) private, make
6972 ParagraphList a friend of iterator.
6974 * ParagraphList.C (find): new function
6976 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6978 2003-05-27 André Pönitz <poenitz@gmx.net>
6980 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6982 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6984 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6986 2003-05-26 John Levon <levon@movementarian.org>
6988 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6990 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * remove same_id from function signatures, adjust.
6994 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6998 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7000 * paragraph.C (Paragraph): get rid of same_ids parameter
7002 * ParagraphList.C (insert): adjust
7005 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * paragraph_funcs.C (breakParagraph): adjust
7008 (breakParagraphConservative): adjust
7010 * buffer.C (readParagraph): adjust
7012 * ParagraphList.C (insert): take a reference instead of a pointer
7015 * paragraph.[Ch] (id): new function
7017 * bufferlist.C (newFile): adjust
7019 * ParagraphList.C (ParagraphList): adjust
7021 (push_back): take a reference instead of a pointer.
7023 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7025 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7028 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7029 set else use old code.
7031 * ParagraphList.C: remove all NO_NEXT code and only compile this
7032 code of NO_STD_LIST is set.
7034 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7036 * BufferView_pimpl.C:
7046 * graphics/GraphicsConverter.C:
7047 * graphics/PreviewLoader.C: header adjustment
7049 2003-05-23 Angus Leeming <leeming@lyx.org>
7051 * LaTeXFeatures.[Ch] (useBabel): new method.
7052 * bufferparams.C (writeLaTeX): use it.
7054 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7056 * ParagraphList.h (set): remove unused function.
7058 2003-05-23 André Pönitz <poenitz@gmx.net>
7061 * BufferView_pimpl.C:
7065 * undo_funcs.C: setUndo reworked
7067 * iterators.[Ch]: add access to topmost ParagraphList
7069 * lyxtext.[Ch] (workWidth): add a const
7071 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7073 * texrow.[Ch] (increasePos): remove function
7074 * exporter.C (export): removed unused var and outdated comment
7076 2003-05-23 Angus Leeming <leeming@lyx.org>
7078 * latexrunparams.h: rename fragile as moving_arg.
7079 * paragraph.C (simpleTeXOnePar): ditto.
7080 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7082 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7086 (textUndoOrRedo): comment out a currently unused var.
7088 * paragraph.h (NO_NEXT): enable NO_NEXT
7090 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7092 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7094 * exporter.C (Export): adjust for removeAutoInsets removal.
7096 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7098 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7100 * BufferView.[Ch] (removeAutoInsets): delete function
7102 2003-05-22 Angus Leeming <leeming@lyx.org>
7104 * latexrunparams.h: add a free_spacing variable.
7106 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7107 to pass moving_arg, as the data is stored in runparams.fragile.
7109 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7110 to Inset::latexOptional or to simpleTeXOnePar.
7112 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7113 free_spacing arg to Inset::latexOptional.
7115 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7118 2003-05-22 Angus Leeming <leeming@lyx.org>
7120 * latexrunparams.h: add fragile and use_babel variables.
7122 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7123 * buffer.C (makeLaTeXFile): store this returned value in
7124 runparams.use_babel, thus passing it to the inset::latex methods.
7126 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7127 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7129 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7130 longer has a fragile arg, as it is stored in runparams.fragile.
7132 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7133 moving_arg parameter as the data is stored in runparams.fragile.
7135 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7136 a fragile parameter as the data is stored in runparams.fragile.
7138 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7140 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7142 2003-05-22 Angus Leeming <leeming@lyx.org>
7144 * latexrunparams.h: add a 'bool nice' which defaults to false.
7146 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7147 now encapsulated within runparams.
7149 * bufferlist.C (updateIncludedTeXfiles):
7150 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7152 2003-05-22 Angus Leeming <leeming@lyx.org>
7154 * latexrunparams.h: new file containing struct LatexRunParams.
7155 * Makefile.am: add new file.
7157 * LaTeX.[Ch] (c-tor, run):
7158 * buffer.[Ch] (makeLaTeXFile):
7159 * bufferlist.[Ch] (updateIncludedTeXfiles):
7160 * converter.C (convert, scanLog):
7161 * converter.[Ch] (runLaTeX):
7162 * exporter.C (Export):
7163 * paragraph.[Ch] (simpleTeXOnePar):
7164 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7165 * paragraph_funcs.[Ch] (latexParagraphs):
7166 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7167 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7168 pass around a LatexRunParams parameter.
7170 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7172 * paragraph.[Ch]: remove unused constructor
7174 * ParagraphList.C (erase): new function, taking two iterators
7176 2003-05-22 André Pönitz <poenitz@gmx.net>
7178 * undo_funcs.C: remove duplicated code
7180 * iterator.[Ch]: operator=
7182 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7184 * tabular.C (SetMultiColumn): ws changes
7186 * rowpainter.C (paintFirst): get rid of a ->previous
7188 * lyx_cb.C (getPossibleLabel): parlist simplification
7190 * BufferView.C (ChangeInsets): simplify slightly.
7192 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7194 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7195 * lfuns.h: new LFUN_SPACE
7196 * lyxfunc.C: protected space has a new lfun
7197 * paragraph_funcs.C: read new space insets
7199 * factory.C: handle new space insets
7201 2003-05-22 André Pönitz <poenitz@gmx.net>
7204 * BufferView_pimpl.C:
7207 * undo_funcs.C: return a ParIterator from getParFromID.
7209 * iterators.[Ch]: add two const's
7211 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7213 * toc.C (getTocList): adjust
7215 * iterators.[Ch]: rework for parlist
7217 * buffer.C (par_iterator_begin): adjust
7218 (par_iterator_end): adjust
7220 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7222 * BufferView.C (removeAutoInsets): adjust
7223 (ChangeInsets): adjust
7225 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7227 * text.C (top_y): fix bug 1110
7229 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7231 * errorlist.[Ch]: added
7234 * BufferView_pimpl.C:
7235 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7238 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7240 * Makefile.am: ensure that lyx is relinked upon changes to the
7241 various "convenience" libs.
7243 2003-05-20 Angus Leeming <leeming@lyx.org>
7245 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7246 files are compiled in alphabetical order again.
7248 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7250 2003-05-19 Angus Leeming <leeming@lyx.org>
7252 * gettext.[Ch]: remove "char const * _(char const *)".
7254 2003-05-19 André Pönitz <poenitz@gmx.net>
7256 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7265 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7267 2003-05-19 André Pönitz <poenitz@gmx.net>
7271 * lyxtextclass.[Ch]:
7273 * paragraph_funcs.[Ch]:
7275 * text3.C: more insetenv work
7277 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7279 * ParagraphParameters.C (params2string): small bug fixed
7281 2003-05-16 André Pönitz <poenitz@gmx.net>
7284 * bufferview_funcs.C: patch from Kornel Benko to prevent
7285 crash when _(...) is called twice in a statement
7287 2003-05-16 André Pönitz <poenitz@gmx.net>
7294 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7296 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7298 * lyx_main.C (init): remove spurious static_cast
7300 2003-05-14 André Pönitz <poenitz@gmx.net>
7302 * BufferView.C: fix format string
7304 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7306 * BufferView.[Ch] (insertErrors): removed
7307 * BufferView.[Ch] (showErrorList): added
7308 * buffer.C (runChkTeX):
7309 * converter.C (scanLog): call showErrorList instead of inserterrors
7311 2003-05-13 André Pönitz <poenitz@gmx.net>
7313 * BufferView_pimpl.C:
7315 * bufferview_func.C:
7322 * tabular_funcs.h: tostr() from its own header
7324 * ParagraphParameters.C:
7329 * text3.C: STRCONV()
7331 2003-05-12 André Pönitz <poenitz@gmx.net>
7334 * BufferView_pimpl.C:
7338 * ParagraphParameters.C:
7342 * bufferview_funcs.C:
7355 * paragraph_funcs.C:
7359 * text3.C: boost::format -> bformat all over the place
7362 2003-05-09 André Pönitz <poenitz@gmx.net>
7364 * LColor.[Ch]: Pimpl the #include <map> away
7366 2003-05-09 John Levon <levon@movementarian.org>
7368 * bufferlist.C: never remove emergency saves
7370 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * Makefile.am: better lib building
7374 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7376 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7378 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7379 (simpleTeXSpecialChars): adjust
7380 (simpleTeXSpecialChars): adjust
7381 * paragraph.C (simpleTeXOnePar): adjust
7382 * buffer.C (makeLaTeXFile): adjust
7384 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7386 * text2.C (changeDepth): parlist cleanup
7387 (getColumnNearX): ditto
7389 * rowpainter.C (getLabelFont): parlist cleanup
7391 * bufferlist.C (newFile): parlist cleanup
7393 * CutAndPaste.C (eraseSelection): parlist cleanup
7395 * BufferView_pimpl.C (trackChanges): parlist cleanup
7398 * BufferView.C (lockInset): parlist cleanup.
7399 (ChangeInsets): ditto
7401 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7403 * CutAndPaste.h: Update file header.
7405 * CutAndPaste.C: Update file header.
7406 Store the parts cut out of the Document in a limited_stack.
7407 (copySelection): adjust
7408 (pasteSelection): new function, takes the index in the limited stack.
7409 (nrOfParagraphs): adjust
7410 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7411 simplify error inset insertion.
7412 (checkPastePossible): adjust
7414 2003-05-06 John Levon <levon@movementarian.org>
7416 * text2.C: don't cast wrap inset to float
7418 2003-05-05 André Pönitz <poenitz@gmx.net>
7421 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7423 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7424 few naked Paragraph *.
7426 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7428 * bufferparams.C: Output warning if a document with missing
7429 TeX document class is loaded
7430 * exporter.C: Disable TeX exports if the document class is missing
7433 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7434 isTeXClassAvailable()
7436 2003-05-03 John Levon <levon@movementarian.org>
7439 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7440 explicit cursor show/hide
7442 * BufferView_pimpl.h:
7443 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7444 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7446 * lyxfunc.C: hide cursor before dispatching.
7451 * text3.C: remove explicit cursor hides
7453 2003-05-02 André Pönitz <poenitz@gmx.net>
7455 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7458 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7461 * text2.C: tiny whitespace
7463 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * undo_funcs.C: almost only ws changes.
7467 * ParagraphList.C (splice): just return if pl is empty.
7469 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * ParagraphList.C (splice): new function.
7473 * CutAndPaste.C (pasteSelection): use it
7475 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7477 * CutAndPaste.C (pasteSelection): remove the last next and
7478 previous from this file.
7480 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * CutAndPaste.C (pasteSelection): more clean up, user proper
7483 ParagraphList functions for pasteing.
7485 * ParagraphList.C (insert): new function, three arg insert
7487 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7489 * ParagraphList.C (insert): new function, three arg insert
7491 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7494 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7498 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7502 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7505 (copySelection): clean up a bit.
7506 (pasteSelection): use make_pair
7508 * ParagraphList.C (ParagraphList): implement copy constructor
7509 (operator=): implement, base on copy constructor.
7512 * paragraph.C (erase): return a bool
7514 * paragraph_pimpl.C (erasePos): remove function, move contents...
7515 (erase): ... here. Return a bool.
7516 (erase): call erase instead of erasePos.
7518 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7520 * ParagraphList.h: define PitPosPair
7521 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7522 ParagraphList, fix a bug on pasting multiple pars
7523 * text2.C: change interface to C&P
7525 2003-04-30 André Pönitz <poenitz@gmx.net>
7527 * undo_func.C: revert part of yesterday's patch 2
7529 2003-04-30 John Levon <levon@movementarian.org>
7531 * LColor.C: s/tabular/table/
7533 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * text3.C (dispatch): do not convert iterator -> pointer
7536 * undo_funcs.C (setCursorParUndo): ditto
7537 * text_funcs.C (transposeChars): ditto
7539 * text2.C (setLayout): ws changes only
7541 * text.C (breakParagraph): do not convert iterator -> pointer
7543 (acceptChange): ditto
7544 (rejectChange): ditto
7549 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7552 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7554 * text3.C (gotoInset): YABG (yet another bad getChar)
7556 2003-04-29 André Pönitz <poenitz@gmx.net>
7558 * paragraph.h: make operator= private unimplemented as long as
7561 * ParagraphList.C: whitespace
7564 * paragraph_pimpl.[Ch]:
7565 * paragraph_funcs.C:
7567 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7570 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7572 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7574 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7575 * paragraph.[Ch] (erase):
7576 * paragraph_pimpl.[Ch] (erase): change return type and value
7577 * text2.C (cutSelection): some rework
7579 2003-04-28 John Levon <levon@movementarian.org>
7581 * bufferlist.C: changes for unsaved changes dialog
7583 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7585 * bufferlist.C (newFile): set language (messages_) for new
7588 * buffer.C (readFile): ws changes only.
7590 2003-04-28 André Pönitz <poenitz@gmx.net>
7595 * BufferView_pimpl.C:
7596 * BufferView.C: getParFromID related ParagraphList::iterator changes
7598 2003-04-28 André Pönitz <poenitz@gmx.net>
7600 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7603 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * messages.C: remove one more localedir class variable.
7607 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * messages.C (getLocaleDir): singleton generation function
7611 (Messages): add a default constructor.
7613 * main.C (main): do not setup localedir here, do not call
7616 * gettext.C (_): use it.
7617 (gettext_init): delete funciton
7619 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7621 * gettext.C (getLyXMessages): new singleton generating function.
7623 * buffer.C (updateDocLang): adjust
7625 * Makefile.am (messages.o): add target
7626 (main.o): remove target
7628 2003-04-27 John Levon <levon@movementarian.org>
7633 * lyxvc.C: specify cancel button in Alert::prompt
7635 2003-04-26 John Levon <levon@movementarian.org>
7640 * LyXAction.C: add LFUN_INSET_SETTINGS
7642 * lyxfunc.C: don't enable tabular-feature when there's
7643 just any locking inset
7645 2003-04-26 John Levon <levon@movementarian.org>
7647 * bufferlist.C: re-add Cancel to buffer close question
7649 * lyxfunc.C: fix import UI a bit
7651 2003-04-25 John Levon <levon@movementarian.org>
7653 * gettext.C: remove the broken asserts for now
7655 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * messages.C: make case where setlocale cannot comply work better.
7659 * buffer.C (updateDocLang): new function
7660 (changeLanguage): use it
7663 * text2.C (setCounter): use B_ a bit.
7665 * lyxlayout.C (Read): be sure to trim the label strings.
7667 * messages.C (Messages): fix typo in comment
7669 * buffer.C (readFile): set message_ after file is loaded.
7670 (makeDocBookFile): remove double return
7671 (changeLanguage): reset message_ upon language change.
7672 (B_): new func, use this to get translated buffer strings.
7674 * main.C: add myself and Jean Marc as authors.
7676 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * messages.[hC]: pimplify Messages, and three different pimpls to be
7679 used in different circumstances.
7681 * gettext.[Ch]: change for use with new message code.
7683 2003-04-24 André Pönitz <poenitz@gmx.net>
7685 * factory.C: support for eqref
7687 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7689 * messages.[Ch]: add missing char
7691 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7693 * messages.[Ch]: New files
7695 2003-04-18 John Levon <levon@movementarian.org>
7699 * BufferView_pimpl.C:
7703 * text2.C: remove layout-copy/paste (bug 778)
7705 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7707 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7709 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7711 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7712 if they succeed. Act accordingly.
7714 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7716 * text2.C (setCharFont): adjust
7717 (setCounter): adjust
7718 (insertStringAsLines): adjust
7720 * text.C (leftMargin): adjust
7721 (setHeightOfRow): adjust
7723 * rowpainter.C (paintFirst): adjust
7726 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7728 (isFirstInSequence): ditto
7729 (getEndLabel): ditto
7732 * paragraph.C (getParLanguage): comment out some hard stuff.
7734 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7736 (simpleDocBookOnePar): ditto
7737 (makeDocBookFile): use ParagraphList::iterator
7739 * CutAndPaste.C (pasteSelection): adjust
7741 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7743 * text2.C (getFont): adjust
7744 (getLayoutFont): adjust
7745 (getLabelFont): adjust
7747 * paragraph_funcs.C (TeXOnePar): adjust
7749 * buffer.C (simpleLinuxDocOnePar): adjust
7750 (simpleDocBookOnePar): adjust
7752 * CutAndPaste.C (pasteSelection): adjust
7754 * BufferView.C (getEncoding): adjust
7756 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7758 2003-04-16 John Levon <levon@movementarian.org>
7760 * lyxfind.C: use parlist stuff for search/changes
7762 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7766 * text2.C (deleteEmptyParagraphMechanism): adjust
7768 * text2.[Ch] (ownerParagraph): delete func (both of them
7770 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7774 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7776 * ParagraphList.C: prepare for NO_NEXT
7778 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7780 * text2.C (getFont): adjust
7781 (getLayoutFont): adjust
7782 (getLabelFont): adjust
7784 * paragraph.C (getFont): adjust
7785 (getLabelFont): adjust
7786 (getLayoutFont): adjust
7788 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7790 2003-04-15 John Levon <levon@movementarian.org>
7794 * lyx_main.C: handle Include in .ui files
7796 2003-04-15 John Levon <levon@movementarian.org>
7798 * MenuBackend.C: make the doc files length shorter
7801 * ToolbarBackend.C: handle toolbar placement flags,
7804 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7809 * paragraph_funcs.C (TeXOnePar): adjust
7811 * paragraph.C (getLabelFont): add outerfont arg, adjust
7812 (getLayoutFont): ditto
7813 (simpleTeXOnePar): adjust
7815 * paragraph_pimpl.C (realizeFont): delete func
7817 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7819 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7820 row argument, constify cur argument.
7822 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * text2.C (getFont): adjust
7825 (getLayoutFont): adjust
7826 (getLabelFont): adjust
7828 * paragraph_funcs.C (TeXOnePar): adjust
7829 (outerFont): new func...
7830 (realizeFont): ...moved out from here, changed this to facilitate
7833 * paragraph.C (getFont): take outerfont as arg, adjust
7834 (simpleTeXOnePar): add outerfont arg, adjust
7836 * buffer.C (simpleLinuxDocOnePar): adjust
7837 (simpleDocBookOnePar): adjust
7839 * CutAndPaste.C (pasteSelection): adjust
7841 * BufferView.C (getEncoding): adjust
7843 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7845 * text2.C (setCharFont): adjust
7846 (setCounter): adjust
7848 * text.C (leftMargin): adjust
7849 (setHeightOfRow): adjust
7851 * rowpainter.C (paintFirst): adjust
7854 * paragraph_pimpl.C (realizeFont): adjust
7856 * paragraph.C (isFirstInSequence): move from here...
7857 * paragraph_funcs.C (isFirstInSequence): ...to here
7859 * paragraph.C (outerHook): move from here...
7860 * paragraph_funcs.C (outerHook): ...to here
7862 * paragraph.C (depthHook): move from here...
7863 * paragraph_funcs.C (depthHook): ...to here
7865 * paragraph.C (getEndLabel): move from here...
7866 * paragraph_funcs.C (getEndLabel): ...to here
7868 * text2.C (realizeFont): move from here...
7869 * paragraph_funcs.C (realizeFont): ...to here
7871 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7873 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7875 2003-04-14 Angus Leeming <leeming@lyx.org>
7877 * LColor.[Ch]: scrap LColor mathcursor.
7879 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * lyxlex.[Ch] (text): delete function
7882 * trans.C (Load): adjust
7883 * paragraph_funcs.C (readParToken): adjust
7885 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7887 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7888 vector<char> instead of a char[].
7890 * lyxlex_pimpl.C (getString): adjust
7892 (lex): use getString
7896 * lyxlex.C (text): use pimpl_->getString()
7900 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7903 (makeFontEntriesLayoutSpecific): temp var for par.size()
7904 (setLayout): temp var for ownerParagraphs().end()
7905 (fullRebreak): temp var for rows().end()
7906 (selectionAsString): temp var for boost::next(startpit), realize
7907 that the while really is a regular for loop.
7908 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7909 setCursor in one place.
7910 (setParagraph): temp vr for ownerParagraphs().end()
7911 (updateCounters): make the while loop a for loop
7912 (cutSelection): temp var for ownerParagraphs().end()
7913 (updateInset): make the do {} while() a regular for loop
7914 (getCursorX): use temp vars
7915 (setCurrentFont): use temp vars
7916 (getColumnNearX): use temp vars
7918 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7920 * text.C (transformChar): use temp var for getChar
7921 (computeBidiTables): use temp var for row->par()
7922 (fill): move temp vars for row->par() and pit->layout() earlier in
7924 (labelFill): use temp var for row->par()
7925 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7926 asc and desc, realize that pit never changes and that firstpit is
7927 just a duplicate and not needed. Exchange rit->par() with pit in a
7929 (breakAgain): use a temp var for boost::next(rit)
7930 (breakAgainOneRow): ditto
7931 (breakParagraph): use a temp var for rows().begin()
7932 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7933 (cursorRightOneWord): use temp var for cursor.par() and
7934 cursor.pos(), remove usage of tmpcursor.
7935 (cursorLeftOneWord): use temp var for cursor.par() and
7936 cursor.pos() only set cur at end of function.
7938 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7940 * text.C, text2.C: exchange all usage of Paragraph::next with
7941 boost::next(ParagraphList::iterator)
7943 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7945 * text2.C (cursorTop): simplify implementation
7946 (cursorBottom): ditto
7947 (setParagraph): use ParagraphList::iterator
7948 (setCurrentFont): adjust
7949 (getColumnNearX): adjust
7950 (cursorRight): adjust
7951 (cursorLeft): remove usage of Paragraph::previous
7952 (cursorUpParagraph): ditto
7953 (deleteEmptyParagraphMechanism): slight cleanup
7955 * text.C (isBoundary): take a Paragraph const & instead of a
7957 (addressBreakPoint): ditto
7958 (leftMargin): remove usage of Paragraph::previous.
7959 (setHeightOfRow): ditto
7960 (cursorLeftOneWord): ditto
7961 (selectNextWordToSpellcheck): ditto
7964 (breakParagraph): remove one usage of Paragraph::next
7965 (redoParagraph): ditto
7966 (acceptChange): ditto
7967 (insertChar): adjust
7968 (rowBreakPoint): adjust
7970 * bufferview_funcs.C (toggleAndShow): adjust
7972 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7974 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7975 methods to access it.
7977 * text.C: Added updateRowPositions to compute all row positions.
7978 Make top_y and getRowNearY() to use the cached y position
7980 2003-04-11 John Levon <levon@movementarian.org>
7982 * text.C (rowBreakPoint): reintroduce the labelEnd
7983 checks, code copied from the row fill stuff. Deep voodoo.
7985 * text.C (fill): add a comment and debugging for the
7988 2003-04-11 John Levon <levon@movementarian.org>
7990 * text.C: make sure fullrow insets get wrapped to the next line,
7991 even when they're in a manual label
7993 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7995 * text2.C (insertParagraph): make it take ParagraphList::iterator
7997 (setLayout): make it return ParagraphList::iterator
7998 (redoParagraphs): ditto
8000 (checkParagraph): ditto
8002 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8004 * text2.C: adjust several funcs.
8005 (realizeFont): take a ParagraphList::iterator as arg.
8006 (getLayoutFont): ditto
8007 (getLabelFont): ditto
8008 (setCharFont): ditto
8010 * text.C: adjust several funcs.
8012 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8014 * text.C (selectNextWordToSpellcheck): don't accidentally
8017 2003-04-10 John Levon <levon@movementarian.org>
8019 * ToolbarBackend.C (getIcon): special handling for
8022 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8024 * text2.C (cursorRight): a getChar assert fixed
8026 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * text2.C (getFont): change to take a ParagraphList::iterator
8029 instead of Paragraph*
8030 Adjust several functions.
8032 * text.C (transformChar): change to take a ParagraphList::iterator
8033 instead of Paragraph*
8034 (singleWidth): ditto
8035 Adjust several functions.
8037 * rowpainter.C: adjust several functions
8038 * rowpainter.h:store a ParagraphList::iterator and not a
8042 2003-04-09 John Levon <levon@movementarian.org>
8047 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8048 and the "help" bits as well
8050 2003-04-09 John Levon <levon@movementarian.org>
8053 * ToolbarBackend.C: allow multiple toolbars
8055 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8057 * undo_funcs.C (setCursorParUndo): adjust
8059 * text_funcs.C (transposeChars): adjust
8061 * text3.C (gotoNextInset): adjust
8064 * text2.C (setLayout): adjust
8065 (changeDepth): adjust
8067 (redoParagraphs): adjust
8068 (selectionAsString): adjust
8069 (setParagraph): adjust
8070 (insertInset): adjust
8071 (cutSelection): adjust
8072 (copySelection): adjust
8073 (pasteSelection): adjust
8074 (insertStringAsLines): adjust
8075 (updateInset): adjust
8076 (setCursor): change to take a ParagraphList::iterator parameter
8077 (setCursorIntern): change to take a ParagraphList::iterator parameter
8078 (setCurrentFont): adjust
8079 (cursorLeft): adjust
8080 (cursorRight): adjust
8081 (deleteEmptyParagraphMechanism): adjust
8083 * text.C (breakParagraph): adjust
8084 (insertChar): adjust
8085 (acceptChange): adjust
8086 (rejectChange): adjust
8087 (selectNextWordToSpellcheck): adjust
8088 (changeCase): adjust
8092 * lyxfind.C (SearchForward): adjust
8093 (SearchBackward): adjust
8094 (nextChange): adjust
8096 * lyxcursor.C (par): adjust
8098 * lyxcursor.h: store a ParagraphList::iterator instead of a
8101 * lyx_cb.C (getPossibleLabel): adjust
8103 * bufferview_funcs.C (toggleAndShow): adjust
8105 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8108 * BufferView.C (removeAutoInsets): adjust
8109 (lockedInsetStoreUndo): adjust
8111 2003-04-09 John Levon <levon@movementarian.org>
8113 * ToolbarBackend.C: try icon without argument
8114 if with argument fails
8116 2003-04-08 John Levon <levon@movementarian.org>
8119 * ToolbarBackend.C: add getIcon(), handle tooltip,
8120 and change from "Icon" to "Item".
8122 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8124 * BufferView.C (lockInset): another bad getchar crunched
8126 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8128 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8131 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8133 * lyxfind.C (searchForward, searchBackwards): bug 782
8135 2003-04-07 John Levon <levon@movementarian.org>
8137 * paragraph.C: remove dead comment
8139 * text.C: remove troublesome depth-fiddling code
8140 in leftMargin() and rightMargin() (bug 1017)
8142 * text.C: fix breaking of rows in nested lists
8145 * text2.C (updateCounters): fix up depth values
8148 2003-04-07 John Levon <levon@movementarian.org>
8150 * BufferView_pimpl.C: clear message when doc finishes resizing,
8151 and after a mouse event
8153 * lyxfunc.C: clear message after exiting inset
8155 2003-04-07 John Levon <levon@movementarian.org>
8157 * bufferview_funcs.C: show math status not outside
8158 status in the statusbar
8160 2003-04-07 John Levon <levon@movementarian.org>
8162 * lyxfunc.C: note status changed after a depth change
8164 2003-04-04 Angus Leeming <leeming@lyx.org>
8166 * LaTeX.h: move AuxInfo operator==, != out of line.
8167 Remove LaTeX virtual destructor; nothing derives from it.
8168 Move operator()() out of public area and rename it startscript().
8169 Change protected for private.
8171 2003-04-04 Angus Leeming <leeming@lyx.org>
8174 * text2.C: remove unneeded #includes.
8176 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8178 * text2.C (dEPM): fix the heigth of the next row
8180 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8182 * text.C: squashed an invalid getChar requester + some ws changes
8184 2003-04-03 John Levon <levon@movementarian.org>
8186 * bufferview_funcs.h:
8187 * bufferview_funcs.C:
8190 * text2.C: make getStatus work for the env depth lfuns
8192 2003-04-03 John Levon <levon@movementarian.org>
8194 * bufferview_funcs.h:
8195 * bufferview_funcs.C:
8198 * text2.C: parlistize decDepth(), by merging it with incDepth()
8200 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * lyxrow.h: store a ParagraphList::iterator instead of a
8203 Paragraph* and adjust other class functions to suit.
8205 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8208 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8210 * text2.C (setCursor): do not anchor to cursor row for the time being
8212 2003-04-02 John Levon <levon@movementarian.org>
8219 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8221 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8223 * paragraph.h: make ParagraphList and ParagraphList::iterator
8224 friends of Paragraph.
8226 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8228 * ParagraphList.C: Use the private next_ and previous_ from
8231 2003-04-01 John Levon <levon@movementarian.org>
8235 * Makefile.am: rename, remove defaults gunk
8238 * MenuBackend.C: remove defaults gunk
8241 * Languages.C: remove defaults gunk
8244 * lyx_main.C: error out if files couldn't be found.
8246 2003-04-02 John Levon <levon@movementarian.org>
8248 * text2.C: make incDepth() use parlist
8250 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * undo_funcs.C (firstUndoParagraph): adjust
8254 * text3.C (gotoInset): adjust
8255 (dispatch): adjust, and rewrite loop.
8257 * text2.C (init): adjust, and rewrite loop.
8258 (redoParagraphs): adjust
8259 (updateInset): adjust, and rewrite loop.
8260 (deleteEmptyParagraphMechanism): adjust
8262 * tabular.C (LyXTabular): adjust
8263 (SetMultiColumn): adjust
8266 * lyxtext.[Ch] (ownerParagraph): delete function
8267 (ownerParagraphs): new function returns a ParagraphList.
8269 * BufferView.C (removeAutoInsets): adjust
8270 (insertErrors): adjust
8271 (setCursorFromRow): adjust
8273 2003-04-01 Angus Leeming <leeming@lyx.org>
8275 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8278 2003-04-02 John Levon <levon@movementarian.org>
8284 * text_funcs.C: make transposeChars a free function
8286 * lyxrow_funcs.C: remove wrong comment
8288 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8291 * rowpainter.C: adjust
8296 * lyxrow_funcs. [Ch]: new files
8298 * lyxrow.[Ch]: remove next and previous pointers
8299 (next,previous): remove accessor functions
8300 (isParEnd): move to lyxrow_funcs
8301 (lastPos): move to lyxrow_funcs
8302 (nextRowIsAllInset): move to lyxrow_funcs
8303 (lastPrintablePos): move to lyxrow_funcs
8304 (numberOfSeparators): move to lyxrow_funcs
8305 (numberOfHfills): move to lyxrow_funcs
8306 (numberOfLabelHfills): move to lyxrow_funcs
8307 (hfillExpansion): move to lyxrow_funcs
8311 * bufferview_funcs.C (toggleAndShow): adjust
8313 * RowList.h: Remove class RowList from file leave just a
8316 * RowList.C: delete file
8318 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8321 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8323 * text3.C (cursorPrevious): adjust
8324 (cursorNext): adjust
8327 * text2.C (redoHeightOfParagraph): adjust
8328 (redoDrawingOfParagraph): adjust
8331 * text.C (breakParagraph): adjust
8332 (insertChar): adjust
8335 * rowpainter.C (RowPainter): adjust
8336 (leftMargin): simplify and adjust
8337 (most rowpainter functions): adjust.
8339 * rowpainter.h: store the row as RowList::iterator not as Row*
8341 * lyxcursor.C (row): taka RowList::iterator as arg
8344 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8347 2003-04-01 Angus Leeming <leeming@lyx.org>
8349 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8350 stuff like bool Bool.
8352 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8354 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8357 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8359 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8362 * lyxtext.h (rows): drop one version and leve a const variant that
8363 returns a RowList::iterator.
8365 2003-03-31 Angus Leeming <leeming@lyx.org>
8367 * text.C (fill): ensure that the signature is the same as that in the
8370 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8372 * text2.C (redoParagraphs): adjust
8373 (updateCounters): adjust
8374 (checkParagraph): adjust
8375 (getColumnNearX): adjust and reformat a bit.
8377 * text.C (top_y): adjust
8379 (leftMargin): adjust
8380 (prepareToPrint): adjust
8382 (getRowNearY): adjust
8384 * lyxtext.h: make rowlist_ mutable.
8386 * RowList.h: add const_iterator
8387 * RowList.C: adjust for RowList::const_iterator.
8389 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8392 2003-03-31 John Levon <levon@movementarian.org>
8395 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8397 * lyx_main.C: set default fonts from using lyx_gui funcs
8399 * exporter.C: pdf_mode moved from lyxrc
8402 * lyxfunc.C: changes from above
8404 2003-03-31 John Levon <levon@movementarian.org>
8406 * lyx_main.C: fix to the last fix
8408 2003-03-31 John Levon <levon@movementarian.org>
8410 * bufferlist.C: "Load original" -> "Load Original"
8416 * format.C: more Alert cleanups
8418 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8420 * text2.C (removeParagraph): make it take a RowList::iterator as
8422 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8423 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8425 * text.C (anchor_row): make it take a RowList::iterator as arg,
8427 (computeBidiTables): make it take a const reference to Row instead
8428 of Row pointer, adjust.
8429 (leftMargin): make it take a RowList::iterator as arg, adjust.
8430 (rowBreakPoint): adjust
8431 (breakAgainOneRow): make it take a RowList::iterator as arg,
8433 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8435 * bufferview_funcs.C (toggleAndShow): adjust
8437 2003-03-30 John Levon <levon@movementarian.org>
8441 * boost-inst.C: moved to support
8443 * several files: changes as a result
8445 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8447 * text2.C (LyXText): adjust.
8449 (removeRow): make it take a RowList::iterator as arg, adjust.
8450 (fullRebreak): adjust
8451 (deleteEmptyParagraphMechanism): adjust
8452 (clearPaint): adjust
8455 * text.C (top_y): adjust
8456 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8457 (breakAgain): make it take a RowList::iterator as arg, adjust.
8458 (breakParagraph): adjust
8459 (insertChar): adjust
8462 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8463 need_break_row, and refresh_row.
8465 * text3.C (dispatch): adjust
8467 * text2.C (checkParagraph): adjust
8469 (setCursorFromCoordinates): adjust
8471 * text.C (top_y): adjust
8473 (getRow): make it return a RowList::iterator, adjust
8474 (getRowNearY): make it return a RowList::iterator, adjust
8476 * text2.C (init): adjust
8477 (insertRow): remove function
8478 (insertParagraph): adjust
8479 (redoParagraphs): adjust
8480 (fullRebreak): adjust
8481 (updateCounters): adjust
8483 * text.C (top_y): rewrite to use RowList iterators.
8485 (setHeightOfRow): rewrite to sue RowList iterators.
8486 (appendParagraph): adjust
8487 (breakAgain): adjust
8488 (breakAgainOneRow): adjust
8489 (breakParagraph): adjust
8491 (getRowNearY): adjust, and remove commented code.
8493 * lyxtext.h (firstRow): delete function
8494 (lastRow): delete function
8495 (rows): new function (const and non-const versions.)
8496 (insertRow): delete function
8498 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8500 2003-03-29 John Levon <levon@movementarian.org>
8502 * BufferView_pimpl.C: always update scrollbar top
8503 because pasting text when we're anchored could mean we
8504 miss an update altogether
8506 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * text2.C (init): use rowlist_.end() and not 0.
8509 (insertRow): change to take a RowList::iterator as arg, adjust
8511 (insertParagraph): change to take a RowList::iterator as arg,
8513 (redoParagraphs): remove some debug msgs.
8515 * text.C (appendParagraph): change to take a RowList::iterator
8516 arg, adjust for this.
8517 (breakAgain): add an assert
8518 (breakAgainOneRow): ditto
8520 2003-03-29 John Levon <levon@movementarian.org>
8522 * text2.C: do not clear selection after inc/decDepth
8525 2003-03-29 John Levon <levon@movementarian.org>
8528 * buffer.C: fix broken strerrors according to Lars
8530 2003-03-29 John Levon <levon@movementarian.org>
8532 * converters.C: more Alert cleanups
8534 2003-03-29 John Levon <levon@movementarian.org>
8536 * bufferview_funcs.C: remove pointless Alert
8538 * buffer.C: fix confusing error message when
8539 a template is chmoded 000
8541 2003-03-29 John Levon <levon@movementarian.org>
8545 * BufferView_pimpl.C: Alert fixes
8549 * tabular-old.C: remove unused table compat reading
8551 2003-03-29 John Levon <levon@movementarian.org>
8556 * lyx_cb.C: more Alert cleanups
8558 * lyxfunc.C: don't allow chktex if not latex document
8560 2003-03-29 John Levon <levon@movementarian.org>
8564 * buffer.C: warnings pushed down from support/,
8567 2003-03-29 John Levon <levon@movementarian.org>
8569 * lyxfunc.C: safety check for C-r (revert)
8571 2003-03-29 John Levon <levon@movementarian.org>
8574 * bufferlist.C: several UI fixes using Alert::prompt.
8575 Fix the pointless looping quit code. Fix stupid revert
8580 * lyx_cb.C: use Alert::prompt
8582 * lyx_main.C: remove a silly question
8584 * lyxfunc.C: remove a couple of silly questions,
8587 2003-03-28 John Levon <levon@movementarian.org>
8589 * text2.C: fix bug 974 (End on empty par)
8591 2003-03-28 John Levon <levon@movementarian.org>
8593 * BufferView_pimpl.C:
8595 * lfuns.h: remove do-nothing math greek lfuns
8597 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * lyxgluelength.h (isValidGlueLength): add default arg on
8600 parameter 2. Remove default arg from friend in class.
8602 * lyxlength.h (isValidLength): add default arg on parameter 2.
8603 Remove default arg from friend in class.
8605 * text2.C (LyXText): adjust, initialize refresh_row.
8609 (insertParagraph): adjst
8610 (redoParagraphs): adjust
8611 (fullRebreak): adjust
8612 (updateCounters): adjust
8613 (deleteEmptyParagraphMechanism): first attempt at fixing a
8616 * text.C (top_y): adjust
8617 (setHeightOfRow): adjust
8619 (getRowNearY): adjust
8621 * lyxtext.h: include RowList.h
8622 (~LyXText): not needed anymore, deleted.
8623 (firstRow): modify for RowList
8624 (lastRow): new function
8625 Delete firstrow and lastrow class variables, add a Rowlist
8626 rowlist_ class variable.
8628 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8631 * RowList.C (insert): fix case where it == begin().
8633 2003-03-26 Angus Leeming <leeming@lyx.org>
8635 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8636 the thesaurus dialog.
8638 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8640 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8642 * RowList.[Ch]: new files
8644 * ParagraphList.C (erase): handle the case where it == begin
8647 2003-03-25 John Levon <levon@movementarian.org>
8651 * aspell.C: add new aspell support
8654 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8657 2003-03-25 Angus Leeming <leeming@lyx.org>
8660 * LyXAction.C (init): new LFUN_INSET_INSERT.
8662 * BufferView_pimpl.C (dispatch): split out part of the
8663 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8665 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8668 2003-03-25 Angus Leeming <leeming@lyx.org>
8670 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8672 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8675 * text3.C: remove useless row->height(0)
8677 2003-03-25 John Levon <levon@movementarian.org>
8681 * text3.C: rename the refreshing stuff to better names
8683 2003-03-24 John Levon <levon@movementarian.org>
8685 * BufferView_pimpl.h:
8686 * BufferView_pimpl.C: update layout choice on a mouse
8689 2003-03-23 John Levon <levon@movementarian.org>
8691 * Makefile.am: fix commandtags.h reference
8693 2003-03-22 John Levon <levon@movementarian.org>
8695 * BufferView_pimpl.C:
8700 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8702 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8705 * text.C: take the rtl methods out of line
8707 2003-03-21 André Pönitz <poenitz@gmx.net>
8709 * metricsinfo.[Ch]: new files containing structures to be passed around
8710 during the two-phase-drawing...
8712 2003-03-21 André Pönitz <poenitz@gmx.net>
8714 * lyxtextclass.C: read 'environment' tag.
8716 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8718 * text2.C (removeRow): fix bug 964
8720 2003-03-20 John Levon <levon@movementarian.org>
8724 * text2.C: paint cleanups. Inset::update() dropped font
8727 2003-03-19 John Levon <levon@movementarian.org>
8729 * lyxfunc.C: only fitcursor/markDirty if available()
8731 2003-03-19 John Levon <levon@movementarian.org>
8733 * commandtags.h: rename to ...
8735 * lfuns.h: ... this, and renumber / cleanup
8737 2003-03-19 John Levon <levon@movementarian.org>
8739 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8740 fit the cursor after an lfun
8744 * BufferView_pimpl.h:
8745 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8747 * LyXAction.C: layout-character should have ReadOnly
8749 * ParagraphParameters.C:
8751 * bufferview_funcs.C:
8758 * undo_funcs.C: changes from above
8760 2003-03-18 John Levon <levon@movementarian.org>
8762 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8763 remove it from update()
8765 * lyxfunc.C: update layout choice after an lfun
8767 * text3.C: remove extra updateLayoutChoice()s
8769 2003-03-18 John Levon <levon@movementarian.org>
8771 * text.C: top_y change means full repaint, fix
8772 a drawing bug with cursor movement
8774 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8778 * text2.C: anchor row on setCursor
8780 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8782 * lyxtext.h: remove almost all mutable keywords
8785 * text3.C: remove const keywords accordingly
8787 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8789 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8791 (TeXEnvironment): ditto
8794 2003-03-17 John Levon <levon@movementarian.org>
8796 * text.C (rowBreakPoint): remove attempt to fix displayed
8797 math insets inside a manual label
8799 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8801 * lyxtext.h: remove BufferView* as first arg from almost all class
8803 * other files: adjust.
8805 2003-03-17 John Levon <levon@movementarian.org>
8809 * text2.C: more paint cleanups
8811 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8814 * rowpainter.C: remove "smart" background painting code
8816 2003-03-16 John Levon <levon@movementarian.org>
8821 * text3.C: add helper functions for setting refresh_row/y
8823 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8825 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8826 newline inset which *can* get inserted in the pass_thru layouts.
8827 This is primarily for literate documents.
8829 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8831 * buffer.C: increment LYX_FORMAT to 223
8833 2003-03-14 André Pönitz <poenitz@gmx.net>
8835 * textclass.h: prepare for environment handling, ws changes
8836 * lyxlayout.C: read latexheader and latexfooter tags
8838 2003-03-14 John Levon <levon@movementarian.org>
8840 * text2.C: rewrite ::status() a bit
8842 2003-03-13 John Levon <levon@movementarian.org>
8844 * lyxtext.h: add some docs
8846 2003-03-13 John Levon <levon@movementarian.org>
8851 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8853 2003-03-13 John Levon <levon@movementarian.org>
8855 * text3.C: fix appendix redrawing
8857 2003-03-13 John Levon <levon@movementarian.org>
8859 * text.C (setHeightOfRow):
8861 * rowpainter.C: make appendix mark have the text
8862 "Appendix" so the user knows what it is
8865 * LColor.C: s/appendixline/appendix/ from above
8867 2003-03-13 John Levon <levon@movementarian.org>
8869 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8871 * text.C: fix a getChar(pos) bug properly
8873 2003-03-13 Angus Leeming <leeming@lyx.org>
8876 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8877 Probably only temporary. Let's see how things pan out.
8879 * BufferView.C (unlockInset):
8880 * BufferView_pimpl.C (fitCursor):
8881 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8883 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8884 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8886 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8887 new functions that convert ParagraphParameters to and from a string.
8889 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8890 BufferView::Pimpl's dispatch.
8891 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8893 2003-03-13 André Pönitz <poenitz@gmx.net>
8897 * factory.C: make it aware of InsetEnv
8899 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8901 * text2.C (setCursor): never ask for one past last
8902 (setCursor): add some debugging messages.
8904 * text.C (singleWidth): never ask for one past last
8905 (singleWidth): ditto
8907 (rightMargin): ditto
8908 (rowBreakPoint): ditto
8909 (setHeightOfRow): ditto
8910 (prepareToPrint): ditto
8912 * rowpainter.C (paintBackground): never ask for one past last
8913 (paintText): never ask for one past last
8915 * paragraph_pimpl.C (getChar): make the assert stricter, never
8916 allow the one past last pos to be taken
8918 * paragraph.C (getChar): ws changes only
8920 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8921 (numberOfSeparators): ditto
8922 (numberOfHfills): ditto
8924 2003-03-12 John Levon <levon@movementarian.org>
8930 * paragraph_funcs.C: fix per-buffer authorlists
8932 2003-03-12 John Levon <levon@movementarian.org>
8934 * text.C: fix newline in right address
8936 2003-03-12 Angus Leeming <leeming@lyx.org>
8938 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8939 duplicate those in LyXFunc::dispatch.
8943 * ToolbarDefaults.C:
8944 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8945 Add LFUN_FONTFREE_UPDATE.
8947 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8948 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8950 * bufferview_func.[Ch]: several new functions to facilliate
8951 transfer of data to and from the character dialog.
8953 2003-03-12 John Levon <levon@movementarian.org>
8958 * paragraph_funcs.C:
8959 * paragraph_pimpl.C:
8963 * text3.C: remove META_NEWLINE in favour of an inset
8966 * rowpainter.C: remove paintNewline (done by inset)
8968 2003-03-12 John Levon <levon@movementarian.org>
8970 * paragraph_pimpl.C: complain about bad getChar()s
8971 for a while at least
8973 2003-03-12 John Levon <levon@movementarian.org>
8976 * buffer.C: move paragraph read into a separate function,
8977 a little renaming to reflect that.
8980 * bufferparams.C: remove the author_ids map, not necessary now
8983 * factory.C: moved Buffer::readInset to here
8985 * paragraph_funcs.h:
8986 * paragraph_funcs.C: readParagraph free function moved from
8989 * tabular.C: name change
8991 2003-03-12 John Levon <levon@movementarian.org>
8994 * ParagraphParameters.C: move par params input to
8997 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8998 behave like a normal read from the stream wrt reading
8999 a line vs. a \\token
9001 2003-03-12 John Levon <levon@movementarian.org>
9004 * ParagraphParameters.h:
9005 * ParagraphParameters.C: move output code to a
9008 2003-03-12 John Levon <levon@movementarian.org>
9010 * BufferView.C (insertLyXFile):
9013 * tabular.C: use a parlist iterator for creating the
9016 2003-03-12 John Levon <levon@movementarian.org>
9018 * buffer.C: make current_change static local not
9021 2003-03-12 John Levon <levon@movementarian.org>
9023 * buffer.C: fix insertStringAsLines for change tracking
9025 2003-03-12 John Levon <levon@movementarian.org>
9032 * bufferparams.C: move author list into params. Rename some
9033 functions. Move the header reading into a separate token
9034 loop. Move the header token reading into BufferParams.
9036 2003-03-12 John Levon <levon@movementarian.org>
9038 * changes.C: put debug inside lyxerr.debugging() checks
9040 2003-03-11 André Pönitz <poenitz@gmx.net>
9042 * factory.C: make it aware of InsetHFill
9044 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9046 * buffer.C (latexParagraphs): move function from here...
9047 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9050 2003-03-10 Angus Leeming <leeming@lyx.org>
9052 * LyXAction.C (init): fix bug in poplating array with multiple entries
9053 with the same LFUN (spotted by JMarc).
9055 2003-03-10 John Levon <levon@movementarian.org>
9058 * text2.C: move getColumnNearX() near its
9061 2003-03-10 John Levon <levon@movementarian.org>
9063 * text.C: fix break before a minipage
9065 2003-03-10 John Levon <levon@movementarian.org>
9067 * text.C: fix the last commit
9069 2003-03-09 John Levon <levon@movementarian.org>
9073 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9074 bug 365 (don't break before insets unless needed). Don't
9075 return a value > last under any circumstances.
9077 2003-03-09 Angus Leeming <leeming@lyx.org>
9079 * BufferView_pimpl.C (trackChanges, dispatch): call
9080 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9082 2003-03-09 Angus Leeming <leeming@lyx.org>
9084 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9085 than Dialogs::showAboutlyx().
9087 2003-03-09 Angus Leeming <leeming@lyx.org>
9089 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9090 than Dialogs::showTabularCreate().
9092 2003-03-09 John Levon <levon@movementarian.org>
9096 * text2.C: 3rd arg to nextBreakPoint was always the same.
9099 2003-03-08 John Levon <levon@movementarian.org>
9106 * text2.C: Remove the "main" bit from the "main body"
9109 2003-03-08 John Levon <levon@movementarian.org>
9111 * text.C (leftMargin): The left margin of an empty
9112 manual label paragraph should not include the label width
9115 * text.C (prepareToPrint): don't attempt to measure hfills
9116 for empty manual label paragraphs - the answer should be 0
9118 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9120 * CutAndPaste.C: remove commented code and reindent.
9122 2003-03-08 John Levon <levon@movementarian.org>
9125 * lyxfunc.C: move reloadBuffer()
9128 * BufferView.C: to here
9130 * lyxvc.C: add comment
9133 * vc-backend.C: call bv->reload() to avoid
9134 getStatus() check on MENURELOAD
9136 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9138 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9139 to an old format .dep file.
9141 2003-03-07 Angus Leeming <leeming@lyx.org>
9143 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9144 when the LFUN_MOUSE_RELEASE should have been handled by
9145 inset->localDispatch.
9147 2003-03-07 Angus Leeming <leeming@lyx.org>
9149 * BufferView_pimpl.C (dispatch):
9150 * LyXAction.C (init):
9151 * ToolbarDefaults.C (init):
9153 * lyxfunc.C (getStatus):
9154 remove LFUN_INSET_GRAPHICS.
9156 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9158 2003-03-07 Angus Leeming <leeming@lyx.org>
9161 * LyXAction.C (init):
9162 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9164 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9167 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9169 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9170 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9172 2003-03-07 Angus Leeming <leeming@lyx.org>
9174 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9177 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9179 * ParagraphList.C (front): new function
9182 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9184 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9185 and top_row_offset_. removed var first_y.
9187 * text2.C (LyXText, removeRow):
9189 * BufferView_pimpl.C:
9190 use these methods instead of using first_y
9192 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9194 * text2.C (pasteSelection): adjust for checkPastePossible
9196 * CutAndPaste.C: remove Paragraph * buf and replace with
9197 ParagraphList paragraphs.
9198 (DeleteBuffer): delete
9199 (cutSelection): change the tc type to textclass_type
9200 (copySelection): change the tc type to textclass_type
9201 (copySelection): adjust for ParagraphList
9202 (pasteSelection): change the tc type to textclass_type
9203 (pasteSelection): adjust for Paragraphlist
9204 (nrOfParagraphs): simplify for ParagraphList
9205 (checkPastePossible): simplify for ParagraphList
9206 (checkPastePossible): remove unused arg
9208 * ParagraphList.C (insert): handle the case where there are no
9211 * CutAndPaste.h: make CutAndPaste a namespace.
9213 * text3.C (dispatch): adjust
9215 * text.C (breakParagraph): add a ParagraphList as arg
9217 * paragraph_funcs.C (breakParagraph): change to take a
9218 BufferParams and a ParagraphList as args.
9219 (breakParagraphConservative): ditto
9220 (mergeParagraph): ditto
9221 (TeXDeeper): add a ParagraphList arg
9222 (TeXEnvironment): ditto
9225 * buffer.C (readLyXformat2): adjust
9226 (insertStringAsLines): adjust
9227 (latexParagraphs): adjust
9229 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9230 (cutSelection): adjust
9231 (pasteSelection): adjust
9233 * BufferView_pimpl.C (insertInset): adjust
9235 2003-03-05 Angus Leeming <leeming@lyx.org>
9238 * LyXAction.C (init):
9239 * BufferView_pimpl.C (dispatch):
9240 * lyxfunc.C (getStatus):
9241 remove LFUN_CHILD_INSERT.
9243 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9245 2003-03-05 Angus Leeming <leeming@lyx.org>
9248 * LyXAction.C (init):
9249 * src/factory.C (createInset):
9250 * lyxfunc.C (getStatus):
9251 * text3.C (dispatch):
9252 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9254 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9256 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9258 * ParagraphList.C (insert): handle insert right before end()
9259 (erase): fix cases where it can be first or last paragraph.
9261 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9263 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9264 Paragraph::next and Paragraph::previous
9267 * text.C (breakParagraph): adjust
9269 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9270 BufferParams& as arg.
9271 (breakParagraph): use ParagraphList::insert
9272 (breakParagraphConservative): take a Buffer* instead of a
9273 BufferParams& as arg.
9274 (breakParagraphConservative): use ParagraphList::insert.
9276 * buffer.C (insertStringAsLines): un-const it
9277 (insertStringAsLines): adjust
9279 * ParagraphList.C (insert): new function
9281 * CutAndPaste.C (pasteSelection): adjust
9283 * text.C (backspace): adjust
9285 * tabular.C (SetMultiColumn): adjust
9287 * CutAndPaste.C (cutSelection): adjust
9288 (pasteSelection): adjust
9290 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9291 Buffer const * as arg
9293 * ParagraphList.C (erase): new function
9294 * paragraph_funcs.C (mergeParagraph): use it
9295 (mergeParagraph): make it take a Buffer* instead of a
9296 BufferParams* as arg
9298 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9300 (breakParagraphConservative): ditto
9302 * paragraph.h: remove the breakParagraph friend
9304 * paragraph.C (eraseIntern): new function
9305 (setChange): new function
9307 * paragraph_funcs.C (mergeParagraph): make it take a
9308 ParagraphList::iterator instead of a Paragraph *, adjust
9311 * paragraph.h: move an #endif so that the change tracking stuff
9312 also works in the NO_NEXT case.
9314 2003-03-04 Angus Leeming <leeming@lyx.org>
9317 * LyXAction.C: new LFUN_INSET_MODIFY.
9319 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9320 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9322 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9324 * several files: ws changes only
9326 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9327 (TeXEnvironment): ditto
9330 * buffer.C (makeLaTeXFile): adjust
9331 (latexParagraphs): make it take ParagraphList::iterator as args
9333 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9335 * buffer.C (latexParagraphs): adjust
9337 * paragraph.C (TeXOnePar): move function...
9338 (optArgInset): move function...
9339 (TeXEnvironment): move function...
9340 * paragraph_pimpl.C (TeXDeeper): move function...
9341 * paragraph_funcs.C: ...here
9343 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9345 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9347 * buffer.C (readInset): remove compability code for old Figure and
9350 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9352 * buffer.C: ws changes
9355 * BufferView_pimpl.C: ditto
9358 * bufferlist.h: ditto
9362 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9364 * converter.[Ch]: split into itself +
9367 * Makefile.am: += graph.[Ch] + format.[Ch]
9374 * lyxrc.C: added #include "format.h"
9376 2003-02-27 Angus Leeming <leeming@lyx.org>
9378 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9381 * factory.C (createInset): add "label" to the factory.
9383 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9384 string and do no more.
9386 2003-02-27 Angus Leeming <leeming@lyx.org>
9389 * LyXAction.C (init):
9390 * factory.C (createInset):
9391 * BufferView_pimpl.C (dispatch):
9392 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9394 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9396 * lyxfunc.C (dispatch):
9397 * text3.C (dispatch): pass name to params2string.
9399 2003-02-26 Angus Leeming <leeming@lyx.org>
9401 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9403 Rearrange the ~includes. Strip out the unnecessary ones.
9405 * factory.C (createInset): reformat.
9406 create new insets for the various LFUN_XYZ_APPLY lfuns.
9408 2003-02-26 John Levon <levon@movementarian.org>
9411 * lyxrow.C: add isParStart,isParEnd helpers
9413 * paragraph.h: make isInserted/DeletedText take refs
9415 * paragraph_funcs.h:
9416 * paragraph_funcs.C: remove #if 0'd code
9421 * text.C: use lyxrow helpers above.
9422 Move draw and paint routines to RowPainter.
9423 Make several methods use refs not pointers.
9424 Make backgroundColor() const.
9425 Add markChangeInDraw(), isInInset().
9426 Merge changeRegionCase into changeCase.
9427 Make workWidth() shouldn't-happen code into an Assert.
9430 * rowpainter.C: new class for painting a row.
9433 * vspace.C: make inPixels take a ref
9435 2003-02-26 Angus Leeming <leeming@lyx.org>
9437 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9440 2003-02-25 John Levon <levon@movementarian.org>
9442 * ispell.C: give the forked command a more accurate name
9444 2003-02-22 John Levon <levon@movementarian.org>
9447 * toc.C: make TocItem store an id not a Paragraph *
9450 2003-02-21 Angus Leeming <leeming@lyx.org>
9452 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9453 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9454 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9455 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9456 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9457 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9459 * BufferView_pimpl.C (dispatch):
9460 * LyXAction.C (init):
9461 * factory.C (createInset):
9462 * lyxfunc.C (getStatus, dispatch):
9463 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9465 2003-02-21 Angus Leeming <leeming@lyx.org>
9467 * BufferView_pimpl.C (MenuInsertLyXFile):
9468 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9469 * lyxfunc.C (menuNew, open, doImport):
9470 no longer pass a LyXView & to fileDlg.
9472 2003-02-21 Angus Leeming <leeming@lyx.org>
9474 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9475 * LyXAction.C: change, BIBKEY to BIBITEM.
9476 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9477 Change InsetBibKey to InsetBibitem.
9478 Change BIBKEY_CODE to BIBITEM_CODE.
9479 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9480 * factory.C: replace insetbib.h with insetbibitem.h.
9481 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9482 * paragraph.C: replace insetbib.h with insetbibitem.h.
9483 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9484 Change bibkey() to bibitem().
9485 * text.C: remove insetbib.h.
9486 * text2.C: replace insetbib.h with insetbibitem.h.
9487 change bibkey() to bibitem().
9488 * text3.C: remove insetbib.h.
9489 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9491 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9493 * lyxrc.C (output): enclose user email in quotes (in case there are
9496 2003-02-18 John Levon <levon@movementarian.org>
9498 * buffer.h: add std::
9500 2003-02-17 John Levon <levon@movementarian.org>
9506 * pspell.C: reworking. Especially in ispell, a large
9507 number of clean ups and bug fixes.
9509 * lyxfunc.C: fix revert to behave sensibly
9511 2003-02-17 André Pönitz <poenitz@gmx.net>
9514 * commandtags.h: new LFUN_INSERT_BIBKEY
9524 * paragraph_func.C: remove special bibkey handling
9526 2003-02-17 John Levon <levon@movementarian.org>
9528 * text.C (Delete): fix case where delete at the end of
9529 the very first paragraph would not merge the pars
9531 2003-02-17 John Levon <levon@movementarian.org>
9533 * lyxrow.C: fix lastPrintablePos()
9535 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9537 * bufferparams.C (writeLaTeX): add a std:here
9539 * buffer.C: and remove a using directive there
9541 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9543 * buffer.C (makeLaTeXFile): move the code that generates the
9546 * bufferparams.C (writeLaTeX): ... in this new method
9548 * LaTeXFeatures.C (getEncodingSet): make const
9549 (getLanguages): make const
9551 * MenuBackend.C (binding): returns the binding associated to this
9553 (add): sets the status of each item by calling getStatus. Adds
9555 (read): add support for OptSubMenu
9556 (expand): remove extra separator at the end of expanded menu
9558 2003-02-15 John Levon <levon@movementarian.org>
9561 * BufferView_pimpl.C:
9563 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9564 inset code that had no actual effect. Remove unneeded status
9567 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9569 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9572 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9574 * text.C (drawLengthMarker): also draw an arrow marker for
9575 symbolic lengths (medskip...)
9577 2003-02-14 John Levon <levon@movementarian.org>
9580 * tabular.C: better method names
9582 2003-02-14 John Levon <levon@movementarian.org>
9584 * BufferView_pimpl.C:
9589 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9590 it's a more accurate name. Remove some pointless uses.
9592 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9594 * text2.C (LyXText): change order of initilizers to shut off
9597 2003-02-14 John Levon <levon@movementarian.org>
9599 * buffer.C: use ParIterator for getParFromID()
9603 * paragraph_pimpl.h:
9604 * paragraph_pimpl.C: remove unused getParFromID()
9606 2003-02-14 John Levon <levon@movementarian.org>
9608 * buffer.C: remove some very old #if 0'd parse code
9610 2003-02-13 John Levon <levon@movementarian.org>
9614 * text2.C: move hfillExpansion(), numberOfSeparators(),
9615 rowLast(), rowLastPrintable(), numberofHfills(),
9616 numberOfLabelHfills() ...
9619 * lyxrow.C: ... to member functions here.
9624 * text.C: remove LyXText::beginningOfMainBody(), and call
9625 p->beginningOfMainBody() directly. Move the check for
9626 LABEL_MANUAL into the latter.
9633 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9639 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9640 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9642 2003-02-13 John Levon <levon@movementarian.org>
9644 * CutAndPaste.C: remove debug
9646 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9648 * paragraph.C (asString): remove two unused variables
9650 * lyxtextclass.C (readTitleType):
9652 (LyXTextClass): handle new members titletype_ and titlename_
9654 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9656 2003-02-09 John Levon <levon@movementarian.org>
9659 * buffer.C: replace hand-coded list with a map for the dep clean
9661 2003-02-08 John Levon <levon@movementarian.org>
9663 * LaTeX.C: consolidate code into showRunMessage() helper
9665 2003-02-08 John Levon <levon@movementarian.org>
9670 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9671 and pass the size in explicitly
9673 * BufferView_pimpl.h:
9674 * BufferView_pimpl.C:
9676 * BufferView.C: add getCurrentChange()
9678 * BufferView_pimpl.h:
9679 * BufferView_pimpl.C: handle change lfuns
9681 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9682 for changes. Mark pasted paragraphs as new.
9684 * support/lyxtime.h:
9685 * support/lyxtime.C:
9686 * DepTable.C: abstract time_t as lyx::time_type
9689 * LColor.C: add colours for new text, deleted text, changebars
9691 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9692 package use "usenames" option.
9696 * LyXAction.C: add change lfuns
9700 * author.C: author handling
9703 * buffer.C: add a per-buffer author list, with first entry as
9704 current author. Handle new .lyx tokens for change tracking. Output
9705 author list to .lyx file. Output dvipost stuff to .tex preamble.
9706 Bump lyx format to 222.
9709 * bufferlist.C: add setCurrentAuthor() to reset current author details
9713 * bufferparams.C: add param for tracking
9715 * bufferview_funcs.C: output change info in minibuffer
9719 * changes.C: add change-tracking structure
9722 * debug.C: add CHANGES debug flag
9725 * lyxfind.C: add code for finding the next change piece
9728 * lyxrc.C: add user_name and user_email
9731 * lyxrow.C: add a metric for the top of the text line
9734 * text.C: implement accept/rejectChange()
9737 * text.C: paint changebars. Paint new/deleted text in the chosen
9738 colours. Strike through deleted text.
9742 * paragraph_pimpl.h:
9743 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9744 in the current change to the insert functions. Rework erase to
9745 mark text as deleted, adding an eraseIntern() and a range-based
9746 erase(). Implement per-paragraph change lookup and
9749 * paragraph_funcs.C: Fixup paste for change tracking.
9751 * tabular.C: mark added row/columns as new.
9753 * text.C: fix rowLast() to never return -1. Don't allow
9754 spellchecking of deleted text. Track transpose changes. Don't
9755 allow paragraph break or merge where appropriate.
9757 * text2.C: leave cursor at end of selection after a cut.
9759 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9761 * text.C (getLengthMarkerHeight):
9762 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9763 visible on screen too.
9765 2003-02-07 John Levon <levon@movementarian.org>
9767 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9769 2003-02-05 Angus Leeming <leeming@lyx.org>
9771 * lyxserver.C (read_ready): revert my patch of 11 September last year
9772 as it sends PC cpu through the roof. Presumably this means that
9773 the lyxserver will no longer run on an Alpha...
9775 2003-01-30 Angus Leeming <leeming@lyx.org>
9777 * factory.C (createInset): create an InsetCommandParam of type "index"
9778 and use it to 'do the right thing'.
9780 * text2.C (getStringToIndex): ensure that cursor position is always
9781 reset to the reset_cursor position.
9783 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9785 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9788 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9792 * lyxfunc.C: Output messages with identical spelling, punctuation,
9795 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9797 * MenuBackend.C (expandFormats): List only viewable export formats
9800 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9803 * lyxfunc.C (getStatus): Make sure that formats other than
9804 "fax" can also be disabled
9806 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9808 * text3.C (dispatch): put the lfuns that insert insets in 3
9809 groups, and call doInsertInset with appropriate arguments.
9810 (doInsertInset): new function, that creates an inset and inserts
9811 it according to some boolean parameters.
9813 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9815 * buffer.C (readFile): remember to pass on 'par' when calling
9816 readFile recursively.
9818 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9820 * MenuBackend.C (expandFormats): add "..." to import formats.
9822 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9824 * paragraph.C (asString): Remove XForms RTL hacks.
9826 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9827 * buffer.C: fix typo
9829 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9831 * Makefile.am (LIBS): delete var
9832 (lyx_LDADD): add @LIBS@ here instead.
9834 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9836 * Clarify the meaning of "wheel mouse jump"
9838 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9840 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9843 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9845 * importer.C (Loaders): do not preallocate 3 elements in the
9846 vector, since one ends up with 6 elements otherwise
9848 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9850 * DepTable.C (write): write the file name as last element of the
9851 .dep file (because it may contain spaces)
9852 (read): read info in the right order
9854 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9856 * paragraph_pimpl.C (simpleTeXBlanks):
9857 (simpleTeXSpecialChars):
9858 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9860 * tabular.C (latex): add some missing case statements. Reindent.
9862 * MenuBackend.C (expandToc): remove unused variable.
9864 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9873 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9876 2003-01-05 John Levon <levon@movementarian.org>
9879 * BufferView.C: add getEncoding()
9882 * kbsequence.C: do not store last keypress
9885 * lyxfunc.C: store last keypress here instead. Pass encoding
9888 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9890 * lyx_main.C (init): remove annoying error message when following
9891 symbolic links (bug #780)
9893 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9895 * text.C (insertChar):
9896 * lyxrc.C (getDescription): remove extra spaces
9898 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9900 * lyxrc.C (getDescription): remove extra spaces
9902 2002-12-20 John Levon <levon@movementarian.org>
9904 * text3.C: hack fix for page up/down across tall rows
9906 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9908 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9911 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9913 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9914 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9915 thesaurus is not compiled in
9917 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9919 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9921 2002-12-16 Angus Leeming <leeming@lyx.org>
9924 * lyx_main.C (init): remove override_x_deadkeys stuff.
9926 2002-12-12 John Levon <levon@movementarian.org>
9928 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9929 insert. Only remove shift modifier under strict
9932 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9934 * MenuBackend.C (expandToc): fix crash.
9936 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9938 * MenuBackend.C (expandToc): gettext on float names.
9940 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9942 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9943 implement bool empty() [bug 490]
9945 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9947 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9949 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9951 * several files: ws changes
9953 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9955 * text2.C (setCounter): clean up a bit, use boost.format.
9956 (updateCounters): initialize par upon declaration.
9958 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9959 if the layout exists. We do not just store the layout any more.
9960 (SwitchLayoutsBetweenClasses): use boost.format
9962 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9964 * converter.C (convert): if from and to files are the same, use a
9965 temporary files as intermediary
9967 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9970 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9972 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9974 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9976 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9978 * tabular.C (asciiPrintCell): use string(size, char) instead of
9981 * sgml.C (openTag): fix order of arguments to string constructor
9984 * lyxfunc.C (dispatch): use boost.format
9986 * lots of files: change "c" -> 'c'
9988 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9990 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9992 2002-11-25 Angus Leeming <leeming@lyx.org>
9994 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9996 * lyx_main.C (init): compile fix.
9998 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10000 * lyx_cb.C (start): boost.formatify
10001 do not include <iostream>
10003 * lengthcommon.C: ws only
10005 * boost-inst.C,BoostFormat.h: add more explict instantations
10007 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10009 * lots of files: handle USE_BOOST_FORMAT
10011 2002-11-21 John Levon <levon@movementarian.org>
10013 * pspell.C: fix compile
10015 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10017 * lyxfunc.C (dispatch): use boost::format
10021 * lyxfont.C (stateText): use boost::format
10023 * lyx_main.C (LyX): use boost::format
10025 (queryUserLyXDir): ditto
10026 (readRcFile): ditto
10028 (typedef boost::function): use the recommened syntax.
10030 * importer.C (Import): use boost::format
10032 * debug.C (showLevel): use boost::format
10034 * converter.C (view): use boost::format
10039 * bufferview_funcs.C (currentState): use boost::format
10041 * bufferlist.C (emergencyWrite): use boost::format
10043 * buffer.C (readLyXformat2): use boost::format
10044 (parseSingleLyXformat2Token): ditto
10046 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10048 * LaTeX.C (run): use boost::format
10050 * Chktex.C (scanLogFile): use boost::format
10052 * BufferView_pimpl.C (savePosition): use boost::format
10053 (restorePosition): ditto
10054 (MenuInsertLyXFile): ditto
10056 * BoostFormat.h: help file for explicit instation.
10058 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10060 * tabular.C (latex): Support for block alignment in fixed width
10063 2002-11-17 John Levon <levon@movementarian.org>
10065 * BufferView_pimpl.C:
10067 * lyxfunc.C: split filedialog into open/save
10069 2002-11-08 Juergen Vigna <jug@sad.it>
10071 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10072 by my last patch (hopefully).
10074 2002-11-08 John Levon <levon@movementarian.org>
10083 * toc.C: ParConstIterator, and use it (from Lars)
10085 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10087 * lyxtextclass.[Ch]: revise and add doxygen comments
10089 2002-11-07 John Levon <levon@movementarian.org>
10091 * text.C: fix progress value for spellchecker
10093 * toc.C: fix navigate menu for insetwrap inside minipage
10095 * paragraph_funcs.C: added FIXME for suspect code
10097 2002-11-07 John Levon <levon@movementarian.org>
10099 * BufferView_pimpl.C: fix redrawing of insets
10102 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10104 * text2.C (updateCounters): fix bug 668
10106 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10108 * text3.C (dispatch): Do not make the buffer dirty when moving the
10111 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10113 * vc-backend.C: STRCONV
10114 (scanMaster): ditto
10116 * text2.C (setCounter): STRCONV
10118 * paragraph.C (asString): STRCONV
10120 * lyxlength.C (asString): STRCONV
10121 (asLatexString): ditto
10123 * lyxgluelength.C (asString): STRCONV
10124 (asLatexString): ditto
10126 * lyxfunc.C (dispatch): STRCONV
10129 * lyxfont.C (stateText): STRCONV
10131 * importer.C (Import): STRCONV
10133 * counters.C (labelItem): STRCONV
10134 (numberLabel): ditto
10135 (numberLabel): remove unused ostringstream o
10140 * bufferview_funcs.C (currentState): STRCONV
10142 * buffer.C (readFile): STRCONV
10143 (asciiParagraph): ditto
10144 (makeLaTeXFile): ditto
10146 * Spacing.C (writeEnvirBegin): STRCONV
10148 * LaTeXFeatures.C (getLanguages): STRCONV
10149 (getPackages): ditto
10151 (getBabelOptions): ditto
10152 (getTClassPreamble): ditto
10153 (getLyXSGMLEntities): ditto
10154 (getIncludedFiles): ditto
10158 (scanAuxFile): ditto
10161 * LString.h: add the STRCONV macros
10163 * BufferView_pimpl.C (savePosition): STRCONV
10164 (restorePosition): ditto
10165 (MenuInsertLyXFile): ditto
10167 * vc-backend.C (scanMaster): change from submatch[...] to
10170 * funcrequest.C: include config.h
10172 * factory.C: include config.h
10174 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10176 * box.C: include config.h
10178 * LaTeX.C (scanAuxFile): change from submatch[...] to
10182 2002-10-25 Angus Leeming <leeming@lyx.org>
10184 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10186 * ispell.[Ch] (setError): new method.
10187 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10188 Use setError() insetead of goto END.
10190 * lyx_cb.C (AutoSave): move out child process into new class
10193 2002-10-30 John Levon <levon@movementarian.org>
10195 * text3.C: make start appendix undoable
10197 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10199 * lyxlength.C (inPixels): Fix returned value.
10201 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10204 2002-10-24 Angus Leeming <leeming@lyx.org>
10206 * lyxgluelength.h: no need to forward declare BufferParams
10207 or BufferView, so don't.
10209 2002-10-21 John Levon <levon@movementarian.org>
10211 * BufferView.C: menuUndo ->undo, redo
10213 * BufferView.h: document, remove dead, make some methods private
10215 * paragraph_funcs.h:
10216 * paragraph_funcs.C:
10217 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10222 * sgml.C: move sgml open/close tag into sgml.C
10224 * bufferview_funcs.h: unused prototype
10227 * lyxfunc.C: remove unused
10230 * text.C: remove unused
10232 2002-10-21 John Levon <levon@movementarian.org>
10236 * BufferView_pimpl.h:
10237 * BufferView_pimpl.C: fix mouse wheel handling based on
10238 patch from Darren Freeman
10240 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10242 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10244 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10246 * lyxlength.C (inPixels): Fix hanfling of negative length.
10247 Fix LyXLength::MU case.
10249 2002-10-16 John Levon <levon@movementarian.org>
10251 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10253 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10255 * converter.C (view): add support for $$i (file name) and $$p
10256 (file path) for the viewer command. If $$i is not specified, then
10257 it is appended to the command (for compatibility with old syntax)
10259 2002-10-14 Juergen Vigna <jug@sad.it>
10261 * undo_funcs.C (textHandleUndo): alter the order in which the
10262 new undopar is added to the LyXText, as we have to set first
10263 the right prev/next and then add it as otherwise the rebuild of
10264 LyXText is not correct. Also reset the cursor to the right paragraph,
10265 with this IMO we could remove the hack in "redoParagraphs()".
10267 2002-10-09 Angus Leeming <leeming@lyx.org>
10269 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10270 to turn off an optimisation if a new inset is to be inserted.
10272 2002-10-11 André Pönitz <poenitz@gmx.net>
10274 * lyxtext.h: make some functions public to allow access
10275 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10277 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10279 * text3.C (dispatch): when changing layout, avoid an infinite loop
10282 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10284 * lyxrc.C (read): treat a viewer or converter command of "none" as
10287 * MenuBackend.C (expandFormats): for an update, also allow the
10288 formats that are not viewable
10290 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10291 script if it is newer than the lyxrc.defaults in user directory
10293 2002-10-07 André Pönitz <poenitz@gmx.net>
10295 * text.C: Vitaly Lipatov's small i18n fix
10297 2002-09-25 Angus Leeming <leeming@lyx.org>
10299 * ispell.h: doxygen fix.
10301 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10303 * buffer.h (readFile): Add a new argument to the method, to allow
10304 reading of old-format templates.
10306 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10308 * toc.C (getTocList): Get TOC from InsetWrap.
10310 2002-09-16 John Levon <levon@movementarian.org>
10312 * lyxfunc.C: check tabular for cut/copy too
10314 2002-09-12 John Levon <levon@movementarian.org>
10316 * LyXAction.C: tidy
10319 * factory.C: add header
10321 * paragraph_funcs.h:
10322 * paragraph_funcs.C: cleanup
10324 2002-09-11 John Levon <levon@movementarian.org>
10326 * PrinterParams.h: odd/even default to true
10328 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10330 * PrinterParams.h: update printer parameters for new xforms dialog
10332 2002-09-11 Angus Leeming <leeming@lyx.org>
10334 * lyxserver.C (read_ready): re-write to make it more transparent
10335 and to make it work in coherent fashion under Tru64 Unix.
10337 2002-09-11 André Pönitz <poenitz@gmx.net>
10341 * text3.C: implement LFUN_WORDSEL
10343 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10345 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10346 make floatlist_ a boost::shared_ptr<FloatList>
10348 * lyxtextclass.C: include FloatList.h
10349 (LyXTextClass): initialize floatlist_
10350 (TextClassTags): add TC_NOFLOAT
10351 (Read): match "nofloat" to TC_NOFLOAT and use it.
10352 (readFloat): modify call to floatlist_
10356 * FloatList.[Ch] (FloatList): remove commented out float
10358 (erase): new function
10360 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10362 * MenuBackend.C (expandToc): fix crash when there is no document
10365 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10367 * many files: Add insetwrap.
10369 2002-09-09 John Levon <levon@movementarian.org>
10371 * text2.C: remove confusing and awkward depth wraparound
10373 2002-09-09 John Levon <levon@movementarian.org>
10375 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10378 * buffer.C: remove getIncludeonlyList()
10381 * lyxfunc.C: remove headers
10383 2002-09-09 Juergen Vigna <jug@sad.it>
10385 * text.C (getColumnNearX): fix form Michael this is most
10386 probably a cut&paste bug.
10388 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10390 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10392 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10393 references, ws changes.
10395 * text2.C (init): update counters after init
10396 (insertParagraph): no need to set counter on idividual paragraphs.
10397 (setCounter): access the counters object in the textclass object
10398 on in the buffer object.
10399 (updateCounters): ditto
10401 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10402 shared_ptr<Counters> to avoid loading counters.h in all
10404 (LyXTextClass): initialize ctrs_
10405 (TextClassTags): add TC_COUNTER, and ...
10406 (Read): use it here.
10407 (CounterTags): new tags
10408 (readCounter): new function
10409 (counters): new funtion
10410 (defaultLayoutName): return a const reference
10412 * counters.C (Counters): remove contructor
10413 (newCounter): remove a couple of unneeded statements.
10414 (newCounter): simplify a bit.
10415 (numberLabel): some small formatting changes.
10417 * buffer.[Ch]: remove all traces of counters, move the Counters
10418 object to the LyXTextClass.
10420 2002-09-06 Alain Castera <castera@in2p3.fr>
10422 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10423 package to set the horizontal alignment on fixed width columns.
10426 * lyx_sty.h: added tabularnewline macro def.
10428 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10430 2002-09-06 John Levon <levon@movementarian.org>
10432 * LyXAction.C: tooltips for sub/superscript
10434 * MenuBackend.C: a bit more verbose
10436 * lyxfunc.C: tiny clean
10438 * undo_funcs.C: document undo_frozen
10440 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10442 * counters.C (Counters): add missing algorithm counter.
10444 * text2.C (setCounter): lookup the counter with layouts latexname
10445 instead of by section number.
10446 (setCounter): use a hackish way to lookup the correct enum
10448 a float name->type change
10449 reset enum couners with counter name directly instead of depth value.
10451 * counters.C (Counters): remove the push_backs, change to use the
10452 float type not the float name.
10453 (labelItem): remove unused string, float name->type change
10455 * counters.h: don't include vector, loose the enums and sects vectors
10457 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10459 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10460 (Read): add float->TC_FLOAT to textclassTags
10461 (Read): and handle it in the switch
10462 (readFloat): new function
10464 * FloatList.C (FloatList): comment out the hardcoded float
10467 * lyxlayout.h: ws change.
10469 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10471 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10473 2002-09-03 Angus Leeming <leeming@lyx.org>
10475 * BufferView_pimpl.h: qualified name is not allowed in member
10476 declaration: WorkArea & Pimpl::workarea() const;
10478 * factory.C: added using std::endl directive.
10480 * text3.C: added using std::find and std::vector directives.
10482 2002-08-29 André Pönitz <poenitz@gmx.net>
10485 * text2.C: remove unused member number_of_rows
10488 * BufferView2.C: remove file, move contents to...
10489 * BufferView.C: ... here
10491 * BufferView_pimpl.C:
10492 * factory.C: move more inset creation to factory
10494 * vspace.C: avoid direct usage of LyXText, ws changes
10497 don't provide direct access to WorkArea, use two simple
10498 acessors haveSelction() and workHeight() instead
10501 2002-08-29 John Levon <levon@movementarian.org>
10503 * BufferView_pimpl.C (dispatch): do not continue when
10506 2002-08-28 André Pönitz <poenitz@gmx.net>
10508 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10511 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10513 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10515 * buffer.C: increment LYX_FORMAT to 221
10517 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10518 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10520 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10522 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10524 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10526 * factory.C (createInset): use LyXTextClass::floats
10528 * MenuBackend.C (expandFloatListInsert):
10529 (expandFloatInsert):
10532 * text2.C (setCounter):
10534 * LaTeXFeatures.C (useFloat):
10535 (getFloatDefinitions):
10537 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10539 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10540 floatlist_, with accessor floats().
10542 * FloatList.h: remove global FloatList
10544 2002-08-26 André Pönitz <poenitz@gmx.net>
10546 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10550 * BufferView_pimpl.C:
10551 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10553 2002-08-25 John Levon <levon@movementarian.org>
10555 * LyXAction.C: fix margin note description
10557 2002-08-24 John Levon <levon@movementarian.org>
10561 * bufferview_funcs.C:
10563 * undo_funcs.C: cleanups
10565 * lyxfunc.C: disable CUT/COPY when no selection
10567 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10569 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10570 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10572 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10573 Add backward compatibility to "mono", "gray" and "no".
10575 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10577 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10578 (and file_format >= 200).
10580 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10582 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10584 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10586 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10588 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10590 * BufferView_pimpl.C:
10597 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10598 inset and code to make it work with the paragraph code. The inset
10599 can be anywhere in the paragraph, but will only do the expected
10600 thing in LaTeX if the layout file contains the parameter line
10602 (or more generally, a nonzero value) for that layout.
10604 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10606 * paragraph.h: remove the declaration of undefined counters class
10609 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10611 * text2.C (setCounter): fixed enumeration mis-count as reported by
10612 Dr. Richard Hawkins.
10614 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10616 * paragraph_funcs.h: remove some unneeded includes
10618 * text.C (backspace): pasteParagraph now in global scipe
10620 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10621 (pasteSelection): ditto
10623 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10624 * paragraph_funcs.C (pasteParagraph): ... here
10626 2002-08-20 André Pönitz <poenitz@gmx.net>
10628 * commandtags.h: new LFUNs for swapping/copying table row/colums
10631 * lyxfunc.C: support for new lfuns
10633 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10636 * buffer.[Ch]: remove NO_COMPABILITY stuff
10638 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10640 * boost.C (throw_exception): new file, with helper function for
10641 boost compiled without exceptions.
10646 * ParameterStruct.h:
10647 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10649 * bufferlist.C (emergencyWriteAll): use boost bind
10651 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10653 * text.C: include paragraph_funcs.h
10654 (breakParagraph): breakParagraph is now in global scope
10656 * paragraph_funcs.[Ch]: new files
10658 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10661 * buffer.C: include paragraph_funcs.h
10662 (insertStringAsLines): breakParagraph is now in global scope
10664 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10667 * CutAndPaste.C: include paragraph_funcs.h
10668 (cutSelection): breakParagraphConservative is now in global scope
10669 (pasteSelection): ditto
10671 * buffer.h: declare oprator== and operator!= for
10672 Buffer::inset_iterator
10674 * bufferlist.C (emergencyWrite): don't use fmt(...)
10676 * text3.C: add using std::endl
10678 * BufferView.C (moveCursorUpdate): remove default arg
10680 2002-08-20 André Pönitz <poenitz@gmx.net>
10682 * buffer.[Ch]: move inline functions to .C
10685 * BufferView_pimpl.C:
10687 * buffer.[Ch]: use improved inset_iterator
10690 * paragraph.[Ch]: write one paragraph at a time
10692 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10694 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10695 style if style is not specified.
10697 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10699 * text2.C (setCounter): when searching for right label for a
10700 caption, make sure to recurse to parent insets (so that a caption
10701 in a minipage in a figure float works) (bug #568)
10703 2002-08-20 André Pönitz <poenitz@gmx.net>
10705 * text3.C: new file for LyXText::dispatch() and helpers
10707 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10709 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10711 2002-08-19 André Pönitz <poenitz@gmx.net>
10714 * text.C: new LyXText::dispatch()
10716 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10718 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10720 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10722 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10725 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10727 * Makefile.am: use $(variables) instead of @substitutions@
10729 2002-08-15 André Pönitz <poenitz@gmx.net>
10732 * BufferView_pimpl.C: streamlining mathed <-> outer world
10736 * LyXAction.C: remove unused LFUN_MATH
10738 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10740 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10742 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10744 * paragraph.C (Paragraph): reformat a bit
10745 (cutIntoMinibuffer): use builtin InsetList function instad of
10749 * buffer.C: include boost/bind.hpp, add using std::for_each
10750 (writeFileAscii): use ParagraphList iterators
10751 (validate): use for_each for validate traversal of paragraphs
10752 (getBibkeyList): use ParagraphList iterators
10753 (resizeInsets): use for_each to resizeInsetsLyXText for all
10755 (getParFromID): use ParagraphList iterators
10757 * BufferView2.C (lockInset): use paragraph list and iterators
10759 2002-08-14 John Levon <levon@movementarian.org>
10761 * lyxserver.C: remove spurious xforms include
10763 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10765 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10767 2002-08-13 André Pönitz <poenitz@gmx.net>
10770 * lyxfunc.C: further cleaning
10772 2002-08-13 André Pönitz <poenitz@gmx.net>
10774 * funcrequest.h: new constructor
10776 * funcrequest.C: move stuff here from .h
10779 * BufferView_pimpl.C:
10782 * lyxfunc.C: subsequent changes
10784 * lyxfunc.h: new view() member function
10786 * lyxfunc.C: subsequent changes
10788 2002-08-13 Angus Leeming <leeming@lyx.org>
10791 * BufferView_pimpl.C:
10799 changes due to the changed LyXView interface that now returns references
10800 to member variables not pointers.
10802 2002-08-13 Angus Leeming <leeming@lyx.org>
10804 * WordLangTuple (word, lang_code): return references to strings,
10809 * lyxtext.h: forward-declare WordLangTuple.
10814 * text.C: #include "WordLangTuple.h".
10817 * text.C: (selectNextWordToSpellcheck): constify return type.
10819 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10825 * paragraph_pimpl.h:
10828 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10829 suggested by Angus.
10830 Made updateCounter always count from start of buffer, and removed
10831 second argument (par).
10832 Reverted floats number display to '#'. Perhaps I'll try again when the
10833 code base is sanitized a bit.
10835 2002-08-12 Angus Leeming <leeming@lyx.org>
10837 * buffer.[Ch] (getLabelList): constify.
10839 2002-08-07 André Pönitz <poenitz@gmx.net>
10841 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10843 * funcrequest.h: extension to keep mouse (x,y) position
10845 2002-08-12 Juergen Vigna <jug@sad.it>
10847 * BufferView2.C (insertErrors): forbid undo when inserting error
10850 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10852 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10854 * ParagraphList.[Ch]: new files
10856 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10858 * BufferView2.C (lockInset): ParagraphList changes
10861 * bufferlist.C: ditto
10865 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10867 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10868 unused class variable counter_,
10870 * paragraph.[Ch] (getFirstCounter): delete unused function
10872 * counters.C: include LAssert.h
10873 (reset): add a new function with no arg, change other version to
10874 not have def. arg and to not allow empty arg.
10876 * text2.C (setCounter): remove empty arg from call to Counters::reset
10878 2002-08-11 John Levon <levon@movementarian.org>
10880 * Makefile.am: add WordLangTuple.h
10882 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10884 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10885 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10887 * insets/insettext.C: InsetList changes
10889 * graphics/GraphicsSupport.C (operator()): InsetList changes
10891 * toc.C (getTocList): InsetList changes
10893 * paragraph_pimpl.[Ch]: InsetList changes
10895 * paragraph.[Ch]: InsetList changes
10897 * buffer.C (inset_iterator): InsetList changes
10898 (setParagraph): ditto
10899 * buffer.h (inset_iterator): ditto
10900 * iterators.C (operator++): ditto
10901 * iterators.h: ditto
10903 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10905 * InsetList.[Ch]: new files, most InsetList handling moved out of
10908 * BufferView2.C (removeAutoInsets): InsetList changes
10910 (ChangeInsets): ditto
10912 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10914 * paragraph_pimpl.h (empty): new function
10916 * paragraph.[Ch] (empty): new function
10918 * other files: use the new Paragraph::empty function
10920 2002-08-09 John Levon <levon@movementarian.org>
10922 * lyxtext.h: remove unused refresh_height
10924 2002-08-09 John Levon <levon@movementarian.org>
10931 * paragraph.C: move sgml char escaping out of paragraph
10934 * paragraph.C: remove id setter
10938 * paragraph_pimpl.C: remove dead tex_code_break_column
10940 * bufferview_funcs.C: small cleanup
10942 * lyxfunc.C: remove dead proto
10944 * lyxtext.h: make some stuff private. Remove some dead stuff.
10946 * lyxgluelength.C: make as[LyX]String() readable
10948 2002-08-08 John Levon <levon@movementarian.org>
10953 * ToolbarDefaults.C:
10956 * toc.C: lyxaction cleanup
10958 2002-08-08 John Levon <levon@movementarian.org>
10960 * BufferView2.C: small cleanup
10963 * lyxfind.C: move unnecessary header into the .C
10965 2002-08-08 John Levon <levon@movementarian.org>
10967 * funcrequest.h: just tedious nonsense
10970 * lyx_main.C: cleanups
10973 * vspace.C: remove dead header lyx_main.h
10975 2002-08-07 Angus Leeming <leeming@lyx.org>
10978 * paragraph_pimpl.h:
10979 Forward declare class Counters in paragraph.h by moving the ctrs member
10980 variable into Paragraph::Pimpl.
10981 (counters): new method, returning a reference to pimpl_->ctrs.
10983 * text2.C: ensuing changes.
10985 2002-08-07 John Levon <levon@movementarian.org>
10987 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10989 * BufferView_pimpl.C: announce X selection on double/triple
10992 * lyx_main.C: use correct bool in batch dispatch
10994 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10996 2002-08-07 André Pönitz <poenitz@gmx.net>
10998 * funcrequest.h: new class to wrap a kb_action and its argument
11001 * BufferView_pimpl[Ch]:
11005 * lyxrc.C: subsequent changes
11008 2002-08-07 John Levon <levon@movementarian.org>
11010 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11011 document options change.
11013 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11018 * makefile.am: move counters functionality over from
11019 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11021 2002-08-06 John Levon <levon@movementarian.org>
11023 * WordLangTuple.h: new file for word + language code tuple
11034 * BufferView2.C: use WordLangTuple
11037 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11039 2002-08-06 John Levon <levon@movementarian.org>
11041 * lyx_main.C: fix cmdline batch handling
11043 2002-08-06 André Pönitz <poenitz@gmx.net>
11045 * lyxrc.C: set default for show_banner to true
11047 2002-08-06 John Levon <levon@movementarian.org>
11049 * pspell.C: fix a crash, and allow new aspell to work
11051 2002-08-06 John Levon <levon@movementarian.org>
11054 * kbmap.C: small cleanup
11057 * vspace.C: add const
11059 2002-08-05 John Levon <levon@movementarian.org>
11061 * LyXAction.C: back to tabular-insert
11063 2002-08-04 John Levon <levon@movementarian.org>
11066 * BufferView.C: cosmetic change
11068 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11078 * BufferView2.C: purge all "Lyx" not "LyX" strings
11081 * lyxcursor.C: attempt to add some documentation
11086 * ToolbarDefaults.C:
11087 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11088 merge with LFUN_TABULAR_INSERT
11095 * pspell.C: split up i/pspell implementations into separate
11096 files, many cleanups
11098 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11100 * text2.C: some cleanup
11102 * lyxfunc.C: don't check for isp_command == "none" any more, it
11103 didn't make any sense
11105 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11110 * makefile.am: move counters functionality over
11111 from text2.C/paragraph.[Ch] to counters.[Ch], and
11113 2002-08-02 John Levon <levon@movementarian.org>
11115 * buffer.C: s/lyxconvert/lyx2lyx/
11117 2002-08-02 Angus Leeming <leeming@lyx.org>
11119 * lyxlex.C: revert John's change as it breaks reading of the user
11122 2002-08-02 Angus Leeming <leeming@lyx.org>
11124 * importer.C (Import):
11125 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11126 changes due to LyXView::view() now returning a boost::shared_ptr.
11128 2002-08-02 John Levon <levon@movementarian.org>
11130 * lyxlex.C: small cleanup
11132 2002-08-02 John Levon <levon@movementarian.org>
11134 * text2.C (status): small cleanup, no logic change
11136 2002-08-01 John Levon <levon@movementarian.org>
11139 * buffer.C (writeFile): don't output alerts, caller
11143 * lyx_cb.C: from above
11145 * lyxfunc.C: allow to open non-existent files
11147 2002-07-31 John Levon <levon@movementarian.org>
11149 * lyxserver.C: don't let incidental errors get
11152 2002-07-30 John Levon <levon@movementarian.org>
11154 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11156 2002-07-30 John Levon <levon@movementarian.org>
11159 * lyxserver.C: remove I/O callback too
11161 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11163 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11166 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11168 * many files: strip,frontStrip -> trim,ltrim,rtrim
11170 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11172 * PrinterParams.h: remove extern containsOnly, and include
11173 support/lstrings.h instead.
11175 * LaTeX.C (scanAuxFile): modify because of strip changes
11177 * buffer.C (makeLaTeXFile): ditto
11178 * bufferparams.C (writeFile): ditt
11179 * lyxfont.C (stateText): ditto
11180 * lyxserver.C (read_ready): ditto
11181 * vc-backend.C (scanMaster): ditto
11183 * BufferView_pimpl.h: ws changes
11185 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11187 2002-07-26 André Pönitz <poenitz@gmx.net>
11189 * kb_sequence.C: remove unnedred usings
11191 2002-07-26 Juergen Vigna <jug@sad.it>
11193 * lyxfind.C (LyXReplace): we have to check better if the returned
11194 text is not of theLockingInset()->getLockingInset().
11196 2002-07-25 Juergen Vigna <jug@sad.it>
11198 * lyxfind.C (LyXReplace): don't replace if we don't get the
11201 * undo_funcs.C (createUndo): remove debugging code.
11203 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11205 * buffer.C (parseSingleLyXformat2Token): Use default placement
11206 when reading old floats.
11208 * FloatList.C (FloatList): Change the default placement of figure
11209 and tables to "tbp".
11211 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11213 * MenuBackend.C: using std::max
11215 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11217 * MenuBackend.C (expandToc):
11218 (expandToc2): code moved from xforms menu frontend. It is now
11219 generic and TOCs are transparent to menu frontends.
11221 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11223 * toc.C (getTocList): protect against buf=0
11225 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11226 Menu as first parameter. Now, this calls itself recursively to
11227 expand a whole tree (this will be useful for TOC handling)
11228 (expandFloatInsert): remove 'wide' version of floats
11230 * MenuBackend.h (submenuname): returns the name of the submenu.
11231 (submenu): returns the submenu itself, provided it has been
11232 created by MenuBackend::expand
11234 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11236 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11237 insets which have noFontChange == true. (bug #172)
11239 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11241 * BufferView_pimpl.C: add connection objects and use them...
11244 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11246 * MenuBackend.C (expandLastfiles):
11249 (expandFloatListInsert):
11250 (expandFloatInsert):
11251 (expand): split expand in parts
11253 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11255 * lyx_gui.C: use lyx_gui::exit()
11257 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11259 * LyXAction.C: show the failing pseudo action
11261 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11263 * buffer.C (readFile): Run the lyxconvert script in order to read
11266 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11270 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11272 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11276 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11278 2002-07-22 Herbert Voss <voss@lyx.org>
11281 * lyxlength.[Ch]: add support for the vertical lengths
11283 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11285 * toc.[Ch]: std:: fixes
11287 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11289 * lyxrc.C: do not include lyx_main.h
11291 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11297 * BufferView2.C: include "lyxlex.h"
11300 * bufferparams.h: do not #include "lyxlex.h"
11302 * lyxtextclasslist.C (Add): remove method
11303 (classlist): renamed to classlist_
11305 * paragraph_pimpl.C:
11309 * bufferview_funcs.C:
11314 * toc.C (getTocList): use BufferParams::getLyXTextClass
11316 * toc.C (getTocList): use InsetFloat::addToToc
11318 * toc.[Ch]: new files, containing helper functions to handle table
11321 * lyxfunc.C (dispatch): no need to remove spaces around command
11323 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11324 first command of the sequence; it is not very clever, but I do not
11325 have a better idea, actually
11327 * LyXAction.C (LookupFunc): make sure to remove space at the
11328 beginning and end of the command
11330 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11332 * MenuBackend.C (getMenubar): new method: return the menubar of
11334 (read): treat differently reading of menu and menubar (in
11335 particular, the menubar has no name now)
11336 (Menu::menubar): remove
11338 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11341 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11343 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11344 a bibitem inset in a RTL paragraph.
11346 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11348 * paragraph_pimpl.C: constify
11350 * BufferView_pimpl.C:
11352 * lyxfunc.C: fix dispatch in a nicer way
11354 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11356 * lyxfunc.C (dispatch):
11357 * BufferView_pimpl.C:
11358 * BufferView_pimpl.h:
11360 * BufferView.h: rename Dispatch() to dispatch()
11362 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11364 * lyxlayout.C (Read): honor DependsOn tag
11366 * lyxlayout.[Ch] (depends_on): new method
11368 * version.C.in: update lyx_docversion
11370 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11372 * paragraph.C (validate): remove from here...
11373 * paragraph_pimpl.C (validate): ... and move here
11374 (isTextAt): make it const
11376 * buffer.C (getLists): ws cleanup
11378 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11380 * language.C (read): Use iso8859-1 encoding in latex_lang
11381 (this prevents LyX from crashing when using iso10646-1 encoding).
11383 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11385 * text2.C (toggleInset): if cursor is inside an inset, close the
11386 inset and leave cursor _after_ it
11388 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11390 * lyxfunc.C: move minibuffer completion handling out of here
11392 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11394 * BufferView_pimpl.C:
11395 * LaTeX.C: fix dispatch calls
11397 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11399 * text.C (drawChars): Fix Arabic text rendering.
11401 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11405 * lyxfunc.C: remove message-push/pop
11409 * lyxfunc.C: rationalise some code by removing verboseDispatch
11410 in favour of a bool argument to dispatch()
11412 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11414 * lyx_main.C (init): make sure to read symlinks as absolute paths
11416 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11419 * lyxfunc.C: no need for commandshortcut to be a member
11421 2002-07-15 André Pönitz <poenitz@gmx.net>
11423 * converter.C: add support for $$s (scripts from lib/scripts dir)
11424 * lyx_main.C: white space
11426 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11430 * lyxrc.C: remove second exit confirmation
11432 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11437 * BufferView_pimpl.h:
11438 * BufferView_pimpl.C:
11439 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11441 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11443 * MenuBackend.C (expand): add numeric shortcuts to document menu
11445 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11447 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11449 * lyxfont.C (setLyXFamily):
11456 * buffer.C (asciiParagraph): use ascii_lowercase
11458 2002-07-15 Mike Fabian <mfabian@suse.de>
11460 * lyxlex_pimpl.C (search_kw):
11461 * lyxlex.C (getLongString):
11462 * converter.h (operator<):
11463 * converter.C (operator<):
11464 * buffer.C (parseSingleLyXformat2Token):
11466 * ToolbarDefaults.C (read):
11467 * MenuBackend.C (checkShortcuts):
11469 * LColor.C (getFromGUIName):
11470 (getFromLyXName): use the compare_ascii_no_case instead of
11471 compare_no_case, because in turkish, 'i' is not the lowercase
11472 version of 'I', and thus turkish locale breaks parsing of tags.
11474 2002-07-16 Angus Leeming <leeming@lyx.org>
11476 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11477 now takes a Buffer const & argument.
11479 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11481 * BufferView.C (resize): check there's a buffer to resize
11483 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11485 * lyxfunc.C: remove dead code
11488 * lyxserver.C: use lyx_guii::set_read_callback
11490 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11492 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11493 an inset in a RTL paragraph.
11495 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11497 * lyxfunc.C: repaint after a font size update
11499 2002-07-15 André Pönitz <poenitz@gmx.net>
11501 * lyxlength.C: inBP should be able to return negative values
11503 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11505 * lyxfunc.C: use lyx_gui::update_fonts()
11507 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11509 * lyxfunc.C: use lyx_gui::update_color()
11511 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11517 * lyxrc.C: remove file->new asks for name option, and let
11518 buffer-new take an argument
11520 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11522 * BufferView_pimpl.C: remove unneeded extra repaint()
11524 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11526 * LyXAction.C: allow command-sequence with NoBuffer
11528 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11530 2002-07-10 Angus Leeming <leeming@lyx.org>
11532 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11534 2002-07-09 Angus Leeming <leeming@lyx.org>
11536 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11538 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11540 * lengthcommon.h: whitespace
11542 * lyxfunc.C: update scrollbar after goto paragraph
11544 * lyxtext.h: factor out page break drawing, and fix it so
11545 page break/added space paints as selected nicely
11547 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11549 * BufferView_pimpl.C: add FIXMEs, clean up a little
11551 2002-07-09 André Pönitz <poenitz@gmx.net>
11553 * lyxfont.[Ch]: support for wasy symbols
11555 2002-07-08 André Pönitz <poenitz@gmx.net>
11557 * BufferView_pimpl.C: apply John's patch for #93.
11559 2002-07-05 Angus Leeming <leeming@lyx.org>
11561 * BufferView_pimpl.C (buffer): generate previews if desired.
11563 * LColor.h: add "preview" to the color enum.
11565 * LColor.C (LColor): add a corresponding entry to the items array.
11567 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11570 2002-07-05 Angus Leeming <leeming@lyx.org>
11572 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11573 The body of the code is now in the method that is passed an ostream &
11574 rather than a file name.
11575 Pass an additional only_preamble parameter, useful for the forthcoming
11578 2002-07-03 André Pönitz <poenitz@gmx.net>
11580 * lyxfunc.C: simplify getStatus() a bit for math stuff
11582 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11584 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11586 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11588 * text.C (changeRegionCase): do not change case of all the
11589 document when region ends at paragraph end (bug #461)
11591 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11593 * paragraph.C (startTeXParParams):
11594 (endTeXParParams): add \protect when necessary
11596 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11598 * BufferView_pimpl.C (workAreaExpose): remove warning
11600 2002-06-27 Angus Leeming <leeming@lyx.org>
11602 * Makefile.am: add lyxlayout_ptr_fwd.h.
11604 2002-06-26 André Pönitz <poenitz@gmx.net>
11606 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11608 2002-06-25 Angus Leeming <leeming@lyx.org>
11610 * lyxfunc.C (dispatch): Comment out the call to
11611 grfx::GCache::changeDisplay. The method no longer exists now that the
11612 pixmap generation part of the graphics loader has been moved into
11615 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * text2.C: layout as layout
11619 * text.C: layout as layout
11621 * tabular.C (OldFormatRead): layout as layout
11623 * paragraph_pimpl.C (TeXDeeper): layout as layout
11624 (realizeFont): layout as layout
11626 * paragraph.C (writeFile): layout as layout
11627 (validate): layout as layout
11628 (getFont): layout as layout
11629 (getLabelFont): layout as layout
11630 (getLayoutFont): layout as layout
11631 (breakParagraph): layout as layout
11632 (stripLeadingSpaces): layout as layout
11633 (getEndLabel): layout as layout
11634 (getMaxDepthAfter): layout as layout
11635 (applyLayout): layout as layout
11636 (TeXOnePar): layout as layout
11637 (simpleTeXOnePar): layout as layout
11638 (TeXEnvironment): layout as layout
11639 (layout): layout as layout
11640 (layout): layout as layout
11642 * lyxtextclass.C (compare_name): new functor to work with
11643 shared_ptr, layout as layout
11644 (Read): layout as layout
11645 (hasLayout): layout as layout
11646 (operator): layout as layout
11647 (delete_layout): layout as layout
11648 (defaultLayout): layout as layout
11650 * lyxlayout_ptr_fwd.h: new file
11652 * lyxlayout.C (Read): layout as layout
11654 * lyx_cb.C (MenuInsertLabel): layout as layout
11656 * bufferlist.C (newFile): layout as layout
11658 * buffer.C (readLyXformat2): layout as layout
11659 (parseSingleLyXformat2Token): layout as layout
11660 (insertStringAsLines): layout as layout
11661 (asciiParagraph): layout as layout
11662 (latexParagraphs): layout as layout
11663 (makeLinuxDocFile): layout as layout
11664 (simpleLinuxDocOnePar): layout as layout
11665 (makeDocBookFile): layout as layout
11666 (simpleDocBookOnePar): layout as layout
11667 (getLists): layout as layout
11669 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11671 * CutAndPaste.C (cutSelection): layout as layout
11672 (pasteSelection): layout as layout
11673 (SwitchLayoutsBetweenClasses): layout as layout
11675 * BufferView_pimpl.C (Dispatch): layout as layout
11676 (smartQuote): layout as layout
11678 * BufferView2.C (unlockInset): layout as layout
11680 2002-06-24 André Pönitz <poenitz@gmx.net>
11682 * lyxfunc.C: fix #487
11684 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11688 * lyxfunc.C: remove display_shortcuts, show_banner
11690 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11692 * Buffer_pimpl.C: oops, update on resize
11694 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11701 * BufferView.C: use repaint()
11703 * BufferView_pimpl.h:
11704 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11705 as it's a clearer description. Remove superfluous
11708 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11710 * text.C: fix bug 488. Not ideal, but getting
11711 getWord() to work properly for the insets that
11712 matter is more difficult ...
11714 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11716 * BufferView_pimpl.C:
11719 * lyxfunc.C: remove the six million index lyxfuncs to just
11720 one, and DTRT (bug 458)
11722 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11726 * BufferView_pimpl.h:
11727 * BufferView_pimpl.C: clean up resize() stuff,
11728 and unnecessary updateScreen()s
11730 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11734 * BufferView_pimpl.h:
11735 * BufferView_pimpl.C:
11738 * minibuffer.C: remove focus management of workarea,
11739 not needed. Use screen's greyOut()
11741 2002-06-17 Herbert Voss <voss@lyx.org>
11743 * converter.C: (convert) do not post a message, when converting
11744 fails, let the calling function decide what to do in this case
11746 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11748 * lyxfunc.C: tidy up a little
11750 2002-06-16 <alstrup@diku.dk>
11752 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11753 Got rid of FORMS_H_LOCATION include. Now we are
11756 2002-06-15 LyX Development team <lyx@rilke>
11758 * buffer.[Ch] (sgmlOpenTag):
11759 (sgmlCloseTag): Added support for avoiding pernicious mixed
11760 content. Return number of lines written.
11762 (makeLinuxDocFile):
11763 (makeDocBookFile): Fixed calls to sgml*Tag.
11764 Simple white space clean.
11766 (simpleDocBookOnePar): Simple white space clean.
11768 * tabular.[Ch] (docBook): Renamed to docbook and got another
11769 argument to related with the pernicious mixed content.
11771 (docbookRow): Fixed calls for docbook inset method.
11773 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11775 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11776 so it's X11 independent.
11780 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11782 2002-06-15 Lyx Development team <lyx@electronia>
11784 * intl.h: Renamed getTrans to getTransManager.
11786 2002-06-14 Angus Leeming <leeming@lyx.org>
11788 * Makefile.am: nuke forgotten stl_string_fwd.h.
11790 2002-06-12 Angus Leeming <leeming@lyx.org>
11792 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11794 2002-06-13 Angus Leeming <leeming@lyx.org>
11797 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11799 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11801 * kbmap.C (getiso): add support for cyrillic and greek
11803 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11807 * BufferView_pimpl.h:
11808 * BufferView_pimpl.C: move bogus scrolling logic
11811 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11814 * BufferView_pimpl.C: view->resize() change
11816 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11818 * BufferView_pimpl.C: topCursorVisible
11821 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11825 * lyx_gui.C: move to frontends/
11829 * lyx_main.C: changes from above
11831 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11838 * lyx_main.C: minor tidy
11840 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11842 * BufferView_pimpl.h:
11843 * BufferView_pimpl.C:
11845 * BufferView.C: make painter() const,
11848 * BufferView2.C: use screen() accessor
11851 * lyx_main.C: some minor cleanup
11853 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11855 * BufferView_pimpl.h:
11856 * BufferView_pimpl.C: remove enter/leaveView,
11859 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11864 * BufferView_pimpl.h:
11865 * BufferView_pimpl.C: only construct screen once,
11868 * lyxrc.C: remove pointless comment
11870 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11873 * BufferView.C: remove active() and belowMouse()
11875 * BufferView_pimpl.h:
11876 * BufferView_pimpl.C: use workarea() not workarea_,
11877 and make it use a scoped_ptr instead
11879 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11881 * lyx_gui.C: add debug message on BadWindow
11883 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11885 * sp_spell.C: fdopen is not part of the C++ standard.
11887 * paragraph.C (InsetIterator): use >= instead of ==
11889 2002-06-07 Angus Leeming <leeming@lyx.org>
11891 Fixes needed to compile with Compaq cxx 6.5.
11892 * BufferView_pimpl.C:
11899 * lyxtextclasslist.C:
11904 all c-library variables have been moved into namespace std. Wrap
11905 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11910 Add a using std::abs declaration.
11912 * kbmap.h (modifier_pair):
11913 * paragraph.h (InsetTable, InsetList):
11914 * lyxfont.h (FontBits):
11915 type definition made public.
11917 * bufferlist.C (emergencyWriteAll): the compiler complains that
11918 there is more than one possible lyx::class_fun template to choose from.
11919 I re-named the void specialisation as lyx::void_class_fun.
11921 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11923 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11924 the compiler is is unable to find tostr in write_attribute.
11926 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11928 * buffer.C (sgmlError): hide #warning
11930 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11932 * xtl/*: get rid of xtl, which is not in use anyway
11934 * LyXAction.C (init):
11935 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11936 were unimplemented xtl experimentation
11938 2002-06-04 André Pönitz <poenitz@gmx.net>
11940 * lyxfunc.C: disable array operation on simple formulae
11942 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11944 * converter.C: constify a bit
11946 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11948 * lyx_gui.C: check xforms version correctly
11950 2002-04-30 Herbert Voss <voss@lyx.org>
11952 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11955 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11957 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11958 attempt to register it with a VCS)
11960 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11962 * lyx_main.C (init): honor variables LYX_DIR_13x and
11965 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11969 * lyx_main.C: fix a crash on bad command line,
11970 and give a useful exit status on error
11972 * lyxfunc.C (doImport): allow -i lyx to work
11974 2002-03-30 André Pönitz <poenitz@gmx.net>
11976 * lyxfunc.C: mathed font changes
11978 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11993 * trans_mgr.h: srcdocs, and some minor cleanups
11995 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11997 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11998 call getFont all the time)
12000 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12002 * switch from SigC signals to boost::signals
12004 2002-05-29 André Pönitz <poenitz@gmx.net>
12006 * paragraph_pimpl.C (getChar): don't call size() too often...
12008 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12010 * paragraph_pimpl.C (insertChar): do not try to update tables when
12011 appending (pos == size())
12013 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12014 in order to reduce drastically the number of comparisons needed to
12015 parse a large document
12017 2002-05-29 André Pönitz <poenitz@gmx.net>
12023 * textclasslist.[Ch]:
12024 * sp_ispell.h: whitespace change
12026 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12029 lyxaction directly now.
12031 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12035 * lyxvc.C: remove unused headers
12037 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12044 * undo_funcs.C: some cleanups. Use shared_ptr
12045 and a template for the undo stacks.
12047 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12049 * BufferView_pimpl.h:
12050 * BufferView_pimpl.C:
12057 * text2.C: use key_state/mouse_state
12059 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12061 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12064 * chset.C: change include order
12065 (loadFile): use boost regex and get rid of LRegex and LSubstring
12067 * Makefile.am (BOOST_LIBS): new variable
12068 (lyx_LDADD): use it
12070 * LaTeX.C: change include order.
12071 (scanAuxFile): use boost regex and get rid of LRegex and
12075 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12080 * FontInfo.C: moved to frontends/xforms/
12083 * FontLoader.C: moved into frontends for GUIIzation
12088 * lyxfunc.C: changes from above
12090 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12092 * LColor.C: remove spurious X include
12094 * BufferView_pimpl.C:
12099 * text2.C: move font metrics to frontends/
12101 2002-05-24 Juergen Vigna <jug@sad.it>
12103 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12104 setting the undo_cursor.
12106 * ParagraphParameters.h: include local includes first.
12108 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12110 * BufferView_pimpl.C:
12111 * BufferView_pimpl.h:
12115 * screen.C: move WorkArea into frontends/
12121 * BufferView2.C: move LyXScreen into frontends/
12125 * lyx_gui.C: move lyxlookup into frontends/xforms/
12127 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12130 * BufferView_pimpl.C:
12140 * bufferview_funcs.C:
12153 * vc-backend.C: move LyX/XFormsView into frontends/
12155 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12167 * text2.C: move Painter to frontends/
12169 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12171 * buffer.C: comment out some some code that depend upon lyx_format
12174 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12175 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12177 * buffer.h (NO_COMPABILITY): turn off compability
12179 * ColorHandler.C: include scoped_array.hpp
12181 * font.C: Use more specific smart_ptr header.
12184 * ShareContainer.h: ditto
12185 * lyx_main.h: ditto
12187 * FontInfo.h: ditto
12188 * BufferView_pimpl.h: ditto
12189 * ColorHandler.h: ditto
12191 * kbmap.C (defkey): change call to shared_ptr::reset
12193 2002-05-21 Juergen Vigna <jug@sad.it>
12195 * buffer.C (insertErtContents): fix to insert ert asis if it is
12196 non empty. Skip it completely if it contains only whitespaces.
12198 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12200 * BufferView_pimpl.C:
12201 * BufferView2.C: clear selection on paste (bug 393)
12203 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12205 * DepTable.C: include ctime
12207 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12209 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12211 2002-05-14 Juergen Vigna <jug@sad.it>
12213 * text.C (breakParagraph): fixed function to honor the keepempty
12214 layout in the right maner and also to permit the right breaking
12215 algorithm on empty or non empyt keepempty paragraphs.
12217 * paragraph.C (breakParagraph): we have to check also if the par
12218 is really empty (!size()) for isempty otherwise we do the wrong
12221 2002-05-10 Juergen Vigna <jug@sad.it>
12223 * buffer.[Ch] : The following are only changes to the ert
12224 compatibility read reading old LaTeX layout and font stuff and
12225 convert it to ERTInsets.
12227 * buffer.h: added isErtInset().
12229 * buffer.C (struct ErtComp): add a fromlayout bool to check
12230 if we're inside a LaTeX layout.
12231 (isErtInset): new helper function.
12232 (insertErtContents): look for other ert insets before this one
12233 and insert the contents there, so that we don't have subsequent
12234 ERT insets with nothing between them. This way we create only one
12235 inset with multiple paragraphs. Also check if we don't insert only
12236 spaces ' ' as they are ignored anyway afterwards in the .tex file
12237 so if we have only spaces we will ignore this latex part in the
12239 (parseSingleLyXformat2Token \\layout): better compatibility when
12240 reading layout-latex stuff.
12241 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12243 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12244 stuff after reading the inset only get the information back from
12247 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12249 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12251 * LaTeXFeatures.C (getBabelOptions): New method.
12253 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * BufferView_pimpl.C (Dispatch): work around missing argument for
12258 2002-05-08 Juergen Vigna <jug@sad.it>
12260 * text.C (leftMargin): handle paragraph leftindent.
12262 * paragraph.C (writeFile): write the new \\leftindent tag.
12263 (validate): handle leftindent code.
12264 (TeXEnvironment): handle paragraphleftindent code again.
12266 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12268 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12269 for paragrap_extra indent code and new token \\leftindent.
12270 (latexParagraphs): handle the leftindent as environment.
12272 * ParameterStruct.h: added leftindent support.
12274 * ParagraphParameters.C (leftIndent): added support functions for
12275 the paragraph left indent.
12277 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12280 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12282 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12285 * text.C (computeBidiTables): No bidi in insetERT.
12287 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12290 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12292 * version.C.in: pre 5
12294 2002-05-02 José Matos <jamatos@fep.up.pt>
12295 * buffer.C (makeDocBookFile): white space changes, add newline to
12297 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12299 * tabular.C (docBook): fix typo.
12301 2002-05-03 Juergen Vigna <jug@sad.it>
12303 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12304 change in LyXText as we can not be sure it was not freed.
12305 (drawOneRow): remove unused code.
12307 * text.C (drawInset): redo the calculation of the need_break_row as
12308 it could have a row which was already freed.
12309 (draw): look at the return value of drawInset and return false if
12310 it also returned false.
12311 (paintRowText): look at the return value of draw and return false if
12312 it also returned false.
12314 * lyxtext.h: added bool return type to drawInset() and draw() so that
12315 if we have a change in the row so that the rowbreak has to be redone
12316 we abort drawing as it will be called again.
12318 2002-05-02 Juergen Vigna <jug@sad.it>
12320 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12321 a change in the maintext also if we're inside an inset.
12322 (Dispatch): set the cursor again after a break line and after the
12323 screen has been updated as it could be we're in a different row.
12325 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12326 to set the cursor behind the pargraph with > size().
12327 (setCursor): check also for the same paragraph when checking where
12328 to put the cursor if we have a NFR inset.
12330 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12331 parts of layout read further up as it still was in the wrong
12334 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * screen.C (drawFromTo): change sine fullRebreak always return
12339 * buffer.C (parseSingleLyXformat2Token): reindent some
12341 * BufferView_pimpl.C (update): change since fullRebreak always
12343 (Dispatch): git rid of the last hardcoded "Standard"s.
12345 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12347 * text2.[Ch] (fullRebreak): make it return void now that we always
12350 2002-04-30 Juergen Vigna <jug@sad.it>
12352 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12353 ert compatibility check for "latex" layout.
12355 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12357 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12358 minipages: use col% instead of p%, and also use the current font.
12359 (makeLaTeXFile): Fix use babel condition.
12360 (parseSingleLyXformat2Token): Correct font when reading old floats.
12362 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12364 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12365 inserting list of floats.
12367 2002-04-25 Herbert Voss <voss@lyx.org>
12369 * MenuBackend.C (expand): don't add the graphics extensions to the
12372 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12374 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12375 non-existing layout, do not complain if it was the default layout
12376 of the original class (bug #342)
12378 2002-04-24 Juergen Vigna <jug@sad.it>
12380 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12381 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12383 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12385 * buffer.C (getBibkeyList): If using \bibliography, return the
12386 option field with the reference itself. Enables us to provide natbib
12387 support when using \bibliography.
12389 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12391 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12393 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12394 natbib is provided by the LaTeX class.
12396 2002-04-23 Juergen Vigna <jug@sad.it>
12398 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12401 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12403 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12405 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12407 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12408 ensuremath around textordmasculine, textordfeminine and
12411 2002-04-19 Juergen Vigna <jug@sad.it>
12413 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12414 reinitializing the buffer otherwise row-dimensions may be wrong.
12415 (update): reset also the selection cursors if they do exits otherwise
12416 their x/y positions may be wrong.
12418 * text2.C (cursorDown): don't enter the inset if we came from a row
12419 above and are one row over the inset.
12421 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12422 really leaving an inset.
12424 2002-04-18 Juergen Vigna <jug@sad.it>
12426 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12427 of the selected paragraph does not have the selected layout also if
12430 * text2.C (setLayout): fixed bug which did not change last selected
12433 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12434 changed the read and substituted \\end_float with \\end_inset!
12436 * BufferView_pimpl.C (cursorPrevious):
12437 (cursorNext): fixed to make it work with rows heigher than the work
12438 area without moving the cursor only the draw of the row.
12439 (workAreaMotionNotify): fix jumping over high rows.
12441 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12443 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12446 2002-04-16 Juergen Vigna <jug@sad.it>
12448 * text2.C (setCursor): set also the irow().
12449 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12451 (cursorDown): support for locking an inset if the x_fix value goes
12452 inside it. That way I can transverse insets too with cursor up/down.
12454 * lyxrow.h: added irow helper function same as other (i) functions.
12456 * BufferView_pimpl.C (cursorPrevious):
12457 (cursorNext): fixed for insets!
12459 2002-04-15 Juergen Vigna <jug@sad.it>
12461 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12462 position otherwise it is wrong in some cases.
12464 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12465 inside the inset before the call.
12467 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12469 * buffer.[Ch] (getBibkeyList): make it const.
12471 2002-04-12 Juergen Vigna <jug@sad.it>
12473 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12475 * text2.C (getCursorX): new helper function
12476 (setCursor): compute also ix_
12477 (setCursorFromCoordinates): set also ix.
12479 * lyxcursor.h: added ix_ and helper functions.
12481 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12483 * buffer.C (insertStringAsLines): dont break paragraph if the this
12484 paragraph is inside an inset which does not permit it!
12486 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12487 also with no chars on this paragraph.
12488 (paintRowText): only paint stuff if it's inside the workarea!
12490 * paragraph.C (breakParagraph): honor keepempty flag and break the
12491 paragraph always below not above.
12493 * BufferView2.C (unlockInset): update the paragraph layout on inset
12494 unlock as we changed paragraph in such a case.
12496 * lyxfind.C (LyXFind): clear the former selection if not found!
12498 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12499 again called in insertChar().
12501 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12502 an inset which uses the whole row!
12503 (rightMargin): ditto.
12504 (insertChar): force a rebreak if we inserted an inset!
12506 2002-03-28 Herbert Voss <voss@lyx.org>
12508 * lyxlength.[Ch]: add inBP() to get the right PS-point
12509 units (BigPoint). With inPixels we have rounding errors
12511 2002-04-11 Juergen Vigna <jug@sad.it>
12513 * text2.C (setCursorFromCoordinates): set iy to the right value.
12514 (setCursor): add check if row->previous exists!
12516 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12517 an old float_type as this was the case in the old code!
12519 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12521 * BufferView2.C (showLockedInsetCursor): use iy
12522 (fitLockedInsetCursor): ditto
12524 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12525 locked insets as there we have the right value now.
12527 * lyxcursor.C: added iy_ variable and iy functions to set to the
12528 baseline of cursor-y of the locked inset.
12530 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12531 (setCursor): fixed for insets which need a full row.
12533 * text.C (rowLastPrintable): don't ignore the last space when before
12534 an inset which needs a full row.
12535 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12536 as last character of a row when before a inset which needs a full row.
12538 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * version.C.in: update date
12542 * text2.C (fullRebreak): try to always return true and see what
12545 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12547 * MenuBackend.C (expand): use Floating::listName
12549 * FloatList.C (FloatList): add listName argument to the built-in
12552 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12553 text associated with the float.
12555 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12557 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12559 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12561 * ShareContainer.h: add a couple of missing typenames.
12563 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12565 * lyxrc.C (getDescription): use _() correctly rather than N_().
12567 2002-03-28 Herbert Voss <voss@lyx.org>
12569 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12570 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12572 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12574 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12575 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12577 2002-03-29 Juergen Vigna <jug@sad.it>
12579 * lyxfunc.C (dispatch): add a missing fitCursor call.
12581 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12582 it was scrolled by a cursor move, so return the bool status.
12584 * BufferView.C (fitCursor): return the bool flag also to the outside
12585 world as this is needed.
12587 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12589 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12590 call the edit() as it is not needed (and wrong) IMO.
12591 (workAreaButtonPress): set the screen_first variable before evt.
12592 unlock the inset as this may change screen_first and then we have
12593 a wrong y position for the click!
12595 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12597 * MenuBackend.C (expand): another translation that I missed
12599 2002-03-28 Juergen Vigna <jug@sad.it>
12601 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12603 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12605 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12607 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12609 * MenuBackend.C (expand): fix export/view/update when there is no
12612 2002-03-27 Herbert Voss <voss@lyx.org>
12614 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12617 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12619 * bufferview_funcs.C (currentState): only show paragraph number
12620 for is DEVEL_VERSION is set.
12622 * lyxfunc.C (dispatch): put warning in INFO channel
12624 * MenuBackend.C (expand): translate the name of floats
12626 * FloatList.C (FloatList): mark the float names for translation
12628 * converter.C (convert): use LibScriptSearch
12630 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12632 * MenuBackend.C (defaults): fix default menu (we might as well get
12635 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12637 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12640 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12642 * lyxvc.C: reorder includes.
12644 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12646 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12649 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12651 * CutAndPaste.C: change layouts earlier on paste
12652 to avoid crashing when calling getFont()
12654 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12656 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12659 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * WorkArea.C: remove 'Pending' debug message.
12663 * most files: ws cleanup
12665 * buffer.[Ch]: ws changes
12667 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12669 2002-03-21 Juergen Vigna <jug@sad.it>
12671 * tabular.C (SetMultiColumn): collapse also the contents of the
12672 cells and set the last border right. Added a Buffer const * param.
12674 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12679 2002-03-19 Juergen Vigna <jug@sad.it>
12681 * text2.C (clearSelection): reset also xsel_cache.
12683 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12684 where it needs to be called (John tells us to do so too :)
12685 (selectionLost): reset sel_cache.
12687 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12689 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12691 * text2.C (setCursorIntern): put debuging code in INSETS channel
12693 2002-03-19 André Pönitz <poenitz@gmx.net>
12695 * lyxfunc.C: tiny whitespace change
12697 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12699 * ToolbarDefaults.C (init):
12700 * LyXAction.C (init):
12702 * BufferView_pimpl.C (Dispatch):
12703 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12705 2002-03-19 Allan Rae <rae@lyx.org>
12707 * exporter.C (Export): removeAutoInsets before doing anything else.
12708 While I've just introduced a dependency on BufferView this really is
12709 the best place to clean the buffer otherwise you need to cleanup in
12710 a dozen places before calling export or cleanup in a dozen functions
12713 * converter.C (runLaTeX):
12714 (scanLog): Better handling of removeAutoInsets and screen updates.
12716 * lyxfunc.C (dispatch): small whitespace changes
12718 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * WorkArea.C (C_WorkAreaEvent): return a value.
12721 (event_cb): return 1 if we handled the event, 0 otherwise.
12723 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12725 2002-03-18 Juergen Vigna <jug@sad.it>
12727 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12728 (GetAdditionalWidth): ditto.
12729 (RightLine): ditto.
12732 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12733 inset if we're there actually (probably not used right now but this
12734 is the direction to go for unifying code).
12735 (paste): disable code to clear the selection.
12737 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12738 inside an InsetText and move the check further up as it is in the
12741 * text2.C (pasteSelection): set a selection over the pasted text.
12743 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12745 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12746 and libgraphics to build on Cygwin.
12748 2002-03-15 Juergen Vigna <jug@sad.it>
12750 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12751 inserting an Inset into the paragraph. I know this is not the best
12752 fix but we already use current_view in CutAndPaste so we will remove
12753 all of it's using at the same time.
12755 * buffer.C (sgmlError): deactivated function till it is rewritten in
12756 the right mode, now it can create problems.
12758 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12759 before accessing it.
12761 2002-03-14 Juergen Vigna <jug@sad.it>
12763 * undo_funcs.C (textHandleUndo): do the right thing when updating
12764 the inset after the undo/redo.
12766 * text2.C (setCursor): just some testcode for #44 not ready yet.
12768 * undo_funcs.C (textHandleUndo): set the next() and previous()
12769 pointers of the paragraph to 0 before deleting otherwise we have
12770 problems with the Paragraph::[destructor].
12772 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12773 on a paragraph insertion.
12775 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * buffer.C (asciiParagraph): use += operator for char append to
12780 * paragraph.C (getFontSettings): compare >= not just >
12781 (highestFontInRange): ditto
12784 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * paragraph.C: change several algorithm to be more appripriate for
12787 the problem domain. This is lookip in FontList and in the InsetList.
12789 2002-03-13 André Pönitz <poenitz@gmx.net>
12792 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12794 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12799 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12801 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12803 * Painter.C (display): anon helper function, adjust code for this
12805 (pixmap): remove function.
12807 * Painter.h: remove private display variable.
12809 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12811 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12813 * WorkArea.[Ch]: remove figinset_canvas cruft.
12815 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * lyxtextclass.C (operator): add one item cache optimization.
12819 * bufferlist.h: doxy changes
12821 * bufferlist.C: ws changes
12823 * DepTable.[Ch] (ext_exist): place const in the right spot.
12825 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12827 (workAreaExpose): call resizeInsets when the with BufferView changes.
12828 (Dispatch): adjust for protectedBlank removal
12829 (specialChar): call updateInset if the insert went ok.
12831 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12832 specialChar instead.
12834 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12836 * BufferView.h: doxy change
12838 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12840 * lyxtextclass.C (operator[]): remove non-const version
12841 (defaultLayout): remove non-const version
12843 2002-03-12 Juergen Vigna <jug@sad.it>
12845 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12846 did resize the LyXText too.
12848 * buffer.C (readLyXformat2): set layout information on newly allocated
12851 * tabular.C (OldFormatRead): set layout information on the paragraph.
12853 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12855 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12857 2002-03-11 Juergen Vigna <jug@sad.it>
12859 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12861 (resizeCurrentBuffer): force also the insets to resize themselfes.
12862 (moveCursorUpdate): fixed up for InsetText.
12864 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12867 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12868 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12869 value of Dialogs::tooltipsEnabled().
12870 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12872 2002-03-08 Juergen Vigna <jug@sad.it>
12874 * BufferView_pimpl.C (updateInset): update inset inside inset also
12875 if it isn't inside theLockingInset().
12877 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * buffer.C (asciiParagraph): redo some of the word and line length
12881 (getLists): look for Caption instead of caption.
12883 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12885 * buffer.C (Buffer): initialize niceFile to true
12887 (makeLinuxDocFile):
12888 (makeDocBookFile): make sure niceFile is true on exit
12890 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12892 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12894 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12896 * LyXSendto.C: remove.
12897 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12898 * lyx_gui.C: remove now-redundant comment.
12899 * ColorHandler.h: remove forward declaration of class WorkArea.
12900 * lyxfunc.C: remove #include "WorkArea.h".
12902 2002-03-07 Juergen Vigna <jug@sad.it>
12904 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12905 got moved away with the DEPM and also set the inset_owner always
12906 right which before could have been omitted.
12908 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12910 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12911 wanted layout is not found.
12913 2002-03-07 Juergen Vigna <jug@sad.it>
12915 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12917 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12919 * paragraph.C (breakParagraph): use default layout not layout of
12921 (Paragraph): clear ParagraphParameters.
12923 2002-03-06 Juergen Vigna <jug@sad.it>
12925 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12926 otherwise it would not be a valid lenght. Fixed a special case in
12927 the minipage compatibility read where we end the document with a
12930 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12931 was set as it could be 0 for InsetTexts first entry.
12933 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * paragraph.C (writeFile): if layout is empty write out
12936 defaultLayoutName().
12938 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12939 file without named layout we set layout to defaultLayoutName().
12941 2002-03-06 Juergen Vigna <jug@sad.it>
12943 * CutAndPaste.C (copySelection): set layout for new paragraph.
12945 * text.C (prepareToPrint): leave ERT inset left aligned
12946 (leftMargin): don't indent paragraphs inside ERT insets
12948 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12950 * paragraph.C (breakParagraph): dont call clear do the work manually
12952 * paragraph.[Ch] (clear): remove function
12954 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * paragraph.C (Paragraph): dont call clear, the work has already
12959 * lyxtextclass.C (operator): assert if n is empty
12961 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12962 work manually instead.
12964 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12966 * BufferView_pimpl.C: protect selectionLost against text == 0
12968 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * text.C (breakParagraph): fix a setting layout to '0' problem.
12972 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12974 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12975 final location of file, for the included files, and graphics.
12977 2002-03-05 Juergen Vigna <jug@sad.it>
12979 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12981 2002-03-04 Juergen Vigna <jug@sad.it>
12983 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12985 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12986 last column of multicolumn cells.
12987 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12989 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12991 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12992 file if it doesn't go to a temporary file.
12994 * buffer.C (sgmlOpenTag):
12995 (sgmlCloseTag): remove extra newline insertion.
12997 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * text.C (getRowNearY): comment out debug msg
13001 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13003 * text2.C: first -> first_y
13005 * text.C (getRowNearY): add some attemts at a possible
13006 optimization, not working.
13008 * tabular.[Ch]: add BufferParams to several function so that newly
13009 created paragraph can be initialized to he default layotu for the
13012 * tabular-old.C (ReadOld): add buf->params to call of Init
13014 * screen.C: rename text->first to text->first_y
13016 * paragraph.C (breakParagraph): always set layout in the broken
13019 * lyxtextclass.C (Read): remove lowercase
13022 (delete_layout): ditto
13024 * lyxtext.h: rename first -> first_y
13026 * lyxlayout.C (Read): remove lowercase
13029 (obsoleted_by): ditto
13031 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13033 * buffer.C (insertErtContents): add params are to InsetERT
13034 (parseSingleLyXformat2Token): add code to check if a paragraphs
13035 layout really exist.
13036 (parseSingleLyXformat2Token): add params to several inset
13038 (asciiParagraph): remove lowercase, do the layout comparisons with
13041 * BufferView_pimpl.C (cursorNext): first -> first_y
13042 (resizeCurrentBuffer): first -> first_y
13043 (updateScrollbar): first -> first_y
13044 (scrollCB): first -> first_y
13045 (workAreaMotionNotify): first -> first_y
13046 (workAreaButtonPress): first -> first_y
13047 (checkInsetHit): first -> first_y
13048 (cursorPrevious): first -> first_y
13049 (cursorNext): first -> first_y
13050 (Dispatch): add buffer_->params to severl inset contructors
13052 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13054 * lyxlayout.C (Read): remove some debug info that I forgot.
13056 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13057 clean up the code slightly.
13058 (makeLinuxDocFile): ditto
13059 (makeDocBookFile): ditto
13061 * text2.C: layout as string
13063 * text.C: layout as string
13065 * paragraph_pimpl.C: layout as string
13067 * paragraph.[Ch]: layout as string
13069 * lyxtextclasslist.[Ch]: layout as string
13071 * lyxtextclass.[Ch]: layout as string
13073 * lyxtext.h: layout as string
13075 * lyxlayout.[Ch]: layout as string
13077 * lyx_cb.C: layout as string
13079 * bufferview_funcs.C: layout as string
13081 * bufferparams.C: layout as string
13083 * buffer.C: layout as string
13085 * LyXView.[Ch]: layout as string
13087 * LaTeXFeatures.[Ch]: layout as string
13089 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13091 * BufferView_pimpl.C: change current_layout to string, remove
13096 (workAreaButtonRelease): layout as string
13098 * BufferView2.C (unlockInset): adjust
13100 * vspace.C (asLatexCommand): use an explict temp variable.
13102 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13104 * Makefile.am: use FRONTEND_*
13106 2002-03-01 Juergen Vigna <jug@sad.it>
13108 * tabular.C (SetWidthOfMulticolCell): changed to something better
13109 I hope but still work in progress.
13110 (recalculateMulticolumnsOfColumn): renamed function from
13111 recalculateMulticolCells as it is more appropriate now.
13112 (SetWidthOfCell): calculate multicols better.
13114 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13116 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13118 * lyxfunc.C (processKeySym): print sequence also if it is
13119 `deleted' (complete)
13121 * kbsequence.C (print): print sequence even if it is deleted
13122 (complete would be a better word, actually).
13124 * lyxfunc.C (dispatch): print complete options after a prefix key
13126 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13128 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13130 * text2.C (setCharFont): eliminate setCharFont code duplication.
13132 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13134 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13135 LFUN_TABULAR_FEATURE (bug #177)
13137 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13139 * Makefile.am: remove figure.h
13141 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13143 * Bufferview_pimpl.C:
13155 * text2.C: remove #include "lyx_gui_misc.h".
13157 * LaTeX.C: added #include <cstdio>
13159 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13161 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13162 that the paragraph following this one can have.
13164 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13166 * vspace.C (asLatexCommand): fix bogus gcc warning
13168 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13170 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13172 * text2.C (setLayout): get rid of redundant code
13174 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13176 * text2.C (incDepth): make sure depth cannot be increased beyond
13179 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13181 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13182 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13184 * PainterBase.h (image):
13185 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13186 a LyXImage const *.
13188 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13192 * BufferView_pimpl.C:
13193 * BufferView_pimpl.h:
13213 * sp_spell.C: remove fig inset, and the crap house of
13214 cards that follows it
13216 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13221 * os2_errortable.h:
13222 * nt_defines.h: move .h into support/
13224 * vms_defines.h: remove
13226 * WorkArea.C: add space in debug output
13230 * buffer.C: add WITH_WARNINGS
13234 * bufferlist.C: s/retrive/retrieve/, add docs
13243 * chset.C: add docs
13245 * lyxgui.C: add ID to X error handler
13247 * lyxtestclass.c: fix typo
13249 2002-02-26 Juergen Vigna <jug@sad.it>
13251 * tabular_funcs.C (write_attribute): changed so that some default
13252 attributes are not written at all.
13253 (getTokenValue): set default values before trying to read the
13254 value so we have the return value always set as default if we don't
13255 find the token we search for.
13257 * tabular.C (Write): write bools as bools not as strings!
13259 2002-02-22 Juergen Vigna <jug@sad.it>
13261 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13262 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13264 * text.C (leftMargin): don't add an indent for paragraphs inside
13265 tabular cells (fix #208).
13267 2002-02-21 José Matos <jamatos@fep.up.pt>
13269 * tabular.C (docBook): fixed support for long tables.
13271 2002-02-20 Juergen Vigna <jug@sad.it>
13273 * text2.C (getFont): get the drawing font of the Inset if this
13274 paragraph is inside an inset (only important for InsetERT for now).
13276 * buffer.C (insertErtContents): use new lanugage params in ERT
13279 * CutAndPaste.C: commenting out seemingly uneeded code.
13281 2002-02-19 Allan Rae <rae@lyx.org>
13283 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13284 Iterators might be simple to use but they also get invalidated.
13285 (removeAutoInsets): renamed saved cursor tracking variables and added
13286 some comments to clarify what everything does.
13288 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13295 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13296 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13299 * vc-backend.h: remove #include "support/syscall.h"
13303 * converter.C: rearrange #includes in Lars' approved fashion.
13305 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13306 forward declare class Timeout in the header file.
13308 * XFormsView.C: changes due to the above.
13310 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13311 similar to LyXView.
13313 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13314 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13316 2002-02-18 José Matos <jamatos@fep.up.pt>
13318 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13321 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13323 * a lot of small ws changes
13324 * add a lot of using std::XXX
13325 * use std construcs some places where approp.
13326 * use some exisint stuff from lyxfunctional where approp.
13327 * Make file changes to use partial linking (lets test this now...)
13329 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13333 remove #include "support/syscontr.h" as it's redundant. Always has been.
13341 change Systemcalls::System to Systemcalls::Wait and
13342 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13343 No change of functionality, just reflects the stripped down Systemcalls
13346 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13348 * debug.[Ch]: add a GRAPHICS type to the enum.
13350 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13352 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13354 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13357 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13359 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13360 match the changes below.
13362 * text2.C (toggleInset): if there is not editable inset at cursor
13363 position, try to see if cursor is _inside_ a collapsable inset
13366 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13368 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13369 document menu has a nice checkbox
13371 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13373 * lyxlength.C (asLatexString): change PW to output as percent of
13376 * lengthcommon.C: change '%' to 't%'
13378 * lyxfunc.C (dispatch): a few comments from Martin
13380 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13384 * BufferView_pimpl.h:
13385 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13388 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13390 * vspace.C (inPixels): fix compiler warning
13392 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13394 * lyxfunc.C (getStatus): fix status message for disabled commands.
13396 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13398 * BufferView_pimpl.C: fix crash on close buffer
13399 during selection (#227)
13401 2002-01-27 Herbert Voss <voss@lyx.org>
13403 * buffer.C: link old Figure to new graphic inset
13405 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13407 * FontLoader.C (getFontinfo): Change the latex font names in order
13408 to match the names of type1inst.
13410 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13412 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13414 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13415 (extchanged): ditto
13417 (remove_files_with_extension): ditto
13418 (remove_file): ditto
13421 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13422 document is smaller than the work area height. Do not initialize
13423 static variables to 0.
13425 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13427 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13429 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13430 LFUN_LAYOUT_PARAGRAPHS.
13432 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13433 tabular. It is possible to provide a possible cell, which will
13434 typically be the actcell from the corresponding insettabular
13436 * lyxfunc.C (getStatus): small cleanup; disable
13437 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13440 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13442 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13444 * paragraph.C (startTeXParParams):
13445 (endTeXParParams): new methods. The LaTeX code to
13446 start/end paragraph formatting
13447 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13448 empty (fixes bug #200)
13450 * vspace.C (inPixels): adapt to the change below
13451 (inPixels): [later] more cleanups (remove unused variables)
13453 * lyxlength.C (inPixels): change to use a width and a height as
13456 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13458 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13459 Replaced with \paperwidth
13461 * DepTable.C (insert): add std:: qualifier
13463 2002-01-18 Allan Rae <rae@lyx.org>
13465 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13468 * text.C (drawInset): Turned out I didn't know enough about how
13469 rebreaking worked. This fixes most of the redraw problems. I see
13470 an occasional cursor trail when a line is broken now and the cursor
13471 placement can seem out by a few pixels also after a rebreak.
13473 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13475 * buffer.C (parseSingleLyXformat2Token): update because minipage
13476 width is now a LyXLength
13478 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13480 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13483 2002-01-17 Juergen Vigna <jug@sad.it>
13485 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13487 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13488 is set correctly and the inset is updated correctly.
13490 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13492 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13493 the beginning of the loop.
13495 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13497 * lyxrc.C: improve help for use_scalable_fonts
13499 2002-01-17 Allan Rae <rae@lyx.org>
13501 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13503 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13505 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13506 make sure to set their inset_owner to the right value (bug #171)
13508 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13511 * DepTable.C: Implement mtime checking to reduce time spent doing
13514 2002-01-16 Juergen Vigna <jug@sad.it>
13516 * tabular.C (GetAdditionalHeight): one of error fixed.
13518 * lyxrc.C (output): small fix in writing use_pspell.
13520 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13522 * sp_base.h: #include LString.h
13524 2002-01-16 Allan Rae <rae@lyx.org>
13526 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13527 Can someone check this please?
13529 * text.C (drawInset): It was possible that p.row would be removed by
13530 breakAgainOneRow upsetting a few other settings. There may be another
13531 small tweak possible by setting need_break_row = 0 when p.row has been
13532 removed but I don't know enough about the logic here.
13534 2002-01-15 Allan Rae <rae@lyx.org>
13536 * text.C (insertChar): removed conditional truism.
13538 * BufferView2.C (removeAutoInsets): More tweaks.
13539 cur_par_prev could be a stray pointer. Check for trailing empty line
13540 in case last line was cur_par and only had an error inset on it.
13542 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13544 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13547 * vc-backend.C (most methods):
13548 * exporter.C (Export):
13549 * converter.C (convert):
13551 * LyXSendto.C (SendtoApplyCB):
13552 * lyxfunc.C (dispatch):
13556 * lyx_cb.C (AutoSave):
13558 * BufferView_pimpl.C (MenuInsertLyXFile):
13559 * buffer.C (runChktex): use Buffer::filePath().
13561 * buffer.h: rename filename to filename_; rename filepath to
13562 filepath_ and make it private
13563 (filePath): new method
13565 * buffer.C (writeFile): use fileName()
13568 * lyx_main.C (init): fix starting of LyX when the binary is a
13569 link from so,ewhere else.
13571 * minibuffer.C: include <cctype> for isprint
13573 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13575 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13576 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13577 name clash with InsetCollapsable's width function.
13579 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13581 * lastfiles.C: include <iterator>
13583 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13585 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13588 * buffer.C (makeLaTeXFile): ditto.
13589 Also make loop operation more transparent.
13591 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13593 * ToolbarDefaults.C: remove trailing comma closing namespace.
13595 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13597 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13600 * trans.C (Load): comment out unused variable, allowed.
13602 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13604 * minibuffer.[Ch] (append_char): new method to recieve input from the
13605 drop-down completion browser. If a key was pressed, then recieve this
13606 char and append it to the existing string.
13607 (peek_event): modify the positioning data passed to the completion
13608 browser so that it can be placed above the minibuffer rather than below.
13609 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13611 * LyXAction.C (init): alloe error-next for readonly documents.
13613 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13616 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13618 * bufferlist.C (readFile): create the buffer _after_ checking that
13621 * lyxfunc.C (verboseDispatch): fix handling of arguments
13623 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13625 * lyxrc.C: use string::erase() instead of initializing to "".
13628 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13630 * BufferView_pimpl.h:
13631 * BufferView_pimpl.C:
13634 * text2.C: tell X when we have made a selection for copying
13636 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13638 * BufferView_pimpl.C (MenuInsertLyXFile):
13639 * lyxfunc.C (menuNew):
13641 (doImport): add shortcuts to directory buttons
13643 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13646 * lyxfunc.C (setStatusMessage):
13647 (getStatusMessage): new methods
13648 (getStatus):use setStatusMessage instead of setErrorMessage
13649 (dispatch): when function is disabled, set error message here
13650 [instead of in getStatus previously]
13652 * BufferView_pimpl.C (workAreaButtonRelease): update
13653 toolbar/menubar here too.
13655 2002-01-13 Allan Rae <rae@lyx.org>
13657 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13658 Now seems indestructible. Remaining task is to audit all other
13659 code affected by deleteEmptyParagraphMechanism. One small quirk
13660 left is that an empty document with an error in the preamble can
13661 be made to report an error but no error box appears. I don't know
13663 (removeAutoInsets): Improved comments.
13665 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13668 * Thesaurus.C: update for Aiksaurus 0.14
13670 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13672 * text2.C (firstParagraph): removed member function, all uses
13673 replaces with ownerParagraph
13674 (redoParagraphs): here
13675 (updateInset): here
13676 (toggleAppendix): here
13677 * BufferView2.C (insertErrors): here
13678 (setCursorFromRow): here
13680 2002-01-13 Allan Rae <rae@lyx.org>
13682 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13683 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13684 There is still a way to segfault this although you may have to do this
13685 multiple times: Have an InsetERT with an unknown command in it.
13686 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13687 <down-arrow>, <Enter> again, View->DVI, BANG!
13689 * text2.C (setCursor):
13690 (deleteEmptyParagraphMechanism):
13691 * lyxtext.h (setCursor):
13692 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13693 Making use of the return value may help fix other bugs.
13695 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13697 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13699 * LyXView.C (updateMenubar): call MenuBar::update here
13700 (updateToolbar): but not here
13701 (showState): do not update toolbar/menubar
13703 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13704 should need to care about that.
13706 * lyxfunc.C (verboseDispatch): simplify a bit
13707 (getStatus): have a version which takes a pseudoaction, and
13708 another which requires a (kb_action,string).
13710 * LyXAction.C (retrieveActionArg): make it work also when action
13711 is not a pseudo-action.
13712 (getActionName): simplify a bit
13715 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13717 * lyxfunc.C (verboseDispatch): new families of methods with
13718 several ways to specify a command and a bool to indicate whether
13719 the command name and shortcut should be displayed in minibuffer
13720 (eventually, we could extend that to a finer bitmask like
13721 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13722 (dispatch): the pristine dispatch command which just, well,
13723 dispatchs! Note it still sets its result to minibuffer; I'm not
13726 * lyxfunc.h: remove setHintMessage
13728 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13730 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13732 * BufferView_pimpl.C (specialChar): delete new inset if we have
13733 not been able to insert it.
13735 * kbmap.C: revert to using int instead of kb_action, since all we
13736 are dealing with is pseudo-actions.
13738 * LyXAction.C (searchActionArg): change to return int instead of
13739 kb_action, since the result is a pseudoaction.
13741 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13743 * buffer.C (insertErtContents): Fix (partially) the font bug.
13745 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13747 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13748 as the other one is broken on my machine!
13750 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13753 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13755 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13757 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13758 reflect their actual use. Provide compatibility code for older lyxrc
13761 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13763 change names of popup font variables in line with the changes to lyxrc.C
13765 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13767 * buffer.C (asciiParagraph): avoid outputing a word twice after
13770 * lyxrc.C (getDescription): document that document_path and
13771 template_path can be empty.
13773 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13775 * LaTeXFeatures.C (getMacros):
13776 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13778 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13780 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13782 (getPackages): rename feature "floats" to "float". Use an array to
13783 iterate over 'simple' features (i.e. just a \usepackage). Add
13784 handling of "amsmath" (renamed from "amsstyle").
13786 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13788 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13791 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13793 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13794 FuncStaus::FuncStatus & FuncStaus::some_method().
13796 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13798 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13799 of the func_satus stuff. Edited and massaged in various ways by
13802 * lyxfunc.C (getStatus): use FuncStatus
13804 2002-01-08 Juergen Vigna <jug@sad.it>
13806 * text.C (nextBreakPoint): use function Inset::isChar().
13808 * paragraph.C (TeXOnePar): use function
13809 Inset::forceDefaultParagraphs.
13811 * buffer.C (latexParagraphs): use function
13812 Inset::forceDefaultParagraphs.
13814 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13816 * lyx_gui.C (init): set the style of the menu popups to
13817 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13819 2002-01-07 Juergen Vigna <jug@sad.it>
13821 * text.C (setHeightOfRow): small fix
13822 (prepareToPrint): don't look at alignment if we don't have the place
13825 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13827 * box.C: New file. Move the Box methods and functions out of box.h,
13828 following Lars' suggestion.
13830 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13832 * box.h: #include "support/LOstream.h", needed for inlined function.
13835 * lyxtextclasslist.C: added some using std declarations.
13837 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13839 * box.h: make signed dimensions to allow insets wider than
13840 the screen (bug #162)
13842 * BufferView_pimpl.C: add some insetHit debug
13844 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13846 * vc-backend.C: add FIXME
13848 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13850 * lyxfunc.C (getStatus): enable code for showing math font status
13853 2002-01-07 Juergen Vigna <jug@sad.it>
13855 * text.C (nextBreakPoint): removed debug output not needed anymore.
13857 2002-01-06 Juergen Vigna <jug@sad.it>
13859 * text.C (nextBreakPoint): fixed up this function we had this bug
13860 since ever but now hopefully we break row better.
13861 (insertChar): we have to check if an inset is the next char as it
13862 could now happen that a large inset is causing a break.
13864 2002-01-05 Juergen Vigna <jug@sad.it>
13866 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13867 if it doesn't like to be drawed.
13869 2002-01-04 Juergen Vigna <jug@sad.it>
13871 * BufferView2.C (lockInset): forgot to set a cursor.
13873 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13875 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13877 * FormMathsPanel.C:
13880 * form_maths_panel.C:
13881 * form_maths_panel.h:
13882 * form_maths_panel.fd: implemented sub- and super- buttons in math
13885 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13886 (or ^ space) to be used as in TeX (req'd by André).
13888 * lyxfunc.C: Allow ^ and _ again to be used both as
13889 super/subscript (mathed) and as themselves (in text).
13891 2002-01-03 Allan Rae <rae@lyx.org>
13893 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13894 "LyX" or the filename of the current buffer if it has one. This is a
13895 modified form of John Levon's patch.
13897 * XFormsView.C (setWindowTitle): also set icon title.
13899 * LyXView.h (setWindowTitle): signature changed.
13900 * XFormsView.h (setWindowTitle): ditto.
13902 2002-01-02 Juergen Vigna <jug@sad.it>
13904 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13906 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13908 * screen.C (topCursorVisible): introduce a temp var for
13909 text->cursor.row(), handle the case where this row is null. (kindo
13912 * text2.C (setCursor): add a couple of asserts.
13914 * paragraph.h (inset_iterator): add -> operator
13916 * paragraph.[Ch] (autoDeleteInsets): remove member function
13918 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13919 cursor pos correctly and handle inset deletion by itself.
13920 (insertErrors): move iterator declaration out of for expression
13922 * lyxtextclass.C: add <algorithm>
13924 * Makefile.am: added the new files to sources, removed layout.C
13926 * layout.C: removed file
13928 * layout.h: remove LYX_DUMMY_LAYOUT
13930 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13934 * lyxtextclass.[Ch]:
13935 * lyxtextclasslist.[Ch]: new files
13937 * include order changes to a lot of files, also changes because of
13940 2001-12-27 Juergen Vigna <jug@sad.it>
13942 * buffer.C (asciiParagraph): more fixes.
13944 * tabular.C (ascii): make ascii export support export of only the
13945 data separated by a column-delimiter.
13946 (ascii): better support for ascii export.
13948 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13950 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * tabular_funcs.C: use a "using std::getline" instead of the
13953 previous fix from Angus (necessary for cxx + lyxstring)
13955 2001-12-24 Juergen Vigna <jug@sad.it>
13957 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13959 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13960 problems. First check a minipage also if we have some ert-contents
13961 (not only on par->size(), second set the right depth of the paragraph
13962 on the relink to the root-paragraph-list!
13964 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13965 which then did not anymore update the main paragraphs on undo/redo!
13967 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13969 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13970 code. Support all font-changing funcs (even those which are not in
13971 menu currently). Support for reporting font settings in
13972 mathed (disabled until Andre provides a function on mathed's side).
13974 * func_status.h (toggle): small helper function to set toggle
13977 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13979 * tabular_funcs.C: getline -> std::getline
13981 2001-12-21 Juergen Vigna <jug@sad.it>
13983 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13984 accessed and could be 0 (I couldn't generate this but it seems
13987 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13989 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13990 * tabular_funcs.h: here and include iosfwd
13992 2001-12-20 Juergen Vigna <jug@sad.it>
13994 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13995 inside inset but undo_par was.
13997 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13999 * Thesaurus.C: always include <config.h> in sources.
14003 * box.h: do not include <config.h> in header files
14005 * text.C (paintLastRow): remove unused variable
14007 * text.C (transformChar):
14009 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14011 * Painter.C (text):
14012 * font.C (width): rewrite to use uppercase() instead of
14015 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14017 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14019 * lyxfind.C: clean up of find failure position change
14021 2001-12-20 Juergen Vigna <jug@sad.it>
14023 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14025 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14026 (TeXRow): added to LaTeX a single tabular row.
14027 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14028 (Latex): simplified and finally good LT-h/f support.
14029 (various_functions): just small adaptions for LT-h/f support.
14031 * tabular_funcs.[hC]: added and moved here all not classfunctions
14034 2001-12-19 Juergen Vigna <jug@sad.it>
14036 * tabular.[Ch]: better support for longtabular options (not finished
14039 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14041 * text.C (paintLastRow): use the label font instead of the font of
14042 the last character to compute the size of *_BOX. This makes more
14043 sense and avoids a crash with empty paragraphs.
14044 Use Painter::rectangle to draw EMPTY_BOX.
14046 2001-12-19 Juergen Vigna <jug@sad.it>
14048 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14049 the paragraphs if the replaced paragraph is not the first one!
14050 Tried to delete not used paragraphs but does not work yet so for
14051 now it's inside #ifdef's and by default off!
14053 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14055 * MenuBackend.C: include "lyx_main.h" instead of declaring
14056 lastfiles (actually was declared as LastFiles* instead of a
14059 2001-12-17 Juergen Vigna <jug@sad.it>
14061 * tabular.C (AppendColumn): applied John's fix
14063 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14067 * BufferView_pimpl.h:
14068 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14071 * box.h: new start of class for above
14073 * lyxfunc.C: ignore space-only minibuffer dispatches.
14074 Show the command name when it doesn't exist
14076 * minibuffer.C: don't add empty lines to the history
14078 * minibuffer.C: add a space on dropdown completion
14080 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14082 * text.C: fix line above/below drawing in insets
14084 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14086 * lyxlength.C (LyXLength): Initialize private variables.
14088 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14090 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14091 when inserting error insets.
14093 2001-12-13 Juergen Vigna <jug@sad.it>
14095 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14096 actually sometimes the before-paragraph.
14097 (setUndo): don't clear the redostack if we're not actually undoing!
14099 2001-12-06 Juergen Vigna <jug@sad.it>
14101 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14102 and fixed redoing of main paragraph, so we can use it now ;)
14104 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14106 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14108 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14111 2001-12-13 André Pönitz <poenitz@gmx.net>
14114 * undo_func.C: minor cleanup
14116 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14118 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14119 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14120 font in urw-fonts package which is marked as -urw-fontspecific and
14121 does not work (incidentally, changing the encoding in the
14122 fonts.dir of this package to -adobe-fontspecific fixes the
14125 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14126 is a crash when undoing first paragraph (Juergen, please take a
14127 look). THis does not mean the undo fix is wrong, just that it
14130 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14131 the (Paragraph*) version when needed instead of duplicating the
14134 * text.C (workWidth): use Inset::parOwner to find out where the
14135 inset has been inserted. This is a huge performance gain for large
14136 documents with lots of insets. If Inset::parOwner is not set, fall
14137 back on the brute force method
14139 * paragraph_pimpl.C (insertInset):
14140 * paragraph.C (Paragraph):
14141 (cutIntoMinibuffer): set parOwner of insets when
14142 inserting/removing them
14144 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14146 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14152 * mathed/formulabase.C:
14153 * mathed/math_cursor.[Ch]:
14154 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14157 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14159 * lyxlength.[Ch] (operator!=): new function
14161 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14163 * text.C (workWidth): use Inset::parOwner to find out where the
14164 inset has been inserted. This is a huge performance gain for large
14165 documents with lots of insets. If Inset::parOwner is not set, fall
14166 back on the brute force method
14168 * paragraph_pimpl.C (insertInset):
14169 * paragraph.C (Paragraph):
14170 (cutIntoMinibuffer): set parOwner of insets when
14171 inserting/removing them
14173 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14175 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14177 * tabular-old.C (getTokenValue):
14178 * tabular.C (getTokenValue):
14179 (write_attribute): new versions for LyXLength
14180 (everywhere): adjust the use of widths
14182 * tabular.h: change the type of widths from string to LyXLength
14184 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14186 * paragraph.C: fixed missing line number count when exporting
14187 Environments to LaTeX file
14189 * buffer.C: added informational message for checking line numbers.
14191 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14193 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14194 paragraph, do the 'double space' part, but not the 'empty
14197 * text.C (workWidth): small optimization
14198 (getLengthMarkerHeight): use minimal size for negative lengths.
14200 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14202 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14204 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14206 2001-12-11 André Pönitz <poenitz@gmx.net>
14209 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14211 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14213 * text2.C: keep selection on a setFont()
14215 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14217 * lyx_cb.C: another bv->text misuse, from insert label
14219 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14222 * kbsequence.C: re-instate nmodifier mask
14224 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14226 * lyx_main.h: make lyxGUI private.
14228 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14230 * lyxfind.C: place the cursor correctly on failed search
14232 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14234 * text.C (getLengthMarkerHeight): for small heights, the arrows
14235 are not always on top/bottom of the text
14236 (drawLengthMarker): smaller arrows; take the left margin in
14237 account; draw also vfills.
14239 (paintLastRow): remove special code for vfill and standard spaces,
14240 since everything is handled in drawLengthMarker now.
14242 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14244 * buffer.C (insertErtContents): try to handle font and language
14245 interaction a bit better.g
14247 * ColorHandler.C (updateColor): change the hash to cover the whole
14248 LColor enum, ws cleanup
14249 (getGCLinepars): ditto
14250 (getGCLinepars): only lookup in the linecache once.
14252 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14254 * iterators.C (operator++): Make the iterator more robust
14256 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14258 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14260 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14263 * text.C: better added space drawing
14265 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14268 * BufferView2.C: fix layout combo update on inset unlock
14270 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14272 * Makefile.am: don't compile unused files
14274 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14278 * LyXAction.C: remove old LFUN_LAYOUTNO
14280 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14282 * paragraph_pimpl.h:
14283 * paragraph_pimpl.C: isTextAt() doesn't need font param
14285 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14288 * lyxlex.C: little cleanup
14290 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14292 * BufferView_pimpl.C: fix insertAscii for insets
14294 2001-12-05 Juergen Vigna <jug@sad.it>
14296 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14297 set the right font on the "multi" paragraph paste!
14299 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14305 * lyxlength.C: remove out-commented code.
14307 * BufferView_pimpl:
14321 * vc-backend.C: change "while(" to "while ("
14323 * lyxlength.[Ch]: add zero function to check if length is zero or
14325 * lyxgluelength.C: use it
14327 2001-12-05 Allan Rae <rae@lyx.org>
14329 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14330 Works for 2.95.3, from what I understand of Garst's reports this should
14331 work for other g++ versions. We're screwed if the abs(int) definition
14332 changed between bugfix releases of gcc.
14334 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14336 * text.C: fix chapter label offset !
14338 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14341 * text.C: fix hfill at end of line, clean up
14343 2001-12-04 Juergen Vigna <jug@sad.it>
14345 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14346 that we force an update of the inset and it's owners if neccessary.
14348 2001-12-03 Juergen Vigna <jug@sad.it>
14350 * text.C (rowLast): simplified code
14352 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14354 * lyxfunc.C: fix show options on timeout
14356 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14358 * screen.C (topCursorVisible): scroll half a page when the cursor
14359 reached top of bottom of screen
14361 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14363 * minibuffer.C: deactivate on loss of focus
14365 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14367 * vspace.[Ch] (operator!=): add operator.
14369 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14371 * BufferView_pimpl.C: refuse to open an inset when
14372 there's a selection.
14374 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14376 * BufferView_pimpl.C: allow to click on RHS of full row insets
14378 2001-11-30 Juergen Vigna <jug@sad.it>
14380 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14381 insets for undo reasons.
14383 2001-11-28 André Pönitz <poenitz@gmx.net>
14385 * vspace.[Ch]: cosmetical changes
14387 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14397 * kbsequence.C: part re-write of old kb code
14400 * WorkArea.C: remove Lgb_bug_find_hack
14402 2001-11-30 José Matos <jamatos@fep.up.pt>
14404 * buffer.C (makeDocBookFile): add a comment to point a hack.
14405 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14406 Fixed a double write of labels.
14408 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14411 * LaTeX.h Fixed bug in LaTeX class where it would not
14412 re-run latex if no depfiles were changed, but the .dvi was removed.
14414 2001-11-28 André Pönitz <poenitz@gmx.net>
14416 * all the files from the change on 2001/11/26:
14417 use lyx::layout_type instead of LyXTextClass::size_type
14418 use lyx::textclass_type instead of LyXTextClassList::size_type
14420 2001-11-29 Juergen Vigna <jug@sad.it>
14422 * text.C: added support for paragraph::isFreeSpacing()
14424 * buffer.C: same as above
14426 * paragraph.h: inserted isFreeSpacing() function to enable
14427 FreeSpacing inside InsetERT.
14429 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14430 of the paragraph's in the cut/copy buffer to 0!
14432 * text2.C (removeRow): remove the assert as it can!
14434 * lyxtext.h: added helper function firstRow returning firstrow and
14435 made firstrow private again.
14437 * BufferView2.C (lockInset): don't relock if we're already locked!
14439 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14440 the only paragraph.
14441 (removeRow): added Assert::(firstrow)
14443 * debug.C: forgot to add INSETTEXT here.
14445 2001-11-28 Juergen Vigna <jug@sad.it>
14447 * sp_spell.C (initialize): changed error text to more general
14448 spellchecker command use (not only ispell!)
14450 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14452 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14454 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14456 * vspace.C: initialise lyxgluelength on failure
14458 2001-11-28 Allan Rae <rae@lyx.org>
14460 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14461 declaration & definition that looks like a function declaration.
14463 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14465 * BufferView2.C (copy):
14466 (copyEnvironment): do not clear the selection when doing a copy.
14468 * text.C (paintFirstRow): compilation fix
14470 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14472 * tabular.C (Latex): correct line count when writing latex.
14474 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14476 * paragraph_pimpl.h:
14477 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14480 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14484 * LColor.C: change vfillline->added_space
14486 * text.C: add markers and text for added space
14488 * vspace.C: fix comment
14490 2001-11-28 André Pönitz <poenitz@gmx.net>
14492 * paragraph.C: whitespace changes
14493 * all the other files from the change on 2001/11/26:
14494 change *::pos_type into lyx::pos_type
14496 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14498 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14499 language of the document when inserting error insets.
14501 2001-11-26 André Pönitz <poenitz@gmx.net>
14503 * BufferView_pimpl.[Ch]:
14511 * paragraph_pimpl.[Ch]:
14514 * text2.C: reduce header dependencies, introduce type for positions
14516 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14518 * <various>: change to use Alert.h
14520 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14522 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14523 when encountering an unknown token.
14524 (readLyXformat2): Show an error message if there were unknown tokens.
14526 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14529 * BufferView_pimpl.C:
14533 * text2.C: use par->isInset()
14535 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14537 * paragraph_pimpl.h:
14538 * paragraph_pimpl.C: cleanup
14540 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14542 * text2.C (removeRow):
14543 * text.C (setHeightOfRow): remove useless (and costly) call to
14546 2001-11-20 Allan Rae <rae@lyx.org>
14548 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14549 Now need Inset*::checkInsertChar() to return true for appropriate
14550 cases so that the characters in the minibuffer will actually be
14553 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14555 * text.C: change the order of the includes.
14556 (workWidth): initialize it at once.
14557 (workWidth): make maxw unsigned
14558 (setHeightOfRow): remove unused variable (inset)
14559 (selectSelectedWord): remove unused variable (inset)
14560 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14562 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14564 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14565 server is not running.
14567 (closeConnection): add debug info when server is disabled.
14569 * ColorHandler.C (getGCForeground): send debug message to GUI
14572 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14574 * kbmap.C (bind): modify because return conventions of
14575 kb_sequence::parse have changed.
14577 * kbsequence.C (parse): only ignore spaces and not any stupid
14578 control character. This avoids tests like s[i] <= ' ', which are
14579 guaranteed to fail with 8bit characters and signed chars.
14580 Change return code to string::npos when there have been no error
14581 (0 was a bad idea when error is at first character)
14583 2001-11-14 José Matos <jamatos@fep.up.pt>
14586 * buffer.C (simpleDocBookOnePar): removed unused argument.
14588 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14590 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14591 insets which are part of a word. Paragraph::isLetter takes care of
14592 that now. Use Paragraph::isInset to identify insets.
14593 (selectSelectedWord): do not test for hyphenation break.
14595 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14596 that protected spaces are considered as spaces.
14598 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14601 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14604 * lyxserver.C: fix it. and small cleanup.
14606 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14608 * BufferView_pimpl.C: use inline helpers
14611 * LaTeXFeatures.C: fix typos
14614 * Spacing.C: move spacing_string into class
14616 * ToolbarDefaults.C: move stuff into namespace anon
14618 * layout.h: update enum
14620 * lyxfunc.C: use better debug
14622 * minibuffer.h: fix typo
14626 * WorkArea.C: add and use Debug::WORKAREA
14630 * text2.C: code re-organisation, inline helpers
14632 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14634 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14635 std::vector.empty().
14637 2001-11-09 Allan Rae <rae@lyx.org>
14639 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14640 '\n's after tables. Tabular and ERT inset work now makes this no
14643 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14646 * minibuffer.C: fix crash, improve drop-down completion
14648 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14651 * lyxserver.C: invalidate fd's when doing endPipe()
14653 2001-11-08 José Matos <jamatos@fep.up.pt>
14655 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14656 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14659 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14661 2001-11-07 José Matos <jamatos@fep.up.pt>
14664 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14667 * buffer.C (sgmlOpenTag):
14668 * buffer.C (sgmlCloseTag): removed debug info.
14670 * buffer.h (sgmlOpenTag):
14671 * buffer.h (sgmlCloseTag): made public.
14673 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14675 * buffer.C (saveParamsAsDefaults):
14676 * lyx_cb.C (MenuLayoutSave): remove
14678 * LyXAction.C (init):
14680 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14682 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14684 * buffer.C (setPaperStuff): removed from here...
14686 * bufferparams.C (setPaperStuff): ... and moved there.
14688 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14692 * XFormsView.C: add support for drop-down completion
14694 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14696 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14699 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14701 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14704 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14706 * lyx_main.C: change ref to known bugs
14708 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14710 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14711 to work around older babel problems.
14713 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14715 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14717 2001-10-24 Juergen Vigna <jug@sad.it>
14719 * tabular-old.C (ReadOld): below variable changes reflected.
14721 * tabular.[Ch]: added ltType struct for longtable header/footer
14722 defines and changed all instances where they are used. Added
14723 future support for double top/bottom rows.
14725 2001-10-24 José Matos <jamatos@fep.up.pt>
14727 * buffer.h (docbookHandleCaption):
14728 * buffer.C (docbookHandleCaption): removed unused function.
14729 (makeDocBookFile): moved docbook supported version to v4.1.
14731 2001-10-24 José Matos <jamatos@fep.up.pt>
14734 * tabular.C (docbookRow): new function to export docbook code of a row.
14735 (DocBook): now honors the longtable flags.
14737 2001-10-23 José Matos <jamatos@fep.up.pt>
14740 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14741 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14743 * buffer.C (makeLinuxDocFile):
14744 (makeDocBookFile): reworked the preamble, more clean, and with
14745 support for lyx defined entities. Changed the document declaration
14746 to be more XML friendly.
14748 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14749 if we need to output XML that should be done with a filter.
14751 2001-10-22 Juergen Vigna <jug@sad.it>
14753 * sp_pspell.h (class PSpell): add alive function needed in the
14754 controller to see if the spellchecker could be started.
14756 2001-10-22 Juergen Vigna <jug@sad.it>
14758 * buffer.C (insertStringAsLines): modify the font for inserting
14759 chars in certain conditions by calling checkInsertChar(font).
14761 2001-10-19 Juergen Vigna <jug@sad.it>
14763 * text.C (workWidth): use getRow instead of wrong algorithm.
14764 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14766 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14771 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14773 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14775 * text.C (workWidth): do not search for the exact row when
14776 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14777 optimization for big documents.
14779 2001-10-18 Juergen Vigna <jug@sad.it>
14781 * text.C (workWidth): new function with added Inset * parameter.
14783 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14785 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14787 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14788 change return type of getColumnNearX.
14791 * text.C (changeRegionCase): use uppercase/lowercase instead of
14794 (rightMargin): simplify code by factoring out the uses of
14799 (appendParagraph): use Paragraph::size_type
14801 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14803 * vspace.C (asLatexString): add a missing break
14805 2001-10-15 Herbert Voss <voss@perce.de>
14807 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14809 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14811 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14814 2001-10-10 André Pönitz <poenitz@gmx.net>
14816 * lyxfunc.C: removed greek_kb_flag.
14818 2001-10-10 Herbert Voss <voss@perce.de>
14820 * lyx_main.C: delete global string help_lyxdir.
14822 2001-10-09 Herbert Voss <voss@perce.de>
14824 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14826 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14828 * lyx_main.C: added global string help_lyxdir.
14830 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14832 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14834 * lyxrc.C (set_font_norm_type): support iso8859-4
14836 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14838 * LaTeX.C (deplog): add another regex for MikTeX
14840 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14842 * lyxrc.C (set_font_norm_type): support iso8859-3
14844 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14846 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14848 * LaTeXFeatures.C: remove special case of french and index
14850 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14851 before \begin{document}). This solves several incompatibilities.
14853 2001-10-03 Garst Reese <reese@isn.net>
14855 * lyx_cb.C: change CheckTex error msg.
14857 2001-10-03 José Matos <jamatos@fep.up.pt>
14859 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14861 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14863 * .cvsignore: update
14865 * lyx_main.C (commandLineVersionInfo): use new style version info.
14867 * buffer.C (writeFile):
14869 (makeLinuxDocFile):
14870 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14872 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14874 * version.h: update to use stuff in version.C
14876 * version.C.in: new file. Contains version information determined
14877 at compile time. This is a merging of version.h and
14880 2001-10-03 Juergen Vigna <jug@sad.it>
14882 * BufferView_pimpl.C (update): don't change "dirty" status in
14885 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14887 * WorkArea.C (c-tor): re-position version string slightly.
14889 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14891 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14892 revert to previous code.
14894 WorkArea.[Ch]: (show, destroySplash): methods removed.
14896 WorkArea.C: rework code so that it's an amalgam of the codes before and
14897 after the splash screen was moved to WorkArea.
14899 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14902 * vspace.C (inPixels):
14905 * buffer.C (insertStringAsLines):
14906 (asciiParagraph): fix types to be large enough
14908 * lyxlex_pimpl.h: change member status from short to int
14910 * layout.h: fix type of endlabeltype
14913 * kbsequence.C (parse): change return type to string::size_type
14915 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14918 * Bullet.C (bulletSize):
14919 (bulletEntry): do not use short ints as parameters
14921 * BufferView2.C (insertLyXFile): change a char to an int.
14923 * WorkArea.C (WorkArea): remove unneeded floats in computation
14925 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14927 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14929 * paragraph.C (asString): Do not ignore newline/hfill chars when
14930 copying to the clipboard.
14932 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14934 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14935 after a multi-line inset.
14937 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14939 * paragraph.C (validate): Set NeedLyXFootnoteCode
14941 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14943 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14944 and decrease-error to decrease.
14946 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14948 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14949 it more readable (should be equivalent)
14951 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14953 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14955 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14957 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14958 of a cursor (row, etc.) after a character has been deleted
14959 (deleteEmptyParagraphMechanism): call the method above on _all_
14960 cursors held by the LyXText when a double space has been
14963 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14965 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14967 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14969 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14970 background. Use greyOut() and the new show() methods to toggle between
14971 the foreground and background. Add code to remove the splash after
14972 its initial showing.
14974 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14975 (create_forms): no longer call Dialogs::showSplash.
14977 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * .cvsignore: add version_info.h
14981 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14983 * version_info.h.in: new file
14985 * Makefile.am: add version_info.h.in
14987 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14988 version_info.h instead of VERSION_INFO
14990 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14992 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14993 The ERT inset now returns string().
14995 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14997 * lyxtext.h, text.C (selectNextWord): renamed as
14998 selectNextWordToSpellcheck.
15000 * text.C (selectNextWordToSpellcheck): Modified to not select
15001 words inside an ERT inset.
15003 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15005 * lyx_cb.C (MenuLayoutSave): change a bit the question
15007 * sp_base.h: include <sys/types.h>
15009 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15011 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15013 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15015 * several files: fix typos in user-visible strings
15017 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15019 * text2.C (pasteSelection): do not set the selection, since it
15020 will be cleared later. Actually, the intent was to fix the way the
15021 selection was set, but I figured rmoving the code was just as good.
15023 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15025 * FontLoader.C (available): Check if font is available without
15028 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15030 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15032 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15034 * lyxrc.[Ch]: added display_graphics variable and associated code.
15036 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15038 * bufferparams.C (hasClassDefaults): new method. Returns true if
15039 the buffer parameters correspond to known class defaults
15041 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15043 * XFormsView.C (show): set minimum size to the main window.
15045 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15047 * text2.C (copySelection):
15049 * lyxfind.C (LyXReplace):
15050 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15051 LyXText::selectionAsString.
15053 * paragraph.C (asString): add "label" argument to the second form
15055 * text2.C (selectionAsString): add "label" argument and pass it to
15056 Paragraph::asString.
15058 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15060 * lyx_main.C (commandLineHelp): remove version information
15062 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15064 * lyx_main.C: add -version commandline option
15066 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15068 * paragraph.h: make the optional constructor arg required instead.
15069 some modifications to other files because of this.
15071 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15073 * lyxserver.C (C_LyXComm_callback): make it static
15075 * lyx_main.C (error_handler): make it static
15077 * lyx_gui.C (LyX_XErrHandler): make it static
15079 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15081 * WorkArea.C: make the extern "C" methods static.
15083 * Makefile.am (lyx_LDADD): simplify
15085 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15087 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15088 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15090 * LyXAction.C (init):
15091 * lyxfunc.C (dispatch): associated code removal.
15093 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * lyxfont.h (isSymbolFont): shut off warning
15097 * text.C (setHeightOfRow):
15098 (getVisibleRow): fix crash with empty paragraphs which have a
15101 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15103 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15106 2001-09-04 José Matos <jamatos@fep.up.pt>
15109 * tabular.C (docbook): rename docBook method to docbook.
15111 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15113 * Makefile.am: add dependencies to main.o.
15115 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15117 * FontLoader.C (available): Return false if !lyxrc.use_gui
15119 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15121 * FontInfo.C (query):
15122 * converter.C (view):
15123 * importer.C (Import):
15124 * exporter.C (Export): Can not -> cannot.
15126 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15128 * BufferView_pimpl.C: allow to create index inset even if
15131 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15133 * buffer.C (getLists): replace boost::tie code with an explicit pair
15134 as boost::tie can break some compilers.
15136 * iterators.h: Added a std:: declaration to the return type of
15139 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15141 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15144 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15146 * iterators.[Ch]: New files. Provide paragraph iterators.
15148 * buffer.C (changeLanguage): Use paragraph iterators.
15149 (isMultiLingual): ditto
15151 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15153 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15155 * FontLoader.C: Support for cmr font.
15157 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15159 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15160 (available): New method.
15162 * FontInfo.C (getFontname): Use scalable fonts even when
15163 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15166 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15168 * converter.C (Formats::view): reverted! Incorrect fix.
15170 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15172 * converter.C (Formats::view): only output the -paper option
15173 if the dvi viewer is xdvi, thereby fixing bug #233429.
15175 2001-08-23 Herbert Voss <voss@perce>
15177 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15179 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15181 * Spacing.h (Spacing): Set space to Default on in the default
15184 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15186 * vc-backend.h (RCS::versionString): add RCS to version
15187 (CVS::versionString): add CVS to version
15189 * vc-backend.C (scanMaster): do not add CVS to version.
15190 (scanMaster): do not add RCS to version
15192 * lyxvc.C (versionString): new method
15194 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15196 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15198 * Spacing.C (set): initialize fval
15200 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15202 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15205 2001-08-16 Juergen Vigna <jug@sad.it>
15207 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15209 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15211 * BufferView_pimpl.C:
15214 * text2.C: setParagraph takes linespacing now
15216 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15218 * LyxAction.C: add internal LFUN_CITATION_INSERT
15220 * LyXView.C: actually apply fix
15222 * bufferlist.C: fix open non-existent file
15224 * lyxfind.C: fix indentation
15226 * lyxfunc.C: remove unneeded assert, fix typo
15228 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15230 * MenuBackend.C: use "Floatname List"
15232 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15234 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15235 when converting LaTeX layout to insetERT.
15236 Generate a non-collapsed float when reading old float
15238 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15240 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15243 2001-08-13 Juergen Vigna <jug@sad.it>
15245 * text.C (fill): return 0 instead of 20 as this seems to be the more
15248 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15250 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15253 2001-08-13 Juergen Vigna <jug@sad.it>
15255 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15257 (SearchBackward): comment out the unlocking of the inset_owner this
15258 should not be needed!
15260 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15262 * Many files: Remove inherit_language, and add latex_language
15264 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15265 collapsible insets.
15267 2001-08-10 Juergen Vigna <jug@sad.it>
15269 * text.C (prepareToPrint): fixed hfill-width in draw!
15271 * BufferView2.C (selectLastWord): save the selection cursor as this
15272 now is cleared in the function LyXText::clearSelection!
15274 2001-08-08 Juergen Vigna <jug@sad.it>
15276 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15277 BACKSPACE type functions.
15279 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15280 is only cutted from the document but not put in the cut-buffer, where
15281 still the old stuff should be.
15283 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15285 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15287 * tabular.C (SetWidthOfCell): fixed special case where the width
15289 (LeftLine): handle '|' in align_special.
15291 (LeftAlreadyDrawed): ditto
15292 (SetWidthOfCell): ditto
15294 2001-08-07 Juergen Vigna <jug@sad.it>
15296 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15298 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15300 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15301 * lyxlex.[hC]: ditto
15303 2001-08-06 Juergen Vigna <jug@sad.it>
15305 * text.C (getVisibleRow): fix up row clearing a bit.
15307 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * minibuffer.C: make sure the X server sees the changes in the input.
15311 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * paragraph.C (getFont): split into...
15314 (getLabelFont): this
15315 (getLayoutFont): and this
15316 * paragraph_pimpl.C (realizeFont): calling this
15318 * text2.C (getFont): split into...
15319 (getLayoutFont): this
15320 (getLabelFont): and this
15321 (realizeFont): all three calling this
15323 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15326 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15328 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15330 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15332 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15333 layouts from the Quote inset insertion.
15335 2001-08-03 Juergen Vigna <jug@sad.it>
15337 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15339 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15340 only if status not is already CHANGED_IN_DRAW (second level).
15342 * text.C (draw): don't set the need_break_row when inside an
15345 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15347 * buffer.C (parseSingleLyXformat2Token): handle more latex
15350 * bufferview_funcs.[hC]: change function names to
15351 begin with small char, adjust other files.
15353 2001-08-02 André Pönitz <poenitz@gmx.net>
15356 BufferView_pimpl.C: remove broken special code for math-greek
15358 2001-08-02 Juergen Vigna <jug@sad.it>
15360 * BufferView_pimpl.C (update): redone this function so that we
15361 update the text again if there was a CHANGE_IN_DRAW.
15363 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15364 (drawFromTo): added a new internal bool which is used by draw() and
15366 (general): some cursor drawing problems fixed.
15368 2001-08-01 Juergen Vigna <jug@sad.it>
15370 * lyxfind.C (LyXFind): fixed
15371 (SearchForward): ditto
15372 (SearchBackward): ditto
15374 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15375 spurius drawing of the cursor in the main area.
15377 * text2.C (status): small fix which could lead to a segfault!
15378 (clearSelection): remove unneeded BufferView param.
15380 2001-08-01 André Pönitz <poenitz@gmx.net>
15382 * lyxfunc.C: small change due to changed mathed interface
15384 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15386 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15388 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15390 * lyxfunc.c: fail gracefully if file doesn't exist
15395 * BufferView_pimpl.C: IsDirWriteable() proto changed
15397 * LyXView.C: fix updateWindowTitle() to store the last title
15399 2001-07-31 Juergen Vigna <jug@sad.it>
15401 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15402 the font (wrong since using of Paragraph::highestFontInRange).
15404 * paragraph.C (highestFontInRange): added a default_size parameter.
15406 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15407 (setHeightOfRow): reformat
15409 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15411 * converter.[hC] + affected files: move to (inital-char)lowercase
15414 * ParagraphParameters.C (ParagraphParameters): remove commented code
15416 * PainterBase.[Ch]: remove commented code
15418 * LaTeXFeatures.h: add "bool floats" for float.sty
15420 * LaTeXFeatures.C (LaTeXFeatures): init floats
15421 (require): handle float
15422 (getPackages): do it with floats
15424 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15426 * BufferView_pimpl.C (Dispatch): improve handling of
15427 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15429 * commandtags.h: #include lyxfont.h here temporarily to avoid
15432 * bufferlist.h: include LString.h here.
15434 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15436 * text2.C (getStringToIndex): new method.
15438 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15440 * *: Reduced header file dependencies all over.
15442 2001-07-30 Baruch Even <baruch@lyx.org>
15444 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15446 2001-07-29 Baruch Even <baruch@lyx.org>
15448 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15450 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15452 * ParameterStruct.h (endif): add a default constructor to make
15453 sure that all variables is initialized.
15455 * ParagraphParameters.C (ParagraphParameters): adjust
15457 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15459 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15460 index; also, check that there is something to index, and that it
15461 does not span over several paragraphs.
15462 (doubleClick): use WHOLE_WORD_STRICT for double click.
15464 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15466 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15469 2001-07-26 Baruch Even <baruch@lyx.org>
15471 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15472 an InsetFig figure, backwards compatible reading of old figure code.
15474 2001-07-27 Juergen Vigna <jug@sad.it>
15476 * text2.C: font.realize function adaption.
15478 * text.C (draw): add a warnings lyxerr text if needed.
15480 * layout.C: font.realize function adaption.
15482 * language.C: add inherit_language and implement it's handlings
15484 * bufferview_funcs.C (StyleReset): remove language parameter from
15485 font creation (should be language_inherit now).
15487 * bufferparams.C (writeFile): handle ignore_language.
15489 * paragraph.C (getFontSettings): the language has to be resolved
15490 otherwise we have problems in LyXFont!
15492 * lyxfont.C (lyxWriteChanges): added document_language parameter
15493 (update): removed unneeded language parameter
15495 * paragraph.C (validate): fixed wrong output of color-package when
15496 using interface colors for certain fonts in certain environments,
15497 which should not seen as that on the final output.
15499 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15501 * BufferView_pimpl.C:
15506 * LyXAction.C: add thesaurus support
15509 * lyxfind.C: add "once" parameter, for thesaurus, to not
15510 move to the next match
15512 2001-07-26 Juergen Vigna <jug@sad.it>
15514 * lyxfont.C (realize): honor ignore_language too!
15517 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15519 * text.C (draw): one place more for ignore_language to not draw
15522 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15524 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15526 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15528 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15529 the minipage conversion problem.
15531 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15533 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15536 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15538 * BufferView.h: don't forward declare WorkArea
15540 * BufferView.C: don't include WorkArea.h
15542 2001-07-25 André Pönitz <poenitz@gmx.net>
15546 * lyxfunc.C: new LFUN 'math-space'
15548 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15550 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15552 * text2.C (toggleInset): call open/close
15554 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15556 * lyxfunc.C (dispatch): add debug for the disabled case
15558 * font.C (buttonText): make similar to rectText
15560 * buffer.C (readInset): comment out parsing of insetlist and
15563 * PainterBase.C (rectText): small correction
15565 * BufferView_pimpl.C: comment out insettheorem and insetlist
15566 * LyXAction.C: ditto
15567 * commandtags.h: ditto
15569 2001-07-24 Juergen Vigna <jug@sad.it>
15571 * text.C (draw): honor the ignore_language.
15573 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15575 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15577 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15580 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15582 * lyxtext.h: remove unused (and unimplemented) methods
15584 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15586 * text.C (getVisibleRow): honor background color
15589 * Painter.h: remove default color argument for fillRectangle
15591 * text.C (backgroundColor): new method
15593 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15595 * text.C (getVisibleRow): adjust
15597 * font.[Ch] (rectText): new method, metrics
15598 (buttonText): new method, metrics
15600 * PainterBase.[hC]: make rectText and buttonText always draw and take
15603 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15605 * ToolbarDefaults.C (read):
15606 * MenuBackend.C (read): allow escaping in all strings
15608 * BufferView_pimpl.C (insertAndEditInset): new method.
15609 (Dispatch): use insertAndEditInset whenever appropriate.
15611 * BufferView_pimpl.C (insertNote): removed
15613 * BufferView_pimpl.C (smartQuote): new method, moved from
15614 BufferView; if an insetquote cannot be inserted, insert a '"'
15617 * BufferView2.C: remove insertCorrectQuote();
15619 * lyxfunc.C (getStatus): Add support for all remaingin
15620 inset-insert lfuns.
15622 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15624 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15625 command (necessary to pass " as parameter of self-insert.
15627 * text.C (selectWordWhenUnderCursor):
15628 (selectWord): add word_location parameter
15629 (selectWordWhenUnderCursor): same + remove special code for word
15631 (selectNextWord): use kind() to guess type of insetspecialchar,
15634 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15635 (insertErtContents): create ert insets as collapsed.
15636 (readInset): better compatibility code for Info inset.
15638 2001-07-20 Juergen Vigna <jug@sad.it>
15640 * lyxfunc.C (dispatch): use always LyXFind now!
15642 * text2.C (init): add a reinit flag so that the LyXText can be
15643 reinited instead of deleted and reallocated (used in InsetText).
15645 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15651 2001-07-18 Juergen Vigna <jug@sad.it>
15653 * text.C (selectNextWord): handle insets inside inset by calling
15654 always the bv->text functions so that we can go up the_locking_inset!
15656 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15657 in strange locations when inside an inset!
15659 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15660 handling to include insets.
15662 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15664 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15666 * LyXAction.C (init):
15668 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15669 LIGATURE_BREAK, since the name is so stupid.
15671 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15673 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15676 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15678 * sp_form.[Ch]: remove.
15680 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15682 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15685 * src/buffer.C (readInset): ditto.
15687 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15689 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15690 menuSeparator(), endOfSentenceDot(), ldots() and
15691 hyphenationPoint(), which are therefore removed.
15692 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15694 * LyXAction.C (init):
15695 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15697 * paragraph.C (getWord): removed.
15699 * BufferView_pimpl.C (Dispatch): use last word or selection for
15700 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15702 * lyx_main.C (queryUserLyXDir): do not ask before creating
15703 user_dir, except if it has been named explicitely.
15705 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15707 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15708 a document of zero size.
15710 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15712 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15713 approriately in the c-tor and in require().
15714 (getPackages): output the appropriate LaTeX for natbib support.
15716 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15717 variables "use_natbib" and "use_numerical_citations" when reading the
15719 (readInset): read the various natbib cite commands.
15720 (validate): white-space change.
15722 * bufferparams.[Ch]: new variables "bool use_natbib" and
15723 "bool use_numerical_citations".
15724 (writeFile): output them in the LyX file.
15726 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15728 * lyxfunc.C (getStatus): add support for all the inset insertion
15731 * text2.C (insertInset):
15732 * paragraph.C (insetAllowed):
15733 * BufferView_pimpl.C (insertInset): update to take in account the
15734 renaming of insertInsetAllowed
15736 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15738 * text2.C (getInset): new method. returns inset at cursor position.
15740 * BufferView_pimpl.C (Dispatch): changes because of this.
15742 * LyXAction.C (init): rename open-stuff to inset-toggle.
15744 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15746 * text2.C (toggleInset): renamed from openStuff; use
15749 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15751 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15753 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15755 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15757 * buffer.C (readLyXformat2): Add filename to the error dialog
15759 2001-07-18 Juergen Vigna <jug@sad.it>
15761 * tabular.C (GetCellNumber): put an assert here instead of the check!
15763 2001-07-17 Juergen Vigna <jug@sad.it>
15765 * BufferView_pimpl.C (toggleSelection): adapted too.
15767 * text.C (selectNextWord): adapted for use with insets.
15768 (selectSelectedWord): ditto
15770 2001-07-17 Juergen Vigna <jug@sad.it>
15772 * sp_spell.C (PSpell): fix initialitation order.
15774 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15776 * paragraph.C: spacing
15778 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15780 * sp_spell.C: repair language selection for pspell
15782 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15784 * lyxfunc.h: change more methods to begin with lower char.
15786 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15788 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15789 for unknown layouts.
15791 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15793 * buffer.C (readLyXformat2): Generate an error dialog if there are
15796 2001-07-16 Juergen Vigna <jug@sad.it>
15798 * sp_spell.C: always compile ISpell part.
15800 * lyxrc.C: added use_pspell entry and it's handling.
15802 2001-07-13 Juergen Vigna <jug@sad.it>
15804 * sp_spell.C: removed double includes.
15806 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15808 Consistent use of Lsstream.h:
15809 * Lsstream.h: added using std::stringstream for consistencies sake.
15811 * buffer.C: removed using std::stringstream
15813 * lyxfont.C (stateText):
15814 * paragraph.C (asString):
15815 * text.C (selectNextWord, selectSelectedWord):
15816 * text2.C (setCounter):
15817 * vspace.C (asString, asLatexString):
15818 std::ostringstream -> ostringstream.
15820 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15822 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15823 * commandtags.h: add LFUN_HELP_ABOUTLYX
15824 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15826 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15828 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15830 * lyx_gui_misc.C: remove spellchecker
15831 * lyxfunc.C: showSpellchecker
15833 * sp_ispell.h: added
15834 * sp_pspell.h: added
15835 * sp_spell.C: added
15836 * sp_form.[Ch]: removed
15837 * spellchecker.[Ch]: removed
15839 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15841 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15843 (simpleTeXSpecialChars): Simply print the input character without
15844 any special translation if pass_thru is set.
15846 * layout.h: Added bool pass_thru to layout class for being able to
15847 implement pass through of a paragraph for Literate Programming.
15849 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15850 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15851 * layout.C (Read): add "passthru" to list of layout tags and add
15852 code to set the pass_thru boolean when it is read.
15854 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15856 * trans_decl.h: remove allowed from KmodInfo
15858 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15859 remove allowed code
15862 * paragraph_pimpl.C (erase): use boost::prior
15864 * Painter.C (text): use data() instead of c_str() when length is
15866 * WorkArea.C (putClipboard): ditto
15867 * font.h (width): ditto
15869 * BufferView2.C: use it-> instead of (*it). for iterators
15871 * paragraph_pimpl.C: ditto
15872 * paragraph.C: ditto
15873 * minibuffer.C: ditto
15874 * language.C: ditto
15876 * encoding.C: ditto
15877 * counters.C: ditto
15878 * converter.C: ditto
15880 * Variables.C: ditto
15881 * TextCache.C: ditto
15882 * MenuBackend.C: ditto
15883 * LyXAction.C: ditto
15885 * FloatList.C: ditto
15886 * DepTable.C: ditto
15887 * ColorHandler.C (LyXColorHandler): ditto
15889 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15891 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15893 * text2.C (openStuff): reintroduce this method (which had been
15894 nuked in NEW_INSETS frenzy).
15896 * lyxfunc.C (Dispatch): when an action has not been handled, use
15897 its name in the error message, not its number.
15899 * paragraph.C (inInset): change method name to begin with lowercase.
15902 * text2.C: updates because of this.
15904 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15906 * ToolbarDefaults.C (add): add spaces in error message
15908 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15910 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15911 (readLyXformat2): rename return_par to first_par, use lyxlex's
15912 pushToken and remove the manual push handling.
15913 (parseSingleLyXformat2Token): add another ert comp. variable:
15914 in_tabular, rename return_par to first_par. handle newlines better
15916 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15918 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15920 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15922 * text2.C (getParFromID): removed
15924 * buffer.C (getParFromID): new method moved form lyxtext.
15925 * BufferView2.C (insertErrors): adjust
15926 (setCursorFromRow): adjust
15927 * BufferView_pimpl.C (restorePosition): adjust
15928 * lyxfunc.C (Dispatch): adjust
15929 * undo_funcs.C (textUndo): adjust
15931 (textHandleUndo): adjust
15932 (textHandleUndo): adjust
15934 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15936 * buffer.C: up' the LYX_FORMAT
15938 * lyxfont.h: turn NO_LATEX on as default
15940 * buffer.C (insertErtContents): new methods of tex style compability.
15941 (parseSingleLyXformat2Token): use it several places.
15942 * tabular.C (OldFormatRead): and here
15944 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15946 * text2.C: remove some commented code.
15949 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15950 * trans.C: changes because of the above.
15952 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15954 * text2.C (setCounter): Fix counters bug with bibliography layout.
15956 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15958 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15959 own member functions
15960 (simpleTeXSpecialChars): ditto
15962 2001-07-06 Juergen Vigna <jug@sad.it>
15964 * a lot of files: changed the access to LyXText::status and the
15965 call of undo-functions.
15967 * undo.[Ch]: added a inset_id to the undo informations.
15969 * undo_funcs.[Ch]: added and moved here all undo functions.
15971 * lyxtext.h: give the status enum a weight, made status_ a private
15972 variable and made accessor functions for it, removed the whole bunch
15973 of undo-functions as they are now in their own file, make some
15974 functions publically available. Added function ownerParagraph with
15977 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15978 made InInset() a const function, added getParFromID() function.
15980 * buffer.[Ch]: added const version for inset_iterator functions,
15981 added getInsetFromID() function.
15983 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15984 changed undo functions for new version.
15986 2001-07-05 Juergen Vigna <jug@sad.it>
15988 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15989 unknow mechanism does not call the proper constructor but only this
15990 one also if I request the other!?
15992 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15994 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15996 * text2.C (LyXText): use initialization lists.
15998 * lyxtext.h (Selection): initialize set_ and mark_
15999 (init): remove method
16001 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16003 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16005 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16007 * screen.[Ch]: change method names to begin with lowercase
16009 * BufferView_pimpl.C (updateScrollbar): simplify further and
16010 hopefully make it a bit faster.
16012 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16014 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16015 calling directly xforms functions.
16017 * Painter.C (Painter):
16018 * lyx_cb.C (MenuWrite):
16019 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16022 * lyx_gui.C: remove bogus guiruntime extern declaration.
16024 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16026 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16028 (redoDrawingOfParagraph): ditto
16029 (redoParagraphs): ditto
16030 (cutSelection): don't create a object for CutAndPaste use the
16031 static method directly
16032 (pasteSelection): ditto
16034 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16037 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16039 * modifications to some other files because of this.
16041 * Makefile.am (lyx_SOURCES): add XFormsView
16043 * XFormsView.[Ch]: new files
16045 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16046 the main window. Move the gui dependent stuff to XFormsView
16048 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16050 * tabular.C (GetCellInset): update cur_cell also in the row/col
16051 version of this function.
16053 * lyxfunc.C: no need to include figure_form.h here.
16059 * lyxvc.C: no need to include forms.h here.
16061 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16063 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16065 * lyxfunc.C (Dispatch):
16067 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16068 constructor argument.
16070 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16072 * paragraph.C (Paragraph): dont't clear, and just set layout.
16073 (makeSameLayout): use params's copy contructor.
16075 * ParagraphParameters.[Ch] (makeSame): delete method
16077 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16079 * Variables.[Ch]: fix indentation, rename set to isSet
16081 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16083 * lyxfunc.C (Dispatch): fix typo
16085 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16087 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16090 * bufferlist.C: include assert.h for emergencyWrite().
16092 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16094 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16095 give up at last (bug #425202) !
16097 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16103 * spellchecker.C: strip spellchecker options and bring up
16104 preferences tab instead
16106 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16108 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16109 the istringstream constructor
16111 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16113 * paragraph.C (getLayout): fix return value
16115 * paragraph.h: do not declare getLayout as inline.
16117 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16119 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16121 * lyxcursor.h (operator<): new func
16122 (operator>): new func
16123 (operator>=): new func
16124 (operator<=): new func
16126 * text.C (changeCase): use selection.start and selection.end
16127 (changeRegionCase): require from to be <= to. Require par to be a
16130 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16132 2001-06-27 Juergen Vigna <jug@sad.it>
16134 * text.C (cursorLeftOneWord): changed to return the cursor and added
16135 overlay with BufferView * parameter which calls this one.
16137 (selectWord): use new getWord function.
16138 (changeCase): renamed from changeWordCase as and extended to work
16139 also on selections.
16141 * lyxtext.h: added enum word_location
16143 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16144 changeCase as this operates now also on selections.
16146 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16148 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16150 * many files: send debug output to Debug::INFO instead of
16153 * converter.C (View):
16155 (Move): send debug output to Debug::FILES instead of console.
16157 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16159 * lyxfunc.C (getStatus): use func_status
16161 * func_status.h: new header, describing the results of
16162 LyXFunc::getStatus;
16164 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16167 2001-06-25 The LyX Project <jug@sad.it>
16169 * buffer.C (sgmlOpenTag):
16171 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16173 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16175 * text2.C: remove some dead code
16177 * tabular.C (GetCellInset): store the last cell checked (gotten)
16179 * tabular.h: add the helper for the speedup
16181 * lyxtext.h: remove some dead code
16183 2001-06-26 The LyX Project <Asger>
16185 * paragraph.C: Change export to LaTeX of alignment to
16186 \begin{center} and family for better roundtrip work with reLyX.
16188 * Tune the math drawing a bit.
16190 2001-06-25 The LyX Project <Asger>
16192 * LColor.C (LColor): New color for math background. New color
16195 2001-06-25 The LyX Project <jug@sad.it>
16197 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16199 * lyxfunc.C (Open):
16200 * bufferlist.C (newFile): do not restrict to files ending with
16203 * BufferView_pimpl.C (MenuInsertLyXFile):
16205 2001-06-24 The LyX Project <jug@sad.it>
16207 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16210 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16212 * lyxtext.h: rename most methods to begin with a small char.
16213 Lots of changes because of this.
16215 * paragraph.C (Paragraph): do not call fitToSize
16216 (erase): call Pimpl::erase
16217 (insertChar): call Pimpl::insertChar
16218 (insertInset): call Pipl::insertInset
16219 (breakParagraph): do not call fitToSize
16220 (breakParagraphConservative): do not call fitToSize
16221 (fitToSize): remove method
16223 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16225 2001-06-24 The LyX Project <Asger>
16227 * Fix Qt compilation^2
16229 2001-06-24 The LyX Project <jug@sad.it>
16231 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16232 depthHook(getDepth()-1).
16235 * ParagraphParameters.h:
16236 * ParameterStruct.h: change type of depth to unsigned int ==
16237 depth_type. Many adaptations to other files before of that.
16239 2001-06-24 The LyX Project <Asger>
16241 * Fix Qt compilation.
16243 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16245 * paragraph.h: renamed several methods to begin with small letter.
16246 several changes to many parts of the code because of this.
16248 2001-06-23 The LyX Project <jug@sad.it>
16250 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16251 rewritten to discard all double spaces when KeepEmpty is off
16252 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16253 to only handle newlines but not fiddle with spaces and friends.
16255 * lyxfunc.C (MenuNew): when doing 'new from template', use
16256 template_path as default directory
16258 2001-06-23 The LyX Project <Asger>
16260 * Clean-up of header file includes all over
16261 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16263 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16265 * paragraph.h: renamed from lyxparagraph.h
16267 2001-06-23 Asger <lyx@violet.home.sad.it>
16269 * Buffer.h: Removed Buffer::resize
16270 * BufferList.h: Removed BufferList::resize
16271 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16272 the document lazily when we change the width, or the font settings.
16274 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16276 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16278 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16280 * buffer.h: remove out of date comment
16282 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16285 * screen.C: fix "theoretical" GC leak
16287 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16289 * LaTeX.C (scanAuxFile):
16290 (deplog): remove trailing \r when reading stream (useful under
16293 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16295 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16296 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16297 and BufferView::theLockingInset(Inset*), so should use them and not
16298 access bv_->text->the_locking_inset directly.
16300 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16302 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16305 * tex-defs.h: remove old unused file
16307 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16309 * BufferView_pimpl.C: fix typo, remove minibuffer message
16310 when buffer has loaded
16312 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16314 * lyxfunc.C (Dispatch): use stringstream
16315 (MenuNew): use stringstream
16316 (Open): use stringstream
16318 * importer.C (Import): use stringstream
16320 * bufferview_funcs.C (CurrentState): use stringstream
16322 * LaTeX.C (run): use stringstream
16324 * BufferView_pimpl.C (savePosition): use stringstream
16325 (restorePosition): use stringstream
16326 (MenuInsertLyXFile): use stringstream
16328 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16341 * vspace.C: removed // -*- C++ -*- as first line.
16344 * version.h: added // -*- C++ -*- as first line.
16346 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16348 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16350 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16353 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16355 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16358 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16360 * gettext.C: include LString.h even when --disable-nls is on.
16362 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16364 * converter.h (Get): changed argument type from int to
16365 FormatList::size_type to avoid unnecessary conversion.
16367 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16370 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16372 * gettext.h: include LString.h even when --disable-nls is on.
16374 2001-06-07 Juergen Vigna <jug@sad.it>
16376 * text.C (BreakAgain): subst spaces with tabs.
16378 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16379 (resizeInsetsLyXText): set force on resizeLyXText.
16381 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16383 * gettext.h (gettext_init):
16384 (locale_init): use a real definition instead of a macro
16386 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16388 * Bufferview_pimpl.C:
16390 * LColor.C: further lcolor tidies
16392 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16394 * BufferView_pimpl.C (updateScrollbar): simplify.
16396 * BufferView2.C: don't include insets/insetinfo.h, change
16397 prototype for insertInset and call the Pimpl version. let
16398 updateInset call Pimpl version.
16400 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16401 gotoInset to BufferView::Pimpl
16403 2001-06-01 Juergen Vigna <jug@sad.it>
16405 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16406 inside a LockingInset (is the update needed at all?).
16408 2001-05-31 Juergen Vigna <jug@sad.it>
16410 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16411 here not the old one otherwise how should we compare it afterwards
16414 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16419 * FontInfo.C: bring C functions into global namespace when
16422 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16424 * LString.h: make sure config.h has been loaded before LString.h.
16426 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16427 (one for each char read by EatLine!).
16429 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16432 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16434 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16435 to the same as the par we break from
16437 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16439 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16441 * MenuBackend.C (expand): also create menu entries for wide
16442 versions of the floats.
16444 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16446 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16448 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16449 frontends/Makefile.am
16455 * tabular.C (getTokenValue): add std::
16457 * tabular-old.C (getTokenValue): add std::
16458 (getTokenValue): ditto
16459 (getTokenValue): ditto
16461 * screen.C (ToggleSelection): adjust
16463 * lyxtext.h: put selection cursors inside a Selection struct.
16465 * lyxfunc.C (moveCursorUpdate): adjust
16467 * lyxfont.C (latexWriteStartChanges): add std::
16469 * lyxfind.C: adjust
16471 * font.h: delete with(char const *, LyXFont const &)
16473 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16475 * FontInfo.C (getFontname): add std::
16477 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16478 (workAreaButtonPress): adjust
16479 (tripleClick): adjust
16481 (moveCursorUpdate): adjust
16484 * BufferView2.C (gotoInset): adjust
16486 2001-05-30 Juergen Vigna <jug@sad.it>
16488 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16489 to check pspell I add this as default as I now have new pspell
16490 libraries and they seem to use this.
16492 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16494 * text2.C (CutSelection): make the cursor valid before the call to
16497 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16499 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16500 relied on 0 terminated strings and other horrors. Bug found due to
16501 the new assert in lyxstring!
16503 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16506 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16508 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16511 * lyxfunc.C (processKeySym): change method of getting to the
16514 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16515 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16516 * BufferView_pimpl.[Ch]: here as private methods.
16518 2001-05-28 Juergen Vigna <jug@sad.it>
16520 * text.C (SetHeightOfRow): added the update() call again as it is
16521 needed to initialize inset dimensions!
16523 2001-05-16 Juergen Vigna <jug@sad.it>
16525 * text2.C (SetCharFont): Add new function with BufferView * and
16526 bool toggleall parameters for setting insets internal fonts.
16527 (SetFont): Freeze the undo as we may change fonts in Insets and
16528 all this change should be inside only one Undo!
16530 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16531 setting font's in insets as for them we have the SetFont function!
16533 2001-05-15 Juergen Vigna <jug@sad.it>
16535 * text2.C (ClearSelection): to be sure we REALLY don't have any
16538 * tabular.C (TeXCellPreamble): fixed the left border problem for
16541 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16543 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16546 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16548 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16549 LFUN_BREAKPARAGRAPH.
16551 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16552 help test to "internal only", similar for LFUN_INSERT_URL
16554 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16555 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16556 auto_region_delete and deadkeys.
16558 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16561 * LColor.C: remove some dead entries, tidy a little
16563 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16565 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16567 (Dispatch): implement LFUN_ESCAPE
16569 * commandtags.h: add LFUN_ESCAPE
16571 * LyXAction.C (init): add entry for LFUN_ESCAPE
16573 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16574 Remove commented code.
16575 (insertNote): moved here
16576 (open_new_inset): moved here
16578 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16581 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16583 * kbmap.C (findbinding): clean it up and make it work correctly.
16585 * lyx_main.C (init): do not pass argc and argv as parameters
16587 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16589 * buffer.C: fix path for OS/2 & Win32
16593 * lyx_main.C: Added os:: class.
16595 * os2_defines.h: update
16597 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16599 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16600 better by trying again with reduced state.
16602 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16604 * lyxrc.C (read): print error about invalid key sequence only when
16605 debugging (because not all latinX keysyms are known to some X
16608 * kbsequence.C (getiso): add a few std:: qualifiers
16609 (getiso): comment out extra return statement.
16611 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16613 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16615 (Dispatch): enhance the accent inset a bit. (not perfect)
16617 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16619 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16621 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16623 * bufferlist.C (emergencyWrite): fix assert() call
16625 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16627 * text.C (InsertChar): Added trivial patch to only send the "you
16628 can not do multiple spaces this way" message once during a
16631 2001-05-08 Baruch Even <baruch@lyx.org>
16633 * Makefile.am: Changed order of libraries to get LyX to link properly
16634 with the gnome frontend.
16636 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16638 * LaTeXFeatures.h: add a std:: qualifier
16640 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16642 * paragraph.C (String): use stringstream
16644 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16646 * paragraph.C (writeFile): remove footflag arg
16648 * buffer.C (makeLaTeXFile): use stringstream
16649 (latexParagraphs): remove footnot gurba
16651 * LaTeXFeatures.C (getPackages): use stringstream
16652 (getMacros): likewise
16653 (getTClassPreamble): likewise
16654 (getFloatDefinitions): new method
16656 * paragraph.C (writeFile): reindent
16659 * WorkArea.h: revert the xpos + etc changes.
16661 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16663 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16665 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16666 (pasteSelection): likewise
16667 * text2.C (CreateUndo): likewise
16669 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16671 * minibuffer.C (peek_event): temporarily reduce the functionality
16672 of the minibuffer (to allow args on lfuns)
16674 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16675 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16677 * buffer.C (readInset): add compability reading of old float
16678 lists, add reading of new style float list.
16679 (readInset): avoid reevaluation of inscmd.getCmdName()
16680 (getLists): reindent
16682 * MenuBackend.C (MenuItem): implement parsing of
16683 md_floatlistinsert and md_floatinsert.
16684 (expand::LastFiles): move initalizaton of iterators out of loop,
16685 avoid reevaluation.
16686 (expand::Documents): introduce typdedef vector<string> Strings,
16688 (expand::ExportFormats): introduce typedef vector<Format const *>
16689 Formats, and use it.
16690 (expand): implement FloatListInsert and FloatInsert.
16692 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16693 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16694 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16696 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16698 (Dispatch::LFUN_FLOAT_LIST): implement
16700 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16702 * LaTeX.C (run): Fix problem with --export code.
16704 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16706 * BufferView.[Ch] (workarea): removed.
16707 (getClipboard) new method; wrapper for workarea()->getClipboard()
16709 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16712 * WorkArea.h (width, height, xpos, ypos): These methods all
16713 returned the dimensions of the work_area sub-area of WorkArea,
16714 resulting in a position error if the WorkArea were resized. Now
16715 return the dimensions of the entire WorkArea.
16717 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16719 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16721 * LaTeX.C (deplog): correct the syntax of regex reg1
16723 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16725 * undo.C: remove !NEW_INSETS cruft
16727 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16729 * text2.C: remove !NEW_INSETS cruft
16731 * text.C: remove !NEW_INSETS cruft
16733 * tabular.C: remove !NEW_INSETS cruft
16735 * spellchecker.C: remove !NEW_INSETS cruft
16737 * lyxtext.h: remove !NEW_INSETS cruft
16739 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16741 * lyxfunc.C: remove !NEW_INSETS cruft
16743 * lyxfind.C: remove !NEW_INSETS cruft
16745 * lyx_cb.C: remove !NEW_INSETS cruft
16747 * figureForm.C: remove !NEW_INSETS cruft
16749 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16751 * buffer.[Ch]: remove !NEW_INSETS cruft
16753 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16755 * CutAndPaste.C: remove !NEW_INSETS cruft
16757 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16759 * BufferView2.C: remove !NEW_INSETS cruft
16761 * BufferView.h: remove !NEW_INSETS cruft
16763 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16765 * Lsstream.h: include LString.h before the sstream headers to
16766 fix problem with gcc 2.95.3 and lyxstring
16768 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16770 * lyx_main.C: add using directives when needed for C functions
16771 declared in std:: namespace.
16773 2001-04-27 Juergen Vigna <jug@sad.it>
16775 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16776 (SetHeightOfRow): comment out the update call should not be needed!
16778 2001-04-13 Juergen Vigna <jug@sad.it>
16780 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16781 (LyXTabular): tried to minimize operator= operations (and realized
16782 hopfully Lars wish).
16784 2001-04-27 Juergen Vigna <jug@sad.it>
16786 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16788 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16790 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16792 * buffer.C (readInset): hack to make listof algorithm work
16794 * BufferView_pimpl.C: hack to make listof algorithm work
16796 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16798 * LyXAction.C: removed all !NEW_INSETS cruft
16799 (init): moved lfun_item in method
16801 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16803 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16805 * BufferView2.C (theLockingInset): white space.
16807 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16809 * minibuffer.C: include <iostream>
16811 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16813 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16815 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16817 * text.[Ch] (TransposeChars): new method
16819 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16821 * call message directly through LyXView instead of through LyXFunc
16822 * BufferView2.C: adjust
16823 * BufferView_pimpl.C: adjust
16824 * FontLoader.C: adjust
16826 * bufferview_funcs.C: adjust
16827 * converter.C: adjust
16828 * figureForm.C: adjust
16829 * importer.C: adjust
16831 * lyx_gui_misc.C: adjust
16832 * lyxfunc.C: adjust
16835 + more files in subdirs
16837 * lyxparagraph.h (size): move up int file
16840 * adjust all uses of Assert to lyx::Assert.
16842 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16843 lyxfunctional in namespace lyx
16844 * layout.C (hasLayout): ditto
16847 (delete_layout): ditto
16848 (NumberOfClass): ditto
16849 * converter.C (GetFormat): ditto
16854 * bufferlist.C (getFileNames): ditto
16855 (emergencyWriteAll): ditto
16858 * MenuBackend.C (hasSubmenu): ditto
16861 * BufferView_pimpl.C (getInsetByCode): ditto
16863 2001-04-18 Juergen Vigna <jug@sad.it>
16865 * vspace.C (asLatexString): fixed the 100% problem.
16867 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16869 * lyxfunc.C (Dispatch):
16871 * minibuffer.h: add a few std:: qualifiers
16873 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16875 * minibuffer.[Ch]: reimplement so that commands is initiated and
16876 run from lyxfunc, simplified som handling, and made the completion
16877 and history code for complete. wip.
16879 * lyxfunc.C (processKeySym): call message
16880 (miniDispatch): new temporary method
16881 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16882 (LFUN_MESSAGE): implement
16883 (LFUN_MESSAGE_PUSH): implement
16884 (LFUN_MESSAGE_POP): implement
16885 (initMiniBuffer): the initial/defualt minibuffer message.
16887 * lyxfont.[Ch]: inline some more getters
16889 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16891 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16893 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16894 (AutoSave): use LFUN_MESSAGE
16895 (Reconfigure): ditto
16897 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16899 * figureForm.C: use LFUN_MESSAGE
16901 * converter.C (runLaTeX): use LFUN_MESSAGE
16903 * bufferview_funcs.C: use LFUN_MESSAGE
16905 (changeDepth): ditto
16907 * bufferparams.h: use boost::
16909 * bufferlist.h: inherit privately from noncopyable
16911 * bufferlist.C (loadLyXFile): remove some commented code.
16913 * buffer.C (runChktex): use LFUN_MESSAGE
16915 * ShareContainer.h: inherit privately from noncopyable
16917 * ParagraphParameters.[hC] (depth): inline it.
16919 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16921 (message): new method
16922 (messagePush): ditto
16923 (messagePop): ditto
16924 (show): init minibuffer
16925 (showState): direct call
16927 * LaTeX.[Ch]: inherit privately from noncopyable
16928 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16929 instead of WriteStatus.
16931 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16933 * BufferView_pimpl.C (buffer): don't init minibuffer
16934 (workAreaButtonPress): use LFUN_MESSAGE
16935 (workAreaButtonRelease): ditto
16936 (savePosition): ditto
16937 (restorePosition): ditto
16938 (MenuInsertLyXFile): ditto
16939 (workAreaExpose): don't init minibuffer
16940 (update): remove commented code, simplify
16942 * BufferView2.C (openStuff): use LFUN_MESSAGE
16943 (toggleFloat): ditto
16946 (copyEnvironment): ditto
16947 (pasteEnvironment): ditto
16952 (updateInset): remove some commented code
16954 * lastfiles.h: inherit privately from noncopyable
16957 * lyx_main.h: ditto
16959 * lyxlex_pimpl.h: ditto
16961 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16962 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16963 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16965 * LyXAction.h: inherit privately from noncopyable, add methods
16966 func_begin, func_end, returning iterators to the func map.
16968 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16969 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16970 (func_begin): new method
16971 (func_end): new method
16973 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16975 (copySelection): ditto
16976 (pasteSelection): ditto
16978 * BufferView.C: whitespace change
16979 * BufferView.h: inherit privately from noncopyable
16981 2001-04-16 Allan Rae <rae@lyx.org>
16983 * tabular-old.C (l_getline):
16984 * spellchecker.C (sc_check_word):
16985 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16986 an unrecognised preprocessor directive. So ensure they're wrapped.
16988 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16990 * src/exporter.C (Export): Give an error message when path to file
16993 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16995 * LaTeX.C (deplog): Always check that foundfile exists.
16997 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17000 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17002 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17004 * tabular.[Ch] (getLabelList): implement new method
17006 * minibuffer.h: comment ouf setTiimer
17008 * minibuffer.C (ExecutingCB): constify res
17009 (peek_event): constify s
17010 (Set): constify ntext
17011 (Init): constify nicename
17013 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17015 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17016 (savePosition): use two params to Minibuffer::Set
17017 (restorePosition): ditto
17019 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17021 * lyx_main.C: include language.h
17023 * Makefile.am (lyx_main.o): add language.h
17025 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17031 * CutAndPaste.C: include gettext.h
17033 * lyxfont.h: remove old hack with ON and OFF.
17036 * lyxfont.h: do not include language.h...
17041 * bufferview_funcs.C:
17047 * paragraph.C: ... but do it here instead
17049 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17051 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17053 * tabular.C: small reformat
17055 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17058 (BreakParagraph): ditto
17059 (SetOnlyLayout): ditto
17062 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17065 * lastfiles.C: removed most using decl, add std:: where needed
17067 * buffer.C: ws changes
17069 * MenuBackend.C (class compare_format): put into anon namespace
17070 (expand): constify label, names, action, action2
17073 * text.C (SingleWidth): constify font
17074 (IsBoundary): constify rtl2
17075 (GetVisibleRow): constify ww
17077 * LaTeX.C (deplog): constify logfile
17079 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17081 (workAreaExpose): constify widthChange, heightChange
17083 * lyxrow.C (par): moved
17086 * lyxrow.h: as inlines here
17088 * lyxfont.h (shape): moved from lyxfont.C
17089 (emph): moved from lyxfont.C
17091 * lyxfont.C (LyXFont): use initialization list for all
17093 (shape): move to lyxfont.h as inline
17094 (emph): move to lyxfont.h as inline
17097 2001-04-04 Juergen Vigna <jug@sad.it>
17099 * vspace.C: had to include stdio.h for use of sscanf
17101 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17104 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17105 independent of xforms.
17107 2001-04-02 Juergen Vigna <jug@sad.it>
17109 * spellchecker.C: fixed namespace placing!
17111 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17113 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17114 the LyXParagraph * is 0.
17116 2001-03-29 Juergen Vigna <jug@sad.it>
17118 * vspace.C: added support for %, c%, p%, l%.
17119 (stringFromUnit): added helper function.
17120 (asLatexString): changed to give right results for the %-values.
17122 * buffer.C: convert the widthp in a width%.
17124 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17126 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17129 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17130 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17132 * lyx_cb.[Ch]: see above.
17134 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17138 * lyx.[Ch]: replaced by figure_form.[Ch].
17142 * lyxfunc.C: changed headers associated with above changes.
17144 2001-03-27 Juergen Vigna <jug@sad.it>
17146 * BufferView_pimpl.C: set the temporary cursor right!
17148 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17150 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17152 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17154 * LString.h: removed "using std::getline"!
17156 * BufferView_pimpl.C (Dispatch): changes due to changes in
17157 InsetInclude::Params.
17159 * buffer.C (tag_name): removed redundant break statements as they were
17160 producing lots of warnings with my compiler.
17162 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17164 * LString.h: add "using std::getline" when using the real <string>.
17166 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17168 * buffer.C: removed bitset usage.
17169 PAR_TAG moved to an anonymous name space.
17170 (tag_name): new funtion, also in the anonymous namespace.
17171 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17172 (makeDocBookFile): clean code. Completed transition from string arrays
17174 (SimpleDocBookOnePar): code clean.
17176 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17178 * tabular.C: add some comments.
17180 2001-03-22 Juergen Vigna <jug@sad.it>
17182 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17183 compatibility read a bit and fixed bug with minipage in different
17186 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17188 * buffer.C (pop_tag): removed.
17189 (push_tag): removed.
17190 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17191 array replaced with vector. Added support for CDATA sections.
17192 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17194 (makeDocBookFile): XML conformant declaration of CDATA section,
17195 fixed bug related to <emphasis> in the first paragraph char.
17196 (sgmlOpenTag): exclude empty tags.
17197 (sgmlCloseTag): ditto.
17199 * buffer.h (pop_tag): removed.
17200 (push_tag): removed.
17202 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17204 * language.h (Languages): added size_type and size().
17206 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17208 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17209 response on compability reading of minipages. One probliem is that
17210 the old usage of minipages was «flertydig»
17212 * several files here and in subdirs: don't use static at file
17213 scope use anon namespaces instead.
17215 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17217 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17218 LaTeX output. This is necessary for Literate document
17221 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17223 * buffer.C: insert hfill when needed.
17225 * tabular.C (l_getline): use string::erase, small whitespace change.
17227 * BufferView_pimpl.C: try the anon namespace.
17228 * WorkArea.C: ditto
17230 2001-03-16 Juergen Vigna <jug@sad.it>
17232 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17233 otherwise it won't open options-dialogs.
17235 * buffer.C: honor pextraWidth(p) on converting minipages.
17237 * tabular.C (l_getline): changed the functions to strip trailing \r.
17239 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17241 * BufferView_pimpl.C:
17242 * minibuffer..C: added "using SigC::slot" declaration.
17244 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17246 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17252 * paragraph.C: ditto
17254 * lyxtext.h: NO_PEXTRA
17256 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17258 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17259 * ParameterStruct.h: ditto
17260 * ParagraphParameters.h: ditto
17261 * lyxparagraph.h: ditto
17263 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17265 * buffer.C: add compability for minipage alignment.
17266 (latexParagraphs): remove unwanted pextra check.
17268 * several files: remove CXX_WORKING_NAMESPACES
17270 * buffer.C (pop_tag): tie is in namespace boost
17272 * BufferView.h: noncopyable is in namespace boost
17274 * lyx_main.h: ditto
17277 * lastfiles.h: ditto
17278 * bufferlist.h: ditto
17279 * ShareContainer.h: ditto
17281 * LyXAction.h: ditto
17284 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17286 * Merging changes from BRANCH_MVC back into HEAD.
17288 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17290 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17292 * BufferView_pimpl.C: change from intl.C
17296 * Makefile.am: move combox.*
17302 * intl.C: remove dialog (covered by prefs)
17304 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17306 * lyxfunc.C (Dispatch): removed redundant break statement.
17308 2001-03-14 Juergen Vigna <jug@sad.it>
17310 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17312 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17314 * buffer.C: add hack to fix compability reading of minipages.
17316 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17318 * buffer.C (getLists): Cleanup.
17320 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17322 * lyxfont.C (update): don't honor toggleall on font size.
17324 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17328 * Makefile.am: moved to frontends/xforms/
17332 * BufferView_pimpl.C: changes for moved mathpanel
17334 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17336 * gettext.h: fix gettext_init() in --disable-nls
17338 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17340 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17342 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17345 * lyx.h: strip external form
17347 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17349 * BufferView_pimpl.C: add comment, destroySplash()
17351 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17353 * BufferView_pimpl.C:
17357 * lyxfunc.C: use re-worked insetinclude
17359 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17361 * buffer.C: add using std::stringstream.
17363 * lyx_cb.C: readd using std::ios.
17365 * buffer.C: add using std::map.
17367 * BufferView_pimpl.C: add using std::vector.
17369 * ShareContainer.h: add std:: to swap.
17371 * buffer.h: add some typedefs
17372 * buffer.C (getLists): use them
17373 (getLists): renamed from getTocList.
17374 add a counter for the different float types and use it in the
17376 (getLists): use the same counter for the NEW_INSETS and the "non"
17379 * lyx_cb.h: remove unused items, includes, using etc.
17381 * ShareContainer.h: remove some commented code, add more comments
17382 and "documentation".
17384 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17386 * buffer.C (getTocList): make the list also when NEW_INSETS is
17389 * buffer.h: remove TocType
17391 * buffer.C (getTocList): change to return a map<string,
17392 vector<TocItem> >, implement for dynamic number of list.
17394 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17395 * text2.C (PasteSelection): adjust
17396 * CutAndPaste.C (pasteSelection): adjust
17398 * FloatList.C (FloatList): update from the new_insets branch.
17399 * Floating.[Ch]: ditto
17400 * LaTeXFeatures.C: ditto
17402 * lyxlex_pimpl.C: ditto
17404 * paragraph.C (Last): remove when NEW_INSETS is defined.
17406 * other file: changes because of the above.
17408 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17410 * lyxparagraph.h: rename next to next_, previous to previous_,
17411 make them private for NEW_INSETS. Rename Next() to next(),
17412 Previous() to previous().
17414 * other files: changes because of the above.
17416 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17419 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17422 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17424 * main.C (main): pass lyx_localedir to gettext_init().
17426 * gettext.h: remove locale_init and gettext_init macros
17428 * gettext.C (locale_init): new function
17429 (gettext_init): new function
17431 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17434 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17436 * Moved credits to frontends:
17437 * credits.[Ch]: removed
17438 * credits_form.[Ch]: removed
17439 * lyx_gui_misc.C: remove credits stuff
17442 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17444 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17446 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17447 unneeded destructor.
17449 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17450 a standalone pointer again.
17452 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17454 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17460 * ToolbarDefaults.C:
17469 * BufferView_pimpl.C: use new file dialog in GUII
17472 * lyx_cb.C: remove LayoutsCB to Toolbar
17474 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17476 * ShareContainer.h (get): add std:: qualifier
17478 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17480 * ShareContainer.h: define a proper ShareContainer::value_type
17481 type (and use typename to please compaq cxx)
17483 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17485 * lyxparagraph.h: move serveral local vars to
17486 ParameterStruct/ParagraphParameters., use ShareContainer in
17487 FontTable., make vars in FontTable private and add getter and
17490 * paragraph.C: changes because of the above.
17492 * lyxfont.h: remove copy constructor and copy assignment. (the
17493 default ones is ok), move number inside FontBits. move inlines to
17496 * lyxfont.C: add number to initializaton of statics, move several
17497 inlines here. constify several local vars. some whitespace
17498 cleanup. Dont hide outerscope variables.
17500 * Spacing.h: add two new constructors to match the set methods.
17502 * ShareContainer.h: new file, will perhaps be moved to support
17504 * ParameterStruct.h: new file
17506 * ParagraphParameters.h: new file
17508 * ParagraphParameters.C: new file
17510 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17511 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17513 * BufferView_pimpl.C: ParagraphParameter changes.
17514 * buffer.C: Likewise.
17515 * bufferview_funcs.C: Likewise.
17516 * text.C: Likewise.
17517 * text2.C: Likewise.
17519 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17521 * lyxfind.C (LyXReplace): do not redefine default argument in
17523 (IsStringInText): ditto
17524 (SearchForward): ditto
17525 (SearchBackward): ditto
17527 2001-03-06 Juergen Vigna <jug@sad.it>
17529 * lyxfind.C (IsStringInText): put parentes around expressions.
17531 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17533 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17535 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17537 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17539 * stl_string_fwd.h: add comment
17541 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17544 * tabular.C: remove unused DocBook methods
17550 killed DO_USE_DEFAULT_LANGUAGE
17552 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17554 * lyx_gui.C: do not include language.h.
17556 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17557 arguments in function implementation.
17559 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17561 * BufferView_pimpl.C: add <ctime>
17563 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17565 * BufferView_pimpl.C: add using std::find_if
17567 2001-02-27 José Matos <jamatos@fep.up.pt>
17569 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17572 2001-02-11 José Matos <jamatos@fep.up.pt>
17574 * buffer.C (makeDocBookFile): command styles now have a parameter as
17575 "title" by default.
17577 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17579 * layout_forms.[Ch]: removed
17580 * lyx_cb.[Ch]: out character
17581 * lyx_gui.C: out character
17582 * lyx_gui_misc.C: out character
17583 * bufferview_funcs.C: : out character,
17584 added toggleall as parameter in ToggleAndShow
17586 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17588 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17590 * text2.C (SetCurrentFont): Disable number property at boundary.
17592 2001-02-26 Juergen Vigna <jug@sad.it>
17594 * lyxfunc.C (getStatus): added a string argument override function so
17595 that this is correctly called from LyXFunc::Dispatch if it contains a
17596 do_not_use_argument which is used!
17597 (Dispatch): added check for "custom" export and call appropriate func.
17599 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17601 * lyxrc.C: Add language_command_local, language_use_babel and
17602 language_global_options.
17604 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17606 * buffer.C (makeLaTeXFile): Use language_use_babel and
17607 language_global_options.
17609 2001-02-23 Juergen Vigna <jug@sad.it>
17611 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17612 which works with LyXText and putted it inside BufferView. Here now we
17613 only call for that part the BufferView::Dispatch() function.
17615 * BufferView.C (Dispatch): added.
17617 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17618 functions which needs to use a LyXText over from LyXFunc.
17619 (MenuInsertLyXFile): added
17620 (getInsetByCode): added
17621 (moveCursorUpdate): added
17622 (static TEXT): added
17624 2001-02-22 Juergen Vigna <jug@sad.it>
17626 * BufferView_pimpl.C (update): call a status update to see if LyXText
17629 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17631 * vc-backend.C (revert): implement for CVS
17632 (getLog): implement for CVS
17634 2001-02-20 Juergen Vigna <jug@sad.it>
17636 * text2.C (ClearSelection): added BufferView param for inset_owner call
17638 * lyxfunc.C (TEXT): added this function and use it instead of
17639 directly owner->view()-text of getLyXText().
17641 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17643 * src/layout_forms.C: out preamble
17644 * src/layout_forms.h: out preamble
17645 * src/lyx_cb.C: out preamble
17646 * src/lyx_cb.h: out preamble
17647 * src/lyx_gui.C: out preamble
17648 * src/lyx_gui_misc.C: out preamble
17649 * src/lyxfunc.C: connect with guii preamble
17651 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17653 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17655 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17657 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17658 whether to run bibtex.
17660 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17662 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17664 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17666 * Makefile.am (lyx_SOURCES): removed bibforms.h
17668 * vspace.h: doxygen
17670 * text.C (GetVisibleRow): make several local vars const
17672 * tabular.C: small cleanup.
17674 * lyxserver.C (callback): use compare instead of strncmp
17676 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17677 inlines to after class or to paragraph.C
17679 * lyxfont.h: remove friend operator!=
17681 * converter.h: move friend bool operator< to non friend and after
17684 * combox.h: small cleanup
17686 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17687 to inlines after class def.
17689 * buffer.C (pop_tag): use string operations instead of strcmp
17691 * bmtable.c: doxygen, small cleanup
17693 * LaTeX.h: remove friend operator==
17695 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17707 * BufferView_pimpl.C:
17708 * BufferView.[Ch]: remove cruft
17710 2001-02-14 Juergen Vigna <jug@sad.it>
17712 * lyxfunc.C: removed #if 0 unused code
17714 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17716 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17718 * text2.C (SetSelection): added a BufferView * parameter
17720 2001-02-13 Juergen Vigna <jug@sad.it>
17722 * lyxfunc.C (Dispatch): fixed protected blank problem.
17723 * BufferView2.C (protectedBlank): added LyxText * parameter.
17725 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17726 (AppendColumn): same as above for column_info.
17728 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17729 (moveCursorUpdate): use a LyXText param for support of InsetText.
17731 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17732 (tripleClick): ditto
17734 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17736 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17738 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17740 * text2.C (SetSelection): set correct update status if inset_owner
17741 (ToggleFree): ditto
17743 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17745 * tabular.C: remove some commented code.
17747 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17749 * BufferView_pimpl.C: call hideSplash()
17751 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17754 * bibforms.h: remove
17757 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17758 add LFUN_CHILD_CREATE
17760 * counters.h: fix tiny typo
17765 * lyx.C: move splash to frontends/xforms/
17767 * lyx_gui_misc.C: move Include and Bibform to frontends
17769 * lyxvc.h: clarify comment
17771 * vspace.C: tiny housekeeping
17773 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17775 * text.C (PrepareToPrint): RTL Fix.
17777 * paragraph.C (GetUChar): New method.
17778 (String): Use GetUChar.
17780 * buffer.C (asciiParagraph): Use GetUChar.
17782 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17784 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17786 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17789 * buffer.C: rename to getLogName(), handle
17790 build log / latex log nicely
17792 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17795 * MenuBackend.h: remove support for reference menuitem type.
17797 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17799 * BufferView_pimpl.C: housekeeping
17800 * BufferView_pimpl.h:
17805 * minibuffer.h: move Timeout GUI-I
17807 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17809 * lyxrc.C (read): Update converters data-structures.
17811 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17813 * LaTeX.h (operator!=): add operator != for Aux_Info
17815 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17817 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17819 * LaTeXLog.C: deleted, useful code moved to Buffer
17822 * buffer.C: new function getLatexLogName()
17828 * lyxfunc.C: use frontends for LaTeX and VC logs
17830 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17832 * LaTeX.h: yet another std:: that Allan forgot.
17834 * Variables.C (set): renamed from isset(), because this clashes
17835 with some HP-UX macros (grr).
17837 2001-02-06 Allan Rae <rae@lyx.org>
17839 * LaTeX.h: Another bug fix. Missing std:: this time.
17841 2001-02-04 Allan Rae <rae@lyx.org>
17843 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17844 floats problem. I've left it commented out because it's not quite
17845 correct. It should also test that the current object is a table or
17846 figure inset. But I haven't gotten around to figuring out how to do
17847 that. I *think* it'll be something like: "table" == inset.type()
17849 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17852 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17854 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17855 all the citation/databases/styles in the auxilary file.
17856 (run): Rerun latex if there was a babel language error.
17858 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17860 * text.C (Backspace): Preserve the font when changing newline char
17862 (BreakParagraph): If the cursor is before a space, delete the space.
17864 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17866 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17868 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17869 new argument (code).
17870 (ChangeCitationsIfUnique): New method.
17872 * paragraph.C (GetPositionOfInset): Handle bibkey.
17874 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17876 * BufferView_pimpl.h: change type of Position::par_pos to
17877 LyXParagraph::size_type.
17879 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17881 * BufferView_pimpl.C (savePosition, restorePosition): Write
17882 messages to minibuffer.
17884 2001-01-28 José Matos <jamatos@fep.up.pt>
17886 * buffer.C (makeDocBookFile): adds support for document language.
17887 A silly restriction on the name of LatexCommand types where removed.
17888 Added support for CDATA sections, allows to chars unescaped, used
17889 among others in code, to avoid escape < and >.
17891 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17893 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17894 saved positions instrad of a stack. Furthermore, a position is
17895 stored using paragraph id/paragraph position.
17897 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17898 Remove LFUN_REF_BACK.
17900 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17902 * converter.C (dvipdfm_options): New method.
17904 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17906 * vspace.C (isValidLength): Fix for empty input string.
17908 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17910 * LyXAction.C (init): change description of LFUN_FIGURE to
17913 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17915 * LaTeX.C: add using directive
17917 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17919 * MenuBackend.C (expand): Fix the sorting of the formats.
17921 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17923 * lyx_main.C: tiny error message fix
17925 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17927 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17928 calling fl_initialize(). This fixes the problem with ',' as
17929 decimal separator in text files.
17931 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17933 * trans.C (process): Fix the keymap bug.
17935 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17937 * LaTeX.C (scanAuxFiles): New method. Provides support for
17938 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17939 (scanLogFile) Scan for "run BibTeX" messages.
17941 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17942 OT1 font encoding. Also, load the aecompl package if the ae
17945 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17947 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17949 * texrow.C (increasePos): turn two error messages into debug
17952 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17954 * LaTeX.C (scanAux): Handle the \@input macro.
17955 (runBibTeX): Use scanAux().
17957 * language.C (latex_options_): New field.
17959 * LaTeXFeatures.C (getMacros): Add language macros.
17961 * buffer.C (makeLaTeXFile): Small fix.
17963 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17965 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17967 * text2.C: add a using directive.
17969 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17974 * lyxfunc.C: kill LyXBell.
17976 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17978 * text.C (IsBoundary): Remove the error message
17980 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17982 * lyxrc.C (setDefaults): Correct initialization value for
17985 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17987 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17990 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17991 and GotoNextNote().
17993 * src/LyXAction.C: Added reference-next.
17995 * text.C (InsertChar): Use contains instead of strchr.
17997 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17999 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18001 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18002 alignment commands (when needed).
18004 * text.C (InsertChar): Add ':' to number separator chars.