2 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4 * buffer_funcs.C (setCounter): fix test for numbering of
7 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
8 depth correctly; use optional argument when it exists
10 * lyxtextclass.C: remove unused MaxCounterTags enum
11 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
12 (max_toclevel, min_toclevel): new methods.
14 * MenuBackend.C (expandToc2): fix case where depth is smaller than
15 the smallest depth in toc.
17 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
18 layouts that should not appear in a table of contents.
21 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
23 * buffer.C (save): check if destination is writable before trying
27 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
29 * BufferView_pimpl.C (update): fix processEvents -caused update
32 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
34 * cursor.h (undispatched, noUpdate): add comments from André
36 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
40 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
42 2005-05-07 André Pönitz <poenitz@gmx.net>
44 * cursor.[Ch] (leaveInset): new function
46 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
48 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
50 2005-05-04 Angus Leeming <leeming@lyx.org>
52 * lyxfunc.C (getStatus): disable the spell checker dialog if
53 none of USE_[AIP]SPELL are defined.
55 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
57 * tabular.C (setWidthOfCell): remove obsolete comment
59 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
61 * paragraph.C (bibitem):
62 * buffer_funcs.C (setCounter):
63 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
65 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
67 * text3.C (getStatus): immediately return after setOnOff
69 * rowpainter.C: fix drawing of appendix start
71 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
73 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
74 SwitchBetweenClasses and remove the unused return value.
75 Handle character styles, too
77 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
79 * factory.C (createInset): handle undefined character styles
81 2005-05-02 Angus Leeming <leeming@lyx.org>
83 * buffer.C: protect the #include of utime.h with a preprocessor
86 2005-05-02 Angus Leeming <leeming@lyx.org>
88 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
89 function so that auto-saving works, albeit in a blocking manner.
91 * Makefile.am: make compilation of the client sub directory, of
92 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
93 on conditionals set at configure time.
95 * SpellBase.[Ch]: no longer an abstract base class. Instead,
96 it can be compiled in its own right but has no-op functionality.
98 * aspell.C, pspell.C: remove preprocessor guards. The files should
99 be compiled only if the necessary functionality exists.
101 * lyxserver.C, lyxsocket.C: disable on Windows.
103 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
105 * text.C (leftMargin): Fix the parindent use bug (1764)
108 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
110 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
113 2005-04-25 Angus Leeming <leeming@lyx.org>
121 include <config.h> in .C files, not .h ones.
123 protect headers inside preprocessor guards.
125 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * FuncStatus.h (StatusCodes): document
129 2005-04-21 André Pönitz <poenitz@gmx.net>
131 * FuncStatus.h (enabled, onoff): document
133 2005-04-19 Angus Leeming <leeming@lyx.org>
135 * BufferView_pimpl.C (cursorToggle): no longer test whether
136 any child processes have been reaped before calling
137 handleCompletedProcesses().
139 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
141 * text3.C (dispatch): fix, finally fix, the language problem in
142 new lyxtexts, without disabling on-the-fly font changes (Helge's
145 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
147 * text3.C (dispatch): set cursor on double/triple click events
150 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
153 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
155 * rowpainter.C (paintFirst): simplify the code a little bit. In
156 particular, remove the test for secnumdepth.
157 * text.C (setHeightOfRow): only allocate space for chapter number
158 when updateCounters provided an actual label, instead of looking
159 at secnumdepth directly.
161 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
163 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
164 paragraphs when secnumdepth is large enough or, for environments,
165 when they are not the first in a sequence.
167 2005-04-17 Angus Leeming <leeming@lyx.org>
169 * buffer.C (makeLaTeXFile): replace code to manipulate a path
170 containing space and '~' characters with a call to latex_path().
172 2005-04-17 Angus Leeming <leeming@lyx.org>
174 * converter.C (convert): protect all args of convertDefault.sh
177 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
179 * text3.C (dispatch): change the layout to "Caption" after inserting
182 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
184 * text3.C (dispatch): fix language problem in newly created
185 textinsets (and main text) in non-english docs
187 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
189 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
190 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
191 * text3.C (getStatus): disable LFUN_INSET_MODIFY
193 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
198 * rowpainter.C (getFont): Fix metrics bug introduced by inset
201 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
203 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
204 output of \item arguments without trailing text.
206 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * FontIterator.C (operator*): avoid a copy of the font.
210 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
212 * rowpainter.C (getFont): fix language bug from previous fix
214 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
216 * rowpainter.C (RowPainter, getFont): fix font inside inset
219 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
221 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
222 preventing inserted font, deco, delim insets jumping to start of
225 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * lyxfunc.C (dispatch): translate message before sending it to the
230 2005-03-29 Angus Leeming <leeming@lyx.org>
232 * lyx_main.C (priv_exec): call os::internal_path on each file passed
233 to LyX on the command line.
235 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
237 * vc-backend.C: use QuoteName to protect file names wherever
240 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
243 * BranchList.h: fix bugs 1844,1845: document settings don't
246 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * lyxrc.C (setDefaults, read, output, getDescription): add support
249 for tex_allows_spaces.
251 * exporter.C (Export): allows files in directory containing spaces
252 if tex_allows_spaces is true.
254 * buffer.C (makeLaTeXFile): if the document path contains spaces,
255 output it in double quotes.
257 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
259 * rowpainter.C: use default text height for drawing change tracker
262 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
264 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
266 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
268 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
269 directory is missing.
271 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
273 * text2.C: fixed the fix, extended to other case.
275 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
277 * text2.C: fix for cursor up/down stuck in math [bug 1792]
279 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
281 * text2.C (cursorUp): get rid of a crash
282 * text.C (x2pos): add an assert
284 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * lyxfunc.C (getStatus): fix warning when assertions are disabled
290 * dociterator.C: include <boost/current_function.hpp>, which is
291 needed when assertions are disabled.
293 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
295 * text2.C: fix for stuck cursor when traversing two
296 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
298 2005-02-25 Andreas Vox <avox@arcor.de>
300 * output_docbook.C (makeParagraph): suppress trailing newline
301 after a run of paragraphs
303 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
305 * paragraph.C: fix for confused change tracker when pasting
306 text that begins with a lineseparator. [bug 1827]
307 (setChange(0, Change::INSERTED);)
309 * paragraph_funcs.C: fix for lost changes on triple-paste
310 in change tracking mode [bug 1827] (par.setChange()).
312 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * text2.C (updateCounters, setCounter, expandLabel): move to
317 * buffer_funcs.C (updateCounters): turn into a free standing
318 function and add a buffer parameter. Remove dead code for tracking
320 (setCounter): change into a free-standing function which gets a
321 dociterator as argument. Use this iterator to fix captions in a
322 simple way. When no float is found above the caption, use the
323 labelstring of the caption layout as default.
325 * text.C (breakParagraph, backspace):
326 * text2.C (init, setLayout, changeDepth):
327 * text3.C (dispatch):
328 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
331 * dociterator.C (forwardPar): make it much faster by calling
332 forwardPos() only when really necessary.
334 * output_docbook.C (makeCommand): adapt to expandLabel move.
336 * cursor.C: remove unused variable
338 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
340 * paragraph_funcs.C: fix crash when pasting insets in change
341 tracking mode [bug 1277] (honour change type in moveItem).
343 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
345 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
347 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * BufferView.C (setCursor): change to use a DocIterator.
350 (gotoLabel): use BufferView::setCursor (other part of bug 781).
351 (putSelectionAt): adapt to BufferView::setCursor change.
353 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
354 moved here from LyXText and rewritten to use proper cursor
355 methods. Fixes bug 1787, 616 and 835.
357 * BufferView_pimpl.C (restorePosition): set the cursor correctly
358 when inside an inset (part of bug 781).
359 (dispatch): adapt to change of BufferView::setCursor.
360 (getStatus, dispatch): handle LFUN_GOTOERROR,
361 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
363 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
364 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
365 * text3.C (gotoNextInset, gotoInset): removed.
367 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
371 2005-02-15 Angus Leeming <leeming@lyx.org>
373 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
374 can be used meaningfully in a comparison.
376 2005-02-13 André Pönitz <poenitz@gmx.net>
378 * bufferview_funcs.C (coordOffset): improve cursor drawing
380 2005-02-13 André Pönitz <poenitz@gmx.net>
382 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
383 * Cursor.C (dispatch): use fixIfBroken
384 * lyxfunc.C (getStatus): use fixIfBroken
386 2005-02-15 Angus Leeming <leeming@lyx.org>
388 * lyx_main.C (error_handler):
390 * lyxrc.C (setDefaults):
392 #include "environment.h".
394 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
396 2005-02-15 Angus Leeming <leeming@lyx.org>
398 * lyxserver.C (startPipe): squash MSVC warning "local variable
399 'fd' used without having been initialized".
401 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
403 * BufferView_pimpl.C: revert accidental commit.
405 2005-02-14 André Pönitz <poenitz@gmx.net>
407 * dociterator.[Ch]: new member forwardPosNoDescent(),
408 which doesn't enter nested insets.
409 * text2.C (setFont): use forwardPosNoDescent() instead
410 of ForwardPos() (fixes crash on font change).
412 2005-02-13 Angus Leeming <leeming@lyx.org>
414 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
415 only if lyxrc.path_prefix is not empty.
417 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
419 * bufferparams.C (readGraphicsDriver): prevent crash
421 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
423 * text2.C (setCounter): check for inInset() == 0
425 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
428 but use update() to get correct screen display; use convert
429 instead of istringstream.
430 (getStatus): handle LFUN_GOTO_PARAGRAPH
432 * lyxfunc.C (dispatch, getStatus): do not handle
433 LFUN_GOTO_PARAGRAPH here.
435 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
437 * text3.C (dispatch): size() -> depth()
439 * text2.C: remove some debug output
441 * paragraph.C: ws changes only
443 * lyxfunc.C (getStatus): size() -> depth()
445 * dociterator.h (clear, push_back, pop_back, internalData,
446 operator[], resize, empty): new functions
447 Make StableDocIterator and operator== be friends. Don't inherit
448 from std::vector use a privat class variable slices_ instead.
451 * dociterator.C: update because of not inheriting from std::vector
452 anymore. Call explictly to slices_ instead. Use depth() instead of
453 size() and top() instead of back()
455 * cursor.C: chagne size() -> depth and back() -> top(). Also
456 remove some direct operator[](i) calls in favour of foo[i]
457 (getFont): remove some dead code
459 * bufferview_funcs.C (coordOffset): size() -> depth()
461 * buffer.C: ws changes only
463 * CutAndPaste.C (eraseSelection): back() -> top()
465 * BufferView_pimpl.C (selectionRequested): back() -> top()
467 * BufferView.C (setCursor): size() -> depth()
469 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
471 * text3.C (cursorPrevious): return true if depm changed something
473 (dispatch): rename sl to oldTopSlice, remove moving use the new
474 NoUpdate func attrib instead. Make sure that needsUpdate is set
475 for function that have NoUpdate, but where depm might have changed
478 * text2.C (cursorLeft): make us return true if depm changed
481 (cursorUpParagraph): ditto
482 (curosrDownParagraph): ditto
483 (cursorUp, cursorDown): ditto, make sure to read comments in code
484 (deleteEmptyParagraphMechanism): remove an assert, also return
485 true if just a single char was deleted.
487 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
488 cursor that we modify, to avoid modifying an active cursor before
489 we call setCursor. This allows depm to run. Also return true if
490 depm deleted something.
492 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
493 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
494 cursorDownParagraph, cursorPrevious and cursorNext, return true if
495 something was changed in the buffer because of them (ie. depm run)
497 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
498 debug messages. Make update by default be false. Make sure that
499 the result of update is retained throught several calls down to
502 * LyXAction.h: add a new func_attrib: NoUpdate
504 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
505 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
506 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
508 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
510 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
513 bv_->owner(), bv_->buffer() by direct references to the private
515 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
516 (getStatus): isSavedPosition() is in BufferView::Pimpl.
517 (fitCursor): center() is in BufferView::Pimpl.
518 (getStatus, trackChanges, dispatch): no need for a temporary buf
520 (fitCursor, workAreaDispatch): use workarea().workheight()
522 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * CutAndPaste.C (pasteSelectionHelper): fix a crash
526 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
528 * buffer.C: format up to 241.
529 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
530 break if pasting into ERT
531 * lyxfunc.C (getStatus): suppress mathpanel and
532 LFUN_DIALOG_SHOW_NEW_INSET in ERT
534 2005-02-01 Angus Leeming <leeming@lyx.org>
536 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
538 2005-02-01 Angus Leeming <leeming@lyx.org>
540 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
541 calling fs::is_directory().
543 2005-01-31 Angus Leeming <leeming@lyx.org>
545 * lyx_main.C (priv_exec): specify explicitly the relative location
546 of the top level build directory when run in-place.
548 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
551 LyXText containing the cursor, not the top-level one.
553 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
555 (insertStringAsLines): rename par to pit; use temporary variable
556 par to hold a Paragraph; do not store par.layout() in a variable,
557 since the pointer may die when breaking paragraphs; pass pars to
558 breakParagraph() instead of Buffer::paragraphs().
560 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
562 * lyxlex_pimpl.h: #include <fstream>.
564 * BufferView.[Ch] (getLyXText): add a const version.
566 * BufferView_pimpl.C: add debug aids.
571 * paragraph_funcs.h: add commentary explaining what the class does.
574 * coordcache.[Ch]: add lots of commentary.
575 (startUpdating, doneUpdating): debug aids.
576 (arrays, insets, parPos, getParPos): accessors to private data.
578 * cursor_slice.[Ch] (text): add a const version.
579 * dociterator.[Ch] (text, innerText): add const versions.
581 * lyxtext.h (breakParagraph): change the keep_layout arg to a
584 * paragraph.C (getRow, pos2ros): add asserts.
586 * paragraph.h: add commentary. Lots of.
588 * paragraph.[Ch] (metrucs, draw): removed.
591 * rowpainter.[Ch]: const-correct changes.
593 * text.C: various obvious clean-ups. Removal of ancient cruft.
596 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
598 * vc-backend.C (find_file): rewrite to use boost.filesystem
601 * main.C (main): set default name check for boost.filesystem to
604 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
607 (actOnUpdatedPrefs): ditto
609 * lyx_main.C (init): rewrite to use boost.filesystem
610 (queryUserLyXDir): ditto
612 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
613 (getContentsOfAsciiFile): ditto
615 * lastfiles.C (readFile): rewrite to use boost.filesystem
617 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
619 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
622 * buffer.C (Buffer): adjust for destroydir
623 (getLogName): rewrite to use boost.filesystem
625 (save): use fs::copy_file (from fs_extras)
627 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
629 * LaTeX.C (run): rewrite to use boost.filesystem
630 (scanAuxFiles): ditto
631 (handleFoundFile): ditto
633 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
635 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
637 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
639 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
641 * lyxlayout.[Ch]: change some vars from float to double
643 * buffer.C (readFile): make a local var const
645 * Several files: use convert<> instead of atoi,strToXXX and friends
647 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
649 * LaTeXFeatures.[Ch]: Add a static list packages_ that
650 holds the contents of packages.lst. New functions getAvailable
651 and isAvailable to parse and check that list, resp.
655 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
657 * bufferparams.[Ch]: new param output_changes.
659 * Buffer.C: increase file format to 240.
660 Use output_changes and isVailable.
664 * paragraph_pimpl.C: Use output_changes and isVailable.
666 2005-01-23 Angus Leeming <leeming@lyx.org>
668 * output_latex.C: #include "insetbibitem.h", rather than
669 forward declare function bibitemWidest.
671 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
673 * lyx_main.C (init): make it compile on the Mac.
675 2005-01-20 Angus Leeming <leeming@lyx.org>
677 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
678 (setLyXMisc): (char string literal) != (char string literal) is
679 performing a comparison on the addresses. Convert one operand
680 explicitly to string to guarantee expected behaviour.
683 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
686 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
688 * output_plaintext.C: remove unneeded #include gzstream.h.
690 2005-01-20 Angus Leeming <leeming@lyx.org>
692 * SpellBase.h: rename some of the elements of the Result enum.
699 * pspell.C (check): ditto
701 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
703 * buffer.C: add #include <fstream>.
705 * lyx_main.C (init): Compile fix.
707 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
709 2005-01-20 Angus Leeming <leeming@lyx.org>
711 * mover.h: change commentary to reflect the changed meaning of
714 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
716 * output_linuxdoc.C (linuxdocParagraphs): silence warning
718 * lyxfind.C (MatchString::operator()): remove bogus semicolon
720 2005-01-20 Angus Leeming <leeming@lyx.org>
722 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
723 printing diagnostic data by not dereferecing an iterator past the
726 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
728 * buffer.C (readHeader): use "&&" rather than "and".
730 * lyxserver.h (inPipeName, outPipeName): make these const.
732 2005-01-19 Angus Leeming <leeming@lyx.org>
734 * lyx_main.C (error_handler, init): protect SIGHUP with
735 #ifdef SIGHUP guards.
737 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
741 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * text.C (setHeightOfRow): add a margin at the top and bottom of
744 the document (bug 1761)
746 2005-01-17 Angus Leeming <leeming@lyx.org>
748 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
749 with "python ". Workaround for a brain-dead Windows.
751 2005-01-16 Angus Leeming <leeming@lyx.org>
753 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
754 for MacOSX and Windows to use prependEnvPath.
755 Strip out the hard-coded block to add elements to the PATH for
756 MacOSX and replace it with a call to prependEnvPath using the
757 contents of LyXRC::path_prefix.
758 (queryUserLyXDir): strip out the code to run reconfigure, instead
759 returning a boolean indicating the necessity to do so.
760 (reconfigureUserLyXDir): contains the code to reconfigure the
761 user support directory. Is now called after the various LyXRC data
762 files have been read.
764 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
766 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
768 * converter.[Ch] (convert): take a new parameter try_default. Use
769 a default converter (imagemagick) if try_default is true.
771 2005-01-13 Angus Leeming <leeming@lyx.org>
773 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
775 (write): output LyXRC::cygwin_path_fix as necessary.
777 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
780 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
782 2005-01-12 Angus Leeming <leeming@lyx.org>
784 * lyx_main.C (init): set the PATH variable to include the
785 directory containing the LyX binary when running on Mac or Windows.
787 2005-01-12 Angus Leeming <leeming@lyx.org>
789 * lyx_main.C (init): remove cruft that purports to set the locale
790 dir. It doesn't and is not needed anyway.
792 2005-01-10 Angus Leeming <leeming@lyx.org>
794 * Makefile.am: remove the lyx_main.C special casing.
796 * BufferView_pimpl.C:
802 * messages.C: use support/package.h to provide the paths to the
803 various directories used by LyX.
805 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
807 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
808 layout if pasting into an empty paragraph)
810 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
812 * tex-accent.C: add <string>
814 2005-01-06 José Matos <jamatos@lyx.org>
816 * ParagraphParameters.C (write): put every parameter in its own line.
817 * paragraph.C (write): reduce number of consecutive empty lines exported.
818 * buffer.C (LYX_FORMAT): increase file format to 239.
820 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
822 * everywhere: change support/tostr.h -> support/convert.h
824 * tabular.C: make all write_attributes templates, tostr -> convert
826 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
827 (emptyTag): and -> &&, and fix type for ret from getChar
828 (getFirstWord): fix type for ret from getChar
829 (onlyText): and -> &&
830 (simpleDocBookOnePar): and not -> && !, fix type for ret from
833 * toc.C (goTo, action):
834 * text3.C (dispatch):
835 * text.C (currentState):
836 * tex-accent.C (DoAccent):
839 * lyxfunc.C (menuNew):
840 * lyxfinc.C (replace):
841 * counters.C (laberItem):
842 * bufferview_funcs.C (font2string):
843 * bufferparams.C (writeFile):
844 * buffer.C (readFile):
846 * MenuBackend.C: tostr -> convert
848 * LaTeX.C (runMessage): fix format
849 (scanAuxFiles): tostr -> convert
851 * BufferView_pimpl.C (savePosition): fix format
852 (restorePosition): ditto
855 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
857 * Spacing.[Ch]: New method getValueAsString().
861 * ParagraphParameters.C:
864 * text3.C: store/read spacing value as string.
866 * rowpainter.C: change float value (spacing_val) to double.
868 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
869 broken custom document spacing).
871 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
873 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
874 namespace, also more use of temp references and const
876 * cursor.[Ch] (getStatus): move to lyxfunc.C
878 * bufferparams.C: reformat slightly
880 * bufferview_funcs.C (font2string): constify arg
886 * buffer_funcs.C: (many funcs): constify arg on function
887 definitions, also make more local vars const, also add ASSERTS on
890 * buffer.C (LYX_FORMAT): put const in correct place
891 (many funcs): constify arg on function definitions, also make
892 more local vars const
894 * aspell_local.h: remove "struct" from typdef setup
896 * aspell.C (check): make word_ok const
897 (nextMiss): simplify slightly
900 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
902 * lyxrc.[Ch]: store all float values as strings.
903 use int (not float) for lyxrc.dpi.
905 2005-01-04 Angus Leeming <leeming@lyx.org>
907 * lyx_cb.C (Reconfigure):
908 * lyx_main.C (queryUserLyXDir):
909 to run the <system_lyxdir>/configure correctly on Windows, prefix
910 the path to the script with "sh " when generating the string that
911 is passed to system().
913 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
915 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
917 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * lyxlength.C (asLatexString): get rid of setprecision
921 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
923 * text2.C (setLayout): remove unused variable endpit.
924 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
926 * paragraph.C (onlyText): remove unused variable style.
928 * cursor.C (bruteFind): remove unused variables beg and end.
930 * Makefile.am (dist_noinset_DATA): not needed anymore
932 * cheaders/*: remove.
934 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
936 * text3.C: fix LFUN_MATH_MODE.
938 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * buffer_funcs.C (countWords): new function. Counts words between
943 * BufferView_pimpl.C (getStatus, dispatch): handle
946 * LyXAction.C (init):
947 * lfuns.h: add LFUN_WORDS_COUNT.
949 2004-12-19 Angus Leeming <leeming@lyx.org>
951 * buffer.C (save): s/slashify_path/internal_path/.
953 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
955 * lyxfind.C (findChange): do not search for end of pars, because
956 the change tracker cannot handle this (fixes bug 1719).
958 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
960 * paragraph.[Ch] (autoBreakRows): remove
962 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
964 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
965 avoid using the paragraph one
967 * text2.C (LyXText, insertStringAsLines): adjust
969 2004-12-16 Angus Leeming <leeming@lyx.org>
973 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
975 2004-12-14 Angus Leeming <leeming@lyx.org>
977 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
979 * bufferlist.C (emergencyWrite):
980 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
983 2004-12-14 Angus Leeming <leeming@lyx.org>
985 * main.C: (main): no longer pass pointers to os::init.
987 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
989 * undo.C (textUndoOrRedo): simplify logic, fix a crash
990 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
992 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
995 * text3.C: remove selection_possible global flag
997 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
999 * text2.C (getSelectionSpan): remove
1000 (changeDepth, changeDepthAllowed): adjust
1002 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1004 * Makefile.am (BOOST_LIBS): use boost variables
1006 2004-12-03 José Matos <jamatos@lyx.org>
1008 * buffer.C: format up to 238.
1010 2004-12-03 José Matos <jamatos@lyx.org>
1012 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1014 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1016 * cursor.C (goUpDown): remove call to idxUpDown2
1018 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1020 * tabular.[Ch]: use size_t-like types for cell, row and column
1023 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1025 * lyxfunc.C (getStatus): do not lose previous information when
1026 calling BufferView::getStatus; do not set a default "Command
1027 disabled" message at the beginning, but just before returning.
1029 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1031 * cursor.h (getStatus): add better comment from src/cursor.C
1033 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * text3.C (getStatus): return false when the lfun is not handled
1037 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1039 * broken_headers.h: remove
1041 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1043 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1045 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1046 offset_ref accessors
1048 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1049 top_y_, merge fitcursor with update
1050 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1052 (metrics): introduce
1053 (workAreaDispatch): adapt to new coord scheme
1054 (redoCurrentBuffer): remove
1056 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1058 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1061 * coordcache.[Ch]: add paragraph cache and helpers
1063 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1066 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1067 (targetX, setTargetX): introduce
1069 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1070 baseline -> ascent, as the rest of lyx
1072 * lyxtext.h: remove redoParagraphs, updateParPositions,
1073 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1074 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1075 have ascent/descent (ascent is ascent of first par)
1077 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1080 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1082 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1084 * pariterator.C: fix infinite loop introduced in par->pit renaming
1086 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1087 in insets and LyXText, draw two off-screen paragraphs using
1088 NullPainter, and adapt to new coord scheme
1092 * text3.C: adapt lfun handlers to the new coord scheme, which
1093 means: there's only guaranteed coord information for onscreen pars
1094 plus one above and one below. This implies that one can do search
1095 from y coordinates in the range [-1,workHeight]
1097 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1099 * rename a lot of InsetOld to InsetBase
1101 2004-11-25 Angus Leeming <leeming@lyx.org>
1103 * BufferView_pimpl.C:
1105 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1107 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1109 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1110 call BufferView::getStatus if LCursor::getStatus did nothing
1111 (setStatusMessage, getStatusMessage): removed.
1113 * FuncStatus.C (message): new methods. Used to provide an error
1114 message indicating why a command is disabled.
1115 (clear, |=, FuncStatus): update for message.
1117 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1119 * lyxfunc.C (dispatch): always call sendDispatchMessage
1121 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1124 * BufferView_pimpl.C:
1129 * cursor_slice.[Ch]:
1132 * paragraph_funcs.C:
1138 * undo.C: par->pit renaming
1140 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1142 * tabular.C (cellstruct): use initialization, store a shared_ptr
1143 to insettext instead of the insettext directly, adjust to fit.
1144 (operator=): new function
1145 (swap): new function
1146 (rowstruct): use initialization
1147 (columnstruct): use initialization
1148 (ltType): use initialization
1151 * lyxlength.h (swap): new function
1153 * LColor.[Ch] (operator=): use the common semantics
1155 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * lyxfind.C (findNextChange): update the bufferview after setting
1160 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1162 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1163 number of InsetOptArgs has already been inserted.
1165 * output_latex.C (latexOptArgInsets): new method. This outputs all
1166 the optarg insets, up to the limit defined in the layout file.
1167 (optArgInset): removed
1168 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1170 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * paragraph.C (isLetter): remove special spellchecker-related
1173 code; return true also for digits
1174 (isWord, isKomma): remove
1176 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1177 * lyxfind.C (MatchString()): use isLetter instead of isWord
1179 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1181 * pariterator.h (operatir=): comment out un-implemented member
1184 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1187 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1189 * lyxfont.h: include LColor.h to satisfy concept checks.
1191 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1193 * pariterator.h: add typdefs for value_type, difference_type,
1194 pointer and reference to satisfy concept checks. Also add default
1195 constructor for same reason.
1197 * pariterator.C (operator++): add post-increment operator to
1198 satisfy concept checks.
1200 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1203 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1205 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1206 checks. Also rename base_type to BaseType to follow naming
1209 * FloatList.h: include Floating.h to satisfy concept checks.
1211 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1213 * lyxfunc.C (getStatus): when the origin of the request is menu or
1214 toolbar, and the LyXView does not have focus, do as if there was
1215 no buffer (bug 1720)
1217 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1218 FuncRequest to individual entries of LFUN_SEQUENCE
1220 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1222 * output_latex.C (TeXOnePar): override runparams.moving_arg
1223 according to the needprotect value of the current paragraph (bug
1226 * paragraph.C (simpleTeXOnePar): no need to override
1227 runparams.moving_args here
1229 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1231 * vspace.C: fix off-by-one-error, related to fix #1682
1233 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1235 * lengthcommon.C: a more general fix for bug 1682
1237 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1239 * text.C (backspace): fix crash
1241 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1243 * format.[Ch] (getFormatFromFile): new method
1244 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1246 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1248 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1250 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1252 * lyxfunc.C (dispatch): remove the verbose argument
1253 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1256 * kbmap.C (defkey): set the origin of func to KEYBOARD
1258 * MenuBackend.C (MenuItem):
1259 * ToolbarBackend.C (add): set the origin of func to UI
1261 * funcrequest.[Ch]: add origin member, which indicates which part
1262 of LyX requests an action
1264 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1266 * converter.C (move): don't lie in the error message
1267 * converter.h (isReachable, move): document
1269 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1271 * buffer.C: remove unused using lyx::support::atoi
1272 * paragraph_funcs.C: ditto
1274 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1276 * bufferlist.C (exists): use bind and equal_to instead of
1279 * lyxtextclasslist.C (NumberOfClass): ditto
1281 * cursor.C (insert): use for_each instead of explicit for loop
1283 * bufferlist.C (getFileNames): use std::transform and
1284 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1286 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1289 * buffer.C (changeLanguage): use for_each instead of explicit for
1291 (hasParWithID): implement using getParFromID
1293 * LaTeXFeatures.C: ws change only
1295 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1298 * BufferView_pimpl.C (trackChanges): use for_each instead of
1301 2004-11-04 André Pönitz <poenitz@gmx.net>
1304 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1306 * dociterator.C (asDocIterator): use hard assert again.
1308 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1310 * lyxlength.C (asLatexString): rewrite so that it does not use
1313 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1315 * text3.C (specialChar, dispatch): make sure cursor moves to the
1316 right after inserting an inset
1318 2004-11-02 José Matos <jamatos@lyx.org>
1320 * output_docbook.C (docbook):
1321 * paragraph.C (getID):
1322 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1323 garantee that the output is always legal.
1325 * tabular.C (docbook):
1326 * outputprams.[Ch]: remove mixed contents.
1328 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1330 * text2.C (setCounter): prevent endless loop
1332 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1334 * exporter.C (copyFile): use the mover instead of support::copy()
1335 * exporter.C (Export): pass format and latex name to copyFile()
1336 * exporter.h (addExternalFile): document
1337 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1339 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1341 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1343 2004-10-30 José Matos <jamatos@lyx.org>
1345 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1346 text and no inset or font change. This allows to use CDATA
1347 sections just for the whole paragraph.
1349 2004-10-30 José Matos <jamatos@lyx.org>
1351 * paragraph.C (getFirstWord): remove unused variable.
1353 2004-10-30 José Matos <jamatos@lyx.org>
1355 * paragraph.C (getFirstWord): the content should always be escaped
1357 (simpleDocBookOnePar):
1358 * output_docbook.C (makeEnvironment): replace reference to CDATA
1361 2004-10-30 José Matos <jamatos@lyx.org>
1363 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1365 2004-10-30 José Matos <jamatos@lyx.org>
1367 * output_docbook.C (makeParagraphs):
1368 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1369 standard paragraph has only a given type of content drop the wrapper.
1371 2004-10-29 José Matos <jamatos@lyx.org>
1373 * output_docbook.C (makeEnvironment):
1375 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1377 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1379 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1380 (cleanID): sanitize any id.
1382 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1384 * buffer.C, lyxlex_pimpl.C:
1385 * lyxlex_pimpl.C (setFile):
1386 s/getExtFromContents/getFormatFromContents/
1388 2004-10-28 José Matos <jamatos@lyx.org>
1390 * output_docbook.C (makeEnvironment): move id to broadest possible
1393 * sgml.C (openTag): apply substitution of <> for all attributes.
1395 2004-10-28 José Matos <jamatos@lyx.org>
1397 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1398 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1399 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1401 * sgml.[Ch]: new version for open and closeTag for paragraph and
1402 for strings. Now they handle the ids of paragraphs.
1404 2004-10-26 Angus Leeming <leeming@lyx.org>
1406 * Makefile.am: add mover.[Ch].
1408 * converter.C (convert, move): use the new Movers to move external
1409 files to the temp directory.
1411 * lyx_main.C (init): ensure that the global system_movers data
1414 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1417 * mover.[Ch]: new files, defining a Mover as a utility to move an
1418 external file between directories and, if necessary, manipulate this
1419 file using a helper script.
1421 2004-10-25 José Matos <jamatos@lyx.org>
1423 * output_docbook.C (makeCommand): merge two if's that tested the
1426 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1428 * sgml.C (escapeString): fix warning in a better way
1430 2004-10-25 José Matos <jamatos@lyx.org>
1432 * sgml.C (escapeString): import the require boosts header file for
1433 tie, and avoid a signed unsigned comparison.
1435 2004-10-25 José Matos <jamatos@lyx.org>
1437 * sgml.h: add #include <string>
1439 2004-10-25 José Matos <jamatos@lyx.org>
1441 * sgml.[Ch] (escapeString): new function to escape all the string.
1443 2004-10-24 José Matos <jamatos@lyx.org>
1445 * paragraph.[Ch] (getFirstWord): new function to get the first
1446 word. Useful for description.
1447 (simpleDocBookOnePar): remove depth argument, add another that
1448 says where to start the paragraph.
1450 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1451 use the new functions to fix cleanly the support for descriptions.
1453 2004-10-24 José Matos <jamatos@lyx.org>
1455 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1456 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1457 * output_linuxdoc.C (linuxdocParagraphs):
1458 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1459 add buffer as argument.
1461 2004-10-24 José Matos <jamatos@lyx.org>
1463 * output_docbook.C (makeEnvironment, searchEnvironment): place
1464 CDATA inside paragraphs and fix scope for listitems.
1466 2004-10-24 José Matos <jamatos@lyx.org>
1468 * output_docbook.C: remove using statement for stack.
1470 2004-10-23 José Matos <jamatos@lyx.org>
1472 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1473 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1474 docbook. The new scheme is recursive and makes use of iterators, the
1475 same as latex export works.
1476 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1477 directly with the paragraph contents. This code was moved up to
1478 output_docbook.C (docbookParagraphs).
1479 * sgml.C (openTag, closeTag): removed unneeded newlines.
1480 (closeEnvTags) removed.
1482 2004-10-23 André Pönitz <poenitz@gmx.net>
1484 * undo.C (textUndoOrRedo):
1485 * dociterator.C (asDocIterator): work around crash
1487 * cursor.C (getStatus): replace ASSERT by more verbose error message
1488 and manual correction of the problem. Should increase stability
1489 while providing more sensible information.
1491 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1493 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1495 * bufferlist.C (previous, next): new methods
1498 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1500 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1502 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1503 entities to preamble.
1505 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1507 * messages.C (Pimpl): strip off translation context information
1509 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1512 the cursor is correct (bug 1694)
1514 2004-10-13 José Matos <jamatos@lyx.org>
1516 * output_docbook.C (docbookParagraphs): fix closing tags in the
1517 end of the document.
1519 2004-10-09 José Matos <jamatos@lyx.org>
1521 * buffer.C: format up to 237.
1522 * bufferparams.C (write): use tostr to convert booleans to strings.
1524 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1526 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1528 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1530 * LaTeX.C: implement use of babel language in xindy.
1532 2004-10-05 José Matos <jamatos@lyx.org>
1534 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1535 Add new translators to help reading and writing the lyx file.
1537 2004-10-05 José Matos <jamatos@lyx.org>
1539 * ParagraphParameters.C (read):
1540 * text.C (readParToken): replace nexToken by more appropriate lex
1543 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1545 * LaTeX.C (runMakeIndex):
1546 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1547 (usually 'makeindex') configurable.
1549 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1550 with a variable rather than with a number.
1552 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1554 * output_latex.C (TeXOnePar): make sure font setting is the first
1555 thing that gets output (and the last at the end). Should fix bug
1558 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1560 * pch.h: use proper signal include
1562 * LaTeX.h: Use preferred calling of Boost.Signal
1565 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1567 * pch.h: dont include <boost/function/function0.hpp>
1569 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1571 * paragraph_pimpl.h: remove usage of ShareContainer
1573 * paragraph_pimpl.C: remove initialization of ShareContainer.
1575 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1579 * BufferView.C (putSelectionAt): change the semantics when
1580 backwards == true: now, this just swaps cursor and anchor wrt the
1583 * BufferView.h (putSelectionAt): add some documentation
1585 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1586 make sure backwardChar is done at least once (to avoid getting
1588 (findNextChange): use putSelectionAt in the forward direction
1589 (operator()): use Paragraph::isWord
1591 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1593 * Spacing.C (set): c_str fix
1595 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1597 * lyx_cb.C (Reconfigure): quote the name of configure script in
1598 case it contains spaces
1600 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1604 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1605 (BOOST_LIBS): use top_buildir when looking for the file
1607 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1609 * pch.h: do not use include boost/format.hpp, multiple symbols
1610 will result (gcc bug)
1613 2004-08-23 José Matos <jamatos@lyx.org>
1615 * bufferparams.C (readToken): fix reading of the author field.
1617 2004-08-20 José Matos <jamatos@lyx.org>
1619 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1621 2004-08-20 José Matos <jamatos@lyx.org>
1623 * lyxlex.[Ch] (findToken): remove function.
1625 * ParagraphParameters.C (findToken):
1626 * bufferparams.C (findToken): replace call for previous function
1627 with local copy. This local function has one more argument, the
1628 read string argument.
1630 2004-08-16 José Matos <jamatos@lyx.org>
1632 * ParagraphParameters.C (write):
1633 * Spacing.C (writeFile):
1634 * bufferparams.C (writeLaTeX):
1635 * lyx_cb.C (Reconfigure):
1636 * paragraph.C (write):
1637 * tabular.C (write): remove unnecessary space at end of line.
1640 2004-08-16 José Matos <jamatos@lyx.org>
1642 * text.C (readParagraph): remove debug message.
1644 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1646 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1649 * output_plaintext.C (asciiParagraph): set depth correctly
1651 * outputparams.h: add member depth
1653 * paragraph_funcs.C (ownerPar): remove.
1655 * text2.C (setCounter): remove first_pit; comment out some
1656 non-working code that uses ownerPar
1658 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1661 2004-08-16 José Matos <jamatos@lyx.org>
1663 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1664 For the same level of importance use the same chanel to report problems.
1665 (read): add code to deal with \begin_body and \end_body.
1668 2004-08-15 José Matos <jamatos@lyx.org>
1670 * lyxlex.C (getString): fix comment, buffer::readBody is now
1671 buffer:readDocument.
1673 * tex-strings.C (string_papersize): Default -> default,
1674 Custom -> custom, for consistency with other options.
1676 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1680 * Makefile.am: support pch
1682 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1684 * text.C (readParToken): remove the static LyXFont variable and
1685 pass it as a parameter instead. This fixes a nasty bug where an
1686 inset will be inserted with a bad font in some situations
1687 (readParagraph): adapt
1689 * text2.C (setCounter): reduce number of calls to pars_[pit]
1691 * text.C (singleWidth): add an assert, fix a test
1693 * rowpainter.C (paintText): reduce number of calls to singleWidth
1695 * paragraph.C (isHfill):
1696 (isNewline): ws only
1698 2004-08-14 André Pönitz <poenitz@gmx.net>
1703 * lyxtext.h (several functions): use a Paragraph & argument
1706 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1708 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1710 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1712 * text.C (singleWidth): remove useless test
1714 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1716 * tabular.h: remove bogus comments
1718 * tabular.C (getDescentOfRow):
1719 (isPartOfMultiColumn): add assertions
1721 * lyxlength.C (inPixels): remove #warning
1723 2004-08-14 André Pönitz <poenitz@gmx.net>
1725 * paragraph.h: inline getChar()
1727 * BufferView.h: remove unused declarations
1729 2004-08-14 José Matos <jamatos@lyx.org>
1731 * Buffer.[Ch] (readDocument): new name for old readBody.
1732 * Buffer.C: new file format, new keywords: \begin_document,
1733 \begin_header, \begin_body, \end_body.
1735 * bufferparams.C (readToken): replace all calls to lex.nextToken
1736 by lex.next(). Do the same to eatLine except where really needed.
1738 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1739 line when writing to the lyx file.
1741 * output_plaintext.C (asciiParagraph): fix Bibliography style
1744 * text.C (read): fix end of file handling.
1746 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1748 * MenuBackend.C (Menu::operator[]): new method to access
1749 individual menu items
1750 (Menu::hasFunc): new method. search for an item that corresponds
1752 (MenuBackend::specialMenu): new method
1753 (MenuBackend::expand): if a special menu has been set, skip
1754 entries whose func() appears in this menu
1756 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1758 * text3.C: use Debug::DEBUG a bit more
1760 * text.C (leftMargin): try to simplify a tiny bit change var x to
1761 l_margin. Dont output the wide margins always.
1762 (rightMargin): no margin in inner texts
1764 * rowpainter.h (nestMargin): new func
1765 (changebarMargin): new func
1766 (rightMargin): new func
1768 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1772 * factory.C (createInset): modify setDrawFrame
1774 * cursor.C: use Debug::DEBUG a bit more
1776 2004-08-14 André Pönitz <poenitz@gmx.net>
1779 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1780 cache for all insets in (at least partially) visible (top-level)
1783 * BufferView_pimpl.C: reset external coord cache before every update.
1784 This means the coord cache only contains valid entries.
1786 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1789 * BufferView_pimpl.C (getInsetByCode): move function out of class
1790 and change in to a template in anon namespace. Also fix to do what
1793 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1796 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1798 (breakParagraph): rename par to par_offset and use a local
1799 reference. Add code to keep the language over a rebreak.
1800 (breakParagraphConservative): rename par to par_offset, use a
1802 (mergeParagraph): ditto
1804 (isFirstInSequence): ditto
1805 (outerFont): rename pit to par_offset
1807 * paragraph.C: ws change
1808 * paragraph.h: ditto
1812 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1814 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1817 * paragraph.C (simpleTeXOnePar): when we have a \item with
1818 optional argument, enclose the argument with curly brackets (in
1819 case it contains a closing square bracket)
1823 * text3.C (checkInsetHit): constify
1825 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1827 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1828 documents (bug 1629)
1830 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 Fix toggling of collapsable insets with the mouse (bug 1558)
1834 * lyxfunc.C (dispatch): adapt to LCursor changes
1836 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1837 make sure that dispatch is not invoked twice
1839 * cursor.C (needsUpdate): new method
1840 (dispatch): return void
1841 (result): new method, to access the DispatchResult of the cursor.
1843 2004-08-13 José Matos <jamatos@lyx.org>
1845 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1847 2004-08-13 André Pönitz <poenitz@gmx.net>
1849 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1851 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1854 2004-08-12 André Pönitz <poenitz@gmx.net>
1856 * text3.C: take out the 'cursor right' form insertInset and only
1857 do it in those places when it is really needed. Fixes crash on
1860 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1862 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1864 * BufferView_pimpl.C (setBuffer): initialize the current font of
1865 the underlying LyXText
1867 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1869 * kbsequence.C (print): use UI native formatting for menu
1872 * text.C (insertChar): call Paragraph::insertChar with a font
1875 * paragraph.C (insertInset, insertChar): the version that takes a
1876 LyXFont argument is now a wrapper around the other one (the
1877 opposite used to be true).
1879 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1880 argument. Font setting is done in Paragraph now.
1882 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1884 * outputparams.h: add new members intitle and lang.
1886 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1887 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1889 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1891 * text3.C (dispatch): remove special handling of button 4 and 5,
1892 it is now taken care of in the frontend code.
1894 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1896 * Spacing.h: add <string> (STLPort compile fix)
1898 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1900 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1902 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1904 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1907 * converter.C (showMessage): inherit from unary_function, make
1910 * buffer.C (writeFile): initialize retval
1912 * InsetList.h: rename private variable list to list_
1913 * InsetList.[Ch]: adjust accordingly.
1915 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1917 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1918 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1919 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1920 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1921 * ParagraphParameters.C, LaTeXFeatures.C: replace
1922 "support/std_sstream.h" with <sstream>
1924 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1926 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1927 * lyxsocket.C (LyXServerSocket): ditto
1928 (serverCallback): ditto
1930 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1932 * LaTeXFeatures.C: check release date when loading jurabib.
1934 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1936 * lyxserver.C (startPipe): call register_socket_callback
1937 (endPipe): call unregister_socket_callback
1939 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1941 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1942 (LyXServerSocket): register the callback
1943 (LyXServerSocket): unregister the callback
1944 (fd): delete function
1945 (serverCallback): improve error checking and setup the callbacks.
1946 (dataCallback): change arg to fd.
1947 (writeln): new func (copied fro the client socket) used for server
1949 (LyXDataSocket): simplify
1950 (~LyXDataSocket): close ann unregiser callback
1951 (server): delete function
1952 (fd): delete function
1953 (readln): small changes, improve some std::string usage
1954 (writeln): constify a bit
1956 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1958 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1961 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1963 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1964 after it has been populated
1966 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1968 * text2.C (insertInset): move cursor when inserting inset.
1970 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1972 * kbmap.C (findbindings): a couple of new methods. returns a
1973 container of kb_sequence objects. The real work is done by the
1974 private recursive version
1975 (printbindings): uses findbindings to print out a bracketed list
1976 of bindings (renamed from findbinding).
1978 * MenuBackend.C (binding): use kb_keymap::findbindings
1980 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1982 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1984 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1986 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1988 * paragraph.C (isWord): return true on insets that report
1991 * text.C (getWord): use Paragraph::isWord to decide what is in a
1992 word and what is not; fix bug 1609.
1994 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1996 * tex-strings.C: add "none" to string_paperpackages[], fixes
1997 off-by-one-error in the paperpackage selection.
2000 * tex-strings.[Ch]: char const * string[n]
2001 -> char const * const string[]
2003 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2005 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2006 command, return early.
2008 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2010 * debug.h: add DEBUG to enum and fix size of ANY.
2012 * debug.C: add support for Debug::DEBUG
2013 (showTags): cast errorTags.level to unsigned int
2015 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2016 (redoCurrentBuffer): ditto
2017 (updateScrollbar): ditto
2018 * cursor.C (dispatch): ditto
2019 * text2.C (setLayout): ditto
2021 (updateCounters): ditto
2023 (deleteEmptyParagraphMechanism): ditto
2025 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2027 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2028 annotations to cleanup the Makefile slightly.
2030 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2032 * lyxrc.C: do not set user_email to a default value but use empty
2033 instead. The entry used to be translated, which does not work
2034 since at the point where lyxrc is constructed there is no
2035 translation service available
2037 * messages.C (getLocaleDir): remove and use directly
2038 lyx_localedir() instead
2040 2004-06-02 Angus Leeming <leeming@lyx.org>
2042 Fix crash caused by dereferencing null pointer 'exportdata' in
2043 OutputParams by creating a new ExportData variable on the heap,
2044 storing it in a boost::shared_ptr.
2045 The crash was triggered when generating an Instant Preview
2046 of an external inset.
2048 * Makefile.am: add outputparams.C
2050 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2051 (c-tor): allocate memory to it.
2053 * exporter.C (c-tor): associated changes.
2055 2004-06-01 Angus Leeming <leeming@lyx.org>
2057 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2058 contains data before calling isInset(0). (Bug 1513.)
2060 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2062 * exporter.C (checkOverwrite): new method
2063 * exporter.C (copyFile): new method
2064 * exporter.C (Export): copy referenced files to the document dir
2065 * exporter.[Ch]: new class ExportedFile
2066 * exporter.[Ch]: new class ExportData. Contains currently the
2067 names of referenced external files
2068 * outputparams.h: add exportdata member.
2070 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2072 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2075 2004-05-19 Angus Leeming <leeming@lyx.org>
2080 * lyxfunc.C: small changes due to the introduction of namespace
2081 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2083 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2085 * text3.C (dispatch): supress update when only moving the cursor
2086 * cursor.C (selHandle): remove commented code
2088 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2090 * paragraph.C (startTeXParParams): correct column count
2091 * CutAndPaste.C (pasteSelection): remove const_cast
2092 * output_docbook.C (docbookParagraphs): remove const_cast
2093 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2094 const_cast and return ParagraphList::const_iterator
2095 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2096 * output_plaintext.C (writeFileAscii): remove const_cast
2097 * paragraph.[Ch] (simpleTeXOnePar): make const
2098 * paragraph_funcs.C (outerPar): use const iterators
2099 * paragraph_pimpl.C (validate): use const iterators
2100 * text.C (setHeightOfRow): use const iterators
2102 2004-05-17 Angus Leeming <leeming@lyx.org>
2105 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2107 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2108 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2109 if the citation engine has changed.
2111 2004-05-14 José Matos <jamatos@lyx.org>
2113 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2114 if the textclass does not provide it. Have it different for sgml and
2116 support the language of document.
2117 * output_docbook.C (docbookParagraphs):
2118 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2119 first anchor as the id of the paragraph, remove special case code.
2120 * sgml.C (escapeChar): escape only < & >.
2122 2004-05-14 Angus Leeming <leeming@lyx.org>
2124 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2125 dependencies on src/frontends/controllers/biblio.h. Define a
2126 CiteEngine_enum wrapper class to enable the enum to be forward
2129 2004-05-12 Angus Leeming <leeming@lyx.org>
2131 * buffer.C: up LYX_FORMAT to 234.
2132 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2133 use_numerical_citations with a single biblio::CiteEngine cite_engine
2135 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2137 2004-05-13 José Matos <jamatos@lyx.org>
2140 * converter.C (Converter, readFlags): add xml member.
2141 * outputparams.h: add XML flavor.
2142 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2144 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2146 * lyxfunc.C (dispatch):
2147 (getStatus): fix handling of LFUN_SEQUENCE
2149 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2151 * debug.C (showLevel): do not forget the end-of-line marker
2153 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2155 * kbmap.C (read): do not stop parsing a bind file when an error
2158 2004-04-29 Angus Leeming <leeming@lyx.org>
2163 * text2.C: wrap a bunch of #warning statements
2164 inside #ifdef WITH_WARNINGS blocks.
2166 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2168 * buffer.C: increment format to 233.
2170 2004-04-28 Angus Leeming <leeming@lyx.org>
2172 * BufferView_pimpl.C:
2175 s/updateToolbar()/updateToolbars()/
2176 s/Toolbar.h/Toolbars.h/
2178 2004-04-28 Angus Leeming <leeming@lyx.org>
2180 * BufferView.[Ch] (c-tor):
2181 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2182 No longer passes these data to the WorkArea generator.
2184 2004-04-28 Angus Leeming <leeming@lyx.org>
2186 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2188 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2190 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2192 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2194 * output_latex.C (TeXEnvironment): make sure that there is a line
2195 break before \end{foo} for the last paragraph of a document
2196 (TeXOnePar): if the paragraph is at the end of the document (or
2197 inset) and the language has to be reset, then make sure that the
2198 line break is _before_ the language command, not after (fixes bug
2199 1225); also make sure that the language reset command is the first
2200 thing after the paragraph (to ensure proper nesting of
2201 environments and thus fix bug 1404)
2203 2004-04-21 John Levon <levon@movementarian.org>
2206 * ToolbarBackend.C: make "name" be a programmatic name
2207 and a gui_name field.
2209 * lyxfunc.C: display the minibuffer on M-x
2211 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2213 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2216 2004-04-19 Angus Leeming <leeming@lyx.org>
2218 * BufferView_pimpl.C (setBuffer): changed preview interface.
2220 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2223 2004-04-19 John Levon <levon@movementarian.org>
2225 * BufferView_pimpl.C:
2226 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2228 2004-04-05 Angus Leeming <leeming@lyx.org>
2230 * text.C (redoParagraphs): add call to updateCounters(), thereby
2231 fixing the missing "Figure #:" label from the caption of a
2234 2004-04-13 Angus Leeming <leeming@lyx.org>
2236 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2237 cursor is clicked out of an inset.
2239 2004-04-13 Angus Leeming <leeming@lyx.org>
2241 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2242 than an InsetOld one.
2244 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2246 * format.[Ch]: add editor to Format
2247 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2248 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2250 2004-04-08 André Pönitz <poenitz@gmx.net>
2252 * metricsinfo.h: remove PainterInfo::width member
2254 2004-04-08 Angus Leeming <leeming@lyx.org>
2256 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2257 "\providecommand" rather than "\newcommand", thereby preventing
2258 clashes with packages that define "\boldsymbol" themselves.
2261 2004-04-08 Angus Leeming <leeming@lyx.org>
2263 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2264 thereby squashing an unnecessary warning.
2266 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2268 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2271 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2273 * BufferView.C (setCursor): call redoParagraph (some insets could
2275 (putSelectionAt): remove the 'double update' trick
2277 * BufferView_pimpl.C (fitCursor): call refreshPar
2278 (workAreaDispatch): remove an uneeded update call
2279 (dispatch): remove some manual update calls
2281 * cursor.[Ch]: remove cached_y_, updatePos
2282 (selHandle): set noUpdate when appropriate
2284 * lyxfunc.C (dispatch): track if we need an update
2286 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2288 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2289 (paintSelection): cheap optimization, do not call cursorX when not
2291 (paintPars): change signature
2294 (paintTextInset): adjust
2298 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2300 * lengthcommon.C: compilation fix: remove explicit array size from
2301 unit_name[] and friends
2303 2004-04-05 Angus Leeming <leeming@lyx.org>
2305 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2307 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2308 present only for the preferences dialog.
2309 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2311 2004-04-05 Angus Leeming <leeming@lyx.org>
2313 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2314 to enable the frontends to export changes to lyxrc correctly.
2316 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2318 2004-04-07 André Pönitz <poenitz@gmx.net>
2320 * cursor.[Ch] (selClear, adjust): remove math
2322 * cursor_slice.C: more agressive assert
2325 * BufferView_pimpl.C: rework mouse event dispatch
2332 2004-04-05 André Pönitz <poenitz@gmx.net>
2334 * cursor.[Ch] (valign, halign...): remove unneeded functions
2336 2004-04-05 Angus Leeming <leeming@lyx.org>
2338 * lyxlength.[Ch] (unit_name et al.): const-correct.
2340 2004-04-05 Angus Leeming <leeming@lyx.org>
2342 * BufferView_pimpl.C:
2351 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2353 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2355 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2357 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2359 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2360 * BufferView_pimpl.[Ch] (getStatus)
2361 * BufferView.[Ch] (getStatus): add
2362 * lyxfunc.C (getStatus): move lfuns handled in
2363 BufferView::dispatch to te function above
2364 * Cursor.C (setSelection): set selection() = true
2366 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2368 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2370 2004-03-31 Angus Leeming <leeming@lyx.org>
2372 * lyxfunc.C (dispatch): Fall through to the generic
2373 Dialogs::show("preamble").
2375 2004-03-31 Angus Leeming <leeming@lyx.org>
2377 * lyxfunc.C (dispatch): Fall through to the generic
2378 Dialogs::show("spellchecker").
2380 2004-03-31 Angus Leeming <leeming@lyx.org>
2382 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2385 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2390 * insetiterator.[Ch]:
2395 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2397 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2399 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2400 insets where we are putting the cursor.
2402 2004-03-31 Angus Leeming <leeming@lyx.org>
2405 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2407 * lyxrc.[Ch] (read, write): overloaded member functions taking
2408 a std::[io]stream arguments.
2410 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2412 2004-03-31 Angus Leeming <leeming@lyx.org>
2414 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2415 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2417 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2418 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2420 2004-03-31 Angus Leeming <leeming@lyx.org>
2422 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2423 the LFUN_ALL_INSETS_TOGGLE code.
2425 2004-03-30 Angus Leeming <leeming@lyx.org>
2427 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2428 has died. Fall through to the generic Dialogs::show("document").
2430 2004-03-30 Angus Leeming <leeming@lyx.org>
2433 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2434 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2436 * lyxfunc.C (getStatus, dispatch): define the actions for these
2437 lfuns. Little more than a cut and pste job from ControlDocument.C
2439 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2441 2004-03-30 Angus Leeming <leeming@lyx.org>
2444 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2445 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2447 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2448 open/closed state of ollapsable insets. Usage:
2450 all-inset-toggle <state> <name>, where
2451 <state> == "open" || "closed" || "toggle" and
2452 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2454 * lyxtext.h, text2.C (toggleInset): removed.
2456 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2457 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2458 now passes LFUN_INSET_TOGGLE to the found inset.
2460 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2461 is now invoked as "all-insets-toggle toggle branch".
2463 2004-03-30 Angus Leeming <leeming@lyx.org>
2467 * pariterator.[Ch]: added/corrected header blurb.
2469 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2471 * dociterator.[Ch]: add an inset_ member
2472 (backwardPos): implemented
2473 (backwardPos, forwardPos): use inset_ when the stack is empty.
2474 (doc_iterator_begin, doc_iterator_end): implemented
2475 * pariterator.[Ch]: adjust, add begin, end
2476 * insetiterator.[Ch]: adjust, add begin, end
2480 * BufferView_pimpl.C:
2481 * CutAndPaste.C: adjust
2483 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2485 * buffer.C: increment file format to 232.
2486 * LaTeXFeatures.C: add bibtopic package.
2487 * bufferparams.[Ch]: param \use_bibtopic.
2489 * lyxrc.[Ch]: add lyxrc bibtex_command
2490 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2492 * buffer.C: increment file format to 231.
2494 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2496 * dociterator.C: implement forwardPar
2497 * iterators.[Ch]: remove, replaced by
2498 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2500 * BufferView_pimpl.C:
2503 * bufferview_funcs.C:
2509 * Makefile.am: adjust
2511 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2513 * CutAndPaste.C (pasteSelection): fix 2 crashes
2514 (eraseSelection): fix a crash
2515 * paragraph_funcs.C: remove a warning
2517 2004-03-28 Angus Leeming <leeming@lyx.org>
2520 * LyXAction.C (init): new LFUN_PRINT.
2522 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2524 2004-03-27 Angus Leeming <leeming@lyx.org>
2527 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2529 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2531 2004-03-27 Angus Leeming <leeming@lyx.org>
2533 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2534 insetlist always contains non-null pointers to insets.
2536 2004-03-26 Angus Leeming <leeming@lyx.org>
2538 * src/BufferView_pimpl.C:
2539 * src/CutAndPaste.C:
2542 * src/output_plaintext.C:
2543 * src/outputparams.h:
2544 * src/paragraph_funcs.C:
2548 * src/frontends/controllers/ControlErrorList.C:
2549 * src/frontends/gtk/FileDialogPrivate.C:
2550 * src/frontends/gtk/GPainter.C:
2551 * src/frontends/gtk/GToolbar.C:
2552 * src/frontends/qt2/QRef.C:
2553 * src/mathed/math_scriptinset.C: squash compiler warnings.
2555 2004-03-26 Angus Leeming <leeming@lyx.org>
2557 * ispell.C (LaunchIspell::start):
2558 * lyx_cb.C (AutoSaveBuffer::start):
2559 invoke run(DontWait) rather than runNonBlocking().
2561 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2563 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2565 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2567 * kbsequence.C (print): adjust
2569 * kbmap.C (printKeySym): rename and change signature
2570 (printKey): use LyXKeySym::print()
2572 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2574 * undo.C: add using std::advance to compile for stlport
2576 2004-03-24 Angus Leeming <leeming@lyx.org>
2578 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2579 it leads to a crash when no buffer is present.
2581 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2582 Martin Vermeer <martin.vermeer@hut.fi>
2584 * lyxfunc.C (dispatch):
2585 * bufferparams.C (readToken): use the new LColor::setColor
2587 * LColor.[Ch] (setColor): new version that takes two strings as
2588 argument and creates a new color entry if necessary
2590 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2592 * buffer.C (makeLaTeXFile): if the main latex file that is
2593 processed is usually a subdocument of some master, then pretend
2594 for a while that it is actually the master
2596 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2598 * buffer.C (getLabelList):
2599 (getBibkeyList): use getMasterBuffer()
2600 (getMasterBuffer): new method. Returns the main document in the
2601 case where one is using included documents.
2603 2004-03-25 André Pönitz <poenitz@gmx.net>
2607 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2609 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2611 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2612 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2614 * ParameterStruct.h: merge with ParagraphParameters
2616 * lyxtext.h: remove LyXText::parOffset() and getPar()
2618 * text3.C: Remove all 'manual' update calls. We do now one per user
2619 interaction which is completely sufficient.
2623 * BufferView_pimpl.C:
2624 * FontIterator.[Ch]:
2626 * ParagraphParameters.[Ch]:
2631 * cursor_slice.[Ch]:
2638 * output_docbook.[Ch]:
2639 * output_latex.[Ch]:
2640 * output_linuxdoc.[Ch]:
2641 * output_plaintext.[Ch]:
2643 * paragraph_funcs.[Ch]:
2644 * paragraph_pimpl.[Ch]:
2652 * frontends/controllers/ControlDocument.C:
2653 * frontends/controllers/ControlErrorList.C:
2654 * frontends/controllers/ControlSpellchecker.C:
2657 * insets/insetbase.h:
2658 * insets/insetbibitem.C:
2659 * insets/insetbox.C:
2660 * insets/insetbranch.C:
2661 * insets/insetcaption.C:
2662 * insets/insetcharstyle.C:
2663 * insets/insetcharstyle.h:
2664 * insets/insetcollapsable.C:
2665 * insets/insetcollapsable.h:
2666 * insets/insetert.C:
2667 * insets/insetfloat.C:
2668 * insets/insetfoot.C:
2669 * insets/insetmarginal.C:
2670 * insets/insetnote.C:
2671 * insets/insetoptarg.C:
2672 * insets/insettabular.C:
2673 * insets/insettext.C:
2674 * insets/insettext.h:
2675 * insets/insetwrap.C:
2676 * mathed/math_mboxinset.C:
2677 * mathed/math_nestinset.C:
2678 * mathed/math_scriptinset.C:
2679 * mathed/math_scriptinset.h:
2682 2004-03-24 Angus Leeming <leeming@lyx.org>
2684 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2685 deal with any child processes that have finished but are waiting to
2686 communicate this fact to the rest of LyX.
2688 2004-03-24 Angus Leeming <leeming@lyx.org>
2690 64-bit compile fixes.
2692 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2693 (c-tor): pass lyx::pos_types rather than ints.
2695 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2698 * text.C (Delete): compile fix.
2699 (getPar): ensure that function declaration is the same as that in
2702 2004-03-23 Angus Leeming <leeming@lyx.org>
2704 * ispell.C (LaunchIspell):
2705 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2706 a boost::shred_ptr rather than a std::auto_ptr.
2708 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2710 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2711 handle LFUN_FILE_INSERT_*
2713 * lyxrc.C (setDefaults, getDescription, output, read):
2714 * lyxrc.h: remove ps_command
2716 2004-03-22 Angus Leeming <leeming@lyx.org>
2718 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2719 Ensure that error_handler is processed once only and that all data
2720 is saved before attempting to output any warning messages.
2722 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2724 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2726 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2728 2004-03-19 André Pönitz <poenitz@gmx.net>
2730 * cursor.[Ch] (reset): take main text inset as argument
2732 * BufferView: adjust
2733 * BufferView_pimpl.C: adjust
2735 * paragraph.[Ch]: fix completely broken operator=()
2737 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2739 * LColor.C (getFromLyXName): make sure that the color name is used
2742 2004-03-17 Angus Leeming <leeming@lyx.org>
2745 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2747 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2748 dialog and to kill a forked process.
2750 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2752 * text2.C (setCursorFromCoordinates): fix font problem
2754 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2756 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2757 bogus "rebuild cursor" code
2759 2004-03-11 André Pönitz <poenitz@gmx.net>
2761 * buffer.[Ch]: use InsetText instead of LyXText as container for
2764 * dociterator.[Ch]: drop the BufferView * member which is not needed
2765 anymore after the change to buffer.C
2767 * paragraph_funcs.C:
2771 * BufferView_pimpl.[Ch]:
2773 * cursor_slice.[Ch]: adjust
2775 * text3.C: fix bug in mathDispatch
2777 2004-03-08 André Pönitz <poenitz@gmx.net>
2779 * undo.[Ch]: use 'StableDocumentIterator' as base for
2782 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2785 * bufferparams.[Ch]: add jurabib support and param.
2787 * LaTeX.C: add FIXME/comment.
2789 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2791 * buffer.C: increment file format to 230.
2793 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2795 * cursor.C (dispatch): avoid infinite loops
2797 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2799 * rowpainter.C (paintSelection): fix x coordinates
2801 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2803 * text.C (rowBreakPoint): fix breaking before displayed insets
2805 2004-03-01 André Pönitz <poenitz@gmx.net>
2807 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2809 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2813 * BufferView_pimpl.C:
2821 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2827 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2828 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2830 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2832 * Bidi.[Ch] (computeTables): const correctness
2833 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2834 fill_hfill, fill_label_hfill and x from Row
2835 * lyxtext.h: prepareToPrint returns a RowMetrics
2836 * rowPainter.C: adjust
2837 * text.C (prepareToPrint): use width, not textWidth. adjust
2838 (redoParagraphInternal, cursorX): adjust
2839 * text2.C (getColumnNearX): adjust
2840 (init): put a default value to the top LyXText::width
2842 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2844 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2846 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2848 * lyxtext.h: add FontIterator class
2850 * text.C (FontIterator, operator*, operator->, operator++): add
2851 (rowBreakPoint, setRowWidth): adjust (fixing a
2854 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2856 * BufferView_pimpl.C (workAreaDispatch): allow also
2857 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2859 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2861 * text.C (rowBreakPoint): fix a bug showing with very large insets
2863 2004-02-25 André Pönitz <poenitz@gmx.net>
2866 * cursor.[Ch]: move some mathed specific code to mathed
2868 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2870 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2871 use_tempdir in preferences
2872 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2874 * lyx_main.C: ensure that tempdir is valid
2875 * lyxlex.h: correct typo
2876 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2877 * paragraph.[Ch] (isMultiLingual): make const
2878 * cursor.[Ch] (openable): make const
2880 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2882 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2884 2004-02-20 André Pönitz <poenitz@gmx.net>
2886 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2888 * cursor.[Ch]: prepare for localized getStatus()
2894 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2896 2004-02-20 André Pönitz <poenitz@gmx.net>
2898 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2900 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2902 * text2.C (setCursorFromCoordinates): switch to absolute coords
2904 (cursorDown): adjust
2905 * text3.C (dispatch): adjust
2907 2004-02-16 André Pönitz <poenitz@gmx.net>
2909 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2912 * cursor_slice.[Ch]: remove unneeded acessor function
2914 * lyxtext.h: rename rtl() to isRTL()
2922 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2924 * rowpainter.C (paintSelection): coord fix
2926 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2928 * Spacing.C: compile fix
2930 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2932 * cursor.C (dispatch): restore current_ before returning
2934 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2936 * text2.C (cursorUp, cursorDown): fix coords
2939 2004-02-12 André Pönitz <poenitz@gmx.net>
2944 * text3.C: add LCursor & parameter to most cursor movement functions
2945 remove usage of LyXText::cursorRow() and cursorPar()
2947 * cursor.[Ch]: add textRow() needed members
2950 * BufferView_pimpl.C:
2953 * BufferView_pimpl.C: adjust
2955 2004-02-11 André Pönitz <poenitz@gmx.net>
2959 * BufferView_pimpl.C: shift undo/redo handling
2961 * cursor.[Ch]: fix mathed crash
2964 * lyxtext.h: move selectionAsText to LCursor
2972 * rowpainter.C: fix excessive drawing
2974 2004-02-06 André Pönitz <poenitz@gmx.net>
2977 * BufferView_pimpl.[Ch]:
2978 * text3.C: move some text specific LFUN handling
2980 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2982 * text3.C (checkInsetHit): adjust coords
2983 * text2.C (getColumnNearX): adjust coords
2984 (edit): adjust coords
2985 * text.C (getRowNearY): add two asserts
2987 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2990 * format.C: add using std::distance to compile on gcc 2.95/stlport
2992 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2994 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2996 2004-02-04 André Pönitz <poenitz@gmx.net>
2998 * BufferView.[Ch] (insertInset):
2999 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3004 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3006 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3007 on the default clause of the switch
3008 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3009 wasn't catched by LCursor::dispatch
3011 2004-02-03 André Pönitz <poenitz@gmx.net>
3014 * cursor.[Ch]: some additional asserts
3016 * undo.[Ch]: remove LyXText dependency in interface
3020 * lyxtext.h (firstPar, lastPar): remove dead functions
3025 * paragraph.[Ch]: adjust
3027 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3029 * lyxfind.C (find): fix argument order in call to ::find
3031 2004-02-02 André Pönitz <poenitz@gmx.net>
3033 * cursor.[Ch]: remove direct access to anchor
3035 * text.C: remove findText() hack
3037 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3039 * iterators.[Ch] (lockPath): remove in favour of...
3040 * BufferView.[Ch] (setCursor): this addition
3041 * BufferView.C (putSelectionAt): adjust
3042 * undo.C (performUndoOrRedo): adjust
3043 * lyxfunc.C (dispatch): adjust
3045 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3047 * iterators.C (lockPath): add a missing slice
3048 * undo.C (performUndoOrRedo): remove redundant positioning code
3050 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3052 * vc-backend.C (scanMaster): ";" -> ';'
3054 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3056 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3057 std::binary_function
3059 * lyxtextclass.C (compare_name): rename to...
3060 (LayoutNamesEqual): ...this
3062 * lyxlex_pimpl.C (compare_tags): inherit from
3063 std::binary_function, put back into anon namespace
3065 * lyxfind.C (MatchString): inherig from std::binary_function
3066 (findChange): use empty() istead of !size()
3068 * format.C (FormatNamesEqual): new functor
3075 * converter.C (compare_Converter): rename to...
3076 (ConverterEqual): ...this, and fixup a bit.
3077 (getConverter): use it, and make function const
3078 (getNumber): use it, and make function const
3082 * bufferlist.C: add using boost::bind
3084 * MenuBackend.C (MenuNamesEqual): new functor
3085 (hasMenu): use it, and make function const
3086 (hasSubmenu): use nested bind to get rid of compare_memfun.
3088 2004-01-30 André Pönitz <poenitz@gmx.net>
3090 * BufferView_pimpl.C:
3093 * cursor_slice.[Ch]:
3096 * paragraph_funcs.C:
3097 * paragraph_funcs.h:
3101 * text3.C: move some of the edit(x,y) handling to the insets
3102 some coordinate changes.
3104 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3106 * text.C: add using statements for std::advance and std::distance
3108 * paragraph.C: add using statement for std::distance
3110 * lyxfind.C: add using statement for std::advance
3112 * cursor.C (region): remove std:: from swap
3113 (openable): use nucleus in stead of operator->
3115 * BufferView.C: add using statements for std::distance and std::swap
3117 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3119 * iterators.C: Remove the pimple, move the needed structures to
3120 the header file. Create accessor for the positions stack.
3121 (asPosIterator): remove function
3123 * PosIterator.C (PosIterator): move constructors to top of file
3124 (PosIterator): reimplement the constructor taking a ParIterator in
3126 (setFrom): new function
3127 (operator!=): inline it
3129 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3131 * lyxfind.C (replaceAll): use std::advance
3133 * iterators.h: inherit from std::iterator.
3135 * PosIterator.C (advance, distance): remove
3136 * PosIterator.h: interit from std::iterator.
3138 2004-01-26 André Pönitz <poenitz@gmx.net>
3141 * BufferView_pimpl.[Ch]:
3145 * bufferview_funcs.C:
3155 * output_linuxdoc.C:
3156 * output_plaintext.C:
3158 * paragraph_funcs.[Ch]:
3159 * paragraph_pimpl.[Ch]:
3165 * text3.C: more IU: dumps most of the rest of the mathcursor
3166 implementation into cursor.[Ch]; "globalize" a bit of it.
3168 2004-01-25 Angus Leeming <leeming@lyx.org>
3170 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3172 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3174 * LaTeXFeatures.h: add nice_ and nice() const
3175 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3177 2004-01-20 André Pönitz <poenitz@gmx.net>
3180 * BufferView_pimpl.C:
3182 * bufferview_funcs.C:
3184 * cursor_slice.[Ch]:
3195 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3196 LCursor and mathcursor parts to LCursor and InsetBase.
3198 2004-01-15 André Pönitz <poenitz@gmx.net>
3200 * cursor_slice.[Ch]: add a few covienience functions
3202 * funcrequest.[Ch]: remove BufferView * member
3204 * BufferView_pimpl.C:
3211 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3213 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3215 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3216 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3218 2004-01-13 André Pönitz <poenitz@gmx.net>
3221 * lyxtext.h: hide cursor and selection anchor behind accessor function
3224 * BufferView_pimpl.[Ch]:
3226 * bufferview_funcs.C:
3236 * cursor_slice.[Ch]: some integer type changes for inset unification
3238 * lyxcursor.[hC]: remove, it's CursorSlice now.
3241 * BufferView_pimpl.[Ch]:
3242 * bufferview_funcs.C:
3248 * textcursor.[Ch]: adjust
3250 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3252 * text2.C (undoSpan): add and use
3253 * text.C (breakParagraph): use undoSpan (fix bug 578)
3256 2004-01-08 Angus Leeming <leeming@lyx.org>
3258 * BufferView_pimpl.C (MenuInsertLyXFile):
3259 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3260 * lyxfunc.C (menuNew, open, doImport):
3261 FileFilterList change to the FileDialog open and save functions.
3263 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3265 * ShareContainer.h: make isEqual and isUnique adaptable
3267 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3269 2004-01-07 Angus Leeming <leeming@lyx.org>
3272 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3274 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3276 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3277 functions replacing find, replace and replaceAll.
3279 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3280 LFUN_WORDFIND(FORWARD|BACKWARD).
3282 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3284 * text.C (breakParagraph): remove an outdated #warning
3286 2004-01-07 André Pönitz <poenitz@gmx.net>
3288 * lyxfind.C: somewhat clearer logic
3290 * text.C: prevent crash in cursorX on unitialized row cache
3292 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3294 * lyxcursor.[Ch] (operator>): add
3295 * textcursor.C (selStart, selEnd): use std::min and std::max
3297 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3299 * Chktex.C: include boost/format.hpp
3301 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3303 * InsetList.C: replace functor MathcIt with adaptable functor
3305 (insetIterator): modify accordingly
3307 * BranchList.h: move the BranchNamesEqual functor here from...
3308 * BranchList.C: ... to here
3310 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3312 (add): replace a finding loop with std::find_if.
3314 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3316 * output_docbook.C: moving LatexParam functionality into
3319 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3321 * buffer.C: increment format to 229.
3323 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3326 * lyx_sty.[Ch]: remove minipageindent_def
3332 * text3.C: remove LFUN_INSET_MINIPAGE
3334 2003-12-28 Angus Leeming <leeming@lyx.org>
3336 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3338 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3340 * text2.C (setParagraph): fix off-by-one crash
3342 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3344 * output_docbook.C: header stuff for AGU
3346 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3348 * text2.C (redoCursor): remove
3351 * BufferView_pimpl.C: remove calls to redoCursor and
3352 setCursor(cursor.par(), cursor.pos()) all around
3354 2003-12-15 Angus Leeming <leeming@lyx.org>
3356 * buffer.C: up the format to 228.
3358 2003-12-15 André Pönitz <poenitz@gmx.net>
3360 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3365 * BufferView_pimpl.C:
3374 2003-12-15 Angus Leeming <leeming@lyx.org>
3376 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3377 than getFromGUIName to manipulate the color.
3379 2003-12-14 Angus Leeming <leeming@lyx.org>
3381 * BranchList.[Ch]: minimize the API.
3382 (Branch::getBranch, getColor): now return a 'const &'.
3383 (Branch::setSelected) now returns a bool set to true if the
3384 selection status changes.
3385 (BranchList::clear, size, getColor, setColor, setSelected,
3386 allBranches, allSelected, separator): removed.
3387 (BranchList::find): new functions, returning the Branch with
3389 (BranchList::add, remove): return a bool indicating that
3390 the operation was successful.
3392 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3393 new InsetBranch::isBranchSlected member function.
3395 * LColor.[Ch]: mimimize the API.
3396 (fill): renamed as addColor and made private.
3397 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3398 versions of these functions taking a string arg have been removed.
3400 * bufferparams.C (readToken):
3401 * lyxfunc.C (dispatch):
3402 * lyxrc.C (read): changes due to the altered BranchList and
3405 * factory.C (createInset, readInset): changes due to altered
3408 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3411 * lyxfunc.C: remove insetminipage. "minipage-insert"
3412 now produces a frameless minipage box inset.
3414 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3416 * textcursor.[Ch] (selStart,selEnd): add new methods
3417 remove selection::start, end, use LyXCursor::operator<
3418 * lyxcursor.[Ch] (operator<): add
3419 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3420 * BufferView.[Ch] (unsetXSel): add
3421 * text2.C (clearSelection): use unsetXSel,adjust
3424 * rowpainter.C: adjust
3425 * bufferview_funcs.C (put_selection_at): adjust
3427 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3429 * BufferView_pimpl.C: small coord. correction
3431 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3433 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3434 dragging over the splash screen.
3436 2003-12-11 Angus Leeming <leeming@lyx.org>
3438 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3439 as it is now handled in LyXText::dispatch.
3441 * text3.C (doInsertInset): remove a level of nesting.
3443 2003-12-11 Angus Leeming <leeming@lyx.org>
3445 * factory.C (createInset): changes due to the changed interface to
3446 InsetCommandMailer::string2params.
3448 2003-12-10 Angus Leeming <leeming@lyx.org>
3450 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3451 'dialog-show-new-inset <inset name>'
3453 2003-12-10 Angus Leeming <leeming@lyx.org>
3455 * buffer.C: up the format to 227.
3457 * factory.C: the box inset is now identified simply by 'Box'.
3459 2003-12-10 Angus Leeming <leeming@lyx.org>
3461 * buffer.C: up the format to 226.
3463 * factory.C: the note inset is now identified simply by 'Note'.
3465 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3467 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3468 when a pit is enough. Standarize a couple of loops.
3470 2003-12-05 Angus Leeming <leeming@lyx.org>
3472 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3473 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3474 data to the re-worked "log" dialog.
3476 2003-12-03 André Pönitz <poenitz@gmx.net>
3482 * paragraph_funcs.C:
3484 * text2.C: use Inset::getText instead of Inset::getParagraph
3486 2003-12-03 André Pönitz <poenitz@gmx.net>
3490 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3491 InsetText::read() as LyXText::read()
3493 2003-12-02 Angus Leeming <leeming@lyx.org>
3495 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3496 type. Add a comment in the implementation that the function uses
3497 the stream's bad() function rather than fail() as the std::streams
3500 2003-12-02 André Pönitz <poenitz@gmx.net>
3502 * lyxlex.[Ch]: make interface more similar to std::stream
3504 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3506 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3508 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3510 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3512 * vspace.[Ch]: remove VSpace::NONE
3514 2003-12-01 André Pönitz <poenitz@gmx.net>
3517 * lyxtext.h: move ParagraphList member to LyXText
3518 rename LyXText::ownerParagraphs to LyXText::paragraph
3521 * bufferview_funcs.C:
3531 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3533 * undo.C: fix cursor positioning
3535 2003-12-01 John Levon <levon@movementarian.org>
3537 * BufferView_pimpl.C: fix a crash on exit with
3540 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3542 * BranchList.C: fix setSelected() method.
3544 2003-11-28 André Pönitz <poenitz@gmx.net>
3546 * ParagraphParameters.[Ch]:
3547 * ParameterStruct.h: remove space above/below from Paragraph to
3550 * BufferView_pimpl.C:
3556 * paragraph_funcs.C:
3562 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3564 * factory.C: Syntax change for CharStyles
3566 2003-11-28 André Pönitz <poenitz@gmx.net>
3571 * buffer.[Ch]: move LyXText member
3573 2003-11-28 André Pönitz <poenitz@gmx.net>
3575 * BufferView.[Ch]: make LyXText * text a private member
3577 * BufferView_pimpl.C:
3588 * output_plaintext.C: cleanup
3590 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3593 * lyxtextclass.[Ch]: parametrize SGML document header
3595 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3598 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3601 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3603 * text2.C (setFont): rework using PosIterator (no more recursive)
3604 (setCharFont): no more needed
3605 (setLayout): no more selection cursors fiddling (done by redoCursor)
3606 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3607 destroy remaining ones)
3609 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3611 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3613 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3616 * text3.C: adjust + re-allow multi par depth changes
3617 * textcursor.C: simplify a bit
3619 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3625 * src/output_docbook.C:
3626 * src/output_latex.C:
3631 * src/text2.C: Introducing a number of tags parametrizing various
3632 XML formats that we may want to support
3634 2003-11-25 André Pönitz <poenitz@gmx.net>
3636 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3638 * lyxtext.h (leftMargin/rightMargin): simplify interface
3645 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3647 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3648 master file to any child files. Fixes bug 546.
3650 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3652 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3654 2003-11-24 André Pönitz <poenitz@gmx.net>
3656 * rowpainter.C: simplification
3658 * text2.C (updateCounters): remove call to redoParagraph on
3659 changed labels as this is far too expensive.
3661 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3663 * converter.C (convert): fix a crash: this function gets
3664 called with buffer == 0 from importer code.
3666 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3668 * text3.C (cursorPrevious): make sure that we do not compare
3669 iterators form different containers.
3672 * rowpainter.C (paintSelection): make sure that we do not compare
3673 iterators from different containers.
3675 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3676 iterators from different ParagraphList containers.
3679 * text2.C (LyXText): change order of initialization slightly
3680 (operator=): new function. copy all variables except cache_par_
3681 (moveUp): make sure that we do not compare iterators from
3682 different ParagraphList constainers.
3685 * text.C (firstPar): new function
3686 (lastPar): new function
3687 (endPar): new function
3689 * lyxtext.h: move things around and group public functions, public
3690 variables, private functions, private variables
3692 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3694 * factory.C: change call to InsetERT constructor to avoid
3695 additional invocation of method status
3696 * text2.C (toggleInset): remove redundant update() call
3697 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3698 instead of a Bufferview pointer
3700 2003-11-21 André Pönitz <poenitz@gmx.net>
3702 * rowpainter.C: simplification
3704 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3706 * text3.C (dispatch): make possible to extend a word/row selection
3709 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3711 * lyxtext.h: x0_,y0_ -> xo_,yo_
3712 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3713 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3714 * rowpainter.C (paintRows): paint full paragraphs
3716 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3718 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3721 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3723 * lyxtext.h: add x0_, y0_
3724 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3725 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3727 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3729 * text2.C (setCursorIntern): move the x_target update here *
3730 * text3.C: change some bv() to true/false in calls to
3731 cursorUp/Down/Right/Left
3732 * cursor.C: use helper function.
3734 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3736 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3737 * paragraph_funcs.[Ch]: correct comment
3738 * rowpainter.C: do not paint selections away from bv->cursor()
3739 Fix a long standing selection painting bug.
3740 * text3.C: generalize mouse-selection code to LyXTexts other that
3742 * textcursor.C: do not use y coords if we can use par offsets
3744 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3746 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3747 cursor position after e.g. inset insert)
3749 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3751 * lyxfind.C (replace): adjust to locking removal + some
3754 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3756 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3759 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3762 * output_docbook.C: XML sanitation: new layout
3763 parameters InnerTag and CommandDepth
3765 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3767 * BufferView_pimpl.C:
3769 * text3.C: Fix the insertion and modification of button-style
3772 2003-11-13 André Pönitz <poenitz@gmx.net>
3774 * InsetList.[Ch]: remove deleteLyXText
3776 * paragraph.[Ch]: cache beginOfBody position
3781 * text3.C: remove superfluous update() calls
3785 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3787 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3788 * BufferView.C (fitLockedInsetCursor): remove
3789 * cursor.[Ch] (getDim): add
3790 * text.C (getRowNearY): add faster version
3791 * text3.C: remove some update calls
3793 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3805 * text3.C: The Character Style /XML short element patch.
3807 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3810 * factory.C: Small step to solving 'unable to insert some insets'
3813 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3815 * cursor.[Ch] (updatePos): new function for updating the y
3816 position of the tip inset
3817 * bufferview_funcs.C (put_selection_at):
3818 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3820 2003-11-11 André Pönitz <poenitz@gmx.net>
3822 * text.C: remove big comment on invalid Paragraph pointers as it is
3825 2003-11-11 André Pönitz <poenitz@gmx.net>
3827 * text_funcs.[Ch]: merge with ...
3835 * Makefile.am: remove text_funcs.[Ch]
3837 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3839 * cursor.C (getPos): return absolute cached y coord
3841 * BufferView_pimpl.C (fitCursor): new simplistic code
3842 (workAreaDispatch): add a fitCursor call
3844 2003-11-10 André Pönitz <poenitz@gmx.net>
3847 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3849 2003-11-10 André Pönitz <poenitz@gmx.net>
3851 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3852 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3853 indicate that the cursor needs to leave an inset
3855 * lyxtext.h: remove inset locking
3857 * cursor.[Ch]: re-implement functionality provided by inset locking
3860 * BufferView_pimpl.[Ch]:
3862 * bufferview_funcs.[Ch]:
3874 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3876 * PosIterator.[Ch]: replace the stack with a vector, add inset
3878 * iterators.[C]: adjust
3880 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3882 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3884 * paragraph_funcs.C (readParToken): put the correct id in the
3885 error item, not the id of the top paragraph
3887 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3889 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3890 * bufferview_funcs.C (put_selection_at): use the above
3892 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3894 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3896 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3898 * output_linuxdoc.h:
3899 * output_plaintext.h:
3901 * output_docbook.h: add #include statements
3903 2003-11-05 José Matos <jamatos@lyx.org>
3905 * output_docbook.[Ch]:
3906 * output_latex.[Ch]:
3907 * output_linuxdoc.[Ch]:
3908 * output_plaintext.[Ch]: New files for output formats.
3909 * output.[Ch]: New file for helper functions.
3912 * paragraph_funcs.[Ch]: output functions moved to new files.
3914 * outputparams.h: rename of latexrunparams.h
3922 * paragraph_funcs.[Ch]:
3923 * paragraph_pimpl.[Ch]:
3924 * tabular.[Ch]: rename ascii to plaintext
3925 and LatexRunParams to OutputParams.
3927 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3929 * iterators.[Ch] (text): require bv argument
3930 * undo.C (recordUndo):
3931 * lyxfunc.C (dispatch):
3932 * bufferview_funcs.C (put_selection_at): adjust
3934 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3936 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3938 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3940 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3943 2003-11-04 André Pönitz <poenitz@gmx.net>
3945 * cursor.[Ch]: restructure
3948 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3950 * iterators.[Ch] (asCursor): remove
3952 * lfuns.h: remove LFUN_INSET_EDIT
3958 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3960 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3962 * lyxfind.[Ch]: complete overhaul
3963 * BufferView_pimpl.C:
3965 * paragraph.[Ch] (insert): add
3967 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3971 * text.C: remove dead spellcheck code
3973 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3975 * dispatchresult.h: add a val setter
3977 * cursor.C (dispatch): use a tempvar for data_[i]
3979 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3981 * PosIterator.[Ch]: compile fix
3983 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3985 * text.C (cursorPar): deactivate the cursor cache
3987 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3989 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3991 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * text3.C (dispatch): adjust for new DisptchResult semantics.
3995 * lyxfunc.C (dispatch): handle update when return from
3996 Cursor::dispatch, adjust for new DispatchResult semantics.
3998 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3999 DispatchResult(true) mean to not update. Add class functions for
4000 setting dispatched and update, as well as reading.
4002 * cursor.C (dispatch): don't handle update here
4004 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4007 * trans_mgr.C: adjust
4009 * paragraph_funcs.C (readParToken): exception safety
4011 * lyxvc.h: store the vcs pointer in a scoped_ptr
4014 * lyxsocket.C (serverCallback): exception safety
4016 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4018 * ispell.C (clone): make it return a auto_ptr
4020 * factory.C (createInset): exception safety
4021 (readInset): exception safety
4023 * bufferlist.C (newBuffer): exception safety
4025 * Thesaurus.C (Thesaurus): use initialization for aik_
4027 * MenuBackend.C (expandToc): exception safety.
4029 2003-11-03 André Pönitz <poenitz@gmx.net>
4033 * bufferview_funcs.C: remove getInsetFromId()
4036 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4042 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4044 * PosIterator.C (distance, advance): new
4045 * bufferview_funcs.[Ch] (put_selection_at): new
4046 * iterators.[Ch] (lockPath): new
4048 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4050 * iterators.[Ch] (asPosIterator): added
4051 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4052 * PosIterator.[Ch]: added
4054 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * cursor.C (dispatch):
4059 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4061 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4062 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4063 contructor, add a class function dispatched. Remove operator>=
4065 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4067 * debug.C: only use the default constructor for debugstream
4070 * main.C (main): include debug.h and setup the lyxerr streambuf
4073 2003-10-31 José Matos <jamatos@lyx.org>
4075 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4077 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4078 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4079 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4080 * paragraph_pimpl.C (simpleTeXSpecialC):
4081 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4082 add LatexRunParams argument.
4084 * exporter.C (Export): change call accordingly.
4086 * latexrunparams.h: add new member to take care of the other backends.
4087 2003-10-30 José Matos <jamatos@lyx.org>
4089 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4090 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4091 factorise code for paragraph output.
4093 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4096 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * text3.C (dispatch):
4099 * lyxfunc.C (dispatch):
4100 * cursor.C (dispatch):
4101 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4103 * dispatchresult.h: make the dispatch_result_t ctor explicit
4105 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4108 * buffer.C: small refactoring of docbook stuff
4110 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4112 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4115 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4117 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4118 operator dispatch_result_t, and operators for == != and >=
4120 * cursor.C (dispatch): adjust for operator dispatch_result_t
4121 removal. comment out call to update
4123 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4125 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4136 * dispatchresult.h: new file, DispatchResult broken out of
4139 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4141 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4143 * text.C (rowBreakPoint): put a hack inside #if 0
4145 2003-10-28 André Pönitz <poenitz@gmx.net>
4149 * paragraph_funcs.C:
4152 * text2.C: general cleanup (lots of small stuff)
4154 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4156 * text2.C (cursorEnd): simple fix to the "end key goes to one
4157 before the end on last row" bug
4159 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4161 * text.C (backspace): fix the "zombie characters"
4163 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4165 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4167 2003-10-27 André Pönitz <poenitz@gmx.net>
4169 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4171 * factory.C: handle new InsetPagebreak, InsetLine
4173 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4174 and move handling into new InsetPagebreak, InsetLine
4176 * BufferView_pimpl.C:
4178 * ParagraphParameters.C:
4179 * ParameterStruct.h:
4184 * paragraph_funcs.C:
4185 * paragraph_pimpl.C:
4191 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4194 * lyxrow_funcs.[Ch]:
4200 * text3.C: remove lastPos uses in favour of Row::endpos
4202 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4204 * undo.C (performUndoOrRedo): fix two crashes by setting a
4205 cursor by hand and reordering some calls. Use bv->lockInset instead
4206 of inset->edit because the latter loses cursor information
4208 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4210 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4212 (rowBreakPoint): fix width. change point to point + 1.
4213 Add a missing check.
4215 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4218 * lyxfunc.C: fix (at least partly) the problems
4219 with the Nav menu and headers inside branch insets
4222 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4224 * paragraph.C (getChar): add strong asserts
4226 * lyxrow_funcs.C (lastPos): remove hideous hack
4228 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4229 (fill): adjust to that (avoid an infinite loop)
4231 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4233 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4235 2003-10-23 André Pönitz <poenitz@gmx.net>
4237 * RowList_fwd.h: change list<> to vector<> to gain speed
4238 after suggestion from Alfredo
4240 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4242 * lyxtext.h: move the bidi stuff from here...
4245 * Bidi.[Ch]: ... to here
4247 2003-10-23 André Pönitz <poenitz@gmx.net>
4250 * text.C (isLastRow, isFirstRow): new functions
4252 * paragraph.h: new width cache member
4254 * rowpainter.C: replace RowList::iterator with Row & where possible
4256 * lyxfunc.C: replace several view()->text with a single call
4258 * toc.C: fix 'unused' warning
4260 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4263 when woring with stream::pos_type
4264 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4266 2003-10-22 André Pönitz <poenitz@gmx.net>
4269 * text.C: use Row & instead of RowList::iterator
4271 * lyxrow.h: rename end() to endpos()
4277 2003-10-22 Angus Leeming <leeming@lyx.org>
4279 * buffer.[Ch] (fully_loaded): new member function, returning true
4280 only when the file has been loaded fully.
4281 Used to prevent the premature generation of previews and by the
4282 citation inset to prevent computation of the natbib-style label.
4284 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4285 templates are all set up.
4287 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4289 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4291 * text.C: fixed an "oops" in the "is a bit silly"
4294 2003-10-21 André Pönitz <poenitz@gmx.net>
4296 * FuncStatus.[Ch]: small stuff, whitespace
4298 * lyxfont.[Ch]: operator<<() for debug reasons
4302 * lyxtext.h: whitespace, spelling
4304 * paragraph.C: naming of variables
4307 * text2.C: small stuff
4310 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4312 * text.C: (1) finish off the inset display() work;
4313 (2) fix the "is a bit silly" bug (accessing char
4316 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4318 * text.C: re-introduce display() for insets, fixing the
4319 various bugs (stretch of line above, math inset
4322 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4324 * text.C (rightMargin): remove spurious semicolon
4326 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4329 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4331 * text3.C: fix one crash due to wrong cursor def
4333 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * vc-backend.C (scanMaster): make the regex static
4337 * LaTeX.C (scanAuxFile): make the regexs static
4339 * text3.C (doInsertInset, dispatch, dispatch):
4340 * text2.C (cursorUp, cursorDown):
4341 * text.C (selectNextWordToSpellcheck):
4342 * BufferView_pimpl.C (dispatch):
4343 * lyxfunc.C (dispatch): localDispatch -> dispatch
4345 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4347 * lyxsocket.C: include <cerrno>
4349 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * lyxfunc.C (dispatch): remove textcache stuff
4353 * bufferlist.C (release): remove textcache stuff
4356 * TextCache.C: delete file
4357 * TextCache.h: delete file
4359 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4361 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4362 delete of the bv_->text.
4363 (resizeCurrentBuffer): remove texcache stuff
4364 (workAreaResize): ditto
4366 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4371 2003-10-16 André Pönitz <poenitz@gmx.net>
4378 * text3.C: speed up by storing y positions per paragraph plus per-row
4379 offset instead of having a 'full' y position in the row.
4381 2003-10-15 André Pönitz <poenitz@gmx.net>
4385 * undo.[Ch]: make undo aware of inner insets
4387 2003-10-14 Angus Leeming <leeming@lyx.org>
4389 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4390 static member functions LyX::ref() and LyX::cref.
4391 (lastfiles): new accessor functions for the new lastfiles_ member var.
4392 (addLyXView, views_): add a new LyXView to the list of views_.
4393 (updateInset): loop over all LyXViews to call their own updateInset
4394 member function, returning a pointer to the Buffer owning the inset.
4396 * BufferView_pimpl.C (loadLyXFile):
4397 * MenuBackend.C (expandLastfiles):
4398 * bufferlist.C (MenuWrite, QuitLyX):
4399 lastfiles is no longer a global variable.
4400 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4402 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4403 static function. Access through LyX::cref().emergencyCleanup().
4405 2003-10-14 André Pönitz <poenitz@gmx.net>
4407 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4409 * undo.[Ch]: restoring part of 'undo in insets'
4412 * undo_funcs.[Ch]: merge with undo.[Ch]
4414 * tabular.C: small cleansing stuff
4416 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4418 * paragraph_funcs.C (readParToken): report unknown insets as error
4419 boxes. Use the outer paragraph as location (also for unknown
4422 * factory.C (readInset): do not abort on reading an unknown inset.
4423 Eat it and return 0.
4425 2003-10-13 Angus Leeming <leeming@lyx.org>
4427 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4429 * lyxrc.C: displayTranslator is now a function,
4430 declared in GraphicsTypes.h.
4432 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4434 * format.C: new placeholder $$a to pass the socket address.
4436 * bufferlist.[Ch]: new function getBufferFromTmp.
4438 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4439 files in the temporary dir.
4441 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4443 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4445 * Makefile.am: add lyxsocket.[Ch].
4447 * lyx_main.C (error_handler): handle SIGPIPE.
4449 2003-10-13 André Pönitz <poenitz@gmx.net>
4451 * BufferView_pimpl.C:
4456 * undo_funcs.[Ch]: use paroffset_type instead of
4457 ParagraphList::iterators to prevent multiple conversion
4458 (and get a more robust interface)
4460 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4462 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4464 * text3.C (dispatch): ditto
4466 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4468 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4469 move the onlyfile, use onlyfile instead of foundfile in a couple
4472 * DepTable.C (update): flush the error stream a bit more
4474 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * lyxserver.C (callback): adjust
4478 * lyxfunc.C (getStatus): add a missing brace in commented code
4479 (ensureBufferClean): reindent
4480 (dispatch): delete version taking a string
4482 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * LaTeX.C (deplog): move found file handlig from here...
4485 (handleFoundFile): .. to new function here.
4486 (deplog): make sure to discover several files mentioned on the
4489 2003-10-10 André Pönitz <poenitz@gmx.net>
4496 * text3.C: fix some of the tabular crashes
4498 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4500 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4502 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4504 2003-10-09 André Pönitz <poenitz@gmx.net>
4506 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4509 * BufferView_pimpl.C:
4510 * bufferview_funcs.C:
4521 * undo_funcs.C: adjust
4523 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4525 * text2.C (incrementItemDepth): new function, use a backtracking
4526 algorithm to discover the correct item depth.
4527 (resetEnumCounterIfNeeded): new function, use a backtracking
4528 algorithm to discover if counter reset is needed.
4529 (setCounter): use them. Simplify a bit. Add different labels for
4530 different item depths for itemize.
4532 * paragraph.C (Paragraph): remove initialization of enumdepth
4535 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4536 enumerate and itemize. Change the type of itemdepth to signed char.
4538 2003-10-08 André Pönitz <poenitz@gmx.net>
4540 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4545 * tabular.[Ch]: fix crash after 'row-insert'
4547 2003-10-08 Angus Leeming <leeming@lyx.org>
4549 Fix doxygen warnings.
4551 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4552 Remove CutAndPaste:: prefix from header file declaration.
4554 * LColor.h (fill): remove LColor:: prefix from declaration.
4556 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4557 use lyx::depth_type rather than Paragraph::depth_type so that
4558 header file and .C file match.
4560 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4562 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4563 * aspell.C: \file aspell_local.C -> \file aspell.C
4564 * gettext.C: \file gettext.C -> \file src/gettext.C
4565 * gettext.h: \file gettext.h -> \file src/gettext.h
4566 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4567 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4568 * text.C: \file text.C -> \file src/text.C
4570 * toc.C: move comment so that doxygen is not confused.
4572 2003-10-07 Angus Leeming <leeming@lyx.org>
4574 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4576 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4579 * aspell_local.h: add forgotten std::string's.
4581 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4588 * text3.C: The Box patch. Fancybox support, minipage, parbox
4590 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4596 * ParagraphParameters.h:
4606 * lyxtextclasslist.h:
4609 * paragraph_pimpl.C:
4610 * textcursor.h: add <string> and other small fixes to make Lars'
4611 std::string patch compile with STLport.
4613 2003-10-06 Angus Leeming <leeming@lyx.org>
4615 * LColor.h: Add missing #include <string>.
4617 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * All most all file in all subdirs: Make <string> be the prefered
4620 way of getting to std::string, add using declarations.
4622 2003-10-06 André Pönitz <poenitz@gmx.net>
4624 * metricsinfo.C: initialize LyXFont before changing attribute.
4625 (fixes the 'math in \emph is upright' bug)
4627 2003-10-06 André Pönitz <poenitz@gmx.net>
4629 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4631 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4634 * paragraph_pimpl.C: Small fixes to build using STLport
4636 2003-10-02 André Pönitz <poenitz@gmx.net>
4639 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4641 2003-10-01 André Pönitz <poenitz@gmx.net>
4643 * factory.C: assert early
4645 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * lyx_main.C: remove the global debug object
4649 * debug.h: adjust for new debugstream
4651 * debug.C: adjust for new debugstream and keep the global debug
4654 2003-09-22 Angus Leeming <leeming@lyx.org>
4656 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4657 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4658 an incomplete class LyXFont.
4660 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4662 * factory.C: bug fix in branches
4664 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * lyxfunc.C (processKeySym): adjust
4668 (dispatch): change arg name from ev to func, adjust
4669 (sendDispatchMessage): ditto
4671 * lyx_main.C (defaultKeyBindings): adjust keybindings
4672 (deadKeyBindings): ditto
4674 * kbsequence.C (addkey): return a FuncRequest
4676 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4678 * kbmap.C (bind): take a FuncRequest as arg, adjust
4681 (defkey): change to take a FuncRequest as arg, adjust
4682 (findbinding): take a FuncRequest as arg, adjust.
4684 * funcrequest.h (operator=): added
4686 * funcrequest.C (FuncRequest): default kb_action changed from
4687 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4689 * buffer.C (dispatch): simplify
4690 (dispatch): adjust to take a FuncRequest as arg, adjust
4692 * boost.C (assertion_failed): change assertion message slightly
4694 * ToolbarBackend.C (read): simplify
4696 * MenuBackend.C (binding): adjust call to findbinding, add a
4697 message if no binding is found.
4699 (expandToc): correct by adding a empty FuncRequest
4701 * LyXAction.C: include <boost/assert.hpp>
4702 (isPseudoAction): delete function
4703 (LookupFunc): change name to...
4704 (lookupFunc): this. change return type to FuncRequest.
4705 (getActionName): take kb_action as arg, simplify
4706 (funcHasFlag): add an assert, simplify.
4708 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * toc.C (action): return a FuncRequest, simplify
4712 * lyxfunc.C (processKeySym): adjust
4713 (getStatus): delete version that takes an int.
4715 (dispatch): delete version that takes action as int
4717 (sendDispatchMessage): simplify and adjust
4719 * funcrequest.C (getArg): take unsigned int as arg
4721 * ToolbarBackend.C (read): adjust
4722 (add): delete version that takes func as a string.
4723 (getIton): take a FuncRequest as arg
4725 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4728 * MenuBackend.C (MenuItem): add a new construct that only takes a
4729 Kind, simplify the constructor use for submenus.
4731 (expandLastfiles): adjust
4732 (expandDocuments): adjust
4733 (expandFormats): adjust
4734 (expandFloatListInsert): adjust
4735 (expandFloatInsert): adjust
4736 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4738 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4739 Remove class variables lyx_pseudo_map and lyx_arg_map
4741 * LyXAction.C (searchActionArg): delete function
4742 (getPseudoAction): delete function
4743 (retrieveActionArg): delete function
4744 (LookupFunc): make it return kb_action, simplify.
4745 (getActionName): simplify
4747 * factory.C (createInset): fix new bug
4749 2003-09-19 Angus Leeming <leeming@lyx.org>
4751 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4752 masterFilename_ parameter in the include inset.
4754 * factory.C (createInset): changes due to the changes to InsetInclude.
4756 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4758 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4760 2003-09-18 Angus Leeming <leeming@lyx.org>
4763 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4764 Inset::fillWithBibKeys.
4765 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4767 2003-09-18 Angus Leeming <leeming@lyx.org>
4769 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4771 (ctor): pass and store a 'Buffer const &'
4772 (buffer): new member function.
4774 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4775 '*this' to the LaTeXFeatures ctor.
4777 2003-09-18 Angus Leeming <leeming@lyx.org>
4783 * text.C: rename EnumLColor as LColor_color.
4785 2003-09-18 Angus Leeming <leeming@lyx.org>
4787 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4788 remove #include "insets/insetbase.h" from cursor.h.
4790 2003-09-18 Angus Leeming <leeming@lyx.org>
4792 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4793 InsetOld_code to remove #include "inset.h".
4795 * iterators.C: add #include "insets/inset.h"
4797 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4799 * BufferView.C: remove more locking stuff that apparently doesn't
4800 do anything sensible.
4802 2003-09-16 André Pönitz <poenitz@gmx.net>
4805 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4808 2003-09-16 Angus Leeming <leeming@lyx.org>
4810 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4812 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4815 * paragraph.h: remove #include "lyxfont.h". Forward declare
4818 2003-09-16 Angus Leeming <leeming@lyx.org>
4820 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4821 of support/textutils.h.
4822 (isWord): move the contents of support/textutils.h's IsWordChar here.
4828 * text2.C: add #include "paragraph.h".
4831 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4833 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * LaTeX.C: use namespace alias for lyx::support::os
4841 2003-09-16 Angus Leeming <leeming@lyx.org>
4844 * bufferview_funcs.C:
4847 * paragraph_pimpl.C:
4849 * text.C: add #include "LColor.h".
4851 2003-09-16 Angus Leeming <leeming@lyx.org>
4853 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4854 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4856 Store the FontBits::color variable as an int rather than as an
4857 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4860 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4861 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4862 string calls together.
4864 * lyxrc.C: add #include "LColor.h".
4866 2003-09-15 Angus Leeming <leeming@lyx.org>
4868 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4871 2003-09-15 Angus Leeming <leeming@lyx.org>
4873 * LColor.h: add an EnumLColor wrapper for LColor::color.
4875 * lyxfont.[Ch] (color, setColor, realColor):
4876 * lyxtext.h, text.C (backgroundColor):
4877 pass EnumLColor args to/from the functions, rather than LColor::color
4881 * lyxtext.h: forward declare EnumLColor.
4883 * lyx_main.C: add #include "LColor.h".
4885 2003-09-15 Angus Leeming <leeming@lyx.org>
4887 * .cvsignore: add lyx-gtk.
4889 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * ParagraphParameters.C
4898 * bufferview_funcs.C
4908 * vc-backend.C: remove usage of STRCONV
4910 2003-09-15 Angus Leeming <leeming@lyx.org>
4912 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4913 explicitly define the color passed to the painter.
4915 2003-09-15 Angus Leeming <leeming@lyx.org>
4917 * bufferparams.C (BufferParams): reorder member initializers to avoid
4920 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4922 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4923 * text.C (updateRowPositions): remove an unusual nop
4925 2003-09-12 André Pönitz <poenitz@gmx.net>
4927 * BufferView_pimpl.C:
4936 * Counters.[Ch]: finish the 'automatic counters' job
4938 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4940 * aspell.C: include <boost/assert.cpp> (compile fix)
4942 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4944 * boost.C (assertion_failed): use lyx::support::abort instead of
4947 2003-09-10 Angus Leeming <leeming@lyx.org>
4949 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4950 with their _fwd progeny.
4952 2003-09-09 Angus Leeming <leeming@lyx.org>
4954 134 files throughtout the source tree: replace 'using namespace abc;'
4955 directives with the appropriate 'using abc::xyz;' declarations.
4957 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4959 * boost.C (emergencyCleanup): moved here from LAssert.c
4960 (assertion_failed): new function, called by BOOST_ASSERT
4962 * several files: change Assert to BOOST_ASSERT
4964 2003-09-09 Angus Leeming <leeming@lyx.org>
4966 * buffer.[Ch]: Add an Impl class and move Buffer's member
4967 variables into it. As a result move several header files out of
4970 Add header files to lots of .C files all over the tree as a result.
4972 2003-09-09 Angus Leeming <leeming@lyx.org>
4974 * buffer.[Ch]: make Buffer's member variables private. Add
4977 Lots of changes all over the tree as a result.
4979 2003-09-08 Angus Leeming <leeming@lyx.org>
4981 * graph.C: #include <config.h>.
4983 2003-09-08 Angus Leeming <leeming@lyx.org>
4987 * BufferView_pimpl.C:
5016 * toc.C: remove redundant using directives.
5018 2003-09-07 Angus Leeming <leeming@lyx.org>
5020 * LaTeXFeatures.h: remove #include "support/types.h".
5021 * ToolbarBackend.h: remove #include <algorithm>.
5022 * changes.h: remove #include <ctime>.
5023 * debug.h: remove #include <iosfwd>.
5024 * graph.h: remove #include "support/std_string.h".
5025 * lyx_main.h: remove #include <csignal>.
5026 * lyxlex_pimpl.h: remove #include <fstream>.
5027 * sgml.h: remove #include <algorithm>, <utility>.
5028 * toc.h: remove #include "support/std_ostream.h".
5029 Add #include <iosfwd>.
5031 2003-09-07 Angus Leeming <leeming@lyx.org>
5033 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5035 * converter.h: forward declare LatexRunParams.
5036 * encoding.h: remove #include "lyxrc.h".
5037 * lyxtext.h: remove #include "LColor.h".
5038 * lyxtextclass.h: remove #include "support/types.h".
5039 * trans.h: remove #include "tex-accent.h".
5040 * trans_mgr.h: remove #include "tex-accent.h".
5041 * insets/inset.h: remove #include "support/types.h", <vector>.
5042 * insets/insetcollapsable.h: remove #include "LColor.h".
5043 * insets/insetinclude.h: remove #include "dimension.h".
5044 * insets/insetlatexaccent.h: remove #include "dimension.h".
5045 * insets/insetoptarg.h:: remove #include "insettext.h".
5046 * insets/insettext.h: remove #include "dimension.h",
5047 <boost/shared_ptr.hpp>
5049 * insets/renderers.h: add #include "dimension.h".
5050 * insets/updatableinset.h: add #include "support/types.h".
5052 * many .C files: Associated changes.
5054 2003-09-06 Angus Leeming <leeming@lyx.org>
5056 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5057 one, inside testInvariant.
5059 * PrinterParams.C: new file.
5060 * PrinterParams.[Ch]: move the function bodies out of line.
5062 2003-09-06 Angus Leeming <leeming@lyx.org>
5064 * ParagraphParameters.h: forward declare ParameterStruct rather than
5065 including its header file.
5066 (depth): moved out-of-line.
5068 2003-09-06 Angus Leeming <leeming@lyx.org>
5070 * BufferView_pimpl.h:
5073 * lyxfunc.h: forward declare LyXKeySym rather than
5074 #include "frontends/LyXKeySym.h".
5076 * BufferView_pimpl.C:
5079 * lyxfunc.C: associated changes.
5081 2003-09-06 Angus Leeming <leeming@lyx.org>
5083 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5084 As a result, can remove the #include "insets/inset.h" from BufferView.h
5086 2003-09-06 Angus Leeming <leeming@lyx.org>
5088 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5089 As a result, can remove the #include "insets/inset.h" from BufferView.h
5091 2003-09-06 Angus Leeming <leeming@lyx.org>
5097 * bufferview_funcs.C:
5098 * BufferView_pimpl.C:
5103 * ParagraphParameters.C:
5108 * frontends/controllers/ControlDocument.C:
5109 * insets/insetcaption.C: rearrange the #includes into some sort of
5112 * buffer.h: remove #includes ErrorList.h, undo.h
5114 2003-09-06 Angus Leeming <leeming@lyx.org>
5116 * support/types.h: add a 'depth_type' typedef, used to store the
5117 nesting depth of a paragraph.
5120 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5121 defining explicitly.
5124 * paragraph_funcs.h:
5125 * ParagraphParameters.h:
5126 * sgml.h: use lyx::depth_type rather than Paragraph or
5127 ParameterStruct's depth_type.
5130 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5133 * BufferView_pimpl.C:
5135 * ParagraphParameters.C:
5138 * bufferview_funcs.C:
5145 * frontends/LyXView.C:
5146 * frontends/controllers/ControlDocument.C:
5147 * frontends/controllers/ControlErrorList.C:
5148 * insets/insetbibitem.C:
5149 * insets/insetbranch.C:
5150 * insets/insetcaption.C:
5151 * insets/insetcollapsable.C:
5152 * insets/insetenv.C:
5153 * insets/insetert.C:
5154 * insets/insetfloat.C:
5155 * insets/insetfoot.C:
5156 * insets/insetfootlike.C:
5157 * insets/insetnewline.C:
5158 * insets/insetquotes.C:
5159 * insets/insettabular.C:
5160 * insets/insettext.C:
5161 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5163 * frontends/controllers/ControlChanges.C: #include "changes.h".
5165 2003-09-06 Angus Leeming <leeming@lyx.org>
5167 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5168 than #including paragraph.h.
5171 * RowList.h: deleted. Superfluous.
5181 * insets/insettext.h: use ParagraphList_fwd.h rather than
5184 * paragraph.h: don't forward declare ParagraphList.
5187 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5188 rather than ParagraphList.h. paragraph.h is still needed for the
5189 Paragraph::depth_type parameters.
5191 * textcursor.h: enable it to compile stand-alone in light of the
5194 * bufferview_funcs.C:
5206 * frontends/controllers/ControlParagraph.C:
5207 * frontends/controllers/ControlTabular.C:
5208 * insets/insetmarginal.C:
5209 * insets/insetminipage.C:
5210 * insets/insetnote.C:
5211 * insets/insetoptarg.C: add header files needed to compile again.
5213 2003-09-06 Angus Leeming <leeming@lyx.org>
5215 * RowList_fwd.h: new file, forward-declaring Row rather than
5216 #including lyxrow.h.
5221 * insets/insettext.h: use it instead of RowList.h
5223 * bufferview_funcs.C:
5230 * text3.C: #include "RowList.h".
5232 2003-09-05 Angus Leeming <leeming@lyx.org>
5234 * factory.C (createInset):
5235 * vspace.C (c-tor): replace sscanf call with an istringstream.
5236 * ispell.C: re-add missing HP/UX headers.
5237 * lyxserver.C: re-add missing os2 headers.
5239 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5248 * text3.C: re-add missing system headers, needed for 2.95.2.
5250 2003-09-05 Angus Leeming <leeming@lyx.org>
5252 Changes most place everywhere due to the removal of using directives
5253 from support/std_sstream.h.
5255 2003-09-05 Angus Leeming <leeming@lyx.org>
5257 Replace LString.h with support/std_string.h,
5258 Lsstream.h with support/std_sstream.h,
5259 support/LIstream.h with support/std_istream.h,
5260 support/LOstream.h with support/std_ostream.h.
5262 Changes resulting throughout the tree.
5264 2003-09-05 Angus Leeming <leeming@lyx.org>
5266 * sgml.h: ensure that the header file can be compiled stand-alone.
5267 * *.C: strip out redundant #includes. (320 in total.)
5269 2003-09-04 Angus Leeming <leeming@lyx.org>
5271 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5272 here (from getPackages).
5274 * debug.[Ch]: add a new EXTERNAL tag.
5276 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5278 * text2.C (cursorEnd): simplify
5280 (getColumnNearX): adjust
5282 * text.C (computeBidiTables): adjust
5285 * rowpainter.C (paintChars): adjust
5286 (paintSelection): adjust
5287 (paintChangeBar): adjust
5290 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5292 (numberOfSeparators): adjust
5294 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5300 * text3.C: Restricts the mouse click functionality
5301 of insets like bibtex, include, toc and floatlist to the visible
5302 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5303 up the dialogs. Cursor has to be in front of the inset (i.e.
5304 start of row) for this to function.
5306 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5308 * bufferview_funcs.C (currentState): output row information
5310 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5312 * bufferview_funcs.C (currentState): output paragraph position
5314 2003-09-04 Angus Leeming <leeming@lyx.org>
5316 * FloatList.h: move out #include "Floating.h".
5317 * LaTeX.h: move out #include "DepTable.h".
5318 * LyXAction.h: move out #include "funcrequest.h".
5319 * buffer.h: move out #include "author.h", "iterators.h".
5320 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5321 * lyx_main.h: move out #include "errorlist.h".
5322 * lyxfunc.h: move out #include "FuncStatus.h".
5323 * lyxtext: move out #include "lyxcursor.h".
5324 * paragraph_pimpl.h: move out #include "counters.h".
5326 2003-09-03 Angus Leeming <leeming@lyx.org>
5328 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5329 preamble_snippets list, enabling us to add snippets to the preamble
5330 only if the snippet was not there already.
5332 2003-09-04 Angus Leeming <leeming@lyx.org>
5334 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5336 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5338 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5341 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5343 * BranchList.C: point fix, earlier forgotten
5345 2003-09-02 Angus Leeming <leeming@lyx.org>
5347 * box.C (contains): renamed from 'contained' after a fantastic
5350 2003-09-02 John Levon <levon@movementarian.org>
5356 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5358 2003-09-02 John Levon <levon@movementarian.org>
5360 * text2.C: simplification of cursorEnd(), including partial
5363 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5365 * buffer.C (readFile): add a space
5367 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5369 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5371 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5373 * buffer.C (readFile): new function, take a filename and a
5374 ParagraphList::iterator
5376 (readFile): adjust, make it private. don't use setStream, make
5377 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5378 always contain the filename.
5380 * BufferView.C (insertLyXFile): simplify and make it work for
5383 2003-08-30 John Levon <levon@movementarian.org>
5385 * Makefile.am: fix dist (from Kayvan)
5387 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5389 * most files: change to use const Buffer refs
5391 2003-08-27 André Pönitz <poenitz@gmx.net>
5393 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5394 on top of ownerPar().
5396 2003-08-27 John Levon <levon@movementarian.org>
5398 * funcrequest.C: properly initialise POD members
5400 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5402 * lyxtext.h (top_y): move top_y from here
5407 * BufferView_pimpl.[Ch]: to here
5408 * frontends/screen.C:
5409 * insets/insettabular.C:
5410 * insets/insettext.C: adjust
5411 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5413 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5416 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5418 2003-08-26 André Pönitz <poenitz@gmx.net>
5420 * paragraph_func.[Ch] (outerPar): new function
5423 * paragraph_funcs.C:
5424 * paragraph_funcs.h:
5425 * paragraph_pimpl.C:
5426 * text2.C: remove Inset::par_owner
5428 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5433 * text2.C: eliminates the needFullRow/display() stuff
5434 altogether, putting the logic in metrics/draw in the insets.
5436 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5438 * text2.C (redoParagraphInternal, redoParagraphs):
5439 * text.C (redoParagraph): add a call to updateRowPositions at the
5440 end of each 'metrics-like' call. Remove all others.
5441 (getRow): remove the 'y-computing' version.
5442 (getRowNearY): do not compute nor return the real y. Solve the
5443 'y < 0' problem and simplify.
5445 2003-08-22 Angus Leeming <leeming@lyx.org>
5447 * *.[Ch]: clean-up of licence and author blurbs.
5448 Also move config.h out of a few .h files and into a few .C files.
5450 2003-08-22 André Pönitz <poenitz@gmx.net>
5452 * lyxrow.[Ch]: add x_ and *fill_ members
5457 * text2.C: adjust/remove prepareToPrint() calls
5459 2003-08-22 André Pönitz <poenitz@gmx.net>
5461 * lyxrow.[Ch]: add end_ member
5463 * lyxrow_funcs.C: use LyXRow::end_
5465 * lyxtext.h (singleWidth): add LyXFont parameter
5468 * text2.C: adjust LyXText::singleWidth() calls
5470 * text.C (redoParagraph): simplify row breaking logic
5473 2003-08-19 André Pönitz <poenitz@gmx.net>
5475 * funcrequest.C: initialize button_ member
5478 * rowpainter.[Ch]: interface consolidation
5480 2003-08-18 André Pönitz <poenitz@gmx.net>
5483 * BufferView_pimpl.C:
5485 * paragraph_funcs.C:
5487 * text3.C: remove LyXScreen::draw() and fitCursor calls
5489 * BranchList.h: remove spurious semicolons
5491 * MenuBackend.C: fix branchlist related crash
5493 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5501 * bufferparams.[Ch]:
5505 * text3.C: implements the 'branch inset'
5506 idea. This allows the output of various versions of a document
5507 from a single source version, selectively outputing or suppressing
5508 output of parts of the text.
5509 This implementation contains a 'branch list editor' in a separate
5510 tab of the document settings dialog. Branches are user definable
5511 and have a "display colour" to distinguish them on-screen.
5513 ColorHandler was somewhat cleaned up.
5514 (1) make possible a dynamically growing LColor list by allowing
5515 the graphic context cache to grow along (vector);
5516 (2) eliminate an IMHO unnecessary step in colour allocation.
5518 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5520 * BufferView_pimpl.C: compile fix
5522 2003-08-15 André Pönitz <poenitz@gmx.net>
5524 * rowpainter.C: remove extra metrics calls
5526 * lyxtext.h: merge the two constructors into a single one,
5527 pass reference to owner's par list
5529 * BufferView_pimpl.C:
5533 2003-08-15 André Pönitz <poenitz@gmx.net>
5535 * lyxrow_funcs.[Ch]:
5538 * paragraph_funcs.C:
5543 * text_funcs.C: split LyXText::rowlist_ into individual
5544 Paragraph::rows_ chunks
5547 * BufferView_pimpl.[Ch]:
5550 * text3.C: remove toggleSelection()
5552 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5554 * bufferlist.C: beautify two alerts (shorter text of buttons)
5555 * buffer.C: Remove redundant ' ' from message
5557 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5558 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5559 rename VALIGN_CENTER to VALIGN_MIDDLE
5561 2003-08-11 André Pönitz <poenitz@gmx.net>
5563 * lyxtext.h (getPar):
5564 * text.C: new function
5566 2003-08-11 André Pönitz <poenitz@gmx.net>
5569 * tracer.[Ch]: remove unneeded files
5571 * InsetList.[Ch]: remove resizeInsetsLyXText()
5576 * text3.C: merge insertParagraphs() and appendParagraph()
5577 remove breakAgain(), update()
5579 * BufferView_pimpl.[Ch]:
5580 * bufferview_funcs.[Ch]:
5584 * tabular.C: adjust after text & InsetList changes.
5586 2003-08-08 André Pönitz <poenitz@gmx.net>
5588 * text.C (insertChar, backspace): replace rowlist fiddling
5589 with rebreak of full par
5592 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5593 checkParagraph, updateInset): removed
5595 2003-08-07 André Pönitz <poenitz@gmx.net>
5598 * text3.C: merge some LFUN handlers, remove dead code
5600 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5602 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5604 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5606 * text2.C (DEPM): fix part of bug 1255 and 1256
5608 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5610 * BufferView_pimpl.C (workAreaDispatch): change to use
5611 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5612 that are no mouse related.
5614 2003-08-05 André Pönitz <poenitz@gmx.net>
5617 * BufferView_pimpl.[Ch]:
5618 * bufferview_funcs.C:
5620 * text3.C: rip out "deep update"
5622 * textcursor.[Ch] (last_sel_cursor): remove unused member
5624 2003-08-04 André Pönitz <poenitz@gmx.net>
5627 * BufferView_pimpl.[Ch]:
5628 * ParagraphParameters.C:
5629 * bufferview_funcs.C:
5635 * text3.C: replace "complicated" BufferView::update(...) calls with
5638 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5640 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5642 * Makefile.am (lyx_SOURCES): add paper.h
5644 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5646 * Makefile.am: move things around so that both lyx-qt and
5647 lyx-xforms can be built (according to --with-frontend). Then lyx
5648 is a symbolic link to lyx-[firstfrontend]
5650 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5652 * Always use std::endl with lyxerr
5654 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5656 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5658 2003-08-01 André Pönitz <poenitz@gmx.net>
5661 * BufferView_pimpl.[Ch]:
5663 * text3.C: merge BufferView::repaint() and BufferView::update()
5665 2003-08-01 José Matos <jamatos@lyx.org>
5667 * buffer.[Ch]: file_format is no longer a buffer data element.
5669 2003-08-01 André Pönitz <poenitz@gmx.net>
5674 * text2.C: make redoParagraph more independent of current cursor
5676 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5678 * text2.C: remove unneeded members
5680 2003-07-30 André Pönitz <poenitz@gmx.net>
5682 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5684 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5685 create a single function...
5687 * paragraph_funcs.C (moveItem): ... here.
5690 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5692 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5694 * LColor.[Ch]: Add comment and greyedout logical colors.
5696 2003-07-30 André Pönitz <poenitz@gmx.net>
5698 * tabular.C: don't use Assert too heavily. This crashes where it
5701 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5703 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5704 is disabled (bug 1232)
5706 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5708 * factory.C: limited 'arg' scope
5710 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5712 * factory.C: fixed Note submenu issues
5714 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5716 * factory.C: submenu for Note/Comment/Greyedout
5718 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5721 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5723 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5726 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5727 greyedout. Patch provided by Jürgen Spitzmüller.
5729 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5731 * kbmap.C (read): fix error message when reading bind files
5733 2003-07-29 Angus Leeming <leeming@lyx.org>
5735 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5736 certainly does not do what it purports to do. I am doing it, and
5737 us, a favour by killing it.
5739 2003-07-28 José Matos <jamatos@lyx.org>
5741 * buffer.C (readBody, do_writeFile):
5742 * paragraph.C(readParagraph): \end_document replaces \the_end.
5744 2003-07-29 André Pönitz <poenitz@gmx.net>
5747 * BufferView_pimpl.[Ch]:
5751 * textcursor.[Ch]: remove toggleToggle & Co
5753 2003-07-28 José Matos <jamatos@fep.up.pt>
5755 * buffer.C (readParagraph):
5756 * params_func (readParToken, readParagraph):
5757 * paragraph.C (write): \layout -> \begin_layout.
5759 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5761 * lyxlex_pimpl.C (setFile): clean up slightly.
5763 * bufferparams.h: add compressed var
5765 * buffer_funcs.C (readFile): adjust for LyXLex change
5766 (newFile): ditto + simplify
5768 * buffer.C (writeFile): handle writing of compressed files
5770 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5771 Check if the file is compressed and set a bufferparm if so.
5773 * Makefile.am (lyx_LDADD): remove explicit -lz
5775 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5777 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5778 makeDocBookFile): put the real LyX version in the first line of
5782 * version.C.in: remove lyx_docversion
5784 * tabular.C (write_attribute): add a template-based version to
5785 write enums properly
5787 2003-07-28 André Pönitz <poenitz@gmx.net>
5792 * text3.C: use doubles again for x-coordinates. They are needed.
5794 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * messages.C (getLocaleDir): use lyx_localedir()
5798 * lyxlex_pimpl.C (setFile): compress stuff
5800 * buffer.C (writeFile): add some compression stuff
5801 (do_writeFile): new func, dont call expliti close... will this
5804 * Makefile.am (lyx_LDADD): add -lz
5806 2003-07-28 José Matos <jamatos@fep.up.pt>
5808 * buffer.C: increment file format.
5809 * paragraph_funcs (readParagraph, readParToken):
5810 * paragraph.C (readParagraph): add \end_layout.
5812 2003-07-27 Angus Leeming <leeming@lyx.org>
5814 * Makefile.am: remove special casing for configure-time setting of
5815 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5817 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5818 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5820 2003-07-26 André Pönitz <poenitz@gmx.net>
5822 * paragraph_func.[Ch]:
5823 * paragraph.C (realizeFont): inline it whereever it is used
5828 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5831 2003-07-26 André Pönitz <poenitz@gmx.net>
5835 * text2.C: get rid of LyXText::need_break_row
5837 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * toc.[Ch]: put namespace toc inside namespace lyx
5841 * MenuBackend.C (expandToc2): adjust for lyx::toc
5844 * lyxfunc.C (dispatch): adjust for lyx::find
5846 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5847 lyx::find instead. Reorganize a bit.
5848 (LyXReplace): rename to replace
5849 (LyXFind): rename to find
5851 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5854 2003-07-26 André Pönitz <poenitz@gmx.net>
5856 * text.C (setHeightOfRow): restrict scope of temporary variable
5858 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5859 code (never has been used?)
5861 2003-07-27 Asger Alstrup <alstrup@local>
5863 * text.C (fill): Optimise algorithm to exploit that we can reuse
5864 the LyXFont for many characters.
5865 (setHeightOfRow): Same thing.
5866 (rowBreakPoint): Same thing.
5868 2003-07-26 Asger Alstrup <alstrup@local>
5870 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5872 * text.C (singleWidth): Spurious font copying in hot-spot
5873 singleWidth avoided. Reorder tests for arabic for efficiency.
5875 * text.C (fill): handle empty paragraphs better.
5877 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5880 * encoding.h: add includes
5882 * lyxrc.C: remove reading of bind files
5884 * lyx_main.C (init): setup bindings and menus only if we have a
5887 * kbmap.C (read): new method. Do the actual reading of bind
5890 * converter.C (dvipdfm_options):
5893 (output): adapt PAPER_* enums.
5895 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5897 * bufferparams.h: remove paper-related enums from there
5899 * paper.h: New file. A trivial header file to hold paper-related
5900 enums. It should later expand to contain many paper-related
5903 * lyxrc.C: declare extern displayTranslator
5905 2003-07-27 José Matos <jamatos@fep.up.pt>
5907 * tabular.[Ch] (linuxdoc): add support for tables and figures
5910 2003-07-27 José Matos <jamatos@fep.up.pt>
5912 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5913 consistency in both functions.
5914 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5916 2003-07-26 Asger Alstrup <alstrup@local>
5918 * rowpainter.C (paintRows): Change algorithm to work directly on
5919 the insets rather than asking every character in the document
5920 whether its an inset.
5922 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5924 * buffer.C (openFileWrite): factorize some code
5926 2003-07-26 Angus Leeming <leeming@lyx.org>
5929 * lyx_main.[Ch]: replace occurances of system_tempdir with
5932 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5934 * rename Inset to InsetOld
5936 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5938 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5939 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5940 which I think is a bit clearer. EDIT is gone, since it was
5941 premature optimisation, and broken for mathed anyway.
5942 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5943 with cursor positioning in insets as well (math insets still do not
5944 work, but that's a different story anyway.) It mysteriously
5945 crashes sometimes with undo in the first paragraph, but I'm fairly
5946 confident that this is a compiler bug.
5948 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * paragraph.C (Paragraph): adjust for new clone return type
5952 (copyIntoMinibuffer): ditto
5954 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5956 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5957 by not having a special case, and always doing a full rebreak of
5958 the document after undo.
5960 2003-07-23 Angus Leeming <leeming@lyx.org>
5962 * factory.C (createInset): InsetExternal::setParams now takes a
5965 2003-07-23 Angus Leeming <leeming@lyx.org>
5967 * factory.C (createInset): changed interface to the external and
5968 graphics mailers' string2params functions.
5970 2003-07-23 Angus Leeming <leeming@lyx.org>
5972 * factory.C (createInset): pass a
5973 Buffer const * parameter to InsetExternalMailer's string2params.
5975 2003-07-22 John Levon <levon@movementarian.org>
5977 * Thesaurus.h: include the right aiksaurus header
5979 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5981 * MenuBackend.C (expand): check menu shortcuts unconditionally
5983 2003-07-21 Angus Leeming <leeming@lyx.org>
5985 * factory.C (createInset): pass a
5986 buffer_path parameter to InsetGraphicsMailer's string2params.
5988 2003-07-21 Angus Leeming <leeming@lyx.org>
5990 * BufferView_pimpl.C (buffer):
5993 * lyxfunc.C (dispatch):
5994 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5995 rather than the grfx shortcut.
5997 2003-07-21 André Pönitz <poenitz@gmx.net>
5999 * rowpainter.C: remove unused variables
6002 * tabular_funcs.h: move to tabular.C
6003 * Makefile.am: adjust
6005 * tabular.[Ch]: basic optical cleaning
6007 * author.h: pass references, not values
6009 2003-07-18 André Pönitz <poenitz@gmx.net>
6017 * text3.C: two-phase drawing for InsetText and InsetTabular
6018 some float -> int changes.
6020 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6022 * lyx_main.C: fix the fix
6024 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6026 * lyx_main.C: fix a crash in batch mode if no files specified
6029 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6031 * format.[Ch] (papersize): moved to BufferParams
6032 * converter.[Ch] (dvips_options): moved to BufferParams
6033 (dvipdfm_options): moved to anon namespace
6034 * bufferparams.[Ch]: added above functions.
6036 2003-07-17 André Pönitz <poenitz@gmx.net>
6040 * text2.C: don't call inset->update() anymore
6042 * metricsinfo.[Ch]: add convenience constructor
6044 2003-07-16 André Pönitz <poenitz@gmx.net>
6049 * text2.C: replace the LyXCursor::irow_ member with
6050 on-demand computation of the value
6052 2003-07-16 John Levon <levon@movementarian.org>
6054 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6056 2003-07-15 André Pönitz <poenitz@gmx.net>
6059 * text2.C: remove no more needed refresh_row
6061 2003-07-15 André Pönitz <poenitz@gmx.net>
6066 * text3.C: refresh_status tristate -> need_update bool
6068 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6070 * lyxtext.h (init): remove reinit argument (act as if always true)
6071 * text2.C: adjust to that
6073 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6075 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6076 * text3.C: use it to delete selections in some cases
6077 (bugs 441, 673, 702, 954).
6079 2003-07-14 André Pönitz <poenitz@gmx.net>
6081 * rowpainter.[Ch]: reduce interface
6083 2003-07-14 André Pönitz <poenitz@gmx.net>
6085 * BufferView_pimpl.C:
6086 * text2.C: adjust after removing unused BufferView * argument
6088 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6090 * text2.C (init): fix a crash fired on resize
6092 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6094 * buffer.[Ch]: added new closing signal
6095 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6096 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6097 BufferView::Pimpl via the closing the signal
6099 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6101 * buffer.[Ch]: take out all bv-related from buffer
6103 * BufferView_pimpl.[Ch]: connect to new signals
6104 * CutAndPaste.C: removed useless asserts
6105 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6108 * lyxfunc.C: moved view-related funciontality from vc here
6109 * paragraph.C: removed outdated comments
6112 2003-07-10 André Pönitz <poenitz@gmx.net>
6114 * BufferView_pimpl.C:
6118 * text2.C: remove InsetText::InnerCache, clean up consequences
6120 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6122 * ispell.C: fix two typos in error messages
6124 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6126 * Extend Note inset to other forms of annotation like Comment
6127 and Greyedout. Right button click gives dialog.
6129 Files modified or added (+):
6133 * ControlNote.[Ch] +
6135 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6136 frontends/controllers
6140 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6142 * aspell.C: add missing namespace lyx::support
6144 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6146 * BufferView.[Ch] (newFile): Add
6147 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6148 * LaTeX.[Ch] (message): added this signal and use it
6149 * buffer.[Ch] (busy, message): added these signals and use them
6150 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6154 * importer.C: use buffer signals instead of direct bv calling
6155 * lyx_cb.[Ch] (ShowMessage): removed
6158 * paragraph_funcs.C:
6159 * text2.C: use buffer signals
6161 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6163 * introduce namespace lyx::graphics
6165 2003-07-02 André Pönitz <poenitz@gmx.net>
6167 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6169 2003-07-01 André Pönitz <poenitz@gmx.net>
6176 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6177 text*.C to text_func.C
6179 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6181 * introduce namespace lyx::support
6183 2003-06-30 André Pönitz <poenitz@gmx.net>
6188 * text.C: re-enable --with-included-string
6190 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6192 * textcursor.C: add <config.h>
6194 * text.C (getWord): remove const from word_location arg
6196 * lyxvc.C (getLogFile): fix const type order
6198 * lyxtext.h: remove const from word_location arg, add arg name
6200 * lyxlayout.h: currect type on labeltype.
6202 * importer.C: correct \file
6204 * converter.C (intToFormat): use std:: on ret val, ws changes
6206 * bufferlist.h: correct \file
6208 * buffer.C (makeLinuxDocFile): fix const type order
6209 (makeDocBookFile): ditto
6210 (fillWithBibKeys): use std:: on stdlib args.
6212 * CutAndPaste.C: fix authors.
6213 (availableSelections): use std:: on return vector
6215 2003-06-27 André Pönitz <poenitz@gmx.net>
6217 * BufferView_pimpl.C:
6218 * bufferview_funcs.C:
6226 * text3.C: remove LyXCursor::row_ member
6229 * text.C: rename fullRebreak() to partialRebreak() and implement
6230 a fullRebreak() that really bereks fully
6232 * textcursor.h: new struct for cursor-related data
6234 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6236 * lyx_main.C (LyX): get full path of document loaded on the
6239 2003-06-26 André Pönitz <poenitz@gmx.net>
6241 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6242 remove unused/broken operator>,<,>=.
6244 * text.C: remove only use of broken operator<= in an Assert().
6246 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6248 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6249 moved errorlist_.clear to showErrorList
6251 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6253 * converter.C (scanLog, runLaTeX):
6254 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6255 move the bv->showErrorList call to the callers
6256 * lyxfunc.C: i.e. here...
6258 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6259 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6260 namespace, the second to...
6261 * buffer_funcs (BufferFormat, parseErrors): added
6262 * errorlist.C (ErrorList(TeXErrors const &)): removed
6264 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6266 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6268 2003-06-24 "Garst R. Reese" <reese@isn.net>
6272 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6274 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6276 * version.C.in: change docversion to 1.4
6278 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6280 * buffer.C: fix a bug just introduced
6282 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6284 * buffer.[Ch]: added the parseError signal and use it, removed
6286 * BufferView.[Ch] (addError): moved to ...
6287 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6288 to the Buffer::parseError signal to catch (guess what) parse errors
6289 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6291 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6293 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6294 ability to create a buffer and to return an existing one from
6295 the list. Moved these functions to...
6296 * buffer_funcs.[Ch]: added
6297 * BufferView.[Ch] (loadLyXFile): added
6298 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6299 job removed from bufferlist::loadLyXFile.
6300 * buffer.C (setReadOnly): make it work without view
6301 (i.e added an if (users))
6303 2003-06-19 Angus Leeming <leeming@lyx.org>
6306 * LyXAction.C (init):
6307 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6308 with LFUN_DIALOG_SHOW <name> <data>.
6310 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6312 * CutAndPaste.C (availableSelections): small compilation fix for
6313 ancient (gcc 2.9x) compilers
6315 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * text3.C (cursorNext): add tmp var
6319 * text2.C (updateCounters): for function calling out of for clause
6320 (replaceSelectionWithString): ditto
6321 (insertStringAsParagraphs): ditto
6322 (getColumnNearX): add tmp var
6323 (setCursorFromCoordinates): add tmp var
6324 (cursorDownParagraph): add tmp var
6325 (deleteEmptyParagraphMechanism): add tmp var
6327 * text.C (insertChar): add tmp var
6329 * rowpainter.C (paintDepthBar): add tmp var
6331 * CutAndPaste.C (availableSelections): potentially check all
6332 paragraphs in a cut to fill the shown strings.
6334 2003-06-18 André Pönitz <poenitz@gmx.net>
6336 * kbmap.[Ch]: use vector<> instead of list<>
6338 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6340 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6341 pasteSelection with index
6343 * text2.C (pasteSelection): modify, call pasteSelection with index
6345 * paragraph.C (asString): reimplement version with no interval to
6346 call the one with interval.
6348 * lyxtext.h: add index arg to pasteSelection
6350 * MenuBackend.C (MenuItem): handle PasteRecent
6351 (Menu::read::Menutags): add md_pasterecent
6353 (expandPasteRecent): new function
6356 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6358 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6360 (availableSelections): new function
6362 2003-06-17 Angus Leeming <leeming@lyx.org>
6364 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6366 2003-06-17 Angus Leeming <leeming@lyx.org>
6369 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6371 * lyxfunc.C (dispatch): invoke it.
6373 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6375 * iterators.C (operator++, ParPosition): reintroduce some
6376 const_cast for the benefit of older compilers.
6378 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6380 * text3.C (dispatch): do not modify clipboard when doing
6381 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6382 LFUN_DELETE_SKIP on a selection selection
6384 2003-06-16 André Pönitz <poenitz@gmx.net>
6390 * tabular.[Ch]: IU of clone() and getLabelList();
6392 2003-06-13 André Pönitz <poenitz@gmx.net>
6394 * tabular.h: compactification
6396 2003-06-12 André Pönitz <poenitz@gmx.net>
6400 * tabular_funcs.h: some renaming plus whitespace
6402 2003-06-12 André Pönitz <poenitz@gmx.net>
6405 * BufferView_pimpl.C:
6411 * toc.C: Return a Paragraph & for ParIterator::operator*()
6413 2003-06-11 John Levon <levon@movementarian.org>
6417 * ToolbarBackend.C: add "Toolbars" section and
6420 2003-06-10 Angus Leeming <leeming@lyx.org>
6423 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6425 * lyxfunc.C (dispatch): invoke it.
6427 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6429 * main.C: protect <ios> with HAVE_IOS
6430 (main): protect sync_with_stdio with HAVE_IOS
6432 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6434 * text2.C (cutSelection): adjust
6435 (pasteSelection): adjust
6437 * messages.C: handle get of empty string
6439 * main.C (main): use sync_with_stdio(false)
6441 * lyxfunc.C (dispatch): adjust
6443 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6444 (WriteAs): remove unneeded BufferView arg.
6446 * bufferparams.h: use correct types on papersize, papersize2 and
6449 * bufferparams.C (readToken): adjust for type
6450 (writeLaTeX): add missing cases to switch.
6452 * bufferlist.C (quitWriteBuffer): adjust
6455 * buffer.C (asciiParagraph): remove some commented code.
6457 * CutAndPaste.C: remove current_view extern variable.
6458 (cutSelection): add BufferParams arg.
6459 (eraseSelection): add BufferParams arg.
6460 (pasteSelection): add Buffer const & arg
6462 2003-06-07 John Levon <levon@movementarian.org>
6465 * paragraph_funcs.C:
6466 * paragraph_pimpl.C:
6470 * paragraph.C: allow InsetERT to freely space lines,
6471 and some consolidation of code
6473 2003-06-06 José Matos <jamatos@fep.up.pt>
6475 * buffer.C (makeDocBookFile): fix bug #821
6477 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6479 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6481 2003-06-04 Angus Leeming <leeming@lyx.org>
6483 * buffer.C: bump format to 224.
6485 2003-06-05 André Pönitz <poenitz@gmx.net>
6487 * text2.C (redoParagraphs): remove two const_cast<>
6489 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6491 * ParagraphList.h: remove last remnants of NO_STD_LIST
6493 2003-06-03 Angus Leeming <leeming@lyx.org>
6495 * factory.C (createInset): small change to the way InsetExternal's params
6498 2003-06-04 André Pönitz <poenitz@gmx.net>
6500 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6502 * paragraph_pimpl.h:
6503 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6505 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6507 * undo_funcs.C: make some simple cases of undo work again
6509 2003-06-03 John Levon <levon@movementarian.org>
6511 * ispell.C: HPUX doesn't have sys/select.h
6514 2003-06-03 John Levon <levon@movementarian.org>
6516 * CutAndPaste.C: update tabular and include inset
6521 * paragraph.C: remove owningBuffer(), don't pass Buffer
6524 * factory.C: insetGraphicsParams changed
6526 2003-06-02 John Levon <levon@movementarian.org>
6532 * text3.C: remove insetparent
6534 2003-06-02 John Levon <levon@movementarian.org>
6537 * buffer.C: fix inset_iterator.end(), move out of line
6540 2003-06-01 John Levon <levon@movementarian.org>
6542 * text3.C: use a proper cut/paste when doing inset
6543 insert (from Jürgen Spitzmüller)
6545 2003-06-01 John Levon <levon@movementarian.org>
6547 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6549 2003-05-30 André Pönitz <poenitz@gmx.net>
6551 * rowpainter.C: unify second drawing phase
6553 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * trans_mgr.C: remove one case of current_view
6557 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6559 * paragraph_funcs.h: remove paragraph.h include
6561 * paragraph.h: delete NO_STD_LIST stuff
6563 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6565 * buffer.h: remove paragraph.h include
6567 * ParagraphList.C: delete file
6569 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6571 * toc.C (getTocList): adjust
6573 * paragraph_pimpl.C (validate): adjust
6575 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6577 * paragraph.C (Paragraph): adjust
6578 (getPositionOfInset): use const_iterator, adjust
6579 (bibitem): use const_iterator, adjust
6580 (setInsetOwner): adjust
6582 * iterators.C (operator++): adjust
6584 * InsetList.[Ch]: Replace selfmade iterator with standard
6585 vector::iterator also introduce const_iterator. Remove getPos,
6586 getInset and setInset from InsetTable. Adjust accordingly.
6588 * BufferView.C (lockInset): adjust
6589 (ChangeInsets): adjust
6591 * tabular.[Ch]: delete commented same_id functions
6593 2003-05-28 John Levon <levon@movementarian.org>
6595 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6597 2003-05-28 André Pönitz <poenitz@gmx.net>
6599 * metricsinfo.[Ch]: remove 'fullredraw' member
6601 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6603 * lyxtextclass.C (operator): remove caching.
6605 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6609 * text2.C (cursorBottom): adjust
6610 (setCounter): use ParagraphList::find, adjust
6612 * text.C (workWidth): use ParagraphList::find, adjust
6614 * lyxcursor.C (LyXCursor): adjust
6616 * buffer.C (inset_iterator): adjust
6618 * ParagraphList.h: make iterator(value_type) private, make
6619 ParagraphList a friend of iterator.
6621 * ParagraphList.C (find): new function
6623 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6625 2003-05-27 André Pönitz <poenitz@gmx.net>
6627 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6629 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6631 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6633 2003-05-26 John Levon <levon@movementarian.org>
6635 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6637 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * remove same_id from function signatures, adjust.
6641 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6643 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6645 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6647 * paragraph.C (Paragraph): get rid of same_ids parameter
6649 * ParagraphList.C (insert): adjust
6652 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6654 * paragraph_funcs.C (breakParagraph): adjust
6655 (breakParagraphConservative): adjust
6657 * buffer.C (readParagraph): adjust
6659 * ParagraphList.C (insert): take a reference instead of a pointer
6662 * paragraph.[Ch] (id): new function
6664 * bufferlist.C (newFile): adjust
6666 * ParagraphList.C (ParagraphList): adjust
6668 (push_back): take a reference instead of a pointer.
6670 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6672 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6675 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6676 set else use old code.
6678 * ParagraphList.C: remove all NO_NEXT code and only compile this
6679 code of NO_STD_LIST is set.
6681 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6683 * BufferView_pimpl.C:
6693 * graphics/GraphicsConverter.C:
6694 * graphics/PreviewLoader.C: header adjustment
6696 2003-05-23 Angus Leeming <leeming@lyx.org>
6698 * LaTeXFeatures.[Ch] (useBabel): new method.
6699 * bufferparams.C (writeLaTeX): use it.
6701 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6703 * ParagraphList.h (set): remove unused function.
6705 2003-05-23 André Pönitz <poenitz@gmx.net>
6708 * BufferView_pimpl.C:
6712 * undo_funcs.C: setUndo reworked
6714 * iterators.[Ch]: add access to topmost ParagraphList
6716 * lyxtext.[Ch] (workWidth): add a const
6718 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6720 * texrow.[Ch] (increasePos): remove function
6721 * exporter.C (export): removed unused var and outdated comment
6723 2003-05-23 Angus Leeming <leeming@lyx.org>
6725 * latexrunparams.h: rename fragile as moving_arg.
6726 * paragraph.C (simpleTeXOnePar): ditto.
6727 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6729 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6733 (textUndoOrRedo): comment out a currently unused var.
6735 * paragraph.h (NO_NEXT): enable NO_NEXT
6737 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6739 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6741 * exporter.C (Export): adjust for removeAutoInsets removal.
6743 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6745 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6747 * BufferView.[Ch] (removeAutoInsets): delete function
6749 2003-05-22 Angus Leeming <leeming@lyx.org>
6751 * latexrunparams.h: add a free_spacing variable.
6753 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6754 to pass moving_arg, as the data is stored in runparams.fragile.
6756 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6757 to Inset::latexOptional or to simpleTeXOnePar.
6759 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6760 free_spacing arg to Inset::latexOptional.
6762 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6765 2003-05-22 Angus Leeming <leeming@lyx.org>
6767 * latexrunparams.h: add fragile and use_babel variables.
6769 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6770 * buffer.C (makeLaTeXFile): store this returned value in
6771 runparams.use_babel, thus passing it to the inset::latex methods.
6773 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6774 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6776 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6777 longer has a fragile arg, as it is stored in runparams.fragile.
6779 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6780 moving_arg parameter as the data is stored in runparams.fragile.
6782 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6783 a fragile parameter as the data is stored in runparams.fragile.
6785 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6787 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6789 2003-05-22 Angus Leeming <leeming@lyx.org>
6791 * latexrunparams.h: add a 'bool nice' which defaults to false.
6793 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6794 now encapsulated within runparams.
6796 * bufferlist.C (updateIncludedTeXfiles):
6797 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6799 2003-05-22 Angus Leeming <leeming@lyx.org>
6801 * latexrunparams.h: new file containing struct LatexRunParams.
6802 * Makefile.am: add new file.
6804 * LaTeX.[Ch] (c-tor, run):
6805 * buffer.[Ch] (makeLaTeXFile):
6806 * bufferlist.[Ch] (updateIncludedTeXfiles):
6807 * converter.C (convert, scanLog):
6808 * converter.[Ch] (runLaTeX):
6809 * exporter.C (Export):
6810 * paragraph.[Ch] (simpleTeXOnePar):
6811 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6812 * paragraph_funcs.[Ch] (latexParagraphs):
6813 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6814 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6815 pass around a LatexRunParams parameter.
6817 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6819 * paragraph.[Ch]: remove unused constructor
6821 * ParagraphList.C (erase): new function, taking two iterators
6823 2003-05-22 André Pönitz <poenitz@gmx.net>
6825 * undo_funcs.C: remove duplicated code
6827 * iterator.[Ch]: operator=
6829 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6831 * tabular.C (SetMultiColumn): ws changes
6833 * rowpainter.C (paintFirst): get rid of a ->previous
6835 * lyx_cb.C (getPossibleLabel): parlist simplification
6837 * BufferView.C (ChangeInsets): simplify slightly.
6839 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6841 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6842 * lfuns.h: new LFUN_SPACE
6843 * lyxfunc.C: protected space has a new lfun
6844 * paragraph_funcs.C: read new space insets
6846 * factory.C: handle new space insets
6848 2003-05-22 André Pönitz <poenitz@gmx.net>
6851 * BufferView_pimpl.C:
6854 * undo_funcs.C: return a ParIterator from getParFromID.
6856 * iterators.[Ch]: add two const's
6858 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6860 * toc.C (getTocList): adjust
6862 * iterators.[Ch]: rework for parlist
6864 * buffer.C (par_iterator_begin): adjust
6865 (par_iterator_end): adjust
6867 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6869 * BufferView.C (removeAutoInsets): adjust
6870 (ChangeInsets): adjust
6872 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6874 * text.C (top_y): fix bug 1110
6876 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6878 * errorlist.[Ch]: added
6881 * BufferView_pimpl.C:
6882 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6885 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6887 * Makefile.am: ensure that lyx is relinked upon changes to the
6888 various "convenience" libs.
6890 2003-05-20 Angus Leeming <leeming@lyx.org>
6892 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6893 files are compiled in alphabetical order again.
6895 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6897 2003-05-19 Angus Leeming <leeming@lyx.org>
6899 * gettext.[Ch]: remove "char const * _(char const *)".
6901 2003-05-19 André Pönitz <poenitz@gmx.net>
6903 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6912 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6914 2003-05-19 André Pönitz <poenitz@gmx.net>
6918 * lyxtextclass.[Ch]:
6920 * paragraph_funcs.[Ch]:
6922 * text3.C: more insetenv work
6924 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6926 * ParagraphParameters.C (params2string): small bug fixed
6928 2003-05-16 André Pönitz <poenitz@gmx.net>
6931 * bufferview_funcs.C: patch from Kornel Benko to prevent
6932 crash when _(...) is called twice in a statement
6934 2003-05-16 André Pönitz <poenitz@gmx.net>
6941 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6943 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6945 * lyx_main.C (init): remove spurious static_cast
6947 2003-05-14 André Pönitz <poenitz@gmx.net>
6949 * BufferView.C: fix format string
6951 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6953 * BufferView.[Ch] (insertErrors): removed
6954 * BufferView.[Ch] (showErrorList): added
6955 * buffer.C (runChkTeX):
6956 * converter.C (scanLog): call showErrorList instead of inserterrors
6958 2003-05-13 André Pönitz <poenitz@gmx.net>
6960 * BufferView_pimpl.C:
6962 * bufferview_func.C:
6969 * tabular_funcs.h: tostr() from its own header
6971 * ParagraphParameters.C:
6976 * text3.C: STRCONV()
6978 2003-05-12 André Pönitz <poenitz@gmx.net>
6981 * BufferView_pimpl.C:
6985 * ParagraphParameters.C:
6989 * bufferview_funcs.C:
7002 * paragraph_funcs.C:
7006 * text3.C: boost::format -> bformat all over the place
7009 2003-05-09 André Pönitz <poenitz@gmx.net>
7011 * LColor.[Ch]: Pimpl the #include <map> away
7013 2003-05-09 John Levon <levon@movementarian.org>
7015 * bufferlist.C: never remove emergency saves
7017 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * Makefile.am: better lib building
7021 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7023 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7025 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7026 (simpleTeXSpecialChars): adjust
7027 (simpleTeXSpecialChars): adjust
7028 * paragraph.C (simpleTeXOnePar): adjust
7029 * buffer.C (makeLaTeXFile): adjust
7031 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7033 * text2.C (changeDepth): parlist cleanup
7034 (getColumnNearX): ditto
7036 * rowpainter.C (getLabelFont): parlist cleanup
7038 * bufferlist.C (newFile): parlist cleanup
7040 * CutAndPaste.C (eraseSelection): parlist cleanup
7042 * BufferView_pimpl.C (trackChanges): parlist cleanup
7045 * BufferView.C (lockInset): parlist cleanup.
7046 (ChangeInsets): ditto
7048 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * CutAndPaste.h: Update file header.
7052 * CutAndPaste.C: Update file header.
7053 Store the parts cut out of the Document in a limited_stack.
7054 (copySelection): adjust
7055 (pasteSelection): new function, takes the index in the limited stack.
7056 (nrOfParagraphs): adjust
7057 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7058 simplify error inset insertion.
7059 (checkPastePossible): adjust
7061 2003-05-06 John Levon <levon@movementarian.org>
7063 * text2.C: don't cast wrap inset to float
7065 2003-05-05 André Pönitz <poenitz@gmx.net>
7068 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7070 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7071 few naked Paragraph *.
7073 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7075 * bufferparams.C: Output warning if a document with missing
7076 TeX document class is loaded
7077 * exporter.C: Disable TeX exports if the document class is missing
7080 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7081 isTeXClassAvailable()
7083 2003-05-03 John Levon <levon@movementarian.org>
7086 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7087 explicit cursor show/hide
7089 * BufferView_pimpl.h:
7090 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7091 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7093 * lyxfunc.C: hide cursor before dispatching.
7098 * text3.C: remove explicit cursor hides
7100 2003-05-02 André Pönitz <poenitz@gmx.net>
7102 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7105 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7108 * text2.C: tiny whitespace
7110 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * undo_funcs.C: almost only ws changes.
7114 * ParagraphList.C (splice): just return if pl is empty.
7116 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * ParagraphList.C (splice): new function.
7120 * CutAndPaste.C (pasteSelection): use it
7122 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7124 * CutAndPaste.C (pasteSelection): remove the last next and
7125 previous from this file.
7127 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7129 * CutAndPaste.C (pasteSelection): more clean up, user proper
7130 ParagraphList functions for pasteing.
7132 * ParagraphList.C (insert): new function, three arg insert
7134 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * ParagraphList.C (insert): new function, three arg insert
7138 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7141 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7143 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7145 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7149 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7151 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7152 (copySelection): clean up a bit.
7153 (pasteSelection): use make_pair
7155 * ParagraphList.C (ParagraphList): implement copy constructor
7156 (operator=): implement, base on copy constructor.
7159 * paragraph.C (erase): return a bool
7161 * paragraph_pimpl.C (erasePos): remove function, move contents...
7162 (erase): ... here. Return a bool.
7163 (erase): call erase instead of erasePos.
7165 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7167 * ParagraphList.h: define PitPosPair
7168 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7169 ParagraphList, fix a bug on pasting multiple pars
7170 * text2.C: change interface to C&P
7172 2003-04-30 André Pönitz <poenitz@gmx.net>
7174 * undo_func.C: revert part of yesterday's patch 2
7176 2003-04-30 John Levon <levon@movementarian.org>
7178 * LColor.C: s/tabular/table/
7180 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7182 * text3.C (dispatch): do not convert iterator -> pointer
7183 * undo_funcs.C (setCursorParUndo): ditto
7184 * text_funcs.C (transposeChars): ditto
7186 * text2.C (setLayout): ws changes only
7188 * text.C (breakParagraph): do not convert iterator -> pointer
7190 (acceptChange): ditto
7191 (rejectChange): ditto
7196 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7199 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7201 * text3.C (gotoInset): YABG (yet another bad getChar)
7203 2003-04-29 André Pönitz <poenitz@gmx.net>
7205 * paragraph.h: make operator= private unimplemented as long as
7208 * ParagraphList.C: whitespace
7211 * paragraph_pimpl.[Ch]:
7212 * paragraph_funcs.C:
7214 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7217 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7219 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7221 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7222 * paragraph.[Ch] (erase):
7223 * paragraph_pimpl.[Ch] (erase): change return type and value
7224 * text2.C (cutSelection): some rework
7226 2003-04-28 John Levon <levon@movementarian.org>
7228 * bufferlist.C: changes for unsaved changes dialog
7230 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7232 * bufferlist.C (newFile): set language (messages_) for new
7235 * buffer.C (readFile): ws changes only.
7237 2003-04-28 André Pönitz <poenitz@gmx.net>
7242 * BufferView_pimpl.C:
7243 * BufferView.C: getParFromID related ParagraphList::iterator changes
7245 2003-04-28 André Pönitz <poenitz@gmx.net>
7247 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7250 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * messages.C: remove one more localedir class variable.
7254 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * messages.C (getLocaleDir): singleton generation function
7258 (Messages): add a default constructor.
7260 * main.C (main): do not setup localedir here, do not call
7263 * gettext.C (_): use it.
7264 (gettext_init): delete funciton
7266 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7268 * gettext.C (getLyXMessages): new singleton generating function.
7270 * buffer.C (updateDocLang): adjust
7272 * Makefile.am (messages.o): add target
7273 (main.o): remove target
7275 2003-04-27 John Levon <levon@movementarian.org>
7280 * lyxvc.C: specify cancel button in Alert::prompt
7282 2003-04-26 John Levon <levon@movementarian.org>
7287 * LyXAction.C: add LFUN_INSET_SETTINGS
7289 * lyxfunc.C: don't enable tabular-feature when there's
7290 just any locking inset
7292 2003-04-26 John Levon <levon@movementarian.org>
7294 * bufferlist.C: re-add Cancel to buffer close question
7296 * lyxfunc.C: fix import UI a bit
7298 2003-04-25 John Levon <levon@movementarian.org>
7300 * gettext.C: remove the broken asserts for now
7302 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * messages.C: make case where setlocale cannot comply work better.
7306 * buffer.C (updateDocLang): new function
7307 (changeLanguage): use it
7310 * text2.C (setCounter): use B_ a bit.
7312 * lyxlayout.C (Read): be sure to trim the label strings.
7314 * messages.C (Messages): fix typo in comment
7316 * buffer.C (readFile): set message_ after file is loaded.
7317 (makeDocBookFile): remove double return
7318 (changeLanguage): reset message_ upon language change.
7319 (B_): new func, use this to get translated buffer strings.
7321 * main.C: add myself and Jean Marc as authors.
7323 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7325 * messages.[hC]: pimplify Messages, and three different pimpls to be
7326 used in different circumstances.
7328 * gettext.[Ch]: change for use with new message code.
7330 2003-04-24 André Pönitz <poenitz@gmx.net>
7332 * factory.C: support for eqref
7334 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7336 * messages.[Ch]: add missing char
7338 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7340 * messages.[Ch]: New files
7342 2003-04-18 John Levon <levon@movementarian.org>
7346 * BufferView_pimpl.C:
7350 * text2.C: remove layout-copy/paste (bug 778)
7352 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7354 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7356 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7358 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7359 if they succeed. Act accordingly.
7361 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7363 * text2.C (setCharFont): adjust
7364 (setCounter): adjust
7365 (insertStringAsLines): adjust
7367 * text.C (leftMargin): adjust
7368 (setHeightOfRow): adjust
7370 * rowpainter.C (paintFirst): adjust
7373 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7375 (isFirstInSequence): ditto
7376 (getEndLabel): ditto
7379 * paragraph.C (getParLanguage): comment out some hard stuff.
7381 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7383 (simpleDocBookOnePar): ditto
7384 (makeDocBookFile): use ParagraphList::iterator
7386 * CutAndPaste.C (pasteSelection): adjust
7388 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7390 * text2.C (getFont): adjust
7391 (getLayoutFont): adjust
7392 (getLabelFont): adjust
7394 * paragraph_funcs.C (TeXOnePar): adjust
7396 * buffer.C (simpleLinuxDocOnePar): adjust
7397 (simpleDocBookOnePar): adjust
7399 * CutAndPaste.C (pasteSelection): adjust
7401 * BufferView.C (getEncoding): adjust
7403 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7405 2003-04-16 John Levon <levon@movementarian.org>
7407 * lyxfind.C: use parlist stuff for search/changes
7409 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7411 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7413 * text2.C (deleteEmptyParagraphMechanism): adjust
7415 * text2.[Ch] (ownerParagraph): delete func (both of them
7417 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7419 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7421 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7423 * ParagraphList.C: prepare for NO_NEXT
7425 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7427 * text2.C (getFont): adjust
7428 (getLayoutFont): adjust
7429 (getLabelFont): adjust
7431 * paragraph.C (getFont): adjust
7432 (getLabelFont): adjust
7433 (getLayoutFont): adjust
7435 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7437 2003-04-15 John Levon <levon@movementarian.org>
7441 * lyx_main.C: handle Include in .ui files
7443 2003-04-15 John Levon <levon@movementarian.org>
7445 * MenuBackend.C: make the doc files length shorter
7448 * ToolbarBackend.C: handle toolbar placement flags,
7451 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7453 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7456 * paragraph_funcs.C (TeXOnePar): adjust
7458 * paragraph.C (getLabelFont): add outerfont arg, adjust
7459 (getLayoutFont): ditto
7460 (simpleTeXOnePar): adjust
7462 * paragraph_pimpl.C (realizeFont): delete func
7464 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7466 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7467 row argument, constify cur argument.
7469 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * text2.C (getFont): adjust
7472 (getLayoutFont): adjust
7473 (getLabelFont): adjust
7475 * paragraph_funcs.C (TeXOnePar): adjust
7476 (outerFont): new func...
7477 (realizeFont): ...moved out from here, changed this to facilitate
7480 * paragraph.C (getFont): take outerfont as arg, adjust
7481 (simpleTeXOnePar): add outerfont arg, adjust
7483 * buffer.C (simpleLinuxDocOnePar): adjust
7484 (simpleDocBookOnePar): adjust
7486 * CutAndPaste.C (pasteSelection): adjust
7488 * BufferView.C (getEncoding): adjust
7490 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7492 * text2.C (setCharFont): adjust
7493 (setCounter): adjust
7495 * text.C (leftMargin): adjust
7496 (setHeightOfRow): adjust
7498 * rowpainter.C (paintFirst): adjust
7501 * paragraph_pimpl.C (realizeFont): adjust
7503 * paragraph.C (isFirstInSequence): move from here...
7504 * paragraph_funcs.C (isFirstInSequence): ...to here
7506 * paragraph.C (outerHook): move from here...
7507 * paragraph_funcs.C (outerHook): ...to here
7509 * paragraph.C (depthHook): move from here...
7510 * paragraph_funcs.C (depthHook): ...to here
7512 * paragraph.C (getEndLabel): move from here...
7513 * paragraph_funcs.C (getEndLabel): ...to here
7515 * text2.C (realizeFont): move from here...
7516 * paragraph_funcs.C (realizeFont): ...to here
7518 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7520 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7522 2003-04-14 Angus Leeming <leeming@lyx.org>
7524 * LColor.[Ch]: scrap LColor mathcursor.
7526 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * lyxlex.[Ch] (text): delete function
7529 * trans.C (Load): adjust
7530 * paragraph_funcs.C (readParToken): adjust
7532 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7534 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7535 vector<char> instead of a char[].
7537 * lyxlex_pimpl.C (getString): adjust
7539 (lex): use getString
7543 * lyxlex.C (text): use pimpl_->getString()
7547 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7549 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7550 (makeFontEntriesLayoutSpecific): temp var for par.size()
7551 (setLayout): temp var for ownerParagraphs().end()
7552 (fullRebreak): temp var for rows().end()
7553 (selectionAsString): temp var for boost::next(startpit), realize
7554 that the while really is a regular for loop.
7555 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7556 setCursor in one place.
7557 (setParagraph): temp vr for ownerParagraphs().end()
7558 (updateCounters): make the while loop a for loop
7559 (cutSelection): temp var for ownerParagraphs().end()
7560 (updateInset): make the do {} while() a regular for loop
7561 (getCursorX): use temp vars
7562 (setCurrentFont): use temp vars
7563 (getColumnNearX): use temp vars
7565 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7567 * text.C (transformChar): use temp var for getChar
7568 (computeBidiTables): use temp var for row->par()
7569 (fill): move temp vars for row->par() and pit->layout() earlier in
7571 (labelFill): use temp var for row->par()
7572 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7573 asc and desc, realize that pit never changes and that firstpit is
7574 just a duplicate and not needed. Exchange rit->par() with pit in a
7576 (breakAgain): use a temp var for boost::next(rit)
7577 (breakAgainOneRow): ditto
7578 (breakParagraph): use a temp var for rows().begin()
7579 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7580 (cursorRightOneWord): use temp var for cursor.par() and
7581 cursor.pos(), remove usage of tmpcursor.
7582 (cursorLeftOneWord): use temp var for cursor.par() and
7583 cursor.pos() only set cur at end of function.
7585 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * text.C, text2.C: exchange all usage of Paragraph::next with
7588 boost::next(ParagraphList::iterator)
7590 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7592 * text2.C (cursorTop): simplify implementation
7593 (cursorBottom): ditto
7594 (setParagraph): use ParagraphList::iterator
7595 (setCurrentFont): adjust
7596 (getColumnNearX): adjust
7597 (cursorRight): adjust
7598 (cursorLeft): remove usage of Paragraph::previous
7599 (cursorUpParagraph): ditto
7600 (deleteEmptyParagraphMechanism): slight cleanup
7602 * text.C (isBoundary): take a Paragraph const & instead of a
7604 (addressBreakPoint): ditto
7605 (leftMargin): remove usage of Paragraph::previous.
7606 (setHeightOfRow): ditto
7607 (cursorLeftOneWord): ditto
7608 (selectNextWordToSpellcheck): ditto
7611 (breakParagraph): remove one usage of Paragraph::next
7612 (redoParagraph): ditto
7613 (acceptChange): ditto
7614 (insertChar): adjust
7615 (rowBreakPoint): adjust
7617 * bufferview_funcs.C (toggleAndShow): adjust
7619 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7621 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7622 methods to access it.
7624 * text.C: Added updateRowPositions to compute all row positions.
7625 Make top_y and getRowNearY() to use the cached y position
7627 2003-04-11 John Levon <levon@movementarian.org>
7629 * text.C (rowBreakPoint): reintroduce the labelEnd
7630 checks, code copied from the row fill stuff. Deep voodoo.
7632 * text.C (fill): add a comment and debugging for the
7635 2003-04-11 John Levon <levon@movementarian.org>
7637 * text.C: make sure fullrow insets get wrapped to the next line,
7638 even when they're in a manual label
7640 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * text2.C (insertParagraph): make it take ParagraphList::iterator
7644 (setLayout): make it return ParagraphList::iterator
7645 (redoParagraphs): ditto
7647 (checkParagraph): ditto
7649 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7651 * text2.C: adjust several funcs.
7652 (realizeFont): take a ParagraphList::iterator as arg.
7653 (getLayoutFont): ditto
7654 (getLabelFont): ditto
7655 (setCharFont): ditto
7657 * text.C: adjust several funcs.
7659 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7661 * text.C (selectNextWordToSpellcheck): don't accidentally
7664 2003-04-10 John Levon <levon@movementarian.org>
7666 * ToolbarBackend.C (getIcon): special handling for
7669 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7671 * text2.C (cursorRight): a getChar assert fixed
7673 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7675 * text2.C (getFont): change to take a ParagraphList::iterator
7676 instead of Paragraph*
7677 Adjust several functions.
7679 * text.C (transformChar): change to take a ParagraphList::iterator
7680 instead of Paragraph*
7681 (singleWidth): ditto
7682 Adjust several functions.
7684 * rowpainter.C: adjust several functions
7685 * rowpainter.h:store a ParagraphList::iterator and not a
7689 2003-04-09 John Levon <levon@movementarian.org>
7694 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7695 and the "help" bits as well
7697 2003-04-09 John Levon <levon@movementarian.org>
7700 * ToolbarBackend.C: allow multiple toolbars
7702 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7704 * undo_funcs.C (setCursorParUndo): adjust
7706 * text_funcs.C (transposeChars): adjust
7708 * text3.C (gotoNextInset): adjust
7711 * text2.C (setLayout): adjust
7712 (changeDepth): adjust
7714 (redoParagraphs): adjust
7715 (selectionAsString): adjust
7716 (setParagraph): adjust
7717 (insertInset): adjust
7718 (cutSelection): adjust
7719 (copySelection): adjust
7720 (pasteSelection): adjust
7721 (insertStringAsLines): adjust
7722 (updateInset): adjust
7723 (setCursor): change to take a ParagraphList::iterator parameter
7724 (setCursorIntern): change to take a ParagraphList::iterator parameter
7725 (setCurrentFont): adjust
7726 (cursorLeft): adjust
7727 (cursorRight): adjust
7728 (deleteEmptyParagraphMechanism): adjust
7730 * text.C (breakParagraph): adjust
7731 (insertChar): adjust
7732 (acceptChange): adjust
7733 (rejectChange): adjust
7734 (selectNextWordToSpellcheck): adjust
7735 (changeCase): adjust
7739 * lyxfind.C (SearchForward): adjust
7740 (SearchBackward): adjust
7741 (nextChange): adjust
7743 * lyxcursor.C (par): adjust
7745 * lyxcursor.h: store a ParagraphList::iterator instead of a
7748 * lyx_cb.C (getPossibleLabel): adjust
7750 * bufferview_funcs.C (toggleAndShow): adjust
7752 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7755 * BufferView.C (removeAutoInsets): adjust
7756 (lockedInsetStoreUndo): adjust
7758 2003-04-09 John Levon <levon@movementarian.org>
7760 * ToolbarBackend.C: try icon without argument
7761 if with argument fails
7763 2003-04-08 John Levon <levon@movementarian.org>
7766 * ToolbarBackend.C: add getIcon(), handle tooltip,
7767 and change from "Icon" to "Item".
7769 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7771 * BufferView.C (lockInset): another bad getchar crunched
7773 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7775 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7778 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7780 * lyxfind.C (searchForward, searchBackwards): bug 782
7782 2003-04-07 John Levon <levon@movementarian.org>
7784 * paragraph.C: remove dead comment
7786 * text.C: remove troublesome depth-fiddling code
7787 in leftMargin() and rightMargin() (bug 1017)
7789 * text.C: fix breaking of rows in nested lists
7792 * text2.C (updateCounters): fix up depth values
7795 2003-04-07 John Levon <levon@movementarian.org>
7797 * BufferView_pimpl.C: clear message when doc finishes resizing,
7798 and after a mouse event
7800 * lyxfunc.C: clear message after exiting inset
7802 2003-04-07 John Levon <levon@movementarian.org>
7804 * bufferview_funcs.C: show math status not outside
7805 status in the statusbar
7807 2003-04-07 John Levon <levon@movementarian.org>
7809 * lyxfunc.C: note status changed after a depth change
7811 2003-04-04 Angus Leeming <leeming@lyx.org>
7813 * LaTeX.h: move AuxInfo operator==, != out of line.
7814 Remove LaTeX virtual destructor; nothing derives from it.
7815 Move operator()() out of public area and rename it startscript().
7816 Change protected for private.
7818 2003-04-04 Angus Leeming <leeming@lyx.org>
7821 * text2.C: remove unneeded #includes.
7823 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7825 * text2.C (dEPM): fix the heigth of the next row
7827 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7829 * text.C: squashed an invalid getChar requester + some ws changes
7831 2003-04-03 John Levon <levon@movementarian.org>
7833 * bufferview_funcs.h:
7834 * bufferview_funcs.C:
7837 * text2.C: make getStatus work for the env depth lfuns
7839 2003-04-03 John Levon <levon@movementarian.org>
7841 * bufferview_funcs.h:
7842 * bufferview_funcs.C:
7845 * text2.C: parlistize decDepth(), by merging it with incDepth()
7847 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7849 * lyxrow.h: store a ParagraphList::iterator instead of a
7850 Paragraph* and adjust other class functions to suit.
7852 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7855 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7857 * text2.C (setCursor): do not anchor to cursor row for the time being
7859 2003-04-02 John Levon <levon@movementarian.org>
7866 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7868 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7870 * paragraph.h: make ParagraphList and ParagraphList::iterator
7871 friends of Paragraph.
7873 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7875 * ParagraphList.C: Use the private next_ and previous_ from
7878 2003-04-01 John Levon <levon@movementarian.org>
7882 * Makefile.am: rename, remove defaults gunk
7885 * MenuBackend.C: remove defaults gunk
7888 * Languages.C: remove defaults gunk
7891 * lyx_main.C: error out if files couldn't be found.
7893 2003-04-02 John Levon <levon@movementarian.org>
7895 * text2.C: make incDepth() use parlist
7897 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * undo_funcs.C (firstUndoParagraph): adjust
7901 * text3.C (gotoInset): adjust
7902 (dispatch): adjust, and rewrite loop.
7904 * text2.C (init): adjust, and rewrite loop.
7905 (redoParagraphs): adjust
7906 (updateInset): adjust, and rewrite loop.
7907 (deleteEmptyParagraphMechanism): adjust
7909 * tabular.C (LyXTabular): adjust
7910 (SetMultiColumn): adjust
7913 * lyxtext.[Ch] (ownerParagraph): delete function
7914 (ownerParagraphs): new function returns a ParagraphList.
7916 * BufferView.C (removeAutoInsets): adjust
7917 (insertErrors): adjust
7918 (setCursorFromRow): adjust
7920 2003-04-01 Angus Leeming <leeming@lyx.org>
7922 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7925 2003-04-02 John Levon <levon@movementarian.org>
7931 * text_funcs.C: make transposeChars a free function
7933 * lyxrow_funcs.C: remove wrong comment
7935 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7938 * rowpainter.C: adjust
7943 * lyxrow_funcs. [Ch]: new files
7945 * lyxrow.[Ch]: remove next and previous pointers
7946 (next,previous): remove accessor functions
7947 (isParEnd): move to lyxrow_funcs
7948 (lastPos): move to lyxrow_funcs
7949 (nextRowIsAllInset): move to lyxrow_funcs
7950 (lastPrintablePos): move to lyxrow_funcs
7951 (numberOfSeparators): move to lyxrow_funcs
7952 (numberOfHfills): move to lyxrow_funcs
7953 (numberOfLabelHfills): move to lyxrow_funcs
7954 (hfillExpansion): move to lyxrow_funcs
7958 * bufferview_funcs.C (toggleAndShow): adjust
7960 * RowList.h: Remove class RowList from file leave just a
7963 * RowList.C: delete file
7965 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7968 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * text3.C (cursorPrevious): adjust
7971 (cursorNext): adjust
7974 * text2.C (redoHeightOfParagraph): adjust
7975 (redoDrawingOfParagraph): adjust
7978 * text.C (breakParagraph): adjust
7979 (insertChar): adjust
7982 * rowpainter.C (RowPainter): adjust
7983 (leftMargin): simplify and adjust
7984 (most rowpainter functions): adjust.
7986 * rowpainter.h: store the row as RowList::iterator not as Row*
7988 * lyxcursor.C (row): taka RowList::iterator as arg
7991 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7994 2003-04-01 Angus Leeming <leeming@lyx.org>
7996 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7997 stuff like bool Bool.
7999 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8001 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8004 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8006 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8009 * lyxtext.h (rows): drop one version and leve a const variant that
8010 returns a RowList::iterator.
8012 2003-03-31 Angus Leeming <leeming@lyx.org>
8014 * text.C (fill): ensure that the signature is the same as that in the
8017 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8019 * text2.C (redoParagraphs): adjust
8020 (updateCounters): adjust
8021 (checkParagraph): adjust
8022 (getColumnNearX): adjust and reformat a bit.
8024 * text.C (top_y): adjust
8026 (leftMargin): adjust
8027 (prepareToPrint): adjust
8029 (getRowNearY): adjust
8031 * lyxtext.h: make rowlist_ mutable.
8033 * RowList.h: add const_iterator
8034 * RowList.C: adjust for RowList::const_iterator.
8036 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8039 2003-03-31 John Levon <levon@movementarian.org>
8042 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8044 * lyx_main.C: set default fonts from using lyx_gui funcs
8046 * exporter.C: pdf_mode moved from lyxrc
8049 * lyxfunc.C: changes from above
8051 2003-03-31 John Levon <levon@movementarian.org>
8053 * lyx_main.C: fix to the last fix
8055 2003-03-31 John Levon <levon@movementarian.org>
8057 * bufferlist.C: "Load original" -> "Load Original"
8063 * format.C: more Alert cleanups
8065 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * text2.C (removeParagraph): make it take a RowList::iterator as
8069 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8070 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8072 * text.C (anchor_row): make it take a RowList::iterator as arg,
8074 (computeBidiTables): make it take a const reference to Row instead
8075 of Row pointer, adjust.
8076 (leftMargin): make it take a RowList::iterator as arg, adjust.
8077 (rowBreakPoint): adjust
8078 (breakAgainOneRow): make it take a RowList::iterator as arg,
8080 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8082 * bufferview_funcs.C (toggleAndShow): adjust
8084 2003-03-30 John Levon <levon@movementarian.org>
8088 * boost-inst.C: moved to support
8090 * several files: changes as a result
8092 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8094 * text2.C (LyXText): adjust.
8096 (removeRow): make it take a RowList::iterator as arg, adjust.
8097 (fullRebreak): adjust
8098 (deleteEmptyParagraphMechanism): adjust
8099 (clearPaint): adjust
8102 * text.C (top_y): adjust
8103 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8104 (breakAgain): make it take a RowList::iterator as arg, adjust.
8105 (breakParagraph): adjust
8106 (insertChar): adjust
8109 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8110 need_break_row, and refresh_row.
8112 * text3.C (dispatch): adjust
8114 * text2.C (checkParagraph): adjust
8116 (setCursorFromCoordinates): adjust
8118 * text.C (top_y): adjust
8120 (getRow): make it return a RowList::iterator, adjust
8121 (getRowNearY): make it return a RowList::iterator, adjust
8123 * text2.C (init): adjust
8124 (insertRow): remove function
8125 (insertParagraph): adjust
8126 (redoParagraphs): adjust
8127 (fullRebreak): adjust
8128 (updateCounters): adjust
8130 * text.C (top_y): rewrite to use RowList iterators.
8132 (setHeightOfRow): rewrite to sue RowList iterators.
8133 (appendParagraph): adjust
8134 (breakAgain): adjust
8135 (breakAgainOneRow): adjust
8136 (breakParagraph): adjust
8138 (getRowNearY): adjust, and remove commented code.
8140 * lyxtext.h (firstRow): delete function
8141 (lastRow): delete function
8142 (rows): new function (const and non-const versions.)
8143 (insertRow): delete function
8145 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8147 2003-03-29 John Levon <levon@movementarian.org>
8149 * BufferView_pimpl.C: always update scrollbar top
8150 because pasting text when we're anchored could mean we
8151 miss an update altogether
8153 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8155 * text2.C (init): use rowlist_.end() and not 0.
8156 (insertRow): change to take a RowList::iterator as arg, adjust
8158 (insertParagraph): change to take a RowList::iterator as arg,
8160 (redoParagraphs): remove some debug msgs.
8162 * text.C (appendParagraph): change to take a RowList::iterator
8163 arg, adjust for this.
8164 (breakAgain): add an assert
8165 (breakAgainOneRow): ditto
8167 2003-03-29 John Levon <levon@movementarian.org>
8169 * text2.C: do not clear selection after inc/decDepth
8172 2003-03-29 John Levon <levon@movementarian.org>
8175 * buffer.C: fix broken strerrors according to Lars
8177 2003-03-29 John Levon <levon@movementarian.org>
8179 * converters.C: more Alert cleanups
8181 2003-03-29 John Levon <levon@movementarian.org>
8183 * bufferview_funcs.C: remove pointless Alert
8185 * buffer.C: fix confusing error message when
8186 a template is chmoded 000
8188 2003-03-29 John Levon <levon@movementarian.org>
8192 * BufferView_pimpl.C: Alert fixes
8196 * tabular-old.C: remove unused table compat reading
8198 2003-03-29 John Levon <levon@movementarian.org>
8203 * lyx_cb.C: more Alert cleanups
8205 * lyxfunc.C: don't allow chktex if not latex document
8207 2003-03-29 John Levon <levon@movementarian.org>
8211 * buffer.C: warnings pushed down from support/,
8214 2003-03-29 John Levon <levon@movementarian.org>
8216 * lyxfunc.C: safety check for C-r (revert)
8218 2003-03-29 John Levon <levon@movementarian.org>
8221 * bufferlist.C: several UI fixes using Alert::prompt.
8222 Fix the pointless looping quit code. Fix stupid revert
8227 * lyx_cb.C: use Alert::prompt
8229 * lyx_main.C: remove a silly question
8231 * lyxfunc.C: remove a couple of silly questions,
8234 2003-03-28 John Levon <levon@movementarian.org>
8236 * text2.C: fix bug 974 (End on empty par)
8238 2003-03-28 John Levon <levon@movementarian.org>
8240 * BufferView_pimpl.C:
8242 * lfuns.h: remove do-nothing math greek lfuns
8244 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * lyxgluelength.h (isValidGlueLength): add default arg on
8247 parameter 2. Remove default arg from friend in class.
8249 * lyxlength.h (isValidLength): add default arg on parameter 2.
8250 Remove default arg from friend in class.
8252 * text2.C (LyXText): adjust, initialize refresh_row.
8256 (insertParagraph): adjst
8257 (redoParagraphs): adjust
8258 (fullRebreak): adjust
8259 (updateCounters): adjust
8260 (deleteEmptyParagraphMechanism): first attempt at fixing a
8263 * text.C (top_y): adjust
8264 (setHeightOfRow): adjust
8266 (getRowNearY): adjust
8268 * lyxtext.h: include RowList.h
8269 (~LyXText): not needed anymore, deleted.
8270 (firstRow): modify for RowList
8271 (lastRow): new function
8272 Delete firstrow and lastrow class variables, add a Rowlist
8273 rowlist_ class variable.
8275 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8278 * RowList.C (insert): fix case where it == begin().
8280 2003-03-26 Angus Leeming <leeming@lyx.org>
8282 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8283 the thesaurus dialog.
8285 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8287 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8289 * RowList.[Ch]: new files
8291 * ParagraphList.C (erase): handle the case where it == begin
8294 2003-03-25 John Levon <levon@movementarian.org>
8298 * aspell.C: add new aspell support
8301 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8304 2003-03-25 Angus Leeming <leeming@lyx.org>
8307 * LyXAction.C (init): new LFUN_INSET_INSERT.
8309 * BufferView_pimpl.C (dispatch): split out part of the
8310 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8312 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8315 2003-03-25 Angus Leeming <leeming@lyx.org>
8317 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8319 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8322 * text3.C: remove useless row->height(0)
8324 2003-03-25 John Levon <levon@movementarian.org>
8328 * text3.C: rename the refreshing stuff to better names
8330 2003-03-24 John Levon <levon@movementarian.org>
8332 * BufferView_pimpl.h:
8333 * BufferView_pimpl.C: update layout choice on a mouse
8336 2003-03-23 John Levon <levon@movementarian.org>
8338 * Makefile.am: fix commandtags.h reference
8340 2003-03-22 John Levon <levon@movementarian.org>
8342 * BufferView_pimpl.C:
8347 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8349 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8352 * text.C: take the rtl methods out of line
8354 2003-03-21 André Pönitz <poenitz@gmx.net>
8356 * metricsinfo.[Ch]: new files containing structures to be passed around
8357 during the two-phase-drawing...
8359 2003-03-21 André Pönitz <poenitz@gmx.net>
8361 * lyxtextclass.C: read 'environment' tag.
8363 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8365 * text2.C (removeRow): fix bug 964
8367 2003-03-20 John Levon <levon@movementarian.org>
8371 * text2.C: paint cleanups. Inset::update() dropped font
8374 2003-03-19 John Levon <levon@movementarian.org>
8376 * lyxfunc.C: only fitcursor/markDirty if available()
8378 2003-03-19 John Levon <levon@movementarian.org>
8380 * commandtags.h: rename to ...
8382 * lfuns.h: ... this, and renumber / cleanup
8384 2003-03-19 John Levon <levon@movementarian.org>
8386 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8387 fit the cursor after an lfun
8391 * BufferView_pimpl.h:
8392 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8394 * LyXAction.C: layout-character should have ReadOnly
8396 * ParagraphParameters.C:
8398 * bufferview_funcs.C:
8405 * undo_funcs.C: changes from above
8407 2003-03-18 John Levon <levon@movementarian.org>
8409 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8410 remove it from update()
8412 * lyxfunc.C: update layout choice after an lfun
8414 * text3.C: remove extra updateLayoutChoice()s
8416 2003-03-18 John Levon <levon@movementarian.org>
8418 * text.C: top_y change means full repaint, fix
8419 a drawing bug with cursor movement
8421 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8425 * text2.C: anchor row on setCursor
8427 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8429 * lyxtext.h: remove almost all mutable keywords
8432 * text3.C: remove const keywords accordingly
8434 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8436 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8438 (TeXEnvironment): ditto
8441 2003-03-17 John Levon <levon@movementarian.org>
8443 * text.C (rowBreakPoint): remove attempt to fix displayed
8444 math insets inside a manual label
8446 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8448 * lyxtext.h: remove BufferView* as first arg from almost all class
8450 * other files: adjust.
8452 2003-03-17 John Levon <levon@movementarian.org>
8456 * text2.C: more paint cleanups
8458 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8461 * rowpainter.C: remove "smart" background painting code
8463 2003-03-16 John Levon <levon@movementarian.org>
8468 * text3.C: add helper functions for setting refresh_row/y
8470 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8472 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8473 newline inset which *can* get inserted in the pass_thru layouts.
8474 This is primarily for literate documents.
8476 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8478 * buffer.C: increment LYX_FORMAT to 223
8480 2003-03-14 André Pönitz <poenitz@gmx.net>
8482 * textclass.h: prepare for environment handling, ws changes
8483 * lyxlayout.C: read latexheader and latexfooter tags
8485 2003-03-14 John Levon <levon@movementarian.org>
8487 * text2.C: rewrite ::status() a bit
8489 2003-03-13 John Levon <levon@movementarian.org>
8491 * lyxtext.h: add some docs
8493 2003-03-13 John Levon <levon@movementarian.org>
8498 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8500 2003-03-13 John Levon <levon@movementarian.org>
8502 * text3.C: fix appendix redrawing
8504 2003-03-13 John Levon <levon@movementarian.org>
8506 * text.C (setHeightOfRow):
8508 * rowpainter.C: make appendix mark have the text
8509 "Appendix" so the user knows what it is
8512 * LColor.C: s/appendixline/appendix/ from above
8514 2003-03-13 John Levon <levon@movementarian.org>
8516 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8518 * text.C: fix a getChar(pos) bug properly
8520 2003-03-13 Angus Leeming <leeming@lyx.org>
8523 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8524 Probably only temporary. Let's see how things pan out.
8526 * BufferView.C (unlockInset):
8527 * BufferView_pimpl.C (fitCursor):
8528 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8530 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8531 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8533 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8534 new functions that convert ParagraphParameters to and from a string.
8536 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8537 BufferView::Pimpl's dispatch.
8538 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8540 2003-03-13 André Pönitz <poenitz@gmx.net>
8544 * factory.C: make it aware of InsetEnv
8546 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8548 * text2.C (setCursor): never ask for one past last
8549 (setCursor): add some debugging messages.
8551 * text.C (singleWidth): never ask for one past last
8552 (singleWidth): ditto
8554 (rightMargin): ditto
8555 (rowBreakPoint): ditto
8556 (setHeightOfRow): ditto
8557 (prepareToPrint): ditto
8559 * rowpainter.C (paintBackground): never ask for one past last
8560 (paintText): never ask for one past last
8562 * paragraph_pimpl.C (getChar): make the assert stricter, never
8563 allow the one past last pos to be taken
8565 * paragraph.C (getChar): ws changes only
8567 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8568 (numberOfSeparators): ditto
8569 (numberOfHfills): ditto
8571 2003-03-12 John Levon <levon@movementarian.org>
8577 * paragraph_funcs.C: fix per-buffer authorlists
8579 2003-03-12 John Levon <levon@movementarian.org>
8581 * text.C: fix newline in right address
8583 2003-03-12 Angus Leeming <leeming@lyx.org>
8585 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8586 duplicate those in LyXFunc::dispatch.
8590 * ToolbarDefaults.C:
8591 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8592 Add LFUN_FONTFREE_UPDATE.
8594 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8595 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8597 * bufferview_func.[Ch]: several new functions to facilliate
8598 transfer of data to and from the character dialog.
8600 2003-03-12 John Levon <levon@movementarian.org>
8605 * paragraph_funcs.C:
8606 * paragraph_pimpl.C:
8610 * text3.C: remove META_NEWLINE in favour of an inset
8613 * rowpainter.C: remove paintNewline (done by inset)
8615 2003-03-12 John Levon <levon@movementarian.org>
8617 * paragraph_pimpl.C: complain about bad getChar()s
8618 for a while at least
8620 2003-03-12 John Levon <levon@movementarian.org>
8623 * buffer.C: move paragraph read into a separate function,
8624 a little renaming to reflect that.
8627 * bufferparams.C: remove the author_ids map, not necessary now
8630 * factory.C: moved Buffer::readInset to here
8632 * paragraph_funcs.h:
8633 * paragraph_funcs.C: readParagraph free function moved from
8636 * tabular.C: name change
8638 2003-03-12 John Levon <levon@movementarian.org>
8641 * ParagraphParameters.C: move par params input to
8644 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8645 behave like a normal read from the stream wrt reading
8646 a line vs. a \\token
8648 2003-03-12 John Levon <levon@movementarian.org>
8651 * ParagraphParameters.h:
8652 * ParagraphParameters.C: move output code to a
8655 2003-03-12 John Levon <levon@movementarian.org>
8657 * BufferView.C (insertLyXFile):
8660 * tabular.C: use a parlist iterator for creating the
8663 2003-03-12 John Levon <levon@movementarian.org>
8665 * buffer.C: make current_change static local not
8668 2003-03-12 John Levon <levon@movementarian.org>
8670 * buffer.C: fix insertStringAsLines for change tracking
8672 2003-03-12 John Levon <levon@movementarian.org>
8679 * bufferparams.C: move author list into params. Rename some
8680 functions. Move the header reading into a separate token
8681 loop. Move the header token reading into BufferParams.
8683 2003-03-12 John Levon <levon@movementarian.org>
8685 * changes.C: put debug inside lyxerr.debugging() checks
8687 2003-03-11 André Pönitz <poenitz@gmx.net>
8689 * factory.C: make it aware of InsetHFill
8691 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8693 * buffer.C (latexParagraphs): move function from here...
8694 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8697 2003-03-10 Angus Leeming <leeming@lyx.org>
8699 * LyXAction.C (init): fix bug in poplating array with multiple entries
8700 with the same LFUN (spotted by JMarc).
8702 2003-03-10 John Levon <levon@movementarian.org>
8705 * text2.C: move getColumnNearX() near its
8708 2003-03-10 John Levon <levon@movementarian.org>
8710 * text.C: fix break before a minipage
8712 2003-03-10 John Levon <levon@movementarian.org>
8714 * text.C: fix the last commit
8716 2003-03-09 John Levon <levon@movementarian.org>
8720 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8721 bug 365 (don't break before insets unless needed). Don't
8722 return a value > last under any circumstances.
8724 2003-03-09 Angus Leeming <leeming@lyx.org>
8726 * BufferView_pimpl.C (trackChanges, dispatch): call
8727 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8729 2003-03-09 Angus Leeming <leeming@lyx.org>
8731 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8732 than Dialogs::showAboutlyx().
8734 2003-03-09 Angus Leeming <leeming@lyx.org>
8736 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8737 than Dialogs::showTabularCreate().
8739 2003-03-09 John Levon <levon@movementarian.org>
8743 * text2.C: 3rd arg to nextBreakPoint was always the same.
8746 2003-03-08 John Levon <levon@movementarian.org>
8753 * text2.C: Remove the "main" bit from the "main body"
8756 2003-03-08 John Levon <levon@movementarian.org>
8758 * text.C (leftMargin): The left margin of an empty
8759 manual label paragraph should not include the label width
8762 * text.C (prepareToPrint): don't attempt to measure hfills
8763 for empty manual label paragraphs - the answer should be 0
8765 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8767 * CutAndPaste.C: remove commented code and reindent.
8769 2003-03-08 John Levon <levon@movementarian.org>
8772 * lyxfunc.C: move reloadBuffer()
8775 * BufferView.C: to here
8777 * lyxvc.C: add comment
8780 * vc-backend.C: call bv->reload() to avoid
8781 getStatus() check on MENURELOAD
8783 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8785 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8786 to an old format .dep file.
8788 2003-03-07 Angus Leeming <leeming@lyx.org>
8790 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8791 when the LFUN_MOUSE_RELEASE should have been handled by
8792 inset->localDispatch.
8794 2003-03-07 Angus Leeming <leeming@lyx.org>
8796 * BufferView_pimpl.C (dispatch):
8797 * LyXAction.C (init):
8798 * ToolbarDefaults.C (init):
8800 * lyxfunc.C (getStatus):
8801 remove LFUN_INSET_GRAPHICS.
8803 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8805 2003-03-07 Angus Leeming <leeming@lyx.org>
8808 * LyXAction.C (init):
8809 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8811 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8814 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8816 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8817 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8819 2003-03-07 Angus Leeming <leeming@lyx.org>
8821 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8824 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8826 * ParagraphList.C (front): new function
8829 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8831 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8832 and top_row_offset_. removed var first_y.
8834 * text2.C (LyXText, removeRow):
8836 * BufferView_pimpl.C:
8837 use these methods instead of using first_y
8839 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8841 * text2.C (pasteSelection): adjust for checkPastePossible
8843 * CutAndPaste.C: remove Paragraph * buf and replace with
8844 ParagraphList paragraphs.
8845 (DeleteBuffer): delete
8846 (cutSelection): change the tc type to textclass_type
8847 (copySelection): change the tc type to textclass_type
8848 (copySelection): adjust for ParagraphList
8849 (pasteSelection): change the tc type to textclass_type
8850 (pasteSelection): adjust for Paragraphlist
8851 (nrOfParagraphs): simplify for ParagraphList
8852 (checkPastePossible): simplify for ParagraphList
8853 (checkPastePossible): remove unused arg
8855 * ParagraphList.C (insert): handle the case where there are no
8858 * CutAndPaste.h: make CutAndPaste a namespace.
8860 * text3.C (dispatch): adjust
8862 * text.C (breakParagraph): add a ParagraphList as arg
8864 * paragraph_funcs.C (breakParagraph): change to take a
8865 BufferParams and a ParagraphList as args.
8866 (breakParagraphConservative): ditto
8867 (mergeParagraph): ditto
8868 (TeXDeeper): add a ParagraphList arg
8869 (TeXEnvironment): ditto
8872 * buffer.C (readLyXformat2): adjust
8873 (insertStringAsLines): adjust
8874 (latexParagraphs): adjust
8876 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8877 (cutSelection): adjust
8878 (pasteSelection): adjust
8880 * BufferView_pimpl.C (insertInset): adjust
8882 2003-03-05 Angus Leeming <leeming@lyx.org>
8885 * LyXAction.C (init):
8886 * BufferView_pimpl.C (dispatch):
8887 * lyxfunc.C (getStatus):
8888 remove LFUN_CHILD_INSERT.
8890 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8892 2003-03-05 Angus Leeming <leeming@lyx.org>
8895 * LyXAction.C (init):
8896 * src/factory.C (createInset):
8897 * lyxfunc.C (getStatus):
8898 * text3.C (dispatch):
8899 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8901 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8903 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8905 * ParagraphList.C (insert): handle insert right before end()
8906 (erase): fix cases where it can be first or last paragraph.
8908 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8910 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8911 Paragraph::next and Paragraph::previous
8914 * text.C (breakParagraph): adjust
8916 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8917 BufferParams& as arg.
8918 (breakParagraph): use ParagraphList::insert
8919 (breakParagraphConservative): take a Buffer* instead of a
8920 BufferParams& as arg.
8921 (breakParagraphConservative): use ParagraphList::insert.
8923 * buffer.C (insertStringAsLines): un-const it
8924 (insertStringAsLines): adjust
8926 * ParagraphList.C (insert): new function
8928 * CutAndPaste.C (pasteSelection): adjust
8930 * text.C (backspace): adjust
8932 * tabular.C (SetMultiColumn): adjust
8934 * CutAndPaste.C (cutSelection): adjust
8935 (pasteSelection): adjust
8937 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8938 Buffer const * as arg
8940 * ParagraphList.C (erase): new function
8941 * paragraph_funcs.C (mergeParagraph): use it
8942 (mergeParagraph): make it take a Buffer* instead of a
8943 BufferParams* as arg
8945 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8947 (breakParagraphConservative): ditto
8949 * paragraph.h: remove the breakParagraph friend
8951 * paragraph.C (eraseIntern): new function
8952 (setChange): new function
8954 * paragraph_funcs.C (mergeParagraph): make it take a
8955 ParagraphList::iterator instead of a Paragraph *, adjust
8958 * paragraph.h: move an #endif so that the change tracking stuff
8959 also works in the NO_NEXT case.
8961 2003-03-04 Angus Leeming <leeming@lyx.org>
8964 * LyXAction.C: new LFUN_INSET_MODIFY.
8966 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8967 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8969 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8971 * several files: ws changes only
8973 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8974 (TeXEnvironment): ditto
8977 * buffer.C (makeLaTeXFile): adjust
8978 (latexParagraphs): make it take ParagraphList::iterator as args
8980 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8982 * buffer.C (latexParagraphs): adjust
8984 * paragraph.C (TeXOnePar): move function...
8985 (optArgInset): move function...
8986 (TeXEnvironment): move function...
8987 * paragraph_pimpl.C (TeXDeeper): move function...
8988 * paragraph_funcs.C: ...here
8990 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8992 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8994 * buffer.C (readInset): remove compability code for old Figure and
8997 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8999 * buffer.C: ws changes
9002 * BufferView_pimpl.C: ditto
9005 * bufferlist.h: ditto
9009 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9011 * converter.[Ch]: split into itself +
9014 * Makefile.am: += graph.[Ch] + format.[Ch]
9021 * lyxrc.C: added #include "format.h"
9023 2003-02-27 Angus Leeming <leeming@lyx.org>
9025 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9028 * factory.C (createInset): add "label" to the factory.
9030 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9031 string and do no more.
9033 2003-02-27 Angus Leeming <leeming@lyx.org>
9036 * LyXAction.C (init):
9037 * factory.C (createInset):
9038 * BufferView_pimpl.C (dispatch):
9039 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9041 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9043 * lyxfunc.C (dispatch):
9044 * text3.C (dispatch): pass name to params2string.
9046 2003-02-26 Angus Leeming <leeming@lyx.org>
9048 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9050 Rearrange the ~includes. Strip out the unnecessary ones.
9052 * factory.C (createInset): reformat.
9053 create new insets for the various LFUN_XYZ_APPLY lfuns.
9055 2003-02-26 John Levon <levon@movementarian.org>
9058 * lyxrow.C: add isParStart,isParEnd helpers
9060 * paragraph.h: make isInserted/DeletedText take refs
9062 * paragraph_funcs.h:
9063 * paragraph_funcs.C: remove #if 0'd code
9068 * text.C: use lyxrow helpers above.
9069 Move draw and paint routines to RowPainter.
9070 Make several methods use refs not pointers.
9071 Make backgroundColor() const.
9072 Add markChangeInDraw(), isInInset().
9073 Merge changeRegionCase into changeCase.
9074 Make workWidth() shouldn't-happen code into an Assert.
9077 * rowpainter.C: new class for painting a row.
9080 * vspace.C: make inPixels take a ref
9082 2003-02-26 Angus Leeming <leeming@lyx.org>
9084 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9087 2003-02-25 John Levon <levon@movementarian.org>
9089 * ispell.C: give the forked command a more accurate name
9091 2003-02-22 John Levon <levon@movementarian.org>
9094 * toc.C: make TocItem store an id not a Paragraph *
9097 2003-02-21 Angus Leeming <leeming@lyx.org>
9099 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9100 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9101 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9102 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9103 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9104 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9106 * BufferView_pimpl.C (dispatch):
9107 * LyXAction.C (init):
9108 * factory.C (createInset):
9109 * lyxfunc.C (getStatus, dispatch):
9110 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9112 2003-02-21 Angus Leeming <leeming@lyx.org>
9114 * BufferView_pimpl.C (MenuInsertLyXFile):
9115 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9116 * lyxfunc.C (menuNew, open, doImport):
9117 no longer pass a LyXView & to fileDlg.
9119 2003-02-21 Angus Leeming <leeming@lyx.org>
9121 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9122 * LyXAction.C: change, BIBKEY to BIBITEM.
9123 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9124 Change InsetBibKey to InsetBibitem.
9125 Change BIBKEY_CODE to BIBITEM_CODE.
9126 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9127 * factory.C: replace insetbib.h with insetbibitem.h.
9128 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9129 * paragraph.C: replace insetbib.h with insetbibitem.h.
9130 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9131 Change bibkey() to bibitem().
9132 * text.C: remove insetbib.h.
9133 * text2.C: replace insetbib.h with insetbibitem.h.
9134 change bibkey() to bibitem().
9135 * text3.C: remove insetbib.h.
9136 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9138 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9140 * lyxrc.C (output): enclose user email in quotes (in case there are
9143 2003-02-18 John Levon <levon@movementarian.org>
9145 * buffer.h: add std::
9147 2003-02-17 John Levon <levon@movementarian.org>
9153 * pspell.C: reworking. Especially in ispell, a large
9154 number of clean ups and bug fixes.
9156 * lyxfunc.C: fix revert to behave sensibly
9158 2003-02-17 André Pönitz <poenitz@gmx.net>
9161 * commandtags.h: new LFUN_INSERT_BIBKEY
9171 * paragraph_func.C: remove special bibkey handling
9173 2003-02-17 John Levon <levon@movementarian.org>
9175 * text.C (Delete): fix case where delete at the end of
9176 the very first paragraph would not merge the pars
9178 2003-02-17 John Levon <levon@movementarian.org>
9180 * lyxrow.C: fix lastPrintablePos()
9182 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9184 * bufferparams.C (writeLaTeX): add a std:here
9186 * buffer.C: and remove a using directive there
9188 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9190 * buffer.C (makeLaTeXFile): move the code that generates the
9193 * bufferparams.C (writeLaTeX): ... in this new method
9195 * LaTeXFeatures.C (getEncodingSet): make const
9196 (getLanguages): make const
9198 * MenuBackend.C (binding): returns the binding associated to this
9200 (add): sets the status of each item by calling getStatus. Adds
9202 (read): add support for OptSubMenu
9203 (expand): remove extra separator at the end of expanded menu
9205 2003-02-15 John Levon <levon@movementarian.org>
9208 * BufferView_pimpl.C:
9210 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9211 inset code that had no actual effect. Remove unneeded status
9214 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9216 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9219 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9221 * text.C (drawLengthMarker): also draw an arrow marker for
9222 symbolic lengths (medskip...)
9224 2003-02-14 John Levon <levon@movementarian.org>
9227 * tabular.C: better method names
9229 2003-02-14 John Levon <levon@movementarian.org>
9231 * BufferView_pimpl.C:
9236 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9237 it's a more accurate name. Remove some pointless uses.
9239 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9241 * text2.C (LyXText): change order of initilizers to shut off
9244 2003-02-14 John Levon <levon@movementarian.org>
9246 * buffer.C: use ParIterator for getParFromID()
9250 * paragraph_pimpl.h:
9251 * paragraph_pimpl.C: remove unused getParFromID()
9253 2003-02-14 John Levon <levon@movementarian.org>
9255 * buffer.C: remove some very old #if 0'd parse code
9257 2003-02-13 John Levon <levon@movementarian.org>
9261 * text2.C: move hfillExpansion(), numberOfSeparators(),
9262 rowLast(), rowLastPrintable(), numberofHfills(),
9263 numberOfLabelHfills() ...
9266 * lyxrow.C: ... to member functions here.
9271 * text.C: remove LyXText::beginningOfMainBody(), and call
9272 p->beginningOfMainBody() directly. Move the check for
9273 LABEL_MANUAL into the latter.
9280 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9286 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9287 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9289 2003-02-13 John Levon <levon@movementarian.org>
9291 * CutAndPaste.C: remove debug
9293 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9295 * paragraph.C (asString): remove two unused variables
9297 * lyxtextclass.C (readTitleType):
9299 (LyXTextClass): handle new members titletype_ and titlename_
9301 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9303 2003-02-09 John Levon <levon@movementarian.org>
9306 * buffer.C: replace hand-coded list with a map for the dep clean
9308 2003-02-08 John Levon <levon@movementarian.org>
9310 * LaTeX.C: consolidate code into showRunMessage() helper
9312 2003-02-08 John Levon <levon@movementarian.org>
9317 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9318 and pass the size in explicitly
9320 * BufferView_pimpl.h:
9321 * BufferView_pimpl.C:
9323 * BufferView.C: add getCurrentChange()
9325 * BufferView_pimpl.h:
9326 * BufferView_pimpl.C: handle change lfuns
9328 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9329 for changes. Mark pasted paragraphs as new.
9331 * support/lyxtime.h:
9332 * support/lyxtime.C:
9333 * DepTable.C: abstract time_t as lyx::time_type
9336 * LColor.C: add colours for new text, deleted text, changebars
9338 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9339 package use "usenames" option.
9343 * LyXAction.C: add change lfuns
9347 * author.C: author handling
9350 * buffer.C: add a per-buffer author list, with first entry as
9351 current author. Handle new .lyx tokens for change tracking. Output
9352 author list to .lyx file. Output dvipost stuff to .tex preamble.
9353 Bump lyx format to 222.
9356 * bufferlist.C: add setCurrentAuthor() to reset current author details
9360 * bufferparams.C: add param for tracking
9362 * bufferview_funcs.C: output change info in minibuffer
9366 * changes.C: add change-tracking structure
9369 * debug.C: add CHANGES debug flag
9372 * lyxfind.C: add code for finding the next change piece
9375 * lyxrc.C: add user_name and user_email
9378 * lyxrow.C: add a metric for the top of the text line
9381 * text.C: implement accept/rejectChange()
9384 * text.C: paint changebars. Paint new/deleted text in the chosen
9385 colours. Strike through deleted text.
9389 * paragraph_pimpl.h:
9390 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9391 in the current change to the insert functions. Rework erase to
9392 mark text as deleted, adding an eraseIntern() and a range-based
9393 erase(). Implement per-paragraph change lookup and
9396 * paragraph_funcs.C: Fixup paste for change tracking.
9398 * tabular.C: mark added row/columns as new.
9400 * text.C: fix rowLast() to never return -1. Don't allow
9401 spellchecking of deleted text. Track transpose changes. Don't
9402 allow paragraph break or merge where appropriate.
9404 * text2.C: leave cursor at end of selection after a cut.
9406 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9408 * text.C (getLengthMarkerHeight):
9409 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9410 visible on screen too.
9412 2003-02-07 John Levon <levon@movementarian.org>
9414 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9416 2003-02-05 Angus Leeming <leeming@lyx.org>
9418 * lyxserver.C (read_ready): revert my patch of 11 September last year
9419 as it sends PC cpu through the roof. Presumably this means that
9420 the lyxserver will no longer run on an Alpha...
9422 2003-01-30 Angus Leeming <leeming@lyx.org>
9424 * factory.C (createInset): create an InsetCommandParam of type "index"
9425 and use it to 'do the right thing'.
9427 * text2.C (getStringToIndex): ensure that cursor position is always
9428 reset to the reset_cursor position.
9430 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9432 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9435 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9439 * lyxfunc.C: Output messages with identical spelling, punctuation,
9442 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9444 * MenuBackend.C (expandFormats): List only viewable export formats
9447 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9450 * lyxfunc.C (getStatus): Make sure that formats other than
9451 "fax" can also be disabled
9453 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9455 * text3.C (dispatch): put the lfuns that insert insets in 3
9456 groups, and call doInsertInset with appropriate arguments.
9457 (doInsertInset): new function, that creates an inset and inserts
9458 it according to some boolean parameters.
9460 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9462 * buffer.C (readFile): remember to pass on 'par' when calling
9463 readFile recursively.
9465 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9467 * MenuBackend.C (expandFormats): add "..." to import formats.
9469 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9471 * paragraph.C (asString): Remove XForms RTL hacks.
9473 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9474 * buffer.C: fix typo
9476 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9478 * Makefile.am (LIBS): delete var
9479 (lyx_LDADD): add @LIBS@ here instead.
9481 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9483 * Clarify the meaning of "wheel mouse jump"
9485 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9487 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9490 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9492 * importer.C (Loaders): do not preallocate 3 elements in the
9493 vector, since one ends up with 6 elements otherwise
9495 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9497 * DepTable.C (write): write the file name as last element of the
9498 .dep file (because it may contain spaces)
9499 (read): read info in the right order
9501 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9503 * paragraph_pimpl.C (simpleTeXBlanks):
9504 (simpleTeXSpecialChars):
9505 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9507 * tabular.C (latex): add some missing case statements. Reindent.
9509 * MenuBackend.C (expandToc): remove unused variable.
9511 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9520 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9523 2003-01-05 John Levon <levon@movementarian.org>
9526 * BufferView.C: add getEncoding()
9529 * kbsequence.C: do not store last keypress
9532 * lyxfunc.C: store last keypress here instead. Pass encoding
9535 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9537 * lyx_main.C (init): remove annoying error message when following
9538 symbolic links (bug #780)
9540 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9542 * text.C (insertChar):
9543 * lyxrc.C (getDescription): remove extra spaces
9545 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9547 * lyxrc.C (getDescription): remove extra spaces
9549 2002-12-20 John Levon <levon@movementarian.org>
9551 * text3.C: hack fix for page up/down across tall rows
9553 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9555 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9558 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9560 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9561 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9562 thesaurus is not compiled in
9564 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9566 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9568 2002-12-16 Angus Leeming <leeming@lyx.org>
9571 * lyx_main.C (init): remove override_x_deadkeys stuff.
9573 2002-12-12 John Levon <levon@movementarian.org>
9575 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9576 insert. Only remove shift modifier under strict
9579 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9581 * MenuBackend.C (expandToc): fix crash.
9583 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9585 * MenuBackend.C (expandToc): gettext on float names.
9587 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9589 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9590 implement bool empty() [bug 490]
9592 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9594 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9596 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9598 * several files: ws changes
9600 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9602 * text2.C (setCounter): clean up a bit, use boost.format.
9603 (updateCounters): initialize par upon declaration.
9605 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9606 if the layout exists. We do not just store the layout any more.
9607 (SwitchLayoutsBetweenClasses): use boost.format
9609 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9611 * converter.C (convert): if from and to files are the same, use a
9612 temporary files as intermediary
9614 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9617 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9619 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9621 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9623 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9625 * tabular.C (asciiPrintCell): use string(size, char) instead of
9628 * sgml.C (openTag): fix order of arguments to string constructor
9631 * lyxfunc.C (dispatch): use boost.format
9633 * lots of files: change "c" -> 'c'
9635 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9637 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9639 2002-11-25 Angus Leeming <leeming@lyx.org>
9641 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9643 * lyx_main.C (init): compile fix.
9645 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9647 * lyx_cb.C (start): boost.formatify
9648 do not include <iostream>
9650 * lengthcommon.C: ws only
9652 * boost-inst.C,BoostFormat.h: add more explict instantations
9654 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9656 * lots of files: handle USE_BOOST_FORMAT
9658 2002-11-21 John Levon <levon@movementarian.org>
9660 * pspell.C: fix compile
9662 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9664 * lyxfunc.C (dispatch): use boost::format
9668 * lyxfont.C (stateText): use boost::format
9670 * lyx_main.C (LyX): use boost::format
9672 (queryUserLyXDir): ditto
9675 (typedef boost::function): use the recommened syntax.
9677 * importer.C (Import): use boost::format
9679 * debug.C (showLevel): use boost::format
9681 * converter.C (view): use boost::format
9686 * bufferview_funcs.C (currentState): use boost::format
9688 * bufferlist.C (emergencyWrite): use boost::format
9690 * buffer.C (readLyXformat2): use boost::format
9691 (parseSingleLyXformat2Token): ditto
9693 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9695 * LaTeX.C (run): use boost::format
9697 * Chktex.C (scanLogFile): use boost::format
9699 * BufferView_pimpl.C (savePosition): use boost::format
9700 (restorePosition): ditto
9701 (MenuInsertLyXFile): ditto
9703 * BoostFormat.h: help file for explicit instation.
9705 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9707 * tabular.C (latex): Support for block alignment in fixed width
9710 2002-11-17 John Levon <levon@movementarian.org>
9712 * BufferView_pimpl.C:
9714 * lyxfunc.C: split filedialog into open/save
9716 2002-11-08 Juergen Vigna <jug@sad.it>
9718 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9719 by my last patch (hopefully).
9721 2002-11-08 John Levon <levon@movementarian.org>
9730 * toc.C: ParConstIterator, and use it (from Lars)
9732 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9734 * lyxtextclass.[Ch]: revise and add doxygen comments
9736 2002-11-07 John Levon <levon@movementarian.org>
9738 * text.C: fix progress value for spellchecker
9740 * toc.C: fix navigate menu for insetwrap inside minipage
9742 * paragraph_funcs.C: added FIXME for suspect code
9744 2002-11-07 John Levon <levon@movementarian.org>
9746 * BufferView_pimpl.C: fix redrawing of insets
9749 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9751 * text2.C (updateCounters): fix bug 668
9753 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9755 * text3.C (dispatch): Do not make the buffer dirty when moving the
9758 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9760 * vc-backend.C: STRCONV
9763 * text2.C (setCounter): STRCONV
9765 * paragraph.C (asString): STRCONV
9767 * lyxlength.C (asString): STRCONV
9768 (asLatexString): ditto
9770 * lyxgluelength.C (asString): STRCONV
9771 (asLatexString): ditto
9773 * lyxfunc.C (dispatch): STRCONV
9776 * lyxfont.C (stateText): STRCONV
9778 * importer.C (Import): STRCONV
9780 * counters.C (labelItem): STRCONV
9781 (numberLabel): ditto
9782 (numberLabel): remove unused ostringstream o
9787 * bufferview_funcs.C (currentState): STRCONV
9789 * buffer.C (readFile): STRCONV
9790 (asciiParagraph): ditto
9791 (makeLaTeXFile): ditto
9793 * Spacing.C (writeEnvirBegin): STRCONV
9795 * LaTeXFeatures.C (getLanguages): STRCONV
9796 (getPackages): ditto
9798 (getBabelOptions): ditto
9799 (getTClassPreamble): ditto
9800 (getLyXSGMLEntities): ditto
9801 (getIncludedFiles): ditto
9805 (scanAuxFile): ditto
9808 * LString.h: add the STRCONV macros
9810 * BufferView_pimpl.C (savePosition): STRCONV
9811 (restorePosition): ditto
9812 (MenuInsertLyXFile): ditto
9814 * vc-backend.C (scanMaster): change from submatch[...] to
9817 * funcrequest.C: include config.h
9819 * factory.C: include config.h
9821 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9823 * box.C: include config.h
9825 * LaTeX.C (scanAuxFile): change from submatch[...] to
9829 2002-10-25 Angus Leeming <leeming@lyx.org>
9831 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9833 * ispell.[Ch] (setError): new method.
9834 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9835 Use setError() insetead of goto END.
9837 * lyx_cb.C (AutoSave): move out child process into new class
9840 2002-10-30 John Levon <levon@movementarian.org>
9842 * text3.C: make start appendix undoable
9844 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9846 * lyxlength.C (inPixels): Fix returned value.
9848 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9851 2002-10-24 Angus Leeming <leeming@lyx.org>
9853 * lyxgluelength.h: no need to forward declare BufferParams
9854 or BufferView, so don't.
9856 2002-10-21 John Levon <levon@movementarian.org>
9858 * BufferView.C: menuUndo ->undo, redo
9860 * BufferView.h: document, remove dead, make some methods private
9862 * paragraph_funcs.h:
9863 * paragraph_funcs.C:
9864 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9869 * sgml.C: move sgml open/close tag into sgml.C
9871 * bufferview_funcs.h: unused prototype
9874 * lyxfunc.C: remove unused
9877 * text.C: remove unused
9879 2002-10-21 John Levon <levon@movementarian.org>
9883 * BufferView_pimpl.h:
9884 * BufferView_pimpl.C: fix mouse wheel handling based on
9885 patch from Darren Freeman
9887 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9889 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9891 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9893 * lyxlength.C (inPixels): Fix hanfling of negative length.
9894 Fix LyXLength::MU case.
9896 2002-10-16 John Levon <levon@movementarian.org>
9898 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9900 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9902 * converter.C (view): add support for $$i (file name) and $$p
9903 (file path) for the viewer command. If $$i is not specified, then
9904 it is appended to the command (for compatibility with old syntax)
9906 2002-10-14 Juergen Vigna <jug@sad.it>
9908 * undo_funcs.C (textHandleUndo): alter the order in which the
9909 new undopar is added to the LyXText, as we have to set first
9910 the right prev/next and then add it as otherwise the rebuild of
9911 LyXText is not correct. Also reset the cursor to the right paragraph,
9912 with this IMO we could remove the hack in "redoParagraphs()".
9914 2002-10-09 Angus Leeming <leeming@lyx.org>
9916 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9917 to turn off an optimisation if a new inset is to be inserted.
9919 2002-10-11 André Pönitz <poenitz@gmx.net>
9921 * lyxtext.h: make some functions public to allow access
9922 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9924 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9926 * text3.C (dispatch): when changing layout, avoid an infinite loop
9929 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9931 * lyxrc.C (read): treat a viewer or converter command of "none" as
9934 * MenuBackend.C (expandFormats): for an update, also allow the
9935 formats that are not viewable
9937 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9938 script if it is newer than the lyxrc.defaults in user directory
9940 2002-10-07 André Pönitz <poenitz@gmx.net>
9942 * text.C: Vitaly Lipatov's small i18n fix
9944 2002-09-25 Angus Leeming <leeming@lyx.org>
9946 * ispell.h: doxygen fix.
9948 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9950 * buffer.h (readFile): Add a new argument to the method, to allow
9951 reading of old-format templates.
9953 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9955 * toc.C (getTocList): Get TOC from InsetWrap.
9957 2002-09-16 John Levon <levon@movementarian.org>
9959 * lyxfunc.C: check tabular for cut/copy too
9961 2002-09-12 John Levon <levon@movementarian.org>
9966 * factory.C: add header
9968 * paragraph_funcs.h:
9969 * paragraph_funcs.C: cleanup
9971 2002-09-11 John Levon <levon@movementarian.org>
9973 * PrinterParams.h: odd/even default to true
9975 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9977 * PrinterParams.h: update printer parameters for new xforms dialog
9979 2002-09-11 Angus Leeming <leeming@lyx.org>
9981 * lyxserver.C (read_ready): re-write to make it more transparent
9982 and to make it work in coherent fashion under Tru64 Unix.
9984 2002-09-11 André Pönitz <poenitz@gmx.net>
9988 * text3.C: implement LFUN_WORDSEL
9990 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9992 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9993 make floatlist_ a boost::shared_ptr<FloatList>
9995 * lyxtextclass.C: include FloatList.h
9996 (LyXTextClass): initialize floatlist_
9997 (TextClassTags): add TC_NOFLOAT
9998 (Read): match "nofloat" to TC_NOFLOAT and use it.
9999 (readFloat): modify call to floatlist_
10003 * FloatList.[Ch] (FloatList): remove commented out float
10005 (erase): new function
10007 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10009 * MenuBackend.C (expandToc): fix crash when there is no document
10012 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10014 * many files: Add insetwrap.
10016 2002-09-09 John Levon <levon@movementarian.org>
10018 * text2.C: remove confusing and awkward depth wraparound
10020 2002-09-09 John Levon <levon@movementarian.org>
10022 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10025 * buffer.C: remove getIncludeonlyList()
10028 * lyxfunc.C: remove headers
10030 2002-09-09 Juergen Vigna <jug@sad.it>
10032 * text.C (getColumnNearX): fix form Michael this is most
10033 probably a cut&paste bug.
10035 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10037 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10039 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10040 references, ws changes.
10042 * text2.C (init): update counters after init
10043 (insertParagraph): no need to set counter on idividual paragraphs.
10044 (setCounter): access the counters object in the textclass object
10045 on in the buffer object.
10046 (updateCounters): ditto
10048 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10049 shared_ptr<Counters> to avoid loading counters.h in all
10051 (LyXTextClass): initialize ctrs_
10052 (TextClassTags): add TC_COUNTER, and ...
10053 (Read): use it here.
10054 (CounterTags): new tags
10055 (readCounter): new function
10056 (counters): new funtion
10057 (defaultLayoutName): return a const reference
10059 * counters.C (Counters): remove contructor
10060 (newCounter): remove a couple of unneeded statements.
10061 (newCounter): simplify a bit.
10062 (numberLabel): some small formatting changes.
10064 * buffer.[Ch]: remove all traces of counters, move the Counters
10065 object to the LyXTextClass.
10067 2002-09-06 Alain Castera <castera@in2p3.fr>
10069 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10070 package to set the horizontal alignment on fixed width columns.
10073 * lyx_sty.h: added tabularnewline macro def.
10075 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10077 2002-09-06 John Levon <levon@movementarian.org>
10079 * LyXAction.C: tooltips for sub/superscript
10081 * MenuBackend.C: a bit more verbose
10083 * lyxfunc.C: tiny clean
10085 * undo_funcs.C: document undo_frozen
10087 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10089 * counters.C (Counters): add missing algorithm counter.
10091 * text2.C (setCounter): lookup the counter with layouts latexname
10092 instead of by section number.
10093 (setCounter): use a hackish way to lookup the correct enum
10095 a float name->type change
10096 reset enum couners with counter name directly instead of depth value.
10098 * counters.C (Counters): remove the push_backs, change to use the
10099 float type not the float name.
10100 (labelItem): remove unused string, float name->type change
10102 * counters.h: don't include vector, loose the enums and sects vectors
10104 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10106 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10107 (Read): add float->TC_FLOAT to textclassTags
10108 (Read): and handle it in the switch
10109 (readFloat): new function
10111 * FloatList.C (FloatList): comment out the hardcoded float
10114 * lyxlayout.h: ws change.
10116 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10118 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10120 2002-09-03 Angus Leeming <leeming@lyx.org>
10122 * BufferView_pimpl.h: qualified name is not allowed in member
10123 declaration: WorkArea & Pimpl::workarea() const;
10125 * factory.C: added using std::endl directive.
10127 * text3.C: added using std::find and std::vector directives.
10129 2002-08-29 André Pönitz <poenitz@gmx.net>
10132 * text2.C: remove unused member number_of_rows
10135 * BufferView2.C: remove file, move contents to...
10136 * BufferView.C: ... here
10138 * BufferView_pimpl.C:
10139 * factory.C: move more inset creation to factory
10141 * vspace.C: avoid direct usage of LyXText, ws changes
10144 don't provide direct access to WorkArea, use two simple
10145 acessors haveSelction() and workHeight() instead
10148 2002-08-29 John Levon <levon@movementarian.org>
10150 * BufferView_pimpl.C (dispatch): do not continue when
10153 2002-08-28 André Pönitz <poenitz@gmx.net>
10155 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10158 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10160 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10162 * buffer.C: increment LYX_FORMAT to 221
10164 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10165 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10167 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10169 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10171 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10173 * factory.C (createInset): use LyXTextClass::floats
10175 * MenuBackend.C (expandFloatListInsert):
10176 (expandFloatInsert):
10179 * text2.C (setCounter):
10181 * LaTeXFeatures.C (useFloat):
10182 (getFloatDefinitions):
10184 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10186 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10187 floatlist_, with accessor floats().
10189 * FloatList.h: remove global FloatList
10191 2002-08-26 André Pönitz <poenitz@gmx.net>
10193 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10197 * BufferView_pimpl.C:
10198 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10200 2002-08-25 John Levon <levon@movementarian.org>
10202 * LyXAction.C: fix margin note description
10204 2002-08-24 John Levon <levon@movementarian.org>
10208 * bufferview_funcs.C:
10210 * undo_funcs.C: cleanups
10212 * lyxfunc.C: disable CUT/COPY when no selection
10214 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10216 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10217 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10219 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10220 Add backward compatibility to "mono", "gray" and "no".
10222 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10224 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10225 (and file_format >= 200).
10227 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10229 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10231 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10233 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10235 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10237 * BufferView_pimpl.C:
10244 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10245 inset and code to make it work with the paragraph code. The inset
10246 can be anywhere in the paragraph, but will only do the expected
10247 thing in LaTeX if the layout file contains the parameter line
10249 (or more generally, a nonzero value) for that layout.
10251 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10253 * paragraph.h: remove the declaration of undefined counters class
10256 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10258 * text2.C (setCounter): fixed enumeration mis-count as reported by
10259 Dr. Richard Hawkins.
10261 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10263 * paragraph_funcs.h: remove some unneeded includes
10265 * text.C (backspace): pasteParagraph now in global scipe
10267 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10268 (pasteSelection): ditto
10270 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10271 * paragraph_funcs.C (pasteParagraph): ... here
10273 2002-08-20 André Pönitz <poenitz@gmx.net>
10275 * commandtags.h: new LFUNs for swapping/copying table row/colums
10278 * lyxfunc.C: support for new lfuns
10280 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10283 * buffer.[Ch]: remove NO_COMPABILITY stuff
10285 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10287 * boost.C (throw_exception): new file, with helper function for
10288 boost compiled without exceptions.
10293 * ParameterStruct.h:
10294 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10296 * bufferlist.C (emergencyWriteAll): use boost bind
10298 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10300 * text.C: include paragraph_funcs.h
10301 (breakParagraph): breakParagraph is now in global scope
10303 * paragraph_funcs.[Ch]: new files
10305 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10308 * buffer.C: include paragraph_funcs.h
10309 (insertStringAsLines): breakParagraph is now in global scope
10311 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10314 * CutAndPaste.C: include paragraph_funcs.h
10315 (cutSelection): breakParagraphConservative is now in global scope
10316 (pasteSelection): ditto
10318 * buffer.h: declare oprator== and operator!= for
10319 Buffer::inset_iterator
10321 * bufferlist.C (emergencyWrite): don't use fmt(...)
10323 * text3.C: add using std::endl
10325 * BufferView.C (moveCursorUpdate): remove default arg
10327 2002-08-20 André Pönitz <poenitz@gmx.net>
10329 * buffer.[Ch]: move inline functions to .C
10332 * BufferView_pimpl.C:
10334 * buffer.[Ch]: use improved inset_iterator
10337 * paragraph.[Ch]: write one paragraph at a time
10339 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10341 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10342 style if style is not specified.
10344 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10346 * text2.C (setCounter): when searching for right label for a
10347 caption, make sure to recurse to parent insets (so that a caption
10348 in a minipage in a figure float works) (bug #568)
10350 2002-08-20 André Pönitz <poenitz@gmx.net>
10352 * text3.C: new file for LyXText::dispatch() and helpers
10354 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10356 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10358 2002-08-19 André Pönitz <poenitz@gmx.net>
10361 * text.C: new LyXText::dispatch()
10363 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10365 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10367 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10369 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10372 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10374 * Makefile.am: use $(variables) instead of @substitutions@
10376 2002-08-15 André Pönitz <poenitz@gmx.net>
10379 * BufferView_pimpl.C: streamlining mathed <-> outer world
10383 * LyXAction.C: remove unused LFUN_MATH
10385 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10387 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10389 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10391 * paragraph.C (Paragraph): reformat a bit
10392 (cutIntoMinibuffer): use builtin InsetList function instad of
10396 * buffer.C: include boost/bind.hpp, add using std::for_each
10397 (writeFileAscii): use ParagraphList iterators
10398 (validate): use for_each for validate traversal of paragraphs
10399 (getBibkeyList): use ParagraphList iterators
10400 (resizeInsets): use for_each to resizeInsetsLyXText for all
10402 (getParFromID): use ParagraphList iterators
10404 * BufferView2.C (lockInset): use paragraph list and iterators
10406 2002-08-14 John Levon <levon@movementarian.org>
10408 * lyxserver.C: remove spurious xforms include
10410 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10414 2002-08-13 André Pönitz <poenitz@gmx.net>
10417 * lyxfunc.C: further cleaning
10419 2002-08-13 André Pönitz <poenitz@gmx.net>
10421 * funcrequest.h: new constructor
10423 * funcrequest.C: move stuff here from .h
10426 * BufferView_pimpl.C:
10429 * lyxfunc.C: subsequent changes
10431 * lyxfunc.h: new view() member function
10433 * lyxfunc.C: subsequent changes
10435 2002-08-13 Angus Leeming <leeming@lyx.org>
10438 * BufferView_pimpl.C:
10446 changes due to the changed LyXView interface that now returns references
10447 to member variables not pointers.
10449 2002-08-13 Angus Leeming <leeming@lyx.org>
10451 * WordLangTuple (word, lang_code): return references to strings,
10456 * lyxtext.h: forward-declare WordLangTuple.
10461 * text.C: #include "WordLangTuple.h".
10464 * text.C: (selectNextWordToSpellcheck): constify return type.
10466 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10472 * paragraph_pimpl.h:
10475 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10476 suggested by Angus.
10477 Made updateCounter always count from start of buffer, and removed
10478 second argument (par).
10479 Reverted floats number display to '#'. Perhaps I'll try again when the
10480 code base is sanitized a bit.
10482 2002-08-12 Angus Leeming <leeming@lyx.org>
10484 * buffer.[Ch] (getLabelList): constify.
10486 2002-08-07 André Pönitz <poenitz@gmx.net>
10488 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10490 * funcrequest.h: extension to keep mouse (x,y) position
10492 2002-08-12 Juergen Vigna <jug@sad.it>
10494 * BufferView2.C (insertErrors): forbid undo when inserting error
10497 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10499 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10501 * ParagraphList.[Ch]: new files
10503 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10505 * BufferView2.C (lockInset): ParagraphList changes
10508 * bufferlist.C: ditto
10512 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10514 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10515 unused class variable counter_,
10517 * paragraph.[Ch] (getFirstCounter): delete unused function
10519 * counters.C: include LAssert.h
10520 (reset): add a new function with no arg, change other version to
10521 not have def. arg and to not allow empty arg.
10523 * text2.C (setCounter): remove empty arg from call to Counters::reset
10525 2002-08-11 John Levon <levon@movementarian.org>
10527 * Makefile.am: add WordLangTuple.h
10529 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10531 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10532 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10534 * insets/insettext.C: InsetList changes
10536 * graphics/GraphicsSupport.C (operator()): InsetList changes
10538 * toc.C (getTocList): InsetList changes
10540 * paragraph_pimpl.[Ch]: InsetList changes
10542 * paragraph.[Ch]: InsetList changes
10544 * buffer.C (inset_iterator): InsetList changes
10545 (setParagraph): ditto
10546 * buffer.h (inset_iterator): ditto
10547 * iterators.C (operator++): ditto
10548 * iterators.h: ditto
10550 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10552 * InsetList.[Ch]: new files, most InsetList handling moved out of
10555 * BufferView2.C (removeAutoInsets): InsetList changes
10557 (ChangeInsets): ditto
10559 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10561 * paragraph_pimpl.h (empty): new function
10563 * paragraph.[Ch] (empty): new function
10565 * other files: use the new Paragraph::empty function
10567 2002-08-09 John Levon <levon@movementarian.org>
10569 * lyxtext.h: remove unused refresh_height
10571 2002-08-09 John Levon <levon@movementarian.org>
10578 * paragraph.C: move sgml char escaping out of paragraph
10581 * paragraph.C: remove id setter
10585 * paragraph_pimpl.C: remove dead tex_code_break_column
10587 * bufferview_funcs.C: small cleanup
10589 * lyxfunc.C: remove dead proto
10591 * lyxtext.h: make some stuff private. Remove some dead stuff.
10593 * lyxgluelength.C: make as[LyX]String() readable
10595 2002-08-08 John Levon <levon@movementarian.org>
10600 * ToolbarDefaults.C:
10603 * toc.C: lyxaction cleanup
10605 2002-08-08 John Levon <levon@movementarian.org>
10607 * BufferView2.C: small cleanup
10610 * lyxfind.C: move unnecessary header into the .C
10612 2002-08-08 John Levon <levon@movementarian.org>
10614 * funcrequest.h: just tedious nonsense
10617 * lyx_main.C: cleanups
10620 * vspace.C: remove dead header lyx_main.h
10622 2002-08-07 Angus Leeming <leeming@lyx.org>
10625 * paragraph_pimpl.h:
10626 Forward declare class Counters in paragraph.h by moving the ctrs member
10627 variable into Paragraph::Pimpl.
10628 (counters): new method, returning a reference to pimpl_->ctrs.
10630 * text2.C: ensuing changes.
10632 2002-08-07 John Levon <levon@movementarian.org>
10634 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10636 * BufferView_pimpl.C: announce X selection on double/triple
10639 * lyx_main.C: use correct bool in batch dispatch
10641 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10643 2002-08-07 André Pönitz <poenitz@gmx.net>
10645 * funcrequest.h: new class to wrap a kb_action and its argument
10648 * BufferView_pimpl[Ch]:
10652 * lyxrc.C: subsequent changes
10655 2002-08-07 John Levon <levon@movementarian.org>
10657 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10658 document options change.
10660 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10665 * makefile.am: move counters functionality over from
10666 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10668 2002-08-06 John Levon <levon@movementarian.org>
10670 * WordLangTuple.h: new file for word + language code tuple
10681 * BufferView2.C: use WordLangTuple
10684 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10686 2002-08-06 John Levon <levon@movementarian.org>
10688 * lyx_main.C: fix cmdline batch handling
10690 2002-08-06 André Pönitz <poenitz@gmx.net>
10692 * lyxrc.C: set default for show_banner to true
10694 2002-08-06 John Levon <levon@movementarian.org>
10696 * pspell.C: fix a crash, and allow new aspell to work
10698 2002-08-06 John Levon <levon@movementarian.org>
10701 * kbmap.C: small cleanup
10704 * vspace.C: add const
10706 2002-08-05 John Levon <levon@movementarian.org>
10708 * LyXAction.C: back to tabular-insert
10710 2002-08-04 John Levon <levon@movementarian.org>
10713 * BufferView.C: cosmetic change
10715 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10725 * BufferView2.C: purge all "Lyx" not "LyX" strings
10728 * lyxcursor.C: attempt to add some documentation
10733 * ToolbarDefaults.C:
10734 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10735 merge with LFUN_TABULAR_INSERT
10742 * pspell.C: split up i/pspell implementations into separate
10743 files, many cleanups
10745 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10747 * text2.C: some cleanup
10749 * lyxfunc.C: don't check for isp_command == "none" any more, it
10750 didn't make any sense
10752 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10757 * makefile.am: move counters functionality over
10758 from text2.C/paragraph.[Ch] to counters.[Ch], and
10760 2002-08-02 John Levon <levon@movementarian.org>
10762 * buffer.C: s/lyxconvert/lyx2lyx/
10764 2002-08-02 Angus Leeming <leeming@lyx.org>
10766 * lyxlex.C: revert John's change as it breaks reading of the user
10769 2002-08-02 Angus Leeming <leeming@lyx.org>
10771 * importer.C (Import):
10772 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10773 changes due to LyXView::view() now returning a boost::shared_ptr.
10775 2002-08-02 John Levon <levon@movementarian.org>
10777 * lyxlex.C: small cleanup
10779 2002-08-02 John Levon <levon@movementarian.org>
10781 * text2.C (status): small cleanup, no logic change
10783 2002-08-01 John Levon <levon@movementarian.org>
10786 * buffer.C (writeFile): don't output alerts, caller
10790 * lyx_cb.C: from above
10792 * lyxfunc.C: allow to open non-existent files
10794 2002-07-31 John Levon <levon@movementarian.org>
10796 * lyxserver.C: don't let incidental errors get
10799 2002-07-30 John Levon <levon@movementarian.org>
10801 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10803 2002-07-30 John Levon <levon@movementarian.org>
10806 * lyxserver.C: remove I/O callback too
10808 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10810 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10813 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10815 * many files: strip,frontStrip -> trim,ltrim,rtrim
10817 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10819 * PrinterParams.h: remove extern containsOnly, and include
10820 support/lstrings.h instead.
10822 * LaTeX.C (scanAuxFile): modify because of strip changes
10824 * buffer.C (makeLaTeXFile): ditto
10825 * bufferparams.C (writeFile): ditt
10826 * lyxfont.C (stateText): ditto
10827 * lyxserver.C (read_ready): ditto
10828 * vc-backend.C (scanMaster): ditto
10830 * BufferView_pimpl.h: ws changes
10832 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10834 2002-07-26 André Pönitz <poenitz@gmx.net>
10836 * kb_sequence.C: remove unnedred usings
10838 2002-07-26 Juergen Vigna <jug@sad.it>
10840 * lyxfind.C (LyXReplace): we have to check better if the returned
10841 text is not of theLockingInset()->getLockingInset().
10843 2002-07-25 Juergen Vigna <jug@sad.it>
10845 * lyxfind.C (LyXReplace): don't replace if we don't get the
10848 * undo_funcs.C (createUndo): remove debugging code.
10850 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10852 * buffer.C (parseSingleLyXformat2Token): Use default placement
10853 when reading old floats.
10855 * FloatList.C (FloatList): Change the default placement of figure
10856 and tables to "tbp".
10858 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10860 * MenuBackend.C: using std::max
10862 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10864 * MenuBackend.C (expandToc):
10865 (expandToc2): code moved from xforms menu frontend. It is now
10866 generic and TOCs are transparent to menu frontends.
10868 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10870 * toc.C (getTocList): protect against buf=0
10872 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10873 Menu as first parameter. Now, this calls itself recursively to
10874 expand a whole tree (this will be useful for TOC handling)
10875 (expandFloatInsert): remove 'wide' version of floats
10877 * MenuBackend.h (submenuname): returns the name of the submenu.
10878 (submenu): returns the submenu itself, provided it has been
10879 created by MenuBackend::expand
10881 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10883 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10884 insets which have noFontChange == true. (bug #172)
10886 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10888 * BufferView_pimpl.C: add connection objects and use them...
10891 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10893 * MenuBackend.C (expandLastfiles):
10896 (expandFloatListInsert):
10897 (expandFloatInsert):
10898 (expand): split expand in parts
10900 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10902 * lyx_gui.C: use lyx_gui::exit()
10904 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10906 * LyXAction.C: show the failing pseudo action
10908 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10910 * buffer.C (readFile): Run the lyxconvert script in order to read
10913 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10917 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10919 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10923 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10925 2002-07-22 Herbert Voss <voss@lyx.org>
10928 * lyxlength.[Ch]: add support for the vertical lengths
10930 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10932 * toc.[Ch]: std:: fixes
10934 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10936 * lyxrc.C: do not include lyx_main.h
10938 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10944 * BufferView2.C: include "lyxlex.h"
10947 * bufferparams.h: do not #include "lyxlex.h"
10949 * lyxtextclasslist.C (Add): remove method
10950 (classlist): renamed to classlist_
10952 * paragraph_pimpl.C:
10956 * bufferview_funcs.C:
10961 * toc.C (getTocList): use BufferParams::getLyXTextClass
10963 * toc.C (getTocList): use InsetFloat::addToToc
10965 * toc.[Ch]: new files, containing helper functions to handle table
10968 * lyxfunc.C (dispatch): no need to remove spaces around command
10970 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10971 first command of the sequence; it is not very clever, but I do not
10972 have a better idea, actually
10974 * LyXAction.C (LookupFunc): make sure to remove space at the
10975 beginning and end of the command
10977 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10979 * MenuBackend.C (getMenubar): new method: return the menubar of
10981 (read): treat differently reading of menu and menubar (in
10982 particular, the menubar has no name now)
10983 (Menu::menubar): remove
10985 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10988 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10990 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10991 a bibitem inset in a RTL paragraph.
10993 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10995 * paragraph_pimpl.C: constify
10997 * BufferView_pimpl.C:
10999 * lyxfunc.C: fix dispatch in a nicer way
11001 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11003 * lyxfunc.C (dispatch):
11004 * BufferView_pimpl.C:
11005 * BufferView_pimpl.h:
11007 * BufferView.h: rename Dispatch() to dispatch()
11009 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11011 * lyxlayout.C (Read): honor DependsOn tag
11013 * lyxlayout.[Ch] (depends_on): new method
11015 * version.C.in: update lyx_docversion
11017 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11019 * paragraph.C (validate): remove from here...
11020 * paragraph_pimpl.C (validate): ... and move here
11021 (isTextAt): make it const
11023 * buffer.C (getLists): ws cleanup
11025 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11027 * language.C (read): Use iso8859-1 encoding in latex_lang
11028 (this prevents LyX from crashing when using iso10646-1 encoding).
11030 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11032 * text2.C (toggleInset): if cursor is inside an inset, close the
11033 inset and leave cursor _after_ it
11035 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11037 * lyxfunc.C: move minibuffer completion handling out of here
11039 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11041 * BufferView_pimpl.C:
11042 * LaTeX.C: fix dispatch calls
11044 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11046 * text.C (drawChars): Fix Arabic text rendering.
11048 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11052 * lyxfunc.C: remove message-push/pop
11056 * lyxfunc.C: rationalise some code by removing verboseDispatch
11057 in favour of a bool argument to dispatch()
11059 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11061 * lyx_main.C (init): make sure to read symlinks as absolute paths
11063 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11066 * lyxfunc.C: no need for commandshortcut to be a member
11068 2002-07-15 André Pönitz <poenitz@gmx.net>
11070 * converter.C: add support for $$s (scripts from lib/scripts dir)
11071 * lyx_main.C: white space
11073 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11077 * lyxrc.C: remove second exit confirmation
11079 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11084 * BufferView_pimpl.h:
11085 * BufferView_pimpl.C:
11086 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11088 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11090 * MenuBackend.C (expand): add numeric shortcuts to document menu
11092 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11094 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11096 * lyxfont.C (setLyXFamily):
11103 * buffer.C (asciiParagraph): use ascii_lowercase
11105 2002-07-15 Mike Fabian <mfabian@suse.de>
11107 * lyxlex_pimpl.C (search_kw):
11108 * lyxlex.C (getLongString):
11109 * converter.h (operator<):
11110 * converter.C (operator<):
11111 * buffer.C (parseSingleLyXformat2Token):
11113 * ToolbarDefaults.C (read):
11114 * MenuBackend.C (checkShortcuts):
11116 * LColor.C (getFromGUIName):
11117 (getFromLyXName): use the compare_ascii_no_case instead of
11118 compare_no_case, because in turkish, 'i' is not the lowercase
11119 version of 'I', and thus turkish locale breaks parsing of tags.
11121 2002-07-16 Angus Leeming <leeming@lyx.org>
11123 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11124 now takes a Buffer const & argument.
11126 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11128 * BufferView.C (resize): check there's a buffer to resize
11130 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11132 * lyxfunc.C: remove dead code
11135 * lyxserver.C: use lyx_guii::set_read_callback
11137 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11139 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11140 an inset in a RTL paragraph.
11142 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11144 * lyxfunc.C: repaint after a font size update
11146 2002-07-15 André Pönitz <poenitz@gmx.net>
11148 * lyxlength.C: inBP should be able to return negative values
11150 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11152 * lyxfunc.C: use lyx_gui::update_fonts()
11154 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11156 * lyxfunc.C: use lyx_gui::update_color()
11158 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11164 * lyxrc.C: remove file->new asks for name option, and let
11165 buffer-new take an argument
11167 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11169 * BufferView_pimpl.C: remove unneeded extra repaint()
11171 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11173 * LyXAction.C: allow command-sequence with NoBuffer
11175 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11177 2002-07-10 Angus Leeming <leeming@lyx.org>
11179 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11181 2002-07-09 Angus Leeming <leeming@lyx.org>
11183 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11185 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11187 * lengthcommon.h: whitespace
11189 * lyxfunc.C: update scrollbar after goto paragraph
11191 * lyxtext.h: factor out page break drawing, and fix it so
11192 page break/added space paints as selected nicely
11194 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11196 * BufferView_pimpl.C: add FIXMEs, clean up a little
11198 2002-07-09 André Pönitz <poenitz@gmx.net>
11200 * lyxfont.[Ch]: support for wasy symbols
11202 2002-07-08 André Pönitz <poenitz@gmx.net>
11204 * BufferView_pimpl.C: apply John's patch for #93.
11206 2002-07-05 Angus Leeming <leeming@lyx.org>
11208 * BufferView_pimpl.C (buffer): generate previews if desired.
11210 * LColor.h: add "preview" to the color enum.
11212 * LColor.C (LColor): add a corresponding entry to the items array.
11214 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11217 2002-07-05 Angus Leeming <leeming@lyx.org>
11219 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11220 The body of the code is now in the method that is passed an ostream &
11221 rather than a file name.
11222 Pass an additional only_preamble parameter, useful for the forthcoming
11225 2002-07-03 André Pönitz <poenitz@gmx.net>
11227 * lyxfunc.C: simplify getStatus() a bit for math stuff
11229 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11231 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11233 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11235 * text.C (changeRegionCase): do not change case of all the
11236 document when region ends at paragraph end (bug #461)
11238 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11240 * paragraph.C (startTeXParParams):
11241 (endTeXParParams): add \protect when necessary
11243 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11245 * BufferView_pimpl.C (workAreaExpose): remove warning
11247 2002-06-27 Angus Leeming <leeming@lyx.org>
11249 * Makefile.am: add lyxlayout_ptr_fwd.h.
11251 2002-06-26 André Pönitz <poenitz@gmx.net>
11253 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11255 2002-06-25 Angus Leeming <leeming@lyx.org>
11257 * lyxfunc.C (dispatch): Comment out the call to
11258 grfx::GCache::changeDisplay. The method no longer exists now that the
11259 pixmap generation part of the graphics loader has been moved into
11262 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11264 * text2.C: layout as layout
11266 * text.C: layout as layout
11268 * tabular.C (OldFormatRead): layout as layout
11270 * paragraph_pimpl.C (TeXDeeper): layout as layout
11271 (realizeFont): layout as layout
11273 * paragraph.C (writeFile): layout as layout
11274 (validate): layout as layout
11275 (getFont): layout as layout
11276 (getLabelFont): layout as layout
11277 (getLayoutFont): layout as layout
11278 (breakParagraph): layout as layout
11279 (stripLeadingSpaces): layout as layout
11280 (getEndLabel): layout as layout
11281 (getMaxDepthAfter): layout as layout
11282 (applyLayout): layout as layout
11283 (TeXOnePar): layout as layout
11284 (simpleTeXOnePar): layout as layout
11285 (TeXEnvironment): layout as layout
11286 (layout): layout as layout
11287 (layout): layout as layout
11289 * lyxtextclass.C (compare_name): new functor to work with
11290 shared_ptr, layout as layout
11291 (Read): layout as layout
11292 (hasLayout): layout as layout
11293 (operator): layout as layout
11294 (delete_layout): layout as layout
11295 (defaultLayout): layout as layout
11297 * lyxlayout_ptr_fwd.h: new file
11299 * lyxlayout.C (Read): layout as layout
11301 * lyx_cb.C (MenuInsertLabel): layout as layout
11303 * bufferlist.C (newFile): layout as layout
11305 * buffer.C (readLyXformat2): layout as layout
11306 (parseSingleLyXformat2Token): layout as layout
11307 (insertStringAsLines): layout as layout
11308 (asciiParagraph): layout as layout
11309 (latexParagraphs): layout as layout
11310 (makeLinuxDocFile): layout as layout
11311 (simpleLinuxDocOnePar): layout as layout
11312 (makeDocBookFile): layout as layout
11313 (simpleDocBookOnePar): layout as layout
11314 (getLists): layout as layout
11316 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11318 * CutAndPaste.C (cutSelection): layout as layout
11319 (pasteSelection): layout as layout
11320 (SwitchLayoutsBetweenClasses): layout as layout
11322 * BufferView_pimpl.C (Dispatch): layout as layout
11323 (smartQuote): layout as layout
11325 * BufferView2.C (unlockInset): layout as layout
11327 2002-06-24 André Pönitz <poenitz@gmx.net>
11329 * lyxfunc.C: fix #487
11331 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11335 * lyxfunc.C: remove display_shortcuts, show_banner
11337 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11339 * Buffer_pimpl.C: oops, update on resize
11341 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11348 * BufferView.C: use repaint()
11350 * BufferView_pimpl.h:
11351 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11352 as it's a clearer description. Remove superfluous
11355 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11357 * text.C: fix bug 488. Not ideal, but getting
11358 getWord() to work properly for the insets that
11359 matter is more difficult ...
11361 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11363 * BufferView_pimpl.C:
11366 * lyxfunc.C: remove the six million index lyxfuncs to just
11367 one, and DTRT (bug 458)
11369 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11373 * BufferView_pimpl.h:
11374 * BufferView_pimpl.C: clean up resize() stuff,
11375 and unnecessary updateScreen()s
11377 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11381 * BufferView_pimpl.h:
11382 * BufferView_pimpl.C:
11385 * minibuffer.C: remove focus management of workarea,
11386 not needed. Use screen's greyOut()
11388 2002-06-17 Herbert Voss <voss@lyx.org>
11390 * converter.C: (convert) do not post a message, when converting
11391 fails, let the calling function decide what to do in this case
11393 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11395 * lyxfunc.C: tidy up a little
11397 2002-06-16 <alstrup@diku.dk>
11399 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11400 Got rid of FORMS_H_LOCATION include. Now we are
11403 2002-06-15 LyX Development team <lyx@rilke>
11405 * buffer.[Ch] (sgmlOpenTag):
11406 (sgmlCloseTag): Added support for avoiding pernicious mixed
11407 content. Return number of lines written.
11409 (makeLinuxDocFile):
11410 (makeDocBookFile): Fixed calls to sgml*Tag.
11411 Simple white space clean.
11413 (simpleDocBookOnePar): Simple white space clean.
11415 * tabular.[Ch] (docBook): Renamed to docbook and got another
11416 argument to related with the pernicious mixed content.
11418 (docbookRow): Fixed calls for docbook inset method.
11420 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11422 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11423 so it's X11 independent.
11427 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11429 2002-06-15 Lyx Development team <lyx@electronia>
11431 * intl.h: Renamed getTrans to getTransManager.
11433 2002-06-14 Angus Leeming <leeming@lyx.org>
11435 * Makefile.am: nuke forgotten stl_string_fwd.h.
11437 2002-06-12 Angus Leeming <leeming@lyx.org>
11439 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11441 2002-06-13 Angus Leeming <leeming@lyx.org>
11444 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11446 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11448 * kbmap.C (getiso): add support for cyrillic and greek
11450 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11454 * BufferView_pimpl.h:
11455 * BufferView_pimpl.C: move bogus scrolling logic
11458 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11461 * BufferView_pimpl.C: view->resize() change
11463 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11465 * BufferView_pimpl.C: topCursorVisible
11468 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11472 * lyx_gui.C: move to frontends/
11476 * lyx_main.C: changes from above
11478 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11485 * lyx_main.C: minor tidy
11487 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11489 * BufferView_pimpl.h:
11490 * BufferView_pimpl.C:
11492 * BufferView.C: make painter() const,
11495 * BufferView2.C: use screen() accessor
11498 * lyx_main.C: some minor cleanup
11500 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11502 * BufferView_pimpl.h:
11503 * BufferView_pimpl.C: remove enter/leaveView,
11506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11511 * BufferView_pimpl.h:
11512 * BufferView_pimpl.C: only construct screen once,
11515 * lyxrc.C: remove pointless comment
11517 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11520 * BufferView.C: remove active() and belowMouse()
11522 * BufferView_pimpl.h:
11523 * BufferView_pimpl.C: use workarea() not workarea_,
11524 and make it use a scoped_ptr instead
11526 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11528 * lyx_gui.C: add debug message on BadWindow
11530 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11532 * sp_spell.C: fdopen is not part of the C++ standard.
11534 * paragraph.C (InsetIterator): use >= instead of ==
11536 2002-06-07 Angus Leeming <leeming@lyx.org>
11538 Fixes needed to compile with Compaq cxx 6.5.
11539 * BufferView_pimpl.C:
11546 * lyxtextclasslist.C:
11551 all c-library variables have been moved into namespace std. Wrap
11552 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11557 Add a using std::abs declaration.
11559 * kbmap.h (modifier_pair):
11560 * paragraph.h (InsetTable, InsetList):
11561 * lyxfont.h (FontBits):
11562 type definition made public.
11564 * bufferlist.C (emergencyWriteAll): the compiler complains that
11565 there is more than one possible lyx::class_fun template to choose from.
11566 I re-named the void specialisation as lyx::void_class_fun.
11568 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11570 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11571 the compiler is is unable to find tostr in write_attribute.
11573 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11575 * buffer.C (sgmlError): hide #warning
11577 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11579 * xtl/*: get rid of xtl, which is not in use anyway
11581 * LyXAction.C (init):
11582 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11583 were unimplemented xtl experimentation
11585 2002-06-04 André Pönitz <poenitz@gmx.net>
11587 * lyxfunc.C: disable array operation on simple formulae
11589 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11591 * converter.C: constify a bit
11593 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11595 * lyx_gui.C: check xforms version correctly
11597 2002-04-30 Herbert Voss <voss@lyx.org>
11599 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11602 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11604 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11605 attempt to register it with a VCS)
11607 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * lyx_main.C (init): honor variables LYX_DIR_13x and
11612 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11616 * lyx_main.C: fix a crash on bad command line,
11617 and give a useful exit status on error
11619 * lyxfunc.C (doImport): allow -i lyx to work
11621 2002-03-30 André Pönitz <poenitz@gmx.net>
11623 * lyxfunc.C: mathed font changes
11625 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11640 * trans_mgr.h: srcdocs, and some minor cleanups
11642 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11644 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11645 call getFont all the time)
11647 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11649 * switch from SigC signals to boost::signals
11651 2002-05-29 André Pönitz <poenitz@gmx.net>
11653 * paragraph_pimpl.C (getChar): don't call size() too often...
11655 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * paragraph_pimpl.C (insertChar): do not try to update tables when
11658 appending (pos == size())
11660 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11661 in order to reduce drastically the number of comparisons needed to
11662 parse a large document
11664 2002-05-29 André Pönitz <poenitz@gmx.net>
11670 * textclasslist.[Ch]:
11671 * sp_ispell.h: whitespace change
11673 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11675 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11676 lyxaction directly now.
11678 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11682 * lyxvc.C: remove unused headers
11684 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11691 * undo_funcs.C: some cleanups. Use shared_ptr
11692 and a template for the undo stacks.
11694 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11696 * BufferView_pimpl.h:
11697 * BufferView_pimpl.C:
11704 * text2.C: use key_state/mouse_state
11706 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11708 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11711 * chset.C: change include order
11712 (loadFile): use boost regex and get rid of LRegex and LSubstring
11714 * Makefile.am (BOOST_LIBS): new variable
11715 (lyx_LDADD): use it
11717 * LaTeX.C: change include order.
11718 (scanAuxFile): use boost regex and get rid of LRegex and
11722 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11727 * FontInfo.C: moved to frontends/xforms/
11730 * FontLoader.C: moved into frontends for GUIIzation
11735 * lyxfunc.C: changes from above
11737 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11739 * LColor.C: remove spurious X include
11741 * BufferView_pimpl.C:
11746 * text2.C: move font metrics to frontends/
11748 2002-05-24 Juergen Vigna <jug@sad.it>
11750 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11751 setting the undo_cursor.
11753 * ParagraphParameters.h: include local includes first.
11755 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11757 * BufferView_pimpl.C:
11758 * BufferView_pimpl.h:
11762 * screen.C: move WorkArea into frontends/
11768 * BufferView2.C: move LyXScreen into frontends/
11772 * lyx_gui.C: move lyxlookup into frontends/xforms/
11774 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11777 * BufferView_pimpl.C:
11787 * bufferview_funcs.C:
11800 * vc-backend.C: move LyX/XFormsView into frontends/
11802 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11814 * text2.C: move Painter to frontends/
11816 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11818 * buffer.C: comment out some some code that depend upon lyx_format
11821 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11822 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11824 * buffer.h (NO_COMPABILITY): turn off compability
11826 * ColorHandler.C: include scoped_array.hpp
11828 * font.C: Use more specific smart_ptr header.
11831 * ShareContainer.h: ditto
11832 * lyx_main.h: ditto
11834 * FontInfo.h: ditto
11835 * BufferView_pimpl.h: ditto
11836 * ColorHandler.h: ditto
11838 * kbmap.C (defkey): change call to shared_ptr::reset
11840 2002-05-21 Juergen Vigna <jug@sad.it>
11842 * buffer.C (insertErtContents): fix to insert ert asis if it is
11843 non empty. Skip it completely if it contains only whitespaces.
11845 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11847 * BufferView_pimpl.C:
11848 * BufferView2.C: clear selection on paste (bug 393)
11850 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * DepTable.C: include ctime
11854 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11856 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11858 2002-05-14 Juergen Vigna <jug@sad.it>
11860 * text.C (breakParagraph): fixed function to honor the keepempty
11861 layout in the right maner and also to permit the right breaking
11862 algorithm on empty or non empyt keepempty paragraphs.
11864 * paragraph.C (breakParagraph): we have to check also if the par
11865 is really empty (!size()) for isempty otherwise we do the wrong
11868 2002-05-10 Juergen Vigna <jug@sad.it>
11870 * buffer.[Ch] : The following are only changes to the ert
11871 compatibility read reading old LaTeX layout and font stuff and
11872 convert it to ERTInsets.
11874 * buffer.h: added isErtInset().
11876 * buffer.C (struct ErtComp): add a fromlayout bool to check
11877 if we're inside a LaTeX layout.
11878 (isErtInset): new helper function.
11879 (insertErtContents): look for other ert insets before this one
11880 and insert the contents there, so that we don't have subsequent
11881 ERT insets with nothing between them. This way we create only one
11882 inset with multiple paragraphs. Also check if we don't insert only
11883 spaces ' ' as they are ignored anyway afterwards in the .tex file
11884 so if we have only spaces we will ignore this latex part in the
11886 (parseSingleLyXformat2Token \\layout): better compatibility when
11887 reading layout-latex stuff.
11888 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11890 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11891 stuff after reading the inset only get the information back from
11894 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11896 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11898 * LaTeXFeatures.C (getBabelOptions): New method.
11900 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11902 * BufferView_pimpl.C (Dispatch): work around missing argument for
11905 2002-05-08 Juergen Vigna <jug@sad.it>
11907 * text.C (leftMargin): handle paragraph leftindent.
11909 * paragraph.C (writeFile): write the new \\leftindent tag.
11910 (validate): handle leftindent code.
11911 (TeXEnvironment): handle paragraphleftindent code again.
11913 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11915 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11916 for paragrap_extra indent code and new token \\leftindent.
11917 (latexParagraphs): handle the leftindent as environment.
11919 * ParameterStruct.h: added leftindent support.
11921 * ParagraphParameters.C (leftIndent): added support functions for
11922 the paragraph left indent.
11924 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11927 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11929 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11932 * text.C (computeBidiTables): No bidi in insetERT.
11934 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11937 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11939 * version.C.in: pre 5
11941 2002-05-02 José Matos <jamatos@fep.up.pt>
11942 * buffer.C (makeDocBookFile): white space changes, add newline to
11944 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11946 * tabular.C (docBook): fix typo.
11948 2002-05-03 Juergen Vigna <jug@sad.it>
11950 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11951 change in LyXText as we can not be sure it was not freed.
11952 (drawOneRow): remove unused code.
11954 * text.C (drawInset): redo the calculation of the need_break_row as
11955 it could have a row which was already freed.
11956 (draw): look at the return value of drawInset and return false if
11957 it also returned false.
11958 (paintRowText): look at the return value of draw and return false if
11959 it also returned false.
11961 * lyxtext.h: added bool return type to drawInset() and draw() so that
11962 if we have a change in the row so that the rowbreak has to be redone
11963 we abort drawing as it will be called again.
11965 2002-05-02 Juergen Vigna <jug@sad.it>
11967 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11968 a change in the maintext also if we're inside an inset.
11969 (Dispatch): set the cursor again after a break line and after the
11970 screen has been updated as it could be we're in a different row.
11972 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11973 to set the cursor behind the pargraph with > size().
11974 (setCursor): check also for the same paragraph when checking where
11975 to put the cursor if we have a NFR inset.
11977 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11978 parts of layout read further up as it still was in the wrong
11981 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11983 * screen.C (drawFromTo): change sine fullRebreak always return
11986 * buffer.C (parseSingleLyXformat2Token): reindent some
11988 * BufferView_pimpl.C (update): change since fullRebreak always
11990 (Dispatch): git rid of the last hardcoded "Standard"s.
11992 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11994 * text2.[Ch] (fullRebreak): make it return void now that we always
11997 2002-04-30 Juergen Vigna <jug@sad.it>
11999 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12000 ert compatibility check for "latex" layout.
12002 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12004 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12005 minipages: use col% instead of p%, and also use the current font.
12006 (makeLaTeXFile): Fix use babel condition.
12007 (parseSingleLyXformat2Token): Correct font when reading old floats.
12009 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12011 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12012 inserting list of floats.
12014 2002-04-25 Herbert Voss <voss@lyx.org>
12016 * MenuBackend.C (expand): don't add the graphics extensions to the
12019 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12021 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12022 non-existing layout, do not complain if it was the default layout
12023 of the original class (bug #342)
12025 2002-04-24 Juergen Vigna <jug@sad.it>
12027 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12028 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12030 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12032 * buffer.C (getBibkeyList): If using \bibliography, return the
12033 option field with the reference itself. Enables us to provide natbib
12034 support when using \bibliography.
12036 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12038 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12040 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12041 natbib is provided by the LaTeX class.
12043 2002-04-23 Juergen Vigna <jug@sad.it>
12045 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12048 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12050 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12052 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12054 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12055 ensuremath around textordmasculine, textordfeminine and
12058 2002-04-19 Juergen Vigna <jug@sad.it>
12060 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12061 reinitializing the buffer otherwise row-dimensions may be wrong.
12062 (update): reset also the selection cursors if they do exits otherwise
12063 their x/y positions may be wrong.
12065 * text2.C (cursorDown): don't enter the inset if we came from a row
12066 above and are one row over the inset.
12068 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12069 really leaving an inset.
12071 2002-04-18 Juergen Vigna <jug@sad.it>
12073 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12074 of the selected paragraph does not have the selected layout also if
12077 * text2.C (setLayout): fixed bug which did not change last selected
12080 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12081 changed the read and substituted \\end_float with \\end_inset!
12083 * BufferView_pimpl.C (cursorPrevious):
12084 (cursorNext): fixed to make it work with rows heigher than the work
12085 area without moving the cursor only the draw of the row.
12086 (workAreaMotionNotify): fix jumping over high rows.
12088 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12090 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12093 2002-04-16 Juergen Vigna <jug@sad.it>
12095 * text2.C (setCursor): set also the irow().
12096 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12098 (cursorDown): support for locking an inset if the x_fix value goes
12099 inside it. That way I can transverse insets too with cursor up/down.
12101 * lyxrow.h: added irow helper function same as other (i) functions.
12103 * BufferView_pimpl.C (cursorPrevious):
12104 (cursorNext): fixed for insets!
12106 2002-04-15 Juergen Vigna <jug@sad.it>
12108 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12109 position otherwise it is wrong in some cases.
12111 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12112 inside the inset before the call.
12114 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12116 * buffer.[Ch] (getBibkeyList): make it const.
12118 2002-04-12 Juergen Vigna <jug@sad.it>
12120 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12122 * text2.C (getCursorX): new helper function
12123 (setCursor): compute also ix_
12124 (setCursorFromCoordinates): set also ix.
12126 * lyxcursor.h: added ix_ and helper functions.
12128 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12130 * buffer.C (insertStringAsLines): dont break paragraph if the this
12131 paragraph is inside an inset which does not permit it!
12133 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12134 also with no chars on this paragraph.
12135 (paintRowText): only paint stuff if it's inside the workarea!
12137 * paragraph.C (breakParagraph): honor keepempty flag and break the
12138 paragraph always below not above.
12140 * BufferView2.C (unlockInset): update the paragraph layout on inset
12141 unlock as we changed paragraph in such a case.
12143 * lyxfind.C (LyXFind): clear the former selection if not found!
12145 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12146 again called in insertChar().
12148 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12149 an inset which uses the whole row!
12150 (rightMargin): ditto.
12151 (insertChar): force a rebreak if we inserted an inset!
12153 2002-03-28 Herbert Voss <voss@lyx.org>
12155 * lyxlength.[Ch]: add inBP() to get the right PS-point
12156 units (BigPoint). With inPixels we have rounding errors
12158 2002-04-11 Juergen Vigna <jug@sad.it>
12160 * text2.C (setCursorFromCoordinates): set iy to the right value.
12161 (setCursor): add check if row->previous exists!
12163 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12164 an old float_type as this was the case in the old code!
12166 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12168 * BufferView2.C (showLockedInsetCursor): use iy
12169 (fitLockedInsetCursor): ditto
12171 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12172 locked insets as there we have the right value now.
12174 * lyxcursor.C: added iy_ variable and iy functions to set to the
12175 baseline of cursor-y of the locked inset.
12177 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12178 (setCursor): fixed for insets which need a full row.
12180 * text.C (rowLastPrintable): don't ignore the last space when before
12181 an inset which needs a full row.
12182 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12183 as last character of a row when before a inset which needs a full row.
12185 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12187 * version.C.in: update date
12189 * text2.C (fullRebreak): try to always return true and see what
12192 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12194 * MenuBackend.C (expand): use Floating::listName
12196 * FloatList.C (FloatList): add listName argument to the built-in
12199 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12200 text associated with the float.
12202 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12204 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12206 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12208 * ShareContainer.h: add a couple of missing typenames.
12210 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12212 * lyxrc.C (getDescription): use _() correctly rather than N_().
12214 2002-03-28 Herbert Voss <voss@lyx.org>
12216 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12217 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12219 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12221 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12222 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12224 2002-03-29 Juergen Vigna <jug@sad.it>
12226 * lyxfunc.C (dispatch): add a missing fitCursor call.
12228 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12229 it was scrolled by a cursor move, so return the bool status.
12231 * BufferView.C (fitCursor): return the bool flag also to the outside
12232 world as this is needed.
12234 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12236 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12237 call the edit() as it is not needed (and wrong) IMO.
12238 (workAreaButtonPress): set the screen_first variable before evt.
12239 unlock the inset as this may change screen_first and then we have
12240 a wrong y position for the click!
12242 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12244 * MenuBackend.C (expand): another translation that I missed
12246 2002-03-28 Juergen Vigna <jug@sad.it>
12248 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12250 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12252 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12254 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12256 * MenuBackend.C (expand): fix export/view/update when there is no
12259 2002-03-27 Herbert Voss <voss@lyx.org>
12261 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12264 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12266 * bufferview_funcs.C (currentState): only show paragraph number
12267 for is DEVEL_VERSION is set.
12269 * lyxfunc.C (dispatch): put warning in INFO channel
12271 * MenuBackend.C (expand): translate the name of floats
12273 * FloatList.C (FloatList): mark the float names for translation
12275 * converter.C (convert): use LibScriptSearch
12277 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12279 * MenuBackend.C (defaults): fix default menu (we might as well get
12282 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12284 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12287 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12289 * lyxvc.C: reorder includes.
12291 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12293 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12296 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12298 * CutAndPaste.C: change layouts earlier on paste
12299 to avoid crashing when calling getFont()
12301 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12303 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12306 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * WorkArea.C: remove 'Pending' debug message.
12310 * most files: ws cleanup
12312 * buffer.[Ch]: ws changes
12314 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12316 2002-03-21 Juergen Vigna <jug@sad.it>
12318 * tabular.C (SetMultiColumn): collapse also the contents of the
12319 cells and set the last border right. Added a Buffer const * param.
12321 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12326 2002-03-19 Juergen Vigna <jug@sad.it>
12328 * text2.C (clearSelection): reset also xsel_cache.
12330 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12331 where it needs to be called (John tells us to do so too :)
12332 (selectionLost): reset sel_cache.
12334 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12336 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12338 * text2.C (setCursorIntern): put debuging code in INSETS channel
12340 2002-03-19 André Pönitz <poenitz@gmx.net>
12342 * lyxfunc.C: tiny whitespace change
12344 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12346 * ToolbarDefaults.C (init):
12347 * LyXAction.C (init):
12349 * BufferView_pimpl.C (Dispatch):
12350 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12352 2002-03-19 Allan Rae <rae@lyx.org>
12354 * exporter.C (Export): removeAutoInsets before doing anything else.
12355 While I've just introduced a dependency on BufferView this really is
12356 the best place to clean the buffer otherwise you need to cleanup in
12357 a dozen places before calling export or cleanup in a dozen functions
12360 * converter.C (runLaTeX):
12361 (scanLog): Better handling of removeAutoInsets and screen updates.
12363 * lyxfunc.C (dispatch): small whitespace changes
12365 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12367 * WorkArea.C (C_WorkAreaEvent): return a value.
12368 (event_cb): return 1 if we handled the event, 0 otherwise.
12370 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12372 2002-03-18 Juergen Vigna <jug@sad.it>
12374 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12375 (GetAdditionalWidth): ditto.
12376 (RightLine): ditto.
12379 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12380 inset if we're there actually (probably not used right now but this
12381 is the direction to go for unifying code).
12382 (paste): disable code to clear the selection.
12384 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12385 inside an InsetText and move the check further up as it is in the
12388 * text2.C (pasteSelection): set a selection over the pasted text.
12390 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12392 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12393 and libgraphics to build on Cygwin.
12395 2002-03-15 Juergen Vigna <jug@sad.it>
12397 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12398 inserting an Inset into the paragraph. I know this is not the best
12399 fix but we already use current_view in CutAndPaste so we will remove
12400 all of it's using at the same time.
12402 * buffer.C (sgmlError): deactivated function till it is rewritten in
12403 the right mode, now it can create problems.
12405 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12406 before accessing it.
12408 2002-03-14 Juergen Vigna <jug@sad.it>
12410 * undo_funcs.C (textHandleUndo): do the right thing when updating
12411 the inset after the undo/redo.
12413 * text2.C (setCursor): just some testcode for #44 not ready yet.
12415 * undo_funcs.C (textHandleUndo): set the next() and previous()
12416 pointers of the paragraph to 0 before deleting otherwise we have
12417 problems with the Paragraph::[destructor].
12419 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12420 on a paragraph insertion.
12422 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12424 * buffer.C (asciiParagraph): use += operator for char append to
12427 * paragraph.C (getFontSettings): compare >= not just >
12428 (highestFontInRange): ditto
12431 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12433 * paragraph.C: change several algorithm to be more appripriate for
12434 the problem domain. This is lookip in FontList and in the InsetList.
12436 2002-03-13 André Pönitz <poenitz@gmx.net>
12439 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12441 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12446 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12448 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * Painter.C (display): anon helper function, adjust code for this
12452 (pixmap): remove function.
12454 * Painter.h: remove private display variable.
12456 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12458 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12460 * WorkArea.[Ch]: remove figinset_canvas cruft.
12462 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12464 * lyxtextclass.C (operator): add one item cache optimization.
12466 * bufferlist.h: doxy changes
12468 * bufferlist.C: ws changes
12470 * DepTable.[Ch] (ext_exist): place const in the right spot.
12472 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12474 (workAreaExpose): call resizeInsets when the with BufferView changes.
12475 (Dispatch): adjust for protectedBlank removal
12476 (specialChar): call updateInset if the insert went ok.
12478 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12479 specialChar instead.
12481 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12483 * BufferView.h: doxy change
12485 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12487 * lyxtextclass.C (operator[]): remove non-const version
12488 (defaultLayout): remove non-const version
12490 2002-03-12 Juergen Vigna <jug@sad.it>
12492 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12493 did resize the LyXText too.
12495 * buffer.C (readLyXformat2): set layout information on newly allocated
12498 * tabular.C (OldFormatRead): set layout information on the paragraph.
12500 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12502 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12504 2002-03-11 Juergen Vigna <jug@sad.it>
12506 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12508 (resizeCurrentBuffer): force also the insets to resize themselfes.
12509 (moveCursorUpdate): fixed up for InsetText.
12511 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12514 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12515 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12516 value of Dialogs::tooltipsEnabled().
12517 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12519 2002-03-08 Juergen Vigna <jug@sad.it>
12521 * BufferView_pimpl.C (updateInset): update inset inside inset also
12522 if it isn't inside theLockingInset().
12524 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * buffer.C (asciiParagraph): redo some of the word and line length
12528 (getLists): look for Caption instead of caption.
12530 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12532 * buffer.C (Buffer): initialize niceFile to true
12534 (makeLinuxDocFile):
12535 (makeDocBookFile): make sure niceFile is true on exit
12537 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12539 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12541 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12543 * LyXSendto.C: remove.
12544 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12545 * lyx_gui.C: remove now-redundant comment.
12546 * ColorHandler.h: remove forward declaration of class WorkArea.
12547 * lyxfunc.C: remove #include "WorkArea.h".
12549 2002-03-07 Juergen Vigna <jug@sad.it>
12551 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12552 got moved away with the DEPM and also set the inset_owner always
12553 right which before could have been omitted.
12555 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12557 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12558 wanted layout is not found.
12560 2002-03-07 Juergen Vigna <jug@sad.it>
12562 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12564 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12566 * paragraph.C (breakParagraph): use default layout not layout of
12568 (Paragraph): clear ParagraphParameters.
12570 2002-03-06 Juergen Vigna <jug@sad.it>
12572 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12573 otherwise it would not be a valid lenght. Fixed a special case in
12574 the minipage compatibility read where we end the document with a
12577 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12578 was set as it could be 0 for InsetTexts first entry.
12580 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12582 * paragraph.C (writeFile): if layout is empty write out
12583 defaultLayoutName().
12585 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12586 file without named layout we set layout to defaultLayoutName().
12588 2002-03-06 Juergen Vigna <jug@sad.it>
12590 * CutAndPaste.C (copySelection): set layout for new paragraph.
12592 * text.C (prepareToPrint): leave ERT inset left aligned
12593 (leftMargin): don't indent paragraphs inside ERT insets
12595 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12597 * paragraph.C (breakParagraph): dont call clear do the work manually
12599 * paragraph.[Ch] (clear): remove function
12601 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12603 * paragraph.C (Paragraph): dont call clear, the work has already
12606 * lyxtextclass.C (operator): assert if n is empty
12608 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12609 work manually instead.
12611 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12613 * BufferView_pimpl.C: protect selectionLost against text == 0
12615 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12617 * text.C (breakParagraph): fix a setting layout to '0' problem.
12619 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12621 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12622 final location of file, for the included files, and graphics.
12624 2002-03-05 Juergen Vigna <jug@sad.it>
12626 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12628 2002-03-04 Juergen Vigna <jug@sad.it>
12630 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12632 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12633 last column of multicolumn cells.
12634 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12636 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12638 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12639 file if it doesn't go to a temporary file.
12641 * buffer.C (sgmlOpenTag):
12642 (sgmlCloseTag): remove extra newline insertion.
12644 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12646 * text.C (getRowNearY): comment out debug msg
12648 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * text2.C: first -> first_y
12652 * text.C (getRowNearY): add some attemts at a possible
12653 optimization, not working.
12655 * tabular.[Ch]: add BufferParams to several function so that newly
12656 created paragraph can be initialized to he default layotu for the
12659 * tabular-old.C (ReadOld): add buf->params to call of Init
12661 * screen.C: rename text->first to text->first_y
12663 * paragraph.C (breakParagraph): always set layout in the broken
12666 * lyxtextclass.C (Read): remove lowercase
12669 (delete_layout): ditto
12671 * lyxtext.h: rename first -> first_y
12673 * lyxlayout.C (Read): remove lowercase
12676 (obsoleted_by): ditto
12678 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12680 * buffer.C (insertErtContents): add params are to InsetERT
12681 (parseSingleLyXformat2Token): add code to check if a paragraphs
12682 layout really exist.
12683 (parseSingleLyXformat2Token): add params to several inset
12685 (asciiParagraph): remove lowercase, do the layout comparisons with
12688 * BufferView_pimpl.C (cursorNext): first -> first_y
12689 (resizeCurrentBuffer): first -> first_y
12690 (updateScrollbar): first -> first_y
12691 (scrollCB): first -> first_y
12692 (workAreaMotionNotify): first -> first_y
12693 (workAreaButtonPress): first -> first_y
12694 (checkInsetHit): first -> first_y
12695 (cursorPrevious): first -> first_y
12696 (cursorNext): first -> first_y
12697 (Dispatch): add buffer_->params to severl inset contructors
12699 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12701 * lyxlayout.C (Read): remove some debug info that I forgot.
12703 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12704 clean up the code slightly.
12705 (makeLinuxDocFile): ditto
12706 (makeDocBookFile): ditto
12708 * text2.C: layout as string
12710 * text.C: layout as string
12712 * paragraph_pimpl.C: layout as string
12714 * paragraph.[Ch]: layout as string
12716 * lyxtextclasslist.[Ch]: layout as string
12718 * lyxtextclass.[Ch]: layout as string
12720 * lyxtext.h: layout as string
12722 * lyxlayout.[Ch]: layout as string
12724 * lyx_cb.C: layout as string
12726 * bufferview_funcs.C: layout as string
12728 * bufferparams.C: layout as string
12730 * buffer.C: layout as string
12732 * LyXView.[Ch]: layout as string
12734 * LaTeXFeatures.[Ch]: layout as string
12736 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12738 * BufferView_pimpl.C: change current_layout to string, remove
12743 (workAreaButtonRelease): layout as string
12745 * BufferView2.C (unlockInset): adjust
12747 * vspace.C (asLatexCommand): use an explict temp variable.
12749 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12751 * Makefile.am: use FRONTEND_*
12753 2002-03-01 Juergen Vigna <jug@sad.it>
12755 * tabular.C (SetWidthOfMulticolCell): changed to something better
12756 I hope but still work in progress.
12757 (recalculateMulticolumnsOfColumn): renamed function from
12758 recalculateMulticolCells as it is more appropriate now.
12759 (SetWidthOfCell): calculate multicols better.
12761 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12763 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12765 * lyxfunc.C (processKeySym): print sequence also if it is
12766 `deleted' (complete)
12768 * kbsequence.C (print): print sequence even if it is deleted
12769 (complete would be a better word, actually).
12771 * lyxfunc.C (dispatch): print complete options after a prefix key
12773 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12775 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12777 * text2.C (setCharFont): eliminate setCharFont code duplication.
12779 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12781 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12782 LFUN_TABULAR_FEATURE (bug #177)
12784 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12786 * Makefile.am: remove figure.h
12788 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12790 * Bufferview_pimpl.C:
12802 * text2.C: remove #include "lyx_gui_misc.h".
12804 * LaTeX.C: added #include <cstdio>
12806 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12808 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12809 that the paragraph following this one can have.
12811 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12813 * vspace.C (asLatexCommand): fix bogus gcc warning
12815 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12817 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12819 * text2.C (setLayout): get rid of redundant code
12821 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12823 * text2.C (incDepth): make sure depth cannot be increased beyond
12826 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12828 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12829 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12831 * PainterBase.h (image):
12832 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12833 a LyXImage const *.
12835 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12839 * BufferView_pimpl.C:
12840 * BufferView_pimpl.h:
12860 * sp_spell.C: remove fig inset, and the crap house of
12861 cards that follows it
12863 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12868 * os2_errortable.h:
12869 * nt_defines.h: move .h into support/
12871 * vms_defines.h: remove
12873 * WorkArea.C: add space in debug output
12877 * buffer.C: add WITH_WARNINGS
12881 * bufferlist.C: s/retrive/retrieve/, add docs
12890 * chset.C: add docs
12892 * lyxgui.C: add ID to X error handler
12894 * lyxtestclass.c: fix typo
12896 2002-02-26 Juergen Vigna <jug@sad.it>
12898 * tabular_funcs.C (write_attribute): changed so that some default
12899 attributes are not written at all.
12900 (getTokenValue): set default values before trying to read the
12901 value so we have the return value always set as default if we don't
12902 find the token we search for.
12904 * tabular.C (Write): write bools as bools not as strings!
12906 2002-02-22 Juergen Vigna <jug@sad.it>
12908 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12909 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12911 * text.C (leftMargin): don't add an indent for paragraphs inside
12912 tabular cells (fix #208).
12914 2002-02-21 José Matos <jamatos@fep.up.pt>
12916 * tabular.C (docBook): fixed support for long tables.
12918 2002-02-20 Juergen Vigna <jug@sad.it>
12920 * text2.C (getFont): get the drawing font of the Inset if this
12921 paragraph is inside an inset (only important for InsetERT for now).
12923 * buffer.C (insertErtContents): use new lanugage params in ERT
12926 * CutAndPaste.C: commenting out seemingly uneeded code.
12928 2002-02-19 Allan Rae <rae@lyx.org>
12930 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12931 Iterators might be simple to use but they also get invalidated.
12932 (removeAutoInsets): renamed saved cursor tracking variables and added
12933 some comments to clarify what everything does.
12935 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12942 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12943 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12946 * vc-backend.h: remove #include "support/syscall.h"
12950 * converter.C: rearrange #includes in Lars' approved fashion.
12952 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12953 forward declare class Timeout in the header file.
12955 * XFormsView.C: changes due to the above.
12957 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12958 similar to LyXView.
12960 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12961 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12963 2002-02-18 José Matos <jamatos@fep.up.pt>
12965 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12968 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12970 * a lot of small ws changes
12971 * add a lot of using std::XXX
12972 * use std construcs some places where approp.
12973 * use some exisint stuff from lyxfunctional where approp.
12974 * Make file changes to use partial linking (lets test this now...)
12976 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12980 remove #include "support/syscontr.h" as it's redundant. Always has been.
12988 change Systemcalls::System to Systemcalls::Wait and
12989 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12990 No change of functionality, just reflects the stripped down Systemcalls
12993 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12995 * debug.[Ch]: add a GRAPHICS type to the enum.
12997 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12999 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13001 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13004 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13006 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13007 match the changes below.
13009 * text2.C (toggleInset): if there is not editable inset at cursor
13010 position, try to see if cursor is _inside_ a collapsable inset
13013 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13015 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13016 document menu has a nice checkbox
13018 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13020 * lyxlength.C (asLatexString): change PW to output as percent of
13023 * lengthcommon.C: change '%' to 't%'
13025 * lyxfunc.C (dispatch): a few comments from Martin
13027 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13031 * BufferView_pimpl.h:
13032 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13035 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13037 * vspace.C (inPixels): fix compiler warning
13039 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13041 * lyxfunc.C (getStatus): fix status message for disabled commands.
13043 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13045 * BufferView_pimpl.C: fix crash on close buffer
13046 during selection (#227)
13048 2002-01-27 Herbert Voss <voss@lyx.org>
13050 * buffer.C: link old Figure to new graphic inset
13052 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13054 * FontLoader.C (getFontinfo): Change the latex font names in order
13055 to match the names of type1inst.
13057 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13061 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13062 (extchanged): ditto
13064 (remove_files_with_extension): ditto
13065 (remove_file): ditto
13068 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13069 document is smaller than the work area height. Do not initialize
13070 static variables to 0.
13072 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13074 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13076 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13077 LFUN_LAYOUT_PARAGRAPHS.
13079 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13080 tabular. It is possible to provide a possible cell, which will
13081 typically be the actcell from the corresponding insettabular
13083 * lyxfunc.C (getStatus): small cleanup; disable
13084 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13087 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13089 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13091 * paragraph.C (startTeXParParams):
13092 (endTeXParParams): new methods. The LaTeX code to
13093 start/end paragraph formatting
13094 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13095 empty (fixes bug #200)
13097 * vspace.C (inPixels): adapt to the change below
13098 (inPixels): [later] more cleanups (remove unused variables)
13100 * lyxlength.C (inPixels): change to use a width and a height as
13103 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13105 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13106 Replaced with \paperwidth
13108 * DepTable.C (insert): add std:: qualifier
13110 2002-01-18 Allan Rae <rae@lyx.org>
13112 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13115 * text.C (drawInset): Turned out I didn't know enough about how
13116 rebreaking worked. This fixes most of the redraw problems. I see
13117 an occasional cursor trail when a line is broken now and the cursor
13118 placement can seem out by a few pixels also after a rebreak.
13120 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13122 * buffer.C (parseSingleLyXformat2Token): update because minipage
13123 width is now a LyXLength
13125 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13127 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13130 2002-01-17 Juergen Vigna <jug@sad.it>
13132 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13134 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13135 is set correctly and the inset is updated correctly.
13137 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13139 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13140 the beginning of the loop.
13142 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13144 * lyxrc.C: improve help for use_scalable_fonts
13146 2002-01-17 Allan Rae <rae@lyx.org>
13148 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13150 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13152 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13153 make sure to set their inset_owner to the right value (bug #171)
13155 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13158 * DepTable.C: Implement mtime checking to reduce time spent doing
13161 2002-01-16 Juergen Vigna <jug@sad.it>
13163 * tabular.C (GetAdditionalHeight): one of error fixed.
13165 * lyxrc.C (output): small fix in writing use_pspell.
13167 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13169 * sp_base.h: #include LString.h
13171 2002-01-16 Allan Rae <rae@lyx.org>
13173 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13174 Can someone check this please?
13176 * text.C (drawInset): It was possible that p.row would be removed by
13177 breakAgainOneRow upsetting a few other settings. There may be another
13178 small tweak possible by setting need_break_row = 0 when p.row has been
13179 removed but I don't know enough about the logic here.
13181 2002-01-15 Allan Rae <rae@lyx.org>
13183 * text.C (insertChar): removed conditional truism.
13185 * BufferView2.C (removeAutoInsets): More tweaks.
13186 cur_par_prev could be a stray pointer. Check for trailing empty line
13187 in case last line was cur_par and only had an error inset on it.
13189 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13191 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13194 * vc-backend.C (most methods):
13195 * exporter.C (Export):
13196 * converter.C (convert):
13198 * LyXSendto.C (SendtoApplyCB):
13199 * lyxfunc.C (dispatch):
13203 * lyx_cb.C (AutoSave):
13205 * BufferView_pimpl.C (MenuInsertLyXFile):
13206 * buffer.C (runChktex): use Buffer::filePath().
13208 * buffer.h: rename filename to filename_; rename filepath to
13209 filepath_ and make it private
13210 (filePath): new method
13212 * buffer.C (writeFile): use fileName()
13215 * lyx_main.C (init): fix starting of LyX when the binary is a
13216 link from so,ewhere else.
13218 * minibuffer.C: include <cctype> for isprint
13220 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13222 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13223 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13224 name clash with InsetCollapsable's width function.
13226 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13228 * lastfiles.C: include <iterator>
13230 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13232 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13235 * buffer.C (makeLaTeXFile): ditto.
13236 Also make loop operation more transparent.
13238 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13240 * ToolbarDefaults.C: remove trailing comma closing namespace.
13242 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13244 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13247 * trans.C (Load): comment out unused variable, allowed.
13249 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13251 * minibuffer.[Ch] (append_char): new method to recieve input from the
13252 drop-down completion browser. If a key was pressed, then recieve this
13253 char and append it to the existing string.
13254 (peek_event): modify the positioning data passed to the completion
13255 browser so that it can be placed above the minibuffer rather than below.
13256 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13258 * LyXAction.C (init): alloe error-next for readonly documents.
13260 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13263 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13265 * bufferlist.C (readFile): create the buffer _after_ checking that
13268 * lyxfunc.C (verboseDispatch): fix handling of arguments
13270 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13272 * lyxrc.C: use string::erase() instead of initializing to "".
13275 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13277 * BufferView_pimpl.h:
13278 * BufferView_pimpl.C:
13281 * text2.C: tell X when we have made a selection for copying
13283 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13285 * BufferView_pimpl.C (MenuInsertLyXFile):
13286 * lyxfunc.C (menuNew):
13288 (doImport): add shortcuts to directory buttons
13290 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13293 * lyxfunc.C (setStatusMessage):
13294 (getStatusMessage): new methods
13295 (getStatus):use setStatusMessage instead of setErrorMessage
13296 (dispatch): when function is disabled, set error message here
13297 [instead of in getStatus previously]
13299 * BufferView_pimpl.C (workAreaButtonRelease): update
13300 toolbar/menubar here too.
13302 2002-01-13 Allan Rae <rae@lyx.org>
13304 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13305 Now seems indestructible. Remaining task is to audit all other
13306 code affected by deleteEmptyParagraphMechanism. One small quirk
13307 left is that an empty document with an error in the preamble can
13308 be made to report an error but no error box appears. I don't know
13310 (removeAutoInsets): Improved comments.
13312 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13315 * Thesaurus.C: update for Aiksaurus 0.14
13317 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * text2.C (firstParagraph): removed member function, all uses
13320 replaces with ownerParagraph
13321 (redoParagraphs): here
13322 (updateInset): here
13323 (toggleAppendix): here
13324 * BufferView2.C (insertErrors): here
13325 (setCursorFromRow): here
13327 2002-01-13 Allan Rae <rae@lyx.org>
13329 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13330 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13331 There is still a way to segfault this although you may have to do this
13332 multiple times: Have an InsetERT with an unknown command in it.
13333 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13334 <down-arrow>, <Enter> again, View->DVI, BANG!
13336 * text2.C (setCursor):
13337 (deleteEmptyParagraphMechanism):
13338 * lyxtext.h (setCursor):
13339 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13340 Making use of the return value may help fix other bugs.
13342 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13344 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13346 * LyXView.C (updateMenubar): call MenuBar::update here
13347 (updateToolbar): but not here
13348 (showState): do not update toolbar/menubar
13350 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13351 should need to care about that.
13353 * lyxfunc.C (verboseDispatch): simplify a bit
13354 (getStatus): have a version which takes a pseudoaction, and
13355 another which requires a (kb_action,string).
13357 * LyXAction.C (retrieveActionArg): make it work also when action
13358 is not a pseudo-action.
13359 (getActionName): simplify a bit
13362 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13364 * lyxfunc.C (verboseDispatch): new families of methods with
13365 several ways to specify a command and a bool to indicate whether
13366 the command name and shortcut should be displayed in minibuffer
13367 (eventually, we could extend that to a finer bitmask like
13368 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13369 (dispatch): the pristine dispatch command which just, well,
13370 dispatchs! Note it still sets its result to minibuffer; I'm not
13373 * lyxfunc.h: remove setHintMessage
13375 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13377 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13379 * BufferView_pimpl.C (specialChar): delete new inset if we have
13380 not been able to insert it.
13382 * kbmap.C: revert to using int instead of kb_action, since all we
13383 are dealing with is pseudo-actions.
13385 * LyXAction.C (searchActionArg): change to return int instead of
13386 kb_action, since the result is a pseudoaction.
13388 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13390 * buffer.C (insertErtContents): Fix (partially) the font bug.
13392 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13394 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13395 as the other one is broken on my machine!
13397 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13400 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13402 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13404 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13405 reflect their actual use. Provide compatibility code for older lyxrc
13408 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13410 change names of popup font variables in line with the changes to lyxrc.C
13412 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13414 * buffer.C (asciiParagraph): avoid outputing a word twice after
13417 * lyxrc.C (getDescription): document that document_path and
13418 template_path can be empty.
13420 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13422 * LaTeXFeatures.C (getMacros):
13423 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13425 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13427 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13429 (getPackages): rename feature "floats" to "float". Use an array to
13430 iterate over 'simple' features (i.e. just a \usepackage). Add
13431 handling of "amsmath" (renamed from "amsstyle").
13433 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13435 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13438 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13440 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13441 FuncStaus::FuncStatus & FuncStaus::some_method().
13443 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13445 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13446 of the func_satus stuff. Edited and massaged in various ways by
13449 * lyxfunc.C (getStatus): use FuncStatus
13451 2002-01-08 Juergen Vigna <jug@sad.it>
13453 * text.C (nextBreakPoint): use function Inset::isChar().
13455 * paragraph.C (TeXOnePar): use function
13456 Inset::forceDefaultParagraphs.
13458 * buffer.C (latexParagraphs): use function
13459 Inset::forceDefaultParagraphs.
13461 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13463 * lyx_gui.C (init): set the style of the menu popups to
13464 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13466 2002-01-07 Juergen Vigna <jug@sad.it>
13468 * text.C (setHeightOfRow): small fix
13469 (prepareToPrint): don't look at alignment if we don't have the place
13472 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13474 * box.C: New file. Move the Box methods and functions out of box.h,
13475 following Lars' suggestion.
13477 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13479 * box.h: #include "support/LOstream.h", needed for inlined function.
13482 * lyxtextclasslist.C: added some using std declarations.
13484 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13486 * box.h: make signed dimensions to allow insets wider than
13487 the screen (bug #162)
13489 * BufferView_pimpl.C: add some insetHit debug
13491 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13493 * vc-backend.C: add FIXME
13495 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13497 * lyxfunc.C (getStatus): enable code for showing math font status
13500 2002-01-07 Juergen Vigna <jug@sad.it>
13502 * text.C (nextBreakPoint): removed debug output not needed anymore.
13504 2002-01-06 Juergen Vigna <jug@sad.it>
13506 * text.C (nextBreakPoint): fixed up this function we had this bug
13507 since ever but now hopefully we break row better.
13508 (insertChar): we have to check if an inset is the next char as it
13509 could now happen that a large inset is causing a break.
13511 2002-01-05 Juergen Vigna <jug@sad.it>
13513 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13514 if it doesn't like to be drawed.
13516 2002-01-04 Juergen Vigna <jug@sad.it>
13518 * BufferView2.C (lockInset): forgot to set a cursor.
13520 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13522 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13524 * FormMathsPanel.C:
13527 * form_maths_panel.C:
13528 * form_maths_panel.h:
13529 * form_maths_panel.fd: implemented sub- and super- buttons in math
13532 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13533 (or ^ space) to be used as in TeX (req'd by André).
13535 * lyxfunc.C: Allow ^ and _ again to be used both as
13536 super/subscript (mathed) and as themselves (in text).
13538 2002-01-03 Allan Rae <rae@lyx.org>
13540 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13541 "LyX" or the filename of the current buffer if it has one. This is a
13542 modified form of John Levon's patch.
13544 * XFormsView.C (setWindowTitle): also set icon title.
13546 * LyXView.h (setWindowTitle): signature changed.
13547 * XFormsView.h (setWindowTitle): ditto.
13549 2002-01-02 Juergen Vigna <jug@sad.it>
13551 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13553 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13555 * screen.C (topCursorVisible): introduce a temp var for
13556 text->cursor.row(), handle the case where this row is null. (kindo
13559 * text2.C (setCursor): add a couple of asserts.
13561 * paragraph.h (inset_iterator): add -> operator
13563 * paragraph.[Ch] (autoDeleteInsets): remove member function
13565 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13566 cursor pos correctly and handle inset deletion by itself.
13567 (insertErrors): move iterator declaration out of for expression
13569 * lyxtextclass.C: add <algorithm>
13571 * Makefile.am: added the new files to sources, removed layout.C
13573 * layout.C: removed file
13575 * layout.h: remove LYX_DUMMY_LAYOUT
13577 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13581 * lyxtextclass.[Ch]:
13582 * lyxtextclasslist.[Ch]: new files
13584 * include order changes to a lot of files, also changes because of
13587 2001-12-27 Juergen Vigna <jug@sad.it>
13589 * buffer.C (asciiParagraph): more fixes.
13591 * tabular.C (ascii): make ascii export support export of only the
13592 data separated by a column-delimiter.
13593 (ascii): better support for ascii export.
13595 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13597 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13599 * tabular_funcs.C: use a "using std::getline" instead of the
13600 previous fix from Angus (necessary for cxx + lyxstring)
13602 2001-12-24 Juergen Vigna <jug@sad.it>
13604 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13606 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13607 problems. First check a minipage also if we have some ert-contents
13608 (not only on par->size(), second set the right depth of the paragraph
13609 on the relink to the root-paragraph-list!
13611 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13612 which then did not anymore update the main paragraphs on undo/redo!
13614 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13616 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13617 code. Support all font-changing funcs (even those which are not in
13618 menu currently). Support for reporting font settings in
13619 mathed (disabled until Andre provides a function on mathed's side).
13621 * func_status.h (toggle): small helper function to set toggle
13624 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13626 * tabular_funcs.C: getline -> std::getline
13628 2001-12-21 Juergen Vigna <jug@sad.it>
13630 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13631 accessed and could be 0 (I couldn't generate this but it seems
13634 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13636 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13637 * tabular_funcs.h: here and include iosfwd
13639 2001-12-20 Juergen Vigna <jug@sad.it>
13641 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13642 inside inset but undo_par was.
13644 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13646 * Thesaurus.C: always include <config.h> in sources.
13650 * box.h: do not include <config.h> in header files
13652 * text.C (paintLastRow): remove unused variable
13654 * text.C (transformChar):
13656 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13658 * Painter.C (text):
13659 * font.C (width): rewrite to use uppercase() instead of
13662 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13664 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13666 * lyxfind.C: clean up of find failure position change
13668 2001-12-20 Juergen Vigna <jug@sad.it>
13670 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13672 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13673 (TeXRow): added to LaTeX a single tabular row.
13674 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13675 (Latex): simplified and finally good LT-h/f support.
13676 (various_functions): just small adaptions for LT-h/f support.
13678 * tabular_funcs.[hC]: added and moved here all not classfunctions
13681 2001-12-19 Juergen Vigna <jug@sad.it>
13683 * tabular.[Ch]: better support for longtabular options (not finished
13686 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13688 * text.C (paintLastRow): use the label font instead of the font of
13689 the last character to compute the size of *_BOX. This makes more
13690 sense and avoids a crash with empty paragraphs.
13691 Use Painter::rectangle to draw EMPTY_BOX.
13693 2001-12-19 Juergen Vigna <jug@sad.it>
13695 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13696 the paragraphs if the replaced paragraph is not the first one!
13697 Tried to delete not used paragraphs but does not work yet so for
13698 now it's inside #ifdef's and by default off!
13700 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13702 * MenuBackend.C: include "lyx_main.h" instead of declaring
13703 lastfiles (actually was declared as LastFiles* instead of a
13706 2001-12-17 Juergen Vigna <jug@sad.it>
13708 * tabular.C (AppendColumn): applied John's fix
13710 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13714 * BufferView_pimpl.h:
13715 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13718 * box.h: new start of class for above
13720 * lyxfunc.C: ignore space-only minibuffer dispatches.
13721 Show the command name when it doesn't exist
13723 * minibuffer.C: don't add empty lines to the history
13725 * minibuffer.C: add a space on dropdown completion
13727 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13729 * text.C: fix line above/below drawing in insets
13731 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13733 * lyxlength.C (LyXLength): Initialize private variables.
13735 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13737 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13738 when inserting error insets.
13740 2001-12-13 Juergen Vigna <jug@sad.it>
13742 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13743 actually sometimes the before-paragraph.
13744 (setUndo): don't clear the redostack if we're not actually undoing!
13746 2001-12-06 Juergen Vigna <jug@sad.it>
13748 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13749 and fixed redoing of main paragraph, so we can use it now ;)
13751 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13753 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13755 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13758 2001-12-13 André Pönitz <poenitz@gmx.net>
13761 * undo_func.C: minor cleanup
13763 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13765 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13766 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13767 font in urw-fonts package which is marked as -urw-fontspecific and
13768 does not work (incidentally, changing the encoding in the
13769 fonts.dir of this package to -adobe-fontspecific fixes the
13772 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13773 is a crash when undoing first paragraph (Juergen, please take a
13774 look). THis does not mean the undo fix is wrong, just that it
13777 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13778 the (Paragraph*) version when needed instead of duplicating the
13781 * text.C (workWidth): use Inset::parOwner to find out where the
13782 inset has been inserted. This is a huge performance gain for large
13783 documents with lots of insets. If Inset::parOwner is not set, fall
13784 back on the brute force method
13786 * paragraph_pimpl.C (insertInset):
13787 * paragraph.C (Paragraph):
13788 (cutIntoMinibuffer): set parOwner of insets when
13789 inserting/removing them
13791 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13793 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13799 * mathed/formulabase.C:
13800 * mathed/math_cursor.[Ch]:
13801 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13804 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13806 * lyxlength.[Ch] (operator!=): new function
13808 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13810 * text.C (workWidth): use Inset::parOwner to find out where the
13811 inset has been inserted. This is a huge performance gain for large
13812 documents with lots of insets. If Inset::parOwner is not set, fall
13813 back on the brute force method
13815 * paragraph_pimpl.C (insertInset):
13816 * paragraph.C (Paragraph):
13817 (cutIntoMinibuffer): set parOwner of insets when
13818 inserting/removing them
13820 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13822 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13824 * tabular-old.C (getTokenValue):
13825 * tabular.C (getTokenValue):
13826 (write_attribute): new versions for LyXLength
13827 (everywhere): adjust the use of widths
13829 * tabular.h: change the type of widths from string to LyXLength
13831 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13833 * paragraph.C: fixed missing line number count when exporting
13834 Environments to LaTeX file
13836 * buffer.C: added informational message for checking line numbers.
13838 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13840 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13841 paragraph, do the 'double space' part, but not the 'empty
13844 * text.C (workWidth): small optimization
13845 (getLengthMarkerHeight): use minimal size for negative lengths.
13847 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13849 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13851 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13853 2001-12-11 André Pönitz <poenitz@gmx.net>
13856 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13858 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13860 * text2.C: keep selection on a setFont()
13862 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13864 * lyx_cb.C: another bv->text misuse, from insert label
13866 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13869 * kbsequence.C: re-instate nmodifier mask
13871 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13873 * lyx_main.h: make lyxGUI private.
13875 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13877 * lyxfind.C: place the cursor correctly on failed search
13879 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13881 * text.C (getLengthMarkerHeight): for small heights, the arrows
13882 are not always on top/bottom of the text
13883 (drawLengthMarker): smaller arrows; take the left margin in
13884 account; draw also vfills.
13886 (paintLastRow): remove special code for vfill and standard spaces,
13887 since everything is handled in drawLengthMarker now.
13889 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13891 * buffer.C (insertErtContents): try to handle font and language
13892 interaction a bit better.g
13894 * ColorHandler.C (updateColor): change the hash to cover the whole
13895 LColor enum, ws cleanup
13896 (getGCLinepars): ditto
13897 (getGCLinepars): only lookup in the linecache once.
13899 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13901 * iterators.C (operator++): Make the iterator more robust
13903 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13905 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13907 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13910 * text.C: better added space drawing
13912 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13915 * BufferView2.C: fix layout combo update on inset unlock
13917 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13919 * Makefile.am: don't compile unused files
13921 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13925 * LyXAction.C: remove old LFUN_LAYOUTNO
13927 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13929 * paragraph_pimpl.h:
13930 * paragraph_pimpl.C: isTextAt() doesn't need font param
13932 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13935 * lyxlex.C: little cleanup
13937 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13939 * BufferView_pimpl.C: fix insertAscii for insets
13941 2001-12-05 Juergen Vigna <jug@sad.it>
13943 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13944 set the right font on the "multi" paragraph paste!
13946 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13952 * lyxlength.C: remove out-commented code.
13954 * BufferView_pimpl:
13968 * vc-backend.C: change "while(" to "while ("
13970 * lyxlength.[Ch]: add zero function to check if length is zero or
13972 * lyxgluelength.C: use it
13974 2001-12-05 Allan Rae <rae@lyx.org>
13976 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13977 Works for 2.95.3, from what I understand of Garst's reports this should
13978 work for other g++ versions. We're screwed if the abs(int) definition
13979 changed between bugfix releases of gcc.
13981 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13983 * text.C: fix chapter label offset !
13985 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13988 * text.C: fix hfill at end of line, clean up
13990 2001-12-04 Juergen Vigna <jug@sad.it>
13992 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13993 that we force an update of the inset and it's owners if neccessary.
13995 2001-12-03 Juergen Vigna <jug@sad.it>
13997 * text.C (rowLast): simplified code
13999 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14001 * lyxfunc.C: fix show options on timeout
14003 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14005 * screen.C (topCursorVisible): scroll half a page when the cursor
14006 reached top of bottom of screen
14008 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14010 * minibuffer.C: deactivate on loss of focus
14012 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14014 * vspace.[Ch] (operator!=): add operator.
14016 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14018 * BufferView_pimpl.C: refuse to open an inset when
14019 there's a selection.
14021 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14023 * BufferView_pimpl.C: allow to click on RHS of full row insets
14025 2001-11-30 Juergen Vigna <jug@sad.it>
14027 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14028 insets for undo reasons.
14030 2001-11-28 André Pönitz <poenitz@gmx.net>
14032 * vspace.[Ch]: cosmetical changes
14034 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14044 * kbsequence.C: part re-write of old kb code
14047 * WorkArea.C: remove Lgb_bug_find_hack
14049 2001-11-30 José Matos <jamatos@fep.up.pt>
14051 * buffer.C (makeDocBookFile): add a comment to point a hack.
14052 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14053 Fixed a double write of labels.
14055 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14058 * LaTeX.h Fixed bug in LaTeX class where it would not
14059 re-run latex if no depfiles were changed, but the .dvi was removed.
14061 2001-11-28 André Pönitz <poenitz@gmx.net>
14063 * all the files from the change on 2001/11/26:
14064 use lyx::layout_type instead of LyXTextClass::size_type
14065 use lyx::textclass_type instead of LyXTextClassList::size_type
14067 2001-11-29 Juergen Vigna <jug@sad.it>
14069 * text.C: added support for paragraph::isFreeSpacing()
14071 * buffer.C: same as above
14073 * paragraph.h: inserted isFreeSpacing() function to enable
14074 FreeSpacing inside InsetERT.
14076 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14077 of the paragraph's in the cut/copy buffer to 0!
14079 * text2.C (removeRow): remove the assert as it can!
14081 * lyxtext.h: added helper function firstRow returning firstrow and
14082 made firstrow private again.
14084 * BufferView2.C (lockInset): don't relock if we're already locked!
14086 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14087 the only paragraph.
14088 (removeRow): added Assert::(firstrow)
14090 * debug.C: forgot to add INSETTEXT here.
14092 2001-11-28 Juergen Vigna <jug@sad.it>
14094 * sp_spell.C (initialize): changed error text to more general
14095 spellchecker command use (not only ispell!)
14097 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14099 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14101 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14103 * vspace.C: initialise lyxgluelength on failure
14105 2001-11-28 Allan Rae <rae@lyx.org>
14107 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14108 declaration & definition that looks like a function declaration.
14110 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14112 * BufferView2.C (copy):
14113 (copyEnvironment): do not clear the selection when doing a copy.
14115 * text.C (paintFirstRow): compilation fix
14117 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14119 * tabular.C (Latex): correct line count when writing latex.
14121 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14123 * paragraph_pimpl.h:
14124 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14127 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14131 * LColor.C: change vfillline->added_space
14133 * text.C: add markers and text for added space
14135 * vspace.C: fix comment
14137 2001-11-28 André Pönitz <poenitz@gmx.net>
14139 * paragraph.C: whitespace changes
14140 * all the other files from the change on 2001/11/26:
14141 change *::pos_type into lyx::pos_type
14143 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14145 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14146 language of the document when inserting error insets.
14148 2001-11-26 André Pönitz <poenitz@gmx.net>
14150 * BufferView_pimpl.[Ch]:
14158 * paragraph_pimpl.[Ch]:
14161 * text2.C: reduce header dependencies, introduce type for positions
14163 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14165 * <various>: change to use Alert.h
14167 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14169 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14170 when encountering an unknown token.
14171 (readLyXformat2): Show an error message if there were unknown tokens.
14173 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14176 * BufferView_pimpl.C:
14180 * text2.C: use par->isInset()
14182 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14184 * paragraph_pimpl.h:
14185 * paragraph_pimpl.C: cleanup
14187 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14189 * text2.C (removeRow):
14190 * text.C (setHeightOfRow): remove useless (and costly) call to
14193 2001-11-20 Allan Rae <rae@lyx.org>
14195 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14196 Now need Inset*::checkInsertChar() to return true for appropriate
14197 cases so that the characters in the minibuffer will actually be
14200 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14202 * text.C: change the order of the includes.
14203 (workWidth): initialize it at once.
14204 (workWidth): make maxw unsigned
14205 (setHeightOfRow): remove unused variable (inset)
14206 (selectSelectedWord): remove unused variable (inset)
14207 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14209 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14212 server is not running.
14214 (closeConnection): add debug info when server is disabled.
14216 * ColorHandler.C (getGCForeground): send debug message to GUI
14219 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14221 * kbmap.C (bind): modify because return conventions of
14222 kb_sequence::parse have changed.
14224 * kbsequence.C (parse): only ignore spaces and not any stupid
14225 control character. This avoids tests like s[i] <= ' ', which are
14226 guaranteed to fail with 8bit characters and signed chars.
14227 Change return code to string::npos when there have been no error
14228 (0 was a bad idea when error is at first character)
14230 2001-11-14 José Matos <jamatos@fep.up.pt>
14233 * buffer.C (simpleDocBookOnePar): removed unused argument.
14235 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14237 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14238 insets which are part of a word. Paragraph::isLetter takes care of
14239 that now. Use Paragraph::isInset to identify insets.
14240 (selectSelectedWord): do not test for hyphenation break.
14242 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14243 that protected spaces are considered as spaces.
14245 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14248 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14251 * lyxserver.C: fix it. and small cleanup.
14253 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14255 * BufferView_pimpl.C: use inline helpers
14258 * LaTeXFeatures.C: fix typos
14261 * Spacing.C: move spacing_string into class
14263 * ToolbarDefaults.C: move stuff into namespace anon
14265 * layout.h: update enum
14267 * lyxfunc.C: use better debug
14269 * minibuffer.h: fix typo
14273 * WorkArea.C: add and use Debug::WORKAREA
14277 * text2.C: code re-organisation, inline helpers
14279 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14281 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14282 std::vector.empty().
14284 2001-11-09 Allan Rae <rae@lyx.org>
14286 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14287 '\n's after tables. Tabular and ERT inset work now makes this no
14290 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14293 * minibuffer.C: fix crash, improve drop-down completion
14295 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14298 * lyxserver.C: invalidate fd's when doing endPipe()
14300 2001-11-08 José Matos <jamatos@fep.up.pt>
14302 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14303 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14306 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14308 2001-11-07 José Matos <jamatos@fep.up.pt>
14311 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14314 * buffer.C (sgmlOpenTag):
14315 * buffer.C (sgmlCloseTag): removed debug info.
14317 * buffer.h (sgmlOpenTag):
14318 * buffer.h (sgmlCloseTag): made public.
14320 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14322 * buffer.C (saveParamsAsDefaults):
14323 * lyx_cb.C (MenuLayoutSave): remove
14325 * LyXAction.C (init):
14327 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14329 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * buffer.C (setPaperStuff): removed from here...
14333 * bufferparams.C (setPaperStuff): ... and moved there.
14335 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14339 * XFormsView.C: add support for drop-down completion
14341 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14343 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14346 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14348 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14351 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14353 * lyx_main.C: change ref to known bugs
14355 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14357 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14358 to work around older babel problems.
14360 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14362 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14364 2001-10-24 Juergen Vigna <jug@sad.it>
14366 * tabular-old.C (ReadOld): below variable changes reflected.
14368 * tabular.[Ch]: added ltType struct for longtable header/footer
14369 defines and changed all instances where they are used. Added
14370 future support for double top/bottom rows.
14372 2001-10-24 José Matos <jamatos@fep.up.pt>
14374 * buffer.h (docbookHandleCaption):
14375 * buffer.C (docbookHandleCaption): removed unused function.
14376 (makeDocBookFile): moved docbook supported version to v4.1.
14378 2001-10-24 José Matos <jamatos@fep.up.pt>
14381 * tabular.C (docbookRow): new function to export docbook code of a row.
14382 (DocBook): now honors the longtable flags.
14384 2001-10-23 José Matos <jamatos@fep.up.pt>
14387 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14388 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14390 * buffer.C (makeLinuxDocFile):
14391 (makeDocBookFile): reworked the preamble, more clean, and with
14392 support for lyx defined entities. Changed the document declaration
14393 to be more XML friendly.
14395 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14396 if we need to output XML that should be done with a filter.
14398 2001-10-22 Juergen Vigna <jug@sad.it>
14400 * sp_pspell.h (class PSpell): add alive function needed in the
14401 controller to see if the spellchecker could be started.
14403 2001-10-22 Juergen Vigna <jug@sad.it>
14405 * buffer.C (insertStringAsLines): modify the font for inserting
14406 chars in certain conditions by calling checkInsertChar(font).
14408 2001-10-19 Juergen Vigna <jug@sad.it>
14410 * text.C (workWidth): use getRow instead of wrong algorithm.
14411 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14413 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14418 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14420 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14422 * text.C (workWidth): do not search for the exact row when
14423 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14424 optimization for big documents.
14426 2001-10-18 Juergen Vigna <jug@sad.it>
14428 * text.C (workWidth): new function with added Inset * parameter.
14430 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14432 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14434 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14435 change return type of getColumnNearX.
14438 * text.C (changeRegionCase): use uppercase/lowercase instead of
14441 (rightMargin): simplify code by factoring out the uses of
14446 (appendParagraph): use Paragraph::size_type
14448 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14450 * vspace.C (asLatexString): add a missing break
14452 2001-10-15 Herbert Voss <voss@perce.de>
14454 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14456 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14458 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14461 2001-10-10 André Pönitz <poenitz@gmx.net>
14463 * lyxfunc.C: removed greek_kb_flag.
14465 2001-10-10 Herbert Voss <voss@perce.de>
14467 * lyx_main.C: delete global string help_lyxdir.
14469 2001-10-09 Herbert Voss <voss@perce.de>
14471 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14473 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14475 * lyx_main.C: added global string help_lyxdir.
14477 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14479 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14481 * lyxrc.C (set_font_norm_type): support iso8859-4
14483 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14485 * LaTeX.C (deplog): add another regex for MikTeX
14487 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14489 * lyxrc.C (set_font_norm_type): support iso8859-3
14491 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14493 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14495 * LaTeXFeatures.C: remove special case of french and index
14497 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14498 before \begin{document}). This solves several incompatibilities.
14500 2001-10-03 Garst Reese <reese@isn.net>
14502 * lyx_cb.C: change CheckTex error msg.
14504 2001-10-03 José Matos <jamatos@fep.up.pt>
14506 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14508 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14510 * .cvsignore: update
14512 * lyx_main.C (commandLineVersionInfo): use new style version info.
14514 * buffer.C (writeFile):
14516 (makeLinuxDocFile):
14517 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14519 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14521 * version.h: update to use stuff in version.C
14523 * version.C.in: new file. Contains version information determined
14524 at compile time. This is a merging of version.h and
14527 2001-10-03 Juergen Vigna <jug@sad.it>
14529 * BufferView_pimpl.C (update): don't change "dirty" status in
14532 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14534 * WorkArea.C (c-tor): re-position version string slightly.
14536 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14538 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14539 revert to previous code.
14541 WorkArea.[Ch]: (show, destroySplash): methods removed.
14543 WorkArea.C: rework code so that it's an amalgam of the codes before and
14544 after the splash screen was moved to WorkArea.
14546 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14549 * vspace.C (inPixels):
14552 * buffer.C (insertStringAsLines):
14553 (asciiParagraph): fix types to be large enough
14555 * lyxlex_pimpl.h: change member status from short to int
14557 * layout.h: fix type of endlabeltype
14560 * kbsequence.C (parse): change return type to string::size_type
14562 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14565 * Bullet.C (bulletSize):
14566 (bulletEntry): do not use short ints as parameters
14568 * BufferView2.C (insertLyXFile): change a char to an int.
14570 * WorkArea.C (WorkArea): remove unneeded floats in computation
14572 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14574 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14576 * paragraph.C (asString): Do not ignore newline/hfill chars when
14577 copying to the clipboard.
14579 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14581 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14582 after a multi-line inset.
14584 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14586 * paragraph.C (validate): Set NeedLyXFootnoteCode
14588 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14590 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14591 and decrease-error to decrease.
14593 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14595 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14596 it more readable (should be equivalent)
14598 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14600 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14602 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14604 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14605 of a cursor (row, etc.) after a character has been deleted
14606 (deleteEmptyParagraphMechanism): call the method above on _all_
14607 cursors held by the LyXText when a double space has been
14610 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14612 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14614 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14616 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14617 background. Use greyOut() and the new show() methods to toggle between
14618 the foreground and background. Add code to remove the splash after
14619 its initial showing.
14621 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14622 (create_forms): no longer call Dialogs::showSplash.
14624 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14626 * .cvsignore: add version_info.h
14628 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14630 * version_info.h.in: new file
14632 * Makefile.am: add version_info.h.in
14634 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14635 version_info.h instead of VERSION_INFO
14637 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14639 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14640 The ERT inset now returns string().
14642 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14644 * lyxtext.h, text.C (selectNextWord): renamed as
14645 selectNextWordToSpellcheck.
14647 * text.C (selectNextWordToSpellcheck): Modified to not select
14648 words inside an ERT inset.
14650 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14652 * lyx_cb.C (MenuLayoutSave): change a bit the question
14654 * sp_base.h: include <sys/types.h>
14656 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14658 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14660 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14662 * several files: fix typos in user-visible strings
14664 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14666 * text2.C (pasteSelection): do not set the selection, since it
14667 will be cleared later. Actually, the intent was to fix the way the
14668 selection was set, but I figured rmoving the code was just as good.
14670 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14672 * FontLoader.C (available): Check if font is available without
14675 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14677 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14679 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14681 * lyxrc.[Ch]: added display_graphics variable and associated code.
14683 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14685 * bufferparams.C (hasClassDefaults): new method. Returns true if
14686 the buffer parameters correspond to known class defaults
14688 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14690 * XFormsView.C (show): set minimum size to the main window.
14692 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14694 * text2.C (copySelection):
14696 * lyxfind.C (LyXReplace):
14697 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14698 LyXText::selectionAsString.
14700 * paragraph.C (asString): add "label" argument to the second form
14702 * text2.C (selectionAsString): add "label" argument and pass it to
14703 Paragraph::asString.
14705 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * lyx_main.C (commandLineHelp): remove version information
14709 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14711 * lyx_main.C: add -version commandline option
14713 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14715 * paragraph.h: make the optional constructor arg required instead.
14716 some modifications to other files because of this.
14718 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14720 * lyxserver.C (C_LyXComm_callback): make it static
14722 * lyx_main.C (error_handler): make it static
14724 * lyx_gui.C (LyX_XErrHandler): make it static
14726 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14728 * WorkArea.C: make the extern "C" methods static.
14730 * Makefile.am (lyx_LDADD): simplify
14732 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14734 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14735 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14737 * LyXAction.C (init):
14738 * lyxfunc.C (dispatch): associated code removal.
14740 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14742 * lyxfont.h (isSymbolFont): shut off warning
14744 * text.C (setHeightOfRow):
14745 (getVisibleRow): fix crash with empty paragraphs which have a
14748 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14750 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14753 2001-09-04 José Matos <jamatos@fep.up.pt>
14756 * tabular.C (docbook): rename docBook method to docbook.
14758 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14760 * Makefile.am: add dependencies to main.o.
14762 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14764 * FontLoader.C (available): Return false if !lyxrc.use_gui
14766 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14768 * FontInfo.C (query):
14769 * converter.C (view):
14770 * importer.C (Import):
14771 * exporter.C (Export): Can not -> cannot.
14773 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14775 * BufferView_pimpl.C: allow to create index inset even if
14778 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14780 * buffer.C (getLists): replace boost::tie code with an explicit pair
14781 as boost::tie can break some compilers.
14783 * iterators.h: Added a std:: declaration to the return type of
14786 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14788 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14791 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14793 * iterators.[Ch]: New files. Provide paragraph iterators.
14795 * buffer.C (changeLanguage): Use paragraph iterators.
14796 (isMultiLingual): ditto
14798 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14800 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14802 * FontLoader.C: Support for cmr font.
14804 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14806 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14807 (available): New method.
14809 * FontInfo.C (getFontname): Use scalable fonts even when
14810 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14813 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14815 * converter.C (Formats::view): reverted! Incorrect fix.
14817 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14819 * converter.C (Formats::view): only output the -paper option
14820 if the dvi viewer is xdvi, thereby fixing bug #233429.
14822 2001-08-23 Herbert Voss <voss@perce>
14824 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14826 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14828 * Spacing.h (Spacing): Set space to Default on in the default
14831 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14833 * vc-backend.h (RCS::versionString): add RCS to version
14834 (CVS::versionString): add CVS to version
14836 * vc-backend.C (scanMaster): do not add CVS to version.
14837 (scanMaster): do not add RCS to version
14839 * lyxvc.C (versionString): new method
14841 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14843 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14845 * Spacing.C (set): initialize fval
14847 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14849 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14852 2001-08-16 Juergen Vigna <jug@sad.it>
14854 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14856 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14858 * BufferView_pimpl.C:
14861 * text2.C: setParagraph takes linespacing now
14863 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14865 * LyxAction.C: add internal LFUN_CITATION_INSERT
14867 * LyXView.C: actually apply fix
14869 * bufferlist.C: fix open non-existent file
14871 * lyxfind.C: fix indentation
14873 * lyxfunc.C: remove unneeded assert, fix typo
14875 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14877 * MenuBackend.C: use "Floatname List"
14879 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14881 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14882 when converting LaTeX layout to insetERT.
14883 Generate a non-collapsed float when reading old float
14885 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14887 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14890 2001-08-13 Juergen Vigna <jug@sad.it>
14892 * text.C (fill): return 0 instead of 20 as this seems to be the more
14895 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14897 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14900 2001-08-13 Juergen Vigna <jug@sad.it>
14902 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14904 (SearchBackward): comment out the unlocking of the inset_owner this
14905 should not be needed!
14907 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14909 * Many files: Remove inherit_language, and add latex_language
14911 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14912 collapsible insets.
14914 2001-08-10 Juergen Vigna <jug@sad.it>
14916 * text.C (prepareToPrint): fixed hfill-width in draw!
14918 * BufferView2.C (selectLastWord): save the selection cursor as this
14919 now is cleared in the function LyXText::clearSelection!
14921 2001-08-08 Juergen Vigna <jug@sad.it>
14923 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14924 BACKSPACE type functions.
14926 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14927 is only cutted from the document but not put in the cut-buffer, where
14928 still the old stuff should be.
14930 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14932 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14934 * tabular.C (SetWidthOfCell): fixed special case where the width
14936 (LeftLine): handle '|' in align_special.
14938 (LeftAlreadyDrawed): ditto
14939 (SetWidthOfCell): ditto
14941 2001-08-07 Juergen Vigna <jug@sad.it>
14943 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14945 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14947 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14948 * lyxlex.[hC]: ditto
14950 2001-08-06 Juergen Vigna <jug@sad.it>
14952 * text.C (getVisibleRow): fix up row clearing a bit.
14954 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14956 * minibuffer.C: make sure the X server sees the changes in the input.
14958 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14960 * paragraph.C (getFont): split into...
14961 (getLabelFont): this
14962 (getLayoutFont): and this
14963 * paragraph_pimpl.C (realizeFont): calling this
14965 * text2.C (getFont): split into...
14966 (getLayoutFont): this
14967 (getLabelFont): and this
14968 (realizeFont): all three calling this
14970 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14973 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14975 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14977 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14979 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14980 layouts from the Quote inset insertion.
14982 2001-08-03 Juergen Vigna <jug@sad.it>
14984 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14986 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14987 only if status not is already CHANGED_IN_DRAW (second level).
14989 * text.C (draw): don't set the need_break_row when inside an
14992 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14994 * buffer.C (parseSingleLyXformat2Token): handle more latex
14997 * bufferview_funcs.[hC]: change function names to
14998 begin with small char, adjust other files.
15000 2001-08-02 André Pönitz <poenitz@gmx.net>
15003 BufferView_pimpl.C: remove broken special code for math-greek
15005 2001-08-02 Juergen Vigna <jug@sad.it>
15007 * BufferView_pimpl.C (update): redone this function so that we
15008 update the text again if there was a CHANGE_IN_DRAW.
15010 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15011 (drawFromTo): added a new internal bool which is used by draw() and
15013 (general): some cursor drawing problems fixed.
15015 2001-08-01 Juergen Vigna <jug@sad.it>
15017 * lyxfind.C (LyXFind): fixed
15018 (SearchForward): ditto
15019 (SearchBackward): ditto
15021 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15022 spurius drawing of the cursor in the main area.
15024 * text2.C (status): small fix which could lead to a segfault!
15025 (clearSelection): remove unneeded BufferView param.
15027 2001-08-01 André Pönitz <poenitz@gmx.net>
15029 * lyxfunc.C: small change due to changed mathed interface
15031 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15033 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15035 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15037 * lyxfunc.c: fail gracefully if file doesn't exist
15042 * BufferView_pimpl.C: IsDirWriteable() proto changed
15044 * LyXView.C: fix updateWindowTitle() to store the last title
15046 2001-07-31 Juergen Vigna <jug@sad.it>
15048 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15049 the font (wrong since using of Paragraph::highestFontInRange).
15051 * paragraph.C (highestFontInRange): added a default_size parameter.
15053 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15054 (setHeightOfRow): reformat
15056 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15058 * converter.[hC] + affected files: move to (inital-char)lowercase
15061 * ParagraphParameters.C (ParagraphParameters): remove commented code
15063 * PainterBase.[Ch]: remove commented code
15065 * LaTeXFeatures.h: add "bool floats" for float.sty
15067 * LaTeXFeatures.C (LaTeXFeatures): init floats
15068 (require): handle float
15069 (getPackages): do it with floats
15071 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15073 * BufferView_pimpl.C (Dispatch): improve handling of
15074 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15076 * commandtags.h: #include lyxfont.h here temporarily to avoid
15079 * bufferlist.h: include LString.h here.
15081 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15083 * text2.C (getStringToIndex): new method.
15085 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15087 * *: Reduced header file dependencies all over.
15089 2001-07-30 Baruch Even <baruch@lyx.org>
15091 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15093 2001-07-29 Baruch Even <baruch@lyx.org>
15095 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15097 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15099 * ParameterStruct.h (endif): add a default constructor to make
15100 sure that all variables is initialized.
15102 * ParagraphParameters.C (ParagraphParameters): adjust
15104 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15106 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15107 index; also, check that there is something to index, and that it
15108 does not span over several paragraphs.
15109 (doubleClick): use WHOLE_WORD_STRICT for double click.
15111 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15113 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15116 2001-07-26 Baruch Even <baruch@lyx.org>
15118 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15119 an InsetFig figure, backwards compatible reading of old figure code.
15121 2001-07-27 Juergen Vigna <jug@sad.it>
15123 * text2.C: font.realize function adaption.
15125 * text.C (draw): add a warnings lyxerr text if needed.
15127 * layout.C: font.realize function adaption.
15129 * language.C: add inherit_language and implement it's handlings
15131 * bufferview_funcs.C (StyleReset): remove language parameter from
15132 font creation (should be language_inherit now).
15134 * bufferparams.C (writeFile): handle ignore_language.
15136 * paragraph.C (getFontSettings): the language has to be resolved
15137 otherwise we have problems in LyXFont!
15139 * lyxfont.C (lyxWriteChanges): added document_language parameter
15140 (update): removed unneeded language parameter
15142 * paragraph.C (validate): fixed wrong output of color-package when
15143 using interface colors for certain fonts in certain environments,
15144 which should not seen as that on the final output.
15146 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15148 * BufferView_pimpl.C:
15153 * LyXAction.C: add thesaurus support
15156 * lyxfind.C: add "once" parameter, for thesaurus, to not
15157 move to the next match
15159 2001-07-26 Juergen Vigna <jug@sad.it>
15161 * lyxfont.C (realize): honor ignore_language too!
15164 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15166 * text.C (draw): one place more for ignore_language to not draw
15169 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15171 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15173 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15175 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15176 the minipage conversion problem.
15178 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15180 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15183 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15185 * BufferView.h: don't forward declare WorkArea
15187 * BufferView.C: don't include WorkArea.h
15189 2001-07-25 André Pönitz <poenitz@gmx.net>
15193 * lyxfunc.C: new LFUN 'math-space'
15195 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15197 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15199 * text2.C (toggleInset): call open/close
15201 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15203 * lyxfunc.C (dispatch): add debug for the disabled case
15205 * font.C (buttonText): make similar to rectText
15207 * buffer.C (readInset): comment out parsing of insetlist and
15210 * PainterBase.C (rectText): small correction
15212 * BufferView_pimpl.C: comment out insettheorem and insetlist
15213 * LyXAction.C: ditto
15214 * commandtags.h: ditto
15216 2001-07-24 Juergen Vigna <jug@sad.it>
15218 * text.C (draw): honor the ignore_language.
15220 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15222 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15224 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15227 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15229 * lyxtext.h: remove unused (and unimplemented) methods
15231 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15233 * text.C (getVisibleRow): honor background color
15236 * Painter.h: remove default color argument for fillRectangle
15238 * text.C (backgroundColor): new method
15240 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15242 * text.C (getVisibleRow): adjust
15244 * font.[Ch] (rectText): new method, metrics
15245 (buttonText): new method, metrics
15247 * PainterBase.[hC]: make rectText and buttonText always draw and take
15250 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15252 * ToolbarDefaults.C (read):
15253 * MenuBackend.C (read): allow escaping in all strings
15255 * BufferView_pimpl.C (insertAndEditInset): new method.
15256 (Dispatch): use insertAndEditInset whenever appropriate.
15258 * BufferView_pimpl.C (insertNote): removed
15260 * BufferView_pimpl.C (smartQuote): new method, moved from
15261 BufferView; if an insetquote cannot be inserted, insert a '"'
15264 * BufferView2.C: remove insertCorrectQuote();
15266 * lyxfunc.C (getStatus): Add support for all remaingin
15267 inset-insert lfuns.
15269 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15271 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15272 command (necessary to pass " as parameter of self-insert.
15274 * text.C (selectWordWhenUnderCursor):
15275 (selectWord): add word_location parameter
15276 (selectWordWhenUnderCursor): same + remove special code for word
15278 (selectNextWord): use kind() to guess type of insetspecialchar,
15281 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15282 (insertErtContents): create ert insets as collapsed.
15283 (readInset): better compatibility code for Info inset.
15285 2001-07-20 Juergen Vigna <jug@sad.it>
15287 * lyxfunc.C (dispatch): use always LyXFind now!
15289 * text2.C (init): add a reinit flag so that the LyXText can be
15290 reinited instead of deleted and reallocated (used in InsetText).
15292 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15298 2001-07-18 Juergen Vigna <jug@sad.it>
15300 * text.C (selectNextWord): handle insets inside inset by calling
15301 always the bv->text functions so that we can go up the_locking_inset!
15303 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15304 in strange locations when inside an inset!
15306 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15307 handling to include insets.
15309 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15311 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15313 * LyXAction.C (init):
15315 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15316 LIGATURE_BREAK, since the name is so stupid.
15318 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15320 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15323 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15325 * sp_form.[Ch]: remove.
15327 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15329 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15332 * src/buffer.C (readInset): ditto.
15334 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15336 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15337 menuSeparator(), endOfSentenceDot(), ldots() and
15338 hyphenationPoint(), which are therefore removed.
15339 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15341 * LyXAction.C (init):
15342 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15344 * paragraph.C (getWord): removed.
15346 * BufferView_pimpl.C (Dispatch): use last word or selection for
15347 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15349 * lyx_main.C (queryUserLyXDir): do not ask before creating
15350 user_dir, except if it has been named explicitely.
15352 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15354 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15355 a document of zero size.
15357 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15359 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15360 approriately in the c-tor and in require().
15361 (getPackages): output the appropriate LaTeX for natbib support.
15363 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15364 variables "use_natbib" and "use_numerical_citations" when reading the
15366 (readInset): read the various natbib cite commands.
15367 (validate): white-space change.
15369 * bufferparams.[Ch]: new variables "bool use_natbib" and
15370 "bool use_numerical_citations".
15371 (writeFile): output them in the LyX file.
15373 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15375 * lyxfunc.C (getStatus): add support for all the inset insertion
15378 * text2.C (insertInset):
15379 * paragraph.C (insetAllowed):
15380 * BufferView_pimpl.C (insertInset): update to take in account the
15381 renaming of insertInsetAllowed
15383 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15385 * text2.C (getInset): new method. returns inset at cursor position.
15387 * BufferView_pimpl.C (Dispatch): changes because of this.
15389 * LyXAction.C (init): rename open-stuff to inset-toggle.
15391 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15393 * text2.C (toggleInset): renamed from openStuff; use
15396 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15398 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15400 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15402 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15404 * buffer.C (readLyXformat2): Add filename to the error dialog
15406 2001-07-18 Juergen Vigna <jug@sad.it>
15408 * tabular.C (GetCellNumber): put an assert here instead of the check!
15410 2001-07-17 Juergen Vigna <jug@sad.it>
15412 * BufferView_pimpl.C (toggleSelection): adapted too.
15414 * text.C (selectNextWord): adapted for use with insets.
15415 (selectSelectedWord): ditto
15417 2001-07-17 Juergen Vigna <jug@sad.it>
15419 * sp_spell.C (PSpell): fix initialitation order.
15421 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15423 * paragraph.C: spacing
15425 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15427 * sp_spell.C: repair language selection for pspell
15429 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15431 * lyxfunc.h: change more methods to begin with lower char.
15433 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15435 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15436 for unknown layouts.
15438 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15440 * buffer.C (readLyXformat2): Generate an error dialog if there are
15443 2001-07-16 Juergen Vigna <jug@sad.it>
15445 * sp_spell.C: always compile ISpell part.
15447 * lyxrc.C: added use_pspell entry and it's handling.
15449 2001-07-13 Juergen Vigna <jug@sad.it>
15451 * sp_spell.C: removed double includes.
15453 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15455 Consistent use of Lsstream.h:
15456 * Lsstream.h: added using std::stringstream for consistencies sake.
15458 * buffer.C: removed using std::stringstream
15460 * lyxfont.C (stateText):
15461 * paragraph.C (asString):
15462 * text.C (selectNextWord, selectSelectedWord):
15463 * text2.C (setCounter):
15464 * vspace.C (asString, asLatexString):
15465 std::ostringstream -> ostringstream.
15467 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15469 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15470 * commandtags.h: add LFUN_HELP_ABOUTLYX
15471 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15473 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15475 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15477 * lyx_gui_misc.C: remove spellchecker
15478 * lyxfunc.C: showSpellchecker
15480 * sp_ispell.h: added
15481 * sp_pspell.h: added
15482 * sp_spell.C: added
15483 * sp_form.[Ch]: removed
15484 * spellchecker.[Ch]: removed
15486 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15488 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15490 (simpleTeXSpecialChars): Simply print the input character without
15491 any special translation if pass_thru is set.
15493 * layout.h: Added bool pass_thru to layout class for being able to
15494 implement pass through of a paragraph for Literate Programming.
15496 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15497 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15498 * layout.C (Read): add "passthru" to list of layout tags and add
15499 code to set the pass_thru boolean when it is read.
15501 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15503 * trans_decl.h: remove allowed from KmodInfo
15505 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15506 remove allowed code
15509 * paragraph_pimpl.C (erase): use boost::prior
15511 * Painter.C (text): use data() instead of c_str() when length is
15513 * WorkArea.C (putClipboard): ditto
15514 * font.h (width): ditto
15516 * BufferView2.C: use it-> instead of (*it). for iterators
15518 * paragraph_pimpl.C: ditto
15519 * paragraph.C: ditto
15520 * minibuffer.C: ditto
15521 * language.C: ditto
15523 * encoding.C: ditto
15524 * counters.C: ditto
15525 * converter.C: ditto
15527 * Variables.C: ditto
15528 * TextCache.C: ditto
15529 * MenuBackend.C: ditto
15530 * LyXAction.C: ditto
15532 * FloatList.C: ditto
15533 * DepTable.C: ditto
15534 * ColorHandler.C (LyXColorHandler): ditto
15536 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15538 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15540 * text2.C (openStuff): reintroduce this method (which had been
15541 nuked in NEW_INSETS frenzy).
15543 * lyxfunc.C (Dispatch): when an action has not been handled, use
15544 its name in the error message, not its number.
15546 * paragraph.C (inInset): change method name to begin with lowercase.
15549 * text2.C: updates because of this.
15551 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15553 * ToolbarDefaults.C (add): add spaces in error message
15555 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15557 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15558 (readLyXformat2): rename return_par to first_par, use lyxlex's
15559 pushToken and remove the manual push handling.
15560 (parseSingleLyXformat2Token): add another ert comp. variable:
15561 in_tabular, rename return_par to first_par. handle newlines better
15563 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15565 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15567 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15569 * text2.C (getParFromID): removed
15571 * buffer.C (getParFromID): new method moved form lyxtext.
15572 * BufferView2.C (insertErrors): adjust
15573 (setCursorFromRow): adjust
15574 * BufferView_pimpl.C (restorePosition): adjust
15575 * lyxfunc.C (Dispatch): adjust
15576 * undo_funcs.C (textUndo): adjust
15578 (textHandleUndo): adjust
15579 (textHandleUndo): adjust
15581 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15583 * buffer.C: up' the LYX_FORMAT
15585 * lyxfont.h: turn NO_LATEX on as default
15587 * buffer.C (insertErtContents): new methods of tex style compability.
15588 (parseSingleLyXformat2Token): use it several places.
15589 * tabular.C (OldFormatRead): and here
15591 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15593 * text2.C: remove some commented code.
15596 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15597 * trans.C: changes because of the above.
15599 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15601 * text2.C (setCounter): Fix counters bug with bibliography layout.
15603 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15605 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15606 own member functions
15607 (simpleTeXSpecialChars): ditto
15609 2001-07-06 Juergen Vigna <jug@sad.it>
15611 * a lot of files: changed the access to LyXText::status and the
15612 call of undo-functions.
15614 * undo.[Ch]: added a inset_id to the undo informations.
15616 * undo_funcs.[Ch]: added and moved here all undo functions.
15618 * lyxtext.h: give the status enum a weight, made status_ a private
15619 variable and made accessor functions for it, removed the whole bunch
15620 of undo-functions as they are now in their own file, make some
15621 functions publically available. Added function ownerParagraph with
15624 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15625 made InInset() a const function, added getParFromID() function.
15627 * buffer.[Ch]: added const version for inset_iterator functions,
15628 added getInsetFromID() function.
15630 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15631 changed undo functions for new version.
15633 2001-07-05 Juergen Vigna <jug@sad.it>
15635 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15636 unknow mechanism does not call the proper constructor but only this
15637 one also if I request the other!?
15639 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15641 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15643 * text2.C (LyXText): use initialization lists.
15645 * lyxtext.h (Selection): initialize set_ and mark_
15646 (init): remove method
15648 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15650 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15652 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15654 * screen.[Ch]: change method names to begin with lowercase
15656 * BufferView_pimpl.C (updateScrollbar): simplify further and
15657 hopefully make it a bit faster.
15659 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15661 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15662 calling directly xforms functions.
15664 * Painter.C (Painter):
15665 * lyx_cb.C (MenuWrite):
15666 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15669 * lyx_gui.C: remove bogus guiruntime extern declaration.
15671 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15673 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15675 (redoDrawingOfParagraph): ditto
15676 (redoParagraphs): ditto
15677 (cutSelection): don't create a object for CutAndPaste use the
15678 static method directly
15679 (pasteSelection): ditto
15681 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15684 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15686 * modifications to some other files because of this.
15688 * Makefile.am (lyx_SOURCES): add XFormsView
15690 * XFormsView.[Ch]: new files
15692 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15693 the main window. Move the gui dependent stuff to XFormsView
15695 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15697 * tabular.C (GetCellInset): update cur_cell also in the row/col
15698 version of this function.
15700 * lyxfunc.C: no need to include figure_form.h here.
15706 * lyxvc.C: no need to include forms.h here.
15708 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15710 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15712 * lyxfunc.C (Dispatch):
15714 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15715 constructor argument.
15717 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15719 * paragraph.C (Paragraph): dont't clear, and just set layout.
15720 (makeSameLayout): use params's copy contructor.
15722 * ParagraphParameters.[Ch] (makeSame): delete method
15724 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15726 * Variables.[Ch]: fix indentation, rename set to isSet
15728 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15730 * lyxfunc.C (Dispatch): fix typo
15732 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15734 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15737 * bufferlist.C: include assert.h for emergencyWrite().
15739 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15741 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15742 give up at last (bug #425202) !
15744 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15750 * spellchecker.C: strip spellchecker options and bring up
15751 preferences tab instead
15753 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15755 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15756 the istringstream constructor
15758 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15760 * paragraph.C (getLayout): fix return value
15762 * paragraph.h: do not declare getLayout as inline.
15764 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15766 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15768 * lyxcursor.h (operator<): new func
15769 (operator>): new func
15770 (operator>=): new func
15771 (operator<=): new func
15773 * text.C (changeCase): use selection.start and selection.end
15774 (changeRegionCase): require from to be <= to. Require par to be a
15777 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15779 2001-06-27 Juergen Vigna <jug@sad.it>
15781 * text.C (cursorLeftOneWord): changed to return the cursor and added
15782 overlay with BufferView * parameter which calls this one.
15784 (selectWord): use new getWord function.
15785 (changeCase): renamed from changeWordCase as and extended to work
15786 also on selections.
15788 * lyxtext.h: added enum word_location
15790 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15791 changeCase as this operates now also on selections.
15793 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15795 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15797 * many files: send debug output to Debug::INFO instead of
15800 * converter.C (View):
15802 (Move): send debug output to Debug::FILES instead of console.
15804 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15806 * lyxfunc.C (getStatus): use func_status
15808 * func_status.h: new header, describing the results of
15809 LyXFunc::getStatus;
15811 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15814 2001-06-25 The LyX Project <jug@sad.it>
15816 * buffer.C (sgmlOpenTag):
15818 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15820 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15822 * text2.C: remove some dead code
15824 * tabular.C (GetCellInset): store the last cell checked (gotten)
15826 * tabular.h: add the helper for the speedup
15828 * lyxtext.h: remove some dead code
15830 2001-06-26 The LyX Project <Asger>
15832 * paragraph.C: Change export to LaTeX of alignment to
15833 \begin{center} and family for better roundtrip work with reLyX.
15835 * Tune the math drawing a bit.
15837 2001-06-25 The LyX Project <Asger>
15839 * LColor.C (LColor): New color for math background. New color
15842 2001-06-25 The LyX Project <jug@sad.it>
15844 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15846 * lyxfunc.C (Open):
15847 * bufferlist.C (newFile): do not restrict to files ending with
15850 * BufferView_pimpl.C (MenuInsertLyXFile):
15852 2001-06-24 The LyX Project <jug@sad.it>
15854 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15857 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15859 * lyxtext.h: rename most methods to begin with a small char.
15860 Lots of changes because of this.
15862 * paragraph.C (Paragraph): do not call fitToSize
15863 (erase): call Pimpl::erase
15864 (insertChar): call Pimpl::insertChar
15865 (insertInset): call Pipl::insertInset
15866 (breakParagraph): do not call fitToSize
15867 (breakParagraphConservative): do not call fitToSize
15868 (fitToSize): remove method
15870 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15872 2001-06-24 The LyX Project <Asger>
15874 * Fix Qt compilation^2
15876 2001-06-24 The LyX Project <jug@sad.it>
15878 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15879 depthHook(getDepth()-1).
15882 * ParagraphParameters.h:
15883 * ParameterStruct.h: change type of depth to unsigned int ==
15884 depth_type. Many adaptations to other files before of that.
15886 2001-06-24 The LyX Project <Asger>
15888 * Fix Qt compilation.
15890 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15892 * paragraph.h: renamed several methods to begin with small letter.
15893 several changes to many parts of the code because of this.
15895 2001-06-23 The LyX Project <jug@sad.it>
15897 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15898 rewritten to discard all double spaces when KeepEmpty is off
15899 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15900 to only handle newlines but not fiddle with spaces and friends.
15902 * lyxfunc.C (MenuNew): when doing 'new from template', use
15903 template_path as default directory
15905 2001-06-23 The LyX Project <Asger>
15907 * Clean-up of header file includes all over
15908 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15910 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15912 * paragraph.h: renamed from lyxparagraph.h
15914 2001-06-23 Asger <lyx@violet.home.sad.it>
15916 * Buffer.h: Removed Buffer::resize
15917 * BufferList.h: Removed BufferList::resize
15918 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15919 the document lazily when we change the width, or the font settings.
15921 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15923 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15925 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15927 * buffer.h: remove out of date comment
15929 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15932 * screen.C: fix "theoretical" GC leak
15934 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15936 * LaTeX.C (scanAuxFile):
15937 (deplog): remove trailing \r when reading stream (useful under
15940 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15942 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15943 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15944 and BufferView::theLockingInset(Inset*), so should use them and not
15945 access bv_->text->the_locking_inset directly.
15947 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15949 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15952 * tex-defs.h: remove old unused file
15954 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15956 * BufferView_pimpl.C: fix typo, remove minibuffer message
15957 when buffer has loaded
15959 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15961 * lyxfunc.C (Dispatch): use stringstream
15962 (MenuNew): use stringstream
15963 (Open): use stringstream
15965 * importer.C (Import): use stringstream
15967 * bufferview_funcs.C (CurrentState): use stringstream
15969 * LaTeX.C (run): use stringstream
15971 * BufferView_pimpl.C (savePosition): use stringstream
15972 (restorePosition): use stringstream
15973 (MenuInsertLyXFile): use stringstream
15975 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15988 * vspace.C: removed // -*- C++ -*- as first line.
15991 * version.h: added // -*- C++ -*- as first line.
15993 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15995 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15997 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16000 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16002 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16005 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16007 * gettext.C: include LString.h even when --disable-nls is on.
16009 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16011 * converter.h (Get): changed argument type from int to
16012 FormatList::size_type to avoid unnecessary conversion.
16014 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16017 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16019 * gettext.h: include LString.h even when --disable-nls is on.
16021 2001-06-07 Juergen Vigna <jug@sad.it>
16023 * text.C (BreakAgain): subst spaces with tabs.
16025 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16026 (resizeInsetsLyXText): set force on resizeLyXText.
16028 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * gettext.h (gettext_init):
16031 (locale_init): use a real definition instead of a macro
16033 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16035 * Bufferview_pimpl.C:
16037 * LColor.C: further lcolor tidies
16039 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16041 * BufferView_pimpl.C (updateScrollbar): simplify.
16043 * BufferView2.C: don't include insets/insetinfo.h, change
16044 prototype for insertInset and call the Pimpl version. let
16045 updateInset call Pimpl version.
16047 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16048 gotoInset to BufferView::Pimpl
16050 2001-06-01 Juergen Vigna <jug@sad.it>
16052 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16053 inside a LockingInset (is the update needed at all?).
16055 2001-05-31 Juergen Vigna <jug@sad.it>
16057 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16058 here not the old one otherwise how should we compare it afterwards
16061 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16066 * FontInfo.C: bring C functions into global namespace when
16069 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16071 * LString.h: make sure config.h has been loaded before LString.h.
16073 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16074 (one for each char read by EatLine!).
16076 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16079 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16081 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16082 to the same as the par we break from
16084 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16086 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16088 * MenuBackend.C (expand): also create menu entries for wide
16089 versions of the floats.
16091 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16093 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16095 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16096 frontends/Makefile.am
16102 * tabular.C (getTokenValue): add std::
16104 * tabular-old.C (getTokenValue): add std::
16105 (getTokenValue): ditto
16106 (getTokenValue): ditto
16108 * screen.C (ToggleSelection): adjust
16110 * lyxtext.h: put selection cursors inside a Selection struct.
16112 * lyxfunc.C (moveCursorUpdate): adjust
16114 * lyxfont.C (latexWriteStartChanges): add std::
16116 * lyxfind.C: adjust
16118 * font.h: delete with(char const *, LyXFont const &)
16120 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16122 * FontInfo.C (getFontname): add std::
16124 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16125 (workAreaButtonPress): adjust
16126 (tripleClick): adjust
16128 (moveCursorUpdate): adjust
16131 * BufferView2.C (gotoInset): adjust
16133 2001-05-30 Juergen Vigna <jug@sad.it>
16135 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16136 to check pspell I add this as default as I now have new pspell
16137 libraries and they seem to use this.
16139 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16141 * text2.C (CutSelection): make the cursor valid before the call to
16144 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16146 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16147 relied on 0 terminated strings and other horrors. Bug found due to
16148 the new assert in lyxstring!
16150 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16153 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16155 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16158 * lyxfunc.C (processKeySym): change method of getting to the
16161 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16162 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16163 * BufferView_pimpl.[Ch]: here as private methods.
16165 2001-05-28 Juergen Vigna <jug@sad.it>
16167 * text.C (SetHeightOfRow): added the update() call again as it is
16168 needed to initialize inset dimensions!
16170 2001-05-16 Juergen Vigna <jug@sad.it>
16172 * text2.C (SetCharFont): Add new function with BufferView * and
16173 bool toggleall parameters for setting insets internal fonts.
16174 (SetFont): Freeze the undo as we may change fonts in Insets and
16175 all this change should be inside only one Undo!
16177 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16178 setting font's in insets as for them we have the SetFont function!
16180 2001-05-15 Juergen Vigna <jug@sad.it>
16182 * text2.C (ClearSelection): to be sure we REALLY don't have any
16185 * tabular.C (TeXCellPreamble): fixed the left border problem for
16188 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16190 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16193 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16195 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16196 LFUN_BREAKPARAGRAPH.
16198 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16199 help test to "internal only", similar for LFUN_INSERT_URL
16201 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16202 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16203 auto_region_delete and deadkeys.
16205 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16208 * LColor.C: remove some dead entries, tidy a little
16210 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16212 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16214 (Dispatch): implement LFUN_ESCAPE
16216 * commandtags.h: add LFUN_ESCAPE
16218 * LyXAction.C (init): add entry for LFUN_ESCAPE
16220 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16221 Remove commented code.
16222 (insertNote): moved here
16223 (open_new_inset): moved here
16225 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16228 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16230 * kbmap.C (findbinding): clean it up and make it work correctly.
16232 * lyx_main.C (init): do not pass argc and argv as parameters
16234 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16236 * buffer.C: fix path for OS/2 & Win32
16240 * lyx_main.C: Added os:: class.
16242 * os2_defines.h: update
16244 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16246 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16247 better by trying again with reduced state.
16249 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16251 * lyxrc.C (read): print error about invalid key sequence only when
16252 debugging (because not all latinX keysyms are known to some X
16255 * kbsequence.C (getiso): add a few std:: qualifiers
16256 (getiso): comment out extra return statement.
16258 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16260 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16262 (Dispatch): enhance the accent inset a bit. (not perfect)
16264 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16266 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16268 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16270 * bufferlist.C (emergencyWrite): fix assert() call
16272 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16274 * text.C (InsertChar): Added trivial patch to only send the "you
16275 can not do multiple spaces this way" message once during a
16278 2001-05-08 Baruch Even <baruch@lyx.org>
16280 * Makefile.am: Changed order of libraries to get LyX to link properly
16281 with the gnome frontend.
16283 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16285 * LaTeXFeatures.h: add a std:: qualifier
16287 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16289 * paragraph.C (String): use stringstream
16291 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16293 * paragraph.C (writeFile): remove footflag arg
16295 * buffer.C (makeLaTeXFile): use stringstream
16296 (latexParagraphs): remove footnot gurba
16298 * LaTeXFeatures.C (getPackages): use stringstream
16299 (getMacros): likewise
16300 (getTClassPreamble): likewise
16301 (getFloatDefinitions): new method
16303 * paragraph.C (writeFile): reindent
16306 * WorkArea.h: revert the xpos + etc changes.
16308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16310 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16312 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16313 (pasteSelection): likewise
16314 * text2.C (CreateUndo): likewise
16316 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16318 * minibuffer.C (peek_event): temporarily reduce the functionality
16319 of the minibuffer (to allow args on lfuns)
16321 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16322 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16324 * buffer.C (readInset): add compability reading of old float
16325 lists, add reading of new style float list.
16326 (readInset): avoid reevaluation of inscmd.getCmdName()
16327 (getLists): reindent
16329 * MenuBackend.C (MenuItem): implement parsing of
16330 md_floatlistinsert and md_floatinsert.
16331 (expand::LastFiles): move initalizaton of iterators out of loop,
16332 avoid reevaluation.
16333 (expand::Documents): introduce typdedef vector<string> Strings,
16335 (expand::ExportFormats): introduce typedef vector<Format const *>
16336 Formats, and use it.
16337 (expand): implement FloatListInsert and FloatInsert.
16339 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16340 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16341 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16343 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16345 (Dispatch::LFUN_FLOAT_LIST): implement
16347 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16349 * LaTeX.C (run): Fix problem with --export code.
16351 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16353 * BufferView.[Ch] (workarea): removed.
16354 (getClipboard) new method; wrapper for workarea()->getClipboard()
16356 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16359 * WorkArea.h (width, height, xpos, ypos): These methods all
16360 returned the dimensions of the work_area sub-area of WorkArea,
16361 resulting in a position error if the WorkArea were resized. Now
16362 return the dimensions of the entire WorkArea.
16364 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16366 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16368 * LaTeX.C (deplog): correct the syntax of regex reg1
16370 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16372 * undo.C: remove !NEW_INSETS cruft
16374 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16376 * text2.C: remove !NEW_INSETS cruft
16378 * text.C: remove !NEW_INSETS cruft
16380 * tabular.C: remove !NEW_INSETS cruft
16382 * spellchecker.C: remove !NEW_INSETS cruft
16384 * lyxtext.h: remove !NEW_INSETS cruft
16386 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16388 * lyxfunc.C: remove !NEW_INSETS cruft
16390 * lyxfind.C: remove !NEW_INSETS cruft
16392 * lyx_cb.C: remove !NEW_INSETS cruft
16394 * figureForm.C: remove !NEW_INSETS cruft
16396 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16398 * buffer.[Ch]: remove !NEW_INSETS cruft
16400 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16402 * CutAndPaste.C: remove !NEW_INSETS cruft
16404 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16406 * BufferView2.C: remove !NEW_INSETS cruft
16408 * BufferView.h: remove !NEW_INSETS cruft
16410 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16412 * Lsstream.h: include LString.h before the sstream headers to
16413 fix problem with gcc 2.95.3 and lyxstring
16415 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16417 * lyx_main.C: add using directives when needed for C functions
16418 declared in std:: namespace.
16420 2001-04-27 Juergen Vigna <jug@sad.it>
16422 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16423 (SetHeightOfRow): comment out the update call should not be needed!
16425 2001-04-13 Juergen Vigna <jug@sad.it>
16427 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16428 (LyXTabular): tried to minimize operator= operations (and realized
16429 hopfully Lars wish).
16431 2001-04-27 Juergen Vigna <jug@sad.it>
16433 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16435 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16437 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16439 * buffer.C (readInset): hack to make listof algorithm work
16441 * BufferView_pimpl.C: hack to make listof algorithm work
16443 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16445 * LyXAction.C: removed all !NEW_INSETS cruft
16446 (init): moved lfun_item in method
16448 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16450 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16452 * BufferView2.C (theLockingInset): white space.
16454 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16456 * minibuffer.C: include <iostream>
16458 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16460 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16462 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16464 * text.[Ch] (TransposeChars): new method
16466 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16468 * call message directly through LyXView instead of through LyXFunc
16469 * BufferView2.C: adjust
16470 * BufferView_pimpl.C: adjust
16471 * FontLoader.C: adjust
16473 * bufferview_funcs.C: adjust
16474 * converter.C: adjust
16475 * figureForm.C: adjust
16476 * importer.C: adjust
16478 * lyx_gui_misc.C: adjust
16479 * lyxfunc.C: adjust
16482 + more files in subdirs
16484 * lyxparagraph.h (size): move up int file
16487 * adjust all uses of Assert to lyx::Assert.
16489 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16490 lyxfunctional in namespace lyx
16491 * layout.C (hasLayout): ditto
16494 (delete_layout): ditto
16495 (NumberOfClass): ditto
16496 * converter.C (GetFormat): ditto
16501 * bufferlist.C (getFileNames): ditto
16502 (emergencyWriteAll): ditto
16505 * MenuBackend.C (hasSubmenu): ditto
16508 * BufferView_pimpl.C (getInsetByCode): ditto
16510 2001-04-18 Juergen Vigna <jug@sad.it>
16512 * vspace.C (asLatexString): fixed the 100% problem.
16514 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16516 * lyxfunc.C (Dispatch):
16518 * minibuffer.h: add a few std:: qualifiers
16520 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16522 * minibuffer.[Ch]: reimplement so that commands is initiated and
16523 run from lyxfunc, simplified som handling, and made the completion
16524 and history code for complete. wip.
16526 * lyxfunc.C (processKeySym): call message
16527 (miniDispatch): new temporary method
16528 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16529 (LFUN_MESSAGE): implement
16530 (LFUN_MESSAGE_PUSH): implement
16531 (LFUN_MESSAGE_POP): implement
16532 (initMiniBuffer): the initial/defualt minibuffer message.
16534 * lyxfont.[Ch]: inline some more getters
16536 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16538 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16540 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16541 (AutoSave): use LFUN_MESSAGE
16542 (Reconfigure): ditto
16544 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16546 * figureForm.C: use LFUN_MESSAGE
16548 * converter.C (runLaTeX): use LFUN_MESSAGE
16550 * bufferview_funcs.C: use LFUN_MESSAGE
16552 (changeDepth): ditto
16554 * bufferparams.h: use boost::
16556 * bufferlist.h: inherit privately from noncopyable
16558 * bufferlist.C (loadLyXFile): remove some commented code.
16560 * buffer.C (runChktex): use LFUN_MESSAGE
16562 * ShareContainer.h: inherit privately from noncopyable
16564 * ParagraphParameters.[hC] (depth): inline it.
16566 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16568 (message): new method
16569 (messagePush): ditto
16570 (messagePop): ditto
16571 (show): init minibuffer
16572 (showState): direct call
16574 * LaTeX.[Ch]: inherit privately from noncopyable
16575 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16576 instead of WriteStatus.
16578 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16580 * BufferView_pimpl.C (buffer): don't init minibuffer
16581 (workAreaButtonPress): use LFUN_MESSAGE
16582 (workAreaButtonRelease): ditto
16583 (savePosition): ditto
16584 (restorePosition): ditto
16585 (MenuInsertLyXFile): ditto
16586 (workAreaExpose): don't init minibuffer
16587 (update): remove commented code, simplify
16589 * BufferView2.C (openStuff): use LFUN_MESSAGE
16590 (toggleFloat): ditto
16593 (copyEnvironment): ditto
16594 (pasteEnvironment): ditto
16599 (updateInset): remove some commented code
16601 * lastfiles.h: inherit privately from noncopyable
16604 * lyx_main.h: ditto
16606 * lyxlex_pimpl.h: ditto
16608 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16609 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16610 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16612 * LyXAction.h: inherit privately from noncopyable, add methods
16613 func_begin, func_end, returning iterators to the func map.
16615 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16616 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16617 (func_begin): new method
16618 (func_end): new method
16620 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16622 (copySelection): ditto
16623 (pasteSelection): ditto
16625 * BufferView.C: whitespace change
16626 * BufferView.h: inherit privately from noncopyable
16628 2001-04-16 Allan Rae <rae@lyx.org>
16630 * tabular-old.C (l_getline):
16631 * spellchecker.C (sc_check_word):
16632 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16633 an unrecognised preprocessor directive. So ensure they're wrapped.
16635 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16637 * src/exporter.C (Export): Give an error message when path to file
16640 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16642 * LaTeX.C (deplog): Always check that foundfile exists.
16644 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16647 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16649 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16651 * tabular.[Ch] (getLabelList): implement new method
16653 * minibuffer.h: comment ouf setTiimer
16655 * minibuffer.C (ExecutingCB): constify res
16656 (peek_event): constify s
16657 (Set): constify ntext
16658 (Init): constify nicename
16660 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16662 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16663 (savePosition): use two params to Minibuffer::Set
16664 (restorePosition): ditto
16666 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16668 * lyx_main.C: include language.h
16670 * Makefile.am (lyx_main.o): add language.h
16672 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16678 * CutAndPaste.C: include gettext.h
16680 * lyxfont.h: remove old hack with ON and OFF.
16683 * lyxfont.h: do not include language.h...
16688 * bufferview_funcs.C:
16694 * paragraph.C: ... but do it here instead
16696 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16698 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16700 * tabular.C: small reformat
16702 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16705 (BreakParagraph): ditto
16706 (SetOnlyLayout): ditto
16709 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16712 * lastfiles.C: removed most using decl, add std:: where needed
16714 * buffer.C: ws changes
16716 * MenuBackend.C (class compare_format): put into anon namespace
16717 (expand): constify label, names, action, action2
16720 * text.C (SingleWidth): constify font
16721 (IsBoundary): constify rtl2
16722 (GetVisibleRow): constify ww
16724 * LaTeX.C (deplog): constify logfile
16726 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16728 (workAreaExpose): constify widthChange, heightChange
16730 * lyxrow.C (par): moved
16733 * lyxrow.h: as inlines here
16735 * lyxfont.h (shape): moved from lyxfont.C
16736 (emph): moved from lyxfont.C
16738 * lyxfont.C (LyXFont): use initialization list for all
16740 (shape): move to lyxfont.h as inline
16741 (emph): move to lyxfont.h as inline
16744 2001-04-04 Juergen Vigna <jug@sad.it>
16746 * vspace.C: had to include stdio.h for use of sscanf
16748 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16751 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16752 independent of xforms.
16754 2001-04-02 Juergen Vigna <jug@sad.it>
16756 * spellchecker.C: fixed namespace placing!
16758 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16760 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16761 the LyXParagraph * is 0.
16763 2001-03-29 Juergen Vigna <jug@sad.it>
16765 * vspace.C: added support for %, c%, p%, l%.
16766 (stringFromUnit): added helper function.
16767 (asLatexString): changed to give right results for the %-values.
16769 * buffer.C: convert the widthp in a width%.
16771 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16773 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16776 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16777 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16779 * lyx_cb.[Ch]: see above.
16781 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16785 * lyx.[Ch]: replaced by figure_form.[Ch].
16789 * lyxfunc.C: changed headers associated with above changes.
16791 2001-03-27 Juergen Vigna <jug@sad.it>
16793 * BufferView_pimpl.C: set the temporary cursor right!
16795 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16797 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16799 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16801 * LString.h: removed "using std::getline"!
16803 * BufferView_pimpl.C (Dispatch): changes due to changes in
16804 InsetInclude::Params.
16806 * buffer.C (tag_name): removed redundant break statements as they were
16807 producing lots of warnings with my compiler.
16809 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16811 * LString.h: add "using std::getline" when using the real <string>.
16813 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16815 * buffer.C: removed bitset usage.
16816 PAR_TAG moved to an anonymous name space.
16817 (tag_name): new funtion, also in the anonymous namespace.
16818 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16819 (makeDocBookFile): clean code. Completed transition from string arrays
16821 (SimpleDocBookOnePar): code clean.
16823 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16825 * tabular.C: add some comments.
16827 2001-03-22 Juergen Vigna <jug@sad.it>
16829 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16830 compatibility read a bit and fixed bug with minipage in different
16833 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16835 * buffer.C (pop_tag): removed.
16836 (push_tag): removed.
16837 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16838 array replaced with vector. Added support for CDATA sections.
16839 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16841 (makeDocBookFile): XML conformant declaration of CDATA section,
16842 fixed bug related to <emphasis> in the first paragraph char.
16843 (sgmlOpenTag): exclude empty tags.
16844 (sgmlCloseTag): ditto.
16846 * buffer.h (pop_tag): removed.
16847 (push_tag): removed.
16849 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16851 * language.h (Languages): added size_type and size().
16853 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16855 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16856 response on compability reading of minipages. One probliem is that
16857 the old usage of minipages was «flertydig»
16859 * several files here and in subdirs: don't use static at file
16860 scope use anon namespaces instead.
16862 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16864 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16865 LaTeX output. This is necessary for Literate document
16868 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16870 * buffer.C: insert hfill when needed.
16872 * tabular.C (l_getline): use string::erase, small whitespace change.
16874 * BufferView_pimpl.C: try the anon namespace.
16875 * WorkArea.C: ditto
16877 2001-03-16 Juergen Vigna <jug@sad.it>
16879 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16880 otherwise it won't open options-dialogs.
16882 * buffer.C: honor pextraWidth(p) on converting minipages.
16884 * tabular.C (l_getline): changed the functions to strip trailing \r.
16886 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16888 * BufferView_pimpl.C:
16889 * minibuffer..C: added "using SigC::slot" declaration.
16891 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16893 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16899 * paragraph.C: ditto
16901 * lyxtext.h: NO_PEXTRA
16903 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16905 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16906 * ParameterStruct.h: ditto
16907 * ParagraphParameters.h: ditto
16908 * lyxparagraph.h: ditto
16910 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16912 * buffer.C: add compability for minipage alignment.
16913 (latexParagraphs): remove unwanted pextra check.
16915 * several files: remove CXX_WORKING_NAMESPACES
16917 * buffer.C (pop_tag): tie is in namespace boost
16919 * BufferView.h: noncopyable is in namespace boost
16921 * lyx_main.h: ditto
16924 * lastfiles.h: ditto
16925 * bufferlist.h: ditto
16926 * ShareContainer.h: ditto
16928 * LyXAction.h: ditto
16931 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16933 * Merging changes from BRANCH_MVC back into HEAD.
16935 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16937 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16939 * BufferView_pimpl.C: change from intl.C
16943 * Makefile.am: move combox.*
16949 * intl.C: remove dialog (covered by prefs)
16951 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16953 * lyxfunc.C (Dispatch): removed redundant break statement.
16955 2001-03-14 Juergen Vigna <jug@sad.it>
16957 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16959 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16961 * buffer.C: add hack to fix compability reading of minipages.
16963 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16965 * buffer.C (getLists): Cleanup.
16967 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16969 * lyxfont.C (update): don't honor toggleall on font size.
16971 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16975 * Makefile.am: moved to frontends/xforms/
16979 * BufferView_pimpl.C: changes for moved mathpanel
16981 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16983 * gettext.h: fix gettext_init() in --disable-nls
16985 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16987 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16989 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16992 * lyx.h: strip external form
16994 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16996 * BufferView_pimpl.C: add comment, destroySplash()
16998 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17000 * BufferView_pimpl.C:
17004 * lyxfunc.C: use re-worked insetinclude
17006 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17008 * buffer.C: add using std::stringstream.
17010 * lyx_cb.C: readd using std::ios.
17012 * buffer.C: add using std::map.
17014 * BufferView_pimpl.C: add using std::vector.
17016 * ShareContainer.h: add std:: to swap.
17018 * buffer.h: add some typedefs
17019 * buffer.C (getLists): use them
17020 (getLists): renamed from getTocList.
17021 add a counter for the different float types and use it in the
17023 (getLists): use the same counter for the NEW_INSETS and the "non"
17026 * lyx_cb.h: remove unused items, includes, using etc.
17028 * ShareContainer.h: remove some commented code, add more comments
17029 and "documentation".
17031 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17033 * buffer.C (getTocList): make the list also when NEW_INSETS is
17036 * buffer.h: remove TocType
17038 * buffer.C (getTocList): change to return a map<string,
17039 vector<TocItem> >, implement for dynamic number of list.
17041 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17042 * text2.C (PasteSelection): adjust
17043 * CutAndPaste.C (pasteSelection): adjust
17045 * FloatList.C (FloatList): update from the new_insets branch.
17046 * Floating.[Ch]: ditto
17047 * LaTeXFeatures.C: ditto
17049 * lyxlex_pimpl.C: ditto
17051 * paragraph.C (Last): remove when NEW_INSETS is defined.
17053 * other file: changes because of the above.
17055 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17057 * lyxparagraph.h: rename next to next_, previous to previous_,
17058 make them private for NEW_INSETS. Rename Next() to next(),
17059 Previous() to previous().
17061 * other files: changes because of the above.
17063 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17066 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17069 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17071 * main.C (main): pass lyx_localedir to gettext_init().
17073 * gettext.h: remove locale_init and gettext_init macros
17075 * gettext.C (locale_init): new function
17076 (gettext_init): new function
17078 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17081 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17083 * Moved credits to frontends:
17084 * credits.[Ch]: removed
17085 * credits_form.[Ch]: removed
17086 * lyx_gui_misc.C: remove credits stuff
17089 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17091 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17093 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17094 unneeded destructor.
17096 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17097 a standalone pointer again.
17099 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17101 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17107 * ToolbarDefaults.C:
17116 * BufferView_pimpl.C: use new file dialog in GUII
17119 * lyx_cb.C: remove LayoutsCB to Toolbar
17121 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17123 * ShareContainer.h (get): add std:: qualifier
17125 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17127 * ShareContainer.h: define a proper ShareContainer::value_type
17128 type (and use typename to please compaq cxx)
17130 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17132 * lyxparagraph.h: move serveral local vars to
17133 ParameterStruct/ParagraphParameters., use ShareContainer in
17134 FontTable., make vars in FontTable private and add getter and
17137 * paragraph.C: changes because of the above.
17139 * lyxfont.h: remove copy constructor and copy assignment. (the
17140 default ones is ok), move number inside FontBits. move inlines to
17143 * lyxfont.C: add number to initializaton of statics, move several
17144 inlines here. constify several local vars. some whitespace
17145 cleanup. Dont hide outerscope variables.
17147 * Spacing.h: add two new constructors to match the set methods.
17149 * ShareContainer.h: new file, will perhaps be moved to support
17151 * ParameterStruct.h: new file
17153 * ParagraphParameters.h: new file
17155 * ParagraphParameters.C: new file
17157 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17158 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17160 * BufferView_pimpl.C: ParagraphParameter changes.
17161 * buffer.C: Likewise.
17162 * bufferview_funcs.C: Likewise.
17163 * text.C: Likewise.
17164 * text2.C: Likewise.
17166 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17168 * lyxfind.C (LyXReplace): do not redefine default argument in
17170 (IsStringInText): ditto
17171 (SearchForward): ditto
17172 (SearchBackward): ditto
17174 2001-03-06 Juergen Vigna <jug@sad.it>
17176 * lyxfind.C (IsStringInText): put parentes around expressions.
17178 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17180 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17182 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17184 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17186 * stl_string_fwd.h: add comment
17188 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17191 * tabular.C: remove unused DocBook methods
17197 killed DO_USE_DEFAULT_LANGUAGE
17199 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17201 * lyx_gui.C: do not include language.h.
17203 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17204 arguments in function implementation.
17206 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17208 * BufferView_pimpl.C: add <ctime>
17210 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17212 * BufferView_pimpl.C: add using std::find_if
17214 2001-02-27 José Matos <jamatos@fep.up.pt>
17216 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17219 2001-02-11 José Matos <jamatos@fep.up.pt>
17221 * buffer.C (makeDocBookFile): command styles now have a parameter as
17222 "title" by default.
17224 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17226 * layout_forms.[Ch]: removed
17227 * lyx_cb.[Ch]: out character
17228 * lyx_gui.C: out character
17229 * lyx_gui_misc.C: out character
17230 * bufferview_funcs.C: : out character,
17231 added toggleall as parameter in ToggleAndShow
17233 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17235 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17237 * text2.C (SetCurrentFont): Disable number property at boundary.
17239 2001-02-26 Juergen Vigna <jug@sad.it>
17241 * lyxfunc.C (getStatus): added a string argument override function so
17242 that this is correctly called from LyXFunc::Dispatch if it contains a
17243 do_not_use_argument which is used!
17244 (Dispatch): added check for "custom" export and call appropriate func.
17246 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17248 * lyxrc.C: Add language_command_local, language_use_babel and
17249 language_global_options.
17251 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17253 * buffer.C (makeLaTeXFile): Use language_use_babel and
17254 language_global_options.
17256 2001-02-23 Juergen Vigna <jug@sad.it>
17258 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17259 which works with LyXText and putted it inside BufferView. Here now we
17260 only call for that part the BufferView::Dispatch() function.
17262 * BufferView.C (Dispatch): added.
17264 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17265 functions which needs to use a LyXText over from LyXFunc.
17266 (MenuInsertLyXFile): added
17267 (getInsetByCode): added
17268 (moveCursorUpdate): added
17269 (static TEXT): added
17271 2001-02-22 Juergen Vigna <jug@sad.it>
17273 * BufferView_pimpl.C (update): call a status update to see if LyXText
17276 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17278 * vc-backend.C (revert): implement for CVS
17279 (getLog): implement for CVS
17281 2001-02-20 Juergen Vigna <jug@sad.it>
17283 * text2.C (ClearSelection): added BufferView param for inset_owner call
17285 * lyxfunc.C (TEXT): added this function and use it instead of
17286 directly owner->view()-text of getLyXText().
17288 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17290 * src/layout_forms.C: out preamble
17291 * src/layout_forms.h: out preamble
17292 * src/lyx_cb.C: out preamble
17293 * src/lyx_cb.h: out preamble
17294 * src/lyx_gui.C: out preamble
17295 * src/lyx_gui_misc.C: out preamble
17296 * src/lyxfunc.C: connect with guii preamble
17298 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17300 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17302 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17304 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17305 whether to run bibtex.
17307 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17309 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17311 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17313 * Makefile.am (lyx_SOURCES): removed bibforms.h
17315 * vspace.h: doxygen
17317 * text.C (GetVisibleRow): make several local vars const
17319 * tabular.C: small cleanup.
17321 * lyxserver.C (callback): use compare instead of strncmp
17323 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17324 inlines to after class or to paragraph.C
17326 * lyxfont.h: remove friend operator!=
17328 * converter.h: move friend bool operator< to non friend and after
17331 * combox.h: small cleanup
17333 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17334 to inlines after class def.
17336 * buffer.C (pop_tag): use string operations instead of strcmp
17338 * bmtable.c: doxygen, small cleanup
17340 * LaTeX.h: remove friend operator==
17342 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17354 * BufferView_pimpl.C:
17355 * BufferView.[Ch]: remove cruft
17357 2001-02-14 Juergen Vigna <jug@sad.it>
17359 * lyxfunc.C: removed #if 0 unused code
17361 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17363 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17365 * text2.C (SetSelection): added a BufferView * parameter
17367 2001-02-13 Juergen Vigna <jug@sad.it>
17369 * lyxfunc.C (Dispatch): fixed protected blank problem.
17370 * BufferView2.C (protectedBlank): added LyxText * parameter.
17372 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17373 (AppendColumn): same as above for column_info.
17375 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17376 (moveCursorUpdate): use a LyXText param for support of InsetText.
17378 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17379 (tripleClick): ditto
17381 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17383 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17385 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17387 * text2.C (SetSelection): set correct update status if inset_owner
17388 (ToggleFree): ditto
17390 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17392 * tabular.C: remove some commented code.
17394 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17396 * BufferView_pimpl.C: call hideSplash()
17398 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17401 * bibforms.h: remove
17404 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17405 add LFUN_CHILD_CREATE
17407 * counters.h: fix tiny typo
17412 * lyx.C: move splash to frontends/xforms/
17414 * lyx_gui_misc.C: move Include and Bibform to frontends
17416 * lyxvc.h: clarify comment
17418 * vspace.C: tiny housekeeping
17420 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17422 * text.C (PrepareToPrint): RTL Fix.
17424 * paragraph.C (GetUChar): New method.
17425 (String): Use GetUChar.
17427 * buffer.C (asciiParagraph): Use GetUChar.
17429 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17431 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17433 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17436 * buffer.C: rename to getLogName(), handle
17437 build log / latex log nicely
17439 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17442 * MenuBackend.h: remove support for reference menuitem type.
17444 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17446 * BufferView_pimpl.C: housekeeping
17447 * BufferView_pimpl.h:
17452 * minibuffer.h: move Timeout GUI-I
17454 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17456 * lyxrc.C (read): Update converters data-structures.
17458 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17460 * LaTeX.h (operator!=): add operator != for Aux_Info
17462 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17464 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17466 * LaTeXLog.C: deleted, useful code moved to Buffer
17469 * buffer.C: new function getLatexLogName()
17475 * lyxfunc.C: use frontends for LaTeX and VC logs
17477 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17479 * LaTeX.h: yet another std:: that Allan forgot.
17481 * Variables.C (set): renamed from isset(), because this clashes
17482 with some HP-UX macros (grr).
17484 2001-02-06 Allan Rae <rae@lyx.org>
17486 * LaTeX.h: Another bug fix. Missing std:: this time.
17488 2001-02-04 Allan Rae <rae@lyx.org>
17490 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17491 floats problem. I've left it commented out because it's not quite
17492 correct. It should also test that the current object is a table or
17493 figure inset. But I haven't gotten around to figuring out how to do
17494 that. I *think* it'll be something like: "table" == inset.type()
17496 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17499 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17501 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17502 all the citation/databases/styles in the auxilary file.
17503 (run): Rerun latex if there was a babel language error.
17505 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17507 * text.C (Backspace): Preserve the font when changing newline char
17509 (BreakParagraph): If the cursor is before a space, delete the space.
17511 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17513 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17515 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17516 new argument (code).
17517 (ChangeCitationsIfUnique): New method.
17519 * paragraph.C (GetPositionOfInset): Handle bibkey.
17521 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17523 * BufferView_pimpl.h: change type of Position::par_pos to
17524 LyXParagraph::size_type.
17526 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17528 * BufferView_pimpl.C (savePosition, restorePosition): Write
17529 messages to minibuffer.
17531 2001-01-28 José Matos <jamatos@fep.up.pt>
17533 * buffer.C (makeDocBookFile): adds support for document language.
17534 A silly restriction on the name of LatexCommand types where removed.
17535 Added support for CDATA sections, allows to chars unescaped, used
17536 among others in code, to avoid escape < and >.
17538 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17540 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17541 saved positions instrad of a stack. Furthermore, a position is
17542 stored using paragraph id/paragraph position.
17544 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17545 Remove LFUN_REF_BACK.
17547 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17549 * converter.C (dvipdfm_options): New method.
17551 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17553 * vspace.C (isValidLength): Fix for empty input string.
17555 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17557 * LyXAction.C (init): change description of LFUN_FIGURE to
17560 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17562 * LaTeX.C: add using directive
17564 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17566 * MenuBackend.C (expand): Fix the sorting of the formats.
17568 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17570 * lyx_main.C: tiny error message fix
17572 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17574 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17575 calling fl_initialize(). This fixes the problem with ',' as
17576 decimal separator in text files.
17578 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17580 * trans.C (process): Fix the keymap bug.
17582 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17584 * LaTeX.C (scanAuxFiles): New method. Provides support for
17585 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17586 (scanLogFile) Scan for "run BibTeX" messages.
17588 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17589 OT1 font encoding. Also, load the aecompl package if the ae
17592 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17594 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17596 * texrow.C (increasePos): turn two error messages into debug
17599 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17601 * LaTeX.C (scanAux): Handle the \@input macro.
17602 (runBibTeX): Use scanAux().
17604 * language.C (latex_options_): New field.
17606 * LaTeXFeatures.C (getMacros): Add language macros.
17608 * buffer.C (makeLaTeXFile): Small fix.
17610 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17612 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17614 * text2.C: add a using directive.
17616 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17621 * lyxfunc.C: kill LyXBell.
17623 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17625 * text.C (IsBoundary): Remove the error message
17627 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17629 * lyxrc.C (setDefaults): Correct initialization value for
17632 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17634 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17637 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17638 and GotoNextNote().
17640 * src/LyXAction.C: Added reference-next.
17642 * text.C (InsertChar): Use contains instead of strchr.
17644 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17646 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17648 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17649 alignment commands (when needed).
17651 * text.C (InsertChar): Add ':' to number separator chars.