1 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * rowpainter.C: use default text height for drawing change tracker
6 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
10 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
15 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
17 * text2.C: fixed the fix, extended to other case.
19 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
21 * text2.C: fix for cursor up/down stuck in math [bug 1792]
23 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
25 * text2.C (cursorUp): get rid of a crash
26 * text.C (x2pos): add an assert
28 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * lyxfunc.C (getStatus): fix warning when assertions are disabled
34 * dociterator.C: include <boost/current_function.hpp>, which is
35 needed when assertions are disabled.
37 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
39 * text2.C: fix for stuck cursor when traversing two
40 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
42 2005-02-25 Andreas Vox <avox@arcor.de>
44 * output_docbook.C (makeParagraph): suppress trailing newline
45 after a run of paragraphs
47 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
49 * paragraph.C: fix for confused change tracker when pasting
50 text that begins with a lineseparator. [bug 1827]
51 (setChange(0, Change::INSERTED);)
53 * paragraph_funcs.C: fix for lost changes on triple-paste
54 in change tracking mode [bug 1827] (par.setChange()).
56 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * text2.C (updateCounters, setCounter, expandLabel): move to
61 * buffer_funcs.C (updateCounters): turn into a free standing
62 function and add a buffer parameter. Remove dead code for tracking
64 (setCounter): change into a free-standing function which gets a
65 dociterator as argument. Use this iterator to fix captions in a
66 simple way. When no float is found above the caption, use the
67 labelstring of the caption layout as default.
69 * text.C (breakParagraph, backspace):
70 * text2.C (init, setLayout, changeDepth):
72 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
75 * dociterator.C (forwardPar): make it much faster by calling
76 forwardPos() only when really necessary.
78 * output_docbook.C (makeCommand): adapt to expandLabel move.
80 * cursor.C: remove unused variable
82 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
84 * paragraph_funcs.C: fix crash when pasting insets in change
85 tracking mode [bug 1277] (honour change type in moveItem).
87 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
89 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
91 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 * BufferView.C (setCursor): change to use a DocIterator.
94 (gotoLabel): use BufferView::setCursor (other part of bug 781).
95 (putSelectionAt): adapt to BufferView::setCursor change.
97 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
98 moved here from LyXText and rewritten to use proper cursor
99 methods. Fixes bug 1787, 616 and 835.
101 * BufferView_pimpl.C (restorePosition): set the cursor correctly
102 when inside an inset (part of bug 781).
103 (dispatch): adapt to change of BufferView::setCursor.
104 (getStatus, dispatch): handle LFUN_GOTOERROR,
105 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
107 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
108 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
109 * text3.C (gotoNextInset, gotoInset): removed.
111 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
115 2005-02-15 Angus Leeming <leeming@lyx.org>
117 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
118 can be used meaningfully in a comparison.
120 2005-02-13 André Pönitz <poenitz@gmx.net>
122 * bufferview_funcs.C (coordOffset): improve cursor drawing
124 2005-02-13 André Pönitz <poenitz@gmx.net>
126 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
127 * Cursor.C (dispatch): use fixIfBroken
128 * lyxfunc.C (getStatus): use fixIfBroken
130 2005-02-15 Angus Leeming <leeming@lyx.org>
132 * lyx_main.C (error_handler):
134 * lyxrc.C (setDefaults):
136 #include "environment.h".
138 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
140 2005-02-15 Angus Leeming <leeming@lyx.org>
142 * lyxserver.C (startPipe): squash MSVC warning "local variable
143 'fd' used without having been initialized".
145 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
147 * BufferView_pimpl.C: revert accidental commit.
149 2005-02-14 André Pönitz <poenitz@gmx.net>
151 * dociterator.[Ch]: new member forwardPosNoDescent(),
152 which doesn't enter nested insets.
153 * text2.C (setFont): use forwardPosNoDescent() instead
154 of ForwardPos() (fixes crash on font change).
156 2005-02-13 Angus Leeming <leeming@lyx.org>
158 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
159 only if lyxrc.path_prefix is not empty.
161 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
163 * bufferparams.C (readGraphicsDriver): prevent crash
165 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
167 * text2.C (setCounter): check for inInset() == 0
169 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
172 but use update() to get correct screen display; use convert
173 instead of istringstream.
174 (getStatus): handle LFUN_GOTO_PARAGRAPH
176 * lyxfunc.C (dispatch, getStatus): do not handle
177 LFUN_GOTO_PARAGRAPH here.
179 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
181 * text3.C (dispatch): size() -> depth()
183 * text2.C: remove some debug output
185 * paragraph.C: ws changes only
187 * lyxfunc.C (getStatus): size() -> depth()
189 * dociterator.h (clear, push_back, pop_back, internalData,
190 operator[], resize, empty): new functions
191 Make StableDocIterator and operator== be friends. Don't inherit
192 from std::vector use a privat class variable slices_ instead.
195 * dociterator.C: update because of not inheriting from std::vector
196 anymore. Call explictly to slices_ instead. Use depth() instead of
197 size() and top() instead of back()
199 * cursor.C: chagne size() -> depth and back() -> top(). Also
200 remove some direct operator[](i) calls in favour of foo[i]
201 (getFont): remove some dead code
203 * bufferview_funcs.C (coordOffset): size() -> depth()
205 * buffer.C: ws changes only
207 * CutAndPaste.C (eraseSelection): back() -> top()
209 * BufferView_pimpl.C (selectionRequested): back() -> top()
211 * BufferView.C (setCursor): size() -> depth()
213 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
215 * text3.C (cursorPrevious): return true if depm changed something
217 (dispatch): rename sl to oldTopSlice, remove moving use the new
218 NoUpdate func attrib instead. Make sure that needsUpdate is set
219 for function that have NoUpdate, but where depm might have changed
222 * text2.C (cursorLeft): make us return true if depm changed
225 (cursorUpParagraph): ditto
226 (curosrDownParagraph): ditto
227 (cursorUp, cursorDown): ditto, make sure to read comments in code
228 (deleteEmptyParagraphMechanism): remove an assert, also return
229 true if just a single char was deleted.
231 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
232 cursor that we modify, to avoid modifying an active cursor before
233 we call setCursor. This allows depm to run. Also return true if
234 depm deleted something.
236 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
237 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
238 cursorDownParagraph, cursorPrevious and cursorNext, return true if
239 something was changed in the buffer because of them (ie. depm run)
241 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
242 debug messages. Make update by default be false. Make sure that
243 the result of update is retained throught several calls down to
246 * LyXAction.h: add a new func_attrib: NoUpdate
248 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
249 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
250 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
252 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
254 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
256 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
257 bv_->owner(), bv_->buffer() by direct references to the private
259 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
260 (getStatus): isSavedPosition() is in BufferView::Pimpl.
261 (fitCursor): center() is in BufferView::Pimpl.
262 (getStatus, trackChanges, dispatch): no need for a temporary buf
264 (fitCursor, workAreaDispatch): use workarea().workheight()
266 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
268 * CutAndPaste.C (pasteSelectionHelper): fix a crash
270 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
272 * buffer.C: format up to 241.
273 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
274 break if pasting into ERT
275 * lyxfunc.C (getStatus): suppress mathpanel and
276 LFUN_DIALOG_SHOW_NEW_INSET in ERT
278 2005-02-01 Angus Leeming <leeming@lyx.org>
280 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
282 2005-02-01 Angus Leeming <leeming@lyx.org>
284 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
285 calling fs::is_directory().
287 2005-01-31 Angus Leeming <leeming@lyx.org>
289 * lyx_main.C (priv_exec): specify explicitly the relative location
290 of the top level build directory when run in-place.
292 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
295 LyXText containing the cursor, not the top-level one.
297 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
299 (insertStringAsLines): rename par to pit; use temporary variable
300 par to hold a Paragraph; do not store par.layout() in a variable,
301 since the pointer may die when breaking paragraphs; pass pars to
302 breakParagraph() instead of Buffer::paragraphs().
304 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
306 * lyxlex_pimpl.h: #include <fstream>.
308 * BufferView.[Ch] (getLyXText): add a const version.
310 * BufferView_pimpl.C: add debug aids.
315 * paragraph_funcs.h: add commentary explaining what the class does.
318 * coordcache.[Ch]: add lots of commentary.
319 (startUpdating, doneUpdating): debug aids.
320 (arrays, insets, parPos, getParPos): accessors to private data.
322 * cursor_slice.[Ch] (text): add a const version.
323 * dociterator.[Ch] (text, innerText): add const versions.
325 * lyxtext.h (breakParagraph): change the keep_layout arg to a
328 * paragraph.C (getRow, pos2ros): add asserts.
330 * paragraph.h: add commentary. Lots of.
332 * paragraph.[Ch] (metrucs, draw): removed.
335 * rowpainter.[Ch]: const-correct changes.
337 * text.C: various obvious clean-ups. Removal of ancient cruft.
340 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
342 * vc-backend.C (find_file): rewrite to use boost.filesystem
345 * main.C (main): set default name check for boost.filesystem to
348 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
351 (actOnUpdatedPrefs): ditto
353 * lyx_main.C (init): rewrite to use boost.filesystem
354 (queryUserLyXDir): ditto
356 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
357 (getContentsOfAsciiFile): ditto
359 * lastfiles.C (readFile): rewrite to use boost.filesystem
361 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
363 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
366 * buffer.C (Buffer): adjust for destroydir
367 (getLogName): rewrite to use boost.filesystem
369 (save): use fs::copy_file (from fs_extras)
371 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
373 * LaTeX.C (run): rewrite to use boost.filesystem
374 (scanAuxFiles): ditto
375 (handleFoundFile): ditto
377 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
379 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
381 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
383 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
385 * lyxlayout.[Ch]: change some vars from float to double
387 * buffer.C (readFile): make a local var const
389 * Several files: use convert<> instead of atoi,strToXXX and friends
391 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * LaTeXFeatures.[Ch]: Add a static list packages_ that
394 holds the contents of packages.lst. New functions getAvailable
395 and isAvailable to parse and check that list, resp.
399 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
401 * bufferparams.[Ch]: new param output_changes.
403 * Buffer.C: increase file format to 240.
404 Use output_changes and isVailable.
408 * paragraph_pimpl.C: Use output_changes and isVailable.
410 2005-01-23 Angus Leeming <leeming@lyx.org>
412 * output_latex.C: #include "insetbibitem.h", rather than
413 forward declare function bibitemWidest.
415 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
417 * lyx_main.C (init): make it compile on the Mac.
419 2005-01-20 Angus Leeming <leeming@lyx.org>
421 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
422 (setLyXMisc): (char string literal) != (char string literal) is
423 performing a comparison on the addresses. Convert one operand
424 explicitly to string to guarantee expected behaviour.
427 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
430 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
432 * output_plaintext.C: remove unneeded #include gzstream.h.
434 2005-01-20 Angus Leeming <leeming@lyx.org>
436 * SpellBase.h: rename some of the elements of the Result enum.
443 * pspell.C (check): ditto
445 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
447 * buffer.C: add #include <fstream>.
449 * lyx_main.C (init): Compile fix.
451 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
453 2005-01-20 Angus Leeming <leeming@lyx.org>
455 * mover.h: change commentary to reflect the changed meaning of
458 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * output_linuxdoc.C (linuxdocParagraphs): silence warning
462 * lyxfind.C (MatchString::operator()): remove bogus semicolon
464 2005-01-20 Angus Leeming <leeming@lyx.org>
466 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
467 printing diagnostic data by not dereferecing an iterator past the
470 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
472 * buffer.C (readHeader): use "&&" rather than "and".
474 * lyxserver.h (inPipeName, outPipeName): make these const.
476 2005-01-19 Angus Leeming <leeming@lyx.org>
478 * lyx_main.C (error_handler, init): protect SIGHUP with
479 #ifdef SIGHUP guards.
481 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
485 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
487 * text.C (setHeightOfRow): add a margin at the top and bottom of
488 the document (bug 1761)
490 2005-01-17 Angus Leeming <leeming@lyx.org>
492 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
493 with "python ". Workaround for a brain-dead Windows.
495 2005-01-16 Angus Leeming <leeming@lyx.org>
497 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
498 for MacOSX and Windows to use prependEnvPath.
499 Strip out the hard-coded block to add elements to the PATH for
500 MacOSX and replace it with a call to prependEnvPath using the
501 contents of LyXRC::path_prefix.
502 (queryUserLyXDir): strip out the code to run reconfigure, instead
503 returning a boolean indicating the necessity to do so.
504 (reconfigureUserLyXDir): contains the code to reconfigure the
505 user support directory. Is now called after the various LyXRC data
506 files have been read.
508 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
510 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
512 * converter.[Ch] (convert): take a new parameter try_default. Use
513 a default converter (imagemagick) if try_default is true.
515 2005-01-13 Angus Leeming <leeming@lyx.org>
517 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
519 (write): output LyXRC::cygwin_path_fix as necessary.
521 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
524 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
526 2005-01-12 Angus Leeming <leeming@lyx.org>
528 * lyx_main.C (init): set the PATH variable to include the
529 directory containing the LyX binary when running on Mac or Windows.
531 2005-01-12 Angus Leeming <leeming@lyx.org>
533 * lyx_main.C (init): remove cruft that purports to set the locale
534 dir. It doesn't and is not needed anyway.
536 2005-01-10 Angus Leeming <leeming@lyx.org>
538 * Makefile.am: remove the lyx_main.C special casing.
540 * BufferView_pimpl.C:
546 * messages.C: use support/package.h to provide the paths to the
547 various directories used by LyX.
549 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
551 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
552 layout if pasting into an empty paragraph)
554 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
556 * tex-accent.C: add <string>
558 2005-01-06 José Matos <jamatos@lyx.org>
560 * ParagraphParameters.C (write): put every parameter in its own line.
561 * paragraph.C (write): reduce number of consecutive empty lines exported.
562 * buffer.C (LYX_FORMAT): increase file format to 239.
564 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
566 * everywhere: change support/tostr.h -> support/convert.h
568 * tabular.C: make all write_attributes templates, tostr -> convert
570 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
571 (emptyTag): and -> &&, and fix type for ret from getChar
572 (getFirstWord): fix type for ret from getChar
573 (onlyText): and -> &&
574 (simpleDocBookOnePar): and not -> && !, fix type for ret from
577 * toc.C (goTo, action):
578 * text3.C (dispatch):
579 * text.C (currentState):
580 * tex-accent.C (DoAccent):
583 * lyxfunc.C (menuNew):
584 * lyxfinc.C (replace):
585 * counters.C (laberItem):
586 * bufferview_funcs.C (font2string):
587 * bufferparams.C (writeFile):
588 * buffer.C (readFile):
590 * MenuBackend.C: tostr -> convert
592 * LaTeX.C (runMessage): fix format
593 (scanAuxFiles): tostr -> convert
595 * BufferView_pimpl.C (savePosition): fix format
596 (restorePosition): ditto
599 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
601 * Spacing.[Ch]: New method getValueAsString().
605 * ParagraphParameters.C:
608 * text3.C: store/read spacing value as string.
610 * rowpainter.C: change float value (spacing_val) to double.
612 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
613 broken custom document spacing).
615 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
617 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
618 namespace, also more use of temp references and const
620 * cursor.[Ch] (getStatus): move to lyxfunc.C
622 * bufferparams.C: reformat slightly
624 * bufferview_funcs.C (font2string): constify arg
630 * buffer_funcs.C: (many funcs): constify arg on function
631 definitions, also make more local vars const, also add ASSERTS on
634 * buffer.C (LYX_FORMAT): put const in correct place
635 (many funcs): constify arg on function definitions, also make
636 more local vars const
638 * aspell_local.h: remove "struct" from typdef setup
640 * aspell.C (check): make word_ok const
641 (nextMiss): simplify slightly
644 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
646 * lyxrc.[Ch]: store all float values as strings.
647 use int (not float) for lyxrc.dpi.
649 2005-01-04 Angus Leeming <leeming@lyx.org>
651 * lyx_cb.C (Reconfigure):
652 * lyx_main.C (queryUserLyXDir):
653 to run the <system_lyxdir>/configure correctly on Windows, prefix
654 the path to the script with "sh " when generating the string that
655 is passed to system().
657 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
659 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
661 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * lyxlength.C (asLatexString): get rid of setprecision
665 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * text2.C (setLayout): remove unused variable endpit.
668 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
670 * paragraph.C (onlyText): remove unused variable style.
672 * cursor.C (bruteFind): remove unused variables beg and end.
674 * Makefile.am (dist_noinset_DATA): not needed anymore
676 * cheaders/*: remove.
678 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
680 * text3.C: fix LFUN_MATH_MODE.
682 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * buffer_funcs.C (countWords): new function. Counts words between
687 * BufferView_pimpl.C (getStatus, dispatch): handle
690 * LyXAction.C (init):
691 * lfuns.h: add LFUN_WORDS_COUNT.
693 2004-12-19 Angus Leeming <leeming@lyx.org>
695 * buffer.C (save): s/slashify_path/internal_path/.
697 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
699 * lyxfind.C (findChange): do not search for end of pars, because
700 the change tracker cannot handle this (fixes bug 1719).
702 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
704 * paragraph.[Ch] (autoBreakRows): remove
706 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
708 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
709 avoid using the paragraph one
711 * text2.C (LyXText, insertStringAsLines): adjust
713 2004-12-16 Angus Leeming <leeming@lyx.org>
717 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
719 2004-12-14 Angus Leeming <leeming@lyx.org>
721 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
723 * bufferlist.C (emergencyWrite):
724 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
727 2004-12-14 Angus Leeming <leeming@lyx.org>
729 * main.C: (main): no longer pass pointers to os::init.
731 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
733 * undo.C (textUndoOrRedo): simplify logic, fix a crash
734 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
736 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
739 * text3.C: remove selection_possible global flag
741 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
743 * text2.C (getSelectionSpan): remove
744 (changeDepth, changeDepthAllowed): adjust
746 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
748 * Makefile.am (BOOST_LIBS): use boost variables
750 2004-12-03 José Matos <jamatos@lyx.org>
752 * buffer.C: format up to 238.
754 2004-12-03 José Matos <jamatos@lyx.org>
756 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
758 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
760 * cursor.C (goUpDown): remove call to idxUpDown2
762 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
764 * tabular.[Ch]: use size_t-like types for cell, row and column
767 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
769 * lyxfunc.C (getStatus): do not lose previous information when
770 calling BufferView::getStatus; do not set a default "Command
771 disabled" message at the beginning, but just before returning.
773 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
775 * cursor.h (getStatus): add better comment from src/cursor.C
777 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * text3.C (getStatus): return false when the lfun is not handled
781 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * broken_headers.h: remove
785 * Makefile.am (lyx_SOURCES): remove broken_headers.h
787 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
789 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
792 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
793 top_y_, merge fitcursor with update
794 (updateScrollbar, scrollDocView, fitCursor, center, update): new
797 (workAreaDispatch): adapt to new coord scheme
798 (redoCurrentBuffer): remove
800 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
802 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
805 * coordcache.[Ch]: add paragraph cache and helpers
807 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
810 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
811 (targetX, setTargetX): introduce
813 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
814 baseline -> ascent, as the rest of lyx
816 * lyxtext.h: remove redoParagraphs, updateParPositions,
817 fullRebreak, redoParagraphInternal. move dist to anon namespace in
818 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
819 have ascent/descent (ascent is ascent of first par)
821 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
824 * paragraph.[Ch]: unify dimension handling with the rest of lyx
826 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
828 * pariterator.C: fix infinite loop introduced in par->pit renaming
830 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
831 in insets and LyXText, draw two off-screen paragraphs using
832 NullPainter, and adapt to new coord scheme
836 * text3.C: adapt lfun handlers to the new coord scheme, which
837 means: there's only guaranteed coord information for onscreen pars
838 plus one above and one below. This implies that one can do search
839 from y coordinates in the range [-1,workHeight]
841 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
843 * rename a lot of InsetOld to InsetBase
845 2004-11-25 Angus Leeming <leeming@lyx.org>
847 * BufferView_pimpl.C:
849 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
851 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
853 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
854 call BufferView::getStatus if LCursor::getStatus did nothing
855 (setStatusMessage, getStatusMessage): removed.
857 * FuncStatus.C (message): new methods. Used to provide an error
858 message indicating why a command is disabled.
859 (clear, |=, FuncStatus): update for message.
861 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
863 * lyxfunc.C (dispatch): always call sendDispatchMessage
865 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
868 * BufferView_pimpl.C:
882 * undo.C: par->pit renaming
884 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
886 * tabular.C (cellstruct): use initialization, store a shared_ptr
887 to insettext instead of the insettext directly, adjust to fit.
888 (operator=): new function
890 (rowstruct): use initialization
891 (columnstruct): use initialization
892 (ltType): use initialization
895 * lyxlength.h (swap): new function
897 * LColor.[Ch] (operator=): use the common semantics
899 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
901 * lyxfind.C (findNextChange): update the bufferview after setting
904 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
906 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
907 number of InsetOptArgs has already been inserted.
909 * output_latex.C (latexOptArgInsets): new method. This outputs all
910 the optarg insets, up to the limit defined in the layout file.
911 (optArgInset): removed
912 (TeXOnePar): call latexOptArgInsets; correctly update texrow
914 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
916 * paragraph.C (isLetter): remove special spellchecker-related
917 code; return true also for digits
918 (isWord, isKomma): remove
920 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
921 * lyxfind.C (MatchString()): use isLetter instead of isWord
923 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
925 * pariterator.h (operatir=): comment out un-implemented member
928 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
931 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
933 * lyxfont.h: include LColor.h to satisfy concept checks.
935 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
937 * pariterator.h: add typdefs for value_type, difference_type,
938 pointer and reference to satisfy concept checks. Also add default
939 constructor for same reason.
941 * pariterator.C (operator++): add post-increment operator to
942 satisfy concept checks.
944 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
947 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
949 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
950 checks. Also rename base_type to BaseType to follow naming
953 * FloatList.h: include Floating.h to satisfy concept checks.
955 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * lyxfunc.C (getStatus): when the origin of the request is menu or
958 toolbar, and the LyXView does not have focus, do as if there was
961 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
962 FuncRequest to individual entries of LFUN_SEQUENCE
964 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
966 * output_latex.C (TeXOnePar): override runparams.moving_arg
967 according to the needprotect value of the current paragraph (bug
970 * paragraph.C (simpleTeXOnePar): no need to override
971 runparams.moving_args here
973 2004-11-14 John Spray <spray_john@users.sourceforge.net>
975 * vspace.C: fix off-by-one-error, related to fix #1682
977 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
979 * lengthcommon.C: a more general fix for bug 1682
981 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
983 * text.C (backspace): fix crash
985 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
987 * format.[Ch] (getFormatFromFile): new method
988 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
990 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
992 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
994 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * lyxfunc.C (dispatch): remove the verbose argument
997 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1000 * kbmap.C (defkey): set the origin of func to KEYBOARD
1002 * MenuBackend.C (MenuItem):
1003 * ToolbarBackend.C (add): set the origin of func to UI
1005 * funcrequest.[Ch]: add origin member, which indicates which part
1006 of LyX requests an action
1008 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1010 * converter.C (move): don't lie in the error message
1011 * converter.h (isReachable, move): document
1013 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1015 * buffer.C: remove unused using lyx::support::atoi
1016 * paragraph_funcs.C: ditto
1018 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1020 * bufferlist.C (exists): use bind and equal_to instead of
1023 * lyxtextclasslist.C (NumberOfClass): ditto
1025 * cursor.C (insert): use for_each instead of explicit for loop
1027 * bufferlist.C (getFileNames): use std::transform and
1028 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1030 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1033 * buffer.C (changeLanguage): use for_each instead of explicit for
1035 (hasParWithID): implement using getParFromID
1037 * LaTeXFeatures.C: ws change only
1039 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1042 * BufferView_pimpl.C (trackChanges): use for_each instead of
1045 2004-11-04 André Pönitz <poenitz@gmx.net>
1048 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1050 * dociterator.C (asDocIterator): use hard assert again.
1052 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1054 * lyxlength.C (asLatexString): rewrite so that it does not use
1057 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * text3.C (specialChar, dispatch): make sure cursor moves to the
1060 right after inserting an inset
1062 2004-11-02 José Matos <jamatos@lyx.org>
1064 * output_docbook.C (docbook):
1065 * paragraph.C (getID):
1066 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1067 garantee that the output is always legal.
1069 * tabular.C (docbook):
1070 * outputprams.[Ch]: remove mixed contents.
1072 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1074 * text2.C (setCounter): prevent endless loop
1076 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1078 * exporter.C (copyFile): use the mover instead of support::copy()
1079 * exporter.C (Export): pass format and latex name to copyFile()
1080 * exporter.h (addExternalFile): document
1081 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1083 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1085 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1087 2004-10-30 José Matos <jamatos@lyx.org>
1089 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1090 text and no inset or font change. This allows to use CDATA
1091 sections just for the whole paragraph.
1093 2004-10-30 José Matos <jamatos@lyx.org>
1095 * paragraph.C (getFirstWord): remove unused variable.
1097 2004-10-30 José Matos <jamatos@lyx.org>
1099 * paragraph.C (getFirstWord): the content should always be escaped
1101 (simpleDocBookOnePar):
1102 * output_docbook.C (makeEnvironment): replace reference to CDATA
1105 2004-10-30 José Matos <jamatos@lyx.org>
1107 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1109 2004-10-30 José Matos <jamatos@lyx.org>
1111 * output_docbook.C (makeParagraphs):
1112 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1113 standard paragraph has only a given type of content drop the wrapper.
1115 2004-10-29 José Matos <jamatos@lyx.org>
1117 * output_docbook.C (makeEnvironment):
1119 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1121 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1123 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1124 (cleanID): sanitize any id.
1126 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1128 * buffer.C, lyxlex_pimpl.C:
1129 * lyxlex_pimpl.C (setFile):
1130 s/getExtFromContents/getFormatFromContents/
1132 2004-10-28 José Matos <jamatos@lyx.org>
1134 * output_docbook.C (makeEnvironment): move id to broadest possible
1137 * sgml.C (openTag): apply substitution of <> for all attributes.
1139 2004-10-28 José Matos <jamatos@lyx.org>
1141 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1142 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1143 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1145 * sgml.[Ch]: new version for open and closeTag for paragraph and
1146 for strings. Now they handle the ids of paragraphs.
1148 2004-10-26 Angus Leeming <leeming@lyx.org>
1150 * Makefile.am: add mover.[Ch].
1152 * converter.C (convert, move): use the new Movers to move external
1153 files to the temp directory.
1155 * lyx_main.C (init): ensure that the global system_movers data
1158 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1161 * mover.[Ch]: new files, defining a Mover as a utility to move an
1162 external file between directories and, if necessary, manipulate this
1163 file using a helper script.
1165 2004-10-25 José Matos <jamatos@lyx.org>
1167 * output_docbook.C (makeCommand): merge two if's that tested the
1170 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * sgml.C (escapeString): fix warning in a better way
1174 2004-10-25 José Matos <jamatos@lyx.org>
1176 * sgml.C (escapeString): import the require boosts header file for
1177 tie, and avoid a signed unsigned comparison.
1179 2004-10-25 José Matos <jamatos@lyx.org>
1181 * sgml.h: add #include <string>
1183 2004-10-25 José Matos <jamatos@lyx.org>
1185 * sgml.[Ch] (escapeString): new function to escape all the string.
1187 2004-10-24 José Matos <jamatos@lyx.org>
1189 * paragraph.[Ch] (getFirstWord): new function to get the first
1190 word. Useful for description.
1191 (simpleDocBookOnePar): remove depth argument, add another that
1192 says where to start the paragraph.
1194 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1195 use the new functions to fix cleanly the support for descriptions.
1197 2004-10-24 José Matos <jamatos@lyx.org>
1199 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1200 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1201 * output_linuxdoc.C (linuxdocParagraphs):
1202 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1203 add buffer as argument.
1205 2004-10-24 José Matos <jamatos@lyx.org>
1207 * output_docbook.C (makeEnvironment, searchEnvironment): place
1208 CDATA inside paragraphs and fix scope for listitems.
1210 2004-10-24 José Matos <jamatos@lyx.org>
1212 * output_docbook.C: remove using statement for stack.
1214 2004-10-23 José Matos <jamatos@lyx.org>
1216 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1217 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1218 docbook. The new scheme is recursive and makes use of iterators, the
1219 same as latex export works.
1220 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1221 directly with the paragraph contents. This code was moved up to
1222 output_docbook.C (docbookParagraphs).
1223 * sgml.C (openTag, closeTag): removed unneeded newlines.
1224 (closeEnvTags) removed.
1226 2004-10-23 André Pönitz <poenitz@gmx.net>
1228 * undo.C (textUndoOrRedo):
1229 * dociterator.C (asDocIterator): work around crash
1231 * cursor.C (getStatus): replace ASSERT by more verbose error message
1232 and manual correction of the problem. Should increase stability
1233 while providing more sensible information.
1235 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1239 * bufferlist.C (previous, next): new methods
1242 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1244 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1246 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1247 entities to preamble.
1249 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1251 * messages.C (Pimpl): strip off translation context information
1253 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1255 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1256 the cursor is correct (bug 1694)
1258 2004-10-13 José Matos <jamatos@lyx.org>
1260 * output_docbook.C (docbookParagraphs): fix closing tags in the
1261 end of the document.
1263 2004-10-09 José Matos <jamatos@lyx.org>
1265 * buffer.C: format up to 237.
1266 * bufferparams.C (write): use tostr to convert booleans to strings.
1268 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1270 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1272 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1274 * LaTeX.C: implement use of babel language in xindy.
1276 2004-10-05 José Matos <jamatos@lyx.org>
1278 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1279 Add new translators to help reading and writing the lyx file.
1281 2004-10-05 José Matos <jamatos@lyx.org>
1283 * ParagraphParameters.C (read):
1284 * text.C (readParToken): replace nexToken by more appropriate lex
1287 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1289 * LaTeX.C (runMakeIndex):
1290 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1291 (usually 'makeindex') configurable.
1293 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1294 with a variable rather than with a number.
1296 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1298 * output_latex.C (TeXOnePar): make sure font setting is the first
1299 thing that gets output (and the last at the end). Should fix bug
1302 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1304 * pch.h: use proper signal include
1306 * LaTeX.h: Use preferred calling of Boost.Signal
1309 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1311 * pch.h: dont include <boost/function/function0.hpp>
1313 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1315 * paragraph_pimpl.h: remove usage of ShareContainer
1317 * paragraph_pimpl.C: remove initialization of ShareContainer.
1319 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1323 * BufferView.C (putSelectionAt): change the semantics when
1324 backwards == true: now, this just swaps cursor and anchor wrt the
1327 * BufferView.h (putSelectionAt): add some documentation
1329 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1330 make sure backwardChar is done at least once (to avoid getting
1332 (findNextChange): use putSelectionAt in the forward direction
1333 (operator()): use Paragraph::isWord
1335 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1337 * Spacing.C (set): c_str fix
1339 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1341 * lyx_cb.C (Reconfigure): quote the name of configure script in
1342 case it contains spaces
1344 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1348 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1349 (BOOST_LIBS): use top_buildir when looking for the file
1351 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1353 * pch.h: do not use include boost/format.hpp, multiple symbols
1354 will result (gcc bug)
1357 2004-08-23 José Matos <jamatos@lyx.org>
1359 * bufferparams.C (readToken): fix reading of the author field.
1361 2004-08-20 José Matos <jamatos@lyx.org>
1363 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1365 2004-08-20 José Matos <jamatos@lyx.org>
1367 * lyxlex.[Ch] (findToken): remove function.
1369 * ParagraphParameters.C (findToken):
1370 * bufferparams.C (findToken): replace call for previous function
1371 with local copy. This local function has one more argument, the
1372 read string argument.
1374 2004-08-16 José Matos <jamatos@lyx.org>
1376 * ParagraphParameters.C (write):
1377 * Spacing.C (writeFile):
1378 * bufferparams.C (writeLaTeX):
1379 * lyx_cb.C (Reconfigure):
1380 * paragraph.C (write):
1381 * tabular.C (write): remove unnecessary space at end of line.
1384 2004-08-16 José Matos <jamatos@lyx.org>
1386 * text.C (readParagraph): remove debug message.
1388 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1390 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1393 * output_plaintext.C (asciiParagraph): set depth correctly
1395 * outputparams.h: add member depth
1397 * paragraph_funcs.C (ownerPar): remove.
1399 * text2.C (setCounter): remove first_pit; comment out some
1400 non-working code that uses ownerPar
1402 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1405 2004-08-16 José Matos <jamatos@lyx.org>
1407 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1408 For the same level of importance use the same chanel to report problems.
1409 (read): add code to deal with \begin_body and \end_body.
1412 2004-08-15 José Matos <jamatos@lyx.org>
1414 * lyxlex.C (getString): fix comment, buffer::readBody is now
1415 buffer:readDocument.
1417 * tex-strings.C (string_papersize): Default -> default,
1418 Custom -> custom, for consistency with other options.
1420 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1424 * Makefile.am: support pch
1426 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1428 * text.C (readParToken): remove the static LyXFont variable and
1429 pass it as a parameter instead. This fixes a nasty bug where an
1430 inset will be inserted with a bad font in some situations
1431 (readParagraph): adapt
1433 * text2.C (setCounter): reduce number of calls to pars_[pit]
1435 * text.C (singleWidth): add an assert, fix a test
1437 * rowpainter.C (paintText): reduce number of calls to singleWidth
1439 * paragraph.C (isHfill):
1440 (isNewline): ws only
1442 2004-08-14 André Pönitz <poenitz@gmx.net>
1447 * lyxtext.h (several functions): use a Paragraph & argument
1450 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1452 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1454 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1456 * text.C (singleWidth): remove useless test
1458 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1460 * tabular.h: remove bogus comments
1462 * tabular.C (getDescentOfRow):
1463 (isPartOfMultiColumn): add assertions
1465 * lyxlength.C (inPixels): remove #warning
1467 2004-08-14 André Pönitz <poenitz@gmx.net>
1469 * paragraph.h: inline getChar()
1471 * BufferView.h: remove unused declarations
1473 2004-08-14 José Matos <jamatos@lyx.org>
1475 * Buffer.[Ch] (readDocument): new name for old readBody.
1476 * Buffer.C: new file format, new keywords: \begin_document,
1477 \begin_header, \begin_body, \end_body.
1479 * bufferparams.C (readToken): replace all calls to lex.nextToken
1480 by lex.next(). Do the same to eatLine except where really needed.
1482 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1483 line when writing to the lyx file.
1485 * output_plaintext.C (asciiParagraph): fix Bibliography style
1488 * text.C (read): fix end of file handling.
1490 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1492 * MenuBackend.C (Menu::operator[]): new method to access
1493 individual menu items
1494 (Menu::hasFunc): new method. search for an item that corresponds
1496 (MenuBackend::specialMenu): new method
1497 (MenuBackend::expand): if a special menu has been set, skip
1498 entries whose func() appears in this menu
1500 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1502 * text3.C: use Debug::DEBUG a bit more
1504 * text.C (leftMargin): try to simplify a tiny bit change var x to
1505 l_margin. Dont output the wide margins always.
1506 (rightMargin): no margin in inner texts
1508 * rowpainter.h (nestMargin): new func
1509 (changebarMargin): new func
1510 (rightMargin): new func
1512 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1516 * factory.C (createInset): modify setDrawFrame
1518 * cursor.C: use Debug::DEBUG a bit more
1520 2004-08-14 André Pönitz <poenitz@gmx.net>
1523 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1524 cache for all insets in (at least partially) visible (top-level)
1527 * BufferView_pimpl.C: reset external coord cache before every update.
1528 This means the coord cache only contains valid entries.
1530 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1533 * BufferView_pimpl.C (getInsetByCode): move function out of class
1534 and change in to a template in anon namespace. Also fix to do what
1537 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1540 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1542 (breakParagraph): rename par to par_offset and use a local
1543 reference. Add code to keep the language over a rebreak.
1544 (breakParagraphConservative): rename par to par_offset, use a
1546 (mergeParagraph): ditto
1548 (isFirstInSequence): ditto
1549 (outerFont): rename pit to par_offset
1551 * paragraph.C: ws change
1552 * paragraph.h: ditto
1556 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1558 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1561 * paragraph.C (simpleTeXOnePar): when we have a \item with
1562 optional argument, enclose the argument with curly brackets (in
1563 case it contains a closing square bracket)
1567 * text3.C (checkInsetHit): constify
1569 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1572 documents (bug 1629)
1574 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1576 Fix toggling of collapsable insets with the mouse (bug 1558)
1578 * lyxfunc.C (dispatch): adapt to LCursor changes
1580 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1581 make sure that dispatch is not invoked twice
1583 * cursor.C (needsUpdate): new method
1584 (dispatch): return void
1585 (result): new method, to access the DispatchResult of the cursor.
1587 2004-08-13 José Matos <jamatos@lyx.org>
1589 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1591 2004-08-13 André Pönitz <poenitz@gmx.net>
1593 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1595 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1598 2004-08-12 André Pönitz <poenitz@gmx.net>
1600 * text3.C: take out the 'cursor right' form insertInset and only
1601 do it in those places when it is really needed. Fixes crash on
1604 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1606 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1608 * BufferView_pimpl.C (setBuffer): initialize the current font of
1609 the underlying LyXText
1611 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1613 * kbsequence.C (print): use UI native formatting for menu
1616 * text.C (insertChar): call Paragraph::insertChar with a font
1619 * paragraph.C (insertInset, insertChar): the version that takes a
1620 LyXFont argument is now a wrapper around the other one (the
1621 opposite used to be true).
1623 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1624 argument. Font setting is done in Paragraph now.
1626 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1628 * outputparams.h: add new members intitle and lang.
1630 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1631 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1633 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1635 * text3.C (dispatch): remove special handling of button 4 and 5,
1636 it is now taken care of in the frontend code.
1638 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1640 * Spacing.h: add <string> (STLPort compile fix)
1642 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1644 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1646 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1648 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1651 * converter.C (showMessage): inherit from unary_function, make
1654 * buffer.C (writeFile): initialize retval
1656 * InsetList.h: rename private variable list to list_
1657 * InsetList.[Ch]: adjust accordingly.
1659 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1661 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1662 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1663 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1664 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1665 * ParagraphParameters.C, LaTeXFeatures.C: replace
1666 "support/std_sstream.h" with <sstream>
1668 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1670 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1671 * lyxsocket.C (LyXServerSocket): ditto
1672 (serverCallback): ditto
1674 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1676 * LaTeXFeatures.C: check release date when loading jurabib.
1678 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1680 * lyxserver.C (startPipe): call register_socket_callback
1681 (endPipe): call unregister_socket_callback
1683 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1685 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1686 (LyXServerSocket): register the callback
1687 (LyXServerSocket): unregister the callback
1688 (fd): delete function
1689 (serverCallback): improve error checking and setup the callbacks.
1690 (dataCallback): change arg to fd.
1691 (writeln): new func (copied fro the client socket) used for server
1693 (LyXDataSocket): simplify
1694 (~LyXDataSocket): close ann unregiser callback
1695 (server): delete function
1696 (fd): delete function
1697 (readln): small changes, improve some std::string usage
1698 (writeln): constify a bit
1700 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1702 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1705 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1708 after it has been populated
1710 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1712 * text2.C (insertInset): move cursor when inserting inset.
1714 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1716 * kbmap.C (findbindings): a couple of new methods. returns a
1717 container of kb_sequence objects. The real work is done by the
1718 private recursive version
1719 (printbindings): uses findbindings to print out a bracketed list
1720 of bindings (renamed from findbinding).
1722 * MenuBackend.C (binding): use kb_keymap::findbindings
1724 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1726 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1728 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1730 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1732 * paragraph.C (isWord): return true on insets that report
1735 * text.C (getWord): use Paragraph::isWord to decide what is in a
1736 word and what is not; fix bug 1609.
1738 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1740 * tex-strings.C: add "none" to string_paperpackages[], fixes
1741 off-by-one-error in the paperpackage selection.
1744 * tex-strings.[Ch]: char const * string[n]
1745 -> char const * const string[]
1747 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1749 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1750 command, return early.
1752 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1754 * debug.h: add DEBUG to enum and fix size of ANY.
1756 * debug.C: add support for Debug::DEBUG
1757 (showTags): cast errorTags.level to unsigned int
1759 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1760 (redoCurrentBuffer): ditto
1761 (updateScrollbar): ditto
1762 * cursor.C (dispatch): ditto
1763 * text2.C (setLayout): ditto
1765 (updateCounters): ditto
1767 (deleteEmptyParagraphMechanism): ditto
1769 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1771 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1772 annotations to cleanup the Makefile slightly.
1774 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1776 * lyxrc.C: do not set user_email to a default value but use empty
1777 instead. The entry used to be translated, which does not work
1778 since at the point where lyxrc is constructed there is no
1779 translation service available
1781 * messages.C (getLocaleDir): remove and use directly
1782 lyx_localedir() instead
1784 2004-06-02 Angus Leeming <leeming@lyx.org>
1786 Fix crash caused by dereferencing null pointer 'exportdata' in
1787 OutputParams by creating a new ExportData variable on the heap,
1788 storing it in a boost::shared_ptr.
1789 The crash was triggered when generating an Instant Preview
1790 of an external inset.
1792 * Makefile.am: add outputparams.C
1794 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1795 (c-tor): allocate memory to it.
1797 * exporter.C (c-tor): associated changes.
1799 2004-06-01 Angus Leeming <leeming@lyx.org>
1801 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1802 contains data before calling isInset(0). (Bug 1513.)
1804 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1806 * exporter.C (checkOverwrite): new method
1807 * exporter.C (copyFile): new method
1808 * exporter.C (Export): copy referenced files to the document dir
1809 * exporter.[Ch]: new class ExportedFile
1810 * exporter.[Ch]: new class ExportData. Contains currently the
1811 names of referenced external files
1812 * outputparams.h: add exportdata member.
1814 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1816 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1819 2004-05-19 Angus Leeming <leeming@lyx.org>
1824 * lyxfunc.C: small changes due to the introduction of namespace
1825 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1827 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1829 * text3.C (dispatch): supress update when only moving the cursor
1830 * cursor.C (selHandle): remove commented code
1832 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1834 * paragraph.C (startTeXParParams): correct column count
1835 * CutAndPaste.C (pasteSelection): remove const_cast
1836 * output_docbook.C (docbookParagraphs): remove const_cast
1837 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1838 const_cast and return ParagraphList::const_iterator
1839 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1840 * output_plaintext.C (writeFileAscii): remove const_cast
1841 * paragraph.[Ch] (simpleTeXOnePar): make const
1842 * paragraph_funcs.C (outerPar): use const iterators
1843 * paragraph_pimpl.C (validate): use const iterators
1844 * text.C (setHeightOfRow): use const iterators
1846 2004-05-17 Angus Leeming <leeming@lyx.org>
1849 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1851 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1852 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1853 if the citation engine has changed.
1855 2004-05-14 José Matos <jamatos@lyx.org>
1857 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1858 if the textclass does not provide it. Have it different for sgml and
1860 support the language of document.
1861 * output_docbook.C (docbookParagraphs):
1862 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1863 first anchor as the id of the paragraph, remove special case code.
1864 * sgml.C (escapeChar): escape only < & >.
1866 2004-05-14 Angus Leeming <leeming@lyx.org>
1868 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1869 dependencies on src/frontends/controllers/biblio.h. Define a
1870 CiteEngine_enum wrapper class to enable the enum to be forward
1873 2004-05-12 Angus Leeming <leeming@lyx.org>
1875 * buffer.C: up LYX_FORMAT to 234.
1876 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1877 use_numerical_citations with a single biblio::CiteEngine cite_engine
1879 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1881 2004-05-13 José Matos <jamatos@lyx.org>
1884 * converter.C (Converter, readFlags): add xml member.
1885 * outputparams.h: add XML flavor.
1886 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1888 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1890 * lyxfunc.C (dispatch):
1891 (getStatus): fix handling of LFUN_SEQUENCE
1893 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1895 * debug.C (showLevel): do not forget the end-of-line marker
1897 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1899 * kbmap.C (read): do not stop parsing a bind file when an error
1902 2004-04-29 Angus Leeming <leeming@lyx.org>
1907 * text2.C: wrap a bunch of #warning statements
1908 inside #ifdef WITH_WARNINGS blocks.
1910 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1912 * buffer.C: increment format to 233.
1914 2004-04-28 Angus Leeming <leeming@lyx.org>
1916 * BufferView_pimpl.C:
1919 s/updateToolbar()/updateToolbars()/
1920 s/Toolbar.h/Toolbars.h/
1922 2004-04-28 Angus Leeming <leeming@lyx.org>
1924 * BufferView.[Ch] (c-tor):
1925 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1926 No longer passes these data to the WorkArea generator.
1928 2004-04-28 Angus Leeming <leeming@lyx.org>
1930 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1932 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1934 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1936 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1938 * output_latex.C (TeXEnvironment): make sure that there is a line
1939 break before \end{foo} for the last paragraph of a document
1940 (TeXOnePar): if the paragraph is at the end of the document (or
1941 inset) and the language has to be reset, then make sure that the
1942 line break is _before_ the language command, not after (fixes bug
1943 1225); also make sure that the language reset command is the first
1944 thing after the paragraph (to ensure proper nesting of
1945 environments and thus fix bug 1404)
1947 2004-04-21 John Levon <levon@movementarian.org>
1950 * ToolbarBackend.C: make "name" be a programmatic name
1951 and a gui_name field.
1953 * lyxfunc.C: display the minibuffer on M-x
1955 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1957 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1960 2004-04-19 Angus Leeming <leeming@lyx.org>
1962 * BufferView_pimpl.C (setBuffer): changed preview interface.
1964 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1967 2004-04-19 John Levon <levon@movementarian.org>
1969 * BufferView_pimpl.C:
1970 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1972 2004-04-05 Angus Leeming <leeming@lyx.org>
1974 * text.C (redoParagraphs): add call to updateCounters(), thereby
1975 fixing the missing "Figure #:" label from the caption of a
1978 2004-04-13 Angus Leeming <leeming@lyx.org>
1980 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1981 cursor is clicked out of an inset.
1983 2004-04-13 Angus Leeming <leeming@lyx.org>
1985 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1986 than an InsetOld one.
1988 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1990 * format.[Ch]: add editor to Format
1991 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1992 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1994 2004-04-08 André Pönitz <poenitz@gmx.net>
1996 * metricsinfo.h: remove PainterInfo::width member
1998 2004-04-08 Angus Leeming <leeming@lyx.org>
2000 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2001 "\providecommand" rather than "\newcommand", thereby preventing
2002 clashes with packages that define "\boldsymbol" themselves.
2005 2004-04-08 Angus Leeming <leeming@lyx.org>
2007 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2008 thereby squashing an unnecessary warning.
2010 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2012 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2015 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2017 * BufferView.C (setCursor): call redoParagraph (some insets could
2019 (putSelectionAt): remove the 'double update' trick
2021 * BufferView_pimpl.C (fitCursor): call refreshPar
2022 (workAreaDispatch): remove an uneeded update call
2023 (dispatch): remove some manual update calls
2025 * cursor.[Ch]: remove cached_y_, updatePos
2026 (selHandle): set noUpdate when appropriate
2028 * lyxfunc.C (dispatch): track if we need an update
2030 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2032 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2033 (paintSelection): cheap optimization, do not call cursorX when not
2035 (paintPars): change signature
2038 (paintTextInset): adjust
2042 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2044 * lengthcommon.C: compilation fix: remove explicit array size from
2045 unit_name[] and friends
2047 2004-04-05 Angus Leeming <leeming@lyx.org>
2049 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2051 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2052 present only for the preferences dialog.
2053 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2055 2004-04-05 Angus Leeming <leeming@lyx.org>
2057 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2058 to enable the frontends to export changes to lyxrc correctly.
2060 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2062 2004-04-07 André Pönitz <poenitz@gmx.net>
2064 * cursor.[Ch] (selClear, adjust): remove math
2066 * cursor_slice.C: more agressive assert
2069 * BufferView_pimpl.C: rework mouse event dispatch
2076 2004-04-05 André Pönitz <poenitz@gmx.net>
2078 * cursor.[Ch] (valign, halign...): remove unneeded functions
2080 2004-04-05 Angus Leeming <leeming@lyx.org>
2082 * lyxlength.[Ch] (unit_name et al.): const-correct.
2084 2004-04-05 Angus Leeming <leeming@lyx.org>
2086 * BufferView_pimpl.C:
2095 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2097 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2099 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2101 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2103 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2104 * BufferView_pimpl.[Ch] (getStatus)
2105 * BufferView.[Ch] (getStatus): add
2106 * lyxfunc.C (getStatus): move lfuns handled in
2107 BufferView::dispatch to te function above
2108 * Cursor.C (setSelection): set selection() = true
2110 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2112 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2114 2004-03-31 Angus Leeming <leeming@lyx.org>
2116 * lyxfunc.C (dispatch): Fall through to the generic
2117 Dialogs::show("preamble").
2119 2004-03-31 Angus Leeming <leeming@lyx.org>
2121 * lyxfunc.C (dispatch): Fall through to the generic
2122 Dialogs::show("spellchecker").
2124 2004-03-31 Angus Leeming <leeming@lyx.org>
2126 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2129 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2134 * insetiterator.[Ch]:
2139 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2141 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2143 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2144 insets where we are putting the cursor.
2146 2004-03-31 Angus Leeming <leeming@lyx.org>
2149 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2151 * lyxrc.[Ch] (read, write): overloaded member functions taking
2152 a std::[io]stream arguments.
2154 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2156 2004-03-31 Angus Leeming <leeming@lyx.org>
2158 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2159 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2161 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2162 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2164 2004-03-31 Angus Leeming <leeming@lyx.org>
2166 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2167 the LFUN_ALL_INSETS_TOGGLE code.
2169 2004-03-30 Angus Leeming <leeming@lyx.org>
2171 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2172 has died. Fall through to the generic Dialogs::show("document").
2174 2004-03-30 Angus Leeming <leeming@lyx.org>
2177 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2178 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2180 * lyxfunc.C (getStatus, dispatch): define the actions for these
2181 lfuns. Little more than a cut and pste job from ControlDocument.C
2183 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2185 2004-03-30 Angus Leeming <leeming@lyx.org>
2188 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2189 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2191 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2192 open/closed state of ollapsable insets. Usage:
2194 all-inset-toggle <state> <name>, where
2195 <state> == "open" || "closed" || "toggle" and
2196 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2198 * lyxtext.h, text2.C (toggleInset): removed.
2200 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2201 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2202 now passes LFUN_INSET_TOGGLE to the found inset.
2204 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2205 is now invoked as "all-insets-toggle toggle branch".
2207 2004-03-30 Angus Leeming <leeming@lyx.org>
2211 * pariterator.[Ch]: added/corrected header blurb.
2213 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2215 * dociterator.[Ch]: add an inset_ member
2216 (backwardPos): implemented
2217 (backwardPos, forwardPos): use inset_ when the stack is empty.
2218 (doc_iterator_begin, doc_iterator_end): implemented
2219 * pariterator.[Ch]: adjust, add begin, end
2220 * insetiterator.[Ch]: adjust, add begin, end
2224 * BufferView_pimpl.C:
2225 * CutAndPaste.C: adjust
2227 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2229 * buffer.C: increment file format to 232.
2230 * LaTeXFeatures.C: add bibtopic package.
2231 * bufferparams.[Ch]: param \use_bibtopic.
2233 * lyxrc.[Ch]: add lyxrc bibtex_command
2234 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2236 * buffer.C: increment file format to 231.
2238 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2240 * dociterator.C: implement forwardPar
2241 * iterators.[Ch]: remove, replaced by
2242 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2244 * BufferView_pimpl.C:
2247 * bufferview_funcs.C:
2253 * Makefile.am: adjust
2255 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2257 * CutAndPaste.C (pasteSelection): fix 2 crashes
2258 (eraseSelection): fix a crash
2259 * paragraph_funcs.C: remove a warning
2261 2004-03-28 Angus Leeming <leeming@lyx.org>
2264 * LyXAction.C (init): new LFUN_PRINT.
2266 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2268 2004-03-27 Angus Leeming <leeming@lyx.org>
2271 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2273 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2275 2004-03-27 Angus Leeming <leeming@lyx.org>
2277 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2278 insetlist always contains non-null pointers to insets.
2280 2004-03-26 Angus Leeming <leeming@lyx.org>
2282 * src/BufferView_pimpl.C:
2283 * src/CutAndPaste.C:
2286 * src/output_plaintext.C:
2287 * src/outputparams.h:
2288 * src/paragraph_funcs.C:
2292 * src/frontends/controllers/ControlErrorList.C:
2293 * src/frontends/gtk/FileDialogPrivate.C:
2294 * src/frontends/gtk/GPainter.C:
2295 * src/frontends/gtk/GToolbar.C:
2296 * src/frontends/qt2/QRef.C:
2297 * src/mathed/math_scriptinset.C: squash compiler warnings.
2299 2004-03-26 Angus Leeming <leeming@lyx.org>
2301 * ispell.C (LaunchIspell::start):
2302 * lyx_cb.C (AutoSaveBuffer::start):
2303 invoke run(DontWait) rather than runNonBlocking().
2305 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2307 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2309 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2311 * kbsequence.C (print): adjust
2313 * kbmap.C (printKeySym): rename and change signature
2314 (printKey): use LyXKeySym::print()
2316 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2318 * undo.C: add using std::advance to compile for stlport
2320 2004-03-24 Angus Leeming <leeming@lyx.org>
2322 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2323 it leads to a crash when no buffer is present.
2325 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2326 Martin Vermeer <martin.vermeer@hut.fi>
2328 * lyxfunc.C (dispatch):
2329 * bufferparams.C (readToken): use the new LColor::setColor
2331 * LColor.[Ch] (setColor): new version that takes two strings as
2332 argument and creates a new color entry if necessary
2334 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2336 * buffer.C (makeLaTeXFile): if the main latex file that is
2337 processed is usually a subdocument of some master, then pretend
2338 for a while that it is actually the master
2340 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2342 * buffer.C (getLabelList):
2343 (getBibkeyList): use getMasterBuffer()
2344 (getMasterBuffer): new method. Returns the main document in the
2345 case where one is using included documents.
2347 2004-03-25 André Pönitz <poenitz@gmx.net>
2351 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2353 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2355 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2356 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2358 * ParameterStruct.h: merge with ParagraphParameters
2360 * lyxtext.h: remove LyXText::parOffset() and getPar()
2362 * text3.C: Remove all 'manual' update calls. We do now one per user
2363 interaction which is completely sufficient.
2367 * BufferView_pimpl.C:
2368 * FontIterator.[Ch]:
2370 * ParagraphParameters.[Ch]:
2375 * cursor_slice.[Ch]:
2382 * output_docbook.[Ch]:
2383 * output_latex.[Ch]:
2384 * output_linuxdoc.[Ch]:
2385 * output_plaintext.[Ch]:
2387 * paragraph_funcs.[Ch]:
2388 * paragraph_pimpl.[Ch]:
2396 * frontends/controllers/ControlDocument.C:
2397 * frontends/controllers/ControlErrorList.C:
2398 * frontends/controllers/ControlSpellchecker.C:
2401 * insets/insetbase.h:
2402 * insets/insetbibitem.C:
2403 * insets/insetbox.C:
2404 * insets/insetbranch.C:
2405 * insets/insetcaption.C:
2406 * insets/insetcharstyle.C:
2407 * insets/insetcharstyle.h:
2408 * insets/insetcollapsable.C:
2409 * insets/insetcollapsable.h:
2410 * insets/insetert.C:
2411 * insets/insetfloat.C:
2412 * insets/insetfoot.C:
2413 * insets/insetmarginal.C:
2414 * insets/insetnote.C:
2415 * insets/insetoptarg.C:
2416 * insets/insettabular.C:
2417 * insets/insettext.C:
2418 * insets/insettext.h:
2419 * insets/insetwrap.C:
2420 * mathed/math_mboxinset.C:
2421 * mathed/math_nestinset.C:
2422 * mathed/math_scriptinset.C:
2423 * mathed/math_scriptinset.h:
2426 2004-03-24 Angus Leeming <leeming@lyx.org>
2428 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2429 deal with any child processes that have finished but are waiting to
2430 communicate this fact to the rest of LyX.
2432 2004-03-24 Angus Leeming <leeming@lyx.org>
2434 64-bit compile fixes.
2436 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2437 (c-tor): pass lyx::pos_types rather than ints.
2439 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2442 * text.C (Delete): compile fix.
2443 (getPar): ensure that function declaration is the same as that in
2446 2004-03-23 Angus Leeming <leeming@lyx.org>
2448 * ispell.C (LaunchIspell):
2449 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2450 a boost::shred_ptr rather than a std::auto_ptr.
2452 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2454 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2455 handle LFUN_FILE_INSERT_*
2457 * lyxrc.C (setDefaults, getDescription, output, read):
2458 * lyxrc.h: remove ps_command
2460 2004-03-22 Angus Leeming <leeming@lyx.org>
2462 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2463 Ensure that error_handler is processed once only and that all data
2464 is saved before attempting to output any warning messages.
2466 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2468 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2470 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2472 2004-03-19 André Pönitz <poenitz@gmx.net>
2474 * cursor.[Ch] (reset): take main text inset as argument
2476 * BufferView: adjust
2477 * BufferView_pimpl.C: adjust
2479 * paragraph.[Ch]: fix completely broken operator=()
2481 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2483 * LColor.C (getFromLyXName): make sure that the color name is used
2486 2004-03-17 Angus Leeming <leeming@lyx.org>
2489 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2491 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2492 dialog and to kill a forked process.
2494 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2496 * text2.C (setCursorFromCoordinates): fix font problem
2498 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2500 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2501 bogus "rebuild cursor" code
2503 2004-03-11 André Pönitz <poenitz@gmx.net>
2505 * buffer.[Ch]: use InsetText instead of LyXText as container for
2508 * dociterator.[Ch]: drop the BufferView * member which is not needed
2509 anymore after the change to buffer.C
2511 * paragraph_funcs.C:
2515 * BufferView_pimpl.[Ch]:
2517 * cursor_slice.[Ch]: adjust
2519 * text3.C: fix bug in mathDispatch
2521 2004-03-08 André Pönitz <poenitz@gmx.net>
2523 * undo.[Ch]: use 'StableDocumentIterator' as base for
2526 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2529 * bufferparams.[Ch]: add jurabib support and param.
2531 * LaTeX.C: add FIXME/comment.
2533 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2535 * buffer.C: increment file format to 230.
2537 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2539 * cursor.C (dispatch): avoid infinite loops
2541 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2543 * rowpainter.C (paintSelection): fix x coordinates
2545 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2547 * text.C (rowBreakPoint): fix breaking before displayed insets
2549 2004-03-01 André Pönitz <poenitz@gmx.net>
2551 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2553 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2557 * BufferView_pimpl.C:
2565 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2571 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2572 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2574 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2576 * Bidi.[Ch] (computeTables): const correctness
2577 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2578 fill_hfill, fill_label_hfill and x from Row
2579 * lyxtext.h: prepareToPrint returns a RowMetrics
2580 * rowPainter.C: adjust
2581 * text.C (prepareToPrint): use width, not textWidth. adjust
2582 (redoParagraphInternal, cursorX): adjust
2583 * text2.C (getColumnNearX): adjust
2584 (init): put a default value to the top LyXText::width
2586 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2588 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2590 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2592 * lyxtext.h: add FontIterator class
2594 * text.C (FontIterator, operator*, operator->, operator++): add
2595 (rowBreakPoint, setRowWidth): adjust (fixing a
2598 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2600 * BufferView_pimpl.C (workAreaDispatch): allow also
2601 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2603 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2605 * text.C (rowBreakPoint): fix a bug showing with very large insets
2607 2004-02-25 André Pönitz <poenitz@gmx.net>
2610 * cursor.[Ch]: move some mathed specific code to mathed
2612 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2614 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2615 use_tempdir in preferences
2616 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2618 * lyx_main.C: ensure that tempdir is valid
2619 * lyxlex.h: correct typo
2620 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2621 * paragraph.[Ch] (isMultiLingual): make const
2622 * cursor.[Ch] (openable): make const
2624 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2626 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2628 2004-02-20 André Pönitz <poenitz@gmx.net>
2630 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2632 * cursor.[Ch]: prepare for localized getStatus()
2638 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2640 2004-02-20 André Pönitz <poenitz@gmx.net>
2642 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2644 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2646 * text2.C (setCursorFromCoordinates): switch to absolute coords
2648 (cursorDown): adjust
2649 * text3.C (dispatch): adjust
2651 2004-02-16 André Pönitz <poenitz@gmx.net>
2653 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2656 * cursor_slice.[Ch]: remove unneeded acessor function
2658 * lyxtext.h: rename rtl() to isRTL()
2666 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2668 * rowpainter.C (paintSelection): coord fix
2670 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2672 * Spacing.C: compile fix
2674 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2676 * cursor.C (dispatch): restore current_ before returning
2678 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2680 * text2.C (cursorUp, cursorDown): fix coords
2683 2004-02-12 André Pönitz <poenitz@gmx.net>
2688 * text3.C: add LCursor & parameter to most cursor movement functions
2689 remove usage of LyXText::cursorRow() and cursorPar()
2691 * cursor.[Ch]: add textRow() needed members
2694 * BufferView_pimpl.C:
2697 * BufferView_pimpl.C: adjust
2699 2004-02-11 André Pönitz <poenitz@gmx.net>
2703 * BufferView_pimpl.C: shift undo/redo handling
2705 * cursor.[Ch]: fix mathed crash
2708 * lyxtext.h: move selectionAsText to LCursor
2716 * rowpainter.C: fix excessive drawing
2718 2004-02-06 André Pönitz <poenitz@gmx.net>
2721 * BufferView_pimpl.[Ch]:
2722 * text3.C: move some text specific LFUN handling
2724 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2726 * text3.C (checkInsetHit): adjust coords
2727 * text2.C (getColumnNearX): adjust coords
2728 (edit): adjust coords
2729 * text.C (getRowNearY): add two asserts
2731 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2734 * format.C: add using std::distance to compile on gcc 2.95/stlport
2736 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2738 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2740 2004-02-04 André Pönitz <poenitz@gmx.net>
2742 * BufferView.[Ch] (insertInset):
2743 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2748 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2750 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2751 on the default clause of the switch
2752 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2753 wasn't catched by LCursor::dispatch
2755 2004-02-03 André Pönitz <poenitz@gmx.net>
2758 * cursor.[Ch]: some additional asserts
2760 * undo.[Ch]: remove LyXText dependency in interface
2764 * lyxtext.h (firstPar, lastPar): remove dead functions
2769 * paragraph.[Ch]: adjust
2771 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2773 * lyxfind.C (find): fix argument order in call to ::find
2775 2004-02-02 André Pönitz <poenitz@gmx.net>
2777 * cursor.[Ch]: remove direct access to anchor
2779 * text.C: remove findText() hack
2781 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2783 * iterators.[Ch] (lockPath): remove in favour of...
2784 * BufferView.[Ch] (setCursor): this addition
2785 * BufferView.C (putSelectionAt): adjust
2786 * undo.C (performUndoOrRedo): adjust
2787 * lyxfunc.C (dispatch): adjust
2789 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2791 * iterators.C (lockPath): add a missing slice
2792 * undo.C (performUndoOrRedo): remove redundant positioning code
2794 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2796 * vc-backend.C (scanMaster): ";" -> ';'
2798 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2800 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2801 std::binary_function
2803 * lyxtextclass.C (compare_name): rename to...
2804 (LayoutNamesEqual): ...this
2806 * lyxlex_pimpl.C (compare_tags): inherit from
2807 std::binary_function, put back into anon namespace
2809 * lyxfind.C (MatchString): inherig from std::binary_function
2810 (findChange): use empty() istead of !size()
2812 * format.C (FormatNamesEqual): new functor
2819 * converter.C (compare_Converter): rename to...
2820 (ConverterEqual): ...this, and fixup a bit.
2821 (getConverter): use it, and make function const
2822 (getNumber): use it, and make function const
2826 * bufferlist.C: add using boost::bind
2828 * MenuBackend.C (MenuNamesEqual): new functor
2829 (hasMenu): use it, and make function const
2830 (hasSubmenu): use nested bind to get rid of compare_memfun.
2832 2004-01-30 André Pönitz <poenitz@gmx.net>
2834 * BufferView_pimpl.C:
2837 * cursor_slice.[Ch]:
2840 * paragraph_funcs.C:
2841 * paragraph_funcs.h:
2845 * text3.C: move some of the edit(x,y) handling to the insets
2846 some coordinate changes.
2848 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2850 * text.C: add using statements for std::advance and std::distance
2852 * paragraph.C: add using statement for std::distance
2854 * lyxfind.C: add using statement for std::advance
2856 * cursor.C (region): remove std:: from swap
2857 (openable): use nucleus in stead of operator->
2859 * BufferView.C: add using statements for std::distance and std::swap
2861 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2863 * iterators.C: Remove the pimple, move the needed structures to
2864 the header file. Create accessor for the positions stack.
2865 (asPosIterator): remove function
2867 * PosIterator.C (PosIterator): move constructors to top of file
2868 (PosIterator): reimplement the constructor taking a ParIterator in
2870 (setFrom): new function
2871 (operator!=): inline it
2873 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2875 * lyxfind.C (replaceAll): use std::advance
2877 * iterators.h: inherit from std::iterator.
2879 * PosIterator.C (advance, distance): remove
2880 * PosIterator.h: interit from std::iterator.
2882 2004-01-26 André Pönitz <poenitz@gmx.net>
2885 * BufferView_pimpl.[Ch]:
2889 * bufferview_funcs.C:
2899 * output_linuxdoc.C:
2900 * output_plaintext.C:
2902 * paragraph_funcs.[Ch]:
2903 * paragraph_pimpl.[Ch]:
2909 * text3.C: more IU: dumps most of the rest of the mathcursor
2910 implementation into cursor.[Ch]; "globalize" a bit of it.
2912 2004-01-25 Angus Leeming <leeming@lyx.org>
2914 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2916 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2918 * LaTeXFeatures.h: add nice_ and nice() const
2919 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2921 2004-01-20 André Pönitz <poenitz@gmx.net>
2924 * BufferView_pimpl.C:
2926 * bufferview_funcs.C:
2928 * cursor_slice.[Ch]:
2939 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2940 LCursor and mathcursor parts to LCursor and InsetBase.
2942 2004-01-15 André Pönitz <poenitz@gmx.net>
2944 * cursor_slice.[Ch]: add a few covienience functions
2946 * funcrequest.[Ch]: remove BufferView * member
2948 * BufferView_pimpl.C:
2955 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2957 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2959 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2960 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2962 2004-01-13 André Pönitz <poenitz@gmx.net>
2965 * lyxtext.h: hide cursor and selection anchor behind accessor function
2968 * BufferView_pimpl.[Ch]:
2970 * bufferview_funcs.C:
2980 * cursor_slice.[Ch]: some integer type changes for inset unification
2982 * lyxcursor.[hC]: remove, it's CursorSlice now.
2985 * BufferView_pimpl.[Ch]:
2986 * bufferview_funcs.C:
2992 * textcursor.[Ch]: adjust
2994 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2996 * text2.C (undoSpan): add and use
2997 * text.C (breakParagraph): use undoSpan (fix bug 578)
3000 2004-01-08 Angus Leeming <leeming@lyx.org>
3002 * BufferView_pimpl.C (MenuInsertLyXFile):
3003 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3004 * lyxfunc.C (menuNew, open, doImport):
3005 FileFilterList change to the FileDialog open and save functions.
3007 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3009 * ShareContainer.h: make isEqual and isUnique adaptable
3011 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3013 2004-01-07 Angus Leeming <leeming@lyx.org>
3016 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3018 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3020 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3021 functions replacing find, replace and replaceAll.
3023 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3024 LFUN_WORDFIND(FORWARD|BACKWARD).
3026 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3028 * text.C (breakParagraph): remove an outdated #warning
3030 2004-01-07 André Pönitz <poenitz@gmx.net>
3032 * lyxfind.C: somewhat clearer logic
3034 * text.C: prevent crash in cursorX on unitialized row cache
3036 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3038 * lyxcursor.[Ch] (operator>): add
3039 * textcursor.C (selStart, selEnd): use std::min and std::max
3041 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3043 * Chktex.C: include boost/format.hpp
3045 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3047 * InsetList.C: replace functor MathcIt with adaptable functor
3049 (insetIterator): modify accordingly
3051 * BranchList.h: move the BranchNamesEqual functor here from...
3052 * BranchList.C: ... to here
3054 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3056 (add): replace a finding loop with std::find_if.
3058 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3060 * output_docbook.C: moving LatexParam functionality into
3063 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3065 * buffer.C: increment format to 229.
3067 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3070 * lyx_sty.[Ch]: remove minipageindent_def
3076 * text3.C: remove LFUN_INSET_MINIPAGE
3078 2003-12-28 Angus Leeming <leeming@lyx.org>
3080 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3082 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3084 * text2.C (setParagraph): fix off-by-one crash
3086 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3088 * output_docbook.C: header stuff for AGU
3090 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3092 * text2.C (redoCursor): remove
3095 * BufferView_pimpl.C: remove calls to redoCursor and
3096 setCursor(cursor.par(), cursor.pos()) all around
3098 2003-12-15 Angus Leeming <leeming@lyx.org>
3100 * buffer.C: up the format to 228.
3102 2003-12-15 André Pönitz <poenitz@gmx.net>
3104 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3109 * BufferView_pimpl.C:
3118 2003-12-15 Angus Leeming <leeming@lyx.org>
3120 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3121 than getFromGUIName to manipulate the color.
3123 2003-12-14 Angus Leeming <leeming@lyx.org>
3125 * BranchList.[Ch]: minimize the API.
3126 (Branch::getBranch, getColor): now return a 'const &'.
3127 (Branch::setSelected) now returns a bool set to true if the
3128 selection status changes.
3129 (BranchList::clear, size, getColor, setColor, setSelected,
3130 allBranches, allSelected, separator): removed.
3131 (BranchList::find): new functions, returning the Branch with
3133 (BranchList::add, remove): return a bool indicating that
3134 the operation was successful.
3136 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3137 new InsetBranch::isBranchSlected member function.
3139 * LColor.[Ch]: mimimize the API.
3140 (fill): renamed as addColor and made private.
3141 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3142 versions of these functions taking a string arg have been removed.
3144 * bufferparams.C (readToken):
3145 * lyxfunc.C (dispatch):
3146 * lyxrc.C (read): changes due to the altered BranchList and
3149 * factory.C (createInset, readInset): changes due to altered
3152 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3155 * lyxfunc.C: remove insetminipage. "minipage-insert"
3156 now produces a frameless minipage box inset.
3158 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3160 * textcursor.[Ch] (selStart,selEnd): add new methods
3161 remove selection::start, end, use LyXCursor::operator<
3162 * lyxcursor.[Ch] (operator<): add
3163 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3164 * BufferView.[Ch] (unsetXSel): add
3165 * text2.C (clearSelection): use unsetXSel,adjust
3168 * rowpainter.C: adjust
3169 * bufferview_funcs.C (put_selection_at): adjust
3171 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3173 * BufferView_pimpl.C: small coord. correction
3175 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3177 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3178 dragging over the splash screen.
3180 2003-12-11 Angus Leeming <leeming@lyx.org>
3182 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3183 as it is now handled in LyXText::dispatch.
3185 * text3.C (doInsertInset): remove a level of nesting.
3187 2003-12-11 Angus Leeming <leeming@lyx.org>
3189 * factory.C (createInset): changes due to the changed interface to
3190 InsetCommandMailer::string2params.
3192 2003-12-10 Angus Leeming <leeming@lyx.org>
3194 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3195 'dialog-show-new-inset <inset name>'
3197 2003-12-10 Angus Leeming <leeming@lyx.org>
3199 * buffer.C: up the format to 227.
3201 * factory.C: the box inset is now identified simply by 'Box'.
3203 2003-12-10 Angus Leeming <leeming@lyx.org>
3205 * buffer.C: up the format to 226.
3207 * factory.C: the note inset is now identified simply by 'Note'.
3209 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3211 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3212 when a pit is enough. Standarize a couple of loops.
3214 2003-12-05 Angus Leeming <leeming@lyx.org>
3216 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3217 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3218 data to the re-worked "log" dialog.
3220 2003-12-03 André Pönitz <poenitz@gmx.net>
3226 * paragraph_funcs.C:
3228 * text2.C: use Inset::getText instead of Inset::getParagraph
3230 2003-12-03 André Pönitz <poenitz@gmx.net>
3234 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3235 InsetText::read() as LyXText::read()
3237 2003-12-02 Angus Leeming <leeming@lyx.org>
3239 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3240 type. Add a comment in the implementation that the function uses
3241 the stream's bad() function rather than fail() as the std::streams
3244 2003-12-02 André Pönitz <poenitz@gmx.net>
3246 * lyxlex.[Ch]: make interface more similar to std::stream
3248 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3250 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3252 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3254 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3256 * vspace.[Ch]: remove VSpace::NONE
3258 2003-12-01 André Pönitz <poenitz@gmx.net>
3261 * lyxtext.h: move ParagraphList member to LyXText
3262 rename LyXText::ownerParagraphs to LyXText::paragraph
3265 * bufferview_funcs.C:
3275 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3277 * undo.C: fix cursor positioning
3279 2003-12-01 John Levon <levon@movementarian.org>
3281 * BufferView_pimpl.C: fix a crash on exit with
3284 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3286 * BranchList.C: fix setSelected() method.
3288 2003-11-28 André Pönitz <poenitz@gmx.net>
3290 * ParagraphParameters.[Ch]:
3291 * ParameterStruct.h: remove space above/below from Paragraph to
3294 * BufferView_pimpl.C:
3300 * paragraph_funcs.C:
3306 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3308 * factory.C: Syntax change for CharStyles
3310 2003-11-28 André Pönitz <poenitz@gmx.net>
3315 * buffer.[Ch]: move LyXText member
3317 2003-11-28 André Pönitz <poenitz@gmx.net>
3319 * BufferView.[Ch]: make LyXText * text a private member
3321 * BufferView_pimpl.C:
3332 * output_plaintext.C: cleanup
3334 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3337 * lyxtextclass.[Ch]: parametrize SGML document header
3339 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3342 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3345 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3347 * text2.C (setFont): rework using PosIterator (no more recursive)
3348 (setCharFont): no more needed
3349 (setLayout): no more selection cursors fiddling (done by redoCursor)
3350 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3351 destroy remaining ones)
3353 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3355 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3357 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3360 * text3.C: adjust + re-allow multi par depth changes
3361 * textcursor.C: simplify a bit
3363 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3369 * src/output_docbook.C:
3370 * src/output_latex.C:
3375 * src/text2.C: Introducing a number of tags parametrizing various
3376 XML formats that we may want to support
3378 2003-11-25 André Pönitz <poenitz@gmx.net>
3380 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3382 * lyxtext.h (leftMargin/rightMargin): simplify interface
3389 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3391 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3392 master file to any child files. Fixes bug 546.
3394 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3396 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3398 2003-11-24 André Pönitz <poenitz@gmx.net>
3400 * rowpainter.C: simplification
3402 * text2.C (updateCounters): remove call to redoParagraph on
3403 changed labels as this is far too expensive.
3405 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3407 * converter.C (convert): fix a crash: this function gets
3408 called with buffer == 0 from importer code.
3410 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3412 * text3.C (cursorPrevious): make sure that we do not compare
3413 iterators form different containers.
3416 * rowpainter.C (paintSelection): make sure that we do not compare
3417 iterators from different containers.
3419 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3420 iterators from different ParagraphList containers.
3423 * text2.C (LyXText): change order of initialization slightly
3424 (operator=): new function. copy all variables except cache_par_
3425 (moveUp): make sure that we do not compare iterators from
3426 different ParagraphList constainers.
3429 * text.C (firstPar): new function
3430 (lastPar): new function
3431 (endPar): new function
3433 * lyxtext.h: move things around and group public functions, public
3434 variables, private functions, private variables
3436 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3438 * factory.C: change call to InsetERT constructor to avoid
3439 additional invocation of method status
3440 * text2.C (toggleInset): remove redundant update() call
3441 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3442 instead of a Bufferview pointer
3444 2003-11-21 André Pönitz <poenitz@gmx.net>
3446 * rowpainter.C: simplification
3448 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3450 * text3.C (dispatch): make possible to extend a word/row selection
3453 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3455 * lyxtext.h: x0_,y0_ -> xo_,yo_
3456 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3457 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3458 * rowpainter.C (paintRows): paint full paragraphs
3460 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3462 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3465 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3467 * lyxtext.h: add x0_, y0_
3468 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3469 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3471 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3473 * text2.C (setCursorIntern): move the x_target update here *
3474 * text3.C: change some bv() to true/false in calls to
3475 cursorUp/Down/Right/Left
3476 * cursor.C: use helper function.
3478 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3480 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3481 * paragraph_funcs.[Ch]: correct comment
3482 * rowpainter.C: do not paint selections away from bv->cursor()
3483 Fix a long standing selection painting bug.
3484 * text3.C: generalize mouse-selection code to LyXTexts other that
3486 * textcursor.C: do not use y coords if we can use par offsets
3488 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3490 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3491 cursor position after e.g. inset insert)
3493 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3495 * lyxfind.C (replace): adjust to locking removal + some
3498 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3500 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3503 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3506 * output_docbook.C: XML sanitation: new layout
3507 parameters InnerTag and CommandDepth
3509 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3511 * BufferView_pimpl.C:
3513 * text3.C: Fix the insertion and modification of button-style
3516 2003-11-13 André Pönitz <poenitz@gmx.net>
3518 * InsetList.[Ch]: remove deleteLyXText
3520 * paragraph.[Ch]: cache beginOfBody position
3525 * text3.C: remove superfluous update() calls
3529 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3531 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3532 * BufferView.C (fitLockedInsetCursor): remove
3533 * cursor.[Ch] (getDim): add
3534 * text.C (getRowNearY): add faster version
3535 * text3.C: remove some update calls
3537 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3549 * text3.C: The Character Style /XML short element patch.
3551 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3554 * factory.C: Small step to solving 'unable to insert some insets'
3557 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3559 * cursor.[Ch] (updatePos): new function for updating the y
3560 position of the tip inset
3561 * bufferview_funcs.C (put_selection_at):
3562 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3564 2003-11-11 André Pönitz <poenitz@gmx.net>
3566 * text.C: remove big comment on invalid Paragraph pointers as it is
3569 2003-11-11 André Pönitz <poenitz@gmx.net>
3571 * text_funcs.[Ch]: merge with ...
3579 * Makefile.am: remove text_funcs.[Ch]
3581 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3583 * cursor.C (getPos): return absolute cached y coord
3585 * BufferView_pimpl.C (fitCursor): new simplistic code
3586 (workAreaDispatch): add a fitCursor call
3588 2003-11-10 André Pönitz <poenitz@gmx.net>
3591 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3593 2003-11-10 André Pönitz <poenitz@gmx.net>
3595 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3596 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3597 indicate that the cursor needs to leave an inset
3599 * lyxtext.h: remove inset locking
3601 * cursor.[Ch]: re-implement functionality provided by inset locking
3604 * BufferView_pimpl.[Ch]:
3606 * bufferview_funcs.[Ch]:
3618 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3620 * PosIterator.[Ch]: replace the stack with a vector, add inset
3622 * iterators.[C]: adjust
3624 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3626 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3628 * paragraph_funcs.C (readParToken): put the correct id in the
3629 error item, not the id of the top paragraph
3631 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3633 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3634 * bufferview_funcs.C (put_selection_at): use the above
3636 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3638 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3640 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3642 * output_linuxdoc.h:
3643 * output_plaintext.h:
3645 * output_docbook.h: add #include statements
3647 2003-11-05 José Matos <jamatos@lyx.org>
3649 * output_docbook.[Ch]:
3650 * output_latex.[Ch]:
3651 * output_linuxdoc.[Ch]:
3652 * output_plaintext.[Ch]: New files for output formats.
3653 * output.[Ch]: New file for helper functions.
3656 * paragraph_funcs.[Ch]: output functions moved to new files.
3658 * outputparams.h: rename of latexrunparams.h
3666 * paragraph_funcs.[Ch]:
3667 * paragraph_pimpl.[Ch]:
3668 * tabular.[Ch]: rename ascii to plaintext
3669 and LatexRunParams to OutputParams.
3671 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3673 * iterators.[Ch] (text): require bv argument
3674 * undo.C (recordUndo):
3675 * lyxfunc.C (dispatch):
3676 * bufferview_funcs.C (put_selection_at): adjust
3678 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3680 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3682 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3684 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3687 2003-11-04 André Pönitz <poenitz@gmx.net>
3689 * cursor.[Ch]: restructure
3692 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3694 * iterators.[Ch] (asCursor): remove
3696 * lfuns.h: remove LFUN_INSET_EDIT
3702 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3704 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3706 * lyxfind.[Ch]: complete overhaul
3707 * BufferView_pimpl.C:
3709 * paragraph.[Ch] (insert): add
3711 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3715 * text.C: remove dead spellcheck code
3717 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * dispatchresult.h: add a val setter
3721 * cursor.C (dispatch): use a tempvar for data_[i]
3723 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3725 * PosIterator.[Ch]: compile fix
3727 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3729 * text.C (cursorPar): deactivate the cursor cache
3731 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3733 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3735 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * text3.C (dispatch): adjust for new DisptchResult semantics.
3739 * lyxfunc.C (dispatch): handle update when return from
3740 Cursor::dispatch, adjust for new DispatchResult semantics.
3742 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3743 DispatchResult(true) mean to not update. Add class functions for
3744 setting dispatched and update, as well as reading.
3746 * cursor.C (dispatch): don't handle update here
3748 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3751 * trans_mgr.C: adjust
3753 * paragraph_funcs.C (readParToken): exception safety
3755 * lyxvc.h: store the vcs pointer in a scoped_ptr
3758 * lyxsocket.C (serverCallback): exception safety
3760 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3762 * ispell.C (clone): make it return a auto_ptr
3764 * factory.C (createInset): exception safety
3765 (readInset): exception safety
3767 * bufferlist.C (newBuffer): exception safety
3769 * Thesaurus.C (Thesaurus): use initialization for aik_
3771 * MenuBackend.C (expandToc): exception safety.
3773 2003-11-03 André Pönitz <poenitz@gmx.net>
3777 * bufferview_funcs.C: remove getInsetFromId()
3780 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3786 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3788 * PosIterator.C (distance, advance): new
3789 * bufferview_funcs.[Ch] (put_selection_at): new
3790 * iterators.[Ch] (lockPath): new
3792 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3794 * iterators.[Ch] (asPosIterator): added
3795 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3796 * PosIterator.[Ch]: added
3798 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * cursor.C (dispatch):
3803 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3805 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3806 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3807 contructor, add a class function dispatched. Remove operator>=
3809 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * debug.C: only use the default constructor for debugstream
3814 * main.C (main): include debug.h and setup the lyxerr streambuf
3817 2003-10-31 José Matos <jamatos@lyx.org>
3819 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3821 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3822 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3823 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3824 * paragraph_pimpl.C (simpleTeXSpecialC):
3825 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3826 add LatexRunParams argument.
3828 * exporter.C (Export): change call accordingly.
3830 * latexrunparams.h: add new member to take care of the other backends.
3831 2003-10-30 José Matos <jamatos@lyx.org>
3833 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3834 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3835 factorise code for paragraph output.
3837 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3840 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3842 * text3.C (dispatch):
3843 * lyxfunc.C (dispatch):
3844 * cursor.C (dispatch):
3845 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3847 * dispatchresult.h: make the dispatch_result_t ctor explicit
3849 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3852 * buffer.C: small refactoring of docbook stuff
3854 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3859 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3862 operator dispatch_result_t, and operators for == != and >=
3864 * cursor.C (dispatch): adjust for operator dispatch_result_t
3865 removal. comment out call to update
3867 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3869 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3880 * dispatchresult.h: new file, DispatchResult broken out of
3883 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3885 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3887 * text.C (rowBreakPoint): put a hack inside #if 0
3889 2003-10-28 André Pönitz <poenitz@gmx.net>
3893 * paragraph_funcs.C:
3896 * text2.C: general cleanup (lots of small stuff)
3898 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3900 * text2.C (cursorEnd): simple fix to the "end key goes to one
3901 before the end on last row" bug
3903 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3905 * text.C (backspace): fix the "zombie characters"
3907 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3909 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3911 2003-10-27 André Pönitz <poenitz@gmx.net>
3913 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3915 * factory.C: handle new InsetPagebreak, InsetLine
3917 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3918 and move handling into new InsetPagebreak, InsetLine
3920 * BufferView_pimpl.C:
3922 * ParagraphParameters.C:
3923 * ParameterStruct.h:
3928 * paragraph_funcs.C:
3929 * paragraph_pimpl.C:
3935 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3938 * lyxrow_funcs.[Ch]:
3944 * text3.C: remove lastPos uses in favour of Row::endpos
3946 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3948 * undo.C (performUndoOrRedo): fix two crashes by setting a
3949 cursor by hand and reordering some calls. Use bv->lockInset instead
3950 of inset->edit because the latter loses cursor information
3952 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3954 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3956 (rowBreakPoint): fix width. change point to point + 1.
3957 Add a missing check.
3959 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3962 * lyxfunc.C: fix (at least partly) the problems
3963 with the Nav menu and headers inside branch insets
3966 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3968 * paragraph.C (getChar): add strong asserts
3970 * lyxrow_funcs.C (lastPos): remove hideous hack
3972 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3973 (fill): adjust to that (avoid an infinite loop)
3975 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3977 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3979 2003-10-23 André Pönitz <poenitz@gmx.net>
3981 * RowList_fwd.h: change list<> to vector<> to gain speed
3982 after suggestion from Alfredo
3984 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3986 * lyxtext.h: move the bidi stuff from here...
3989 * Bidi.[Ch]: ... to here
3991 2003-10-23 André Pönitz <poenitz@gmx.net>
3994 * text.C (isLastRow, isFirstRow): new functions
3996 * paragraph.h: new width cache member
3998 * rowpainter.C: replace RowList::iterator with Row & where possible
4000 * lyxfunc.C: replace several view()->text with a single call
4002 * toc.C: fix 'unused' warning
4004 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4007 when woring with stream::pos_type
4008 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4010 2003-10-22 André Pönitz <poenitz@gmx.net>
4013 * text.C: use Row & instead of RowList::iterator
4015 * lyxrow.h: rename end() to endpos()
4021 2003-10-22 Angus Leeming <leeming@lyx.org>
4023 * buffer.[Ch] (fully_loaded): new member function, returning true
4024 only when the file has been loaded fully.
4025 Used to prevent the premature generation of previews and by the
4026 citation inset to prevent computation of the natbib-style label.
4028 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4029 templates are all set up.
4031 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4033 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4035 * text.C: fixed an "oops" in the "is a bit silly"
4038 2003-10-21 André Pönitz <poenitz@gmx.net>
4040 * FuncStatus.[Ch]: small stuff, whitespace
4042 * lyxfont.[Ch]: operator<<() for debug reasons
4046 * lyxtext.h: whitespace, spelling
4048 * paragraph.C: naming of variables
4051 * text2.C: small stuff
4054 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4056 * text.C: (1) finish off the inset display() work;
4057 (2) fix the "is a bit silly" bug (accessing char
4060 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4062 * text.C: re-introduce display() for insets, fixing the
4063 various bugs (stretch of line above, math inset
4066 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4068 * text.C (rightMargin): remove spurious semicolon
4070 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4073 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4075 * text3.C: fix one crash due to wrong cursor def
4077 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4079 * vc-backend.C (scanMaster): make the regex static
4081 * LaTeX.C (scanAuxFile): make the regexs static
4083 * text3.C (doInsertInset, dispatch, dispatch):
4084 * text2.C (cursorUp, cursorDown):
4085 * text.C (selectNextWordToSpellcheck):
4086 * BufferView_pimpl.C (dispatch):
4087 * lyxfunc.C (dispatch): localDispatch -> dispatch
4089 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4091 * lyxsocket.C: include <cerrno>
4093 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4095 * lyxfunc.C (dispatch): remove textcache stuff
4097 * bufferlist.C (release): remove textcache stuff
4100 * TextCache.C: delete file
4101 * TextCache.h: delete file
4103 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4105 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4106 delete of the bv_->text.
4107 (resizeCurrentBuffer): remove texcache stuff
4108 (workAreaResize): ditto
4110 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4112 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4115 2003-10-16 André Pönitz <poenitz@gmx.net>
4122 * text3.C: speed up by storing y positions per paragraph plus per-row
4123 offset instead of having a 'full' y position in the row.
4125 2003-10-15 André Pönitz <poenitz@gmx.net>
4129 * undo.[Ch]: make undo aware of inner insets
4131 2003-10-14 Angus Leeming <leeming@lyx.org>
4133 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4134 static member functions LyX::ref() and LyX::cref.
4135 (lastfiles): new accessor functions for the new lastfiles_ member var.
4136 (addLyXView, views_): add a new LyXView to the list of views_.
4137 (updateInset): loop over all LyXViews to call their own updateInset
4138 member function, returning a pointer to the Buffer owning the inset.
4140 * BufferView_pimpl.C (loadLyXFile):
4141 * MenuBackend.C (expandLastfiles):
4142 * bufferlist.C (MenuWrite, QuitLyX):
4143 lastfiles is no longer a global variable.
4144 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4146 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4147 static function. Access through LyX::cref().emergencyCleanup().
4149 2003-10-14 André Pönitz <poenitz@gmx.net>
4151 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4153 * undo.[Ch]: restoring part of 'undo in insets'
4156 * undo_funcs.[Ch]: merge with undo.[Ch]
4158 * tabular.C: small cleansing stuff
4160 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4162 * paragraph_funcs.C (readParToken): report unknown insets as error
4163 boxes. Use the outer paragraph as location (also for unknown
4166 * factory.C (readInset): do not abort on reading an unknown inset.
4167 Eat it and return 0.
4169 2003-10-13 Angus Leeming <leeming@lyx.org>
4171 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4173 * lyxrc.C: displayTranslator is now a function,
4174 declared in GraphicsTypes.h.
4176 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4178 * format.C: new placeholder $$a to pass the socket address.
4180 * bufferlist.[Ch]: new function getBufferFromTmp.
4182 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4183 files in the temporary dir.
4185 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4187 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4189 * Makefile.am: add lyxsocket.[Ch].
4191 * lyx_main.C (error_handler): handle SIGPIPE.
4193 2003-10-13 André Pönitz <poenitz@gmx.net>
4195 * BufferView_pimpl.C:
4200 * undo_funcs.[Ch]: use paroffset_type instead of
4201 ParagraphList::iterators to prevent multiple conversion
4202 (and get a more robust interface)
4204 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4206 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4208 * text3.C (dispatch): ditto
4210 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4213 move the onlyfile, use onlyfile instead of foundfile in a couple
4216 * DepTable.C (update): flush the error stream a bit more
4218 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * lyxserver.C (callback): adjust
4222 * lyxfunc.C (getStatus): add a missing brace in commented code
4223 (ensureBufferClean): reindent
4224 (dispatch): delete version taking a string
4226 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4228 * LaTeX.C (deplog): move found file handlig from here...
4229 (handleFoundFile): .. to new function here.
4230 (deplog): make sure to discover several files mentioned on the
4233 2003-10-10 André Pönitz <poenitz@gmx.net>
4240 * text3.C: fix some of the tabular crashes
4242 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4244 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4246 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4248 2003-10-09 André Pönitz <poenitz@gmx.net>
4250 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4253 * BufferView_pimpl.C:
4254 * bufferview_funcs.C:
4265 * undo_funcs.C: adjust
4267 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * text2.C (incrementItemDepth): new function, use a backtracking
4270 algorithm to discover the correct item depth.
4271 (resetEnumCounterIfNeeded): new function, use a backtracking
4272 algorithm to discover if counter reset is needed.
4273 (setCounter): use them. Simplify a bit. Add different labels for
4274 different item depths for itemize.
4276 * paragraph.C (Paragraph): remove initialization of enumdepth
4279 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4280 enumerate and itemize. Change the type of itemdepth to signed char.
4282 2003-10-08 André Pönitz <poenitz@gmx.net>
4284 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4289 * tabular.[Ch]: fix crash after 'row-insert'
4291 2003-10-08 Angus Leeming <leeming@lyx.org>
4293 Fix doxygen warnings.
4295 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4296 Remove CutAndPaste:: prefix from header file declaration.
4298 * LColor.h (fill): remove LColor:: prefix from declaration.
4300 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4301 use lyx::depth_type rather than Paragraph::depth_type so that
4302 header file and .C file match.
4304 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4306 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4307 * aspell.C: \file aspell_local.C -> \file aspell.C
4308 * gettext.C: \file gettext.C -> \file src/gettext.C
4309 * gettext.h: \file gettext.h -> \file src/gettext.h
4310 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4311 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4312 * text.C: \file text.C -> \file src/text.C
4314 * toc.C: move comment so that doxygen is not confused.
4316 2003-10-07 Angus Leeming <leeming@lyx.org>
4318 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4320 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4323 * aspell_local.h: add forgotten std::string's.
4325 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4332 * text3.C: The Box patch. Fancybox support, minipage, parbox
4334 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4340 * ParagraphParameters.h:
4350 * lyxtextclasslist.h:
4353 * paragraph_pimpl.C:
4354 * textcursor.h: add <string> and other small fixes to make Lars'
4355 std::string patch compile with STLport.
4357 2003-10-06 Angus Leeming <leeming@lyx.org>
4359 * LColor.h: Add missing #include <string>.
4361 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * All most all file in all subdirs: Make <string> be the prefered
4364 way of getting to std::string, add using declarations.
4366 2003-10-06 André Pönitz <poenitz@gmx.net>
4368 * metricsinfo.C: initialize LyXFont before changing attribute.
4369 (fixes the 'math in \emph is upright' bug)
4371 2003-10-06 André Pönitz <poenitz@gmx.net>
4373 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4375 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4378 * paragraph_pimpl.C: Small fixes to build using STLport
4380 2003-10-02 André Pönitz <poenitz@gmx.net>
4383 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4385 2003-10-01 André Pönitz <poenitz@gmx.net>
4387 * factory.C: assert early
4389 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4391 * lyx_main.C: remove the global debug object
4393 * debug.h: adjust for new debugstream
4395 * debug.C: adjust for new debugstream and keep the global debug
4398 2003-09-22 Angus Leeming <leeming@lyx.org>
4400 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4401 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4402 an incomplete class LyXFont.
4404 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4406 * factory.C: bug fix in branches
4408 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * lyxfunc.C (processKeySym): adjust
4412 (dispatch): change arg name from ev to func, adjust
4413 (sendDispatchMessage): ditto
4415 * lyx_main.C (defaultKeyBindings): adjust keybindings
4416 (deadKeyBindings): ditto
4418 * kbsequence.C (addkey): return a FuncRequest
4420 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4422 * kbmap.C (bind): take a FuncRequest as arg, adjust
4425 (defkey): change to take a FuncRequest as arg, adjust
4426 (findbinding): take a FuncRequest as arg, adjust.
4428 * funcrequest.h (operator=): added
4430 * funcrequest.C (FuncRequest): default kb_action changed from
4431 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4433 * buffer.C (dispatch): simplify
4434 (dispatch): adjust to take a FuncRequest as arg, adjust
4436 * boost.C (assertion_failed): change assertion message slightly
4438 * ToolbarBackend.C (read): simplify
4440 * MenuBackend.C (binding): adjust call to findbinding, add a
4441 message if no binding is found.
4443 (expandToc): correct by adding a empty FuncRequest
4445 * LyXAction.C: include <boost/assert.hpp>
4446 (isPseudoAction): delete function
4447 (LookupFunc): change name to...
4448 (lookupFunc): this. change return type to FuncRequest.
4449 (getActionName): take kb_action as arg, simplify
4450 (funcHasFlag): add an assert, simplify.
4452 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4454 * toc.C (action): return a FuncRequest, simplify
4456 * lyxfunc.C (processKeySym): adjust
4457 (getStatus): delete version that takes an int.
4459 (dispatch): delete version that takes action as int
4461 (sendDispatchMessage): simplify and adjust
4463 * funcrequest.C (getArg): take unsigned int as arg
4465 * ToolbarBackend.C (read): adjust
4466 (add): delete version that takes func as a string.
4467 (getIton): take a FuncRequest as arg
4469 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4472 * MenuBackend.C (MenuItem): add a new construct that only takes a
4473 Kind, simplify the constructor use for submenus.
4475 (expandLastfiles): adjust
4476 (expandDocuments): adjust
4477 (expandFormats): adjust
4478 (expandFloatListInsert): adjust
4479 (expandFloatInsert): adjust
4480 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4482 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4483 Remove class variables lyx_pseudo_map and lyx_arg_map
4485 * LyXAction.C (searchActionArg): delete function
4486 (getPseudoAction): delete function
4487 (retrieveActionArg): delete function
4488 (LookupFunc): make it return kb_action, simplify.
4489 (getActionName): simplify
4491 * factory.C (createInset): fix new bug
4493 2003-09-19 Angus Leeming <leeming@lyx.org>
4495 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4496 masterFilename_ parameter in the include inset.
4498 * factory.C (createInset): changes due to the changes to InsetInclude.
4500 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4502 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4504 2003-09-18 Angus Leeming <leeming@lyx.org>
4507 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4508 Inset::fillWithBibKeys.
4509 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4511 2003-09-18 Angus Leeming <leeming@lyx.org>
4513 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4515 (ctor): pass and store a 'Buffer const &'
4516 (buffer): new member function.
4518 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4519 '*this' to the LaTeXFeatures ctor.
4521 2003-09-18 Angus Leeming <leeming@lyx.org>
4527 * text.C: rename EnumLColor as LColor_color.
4529 2003-09-18 Angus Leeming <leeming@lyx.org>
4531 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4532 remove #include "insets/insetbase.h" from cursor.h.
4534 2003-09-18 Angus Leeming <leeming@lyx.org>
4536 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4537 InsetOld_code to remove #include "inset.h".
4539 * iterators.C: add #include "insets/inset.h"
4541 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4543 * BufferView.C: remove more locking stuff that apparently doesn't
4544 do anything sensible.
4546 2003-09-16 André Pönitz <poenitz@gmx.net>
4549 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4552 2003-09-16 Angus Leeming <leeming@lyx.org>
4554 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4556 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4559 * paragraph.h: remove #include "lyxfont.h". Forward declare
4562 2003-09-16 Angus Leeming <leeming@lyx.org>
4564 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4565 of support/textutils.h.
4566 (isWord): move the contents of support/textutils.h's IsWordChar here.
4572 * text2.C: add #include "paragraph.h".
4575 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4577 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * LaTeX.C: use namespace alias for lyx::support::os
4585 2003-09-16 Angus Leeming <leeming@lyx.org>
4588 * bufferview_funcs.C:
4591 * paragraph_pimpl.C:
4593 * text.C: add #include "LColor.h".
4595 2003-09-16 Angus Leeming <leeming@lyx.org>
4597 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4598 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4600 Store the FontBits::color variable as an int rather than as an
4601 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4604 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4605 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4606 string calls together.
4608 * lyxrc.C: add #include "LColor.h".
4610 2003-09-15 Angus Leeming <leeming@lyx.org>
4612 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4615 2003-09-15 Angus Leeming <leeming@lyx.org>
4617 * LColor.h: add an EnumLColor wrapper for LColor::color.
4619 * lyxfont.[Ch] (color, setColor, realColor):
4620 * lyxtext.h, text.C (backgroundColor):
4621 pass EnumLColor args to/from the functions, rather than LColor::color
4625 * lyxtext.h: forward declare EnumLColor.
4627 * lyx_main.C: add #include "LColor.h".
4629 2003-09-15 Angus Leeming <leeming@lyx.org>
4631 * .cvsignore: add lyx-gtk.
4633 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * ParagraphParameters.C
4642 * bufferview_funcs.C
4652 * vc-backend.C: remove usage of STRCONV
4654 2003-09-15 Angus Leeming <leeming@lyx.org>
4656 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4657 explicitly define the color passed to the painter.
4659 2003-09-15 Angus Leeming <leeming@lyx.org>
4661 * bufferparams.C (BufferParams): reorder member initializers to avoid
4664 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4666 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4667 * text.C (updateRowPositions): remove an unusual nop
4669 2003-09-12 André Pönitz <poenitz@gmx.net>
4671 * BufferView_pimpl.C:
4680 * Counters.[Ch]: finish the 'automatic counters' job
4682 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4684 * aspell.C: include <boost/assert.cpp> (compile fix)
4686 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4688 * boost.C (assertion_failed): use lyx::support::abort instead of
4691 2003-09-10 Angus Leeming <leeming@lyx.org>
4693 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4694 with their _fwd progeny.
4696 2003-09-09 Angus Leeming <leeming@lyx.org>
4698 134 files throughtout the source tree: replace 'using namespace abc;'
4699 directives with the appropriate 'using abc::xyz;' declarations.
4701 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4703 * boost.C (emergencyCleanup): moved here from LAssert.c
4704 (assertion_failed): new function, called by BOOST_ASSERT
4706 * several files: change Assert to BOOST_ASSERT
4708 2003-09-09 Angus Leeming <leeming@lyx.org>
4710 * buffer.[Ch]: Add an Impl class and move Buffer's member
4711 variables into it. As a result move several header files out of
4714 Add header files to lots of .C files all over the tree as a result.
4716 2003-09-09 Angus Leeming <leeming@lyx.org>
4718 * buffer.[Ch]: make Buffer's member variables private. Add
4721 Lots of changes all over the tree as a result.
4723 2003-09-08 Angus Leeming <leeming@lyx.org>
4725 * graph.C: #include <config.h>.
4727 2003-09-08 Angus Leeming <leeming@lyx.org>
4731 * BufferView_pimpl.C:
4760 * toc.C: remove redundant using directives.
4762 2003-09-07 Angus Leeming <leeming@lyx.org>
4764 * LaTeXFeatures.h: remove #include "support/types.h".
4765 * ToolbarBackend.h: remove #include <algorithm>.
4766 * changes.h: remove #include <ctime>.
4767 * debug.h: remove #include <iosfwd>.
4768 * graph.h: remove #include "support/std_string.h".
4769 * lyx_main.h: remove #include <csignal>.
4770 * lyxlex_pimpl.h: remove #include <fstream>.
4771 * sgml.h: remove #include <algorithm>, <utility>.
4772 * toc.h: remove #include "support/std_ostream.h".
4773 Add #include <iosfwd>.
4775 2003-09-07 Angus Leeming <leeming@lyx.org>
4777 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4779 * converter.h: forward declare LatexRunParams.
4780 * encoding.h: remove #include "lyxrc.h".
4781 * lyxtext.h: remove #include "LColor.h".
4782 * lyxtextclass.h: remove #include "support/types.h".
4783 * trans.h: remove #include "tex-accent.h".
4784 * trans_mgr.h: remove #include "tex-accent.h".
4785 * insets/inset.h: remove #include "support/types.h", <vector>.
4786 * insets/insetcollapsable.h: remove #include "LColor.h".
4787 * insets/insetinclude.h: remove #include "dimension.h".
4788 * insets/insetlatexaccent.h: remove #include "dimension.h".
4789 * insets/insetoptarg.h:: remove #include "insettext.h".
4790 * insets/insettext.h: remove #include "dimension.h",
4791 <boost/shared_ptr.hpp>
4793 * insets/renderers.h: add #include "dimension.h".
4794 * insets/updatableinset.h: add #include "support/types.h".
4796 * many .C files: Associated changes.
4798 2003-09-06 Angus Leeming <leeming@lyx.org>
4800 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4801 one, inside testInvariant.
4803 * PrinterParams.C: new file.
4804 * PrinterParams.[Ch]: move the function bodies out of line.
4806 2003-09-06 Angus Leeming <leeming@lyx.org>
4808 * ParagraphParameters.h: forward declare ParameterStruct rather than
4809 including its header file.
4810 (depth): moved out-of-line.
4812 2003-09-06 Angus Leeming <leeming@lyx.org>
4814 * BufferView_pimpl.h:
4817 * lyxfunc.h: forward declare LyXKeySym rather than
4818 #include "frontends/LyXKeySym.h".
4820 * BufferView_pimpl.C:
4823 * lyxfunc.C: associated changes.
4825 2003-09-06 Angus Leeming <leeming@lyx.org>
4827 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4828 As a result, can remove the #include "insets/inset.h" from BufferView.h
4830 2003-09-06 Angus Leeming <leeming@lyx.org>
4832 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4833 As a result, can remove the #include "insets/inset.h" from BufferView.h
4835 2003-09-06 Angus Leeming <leeming@lyx.org>
4841 * bufferview_funcs.C:
4842 * BufferView_pimpl.C:
4847 * ParagraphParameters.C:
4852 * frontends/controllers/ControlDocument.C:
4853 * insets/insetcaption.C: rearrange the #includes into some sort of
4856 * buffer.h: remove #includes ErrorList.h, undo.h
4858 2003-09-06 Angus Leeming <leeming@lyx.org>
4860 * support/types.h: add a 'depth_type' typedef, used to store the
4861 nesting depth of a paragraph.
4864 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4865 defining explicitly.
4868 * paragraph_funcs.h:
4869 * ParagraphParameters.h:
4870 * sgml.h: use lyx::depth_type rather than Paragraph or
4871 ParameterStruct's depth_type.
4874 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4877 * BufferView_pimpl.C:
4879 * ParagraphParameters.C:
4882 * bufferview_funcs.C:
4889 * frontends/LyXView.C:
4890 * frontends/controllers/ControlDocument.C:
4891 * frontends/controllers/ControlErrorList.C:
4892 * insets/insetbibitem.C:
4893 * insets/insetbranch.C:
4894 * insets/insetcaption.C:
4895 * insets/insetcollapsable.C:
4896 * insets/insetenv.C:
4897 * insets/insetert.C:
4898 * insets/insetfloat.C:
4899 * insets/insetfoot.C:
4900 * insets/insetfootlike.C:
4901 * insets/insetnewline.C:
4902 * insets/insetquotes.C:
4903 * insets/insettabular.C:
4904 * insets/insettext.C:
4905 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4907 * frontends/controllers/ControlChanges.C: #include "changes.h".
4909 2003-09-06 Angus Leeming <leeming@lyx.org>
4911 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4912 than #including paragraph.h.
4915 * RowList.h: deleted. Superfluous.
4925 * insets/insettext.h: use ParagraphList_fwd.h rather than
4928 * paragraph.h: don't forward declare ParagraphList.
4931 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4932 rather than ParagraphList.h. paragraph.h is still needed for the
4933 Paragraph::depth_type parameters.
4935 * textcursor.h: enable it to compile stand-alone in light of the
4938 * bufferview_funcs.C:
4950 * frontends/controllers/ControlParagraph.C:
4951 * frontends/controllers/ControlTabular.C:
4952 * insets/insetmarginal.C:
4953 * insets/insetminipage.C:
4954 * insets/insetnote.C:
4955 * insets/insetoptarg.C: add header files needed to compile again.
4957 2003-09-06 Angus Leeming <leeming@lyx.org>
4959 * RowList_fwd.h: new file, forward-declaring Row rather than
4960 #including lyxrow.h.
4965 * insets/insettext.h: use it instead of RowList.h
4967 * bufferview_funcs.C:
4974 * text3.C: #include "RowList.h".
4976 2003-09-05 Angus Leeming <leeming@lyx.org>
4978 * factory.C (createInset):
4979 * vspace.C (c-tor): replace sscanf call with an istringstream.
4980 * ispell.C: re-add missing HP/UX headers.
4981 * lyxserver.C: re-add missing os2 headers.
4983 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4992 * text3.C: re-add missing system headers, needed for 2.95.2.
4994 2003-09-05 Angus Leeming <leeming@lyx.org>
4996 Changes most place everywhere due to the removal of using directives
4997 from support/std_sstream.h.
4999 2003-09-05 Angus Leeming <leeming@lyx.org>
5001 Replace LString.h with support/std_string.h,
5002 Lsstream.h with support/std_sstream.h,
5003 support/LIstream.h with support/std_istream.h,
5004 support/LOstream.h with support/std_ostream.h.
5006 Changes resulting throughout the tree.
5008 2003-09-05 Angus Leeming <leeming@lyx.org>
5010 * sgml.h: ensure that the header file can be compiled stand-alone.
5011 * *.C: strip out redundant #includes. (320 in total.)
5013 2003-09-04 Angus Leeming <leeming@lyx.org>
5015 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5016 here (from getPackages).
5018 * debug.[Ch]: add a new EXTERNAL tag.
5020 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5022 * text2.C (cursorEnd): simplify
5024 (getColumnNearX): adjust
5026 * text.C (computeBidiTables): adjust
5029 * rowpainter.C (paintChars): adjust
5030 (paintSelection): adjust
5031 (paintChangeBar): adjust
5034 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5036 (numberOfSeparators): adjust
5038 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5044 * text3.C: Restricts the mouse click functionality
5045 of insets like bibtex, include, toc and floatlist to the visible
5046 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5047 up the dialogs. Cursor has to be in front of the inset (i.e.
5048 start of row) for this to function.
5050 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5052 * bufferview_funcs.C (currentState): output row information
5054 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5056 * bufferview_funcs.C (currentState): output paragraph position
5058 2003-09-04 Angus Leeming <leeming@lyx.org>
5060 * FloatList.h: move out #include "Floating.h".
5061 * LaTeX.h: move out #include "DepTable.h".
5062 * LyXAction.h: move out #include "funcrequest.h".
5063 * buffer.h: move out #include "author.h", "iterators.h".
5064 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5065 * lyx_main.h: move out #include "errorlist.h".
5066 * lyxfunc.h: move out #include "FuncStatus.h".
5067 * lyxtext: move out #include "lyxcursor.h".
5068 * paragraph_pimpl.h: move out #include "counters.h".
5070 2003-09-03 Angus Leeming <leeming@lyx.org>
5072 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5073 preamble_snippets list, enabling us to add snippets to the preamble
5074 only if the snippet was not there already.
5076 2003-09-04 Angus Leeming <leeming@lyx.org>
5078 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5080 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5082 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5085 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5087 * BranchList.C: point fix, earlier forgotten
5089 2003-09-02 Angus Leeming <leeming@lyx.org>
5091 * box.C (contains): renamed from 'contained' after a fantastic
5094 2003-09-02 John Levon <levon@movementarian.org>
5100 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5102 2003-09-02 John Levon <levon@movementarian.org>
5104 * text2.C: simplification of cursorEnd(), including partial
5107 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5109 * buffer.C (readFile): add a space
5111 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5113 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5115 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5117 * buffer.C (readFile): new function, take a filename and a
5118 ParagraphList::iterator
5120 (readFile): adjust, make it private. don't use setStream, make
5121 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5122 always contain the filename.
5124 * BufferView.C (insertLyXFile): simplify and make it work for
5127 2003-08-30 John Levon <levon@movementarian.org>
5129 * Makefile.am: fix dist (from Kayvan)
5131 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5133 * most files: change to use const Buffer refs
5135 2003-08-27 André Pönitz <poenitz@gmx.net>
5137 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5138 on top of ownerPar().
5140 2003-08-27 John Levon <levon@movementarian.org>
5142 * funcrequest.C: properly initialise POD members
5144 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5146 * lyxtext.h (top_y): move top_y from here
5151 * BufferView_pimpl.[Ch]: to here
5152 * frontends/screen.C:
5153 * insets/insettabular.C:
5154 * insets/insettext.C: adjust
5155 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5157 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5160 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5162 2003-08-26 André Pönitz <poenitz@gmx.net>
5164 * paragraph_func.[Ch] (outerPar): new function
5167 * paragraph_funcs.C:
5168 * paragraph_funcs.h:
5169 * paragraph_pimpl.C:
5170 * text2.C: remove Inset::par_owner
5172 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5177 * text2.C: eliminates the needFullRow/display() stuff
5178 altogether, putting the logic in metrics/draw in the insets.
5180 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5182 * text2.C (redoParagraphInternal, redoParagraphs):
5183 * text.C (redoParagraph): add a call to updateRowPositions at the
5184 end of each 'metrics-like' call. Remove all others.
5185 (getRow): remove the 'y-computing' version.
5186 (getRowNearY): do not compute nor return the real y. Solve the
5187 'y < 0' problem and simplify.
5189 2003-08-22 Angus Leeming <leeming@lyx.org>
5191 * *.[Ch]: clean-up of licence and author blurbs.
5192 Also move config.h out of a few .h files and into a few .C files.
5194 2003-08-22 André Pönitz <poenitz@gmx.net>
5196 * lyxrow.[Ch]: add x_ and *fill_ members
5201 * text2.C: adjust/remove prepareToPrint() calls
5203 2003-08-22 André Pönitz <poenitz@gmx.net>
5205 * lyxrow.[Ch]: add end_ member
5207 * lyxrow_funcs.C: use LyXRow::end_
5209 * lyxtext.h (singleWidth): add LyXFont parameter
5212 * text2.C: adjust LyXText::singleWidth() calls
5214 * text.C (redoParagraph): simplify row breaking logic
5217 2003-08-19 André Pönitz <poenitz@gmx.net>
5219 * funcrequest.C: initialize button_ member
5222 * rowpainter.[Ch]: interface consolidation
5224 2003-08-18 André Pönitz <poenitz@gmx.net>
5227 * BufferView_pimpl.C:
5229 * paragraph_funcs.C:
5231 * text3.C: remove LyXScreen::draw() and fitCursor calls
5233 * BranchList.h: remove spurious semicolons
5235 * MenuBackend.C: fix branchlist related crash
5237 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5245 * bufferparams.[Ch]:
5249 * text3.C: implements the 'branch inset'
5250 idea. This allows the output of various versions of a document
5251 from a single source version, selectively outputing or suppressing
5252 output of parts of the text.
5253 This implementation contains a 'branch list editor' in a separate
5254 tab of the document settings dialog. Branches are user definable
5255 and have a "display colour" to distinguish them on-screen.
5257 ColorHandler was somewhat cleaned up.
5258 (1) make possible a dynamically growing LColor list by allowing
5259 the graphic context cache to grow along (vector);
5260 (2) eliminate an IMHO unnecessary step in colour allocation.
5262 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5264 * BufferView_pimpl.C: compile fix
5266 2003-08-15 André Pönitz <poenitz@gmx.net>
5268 * rowpainter.C: remove extra metrics calls
5270 * lyxtext.h: merge the two constructors into a single one,
5271 pass reference to owner's par list
5273 * BufferView_pimpl.C:
5277 2003-08-15 André Pönitz <poenitz@gmx.net>
5279 * lyxrow_funcs.[Ch]:
5282 * paragraph_funcs.C:
5287 * text_funcs.C: split LyXText::rowlist_ into individual
5288 Paragraph::rows_ chunks
5291 * BufferView_pimpl.[Ch]:
5294 * text3.C: remove toggleSelection()
5296 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5298 * bufferlist.C: beautify two alerts (shorter text of buttons)
5299 * buffer.C: Remove redundant ' ' from message
5301 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5302 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5303 rename VALIGN_CENTER to VALIGN_MIDDLE
5305 2003-08-11 André Pönitz <poenitz@gmx.net>
5307 * lyxtext.h (getPar):
5308 * text.C: new function
5310 2003-08-11 André Pönitz <poenitz@gmx.net>
5313 * tracer.[Ch]: remove unneeded files
5315 * InsetList.[Ch]: remove resizeInsetsLyXText()
5320 * text3.C: merge insertParagraphs() and appendParagraph()
5321 remove breakAgain(), update()
5323 * BufferView_pimpl.[Ch]:
5324 * bufferview_funcs.[Ch]:
5328 * tabular.C: adjust after text & InsetList changes.
5330 2003-08-08 André Pönitz <poenitz@gmx.net>
5332 * text.C (insertChar, backspace): replace rowlist fiddling
5333 with rebreak of full par
5336 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5337 checkParagraph, updateInset): removed
5339 2003-08-07 André Pönitz <poenitz@gmx.net>
5342 * text3.C: merge some LFUN handlers, remove dead code
5344 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5346 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5348 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5350 * text2.C (DEPM): fix part of bug 1255 and 1256
5352 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5354 * BufferView_pimpl.C (workAreaDispatch): change to use
5355 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5356 that are no mouse related.
5358 2003-08-05 André Pönitz <poenitz@gmx.net>
5361 * BufferView_pimpl.[Ch]:
5362 * bufferview_funcs.C:
5364 * text3.C: rip out "deep update"
5366 * textcursor.[Ch] (last_sel_cursor): remove unused member
5368 2003-08-04 André Pönitz <poenitz@gmx.net>
5371 * BufferView_pimpl.[Ch]:
5372 * ParagraphParameters.C:
5373 * bufferview_funcs.C:
5379 * text3.C: replace "complicated" BufferView::update(...) calls with
5382 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5384 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5386 * Makefile.am (lyx_SOURCES): add paper.h
5388 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5390 * Makefile.am: move things around so that both lyx-qt and
5391 lyx-xforms can be built (according to --with-frontend). Then lyx
5392 is a symbolic link to lyx-[firstfrontend]
5394 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5396 * Always use std::endl with lyxerr
5398 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5400 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5402 2003-08-01 André Pönitz <poenitz@gmx.net>
5405 * BufferView_pimpl.[Ch]:
5407 * text3.C: merge BufferView::repaint() and BufferView::update()
5409 2003-08-01 José Matos <jamatos@lyx.org>
5411 * buffer.[Ch]: file_format is no longer a buffer data element.
5413 2003-08-01 André Pönitz <poenitz@gmx.net>
5418 * text2.C: make redoParagraph more independent of current cursor
5420 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5422 * text2.C: remove unneeded members
5424 2003-07-30 André Pönitz <poenitz@gmx.net>
5426 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5428 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5429 create a single function...
5431 * paragraph_funcs.C (moveItem): ... here.
5434 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5436 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5438 * LColor.[Ch]: Add comment and greyedout logical colors.
5440 2003-07-30 André Pönitz <poenitz@gmx.net>
5442 * tabular.C: don't use Assert too heavily. This crashes where it
5445 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5447 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5448 is disabled (bug 1232)
5450 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5452 * factory.C: limited 'arg' scope
5454 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5456 * factory.C: fixed Note submenu issues
5458 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5460 * factory.C: submenu for Note/Comment/Greyedout
5462 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5465 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5467 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5470 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5471 greyedout. Patch provided by Jürgen Spitzmüller.
5473 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5475 * kbmap.C (read): fix error message when reading bind files
5477 2003-07-29 Angus Leeming <leeming@lyx.org>
5479 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5480 certainly does not do what it purports to do. I am doing it, and
5481 us, a favour by killing it.
5483 2003-07-28 José Matos <jamatos@lyx.org>
5485 * buffer.C (readBody, do_writeFile):
5486 * paragraph.C(readParagraph): \end_document replaces \the_end.
5488 2003-07-29 André Pönitz <poenitz@gmx.net>
5491 * BufferView_pimpl.[Ch]:
5495 * textcursor.[Ch]: remove toggleToggle & Co
5497 2003-07-28 José Matos <jamatos@fep.up.pt>
5499 * buffer.C (readParagraph):
5500 * params_func (readParToken, readParagraph):
5501 * paragraph.C (write): \layout -> \begin_layout.
5503 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5505 * lyxlex_pimpl.C (setFile): clean up slightly.
5507 * bufferparams.h: add compressed var
5509 * buffer_funcs.C (readFile): adjust for LyXLex change
5510 (newFile): ditto + simplify
5512 * buffer.C (writeFile): handle writing of compressed files
5514 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5515 Check if the file is compressed and set a bufferparm if so.
5517 * Makefile.am (lyx_LDADD): remove explicit -lz
5519 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5521 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5522 makeDocBookFile): put the real LyX version in the first line of
5526 * version.C.in: remove lyx_docversion
5528 * tabular.C (write_attribute): add a template-based version to
5529 write enums properly
5531 2003-07-28 André Pönitz <poenitz@gmx.net>
5536 * text3.C: use doubles again for x-coordinates. They are needed.
5538 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5540 * messages.C (getLocaleDir): use lyx_localedir()
5542 * lyxlex_pimpl.C (setFile): compress stuff
5544 * buffer.C (writeFile): add some compression stuff
5545 (do_writeFile): new func, dont call expliti close... will this
5548 * Makefile.am (lyx_LDADD): add -lz
5550 2003-07-28 José Matos <jamatos@fep.up.pt>
5552 * buffer.C: increment file format.
5553 * paragraph_funcs (readParagraph, readParToken):
5554 * paragraph.C (readParagraph): add \end_layout.
5556 2003-07-27 Angus Leeming <leeming@lyx.org>
5558 * Makefile.am: remove special casing for configure-time setting of
5559 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5561 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5562 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5564 2003-07-26 André Pönitz <poenitz@gmx.net>
5566 * paragraph_func.[Ch]:
5567 * paragraph.C (realizeFont): inline it whereever it is used
5572 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5575 2003-07-26 André Pönitz <poenitz@gmx.net>
5579 * text2.C: get rid of LyXText::need_break_row
5581 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * toc.[Ch]: put namespace toc inside namespace lyx
5585 * MenuBackend.C (expandToc2): adjust for lyx::toc
5588 * lyxfunc.C (dispatch): adjust for lyx::find
5590 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5591 lyx::find instead. Reorganize a bit.
5592 (LyXReplace): rename to replace
5593 (LyXFind): rename to find
5595 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5598 2003-07-26 André Pönitz <poenitz@gmx.net>
5600 * text.C (setHeightOfRow): restrict scope of temporary variable
5602 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5603 code (never has been used?)
5605 2003-07-27 Asger Alstrup <alstrup@local>
5607 * text.C (fill): Optimise algorithm to exploit that we can reuse
5608 the LyXFont for many characters.
5609 (setHeightOfRow): Same thing.
5610 (rowBreakPoint): Same thing.
5612 2003-07-26 Asger Alstrup <alstrup@local>
5614 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5616 * text.C (singleWidth): Spurious font copying in hot-spot
5617 singleWidth avoided. Reorder tests for arabic for efficiency.
5619 * text.C (fill): handle empty paragraphs better.
5621 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5624 * encoding.h: add includes
5626 * lyxrc.C: remove reading of bind files
5628 * lyx_main.C (init): setup bindings and menus only if we have a
5631 * kbmap.C (read): new method. Do the actual reading of bind
5634 * converter.C (dvipdfm_options):
5637 (output): adapt PAPER_* enums.
5639 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5641 * bufferparams.h: remove paper-related enums from there
5643 * paper.h: New file. A trivial header file to hold paper-related
5644 enums. It should later expand to contain many paper-related
5647 * lyxrc.C: declare extern displayTranslator
5649 2003-07-27 José Matos <jamatos@fep.up.pt>
5651 * tabular.[Ch] (linuxdoc): add support for tables and figures
5654 2003-07-27 José Matos <jamatos@fep.up.pt>
5656 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5657 consistency in both functions.
5658 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5660 2003-07-26 Asger Alstrup <alstrup@local>
5662 * rowpainter.C (paintRows): Change algorithm to work directly on
5663 the insets rather than asking every character in the document
5664 whether its an inset.
5666 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5668 * buffer.C (openFileWrite): factorize some code
5670 2003-07-26 Angus Leeming <leeming@lyx.org>
5673 * lyx_main.[Ch]: replace occurances of system_tempdir with
5676 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * rename Inset to InsetOld
5680 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5682 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5683 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5684 which I think is a bit clearer. EDIT is gone, since it was
5685 premature optimisation, and broken for mathed anyway.
5686 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5687 with cursor positioning in insets as well (math insets still do not
5688 work, but that's a different story anyway.) It mysteriously
5689 crashes sometimes with undo in the first paragraph, but I'm fairly
5690 confident that this is a compiler bug.
5692 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5694 * paragraph.C (Paragraph): adjust for new clone return type
5696 (copyIntoMinibuffer): ditto
5698 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5700 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5701 by not having a special case, and always doing a full rebreak of
5702 the document after undo.
5704 2003-07-23 Angus Leeming <leeming@lyx.org>
5706 * factory.C (createInset): InsetExternal::setParams now takes a
5709 2003-07-23 Angus Leeming <leeming@lyx.org>
5711 * factory.C (createInset): changed interface to the external and
5712 graphics mailers' string2params functions.
5714 2003-07-23 Angus Leeming <leeming@lyx.org>
5716 * factory.C (createInset): pass a
5717 Buffer const * parameter to InsetExternalMailer's string2params.
5719 2003-07-22 John Levon <levon@movementarian.org>
5721 * Thesaurus.h: include the right aiksaurus header
5723 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5725 * MenuBackend.C (expand): check menu shortcuts unconditionally
5727 2003-07-21 Angus Leeming <leeming@lyx.org>
5729 * factory.C (createInset): pass a
5730 buffer_path parameter to InsetGraphicsMailer's string2params.
5732 2003-07-21 Angus Leeming <leeming@lyx.org>
5734 * BufferView_pimpl.C (buffer):
5737 * lyxfunc.C (dispatch):
5738 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5739 rather than the grfx shortcut.
5741 2003-07-21 André Pönitz <poenitz@gmx.net>
5743 * rowpainter.C: remove unused variables
5746 * tabular_funcs.h: move to tabular.C
5747 * Makefile.am: adjust
5749 * tabular.[Ch]: basic optical cleaning
5751 * author.h: pass references, not values
5753 2003-07-18 André Pönitz <poenitz@gmx.net>
5761 * text3.C: two-phase drawing for InsetText and InsetTabular
5762 some float -> int changes.
5764 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5766 * lyx_main.C: fix the fix
5768 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5770 * lyx_main.C: fix a crash in batch mode if no files specified
5773 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5775 * format.[Ch] (papersize): moved to BufferParams
5776 * converter.[Ch] (dvips_options): moved to BufferParams
5777 (dvipdfm_options): moved to anon namespace
5778 * bufferparams.[Ch]: added above functions.
5780 2003-07-17 André Pönitz <poenitz@gmx.net>
5784 * text2.C: don't call inset->update() anymore
5786 * metricsinfo.[Ch]: add convenience constructor
5788 2003-07-16 André Pönitz <poenitz@gmx.net>
5793 * text2.C: replace the LyXCursor::irow_ member with
5794 on-demand computation of the value
5796 2003-07-16 John Levon <levon@movementarian.org>
5798 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5800 2003-07-15 André Pönitz <poenitz@gmx.net>
5803 * text2.C: remove no more needed refresh_row
5805 2003-07-15 André Pönitz <poenitz@gmx.net>
5810 * text3.C: refresh_status tristate -> need_update bool
5812 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5814 * lyxtext.h (init): remove reinit argument (act as if always true)
5815 * text2.C: adjust to that
5817 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5819 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5820 * text3.C: use it to delete selections in some cases
5821 (bugs 441, 673, 702, 954).
5823 2003-07-14 André Pönitz <poenitz@gmx.net>
5825 * rowpainter.[Ch]: reduce interface
5827 2003-07-14 André Pönitz <poenitz@gmx.net>
5829 * BufferView_pimpl.C:
5830 * text2.C: adjust after removing unused BufferView * argument
5832 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5834 * text2.C (init): fix a crash fired on resize
5836 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5838 * buffer.[Ch]: added new closing signal
5839 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5840 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5841 BufferView::Pimpl via the closing the signal
5843 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5845 * buffer.[Ch]: take out all bv-related from buffer
5847 * BufferView_pimpl.[Ch]: connect to new signals
5848 * CutAndPaste.C: removed useless asserts
5849 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5852 * lyxfunc.C: moved view-related funciontality from vc here
5853 * paragraph.C: removed outdated comments
5856 2003-07-10 André Pönitz <poenitz@gmx.net>
5858 * BufferView_pimpl.C:
5862 * text2.C: remove InsetText::InnerCache, clean up consequences
5864 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5866 * ispell.C: fix two typos in error messages
5868 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5870 * Extend Note inset to other forms of annotation like Comment
5871 and Greyedout. Right button click gives dialog.
5873 Files modified or added (+):
5877 * ControlNote.[Ch] +
5879 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5880 frontends/controllers
5884 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5886 * aspell.C: add missing namespace lyx::support
5888 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5890 * BufferView.[Ch] (newFile): Add
5891 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5892 * LaTeX.[Ch] (message): added this signal and use it
5893 * buffer.[Ch] (busy, message): added these signals and use them
5894 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5898 * importer.C: use buffer signals instead of direct bv calling
5899 * lyx_cb.[Ch] (ShowMessage): removed
5902 * paragraph_funcs.C:
5903 * text2.C: use buffer signals
5905 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * introduce namespace lyx::graphics
5909 2003-07-02 André Pönitz <poenitz@gmx.net>
5911 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5913 2003-07-01 André Pönitz <poenitz@gmx.net>
5920 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5921 text*.C to text_func.C
5923 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5925 * introduce namespace lyx::support
5927 2003-06-30 André Pönitz <poenitz@gmx.net>
5932 * text.C: re-enable --with-included-string
5934 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5936 * textcursor.C: add <config.h>
5938 * text.C (getWord): remove const from word_location arg
5940 * lyxvc.C (getLogFile): fix const type order
5942 * lyxtext.h: remove const from word_location arg, add arg name
5944 * lyxlayout.h: currect type on labeltype.
5946 * importer.C: correct \file
5948 * converter.C (intToFormat): use std:: on ret val, ws changes
5950 * bufferlist.h: correct \file
5952 * buffer.C (makeLinuxDocFile): fix const type order
5953 (makeDocBookFile): ditto
5954 (fillWithBibKeys): use std:: on stdlib args.
5956 * CutAndPaste.C: fix authors.
5957 (availableSelections): use std:: on return vector
5959 2003-06-27 André Pönitz <poenitz@gmx.net>
5961 * BufferView_pimpl.C:
5962 * bufferview_funcs.C:
5970 * text3.C: remove LyXCursor::row_ member
5973 * text.C: rename fullRebreak() to partialRebreak() and implement
5974 a fullRebreak() that really bereks fully
5976 * textcursor.h: new struct for cursor-related data
5978 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5980 * lyx_main.C (LyX): get full path of document loaded on the
5983 2003-06-26 André Pönitz <poenitz@gmx.net>
5985 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5986 remove unused/broken operator>,<,>=.
5988 * text.C: remove only use of broken operator<= in an Assert().
5990 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5992 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5993 moved errorlist_.clear to showErrorList
5995 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5997 * converter.C (scanLog, runLaTeX):
5998 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5999 move the bv->showErrorList call to the callers
6000 * lyxfunc.C: i.e. here...
6002 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6003 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6004 namespace, the second to...
6005 * buffer_funcs (BufferFormat, parseErrors): added
6006 * errorlist.C (ErrorList(TeXErrors const &)): removed
6008 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6010 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6012 2003-06-24 "Garst R. Reese" <reese@isn.net>
6016 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6018 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6020 * version.C.in: change docversion to 1.4
6022 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6024 * buffer.C: fix a bug just introduced
6026 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6028 * buffer.[Ch]: added the parseError signal and use it, removed
6030 * BufferView.[Ch] (addError): moved to ...
6031 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6032 to the Buffer::parseError signal to catch (guess what) parse errors
6033 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6035 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6037 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6038 ability to create a buffer and to return an existing one from
6039 the list. Moved these functions to...
6040 * buffer_funcs.[Ch]: added
6041 * BufferView.[Ch] (loadLyXFile): added
6042 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6043 job removed from bufferlist::loadLyXFile.
6044 * buffer.C (setReadOnly): make it work without view
6045 (i.e added an if (users))
6047 2003-06-19 Angus Leeming <leeming@lyx.org>
6050 * LyXAction.C (init):
6051 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6052 with LFUN_DIALOG_SHOW <name> <data>.
6054 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6056 * CutAndPaste.C (availableSelections): small compilation fix for
6057 ancient (gcc 2.9x) compilers
6059 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6061 * text3.C (cursorNext): add tmp var
6063 * text2.C (updateCounters): for function calling out of for clause
6064 (replaceSelectionWithString): ditto
6065 (insertStringAsParagraphs): ditto
6066 (getColumnNearX): add tmp var
6067 (setCursorFromCoordinates): add tmp var
6068 (cursorDownParagraph): add tmp var
6069 (deleteEmptyParagraphMechanism): add tmp var
6071 * text.C (insertChar): add tmp var
6073 * rowpainter.C (paintDepthBar): add tmp var
6075 * CutAndPaste.C (availableSelections): potentially check all
6076 paragraphs in a cut to fill the shown strings.
6078 2003-06-18 André Pönitz <poenitz@gmx.net>
6080 * kbmap.[Ch]: use vector<> instead of list<>
6082 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6084 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6085 pasteSelection with index
6087 * text2.C (pasteSelection): modify, call pasteSelection with index
6089 * paragraph.C (asString): reimplement version with no interval to
6090 call the one with interval.
6092 * lyxtext.h: add index arg to pasteSelection
6094 * MenuBackend.C (MenuItem): handle PasteRecent
6095 (Menu::read::Menutags): add md_pasterecent
6097 (expandPasteRecent): new function
6100 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6102 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6104 (availableSelections): new function
6106 2003-06-17 Angus Leeming <leeming@lyx.org>
6108 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6110 2003-06-17 Angus Leeming <leeming@lyx.org>
6113 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6115 * lyxfunc.C (dispatch): invoke it.
6117 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6119 * iterators.C (operator++, ParPosition): reintroduce some
6120 const_cast for the benefit of older compilers.
6122 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6124 * text3.C (dispatch): do not modify clipboard when doing
6125 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6126 LFUN_DELETE_SKIP on a selection selection
6128 2003-06-16 André Pönitz <poenitz@gmx.net>
6134 * tabular.[Ch]: IU of clone() and getLabelList();
6136 2003-06-13 André Pönitz <poenitz@gmx.net>
6138 * tabular.h: compactification
6140 2003-06-12 André Pönitz <poenitz@gmx.net>
6144 * tabular_funcs.h: some renaming plus whitespace
6146 2003-06-12 André Pönitz <poenitz@gmx.net>
6149 * BufferView_pimpl.C:
6155 * toc.C: Return a Paragraph & for ParIterator::operator*()
6157 2003-06-11 John Levon <levon@movementarian.org>
6161 * ToolbarBackend.C: add "Toolbars" section and
6164 2003-06-10 Angus Leeming <leeming@lyx.org>
6167 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6169 * lyxfunc.C (dispatch): invoke it.
6171 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * main.C: protect <ios> with HAVE_IOS
6174 (main): protect sync_with_stdio with HAVE_IOS
6176 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6178 * text2.C (cutSelection): adjust
6179 (pasteSelection): adjust
6181 * messages.C: handle get of empty string
6183 * main.C (main): use sync_with_stdio(false)
6185 * lyxfunc.C (dispatch): adjust
6187 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6188 (WriteAs): remove unneeded BufferView arg.
6190 * bufferparams.h: use correct types on papersize, papersize2 and
6193 * bufferparams.C (readToken): adjust for type
6194 (writeLaTeX): add missing cases to switch.
6196 * bufferlist.C (quitWriteBuffer): adjust
6199 * buffer.C (asciiParagraph): remove some commented code.
6201 * CutAndPaste.C: remove current_view extern variable.
6202 (cutSelection): add BufferParams arg.
6203 (eraseSelection): add BufferParams arg.
6204 (pasteSelection): add Buffer const & arg
6206 2003-06-07 John Levon <levon@movementarian.org>
6209 * paragraph_funcs.C:
6210 * paragraph_pimpl.C:
6214 * paragraph.C: allow InsetERT to freely space lines,
6215 and some consolidation of code
6217 2003-06-06 José Matos <jamatos@fep.up.pt>
6219 * buffer.C (makeDocBookFile): fix bug #821
6221 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6223 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6225 2003-06-04 Angus Leeming <leeming@lyx.org>
6227 * buffer.C: bump format to 224.
6229 2003-06-05 André Pönitz <poenitz@gmx.net>
6231 * text2.C (redoParagraphs): remove two const_cast<>
6233 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6235 * ParagraphList.h: remove last remnants of NO_STD_LIST
6237 2003-06-03 Angus Leeming <leeming@lyx.org>
6239 * factory.C (createInset): small change to the way InsetExternal's params
6242 2003-06-04 André Pönitz <poenitz@gmx.net>
6244 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6246 * paragraph_pimpl.h:
6247 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6249 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6251 * undo_funcs.C: make some simple cases of undo work again
6253 2003-06-03 John Levon <levon@movementarian.org>
6255 * ispell.C: HPUX doesn't have sys/select.h
6258 2003-06-03 John Levon <levon@movementarian.org>
6260 * CutAndPaste.C: update tabular and include inset
6265 * paragraph.C: remove owningBuffer(), don't pass Buffer
6268 * factory.C: insetGraphicsParams changed
6270 2003-06-02 John Levon <levon@movementarian.org>
6276 * text3.C: remove insetparent
6278 2003-06-02 John Levon <levon@movementarian.org>
6281 * buffer.C: fix inset_iterator.end(), move out of line
6284 2003-06-01 John Levon <levon@movementarian.org>
6286 * text3.C: use a proper cut/paste when doing inset
6287 insert (from Jürgen Spitzmüller)
6289 2003-06-01 John Levon <levon@movementarian.org>
6291 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6293 2003-05-30 André Pönitz <poenitz@gmx.net>
6295 * rowpainter.C: unify second drawing phase
6297 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * trans_mgr.C: remove one case of current_view
6301 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6303 * paragraph_funcs.h: remove paragraph.h include
6305 * paragraph.h: delete NO_STD_LIST stuff
6307 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6309 * buffer.h: remove paragraph.h include
6311 * ParagraphList.C: delete file
6313 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6315 * toc.C (getTocList): adjust
6317 * paragraph_pimpl.C (validate): adjust
6319 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6321 * paragraph.C (Paragraph): adjust
6322 (getPositionOfInset): use const_iterator, adjust
6323 (bibitem): use const_iterator, adjust
6324 (setInsetOwner): adjust
6326 * iterators.C (operator++): adjust
6328 * InsetList.[Ch]: Replace selfmade iterator with standard
6329 vector::iterator also introduce const_iterator. Remove getPos,
6330 getInset and setInset from InsetTable. Adjust accordingly.
6332 * BufferView.C (lockInset): adjust
6333 (ChangeInsets): adjust
6335 * tabular.[Ch]: delete commented same_id functions
6337 2003-05-28 John Levon <levon@movementarian.org>
6339 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6341 2003-05-28 André Pönitz <poenitz@gmx.net>
6343 * metricsinfo.[Ch]: remove 'fullredraw' member
6345 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6347 * lyxtextclass.C (operator): remove caching.
6349 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6353 * text2.C (cursorBottom): adjust
6354 (setCounter): use ParagraphList::find, adjust
6356 * text.C (workWidth): use ParagraphList::find, adjust
6358 * lyxcursor.C (LyXCursor): adjust
6360 * buffer.C (inset_iterator): adjust
6362 * ParagraphList.h: make iterator(value_type) private, make
6363 ParagraphList a friend of iterator.
6365 * ParagraphList.C (find): new function
6367 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6369 2003-05-27 André Pönitz <poenitz@gmx.net>
6371 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6373 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6375 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6377 2003-05-26 John Levon <levon@movementarian.org>
6379 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6381 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6383 * remove same_id from function signatures, adjust.
6385 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6389 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6391 * paragraph.C (Paragraph): get rid of same_ids parameter
6393 * ParagraphList.C (insert): adjust
6396 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * paragraph_funcs.C (breakParagraph): adjust
6399 (breakParagraphConservative): adjust
6401 * buffer.C (readParagraph): adjust
6403 * ParagraphList.C (insert): take a reference instead of a pointer
6406 * paragraph.[Ch] (id): new function
6408 * bufferlist.C (newFile): adjust
6410 * ParagraphList.C (ParagraphList): adjust
6412 (push_back): take a reference instead of a pointer.
6414 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6416 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6419 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6420 set else use old code.
6422 * ParagraphList.C: remove all NO_NEXT code and only compile this
6423 code of NO_STD_LIST is set.
6425 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6427 * BufferView_pimpl.C:
6437 * graphics/GraphicsConverter.C:
6438 * graphics/PreviewLoader.C: header adjustment
6440 2003-05-23 Angus Leeming <leeming@lyx.org>
6442 * LaTeXFeatures.[Ch] (useBabel): new method.
6443 * bufferparams.C (writeLaTeX): use it.
6445 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * ParagraphList.h (set): remove unused function.
6449 2003-05-23 André Pönitz <poenitz@gmx.net>
6452 * BufferView_pimpl.C:
6456 * undo_funcs.C: setUndo reworked
6458 * iterators.[Ch]: add access to topmost ParagraphList
6460 * lyxtext.[Ch] (workWidth): add a const
6462 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6464 * texrow.[Ch] (increasePos): remove function
6465 * exporter.C (export): removed unused var and outdated comment
6467 2003-05-23 Angus Leeming <leeming@lyx.org>
6469 * latexrunparams.h: rename fragile as moving_arg.
6470 * paragraph.C (simpleTeXOnePar): ditto.
6471 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6473 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6477 (textUndoOrRedo): comment out a currently unused var.
6479 * paragraph.h (NO_NEXT): enable NO_NEXT
6481 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6483 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6485 * exporter.C (Export): adjust for removeAutoInsets removal.
6487 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6489 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6491 * BufferView.[Ch] (removeAutoInsets): delete function
6493 2003-05-22 Angus Leeming <leeming@lyx.org>
6495 * latexrunparams.h: add a free_spacing variable.
6497 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6498 to pass moving_arg, as the data is stored in runparams.fragile.
6500 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6501 to Inset::latexOptional or to simpleTeXOnePar.
6503 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6504 free_spacing arg to Inset::latexOptional.
6506 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6509 2003-05-22 Angus Leeming <leeming@lyx.org>
6511 * latexrunparams.h: add fragile and use_babel variables.
6513 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6514 * buffer.C (makeLaTeXFile): store this returned value in
6515 runparams.use_babel, thus passing it to the inset::latex methods.
6517 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6518 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6520 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6521 longer has a fragile arg, as it is stored in runparams.fragile.
6523 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6524 moving_arg parameter as the data is stored in runparams.fragile.
6526 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6527 a fragile parameter as the data is stored in runparams.fragile.
6529 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6533 2003-05-22 Angus Leeming <leeming@lyx.org>
6535 * latexrunparams.h: add a 'bool nice' which defaults to false.
6537 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6538 now encapsulated within runparams.
6540 * bufferlist.C (updateIncludedTeXfiles):
6541 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6543 2003-05-22 Angus Leeming <leeming@lyx.org>
6545 * latexrunparams.h: new file containing struct LatexRunParams.
6546 * Makefile.am: add new file.
6548 * LaTeX.[Ch] (c-tor, run):
6549 * buffer.[Ch] (makeLaTeXFile):
6550 * bufferlist.[Ch] (updateIncludedTeXfiles):
6551 * converter.C (convert, scanLog):
6552 * converter.[Ch] (runLaTeX):
6553 * exporter.C (Export):
6554 * paragraph.[Ch] (simpleTeXOnePar):
6555 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6556 * paragraph_funcs.[Ch] (latexParagraphs):
6557 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6558 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6559 pass around a LatexRunParams parameter.
6561 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * paragraph.[Ch]: remove unused constructor
6565 * ParagraphList.C (erase): new function, taking two iterators
6567 2003-05-22 André Pönitz <poenitz@gmx.net>
6569 * undo_funcs.C: remove duplicated code
6571 * iterator.[Ch]: operator=
6573 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6575 * tabular.C (SetMultiColumn): ws changes
6577 * rowpainter.C (paintFirst): get rid of a ->previous
6579 * lyx_cb.C (getPossibleLabel): parlist simplification
6581 * BufferView.C (ChangeInsets): simplify slightly.
6583 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6585 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6586 * lfuns.h: new LFUN_SPACE
6587 * lyxfunc.C: protected space has a new lfun
6588 * paragraph_funcs.C: read new space insets
6590 * factory.C: handle new space insets
6592 2003-05-22 André Pönitz <poenitz@gmx.net>
6595 * BufferView_pimpl.C:
6598 * undo_funcs.C: return a ParIterator from getParFromID.
6600 * iterators.[Ch]: add two const's
6602 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * toc.C (getTocList): adjust
6606 * iterators.[Ch]: rework for parlist
6608 * buffer.C (par_iterator_begin): adjust
6609 (par_iterator_end): adjust
6611 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6613 * BufferView.C (removeAutoInsets): adjust
6614 (ChangeInsets): adjust
6616 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6618 * text.C (top_y): fix bug 1110
6620 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6622 * errorlist.[Ch]: added
6625 * BufferView_pimpl.C:
6626 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6629 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * Makefile.am: ensure that lyx is relinked upon changes to the
6632 various "convenience" libs.
6634 2003-05-20 Angus Leeming <leeming@lyx.org>
6636 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6637 files are compiled in alphabetical order again.
6639 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6641 2003-05-19 Angus Leeming <leeming@lyx.org>
6643 * gettext.[Ch]: remove "char const * _(char const *)".
6645 2003-05-19 André Pönitz <poenitz@gmx.net>
6647 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6656 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6658 2003-05-19 André Pönitz <poenitz@gmx.net>
6662 * lyxtextclass.[Ch]:
6664 * paragraph_funcs.[Ch]:
6666 * text3.C: more insetenv work
6668 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6670 * ParagraphParameters.C (params2string): small bug fixed
6672 2003-05-16 André Pönitz <poenitz@gmx.net>
6675 * bufferview_funcs.C: patch from Kornel Benko to prevent
6676 crash when _(...) is called twice in a statement
6678 2003-05-16 André Pönitz <poenitz@gmx.net>
6685 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6687 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6689 * lyx_main.C (init): remove spurious static_cast
6691 2003-05-14 André Pönitz <poenitz@gmx.net>
6693 * BufferView.C: fix format string
6695 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6697 * BufferView.[Ch] (insertErrors): removed
6698 * BufferView.[Ch] (showErrorList): added
6699 * buffer.C (runChkTeX):
6700 * converter.C (scanLog): call showErrorList instead of inserterrors
6702 2003-05-13 André Pönitz <poenitz@gmx.net>
6704 * BufferView_pimpl.C:
6706 * bufferview_func.C:
6713 * tabular_funcs.h: tostr() from its own header
6715 * ParagraphParameters.C:
6720 * text3.C: STRCONV()
6722 2003-05-12 André Pönitz <poenitz@gmx.net>
6725 * BufferView_pimpl.C:
6729 * ParagraphParameters.C:
6733 * bufferview_funcs.C:
6746 * paragraph_funcs.C:
6750 * text3.C: boost::format -> bformat all over the place
6753 2003-05-09 André Pönitz <poenitz@gmx.net>
6755 * LColor.[Ch]: Pimpl the #include <map> away
6757 2003-05-09 John Levon <levon@movementarian.org>
6759 * bufferlist.C: never remove emergency saves
6761 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6763 * Makefile.am: better lib building
6765 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6767 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6769 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6770 (simpleTeXSpecialChars): adjust
6771 (simpleTeXSpecialChars): adjust
6772 * paragraph.C (simpleTeXOnePar): adjust
6773 * buffer.C (makeLaTeXFile): adjust
6775 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6777 * text2.C (changeDepth): parlist cleanup
6778 (getColumnNearX): ditto
6780 * rowpainter.C (getLabelFont): parlist cleanup
6782 * bufferlist.C (newFile): parlist cleanup
6784 * CutAndPaste.C (eraseSelection): parlist cleanup
6786 * BufferView_pimpl.C (trackChanges): parlist cleanup
6789 * BufferView.C (lockInset): parlist cleanup.
6790 (ChangeInsets): ditto
6792 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6794 * CutAndPaste.h: Update file header.
6796 * CutAndPaste.C: Update file header.
6797 Store the parts cut out of the Document in a limited_stack.
6798 (copySelection): adjust
6799 (pasteSelection): new function, takes the index in the limited stack.
6800 (nrOfParagraphs): adjust
6801 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6802 simplify error inset insertion.
6803 (checkPastePossible): adjust
6805 2003-05-06 John Levon <levon@movementarian.org>
6807 * text2.C: don't cast wrap inset to float
6809 2003-05-05 André Pönitz <poenitz@gmx.net>
6812 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6814 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6815 few naked Paragraph *.
6817 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6819 * bufferparams.C: Output warning if a document with missing
6820 TeX document class is loaded
6821 * exporter.C: Disable TeX exports if the document class is missing
6824 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6825 isTeXClassAvailable()
6827 2003-05-03 John Levon <levon@movementarian.org>
6830 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6831 explicit cursor show/hide
6833 * BufferView_pimpl.h:
6834 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6835 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6837 * lyxfunc.C: hide cursor before dispatching.
6842 * text3.C: remove explicit cursor hides
6844 2003-05-02 André Pönitz <poenitz@gmx.net>
6846 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6849 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6852 * text2.C: tiny whitespace
6854 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6856 * undo_funcs.C: almost only ws changes.
6858 * ParagraphList.C (splice): just return if pl is empty.
6860 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * ParagraphList.C (splice): new function.
6864 * CutAndPaste.C (pasteSelection): use it
6866 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * CutAndPaste.C (pasteSelection): remove the last next and
6869 previous from this file.
6871 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6873 * CutAndPaste.C (pasteSelection): more clean up, user proper
6874 ParagraphList functions for pasteing.
6876 * ParagraphList.C (insert): new function, three arg insert
6878 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6880 * ParagraphList.C (insert): new function, three arg insert
6882 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6885 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6887 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6889 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6891 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6893 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6895 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6896 (copySelection): clean up a bit.
6897 (pasteSelection): use make_pair
6899 * ParagraphList.C (ParagraphList): implement copy constructor
6900 (operator=): implement, base on copy constructor.
6903 * paragraph.C (erase): return a bool
6905 * paragraph_pimpl.C (erasePos): remove function, move contents...
6906 (erase): ... here. Return a bool.
6907 (erase): call erase instead of erasePos.
6909 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6911 * ParagraphList.h: define PitPosPair
6912 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6913 ParagraphList, fix a bug on pasting multiple pars
6914 * text2.C: change interface to C&P
6916 2003-04-30 André Pönitz <poenitz@gmx.net>
6918 * undo_func.C: revert part of yesterday's patch 2
6920 2003-04-30 John Levon <levon@movementarian.org>
6922 * LColor.C: s/tabular/table/
6924 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6926 * text3.C (dispatch): do not convert iterator -> pointer
6927 * undo_funcs.C (setCursorParUndo): ditto
6928 * text_funcs.C (transposeChars): ditto
6930 * text2.C (setLayout): ws changes only
6932 * text.C (breakParagraph): do not convert iterator -> pointer
6934 (acceptChange): ditto
6935 (rejectChange): ditto
6940 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6943 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6945 * text3.C (gotoInset): YABG (yet another bad getChar)
6947 2003-04-29 André Pönitz <poenitz@gmx.net>
6949 * paragraph.h: make operator= private unimplemented as long as
6952 * ParagraphList.C: whitespace
6955 * paragraph_pimpl.[Ch]:
6956 * paragraph_funcs.C:
6958 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6961 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6963 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6965 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6966 * paragraph.[Ch] (erase):
6967 * paragraph_pimpl.[Ch] (erase): change return type and value
6968 * text2.C (cutSelection): some rework
6970 2003-04-28 John Levon <levon@movementarian.org>
6972 * bufferlist.C: changes for unsaved changes dialog
6974 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6976 * bufferlist.C (newFile): set language (messages_) for new
6979 * buffer.C (readFile): ws changes only.
6981 2003-04-28 André Pönitz <poenitz@gmx.net>
6986 * BufferView_pimpl.C:
6987 * BufferView.C: getParFromID related ParagraphList::iterator changes
6989 2003-04-28 André Pönitz <poenitz@gmx.net>
6991 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6994 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * messages.C: remove one more localedir class variable.
6998 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7000 * messages.C (getLocaleDir): singleton generation function
7002 (Messages): add a default constructor.
7004 * main.C (main): do not setup localedir here, do not call
7007 * gettext.C (_): use it.
7008 (gettext_init): delete funciton
7010 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7012 * gettext.C (getLyXMessages): new singleton generating function.
7014 * buffer.C (updateDocLang): adjust
7016 * Makefile.am (messages.o): add target
7017 (main.o): remove target
7019 2003-04-27 John Levon <levon@movementarian.org>
7024 * lyxvc.C: specify cancel button in Alert::prompt
7026 2003-04-26 John Levon <levon@movementarian.org>
7031 * LyXAction.C: add LFUN_INSET_SETTINGS
7033 * lyxfunc.C: don't enable tabular-feature when there's
7034 just any locking inset
7036 2003-04-26 John Levon <levon@movementarian.org>
7038 * bufferlist.C: re-add Cancel to buffer close question
7040 * lyxfunc.C: fix import UI a bit
7042 2003-04-25 John Levon <levon@movementarian.org>
7044 * gettext.C: remove the broken asserts for now
7046 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7048 * messages.C: make case where setlocale cannot comply work better.
7050 * buffer.C (updateDocLang): new function
7051 (changeLanguage): use it
7054 * text2.C (setCounter): use B_ a bit.
7056 * lyxlayout.C (Read): be sure to trim the label strings.
7058 * messages.C (Messages): fix typo in comment
7060 * buffer.C (readFile): set message_ after file is loaded.
7061 (makeDocBookFile): remove double return
7062 (changeLanguage): reset message_ upon language change.
7063 (B_): new func, use this to get translated buffer strings.
7065 * main.C: add myself and Jean Marc as authors.
7067 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * messages.[hC]: pimplify Messages, and three different pimpls to be
7070 used in different circumstances.
7072 * gettext.[Ch]: change for use with new message code.
7074 2003-04-24 André Pönitz <poenitz@gmx.net>
7076 * factory.C: support for eqref
7078 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * messages.[Ch]: add missing char
7082 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7084 * messages.[Ch]: New files
7086 2003-04-18 John Levon <levon@movementarian.org>
7090 * BufferView_pimpl.C:
7094 * text2.C: remove layout-copy/paste (bug 778)
7096 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7098 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7100 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7102 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7103 if they succeed. Act accordingly.
7105 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * text2.C (setCharFont): adjust
7108 (setCounter): adjust
7109 (insertStringAsLines): adjust
7111 * text.C (leftMargin): adjust
7112 (setHeightOfRow): adjust
7114 * rowpainter.C (paintFirst): adjust
7117 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7119 (isFirstInSequence): ditto
7120 (getEndLabel): ditto
7123 * paragraph.C (getParLanguage): comment out some hard stuff.
7125 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7127 (simpleDocBookOnePar): ditto
7128 (makeDocBookFile): use ParagraphList::iterator
7130 * CutAndPaste.C (pasteSelection): adjust
7132 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7134 * text2.C (getFont): adjust
7135 (getLayoutFont): adjust
7136 (getLabelFont): adjust
7138 * paragraph_funcs.C (TeXOnePar): adjust
7140 * buffer.C (simpleLinuxDocOnePar): adjust
7141 (simpleDocBookOnePar): adjust
7143 * CutAndPaste.C (pasteSelection): adjust
7145 * BufferView.C (getEncoding): adjust
7147 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7149 2003-04-16 John Levon <levon@movementarian.org>
7151 * lyxfind.C: use parlist stuff for search/changes
7153 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7155 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7157 * text2.C (deleteEmptyParagraphMechanism): adjust
7159 * text2.[Ch] (ownerParagraph): delete func (both of them
7161 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7165 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7167 * ParagraphList.C: prepare for NO_NEXT
7169 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7171 * text2.C (getFont): adjust
7172 (getLayoutFont): adjust
7173 (getLabelFont): adjust
7175 * paragraph.C (getFont): adjust
7176 (getLabelFont): adjust
7177 (getLayoutFont): adjust
7179 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7181 2003-04-15 John Levon <levon@movementarian.org>
7185 * lyx_main.C: handle Include in .ui files
7187 2003-04-15 John Levon <levon@movementarian.org>
7189 * MenuBackend.C: make the doc files length shorter
7192 * ToolbarBackend.C: handle toolbar placement flags,
7195 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7200 * paragraph_funcs.C (TeXOnePar): adjust
7202 * paragraph.C (getLabelFont): add outerfont arg, adjust
7203 (getLayoutFont): ditto
7204 (simpleTeXOnePar): adjust
7206 * paragraph_pimpl.C (realizeFont): delete func
7208 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7210 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7211 row argument, constify cur argument.
7213 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7215 * text2.C (getFont): adjust
7216 (getLayoutFont): adjust
7217 (getLabelFont): adjust
7219 * paragraph_funcs.C (TeXOnePar): adjust
7220 (outerFont): new func...
7221 (realizeFont): ...moved out from here, changed this to facilitate
7224 * paragraph.C (getFont): take outerfont as arg, adjust
7225 (simpleTeXOnePar): add outerfont arg, adjust
7227 * buffer.C (simpleLinuxDocOnePar): adjust
7228 (simpleDocBookOnePar): adjust
7230 * CutAndPaste.C (pasteSelection): adjust
7232 * BufferView.C (getEncoding): adjust
7234 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7236 * text2.C (setCharFont): adjust
7237 (setCounter): adjust
7239 * text.C (leftMargin): adjust
7240 (setHeightOfRow): adjust
7242 * rowpainter.C (paintFirst): adjust
7245 * paragraph_pimpl.C (realizeFont): adjust
7247 * paragraph.C (isFirstInSequence): move from here...
7248 * paragraph_funcs.C (isFirstInSequence): ...to here
7250 * paragraph.C (outerHook): move from here...
7251 * paragraph_funcs.C (outerHook): ...to here
7253 * paragraph.C (depthHook): move from here...
7254 * paragraph_funcs.C (depthHook): ...to here
7256 * paragraph.C (getEndLabel): move from here...
7257 * paragraph_funcs.C (getEndLabel): ...to here
7259 * text2.C (realizeFont): move from here...
7260 * paragraph_funcs.C (realizeFont): ...to here
7262 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7264 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7266 2003-04-14 Angus Leeming <leeming@lyx.org>
7268 * LColor.[Ch]: scrap LColor mathcursor.
7270 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7272 * lyxlex.[Ch] (text): delete function
7273 * trans.C (Load): adjust
7274 * paragraph_funcs.C (readParToken): adjust
7276 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7278 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7279 vector<char> instead of a char[].
7281 * lyxlex_pimpl.C (getString): adjust
7283 (lex): use getString
7287 * lyxlex.C (text): use pimpl_->getString()
7291 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7294 (makeFontEntriesLayoutSpecific): temp var for par.size()
7295 (setLayout): temp var for ownerParagraphs().end()
7296 (fullRebreak): temp var for rows().end()
7297 (selectionAsString): temp var for boost::next(startpit), realize
7298 that the while really is a regular for loop.
7299 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7300 setCursor in one place.
7301 (setParagraph): temp vr for ownerParagraphs().end()
7302 (updateCounters): make the while loop a for loop
7303 (cutSelection): temp var for ownerParagraphs().end()
7304 (updateInset): make the do {} while() a regular for loop
7305 (getCursorX): use temp vars
7306 (setCurrentFont): use temp vars
7307 (getColumnNearX): use temp vars
7309 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7311 * text.C (transformChar): use temp var for getChar
7312 (computeBidiTables): use temp var for row->par()
7313 (fill): move temp vars for row->par() and pit->layout() earlier in
7315 (labelFill): use temp var for row->par()
7316 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7317 asc and desc, realize that pit never changes and that firstpit is
7318 just a duplicate and not needed. Exchange rit->par() with pit in a
7320 (breakAgain): use a temp var for boost::next(rit)
7321 (breakAgainOneRow): ditto
7322 (breakParagraph): use a temp var for rows().begin()
7323 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7324 (cursorRightOneWord): use temp var for cursor.par() and
7325 cursor.pos(), remove usage of tmpcursor.
7326 (cursorLeftOneWord): use temp var for cursor.par() and
7327 cursor.pos() only set cur at end of function.
7329 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * text.C, text2.C: exchange all usage of Paragraph::next with
7332 boost::next(ParagraphList::iterator)
7334 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7336 * text2.C (cursorTop): simplify implementation
7337 (cursorBottom): ditto
7338 (setParagraph): use ParagraphList::iterator
7339 (setCurrentFont): adjust
7340 (getColumnNearX): adjust
7341 (cursorRight): adjust
7342 (cursorLeft): remove usage of Paragraph::previous
7343 (cursorUpParagraph): ditto
7344 (deleteEmptyParagraphMechanism): slight cleanup
7346 * text.C (isBoundary): take a Paragraph const & instead of a
7348 (addressBreakPoint): ditto
7349 (leftMargin): remove usage of Paragraph::previous.
7350 (setHeightOfRow): ditto
7351 (cursorLeftOneWord): ditto
7352 (selectNextWordToSpellcheck): ditto
7355 (breakParagraph): remove one usage of Paragraph::next
7356 (redoParagraph): ditto
7357 (acceptChange): ditto
7358 (insertChar): adjust
7359 (rowBreakPoint): adjust
7361 * bufferview_funcs.C (toggleAndShow): adjust
7363 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7365 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7366 methods to access it.
7368 * text.C: Added updateRowPositions to compute all row positions.
7369 Make top_y and getRowNearY() to use the cached y position
7371 2003-04-11 John Levon <levon@movementarian.org>
7373 * text.C (rowBreakPoint): reintroduce the labelEnd
7374 checks, code copied from the row fill stuff. Deep voodoo.
7376 * text.C (fill): add a comment and debugging for the
7379 2003-04-11 John Levon <levon@movementarian.org>
7381 * text.C: make sure fullrow insets get wrapped to the next line,
7382 even when they're in a manual label
7384 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * text2.C (insertParagraph): make it take ParagraphList::iterator
7388 (setLayout): make it return ParagraphList::iterator
7389 (redoParagraphs): ditto
7391 (checkParagraph): ditto
7393 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7395 * text2.C: adjust several funcs.
7396 (realizeFont): take a ParagraphList::iterator as arg.
7397 (getLayoutFont): ditto
7398 (getLabelFont): ditto
7399 (setCharFont): ditto
7401 * text.C: adjust several funcs.
7403 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7405 * text.C (selectNextWordToSpellcheck): don't accidentally
7408 2003-04-10 John Levon <levon@movementarian.org>
7410 * ToolbarBackend.C (getIcon): special handling for
7413 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7415 * text2.C (cursorRight): a getChar assert fixed
7417 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7419 * text2.C (getFont): change to take a ParagraphList::iterator
7420 instead of Paragraph*
7421 Adjust several functions.
7423 * text.C (transformChar): change to take a ParagraphList::iterator
7424 instead of Paragraph*
7425 (singleWidth): ditto
7426 Adjust several functions.
7428 * rowpainter.C: adjust several functions
7429 * rowpainter.h:store a ParagraphList::iterator and not a
7433 2003-04-09 John Levon <levon@movementarian.org>
7438 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7439 and the "help" bits as well
7441 2003-04-09 John Levon <levon@movementarian.org>
7444 * ToolbarBackend.C: allow multiple toolbars
7446 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * undo_funcs.C (setCursorParUndo): adjust
7450 * text_funcs.C (transposeChars): adjust
7452 * text3.C (gotoNextInset): adjust
7455 * text2.C (setLayout): adjust
7456 (changeDepth): adjust
7458 (redoParagraphs): adjust
7459 (selectionAsString): adjust
7460 (setParagraph): adjust
7461 (insertInset): adjust
7462 (cutSelection): adjust
7463 (copySelection): adjust
7464 (pasteSelection): adjust
7465 (insertStringAsLines): adjust
7466 (updateInset): adjust
7467 (setCursor): change to take a ParagraphList::iterator parameter
7468 (setCursorIntern): change to take a ParagraphList::iterator parameter
7469 (setCurrentFont): adjust
7470 (cursorLeft): adjust
7471 (cursorRight): adjust
7472 (deleteEmptyParagraphMechanism): adjust
7474 * text.C (breakParagraph): adjust
7475 (insertChar): adjust
7476 (acceptChange): adjust
7477 (rejectChange): adjust
7478 (selectNextWordToSpellcheck): adjust
7479 (changeCase): adjust
7483 * lyxfind.C (SearchForward): adjust
7484 (SearchBackward): adjust
7485 (nextChange): adjust
7487 * lyxcursor.C (par): adjust
7489 * lyxcursor.h: store a ParagraphList::iterator instead of a
7492 * lyx_cb.C (getPossibleLabel): adjust
7494 * bufferview_funcs.C (toggleAndShow): adjust
7496 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7499 * BufferView.C (removeAutoInsets): adjust
7500 (lockedInsetStoreUndo): adjust
7502 2003-04-09 John Levon <levon@movementarian.org>
7504 * ToolbarBackend.C: try icon without argument
7505 if with argument fails
7507 2003-04-08 John Levon <levon@movementarian.org>
7510 * ToolbarBackend.C: add getIcon(), handle tooltip,
7511 and change from "Icon" to "Item".
7513 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7515 * BufferView.C (lockInset): another bad getchar crunched
7517 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7519 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7522 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7524 * lyxfind.C (searchForward, searchBackwards): bug 782
7526 2003-04-07 John Levon <levon@movementarian.org>
7528 * paragraph.C: remove dead comment
7530 * text.C: remove troublesome depth-fiddling code
7531 in leftMargin() and rightMargin() (bug 1017)
7533 * text.C: fix breaking of rows in nested lists
7536 * text2.C (updateCounters): fix up depth values
7539 2003-04-07 John Levon <levon@movementarian.org>
7541 * BufferView_pimpl.C: clear message when doc finishes resizing,
7542 and after a mouse event
7544 * lyxfunc.C: clear message after exiting inset
7546 2003-04-07 John Levon <levon@movementarian.org>
7548 * bufferview_funcs.C: show math status not outside
7549 status in the statusbar
7551 2003-04-07 John Levon <levon@movementarian.org>
7553 * lyxfunc.C: note status changed after a depth change
7555 2003-04-04 Angus Leeming <leeming@lyx.org>
7557 * LaTeX.h: move AuxInfo operator==, != out of line.
7558 Remove LaTeX virtual destructor; nothing derives from it.
7559 Move operator()() out of public area and rename it startscript().
7560 Change protected for private.
7562 2003-04-04 Angus Leeming <leeming@lyx.org>
7565 * text2.C: remove unneeded #includes.
7567 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7569 * text2.C (dEPM): fix the heigth of the next row
7571 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7573 * text.C: squashed an invalid getChar requester + some ws changes
7575 2003-04-03 John Levon <levon@movementarian.org>
7577 * bufferview_funcs.h:
7578 * bufferview_funcs.C:
7581 * text2.C: make getStatus work for the env depth lfuns
7583 2003-04-03 John Levon <levon@movementarian.org>
7585 * bufferview_funcs.h:
7586 * bufferview_funcs.C:
7589 * text2.C: parlistize decDepth(), by merging it with incDepth()
7591 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7593 * lyxrow.h: store a ParagraphList::iterator instead of a
7594 Paragraph* and adjust other class functions to suit.
7596 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7599 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7601 * text2.C (setCursor): do not anchor to cursor row for the time being
7603 2003-04-02 John Levon <levon@movementarian.org>
7610 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7612 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7614 * paragraph.h: make ParagraphList and ParagraphList::iterator
7615 friends of Paragraph.
7617 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7619 * ParagraphList.C: Use the private next_ and previous_ from
7622 2003-04-01 John Levon <levon@movementarian.org>
7626 * Makefile.am: rename, remove defaults gunk
7629 * MenuBackend.C: remove defaults gunk
7632 * Languages.C: remove defaults gunk
7635 * lyx_main.C: error out if files couldn't be found.
7637 2003-04-02 John Levon <levon@movementarian.org>
7639 * text2.C: make incDepth() use parlist
7641 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7643 * undo_funcs.C (firstUndoParagraph): adjust
7645 * text3.C (gotoInset): adjust
7646 (dispatch): adjust, and rewrite loop.
7648 * text2.C (init): adjust, and rewrite loop.
7649 (redoParagraphs): adjust
7650 (updateInset): adjust, and rewrite loop.
7651 (deleteEmptyParagraphMechanism): adjust
7653 * tabular.C (LyXTabular): adjust
7654 (SetMultiColumn): adjust
7657 * lyxtext.[Ch] (ownerParagraph): delete function
7658 (ownerParagraphs): new function returns a ParagraphList.
7660 * BufferView.C (removeAutoInsets): adjust
7661 (insertErrors): adjust
7662 (setCursorFromRow): adjust
7664 2003-04-01 Angus Leeming <leeming@lyx.org>
7666 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7669 2003-04-02 John Levon <levon@movementarian.org>
7675 * text_funcs.C: make transposeChars a free function
7677 * lyxrow_funcs.C: remove wrong comment
7679 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * rowpainter.C: adjust
7687 * lyxrow_funcs. [Ch]: new files
7689 * lyxrow.[Ch]: remove next and previous pointers
7690 (next,previous): remove accessor functions
7691 (isParEnd): move to lyxrow_funcs
7692 (lastPos): move to lyxrow_funcs
7693 (nextRowIsAllInset): move to lyxrow_funcs
7694 (lastPrintablePos): move to lyxrow_funcs
7695 (numberOfSeparators): move to lyxrow_funcs
7696 (numberOfHfills): move to lyxrow_funcs
7697 (numberOfLabelHfills): move to lyxrow_funcs
7698 (hfillExpansion): move to lyxrow_funcs
7702 * bufferview_funcs.C (toggleAndShow): adjust
7704 * RowList.h: Remove class RowList from file leave just a
7707 * RowList.C: delete file
7709 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7712 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * text3.C (cursorPrevious): adjust
7715 (cursorNext): adjust
7718 * text2.C (redoHeightOfParagraph): adjust
7719 (redoDrawingOfParagraph): adjust
7722 * text.C (breakParagraph): adjust
7723 (insertChar): adjust
7726 * rowpainter.C (RowPainter): adjust
7727 (leftMargin): simplify and adjust
7728 (most rowpainter functions): adjust.
7730 * rowpainter.h: store the row as RowList::iterator not as Row*
7732 * lyxcursor.C (row): taka RowList::iterator as arg
7735 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7738 2003-04-01 Angus Leeming <leeming@lyx.org>
7740 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7741 stuff like bool Bool.
7743 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7745 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7748 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7753 * lyxtext.h (rows): drop one version and leve a const variant that
7754 returns a RowList::iterator.
7756 2003-03-31 Angus Leeming <leeming@lyx.org>
7758 * text.C (fill): ensure that the signature is the same as that in the
7761 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7763 * text2.C (redoParagraphs): adjust
7764 (updateCounters): adjust
7765 (checkParagraph): adjust
7766 (getColumnNearX): adjust and reformat a bit.
7768 * text.C (top_y): adjust
7770 (leftMargin): adjust
7771 (prepareToPrint): adjust
7773 (getRowNearY): adjust
7775 * lyxtext.h: make rowlist_ mutable.
7777 * RowList.h: add const_iterator
7778 * RowList.C: adjust for RowList::const_iterator.
7780 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7783 2003-03-31 John Levon <levon@movementarian.org>
7786 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7788 * lyx_main.C: set default fonts from using lyx_gui funcs
7790 * exporter.C: pdf_mode moved from lyxrc
7793 * lyxfunc.C: changes from above
7795 2003-03-31 John Levon <levon@movementarian.org>
7797 * lyx_main.C: fix to the last fix
7799 2003-03-31 John Levon <levon@movementarian.org>
7801 * bufferlist.C: "Load original" -> "Load Original"
7807 * format.C: more Alert cleanups
7809 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * text2.C (removeParagraph): make it take a RowList::iterator as
7813 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7814 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7816 * text.C (anchor_row): make it take a RowList::iterator as arg,
7818 (computeBidiTables): make it take a const reference to Row instead
7819 of Row pointer, adjust.
7820 (leftMargin): make it take a RowList::iterator as arg, adjust.
7821 (rowBreakPoint): adjust
7822 (breakAgainOneRow): make it take a RowList::iterator as arg,
7824 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7826 * bufferview_funcs.C (toggleAndShow): adjust
7828 2003-03-30 John Levon <levon@movementarian.org>
7832 * boost-inst.C: moved to support
7834 * several files: changes as a result
7836 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7838 * text2.C (LyXText): adjust.
7840 (removeRow): make it take a RowList::iterator as arg, adjust.
7841 (fullRebreak): adjust
7842 (deleteEmptyParagraphMechanism): adjust
7843 (clearPaint): adjust
7846 * text.C (top_y): adjust
7847 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7848 (breakAgain): make it take a RowList::iterator as arg, adjust.
7849 (breakParagraph): adjust
7850 (insertChar): adjust
7853 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7854 need_break_row, and refresh_row.
7856 * text3.C (dispatch): adjust
7858 * text2.C (checkParagraph): adjust
7860 (setCursorFromCoordinates): adjust
7862 * text.C (top_y): adjust
7864 (getRow): make it return a RowList::iterator, adjust
7865 (getRowNearY): make it return a RowList::iterator, adjust
7867 * text2.C (init): adjust
7868 (insertRow): remove function
7869 (insertParagraph): adjust
7870 (redoParagraphs): adjust
7871 (fullRebreak): adjust
7872 (updateCounters): adjust
7874 * text.C (top_y): rewrite to use RowList iterators.
7876 (setHeightOfRow): rewrite to sue RowList iterators.
7877 (appendParagraph): adjust
7878 (breakAgain): adjust
7879 (breakAgainOneRow): adjust
7880 (breakParagraph): adjust
7882 (getRowNearY): adjust, and remove commented code.
7884 * lyxtext.h (firstRow): delete function
7885 (lastRow): delete function
7886 (rows): new function (const and non-const versions.)
7887 (insertRow): delete function
7889 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7891 2003-03-29 John Levon <levon@movementarian.org>
7893 * BufferView_pimpl.C: always update scrollbar top
7894 because pasting text when we're anchored could mean we
7895 miss an update altogether
7897 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * text2.C (init): use rowlist_.end() and not 0.
7900 (insertRow): change to take a RowList::iterator as arg, adjust
7902 (insertParagraph): change to take a RowList::iterator as arg,
7904 (redoParagraphs): remove some debug msgs.
7906 * text.C (appendParagraph): change to take a RowList::iterator
7907 arg, adjust for this.
7908 (breakAgain): add an assert
7909 (breakAgainOneRow): ditto
7911 2003-03-29 John Levon <levon@movementarian.org>
7913 * text2.C: do not clear selection after inc/decDepth
7916 2003-03-29 John Levon <levon@movementarian.org>
7919 * buffer.C: fix broken strerrors according to Lars
7921 2003-03-29 John Levon <levon@movementarian.org>
7923 * converters.C: more Alert cleanups
7925 2003-03-29 John Levon <levon@movementarian.org>
7927 * bufferview_funcs.C: remove pointless Alert
7929 * buffer.C: fix confusing error message when
7930 a template is chmoded 000
7932 2003-03-29 John Levon <levon@movementarian.org>
7936 * BufferView_pimpl.C: Alert fixes
7940 * tabular-old.C: remove unused table compat reading
7942 2003-03-29 John Levon <levon@movementarian.org>
7947 * lyx_cb.C: more Alert cleanups
7949 * lyxfunc.C: don't allow chktex if not latex document
7951 2003-03-29 John Levon <levon@movementarian.org>
7955 * buffer.C: warnings pushed down from support/,
7958 2003-03-29 John Levon <levon@movementarian.org>
7960 * lyxfunc.C: safety check for C-r (revert)
7962 2003-03-29 John Levon <levon@movementarian.org>
7965 * bufferlist.C: several UI fixes using Alert::prompt.
7966 Fix the pointless looping quit code. Fix stupid revert
7971 * lyx_cb.C: use Alert::prompt
7973 * lyx_main.C: remove a silly question
7975 * lyxfunc.C: remove a couple of silly questions,
7978 2003-03-28 John Levon <levon@movementarian.org>
7980 * text2.C: fix bug 974 (End on empty par)
7982 2003-03-28 John Levon <levon@movementarian.org>
7984 * BufferView_pimpl.C:
7986 * lfuns.h: remove do-nothing math greek lfuns
7988 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * lyxgluelength.h (isValidGlueLength): add default arg on
7991 parameter 2. Remove default arg from friend in class.
7993 * lyxlength.h (isValidLength): add default arg on parameter 2.
7994 Remove default arg from friend in class.
7996 * text2.C (LyXText): adjust, initialize refresh_row.
8000 (insertParagraph): adjst
8001 (redoParagraphs): adjust
8002 (fullRebreak): adjust
8003 (updateCounters): adjust
8004 (deleteEmptyParagraphMechanism): first attempt at fixing a
8007 * text.C (top_y): adjust
8008 (setHeightOfRow): adjust
8010 (getRowNearY): adjust
8012 * lyxtext.h: include RowList.h
8013 (~LyXText): not needed anymore, deleted.
8014 (firstRow): modify for RowList
8015 (lastRow): new function
8016 Delete firstrow and lastrow class variables, add a Rowlist
8017 rowlist_ class variable.
8019 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8022 * RowList.C (insert): fix case where it == begin().
8024 2003-03-26 Angus Leeming <leeming@lyx.org>
8026 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8027 the thesaurus dialog.
8029 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8031 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8033 * RowList.[Ch]: new files
8035 * ParagraphList.C (erase): handle the case where it == begin
8038 2003-03-25 John Levon <levon@movementarian.org>
8042 * aspell.C: add new aspell support
8045 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8048 2003-03-25 Angus Leeming <leeming@lyx.org>
8051 * LyXAction.C (init): new LFUN_INSET_INSERT.
8053 * BufferView_pimpl.C (dispatch): split out part of the
8054 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8056 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8059 2003-03-25 Angus Leeming <leeming@lyx.org>
8061 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8063 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8066 * text3.C: remove useless row->height(0)
8068 2003-03-25 John Levon <levon@movementarian.org>
8072 * text3.C: rename the refreshing stuff to better names
8074 2003-03-24 John Levon <levon@movementarian.org>
8076 * BufferView_pimpl.h:
8077 * BufferView_pimpl.C: update layout choice on a mouse
8080 2003-03-23 John Levon <levon@movementarian.org>
8082 * Makefile.am: fix commandtags.h reference
8084 2003-03-22 John Levon <levon@movementarian.org>
8086 * BufferView_pimpl.C:
8091 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8093 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8096 * text.C: take the rtl methods out of line
8098 2003-03-21 André Pönitz <poenitz@gmx.net>
8100 * metricsinfo.[Ch]: new files containing structures to be passed around
8101 during the two-phase-drawing...
8103 2003-03-21 André Pönitz <poenitz@gmx.net>
8105 * lyxtextclass.C: read 'environment' tag.
8107 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8109 * text2.C (removeRow): fix bug 964
8111 2003-03-20 John Levon <levon@movementarian.org>
8115 * text2.C: paint cleanups. Inset::update() dropped font
8118 2003-03-19 John Levon <levon@movementarian.org>
8120 * lyxfunc.C: only fitcursor/markDirty if available()
8122 2003-03-19 John Levon <levon@movementarian.org>
8124 * commandtags.h: rename to ...
8126 * lfuns.h: ... this, and renumber / cleanup
8128 2003-03-19 John Levon <levon@movementarian.org>
8130 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8131 fit the cursor after an lfun
8135 * BufferView_pimpl.h:
8136 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8138 * LyXAction.C: layout-character should have ReadOnly
8140 * ParagraphParameters.C:
8142 * bufferview_funcs.C:
8149 * undo_funcs.C: changes from above
8151 2003-03-18 John Levon <levon@movementarian.org>
8153 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8154 remove it from update()
8156 * lyxfunc.C: update layout choice after an lfun
8158 * text3.C: remove extra updateLayoutChoice()s
8160 2003-03-18 John Levon <levon@movementarian.org>
8162 * text.C: top_y change means full repaint, fix
8163 a drawing bug with cursor movement
8165 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8169 * text2.C: anchor row on setCursor
8171 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8173 * lyxtext.h: remove almost all mutable keywords
8176 * text3.C: remove const keywords accordingly
8178 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8180 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8182 (TeXEnvironment): ditto
8185 2003-03-17 John Levon <levon@movementarian.org>
8187 * text.C (rowBreakPoint): remove attempt to fix displayed
8188 math insets inside a manual label
8190 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * lyxtext.h: remove BufferView* as first arg from almost all class
8194 * other files: adjust.
8196 2003-03-17 John Levon <levon@movementarian.org>
8200 * text2.C: more paint cleanups
8202 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8205 * rowpainter.C: remove "smart" background painting code
8207 2003-03-16 John Levon <levon@movementarian.org>
8212 * text3.C: add helper functions for setting refresh_row/y
8214 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8216 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8217 newline inset which *can* get inserted in the pass_thru layouts.
8218 This is primarily for literate documents.
8220 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8222 * buffer.C: increment LYX_FORMAT to 223
8224 2003-03-14 André Pönitz <poenitz@gmx.net>
8226 * textclass.h: prepare for environment handling, ws changes
8227 * lyxlayout.C: read latexheader and latexfooter tags
8229 2003-03-14 John Levon <levon@movementarian.org>
8231 * text2.C: rewrite ::status() a bit
8233 2003-03-13 John Levon <levon@movementarian.org>
8235 * lyxtext.h: add some docs
8237 2003-03-13 John Levon <levon@movementarian.org>
8242 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8244 2003-03-13 John Levon <levon@movementarian.org>
8246 * text3.C: fix appendix redrawing
8248 2003-03-13 John Levon <levon@movementarian.org>
8250 * text.C (setHeightOfRow):
8252 * rowpainter.C: make appendix mark have the text
8253 "Appendix" so the user knows what it is
8256 * LColor.C: s/appendixline/appendix/ from above
8258 2003-03-13 John Levon <levon@movementarian.org>
8260 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8262 * text.C: fix a getChar(pos) bug properly
8264 2003-03-13 Angus Leeming <leeming@lyx.org>
8267 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8268 Probably only temporary. Let's see how things pan out.
8270 * BufferView.C (unlockInset):
8271 * BufferView_pimpl.C (fitCursor):
8272 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8274 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8275 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8277 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8278 new functions that convert ParagraphParameters to and from a string.
8280 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8281 BufferView::Pimpl's dispatch.
8282 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8284 2003-03-13 André Pönitz <poenitz@gmx.net>
8288 * factory.C: make it aware of InsetEnv
8290 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8292 * text2.C (setCursor): never ask for one past last
8293 (setCursor): add some debugging messages.
8295 * text.C (singleWidth): never ask for one past last
8296 (singleWidth): ditto
8298 (rightMargin): ditto
8299 (rowBreakPoint): ditto
8300 (setHeightOfRow): ditto
8301 (prepareToPrint): ditto
8303 * rowpainter.C (paintBackground): never ask for one past last
8304 (paintText): never ask for one past last
8306 * paragraph_pimpl.C (getChar): make the assert stricter, never
8307 allow the one past last pos to be taken
8309 * paragraph.C (getChar): ws changes only
8311 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8312 (numberOfSeparators): ditto
8313 (numberOfHfills): ditto
8315 2003-03-12 John Levon <levon@movementarian.org>
8321 * paragraph_funcs.C: fix per-buffer authorlists
8323 2003-03-12 John Levon <levon@movementarian.org>
8325 * text.C: fix newline in right address
8327 2003-03-12 Angus Leeming <leeming@lyx.org>
8329 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8330 duplicate those in LyXFunc::dispatch.
8334 * ToolbarDefaults.C:
8335 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8336 Add LFUN_FONTFREE_UPDATE.
8338 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8339 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8341 * bufferview_func.[Ch]: several new functions to facilliate
8342 transfer of data to and from the character dialog.
8344 2003-03-12 John Levon <levon@movementarian.org>
8349 * paragraph_funcs.C:
8350 * paragraph_pimpl.C:
8354 * text3.C: remove META_NEWLINE in favour of an inset
8357 * rowpainter.C: remove paintNewline (done by inset)
8359 2003-03-12 John Levon <levon@movementarian.org>
8361 * paragraph_pimpl.C: complain about bad getChar()s
8362 for a while at least
8364 2003-03-12 John Levon <levon@movementarian.org>
8367 * buffer.C: move paragraph read into a separate function,
8368 a little renaming to reflect that.
8371 * bufferparams.C: remove the author_ids map, not necessary now
8374 * factory.C: moved Buffer::readInset to here
8376 * paragraph_funcs.h:
8377 * paragraph_funcs.C: readParagraph free function moved from
8380 * tabular.C: name change
8382 2003-03-12 John Levon <levon@movementarian.org>
8385 * ParagraphParameters.C: move par params input to
8388 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8389 behave like a normal read from the stream wrt reading
8390 a line vs. a \\token
8392 2003-03-12 John Levon <levon@movementarian.org>
8395 * ParagraphParameters.h:
8396 * ParagraphParameters.C: move output code to a
8399 2003-03-12 John Levon <levon@movementarian.org>
8401 * BufferView.C (insertLyXFile):
8404 * tabular.C: use a parlist iterator for creating the
8407 2003-03-12 John Levon <levon@movementarian.org>
8409 * buffer.C: make current_change static local not
8412 2003-03-12 John Levon <levon@movementarian.org>
8414 * buffer.C: fix insertStringAsLines for change tracking
8416 2003-03-12 John Levon <levon@movementarian.org>
8423 * bufferparams.C: move author list into params. Rename some
8424 functions. Move the header reading into a separate token
8425 loop. Move the header token reading into BufferParams.
8427 2003-03-12 John Levon <levon@movementarian.org>
8429 * changes.C: put debug inside lyxerr.debugging() checks
8431 2003-03-11 André Pönitz <poenitz@gmx.net>
8433 * factory.C: make it aware of InsetHFill
8435 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8437 * buffer.C (latexParagraphs): move function from here...
8438 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8441 2003-03-10 Angus Leeming <leeming@lyx.org>
8443 * LyXAction.C (init): fix bug in poplating array with multiple entries
8444 with the same LFUN (spotted by JMarc).
8446 2003-03-10 John Levon <levon@movementarian.org>
8449 * text2.C: move getColumnNearX() near its
8452 2003-03-10 John Levon <levon@movementarian.org>
8454 * text.C: fix break before a minipage
8456 2003-03-10 John Levon <levon@movementarian.org>
8458 * text.C: fix the last commit
8460 2003-03-09 John Levon <levon@movementarian.org>
8464 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8465 bug 365 (don't break before insets unless needed). Don't
8466 return a value > last under any circumstances.
8468 2003-03-09 Angus Leeming <leeming@lyx.org>
8470 * BufferView_pimpl.C (trackChanges, dispatch): call
8471 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8473 2003-03-09 Angus Leeming <leeming@lyx.org>
8475 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8476 than Dialogs::showAboutlyx().
8478 2003-03-09 Angus Leeming <leeming@lyx.org>
8480 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8481 than Dialogs::showTabularCreate().
8483 2003-03-09 John Levon <levon@movementarian.org>
8487 * text2.C: 3rd arg to nextBreakPoint was always the same.
8490 2003-03-08 John Levon <levon@movementarian.org>
8497 * text2.C: Remove the "main" bit from the "main body"
8500 2003-03-08 John Levon <levon@movementarian.org>
8502 * text.C (leftMargin): The left margin of an empty
8503 manual label paragraph should not include the label width
8506 * text.C (prepareToPrint): don't attempt to measure hfills
8507 for empty manual label paragraphs - the answer should be 0
8509 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8511 * CutAndPaste.C: remove commented code and reindent.
8513 2003-03-08 John Levon <levon@movementarian.org>
8516 * lyxfunc.C: move reloadBuffer()
8519 * BufferView.C: to here
8521 * lyxvc.C: add comment
8524 * vc-backend.C: call bv->reload() to avoid
8525 getStatus() check on MENURELOAD
8527 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8529 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8530 to an old format .dep file.
8532 2003-03-07 Angus Leeming <leeming@lyx.org>
8534 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8535 when the LFUN_MOUSE_RELEASE should have been handled by
8536 inset->localDispatch.
8538 2003-03-07 Angus Leeming <leeming@lyx.org>
8540 * BufferView_pimpl.C (dispatch):
8541 * LyXAction.C (init):
8542 * ToolbarDefaults.C (init):
8544 * lyxfunc.C (getStatus):
8545 remove LFUN_INSET_GRAPHICS.
8547 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8549 2003-03-07 Angus Leeming <leeming@lyx.org>
8552 * LyXAction.C (init):
8553 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8555 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8558 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8560 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8561 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8563 2003-03-07 Angus Leeming <leeming@lyx.org>
8565 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8568 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * ParagraphList.C (front): new function
8573 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8575 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8576 and top_row_offset_. removed var first_y.
8578 * text2.C (LyXText, removeRow):
8580 * BufferView_pimpl.C:
8581 use these methods instead of using first_y
8583 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8585 * text2.C (pasteSelection): adjust for checkPastePossible
8587 * CutAndPaste.C: remove Paragraph * buf and replace with
8588 ParagraphList paragraphs.
8589 (DeleteBuffer): delete
8590 (cutSelection): change the tc type to textclass_type
8591 (copySelection): change the tc type to textclass_type
8592 (copySelection): adjust for ParagraphList
8593 (pasteSelection): change the tc type to textclass_type
8594 (pasteSelection): adjust for Paragraphlist
8595 (nrOfParagraphs): simplify for ParagraphList
8596 (checkPastePossible): simplify for ParagraphList
8597 (checkPastePossible): remove unused arg
8599 * ParagraphList.C (insert): handle the case where there are no
8602 * CutAndPaste.h: make CutAndPaste a namespace.
8604 * text3.C (dispatch): adjust
8606 * text.C (breakParagraph): add a ParagraphList as arg
8608 * paragraph_funcs.C (breakParagraph): change to take a
8609 BufferParams and a ParagraphList as args.
8610 (breakParagraphConservative): ditto
8611 (mergeParagraph): ditto
8612 (TeXDeeper): add a ParagraphList arg
8613 (TeXEnvironment): ditto
8616 * buffer.C (readLyXformat2): adjust
8617 (insertStringAsLines): adjust
8618 (latexParagraphs): adjust
8620 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8621 (cutSelection): adjust
8622 (pasteSelection): adjust
8624 * BufferView_pimpl.C (insertInset): adjust
8626 2003-03-05 Angus Leeming <leeming@lyx.org>
8629 * LyXAction.C (init):
8630 * BufferView_pimpl.C (dispatch):
8631 * lyxfunc.C (getStatus):
8632 remove LFUN_CHILD_INSERT.
8634 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8636 2003-03-05 Angus Leeming <leeming@lyx.org>
8639 * LyXAction.C (init):
8640 * src/factory.C (createInset):
8641 * lyxfunc.C (getStatus):
8642 * text3.C (dispatch):
8643 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8645 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8647 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8649 * ParagraphList.C (insert): handle insert right before end()
8650 (erase): fix cases where it can be first or last paragraph.
8652 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8654 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8655 Paragraph::next and Paragraph::previous
8658 * text.C (breakParagraph): adjust
8660 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8661 BufferParams& as arg.
8662 (breakParagraph): use ParagraphList::insert
8663 (breakParagraphConservative): take a Buffer* instead of a
8664 BufferParams& as arg.
8665 (breakParagraphConservative): use ParagraphList::insert.
8667 * buffer.C (insertStringAsLines): un-const it
8668 (insertStringAsLines): adjust
8670 * ParagraphList.C (insert): new function
8672 * CutAndPaste.C (pasteSelection): adjust
8674 * text.C (backspace): adjust
8676 * tabular.C (SetMultiColumn): adjust
8678 * CutAndPaste.C (cutSelection): adjust
8679 (pasteSelection): adjust
8681 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8682 Buffer const * as arg
8684 * ParagraphList.C (erase): new function
8685 * paragraph_funcs.C (mergeParagraph): use it
8686 (mergeParagraph): make it take a Buffer* instead of a
8687 BufferParams* as arg
8689 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8691 (breakParagraphConservative): ditto
8693 * paragraph.h: remove the breakParagraph friend
8695 * paragraph.C (eraseIntern): new function
8696 (setChange): new function
8698 * paragraph_funcs.C (mergeParagraph): make it take a
8699 ParagraphList::iterator instead of a Paragraph *, adjust
8702 * paragraph.h: move an #endif so that the change tracking stuff
8703 also works in the NO_NEXT case.
8705 2003-03-04 Angus Leeming <leeming@lyx.org>
8708 * LyXAction.C: new LFUN_INSET_MODIFY.
8710 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8711 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8713 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8715 * several files: ws changes only
8717 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8718 (TeXEnvironment): ditto
8721 * buffer.C (makeLaTeXFile): adjust
8722 (latexParagraphs): make it take ParagraphList::iterator as args
8724 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8726 * buffer.C (latexParagraphs): adjust
8728 * paragraph.C (TeXOnePar): move function...
8729 (optArgInset): move function...
8730 (TeXEnvironment): move function...
8731 * paragraph_pimpl.C (TeXDeeper): move function...
8732 * paragraph_funcs.C: ...here
8734 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8736 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8738 * buffer.C (readInset): remove compability code for old Figure and
8741 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8743 * buffer.C: ws changes
8746 * BufferView_pimpl.C: ditto
8749 * bufferlist.h: ditto
8753 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8755 * converter.[Ch]: split into itself +
8758 * Makefile.am: += graph.[Ch] + format.[Ch]
8765 * lyxrc.C: added #include "format.h"
8767 2003-02-27 Angus Leeming <leeming@lyx.org>
8769 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8772 * factory.C (createInset): add "label" to the factory.
8774 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8775 string and do no more.
8777 2003-02-27 Angus Leeming <leeming@lyx.org>
8780 * LyXAction.C (init):
8781 * factory.C (createInset):
8782 * BufferView_pimpl.C (dispatch):
8783 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8785 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8787 * lyxfunc.C (dispatch):
8788 * text3.C (dispatch): pass name to params2string.
8790 2003-02-26 Angus Leeming <leeming@lyx.org>
8792 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8794 Rearrange the ~includes. Strip out the unnecessary ones.
8796 * factory.C (createInset): reformat.
8797 create new insets for the various LFUN_XYZ_APPLY lfuns.
8799 2003-02-26 John Levon <levon@movementarian.org>
8802 * lyxrow.C: add isParStart,isParEnd helpers
8804 * paragraph.h: make isInserted/DeletedText take refs
8806 * paragraph_funcs.h:
8807 * paragraph_funcs.C: remove #if 0'd code
8812 * text.C: use lyxrow helpers above.
8813 Move draw and paint routines to RowPainter.
8814 Make several methods use refs not pointers.
8815 Make backgroundColor() const.
8816 Add markChangeInDraw(), isInInset().
8817 Merge changeRegionCase into changeCase.
8818 Make workWidth() shouldn't-happen code into an Assert.
8821 * rowpainter.C: new class for painting a row.
8824 * vspace.C: make inPixels take a ref
8826 2003-02-26 Angus Leeming <leeming@lyx.org>
8828 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8831 2003-02-25 John Levon <levon@movementarian.org>
8833 * ispell.C: give the forked command a more accurate name
8835 2003-02-22 John Levon <levon@movementarian.org>
8838 * toc.C: make TocItem store an id not a Paragraph *
8841 2003-02-21 Angus Leeming <leeming@lyx.org>
8843 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8844 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8845 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8846 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8847 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8848 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8850 * BufferView_pimpl.C (dispatch):
8851 * LyXAction.C (init):
8852 * factory.C (createInset):
8853 * lyxfunc.C (getStatus, dispatch):
8854 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8856 2003-02-21 Angus Leeming <leeming@lyx.org>
8858 * BufferView_pimpl.C (MenuInsertLyXFile):
8859 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8860 * lyxfunc.C (menuNew, open, doImport):
8861 no longer pass a LyXView & to fileDlg.
8863 2003-02-21 Angus Leeming <leeming@lyx.org>
8865 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8866 * LyXAction.C: change, BIBKEY to BIBITEM.
8867 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8868 Change InsetBibKey to InsetBibitem.
8869 Change BIBKEY_CODE to BIBITEM_CODE.
8870 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8871 * factory.C: replace insetbib.h with insetbibitem.h.
8872 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8873 * paragraph.C: replace insetbib.h with insetbibitem.h.
8874 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8875 Change bibkey() to bibitem().
8876 * text.C: remove insetbib.h.
8877 * text2.C: replace insetbib.h with insetbibitem.h.
8878 change bibkey() to bibitem().
8879 * text3.C: remove insetbib.h.
8880 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8882 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8884 * lyxrc.C (output): enclose user email in quotes (in case there are
8887 2003-02-18 John Levon <levon@movementarian.org>
8889 * buffer.h: add std::
8891 2003-02-17 John Levon <levon@movementarian.org>
8897 * pspell.C: reworking. Especially in ispell, a large
8898 number of clean ups and bug fixes.
8900 * lyxfunc.C: fix revert to behave sensibly
8902 2003-02-17 André Pönitz <poenitz@gmx.net>
8905 * commandtags.h: new LFUN_INSERT_BIBKEY
8915 * paragraph_func.C: remove special bibkey handling
8917 2003-02-17 John Levon <levon@movementarian.org>
8919 * text.C (Delete): fix case where delete at the end of
8920 the very first paragraph would not merge the pars
8922 2003-02-17 John Levon <levon@movementarian.org>
8924 * lyxrow.C: fix lastPrintablePos()
8926 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8928 * bufferparams.C (writeLaTeX): add a std:here
8930 * buffer.C: and remove a using directive there
8932 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8934 * buffer.C (makeLaTeXFile): move the code that generates the
8937 * bufferparams.C (writeLaTeX): ... in this new method
8939 * LaTeXFeatures.C (getEncodingSet): make const
8940 (getLanguages): make const
8942 * MenuBackend.C (binding): returns the binding associated to this
8944 (add): sets the status of each item by calling getStatus. Adds
8946 (read): add support for OptSubMenu
8947 (expand): remove extra separator at the end of expanded menu
8949 2003-02-15 John Levon <levon@movementarian.org>
8952 * BufferView_pimpl.C:
8954 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8955 inset code that had no actual effect. Remove unneeded status
8958 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8960 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8963 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8965 * text.C (drawLengthMarker): also draw an arrow marker for
8966 symbolic lengths (medskip...)
8968 2003-02-14 John Levon <levon@movementarian.org>
8971 * tabular.C: better method names
8973 2003-02-14 John Levon <levon@movementarian.org>
8975 * BufferView_pimpl.C:
8980 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8981 it's a more accurate name. Remove some pointless uses.
8983 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8985 * text2.C (LyXText): change order of initilizers to shut off
8988 2003-02-14 John Levon <levon@movementarian.org>
8990 * buffer.C: use ParIterator for getParFromID()
8994 * paragraph_pimpl.h:
8995 * paragraph_pimpl.C: remove unused getParFromID()
8997 2003-02-14 John Levon <levon@movementarian.org>
8999 * buffer.C: remove some very old #if 0'd parse code
9001 2003-02-13 John Levon <levon@movementarian.org>
9005 * text2.C: move hfillExpansion(), numberOfSeparators(),
9006 rowLast(), rowLastPrintable(), numberofHfills(),
9007 numberOfLabelHfills() ...
9010 * lyxrow.C: ... to member functions here.
9015 * text.C: remove LyXText::beginningOfMainBody(), and call
9016 p->beginningOfMainBody() directly. Move the check for
9017 LABEL_MANUAL into the latter.
9024 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9030 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9031 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9033 2003-02-13 John Levon <levon@movementarian.org>
9035 * CutAndPaste.C: remove debug
9037 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9039 * paragraph.C (asString): remove two unused variables
9041 * lyxtextclass.C (readTitleType):
9043 (LyXTextClass): handle new members titletype_ and titlename_
9045 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9047 2003-02-09 John Levon <levon@movementarian.org>
9050 * buffer.C: replace hand-coded list with a map for the dep clean
9052 2003-02-08 John Levon <levon@movementarian.org>
9054 * LaTeX.C: consolidate code into showRunMessage() helper
9056 2003-02-08 John Levon <levon@movementarian.org>
9061 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9062 and pass the size in explicitly
9064 * BufferView_pimpl.h:
9065 * BufferView_pimpl.C:
9067 * BufferView.C: add getCurrentChange()
9069 * BufferView_pimpl.h:
9070 * BufferView_pimpl.C: handle change lfuns
9072 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9073 for changes. Mark pasted paragraphs as new.
9075 * support/lyxtime.h:
9076 * support/lyxtime.C:
9077 * DepTable.C: abstract time_t as lyx::time_type
9080 * LColor.C: add colours for new text, deleted text, changebars
9082 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9083 package use "usenames" option.
9087 * LyXAction.C: add change lfuns
9091 * author.C: author handling
9094 * buffer.C: add a per-buffer author list, with first entry as
9095 current author. Handle new .lyx tokens for change tracking. Output
9096 author list to .lyx file. Output dvipost stuff to .tex preamble.
9097 Bump lyx format to 222.
9100 * bufferlist.C: add setCurrentAuthor() to reset current author details
9104 * bufferparams.C: add param for tracking
9106 * bufferview_funcs.C: output change info in minibuffer
9110 * changes.C: add change-tracking structure
9113 * debug.C: add CHANGES debug flag
9116 * lyxfind.C: add code for finding the next change piece
9119 * lyxrc.C: add user_name and user_email
9122 * lyxrow.C: add a metric for the top of the text line
9125 * text.C: implement accept/rejectChange()
9128 * text.C: paint changebars. Paint new/deleted text in the chosen
9129 colours. Strike through deleted text.
9133 * paragraph_pimpl.h:
9134 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9135 in the current change to the insert functions. Rework erase to
9136 mark text as deleted, adding an eraseIntern() and a range-based
9137 erase(). Implement per-paragraph change lookup and
9140 * paragraph_funcs.C: Fixup paste for change tracking.
9142 * tabular.C: mark added row/columns as new.
9144 * text.C: fix rowLast() to never return -1. Don't allow
9145 spellchecking of deleted text. Track transpose changes. Don't
9146 allow paragraph break or merge where appropriate.
9148 * text2.C: leave cursor at end of selection after a cut.
9150 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9152 * text.C (getLengthMarkerHeight):
9153 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9154 visible on screen too.
9156 2003-02-07 John Levon <levon@movementarian.org>
9158 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9160 2003-02-05 Angus Leeming <leeming@lyx.org>
9162 * lyxserver.C (read_ready): revert my patch of 11 September last year
9163 as it sends PC cpu through the roof. Presumably this means that
9164 the lyxserver will no longer run on an Alpha...
9166 2003-01-30 Angus Leeming <leeming@lyx.org>
9168 * factory.C (createInset): create an InsetCommandParam of type "index"
9169 and use it to 'do the right thing'.
9171 * text2.C (getStringToIndex): ensure that cursor position is always
9172 reset to the reset_cursor position.
9174 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9176 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9179 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9183 * lyxfunc.C: Output messages with identical spelling, punctuation,
9186 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9188 * MenuBackend.C (expandFormats): List only viewable export formats
9191 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9194 * lyxfunc.C (getStatus): Make sure that formats other than
9195 "fax" can also be disabled
9197 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9199 * text3.C (dispatch): put the lfuns that insert insets in 3
9200 groups, and call doInsertInset with appropriate arguments.
9201 (doInsertInset): new function, that creates an inset and inserts
9202 it according to some boolean parameters.
9204 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9206 * buffer.C (readFile): remember to pass on 'par' when calling
9207 readFile recursively.
9209 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9211 * MenuBackend.C (expandFormats): add "..." to import formats.
9213 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9215 * paragraph.C (asString): Remove XForms RTL hacks.
9217 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9218 * buffer.C: fix typo
9220 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9222 * Makefile.am (LIBS): delete var
9223 (lyx_LDADD): add @LIBS@ here instead.
9225 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9227 * Clarify the meaning of "wheel mouse jump"
9229 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9231 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9234 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9236 * importer.C (Loaders): do not preallocate 3 elements in the
9237 vector, since one ends up with 6 elements otherwise
9239 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9241 * DepTable.C (write): write the file name as last element of the
9242 .dep file (because it may contain spaces)
9243 (read): read info in the right order
9245 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9247 * paragraph_pimpl.C (simpleTeXBlanks):
9248 (simpleTeXSpecialChars):
9249 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9251 * tabular.C (latex): add some missing case statements. Reindent.
9253 * MenuBackend.C (expandToc): remove unused variable.
9255 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9264 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9267 2003-01-05 John Levon <levon@movementarian.org>
9270 * BufferView.C: add getEncoding()
9273 * kbsequence.C: do not store last keypress
9276 * lyxfunc.C: store last keypress here instead. Pass encoding
9279 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9281 * lyx_main.C (init): remove annoying error message when following
9282 symbolic links (bug #780)
9284 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9286 * text.C (insertChar):
9287 * lyxrc.C (getDescription): remove extra spaces
9289 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9291 * lyxrc.C (getDescription): remove extra spaces
9293 2002-12-20 John Levon <levon@movementarian.org>
9295 * text3.C: hack fix for page up/down across tall rows
9297 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9299 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9302 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9304 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9305 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9306 thesaurus is not compiled in
9308 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9310 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9312 2002-12-16 Angus Leeming <leeming@lyx.org>
9315 * lyx_main.C (init): remove override_x_deadkeys stuff.
9317 2002-12-12 John Levon <levon@movementarian.org>
9319 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9320 insert. Only remove shift modifier under strict
9323 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9325 * MenuBackend.C (expandToc): fix crash.
9327 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9329 * MenuBackend.C (expandToc): gettext on float names.
9331 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9333 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9334 implement bool empty() [bug 490]
9336 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9338 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9340 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9342 * several files: ws changes
9344 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9346 * text2.C (setCounter): clean up a bit, use boost.format.
9347 (updateCounters): initialize par upon declaration.
9349 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9350 if the layout exists. We do not just store the layout any more.
9351 (SwitchLayoutsBetweenClasses): use boost.format
9353 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9355 * converter.C (convert): if from and to files are the same, use a
9356 temporary files as intermediary
9358 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9361 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9363 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9365 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9367 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9369 * tabular.C (asciiPrintCell): use string(size, char) instead of
9372 * sgml.C (openTag): fix order of arguments to string constructor
9375 * lyxfunc.C (dispatch): use boost.format
9377 * lots of files: change "c" -> 'c'
9379 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9381 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9383 2002-11-25 Angus Leeming <leeming@lyx.org>
9385 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9387 * lyx_main.C (init): compile fix.
9389 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9391 * lyx_cb.C (start): boost.formatify
9392 do not include <iostream>
9394 * lengthcommon.C: ws only
9396 * boost-inst.C,BoostFormat.h: add more explict instantations
9398 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9400 * lots of files: handle USE_BOOST_FORMAT
9402 2002-11-21 John Levon <levon@movementarian.org>
9404 * pspell.C: fix compile
9406 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9408 * lyxfunc.C (dispatch): use boost::format
9412 * lyxfont.C (stateText): use boost::format
9414 * lyx_main.C (LyX): use boost::format
9416 (queryUserLyXDir): ditto
9419 (typedef boost::function): use the recommened syntax.
9421 * importer.C (Import): use boost::format
9423 * debug.C (showLevel): use boost::format
9425 * converter.C (view): use boost::format
9430 * bufferview_funcs.C (currentState): use boost::format
9432 * bufferlist.C (emergencyWrite): use boost::format
9434 * buffer.C (readLyXformat2): use boost::format
9435 (parseSingleLyXformat2Token): ditto
9437 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9439 * LaTeX.C (run): use boost::format
9441 * Chktex.C (scanLogFile): use boost::format
9443 * BufferView_pimpl.C (savePosition): use boost::format
9444 (restorePosition): ditto
9445 (MenuInsertLyXFile): ditto
9447 * BoostFormat.h: help file for explicit instation.
9449 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9451 * tabular.C (latex): Support for block alignment in fixed width
9454 2002-11-17 John Levon <levon@movementarian.org>
9456 * BufferView_pimpl.C:
9458 * lyxfunc.C: split filedialog into open/save
9460 2002-11-08 Juergen Vigna <jug@sad.it>
9462 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9463 by my last patch (hopefully).
9465 2002-11-08 John Levon <levon@movementarian.org>
9474 * toc.C: ParConstIterator, and use it (from Lars)
9476 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9478 * lyxtextclass.[Ch]: revise and add doxygen comments
9480 2002-11-07 John Levon <levon@movementarian.org>
9482 * text.C: fix progress value for spellchecker
9484 * toc.C: fix navigate menu for insetwrap inside minipage
9486 * paragraph_funcs.C: added FIXME for suspect code
9488 2002-11-07 John Levon <levon@movementarian.org>
9490 * BufferView_pimpl.C: fix redrawing of insets
9493 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9495 * text2.C (updateCounters): fix bug 668
9497 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9499 * text3.C (dispatch): Do not make the buffer dirty when moving the
9502 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9504 * vc-backend.C: STRCONV
9507 * text2.C (setCounter): STRCONV
9509 * paragraph.C (asString): STRCONV
9511 * lyxlength.C (asString): STRCONV
9512 (asLatexString): ditto
9514 * lyxgluelength.C (asString): STRCONV
9515 (asLatexString): ditto
9517 * lyxfunc.C (dispatch): STRCONV
9520 * lyxfont.C (stateText): STRCONV
9522 * importer.C (Import): STRCONV
9524 * counters.C (labelItem): STRCONV
9525 (numberLabel): ditto
9526 (numberLabel): remove unused ostringstream o
9531 * bufferview_funcs.C (currentState): STRCONV
9533 * buffer.C (readFile): STRCONV
9534 (asciiParagraph): ditto
9535 (makeLaTeXFile): ditto
9537 * Spacing.C (writeEnvirBegin): STRCONV
9539 * LaTeXFeatures.C (getLanguages): STRCONV
9540 (getPackages): ditto
9542 (getBabelOptions): ditto
9543 (getTClassPreamble): ditto
9544 (getLyXSGMLEntities): ditto
9545 (getIncludedFiles): ditto
9549 (scanAuxFile): ditto
9552 * LString.h: add the STRCONV macros
9554 * BufferView_pimpl.C (savePosition): STRCONV
9555 (restorePosition): ditto
9556 (MenuInsertLyXFile): ditto
9558 * vc-backend.C (scanMaster): change from submatch[...] to
9561 * funcrequest.C: include config.h
9563 * factory.C: include config.h
9565 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9567 * box.C: include config.h
9569 * LaTeX.C (scanAuxFile): change from submatch[...] to
9573 2002-10-25 Angus Leeming <leeming@lyx.org>
9575 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9577 * ispell.[Ch] (setError): new method.
9578 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9579 Use setError() insetead of goto END.
9581 * lyx_cb.C (AutoSave): move out child process into new class
9584 2002-10-30 John Levon <levon@movementarian.org>
9586 * text3.C: make start appendix undoable
9588 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9590 * lyxlength.C (inPixels): Fix returned value.
9592 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9595 2002-10-24 Angus Leeming <leeming@lyx.org>
9597 * lyxgluelength.h: no need to forward declare BufferParams
9598 or BufferView, so don't.
9600 2002-10-21 John Levon <levon@movementarian.org>
9602 * BufferView.C: menuUndo ->undo, redo
9604 * BufferView.h: document, remove dead, make some methods private
9606 * paragraph_funcs.h:
9607 * paragraph_funcs.C:
9608 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9613 * sgml.C: move sgml open/close tag into sgml.C
9615 * bufferview_funcs.h: unused prototype
9618 * lyxfunc.C: remove unused
9621 * text.C: remove unused
9623 2002-10-21 John Levon <levon@movementarian.org>
9627 * BufferView_pimpl.h:
9628 * BufferView_pimpl.C: fix mouse wheel handling based on
9629 patch from Darren Freeman
9631 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9633 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9635 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9637 * lyxlength.C (inPixels): Fix hanfling of negative length.
9638 Fix LyXLength::MU case.
9640 2002-10-16 John Levon <levon@movementarian.org>
9642 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9644 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9646 * converter.C (view): add support for $$i (file name) and $$p
9647 (file path) for the viewer command. If $$i is not specified, then
9648 it is appended to the command (for compatibility with old syntax)
9650 2002-10-14 Juergen Vigna <jug@sad.it>
9652 * undo_funcs.C (textHandleUndo): alter the order in which the
9653 new undopar is added to the LyXText, as we have to set first
9654 the right prev/next and then add it as otherwise the rebuild of
9655 LyXText is not correct. Also reset the cursor to the right paragraph,
9656 with this IMO we could remove the hack in "redoParagraphs()".
9658 2002-10-09 Angus Leeming <leeming@lyx.org>
9660 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9661 to turn off an optimisation if a new inset is to be inserted.
9663 2002-10-11 André Pönitz <poenitz@gmx.net>
9665 * lyxtext.h: make some functions public to allow access
9666 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9668 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9670 * text3.C (dispatch): when changing layout, avoid an infinite loop
9673 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9675 * lyxrc.C (read): treat a viewer or converter command of "none" as
9678 * MenuBackend.C (expandFormats): for an update, also allow the
9679 formats that are not viewable
9681 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9682 script if it is newer than the lyxrc.defaults in user directory
9684 2002-10-07 André Pönitz <poenitz@gmx.net>
9686 * text.C: Vitaly Lipatov's small i18n fix
9688 2002-09-25 Angus Leeming <leeming@lyx.org>
9690 * ispell.h: doxygen fix.
9692 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9694 * buffer.h (readFile): Add a new argument to the method, to allow
9695 reading of old-format templates.
9697 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9699 * toc.C (getTocList): Get TOC from InsetWrap.
9701 2002-09-16 John Levon <levon@movementarian.org>
9703 * lyxfunc.C: check tabular for cut/copy too
9705 2002-09-12 John Levon <levon@movementarian.org>
9710 * factory.C: add header
9712 * paragraph_funcs.h:
9713 * paragraph_funcs.C: cleanup
9715 2002-09-11 John Levon <levon@movementarian.org>
9717 * PrinterParams.h: odd/even default to true
9719 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9721 * PrinterParams.h: update printer parameters for new xforms dialog
9723 2002-09-11 Angus Leeming <leeming@lyx.org>
9725 * lyxserver.C (read_ready): re-write to make it more transparent
9726 and to make it work in coherent fashion under Tru64 Unix.
9728 2002-09-11 André Pönitz <poenitz@gmx.net>
9732 * text3.C: implement LFUN_WORDSEL
9734 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9736 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9737 make floatlist_ a boost::shared_ptr<FloatList>
9739 * lyxtextclass.C: include FloatList.h
9740 (LyXTextClass): initialize floatlist_
9741 (TextClassTags): add TC_NOFLOAT
9742 (Read): match "nofloat" to TC_NOFLOAT and use it.
9743 (readFloat): modify call to floatlist_
9747 * FloatList.[Ch] (FloatList): remove commented out float
9749 (erase): new function
9751 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9753 * MenuBackend.C (expandToc): fix crash when there is no document
9756 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9758 * many files: Add insetwrap.
9760 2002-09-09 John Levon <levon@movementarian.org>
9762 * text2.C: remove confusing and awkward depth wraparound
9764 2002-09-09 John Levon <levon@movementarian.org>
9766 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9769 * buffer.C: remove getIncludeonlyList()
9772 * lyxfunc.C: remove headers
9774 2002-09-09 Juergen Vigna <jug@sad.it>
9776 * text.C (getColumnNearX): fix form Michael this is most
9777 probably a cut&paste bug.
9779 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9781 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9783 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9784 references, ws changes.
9786 * text2.C (init): update counters after init
9787 (insertParagraph): no need to set counter on idividual paragraphs.
9788 (setCounter): access the counters object in the textclass object
9789 on in the buffer object.
9790 (updateCounters): ditto
9792 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9793 shared_ptr<Counters> to avoid loading counters.h in all
9795 (LyXTextClass): initialize ctrs_
9796 (TextClassTags): add TC_COUNTER, and ...
9797 (Read): use it here.
9798 (CounterTags): new tags
9799 (readCounter): new function
9800 (counters): new funtion
9801 (defaultLayoutName): return a const reference
9803 * counters.C (Counters): remove contructor
9804 (newCounter): remove a couple of unneeded statements.
9805 (newCounter): simplify a bit.
9806 (numberLabel): some small formatting changes.
9808 * buffer.[Ch]: remove all traces of counters, move the Counters
9809 object to the LyXTextClass.
9811 2002-09-06 Alain Castera <castera@in2p3.fr>
9813 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9814 package to set the horizontal alignment on fixed width columns.
9817 * lyx_sty.h: added tabularnewline macro def.
9819 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9821 2002-09-06 John Levon <levon@movementarian.org>
9823 * LyXAction.C: tooltips for sub/superscript
9825 * MenuBackend.C: a bit more verbose
9827 * lyxfunc.C: tiny clean
9829 * undo_funcs.C: document undo_frozen
9831 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9833 * counters.C (Counters): add missing algorithm counter.
9835 * text2.C (setCounter): lookup the counter with layouts latexname
9836 instead of by section number.
9837 (setCounter): use a hackish way to lookup the correct enum
9839 a float name->type change
9840 reset enum couners with counter name directly instead of depth value.
9842 * counters.C (Counters): remove the push_backs, change to use the
9843 float type not the float name.
9844 (labelItem): remove unused string, float name->type change
9846 * counters.h: don't include vector, loose the enums and sects vectors
9848 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9850 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9851 (Read): add float->TC_FLOAT to textclassTags
9852 (Read): and handle it in the switch
9853 (readFloat): new function
9855 * FloatList.C (FloatList): comment out the hardcoded float
9858 * lyxlayout.h: ws change.
9860 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9862 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9864 2002-09-03 Angus Leeming <leeming@lyx.org>
9866 * BufferView_pimpl.h: qualified name is not allowed in member
9867 declaration: WorkArea & Pimpl::workarea() const;
9869 * factory.C: added using std::endl directive.
9871 * text3.C: added using std::find and std::vector directives.
9873 2002-08-29 André Pönitz <poenitz@gmx.net>
9876 * text2.C: remove unused member number_of_rows
9879 * BufferView2.C: remove file, move contents to...
9880 * BufferView.C: ... here
9882 * BufferView_pimpl.C:
9883 * factory.C: move more inset creation to factory
9885 * vspace.C: avoid direct usage of LyXText, ws changes
9888 don't provide direct access to WorkArea, use two simple
9889 acessors haveSelction() and workHeight() instead
9892 2002-08-29 John Levon <levon@movementarian.org>
9894 * BufferView_pimpl.C (dispatch): do not continue when
9897 2002-08-28 André Pönitz <poenitz@gmx.net>
9899 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9902 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9904 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9906 * buffer.C: increment LYX_FORMAT to 221
9908 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9909 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9911 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9913 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9915 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9917 * factory.C (createInset): use LyXTextClass::floats
9919 * MenuBackend.C (expandFloatListInsert):
9920 (expandFloatInsert):
9923 * text2.C (setCounter):
9925 * LaTeXFeatures.C (useFloat):
9926 (getFloatDefinitions):
9928 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9930 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9931 floatlist_, with accessor floats().
9933 * FloatList.h: remove global FloatList
9935 2002-08-26 André Pönitz <poenitz@gmx.net>
9937 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9941 * BufferView_pimpl.C:
9942 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9944 2002-08-25 John Levon <levon@movementarian.org>
9946 * LyXAction.C: fix margin note description
9948 2002-08-24 John Levon <levon@movementarian.org>
9952 * bufferview_funcs.C:
9954 * undo_funcs.C: cleanups
9956 * lyxfunc.C: disable CUT/COPY when no selection
9958 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9960 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9961 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9963 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9964 Add backward compatibility to "mono", "gray" and "no".
9966 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9968 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9969 (and file_format >= 200).
9971 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9973 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9975 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9979 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9981 * BufferView_pimpl.C:
9988 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9989 inset and code to make it work with the paragraph code. The inset
9990 can be anywhere in the paragraph, but will only do the expected
9991 thing in LaTeX if the layout file contains the parameter line
9993 (or more generally, a nonzero value) for that layout.
9995 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9997 * paragraph.h: remove the declaration of undefined counters class
10000 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10002 * text2.C (setCounter): fixed enumeration mis-count as reported by
10003 Dr. Richard Hawkins.
10005 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10007 * paragraph_funcs.h: remove some unneeded includes
10009 * text.C (backspace): pasteParagraph now in global scipe
10011 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10012 (pasteSelection): ditto
10014 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10015 * paragraph_funcs.C (pasteParagraph): ... here
10017 2002-08-20 André Pönitz <poenitz@gmx.net>
10019 * commandtags.h: new LFUNs for swapping/copying table row/colums
10022 * lyxfunc.C: support for new lfuns
10024 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10027 * buffer.[Ch]: remove NO_COMPABILITY stuff
10029 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10031 * boost.C (throw_exception): new file, with helper function for
10032 boost compiled without exceptions.
10037 * ParameterStruct.h:
10038 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10040 * bufferlist.C (emergencyWriteAll): use boost bind
10042 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10044 * text.C: include paragraph_funcs.h
10045 (breakParagraph): breakParagraph is now in global scope
10047 * paragraph_funcs.[Ch]: new files
10049 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10052 * buffer.C: include paragraph_funcs.h
10053 (insertStringAsLines): breakParagraph is now in global scope
10055 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10058 * CutAndPaste.C: include paragraph_funcs.h
10059 (cutSelection): breakParagraphConservative is now in global scope
10060 (pasteSelection): ditto
10062 * buffer.h: declare oprator== and operator!= for
10063 Buffer::inset_iterator
10065 * bufferlist.C (emergencyWrite): don't use fmt(...)
10067 * text3.C: add using std::endl
10069 * BufferView.C (moveCursorUpdate): remove default arg
10071 2002-08-20 André Pönitz <poenitz@gmx.net>
10073 * buffer.[Ch]: move inline functions to .C
10076 * BufferView_pimpl.C:
10078 * buffer.[Ch]: use improved inset_iterator
10081 * paragraph.[Ch]: write one paragraph at a time
10083 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10085 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10086 style if style is not specified.
10088 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10090 * text2.C (setCounter): when searching for right label for a
10091 caption, make sure to recurse to parent insets (so that a caption
10092 in a minipage in a figure float works) (bug #568)
10094 2002-08-20 André Pönitz <poenitz@gmx.net>
10096 * text3.C: new file for LyXText::dispatch() and helpers
10098 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10100 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10102 2002-08-19 André Pönitz <poenitz@gmx.net>
10105 * text.C: new LyXText::dispatch()
10107 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10109 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10111 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10113 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10116 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10118 * Makefile.am: use $(variables) instead of @substitutions@
10120 2002-08-15 André Pönitz <poenitz@gmx.net>
10123 * BufferView_pimpl.C: streamlining mathed <-> outer world
10127 * LyXAction.C: remove unused LFUN_MATH
10129 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10131 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10133 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10135 * paragraph.C (Paragraph): reformat a bit
10136 (cutIntoMinibuffer): use builtin InsetList function instad of
10140 * buffer.C: include boost/bind.hpp, add using std::for_each
10141 (writeFileAscii): use ParagraphList iterators
10142 (validate): use for_each for validate traversal of paragraphs
10143 (getBibkeyList): use ParagraphList iterators
10144 (resizeInsets): use for_each to resizeInsetsLyXText for all
10146 (getParFromID): use ParagraphList iterators
10148 * BufferView2.C (lockInset): use paragraph list and iterators
10150 2002-08-14 John Levon <levon@movementarian.org>
10152 * lyxserver.C: remove spurious xforms include
10154 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10156 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10158 2002-08-13 André Pönitz <poenitz@gmx.net>
10161 * lyxfunc.C: further cleaning
10163 2002-08-13 André Pönitz <poenitz@gmx.net>
10165 * funcrequest.h: new constructor
10167 * funcrequest.C: move stuff here from .h
10170 * BufferView_pimpl.C:
10173 * lyxfunc.C: subsequent changes
10175 * lyxfunc.h: new view() member function
10177 * lyxfunc.C: subsequent changes
10179 2002-08-13 Angus Leeming <leeming@lyx.org>
10182 * BufferView_pimpl.C:
10190 changes due to the changed LyXView interface that now returns references
10191 to member variables not pointers.
10193 2002-08-13 Angus Leeming <leeming@lyx.org>
10195 * WordLangTuple (word, lang_code): return references to strings,
10200 * lyxtext.h: forward-declare WordLangTuple.
10205 * text.C: #include "WordLangTuple.h".
10208 * text.C: (selectNextWordToSpellcheck): constify return type.
10210 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10216 * paragraph_pimpl.h:
10219 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10220 suggested by Angus.
10221 Made updateCounter always count from start of buffer, and removed
10222 second argument (par).
10223 Reverted floats number display to '#'. Perhaps I'll try again when the
10224 code base is sanitized a bit.
10226 2002-08-12 Angus Leeming <leeming@lyx.org>
10228 * buffer.[Ch] (getLabelList): constify.
10230 2002-08-07 André Pönitz <poenitz@gmx.net>
10232 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10234 * funcrequest.h: extension to keep mouse (x,y) position
10236 2002-08-12 Juergen Vigna <jug@sad.it>
10238 * BufferView2.C (insertErrors): forbid undo when inserting error
10241 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10243 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10245 * ParagraphList.[Ch]: new files
10247 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10249 * BufferView2.C (lockInset): ParagraphList changes
10252 * bufferlist.C: ditto
10256 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10258 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10259 unused class variable counter_,
10261 * paragraph.[Ch] (getFirstCounter): delete unused function
10263 * counters.C: include LAssert.h
10264 (reset): add a new function with no arg, change other version to
10265 not have def. arg and to not allow empty arg.
10267 * text2.C (setCounter): remove empty arg from call to Counters::reset
10269 2002-08-11 John Levon <levon@movementarian.org>
10271 * Makefile.am: add WordLangTuple.h
10273 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10275 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10276 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10278 * insets/insettext.C: InsetList changes
10280 * graphics/GraphicsSupport.C (operator()): InsetList changes
10282 * toc.C (getTocList): InsetList changes
10284 * paragraph_pimpl.[Ch]: InsetList changes
10286 * paragraph.[Ch]: InsetList changes
10288 * buffer.C (inset_iterator): InsetList changes
10289 (setParagraph): ditto
10290 * buffer.h (inset_iterator): ditto
10291 * iterators.C (operator++): ditto
10292 * iterators.h: ditto
10294 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10296 * InsetList.[Ch]: new files, most InsetList handling moved out of
10299 * BufferView2.C (removeAutoInsets): InsetList changes
10301 (ChangeInsets): ditto
10303 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10305 * paragraph_pimpl.h (empty): new function
10307 * paragraph.[Ch] (empty): new function
10309 * other files: use the new Paragraph::empty function
10311 2002-08-09 John Levon <levon@movementarian.org>
10313 * lyxtext.h: remove unused refresh_height
10315 2002-08-09 John Levon <levon@movementarian.org>
10322 * paragraph.C: move sgml char escaping out of paragraph
10325 * paragraph.C: remove id setter
10329 * paragraph_pimpl.C: remove dead tex_code_break_column
10331 * bufferview_funcs.C: small cleanup
10333 * lyxfunc.C: remove dead proto
10335 * lyxtext.h: make some stuff private. Remove some dead stuff.
10337 * lyxgluelength.C: make as[LyX]String() readable
10339 2002-08-08 John Levon <levon@movementarian.org>
10344 * ToolbarDefaults.C:
10347 * toc.C: lyxaction cleanup
10349 2002-08-08 John Levon <levon@movementarian.org>
10351 * BufferView2.C: small cleanup
10354 * lyxfind.C: move unnecessary header into the .C
10356 2002-08-08 John Levon <levon@movementarian.org>
10358 * funcrequest.h: just tedious nonsense
10361 * lyx_main.C: cleanups
10364 * vspace.C: remove dead header lyx_main.h
10366 2002-08-07 Angus Leeming <leeming@lyx.org>
10369 * paragraph_pimpl.h:
10370 Forward declare class Counters in paragraph.h by moving the ctrs member
10371 variable into Paragraph::Pimpl.
10372 (counters): new method, returning a reference to pimpl_->ctrs.
10374 * text2.C: ensuing changes.
10376 2002-08-07 John Levon <levon@movementarian.org>
10378 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10380 * BufferView_pimpl.C: announce X selection on double/triple
10383 * lyx_main.C: use correct bool in batch dispatch
10385 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10387 2002-08-07 André Pönitz <poenitz@gmx.net>
10389 * funcrequest.h: new class to wrap a kb_action and its argument
10392 * BufferView_pimpl[Ch]:
10396 * lyxrc.C: subsequent changes
10399 2002-08-07 John Levon <levon@movementarian.org>
10401 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10402 document options change.
10404 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10409 * makefile.am: move counters functionality over from
10410 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10412 2002-08-06 John Levon <levon@movementarian.org>
10414 * WordLangTuple.h: new file for word + language code tuple
10425 * BufferView2.C: use WordLangTuple
10428 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10430 2002-08-06 John Levon <levon@movementarian.org>
10432 * lyx_main.C: fix cmdline batch handling
10434 2002-08-06 André Pönitz <poenitz@gmx.net>
10436 * lyxrc.C: set default for show_banner to true
10438 2002-08-06 John Levon <levon@movementarian.org>
10440 * pspell.C: fix a crash, and allow new aspell to work
10442 2002-08-06 John Levon <levon@movementarian.org>
10445 * kbmap.C: small cleanup
10448 * vspace.C: add const
10450 2002-08-05 John Levon <levon@movementarian.org>
10452 * LyXAction.C: back to tabular-insert
10454 2002-08-04 John Levon <levon@movementarian.org>
10457 * BufferView.C: cosmetic change
10459 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10469 * BufferView2.C: purge all "Lyx" not "LyX" strings
10472 * lyxcursor.C: attempt to add some documentation
10477 * ToolbarDefaults.C:
10478 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10479 merge with LFUN_TABULAR_INSERT
10486 * pspell.C: split up i/pspell implementations into separate
10487 files, many cleanups
10489 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10491 * text2.C: some cleanup
10493 * lyxfunc.C: don't check for isp_command == "none" any more, it
10494 didn't make any sense
10496 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10501 * makefile.am: move counters functionality over
10502 from text2.C/paragraph.[Ch] to counters.[Ch], and
10504 2002-08-02 John Levon <levon@movementarian.org>
10506 * buffer.C: s/lyxconvert/lyx2lyx/
10508 2002-08-02 Angus Leeming <leeming@lyx.org>
10510 * lyxlex.C: revert John's change as it breaks reading of the user
10513 2002-08-02 Angus Leeming <leeming@lyx.org>
10515 * importer.C (Import):
10516 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10517 changes due to LyXView::view() now returning a boost::shared_ptr.
10519 2002-08-02 John Levon <levon@movementarian.org>
10521 * lyxlex.C: small cleanup
10523 2002-08-02 John Levon <levon@movementarian.org>
10525 * text2.C (status): small cleanup, no logic change
10527 2002-08-01 John Levon <levon@movementarian.org>
10530 * buffer.C (writeFile): don't output alerts, caller
10534 * lyx_cb.C: from above
10536 * lyxfunc.C: allow to open non-existent files
10538 2002-07-31 John Levon <levon@movementarian.org>
10540 * lyxserver.C: don't let incidental errors get
10543 2002-07-30 John Levon <levon@movementarian.org>
10545 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10547 2002-07-30 John Levon <levon@movementarian.org>
10550 * lyxserver.C: remove I/O callback too
10552 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10554 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10557 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10559 * many files: strip,frontStrip -> trim,ltrim,rtrim
10561 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10563 * PrinterParams.h: remove extern containsOnly, and include
10564 support/lstrings.h instead.
10566 * LaTeX.C (scanAuxFile): modify because of strip changes
10568 * buffer.C (makeLaTeXFile): ditto
10569 * bufferparams.C (writeFile): ditt
10570 * lyxfont.C (stateText): ditto
10571 * lyxserver.C (read_ready): ditto
10572 * vc-backend.C (scanMaster): ditto
10574 * BufferView_pimpl.h: ws changes
10576 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10578 2002-07-26 André Pönitz <poenitz@gmx.net>
10580 * kb_sequence.C: remove unnedred usings
10582 2002-07-26 Juergen Vigna <jug@sad.it>
10584 * lyxfind.C (LyXReplace): we have to check better if the returned
10585 text is not of theLockingInset()->getLockingInset().
10587 2002-07-25 Juergen Vigna <jug@sad.it>
10589 * lyxfind.C (LyXReplace): don't replace if we don't get the
10592 * undo_funcs.C (createUndo): remove debugging code.
10594 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10596 * buffer.C (parseSingleLyXformat2Token): Use default placement
10597 when reading old floats.
10599 * FloatList.C (FloatList): Change the default placement of figure
10600 and tables to "tbp".
10602 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10604 * MenuBackend.C: using std::max
10606 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10608 * MenuBackend.C (expandToc):
10609 (expandToc2): code moved from xforms menu frontend. It is now
10610 generic and TOCs are transparent to menu frontends.
10612 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10614 * toc.C (getTocList): protect against buf=0
10616 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10617 Menu as first parameter. Now, this calls itself recursively to
10618 expand a whole tree (this will be useful for TOC handling)
10619 (expandFloatInsert): remove 'wide' version of floats
10621 * MenuBackend.h (submenuname): returns the name of the submenu.
10622 (submenu): returns the submenu itself, provided it has been
10623 created by MenuBackend::expand
10625 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10628 insets which have noFontChange == true. (bug #172)
10630 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10632 * BufferView_pimpl.C: add connection objects and use them...
10635 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10637 * MenuBackend.C (expandLastfiles):
10640 (expandFloatListInsert):
10641 (expandFloatInsert):
10642 (expand): split expand in parts
10644 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10646 * lyx_gui.C: use lyx_gui::exit()
10648 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10650 * LyXAction.C: show the failing pseudo action
10652 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10654 * buffer.C (readFile): Run the lyxconvert script in order to read
10657 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10661 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10663 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10667 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10669 2002-07-22 Herbert Voss <voss@lyx.org>
10672 * lyxlength.[Ch]: add support for the vertical lengths
10674 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10676 * toc.[Ch]: std:: fixes
10678 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10680 * lyxrc.C: do not include lyx_main.h
10682 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10688 * BufferView2.C: include "lyxlex.h"
10691 * bufferparams.h: do not #include "lyxlex.h"
10693 * lyxtextclasslist.C (Add): remove method
10694 (classlist): renamed to classlist_
10696 * paragraph_pimpl.C:
10700 * bufferview_funcs.C:
10705 * toc.C (getTocList): use BufferParams::getLyXTextClass
10707 * toc.C (getTocList): use InsetFloat::addToToc
10709 * toc.[Ch]: new files, containing helper functions to handle table
10712 * lyxfunc.C (dispatch): no need to remove spaces around command
10714 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10715 first command of the sequence; it is not very clever, but I do not
10716 have a better idea, actually
10718 * LyXAction.C (LookupFunc): make sure to remove space at the
10719 beginning and end of the command
10721 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10723 * MenuBackend.C (getMenubar): new method: return the menubar of
10725 (read): treat differently reading of menu and menubar (in
10726 particular, the menubar has no name now)
10727 (Menu::menubar): remove
10729 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10732 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10734 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10735 a bibitem inset in a RTL paragraph.
10737 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10739 * paragraph_pimpl.C: constify
10741 * BufferView_pimpl.C:
10743 * lyxfunc.C: fix dispatch in a nicer way
10745 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10747 * lyxfunc.C (dispatch):
10748 * BufferView_pimpl.C:
10749 * BufferView_pimpl.h:
10751 * BufferView.h: rename Dispatch() to dispatch()
10753 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10755 * lyxlayout.C (Read): honor DependsOn tag
10757 * lyxlayout.[Ch] (depends_on): new method
10759 * version.C.in: update lyx_docversion
10761 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10763 * paragraph.C (validate): remove from here...
10764 * paragraph_pimpl.C (validate): ... and move here
10765 (isTextAt): make it const
10767 * buffer.C (getLists): ws cleanup
10769 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10771 * language.C (read): Use iso8859-1 encoding in latex_lang
10772 (this prevents LyX from crashing when using iso10646-1 encoding).
10774 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10776 * text2.C (toggleInset): if cursor is inside an inset, close the
10777 inset and leave cursor _after_ it
10779 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10781 * lyxfunc.C: move minibuffer completion handling out of here
10783 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10785 * BufferView_pimpl.C:
10786 * LaTeX.C: fix dispatch calls
10788 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10790 * text.C (drawChars): Fix Arabic text rendering.
10792 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10796 * lyxfunc.C: remove message-push/pop
10800 * lyxfunc.C: rationalise some code by removing verboseDispatch
10801 in favour of a bool argument to dispatch()
10803 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10805 * lyx_main.C (init): make sure to read symlinks as absolute paths
10807 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10810 * lyxfunc.C: no need for commandshortcut to be a member
10812 2002-07-15 André Pönitz <poenitz@gmx.net>
10814 * converter.C: add support for $$s (scripts from lib/scripts dir)
10815 * lyx_main.C: white space
10817 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10821 * lyxrc.C: remove second exit confirmation
10823 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10828 * BufferView_pimpl.h:
10829 * BufferView_pimpl.C:
10830 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10832 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10834 * MenuBackend.C (expand): add numeric shortcuts to document menu
10836 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10838 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10840 * lyxfont.C (setLyXFamily):
10847 * buffer.C (asciiParagraph): use ascii_lowercase
10849 2002-07-15 Mike Fabian <mfabian@suse.de>
10851 * lyxlex_pimpl.C (search_kw):
10852 * lyxlex.C (getLongString):
10853 * converter.h (operator<):
10854 * converter.C (operator<):
10855 * buffer.C (parseSingleLyXformat2Token):
10857 * ToolbarDefaults.C (read):
10858 * MenuBackend.C (checkShortcuts):
10860 * LColor.C (getFromGUIName):
10861 (getFromLyXName): use the compare_ascii_no_case instead of
10862 compare_no_case, because in turkish, 'i' is not the lowercase
10863 version of 'I', and thus turkish locale breaks parsing of tags.
10865 2002-07-16 Angus Leeming <leeming@lyx.org>
10867 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10868 now takes a Buffer const & argument.
10870 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10872 * BufferView.C (resize): check there's a buffer to resize
10874 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10876 * lyxfunc.C: remove dead code
10879 * lyxserver.C: use lyx_guii::set_read_callback
10881 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10883 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10884 an inset in a RTL paragraph.
10886 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10888 * lyxfunc.C: repaint after a font size update
10890 2002-07-15 André Pönitz <poenitz@gmx.net>
10892 * lyxlength.C: inBP should be able to return negative values
10894 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10896 * lyxfunc.C: use lyx_gui::update_fonts()
10898 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10900 * lyxfunc.C: use lyx_gui::update_color()
10902 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10908 * lyxrc.C: remove file->new asks for name option, and let
10909 buffer-new take an argument
10911 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10913 * BufferView_pimpl.C: remove unneeded extra repaint()
10915 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10917 * LyXAction.C: allow command-sequence with NoBuffer
10919 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10921 2002-07-10 Angus Leeming <leeming@lyx.org>
10923 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10925 2002-07-09 Angus Leeming <leeming@lyx.org>
10927 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10929 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10931 * lengthcommon.h: whitespace
10933 * lyxfunc.C: update scrollbar after goto paragraph
10935 * lyxtext.h: factor out page break drawing, and fix it so
10936 page break/added space paints as selected nicely
10938 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10940 * BufferView_pimpl.C: add FIXMEs, clean up a little
10942 2002-07-09 André Pönitz <poenitz@gmx.net>
10944 * lyxfont.[Ch]: support for wasy symbols
10946 2002-07-08 André Pönitz <poenitz@gmx.net>
10948 * BufferView_pimpl.C: apply John's patch for #93.
10950 2002-07-05 Angus Leeming <leeming@lyx.org>
10952 * BufferView_pimpl.C (buffer): generate previews if desired.
10954 * LColor.h: add "preview" to the color enum.
10956 * LColor.C (LColor): add a corresponding entry to the items array.
10958 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10961 2002-07-05 Angus Leeming <leeming@lyx.org>
10963 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10964 The body of the code is now in the method that is passed an ostream &
10965 rather than a file name.
10966 Pass an additional only_preamble parameter, useful for the forthcoming
10969 2002-07-03 André Pönitz <poenitz@gmx.net>
10971 * lyxfunc.C: simplify getStatus() a bit for math stuff
10973 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10977 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10979 * text.C (changeRegionCase): do not change case of all the
10980 document when region ends at paragraph end (bug #461)
10982 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10984 * paragraph.C (startTeXParParams):
10985 (endTeXParParams): add \protect when necessary
10987 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10989 * BufferView_pimpl.C (workAreaExpose): remove warning
10991 2002-06-27 Angus Leeming <leeming@lyx.org>
10993 * Makefile.am: add lyxlayout_ptr_fwd.h.
10995 2002-06-26 André Pönitz <poenitz@gmx.net>
10997 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10999 2002-06-25 Angus Leeming <leeming@lyx.org>
11001 * lyxfunc.C (dispatch): Comment out the call to
11002 grfx::GCache::changeDisplay. The method no longer exists now that the
11003 pixmap generation part of the graphics loader has been moved into
11006 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11008 * text2.C: layout as layout
11010 * text.C: layout as layout
11012 * tabular.C (OldFormatRead): layout as layout
11014 * paragraph_pimpl.C (TeXDeeper): layout as layout
11015 (realizeFont): layout as layout
11017 * paragraph.C (writeFile): layout as layout
11018 (validate): layout as layout
11019 (getFont): layout as layout
11020 (getLabelFont): layout as layout
11021 (getLayoutFont): layout as layout
11022 (breakParagraph): layout as layout
11023 (stripLeadingSpaces): layout as layout
11024 (getEndLabel): layout as layout
11025 (getMaxDepthAfter): layout as layout
11026 (applyLayout): layout as layout
11027 (TeXOnePar): layout as layout
11028 (simpleTeXOnePar): layout as layout
11029 (TeXEnvironment): layout as layout
11030 (layout): layout as layout
11031 (layout): layout as layout
11033 * lyxtextclass.C (compare_name): new functor to work with
11034 shared_ptr, layout as layout
11035 (Read): layout as layout
11036 (hasLayout): layout as layout
11037 (operator): layout as layout
11038 (delete_layout): layout as layout
11039 (defaultLayout): layout as layout
11041 * lyxlayout_ptr_fwd.h: new file
11043 * lyxlayout.C (Read): layout as layout
11045 * lyx_cb.C (MenuInsertLabel): layout as layout
11047 * bufferlist.C (newFile): layout as layout
11049 * buffer.C (readLyXformat2): layout as layout
11050 (parseSingleLyXformat2Token): layout as layout
11051 (insertStringAsLines): layout as layout
11052 (asciiParagraph): layout as layout
11053 (latexParagraphs): layout as layout
11054 (makeLinuxDocFile): layout as layout
11055 (simpleLinuxDocOnePar): layout as layout
11056 (makeDocBookFile): layout as layout
11057 (simpleDocBookOnePar): layout as layout
11058 (getLists): layout as layout
11060 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11062 * CutAndPaste.C (cutSelection): layout as layout
11063 (pasteSelection): layout as layout
11064 (SwitchLayoutsBetweenClasses): layout as layout
11066 * BufferView_pimpl.C (Dispatch): layout as layout
11067 (smartQuote): layout as layout
11069 * BufferView2.C (unlockInset): layout as layout
11071 2002-06-24 André Pönitz <poenitz@gmx.net>
11073 * lyxfunc.C: fix #487
11075 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11079 * lyxfunc.C: remove display_shortcuts, show_banner
11081 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11083 * Buffer_pimpl.C: oops, update on resize
11085 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11092 * BufferView.C: use repaint()
11094 * BufferView_pimpl.h:
11095 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11096 as it's a clearer description. Remove superfluous
11099 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11101 * text.C: fix bug 488. Not ideal, but getting
11102 getWord() to work properly for the insets that
11103 matter is more difficult ...
11105 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11107 * BufferView_pimpl.C:
11110 * lyxfunc.C: remove the six million index lyxfuncs to just
11111 one, and DTRT (bug 458)
11113 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11117 * BufferView_pimpl.h:
11118 * BufferView_pimpl.C: clean up resize() stuff,
11119 and unnecessary updateScreen()s
11121 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11125 * BufferView_pimpl.h:
11126 * BufferView_pimpl.C:
11129 * minibuffer.C: remove focus management of workarea,
11130 not needed. Use screen's greyOut()
11132 2002-06-17 Herbert Voss <voss@lyx.org>
11134 * converter.C: (convert) do not post a message, when converting
11135 fails, let the calling function decide what to do in this case
11137 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11139 * lyxfunc.C: tidy up a little
11141 2002-06-16 <alstrup@diku.dk>
11143 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11144 Got rid of FORMS_H_LOCATION include. Now we are
11147 2002-06-15 LyX Development team <lyx@rilke>
11149 * buffer.[Ch] (sgmlOpenTag):
11150 (sgmlCloseTag): Added support for avoiding pernicious mixed
11151 content. Return number of lines written.
11153 (makeLinuxDocFile):
11154 (makeDocBookFile): Fixed calls to sgml*Tag.
11155 Simple white space clean.
11157 (simpleDocBookOnePar): Simple white space clean.
11159 * tabular.[Ch] (docBook): Renamed to docbook and got another
11160 argument to related with the pernicious mixed content.
11162 (docbookRow): Fixed calls for docbook inset method.
11164 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11166 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11167 so it's X11 independent.
11171 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11173 2002-06-15 Lyx Development team <lyx@electronia>
11175 * intl.h: Renamed getTrans to getTransManager.
11177 2002-06-14 Angus Leeming <leeming@lyx.org>
11179 * Makefile.am: nuke forgotten stl_string_fwd.h.
11181 2002-06-12 Angus Leeming <leeming@lyx.org>
11183 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11185 2002-06-13 Angus Leeming <leeming@lyx.org>
11188 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11190 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11192 * kbmap.C (getiso): add support for cyrillic and greek
11194 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11198 * BufferView_pimpl.h:
11199 * BufferView_pimpl.C: move bogus scrolling logic
11202 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11205 * BufferView_pimpl.C: view->resize() change
11207 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11209 * BufferView_pimpl.C: topCursorVisible
11212 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11216 * lyx_gui.C: move to frontends/
11220 * lyx_main.C: changes from above
11222 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11229 * lyx_main.C: minor tidy
11231 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11233 * BufferView_pimpl.h:
11234 * BufferView_pimpl.C:
11236 * BufferView.C: make painter() const,
11239 * BufferView2.C: use screen() accessor
11242 * lyx_main.C: some minor cleanup
11244 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11246 * BufferView_pimpl.h:
11247 * BufferView_pimpl.C: remove enter/leaveView,
11250 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11255 * BufferView_pimpl.h:
11256 * BufferView_pimpl.C: only construct screen once,
11259 * lyxrc.C: remove pointless comment
11261 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11264 * BufferView.C: remove active() and belowMouse()
11266 * BufferView_pimpl.h:
11267 * BufferView_pimpl.C: use workarea() not workarea_,
11268 and make it use a scoped_ptr instead
11270 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11272 * lyx_gui.C: add debug message on BadWindow
11274 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11276 * sp_spell.C: fdopen is not part of the C++ standard.
11278 * paragraph.C (InsetIterator): use >= instead of ==
11280 2002-06-07 Angus Leeming <leeming@lyx.org>
11282 Fixes needed to compile with Compaq cxx 6.5.
11283 * BufferView_pimpl.C:
11290 * lyxtextclasslist.C:
11295 all c-library variables have been moved into namespace std. Wrap
11296 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11301 Add a using std::abs declaration.
11303 * kbmap.h (modifier_pair):
11304 * paragraph.h (InsetTable, InsetList):
11305 * lyxfont.h (FontBits):
11306 type definition made public.
11308 * bufferlist.C (emergencyWriteAll): the compiler complains that
11309 there is more than one possible lyx::class_fun template to choose from.
11310 I re-named the void specialisation as lyx::void_class_fun.
11312 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11314 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11315 the compiler is is unable to find tostr in write_attribute.
11317 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11319 * buffer.C (sgmlError): hide #warning
11321 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11323 * xtl/*: get rid of xtl, which is not in use anyway
11325 * LyXAction.C (init):
11326 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11327 were unimplemented xtl experimentation
11329 2002-06-04 André Pönitz <poenitz@gmx.net>
11331 * lyxfunc.C: disable array operation on simple formulae
11333 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11335 * converter.C: constify a bit
11337 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11339 * lyx_gui.C: check xforms version correctly
11341 2002-04-30 Herbert Voss <voss@lyx.org>
11343 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11346 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11348 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11349 attempt to register it with a VCS)
11351 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11353 * lyx_main.C (init): honor variables LYX_DIR_13x and
11356 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11360 * lyx_main.C: fix a crash on bad command line,
11361 and give a useful exit status on error
11363 * lyxfunc.C (doImport): allow -i lyx to work
11365 2002-03-30 André Pönitz <poenitz@gmx.net>
11367 * lyxfunc.C: mathed font changes
11369 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11384 * trans_mgr.h: srcdocs, and some minor cleanups
11386 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11388 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11389 call getFont all the time)
11391 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11393 * switch from SigC signals to boost::signals
11395 2002-05-29 André Pönitz <poenitz@gmx.net>
11397 * paragraph_pimpl.C (getChar): don't call size() too often...
11399 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11401 * paragraph_pimpl.C (insertChar): do not try to update tables when
11402 appending (pos == size())
11404 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11405 in order to reduce drastically the number of comparisons needed to
11406 parse a large document
11408 2002-05-29 André Pönitz <poenitz@gmx.net>
11414 * textclasslist.[Ch]:
11415 * sp_ispell.h: whitespace change
11417 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11419 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11420 lyxaction directly now.
11422 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11426 * lyxvc.C: remove unused headers
11428 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11435 * undo_funcs.C: some cleanups. Use shared_ptr
11436 and a template for the undo stacks.
11438 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11440 * BufferView_pimpl.h:
11441 * BufferView_pimpl.C:
11448 * text2.C: use key_state/mouse_state
11450 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11455 * chset.C: change include order
11456 (loadFile): use boost regex and get rid of LRegex and LSubstring
11458 * Makefile.am (BOOST_LIBS): new variable
11459 (lyx_LDADD): use it
11461 * LaTeX.C: change include order.
11462 (scanAuxFile): use boost regex and get rid of LRegex and
11466 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11471 * FontInfo.C: moved to frontends/xforms/
11474 * FontLoader.C: moved into frontends for GUIIzation
11479 * lyxfunc.C: changes from above
11481 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11483 * LColor.C: remove spurious X include
11485 * BufferView_pimpl.C:
11490 * text2.C: move font metrics to frontends/
11492 2002-05-24 Juergen Vigna <jug@sad.it>
11494 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11495 setting the undo_cursor.
11497 * ParagraphParameters.h: include local includes first.
11499 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11501 * BufferView_pimpl.C:
11502 * BufferView_pimpl.h:
11506 * screen.C: move WorkArea into frontends/
11512 * BufferView2.C: move LyXScreen into frontends/
11516 * lyx_gui.C: move lyxlookup into frontends/xforms/
11518 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11521 * BufferView_pimpl.C:
11531 * bufferview_funcs.C:
11544 * vc-backend.C: move LyX/XFormsView into frontends/
11546 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11558 * text2.C: move Painter to frontends/
11560 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11562 * buffer.C: comment out some some code that depend upon lyx_format
11565 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11566 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11568 * buffer.h (NO_COMPABILITY): turn off compability
11570 * ColorHandler.C: include scoped_array.hpp
11572 * font.C: Use more specific smart_ptr header.
11575 * ShareContainer.h: ditto
11576 * lyx_main.h: ditto
11578 * FontInfo.h: ditto
11579 * BufferView_pimpl.h: ditto
11580 * ColorHandler.h: ditto
11582 * kbmap.C (defkey): change call to shared_ptr::reset
11584 2002-05-21 Juergen Vigna <jug@sad.it>
11586 * buffer.C (insertErtContents): fix to insert ert asis if it is
11587 non empty. Skip it completely if it contains only whitespaces.
11589 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11591 * BufferView_pimpl.C:
11592 * BufferView2.C: clear selection on paste (bug 393)
11594 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * DepTable.C: include ctime
11598 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11600 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11602 2002-05-14 Juergen Vigna <jug@sad.it>
11604 * text.C (breakParagraph): fixed function to honor the keepempty
11605 layout in the right maner and also to permit the right breaking
11606 algorithm on empty or non empyt keepempty paragraphs.
11608 * paragraph.C (breakParagraph): we have to check also if the par
11609 is really empty (!size()) for isempty otherwise we do the wrong
11612 2002-05-10 Juergen Vigna <jug@sad.it>
11614 * buffer.[Ch] : The following are only changes to the ert
11615 compatibility read reading old LaTeX layout and font stuff and
11616 convert it to ERTInsets.
11618 * buffer.h: added isErtInset().
11620 * buffer.C (struct ErtComp): add a fromlayout bool to check
11621 if we're inside a LaTeX layout.
11622 (isErtInset): new helper function.
11623 (insertErtContents): look for other ert insets before this one
11624 and insert the contents there, so that we don't have subsequent
11625 ERT insets with nothing between them. This way we create only one
11626 inset with multiple paragraphs. Also check if we don't insert only
11627 spaces ' ' as they are ignored anyway afterwards in the .tex file
11628 so if we have only spaces we will ignore this latex part in the
11630 (parseSingleLyXformat2Token \\layout): better compatibility when
11631 reading layout-latex stuff.
11632 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11634 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11635 stuff after reading the inset only get the information back from
11638 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11640 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11642 * LaTeXFeatures.C (getBabelOptions): New method.
11644 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11646 * BufferView_pimpl.C (Dispatch): work around missing argument for
11649 2002-05-08 Juergen Vigna <jug@sad.it>
11651 * text.C (leftMargin): handle paragraph leftindent.
11653 * paragraph.C (writeFile): write the new \\leftindent tag.
11654 (validate): handle leftindent code.
11655 (TeXEnvironment): handle paragraphleftindent code again.
11657 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11659 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11660 for paragrap_extra indent code and new token \\leftindent.
11661 (latexParagraphs): handle the leftindent as environment.
11663 * ParameterStruct.h: added leftindent support.
11665 * ParagraphParameters.C (leftIndent): added support functions for
11666 the paragraph left indent.
11668 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11671 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11673 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11676 * text.C (computeBidiTables): No bidi in insetERT.
11678 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11681 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11683 * version.C.in: pre 5
11685 2002-05-02 José Matos <jamatos@fep.up.pt>
11686 * buffer.C (makeDocBookFile): white space changes, add newline to
11688 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11690 * tabular.C (docBook): fix typo.
11692 2002-05-03 Juergen Vigna <jug@sad.it>
11694 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11695 change in LyXText as we can not be sure it was not freed.
11696 (drawOneRow): remove unused code.
11698 * text.C (drawInset): redo the calculation of the need_break_row as
11699 it could have a row which was already freed.
11700 (draw): look at the return value of drawInset and return false if
11701 it also returned false.
11702 (paintRowText): look at the return value of draw and return false if
11703 it also returned false.
11705 * lyxtext.h: added bool return type to drawInset() and draw() so that
11706 if we have a change in the row so that the rowbreak has to be redone
11707 we abort drawing as it will be called again.
11709 2002-05-02 Juergen Vigna <jug@sad.it>
11711 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11712 a change in the maintext also if we're inside an inset.
11713 (Dispatch): set the cursor again after a break line and after the
11714 screen has been updated as it could be we're in a different row.
11716 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11717 to set the cursor behind the pargraph with > size().
11718 (setCursor): check also for the same paragraph when checking where
11719 to put the cursor if we have a NFR inset.
11721 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11722 parts of layout read further up as it still was in the wrong
11725 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11727 * screen.C (drawFromTo): change sine fullRebreak always return
11730 * buffer.C (parseSingleLyXformat2Token): reindent some
11732 * BufferView_pimpl.C (update): change since fullRebreak always
11734 (Dispatch): git rid of the last hardcoded "Standard"s.
11736 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11738 * text2.[Ch] (fullRebreak): make it return void now that we always
11741 2002-04-30 Juergen Vigna <jug@sad.it>
11743 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11744 ert compatibility check for "latex" layout.
11746 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11748 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11749 minipages: use col% instead of p%, and also use the current font.
11750 (makeLaTeXFile): Fix use babel condition.
11751 (parseSingleLyXformat2Token): Correct font when reading old floats.
11753 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11755 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11756 inserting list of floats.
11758 2002-04-25 Herbert Voss <voss@lyx.org>
11760 * MenuBackend.C (expand): don't add the graphics extensions to the
11763 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11765 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11766 non-existing layout, do not complain if it was the default layout
11767 of the original class (bug #342)
11769 2002-04-24 Juergen Vigna <jug@sad.it>
11771 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11772 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11774 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11776 * buffer.C (getBibkeyList): If using \bibliography, return the
11777 option field with the reference itself. Enables us to provide natbib
11778 support when using \bibliography.
11780 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11782 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11784 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11785 natbib is provided by the LaTeX class.
11787 2002-04-23 Juergen Vigna <jug@sad.it>
11789 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11792 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11794 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11798 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11799 ensuremath around textordmasculine, textordfeminine and
11802 2002-04-19 Juergen Vigna <jug@sad.it>
11804 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11805 reinitializing the buffer otherwise row-dimensions may be wrong.
11806 (update): reset also the selection cursors if they do exits otherwise
11807 their x/y positions may be wrong.
11809 * text2.C (cursorDown): don't enter the inset if we came from a row
11810 above and are one row over the inset.
11812 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11813 really leaving an inset.
11815 2002-04-18 Juergen Vigna <jug@sad.it>
11817 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11818 of the selected paragraph does not have the selected layout also if
11821 * text2.C (setLayout): fixed bug which did not change last selected
11824 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11825 changed the read and substituted \\end_float with \\end_inset!
11827 * BufferView_pimpl.C (cursorPrevious):
11828 (cursorNext): fixed to make it work with rows heigher than the work
11829 area without moving the cursor only the draw of the row.
11830 (workAreaMotionNotify): fix jumping over high rows.
11832 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11834 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11837 2002-04-16 Juergen Vigna <jug@sad.it>
11839 * text2.C (setCursor): set also the irow().
11840 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11842 (cursorDown): support for locking an inset if the x_fix value goes
11843 inside it. That way I can transverse insets too with cursor up/down.
11845 * lyxrow.h: added irow helper function same as other (i) functions.
11847 * BufferView_pimpl.C (cursorPrevious):
11848 (cursorNext): fixed for insets!
11850 2002-04-15 Juergen Vigna <jug@sad.it>
11852 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11853 position otherwise it is wrong in some cases.
11855 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11856 inside the inset before the call.
11858 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11860 * buffer.[Ch] (getBibkeyList): make it const.
11862 2002-04-12 Juergen Vigna <jug@sad.it>
11864 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11866 * text2.C (getCursorX): new helper function
11867 (setCursor): compute also ix_
11868 (setCursorFromCoordinates): set also ix.
11870 * lyxcursor.h: added ix_ and helper functions.
11872 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11874 * buffer.C (insertStringAsLines): dont break paragraph if the this
11875 paragraph is inside an inset which does not permit it!
11877 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11878 also with no chars on this paragraph.
11879 (paintRowText): only paint stuff if it's inside the workarea!
11881 * paragraph.C (breakParagraph): honor keepempty flag and break the
11882 paragraph always below not above.
11884 * BufferView2.C (unlockInset): update the paragraph layout on inset
11885 unlock as we changed paragraph in such a case.
11887 * lyxfind.C (LyXFind): clear the former selection if not found!
11889 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11890 again called in insertChar().
11892 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11893 an inset which uses the whole row!
11894 (rightMargin): ditto.
11895 (insertChar): force a rebreak if we inserted an inset!
11897 2002-03-28 Herbert Voss <voss@lyx.org>
11899 * lyxlength.[Ch]: add inBP() to get the right PS-point
11900 units (BigPoint). With inPixels we have rounding errors
11902 2002-04-11 Juergen Vigna <jug@sad.it>
11904 * text2.C (setCursorFromCoordinates): set iy to the right value.
11905 (setCursor): add check if row->previous exists!
11907 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11908 an old float_type as this was the case in the old code!
11910 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11912 * BufferView2.C (showLockedInsetCursor): use iy
11913 (fitLockedInsetCursor): ditto
11915 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11916 locked insets as there we have the right value now.
11918 * lyxcursor.C: added iy_ variable and iy functions to set to the
11919 baseline of cursor-y of the locked inset.
11921 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11922 (setCursor): fixed for insets which need a full row.
11924 * text.C (rowLastPrintable): don't ignore the last space when before
11925 an inset which needs a full row.
11926 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11927 as last character of a row when before a inset which needs a full row.
11929 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * version.C.in: update date
11933 * text2.C (fullRebreak): try to always return true and see what
11936 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11938 * MenuBackend.C (expand): use Floating::listName
11940 * FloatList.C (FloatList): add listName argument to the built-in
11943 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11944 text associated with the float.
11946 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11948 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11950 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11952 * ShareContainer.h: add a couple of missing typenames.
11954 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11956 * lyxrc.C (getDescription): use _() correctly rather than N_().
11958 2002-03-28 Herbert Voss <voss@lyx.org>
11960 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11961 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11963 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11965 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11966 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11968 2002-03-29 Juergen Vigna <jug@sad.it>
11970 * lyxfunc.C (dispatch): add a missing fitCursor call.
11972 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11973 it was scrolled by a cursor move, so return the bool status.
11975 * BufferView.C (fitCursor): return the bool flag also to the outside
11976 world as this is needed.
11978 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11980 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11981 call the edit() as it is not needed (and wrong) IMO.
11982 (workAreaButtonPress): set the screen_first variable before evt.
11983 unlock the inset as this may change screen_first and then we have
11984 a wrong y position for the click!
11986 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11988 * MenuBackend.C (expand): another translation that I missed
11990 2002-03-28 Juergen Vigna <jug@sad.it>
11992 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11994 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11996 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11998 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12000 * MenuBackend.C (expand): fix export/view/update when there is no
12003 2002-03-27 Herbert Voss <voss@lyx.org>
12005 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12008 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12010 * bufferview_funcs.C (currentState): only show paragraph number
12011 for is DEVEL_VERSION is set.
12013 * lyxfunc.C (dispatch): put warning in INFO channel
12015 * MenuBackend.C (expand): translate the name of floats
12017 * FloatList.C (FloatList): mark the float names for translation
12019 * converter.C (convert): use LibScriptSearch
12021 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12023 * MenuBackend.C (defaults): fix default menu (we might as well get
12026 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12028 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12031 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12033 * lyxvc.C: reorder includes.
12035 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12037 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12040 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12042 * CutAndPaste.C: change layouts earlier on paste
12043 to avoid crashing when calling getFont()
12045 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12047 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12050 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12052 * WorkArea.C: remove 'Pending' debug message.
12054 * most files: ws cleanup
12056 * buffer.[Ch]: ws changes
12058 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12060 2002-03-21 Juergen Vigna <jug@sad.it>
12062 * tabular.C (SetMultiColumn): collapse also the contents of the
12063 cells and set the last border right. Added a Buffer const * param.
12065 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12067 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12070 2002-03-19 Juergen Vigna <jug@sad.it>
12072 * text2.C (clearSelection): reset also xsel_cache.
12074 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12075 where it needs to be called (John tells us to do so too :)
12076 (selectionLost): reset sel_cache.
12078 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12080 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12082 * text2.C (setCursorIntern): put debuging code in INSETS channel
12084 2002-03-19 André Pönitz <poenitz@gmx.net>
12086 * lyxfunc.C: tiny whitespace change
12088 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12090 * ToolbarDefaults.C (init):
12091 * LyXAction.C (init):
12093 * BufferView_pimpl.C (Dispatch):
12094 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12096 2002-03-19 Allan Rae <rae@lyx.org>
12098 * exporter.C (Export): removeAutoInsets before doing anything else.
12099 While I've just introduced a dependency on BufferView this really is
12100 the best place to clean the buffer otherwise you need to cleanup in
12101 a dozen places before calling export or cleanup in a dozen functions
12104 * converter.C (runLaTeX):
12105 (scanLog): Better handling of removeAutoInsets and screen updates.
12107 * lyxfunc.C (dispatch): small whitespace changes
12109 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12111 * WorkArea.C (C_WorkAreaEvent): return a value.
12112 (event_cb): return 1 if we handled the event, 0 otherwise.
12114 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12116 2002-03-18 Juergen Vigna <jug@sad.it>
12118 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12119 (GetAdditionalWidth): ditto.
12120 (RightLine): ditto.
12123 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12124 inset if we're there actually (probably not used right now but this
12125 is the direction to go for unifying code).
12126 (paste): disable code to clear the selection.
12128 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12129 inside an InsetText and move the check further up as it is in the
12132 * text2.C (pasteSelection): set a selection over the pasted text.
12134 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12136 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12137 and libgraphics to build on Cygwin.
12139 2002-03-15 Juergen Vigna <jug@sad.it>
12141 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12142 inserting an Inset into the paragraph. I know this is not the best
12143 fix but we already use current_view in CutAndPaste so we will remove
12144 all of it's using at the same time.
12146 * buffer.C (sgmlError): deactivated function till it is rewritten in
12147 the right mode, now it can create problems.
12149 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12150 before accessing it.
12152 2002-03-14 Juergen Vigna <jug@sad.it>
12154 * undo_funcs.C (textHandleUndo): do the right thing when updating
12155 the inset after the undo/redo.
12157 * text2.C (setCursor): just some testcode for #44 not ready yet.
12159 * undo_funcs.C (textHandleUndo): set the next() and previous()
12160 pointers of the paragraph to 0 before deleting otherwise we have
12161 problems with the Paragraph::[destructor].
12163 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12164 on a paragraph insertion.
12166 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12168 * buffer.C (asciiParagraph): use += operator for char append to
12171 * paragraph.C (getFontSettings): compare >= not just >
12172 (highestFontInRange): ditto
12175 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * paragraph.C: change several algorithm to be more appripriate for
12178 the problem domain. This is lookip in FontList and in the InsetList.
12180 2002-03-13 André Pönitz <poenitz@gmx.net>
12183 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12185 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12190 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12192 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12194 * Painter.C (display): anon helper function, adjust code for this
12196 (pixmap): remove function.
12198 * Painter.h: remove private display variable.
12200 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12202 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12204 * WorkArea.[Ch]: remove figinset_canvas cruft.
12206 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12208 * lyxtextclass.C (operator): add one item cache optimization.
12210 * bufferlist.h: doxy changes
12212 * bufferlist.C: ws changes
12214 * DepTable.[Ch] (ext_exist): place const in the right spot.
12216 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12218 (workAreaExpose): call resizeInsets when the with BufferView changes.
12219 (Dispatch): adjust for protectedBlank removal
12220 (specialChar): call updateInset if the insert went ok.
12222 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12223 specialChar instead.
12225 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12227 * BufferView.h: doxy change
12229 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12231 * lyxtextclass.C (operator[]): remove non-const version
12232 (defaultLayout): remove non-const version
12234 2002-03-12 Juergen Vigna <jug@sad.it>
12236 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12237 did resize the LyXText too.
12239 * buffer.C (readLyXformat2): set layout information on newly allocated
12242 * tabular.C (OldFormatRead): set layout information on the paragraph.
12244 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12246 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12248 2002-03-11 Juergen Vigna <jug@sad.it>
12250 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12252 (resizeCurrentBuffer): force also the insets to resize themselfes.
12253 (moveCursorUpdate): fixed up for InsetText.
12255 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12258 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12259 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12260 value of Dialogs::tooltipsEnabled().
12261 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12263 2002-03-08 Juergen Vigna <jug@sad.it>
12265 * BufferView_pimpl.C (updateInset): update inset inside inset also
12266 if it isn't inside theLockingInset().
12268 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12270 * buffer.C (asciiParagraph): redo some of the word and line length
12272 (getLists): look for Caption instead of caption.
12274 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12276 * buffer.C (Buffer): initialize niceFile to true
12278 (makeLinuxDocFile):
12279 (makeDocBookFile): make sure niceFile is true on exit
12281 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12283 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12285 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12287 * LyXSendto.C: remove.
12288 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12289 * lyx_gui.C: remove now-redundant comment.
12290 * ColorHandler.h: remove forward declaration of class WorkArea.
12291 * lyxfunc.C: remove #include "WorkArea.h".
12293 2002-03-07 Juergen Vigna <jug@sad.it>
12295 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12296 got moved away with the DEPM and also set the inset_owner always
12297 right which before could have been omitted.
12299 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12301 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12302 wanted layout is not found.
12304 2002-03-07 Juergen Vigna <jug@sad.it>
12306 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12308 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * paragraph.C (breakParagraph): use default layout not layout of
12312 (Paragraph): clear ParagraphParameters.
12314 2002-03-06 Juergen Vigna <jug@sad.it>
12316 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12317 otherwise it would not be a valid lenght. Fixed a special case in
12318 the minipage compatibility read where we end the document with a
12321 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12322 was set as it could be 0 for InsetTexts first entry.
12324 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * paragraph.C (writeFile): if layout is empty write out
12327 defaultLayoutName().
12329 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12330 file without named layout we set layout to defaultLayoutName().
12332 2002-03-06 Juergen Vigna <jug@sad.it>
12334 * CutAndPaste.C (copySelection): set layout for new paragraph.
12336 * text.C (prepareToPrint): leave ERT inset left aligned
12337 (leftMargin): don't indent paragraphs inside ERT insets
12339 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * paragraph.C (breakParagraph): dont call clear do the work manually
12343 * paragraph.[Ch] (clear): remove function
12345 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12347 * paragraph.C (Paragraph): dont call clear, the work has already
12350 * lyxtextclass.C (operator): assert if n is empty
12352 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12353 work manually instead.
12355 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12357 * BufferView_pimpl.C: protect selectionLost against text == 0
12359 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12361 * text.C (breakParagraph): fix a setting layout to '0' problem.
12363 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12365 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12366 final location of file, for the included files, and graphics.
12368 2002-03-05 Juergen Vigna <jug@sad.it>
12370 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12372 2002-03-04 Juergen Vigna <jug@sad.it>
12374 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12376 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12377 last column of multicolumn cells.
12378 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12380 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12382 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12383 file if it doesn't go to a temporary file.
12385 * buffer.C (sgmlOpenTag):
12386 (sgmlCloseTag): remove extra newline insertion.
12388 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12390 * text.C (getRowNearY): comment out debug msg
12392 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * text2.C: first -> first_y
12396 * text.C (getRowNearY): add some attemts at a possible
12397 optimization, not working.
12399 * tabular.[Ch]: add BufferParams to several function so that newly
12400 created paragraph can be initialized to he default layotu for the
12403 * tabular-old.C (ReadOld): add buf->params to call of Init
12405 * screen.C: rename text->first to text->first_y
12407 * paragraph.C (breakParagraph): always set layout in the broken
12410 * lyxtextclass.C (Read): remove lowercase
12413 (delete_layout): ditto
12415 * lyxtext.h: rename first -> first_y
12417 * lyxlayout.C (Read): remove lowercase
12420 (obsoleted_by): ditto
12422 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12424 * buffer.C (insertErtContents): add params are to InsetERT
12425 (parseSingleLyXformat2Token): add code to check if a paragraphs
12426 layout really exist.
12427 (parseSingleLyXformat2Token): add params to several inset
12429 (asciiParagraph): remove lowercase, do the layout comparisons with
12432 * BufferView_pimpl.C (cursorNext): first -> first_y
12433 (resizeCurrentBuffer): first -> first_y
12434 (updateScrollbar): first -> first_y
12435 (scrollCB): first -> first_y
12436 (workAreaMotionNotify): first -> first_y
12437 (workAreaButtonPress): first -> first_y
12438 (checkInsetHit): first -> first_y
12439 (cursorPrevious): first -> first_y
12440 (cursorNext): first -> first_y
12441 (Dispatch): add buffer_->params to severl inset contructors
12443 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12445 * lyxlayout.C (Read): remove some debug info that I forgot.
12447 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12448 clean up the code slightly.
12449 (makeLinuxDocFile): ditto
12450 (makeDocBookFile): ditto
12452 * text2.C: layout as string
12454 * text.C: layout as string
12456 * paragraph_pimpl.C: layout as string
12458 * paragraph.[Ch]: layout as string
12460 * lyxtextclasslist.[Ch]: layout as string
12462 * lyxtextclass.[Ch]: layout as string
12464 * lyxtext.h: layout as string
12466 * lyxlayout.[Ch]: layout as string
12468 * lyx_cb.C: layout as string
12470 * bufferview_funcs.C: layout as string
12472 * bufferparams.C: layout as string
12474 * buffer.C: layout as string
12476 * LyXView.[Ch]: layout as string
12478 * LaTeXFeatures.[Ch]: layout as string
12480 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12482 * BufferView_pimpl.C: change current_layout to string, remove
12487 (workAreaButtonRelease): layout as string
12489 * BufferView2.C (unlockInset): adjust
12491 * vspace.C (asLatexCommand): use an explict temp variable.
12493 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12495 * Makefile.am: use FRONTEND_*
12497 2002-03-01 Juergen Vigna <jug@sad.it>
12499 * tabular.C (SetWidthOfMulticolCell): changed to something better
12500 I hope but still work in progress.
12501 (recalculateMulticolumnsOfColumn): renamed function from
12502 recalculateMulticolCells as it is more appropriate now.
12503 (SetWidthOfCell): calculate multicols better.
12505 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12507 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12509 * lyxfunc.C (processKeySym): print sequence also if it is
12510 `deleted' (complete)
12512 * kbsequence.C (print): print sequence even if it is deleted
12513 (complete would be a better word, actually).
12515 * lyxfunc.C (dispatch): print complete options after a prefix key
12517 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12519 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12521 * text2.C (setCharFont): eliminate setCharFont code duplication.
12523 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12526 LFUN_TABULAR_FEATURE (bug #177)
12528 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12530 * Makefile.am: remove figure.h
12532 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12534 * Bufferview_pimpl.C:
12546 * text2.C: remove #include "lyx_gui_misc.h".
12548 * LaTeX.C: added #include <cstdio>
12550 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12552 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12553 that the paragraph following this one can have.
12555 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12557 * vspace.C (asLatexCommand): fix bogus gcc warning
12559 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12561 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12563 * text2.C (setLayout): get rid of redundant code
12565 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12567 * text2.C (incDepth): make sure depth cannot be increased beyond
12570 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12572 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12573 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12575 * PainterBase.h (image):
12576 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12577 a LyXImage const *.
12579 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12583 * BufferView_pimpl.C:
12584 * BufferView_pimpl.h:
12604 * sp_spell.C: remove fig inset, and the crap house of
12605 cards that follows it
12607 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12612 * os2_errortable.h:
12613 * nt_defines.h: move .h into support/
12615 * vms_defines.h: remove
12617 * WorkArea.C: add space in debug output
12621 * buffer.C: add WITH_WARNINGS
12625 * bufferlist.C: s/retrive/retrieve/, add docs
12634 * chset.C: add docs
12636 * lyxgui.C: add ID to X error handler
12638 * lyxtestclass.c: fix typo
12640 2002-02-26 Juergen Vigna <jug@sad.it>
12642 * tabular_funcs.C (write_attribute): changed so that some default
12643 attributes are not written at all.
12644 (getTokenValue): set default values before trying to read the
12645 value so we have the return value always set as default if we don't
12646 find the token we search for.
12648 * tabular.C (Write): write bools as bools not as strings!
12650 2002-02-22 Juergen Vigna <jug@sad.it>
12652 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12653 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12655 * text.C (leftMargin): don't add an indent for paragraphs inside
12656 tabular cells (fix #208).
12658 2002-02-21 José Matos <jamatos@fep.up.pt>
12660 * tabular.C (docBook): fixed support for long tables.
12662 2002-02-20 Juergen Vigna <jug@sad.it>
12664 * text2.C (getFont): get the drawing font of the Inset if this
12665 paragraph is inside an inset (only important for InsetERT for now).
12667 * buffer.C (insertErtContents): use new lanugage params in ERT
12670 * CutAndPaste.C: commenting out seemingly uneeded code.
12672 2002-02-19 Allan Rae <rae@lyx.org>
12674 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12675 Iterators might be simple to use but they also get invalidated.
12676 (removeAutoInsets): renamed saved cursor tracking variables and added
12677 some comments to clarify what everything does.
12679 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12686 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12687 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12690 * vc-backend.h: remove #include "support/syscall.h"
12694 * converter.C: rearrange #includes in Lars' approved fashion.
12696 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12697 forward declare class Timeout in the header file.
12699 * XFormsView.C: changes due to the above.
12701 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12702 similar to LyXView.
12704 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12705 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12707 2002-02-18 José Matos <jamatos@fep.up.pt>
12709 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12712 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12714 * a lot of small ws changes
12715 * add a lot of using std::XXX
12716 * use std construcs some places where approp.
12717 * use some exisint stuff from lyxfunctional where approp.
12718 * Make file changes to use partial linking (lets test this now...)
12720 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12724 remove #include "support/syscontr.h" as it's redundant. Always has been.
12732 change Systemcalls::System to Systemcalls::Wait and
12733 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12734 No change of functionality, just reflects the stripped down Systemcalls
12737 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12739 * debug.[Ch]: add a GRAPHICS type to the enum.
12741 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12743 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12745 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12748 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12750 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12751 match the changes below.
12753 * text2.C (toggleInset): if there is not editable inset at cursor
12754 position, try to see if cursor is _inside_ a collapsable inset
12757 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12759 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12760 document menu has a nice checkbox
12762 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12764 * lyxlength.C (asLatexString): change PW to output as percent of
12767 * lengthcommon.C: change '%' to 't%'
12769 * lyxfunc.C (dispatch): a few comments from Martin
12771 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12775 * BufferView_pimpl.h:
12776 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12779 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12781 * vspace.C (inPixels): fix compiler warning
12783 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12785 * lyxfunc.C (getStatus): fix status message for disabled commands.
12787 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12789 * BufferView_pimpl.C: fix crash on close buffer
12790 during selection (#227)
12792 2002-01-27 Herbert Voss <voss@lyx.org>
12794 * buffer.C: link old Figure to new graphic inset
12796 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12798 * FontLoader.C (getFontinfo): Change the latex font names in order
12799 to match the names of type1inst.
12801 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12803 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12805 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12806 (extchanged): ditto
12808 (remove_files_with_extension): ditto
12809 (remove_file): ditto
12812 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12813 document is smaller than the work area height. Do not initialize
12814 static variables to 0.
12816 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12818 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12820 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12821 LFUN_LAYOUT_PARAGRAPHS.
12823 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12824 tabular. It is possible to provide a possible cell, which will
12825 typically be the actcell from the corresponding insettabular
12827 * lyxfunc.C (getStatus): small cleanup; disable
12828 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12831 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12833 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12835 * paragraph.C (startTeXParParams):
12836 (endTeXParParams): new methods. The LaTeX code to
12837 start/end paragraph formatting
12838 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12839 empty (fixes bug #200)
12841 * vspace.C (inPixels): adapt to the change below
12842 (inPixels): [later] more cleanups (remove unused variables)
12844 * lyxlength.C (inPixels): change to use a width and a height as
12847 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12850 Replaced with \paperwidth
12852 * DepTable.C (insert): add std:: qualifier
12854 2002-01-18 Allan Rae <rae@lyx.org>
12856 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12859 * text.C (drawInset): Turned out I didn't know enough about how
12860 rebreaking worked. This fixes most of the redraw problems. I see
12861 an occasional cursor trail when a line is broken now and the cursor
12862 placement can seem out by a few pixels also after a rebreak.
12864 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12866 * buffer.C (parseSingleLyXformat2Token): update because minipage
12867 width is now a LyXLength
12869 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12871 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12874 2002-01-17 Juergen Vigna <jug@sad.it>
12876 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12878 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12879 is set correctly and the inset is updated correctly.
12881 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12883 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12884 the beginning of the loop.
12886 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12888 * lyxrc.C: improve help for use_scalable_fonts
12890 2002-01-17 Allan Rae <rae@lyx.org>
12892 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12894 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12896 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12897 make sure to set their inset_owner to the right value (bug #171)
12899 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12902 * DepTable.C: Implement mtime checking to reduce time spent doing
12905 2002-01-16 Juergen Vigna <jug@sad.it>
12907 * tabular.C (GetAdditionalHeight): one of error fixed.
12909 * lyxrc.C (output): small fix in writing use_pspell.
12911 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12913 * sp_base.h: #include LString.h
12915 2002-01-16 Allan Rae <rae@lyx.org>
12917 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12918 Can someone check this please?
12920 * text.C (drawInset): It was possible that p.row would be removed by
12921 breakAgainOneRow upsetting a few other settings. There may be another
12922 small tweak possible by setting need_break_row = 0 when p.row has been
12923 removed but I don't know enough about the logic here.
12925 2002-01-15 Allan Rae <rae@lyx.org>
12927 * text.C (insertChar): removed conditional truism.
12929 * BufferView2.C (removeAutoInsets): More tweaks.
12930 cur_par_prev could be a stray pointer. Check for trailing empty line
12931 in case last line was cur_par and only had an error inset on it.
12933 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12935 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12938 * vc-backend.C (most methods):
12939 * exporter.C (Export):
12940 * converter.C (convert):
12942 * LyXSendto.C (SendtoApplyCB):
12943 * lyxfunc.C (dispatch):
12947 * lyx_cb.C (AutoSave):
12949 * BufferView_pimpl.C (MenuInsertLyXFile):
12950 * buffer.C (runChktex): use Buffer::filePath().
12952 * buffer.h: rename filename to filename_; rename filepath to
12953 filepath_ and make it private
12954 (filePath): new method
12956 * buffer.C (writeFile): use fileName()
12959 * lyx_main.C (init): fix starting of LyX when the binary is a
12960 link from so,ewhere else.
12962 * minibuffer.C: include <cctype> for isprint
12964 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12966 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12967 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12968 name clash with InsetCollapsable's width function.
12970 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12972 * lastfiles.C: include <iterator>
12974 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12976 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12979 * buffer.C (makeLaTeXFile): ditto.
12980 Also make loop operation more transparent.
12982 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12984 * ToolbarDefaults.C: remove trailing comma closing namespace.
12986 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12988 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12991 * trans.C (Load): comment out unused variable, allowed.
12993 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12995 * minibuffer.[Ch] (append_char): new method to recieve input from the
12996 drop-down completion browser. If a key was pressed, then recieve this
12997 char and append it to the existing string.
12998 (peek_event): modify the positioning data passed to the completion
12999 browser so that it can be placed above the minibuffer rather than below.
13000 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13002 * LyXAction.C (init): alloe error-next for readonly documents.
13004 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13007 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13009 * bufferlist.C (readFile): create the buffer _after_ checking that
13012 * lyxfunc.C (verboseDispatch): fix handling of arguments
13014 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13016 * lyxrc.C: use string::erase() instead of initializing to "".
13019 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13021 * BufferView_pimpl.h:
13022 * BufferView_pimpl.C:
13025 * text2.C: tell X when we have made a selection for copying
13027 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13029 * BufferView_pimpl.C (MenuInsertLyXFile):
13030 * lyxfunc.C (menuNew):
13032 (doImport): add shortcuts to directory buttons
13034 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13037 * lyxfunc.C (setStatusMessage):
13038 (getStatusMessage): new methods
13039 (getStatus):use setStatusMessage instead of setErrorMessage
13040 (dispatch): when function is disabled, set error message here
13041 [instead of in getStatus previously]
13043 * BufferView_pimpl.C (workAreaButtonRelease): update
13044 toolbar/menubar here too.
13046 2002-01-13 Allan Rae <rae@lyx.org>
13048 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13049 Now seems indestructible. Remaining task is to audit all other
13050 code affected by deleteEmptyParagraphMechanism. One small quirk
13051 left is that an empty document with an error in the preamble can
13052 be made to report an error but no error box appears. I don't know
13054 (removeAutoInsets): Improved comments.
13056 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13059 * Thesaurus.C: update for Aiksaurus 0.14
13061 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13063 * text2.C (firstParagraph): removed member function, all uses
13064 replaces with ownerParagraph
13065 (redoParagraphs): here
13066 (updateInset): here
13067 (toggleAppendix): here
13068 * BufferView2.C (insertErrors): here
13069 (setCursorFromRow): here
13071 2002-01-13 Allan Rae <rae@lyx.org>
13073 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13074 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13075 There is still a way to segfault this although you may have to do this
13076 multiple times: Have an InsetERT with an unknown command in it.
13077 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13078 <down-arrow>, <Enter> again, View->DVI, BANG!
13080 * text2.C (setCursor):
13081 (deleteEmptyParagraphMechanism):
13082 * lyxtext.h (setCursor):
13083 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13084 Making use of the return value may help fix other bugs.
13086 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13088 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13090 * LyXView.C (updateMenubar): call MenuBar::update here
13091 (updateToolbar): but not here
13092 (showState): do not update toolbar/menubar
13094 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13095 should need to care about that.
13097 * lyxfunc.C (verboseDispatch): simplify a bit
13098 (getStatus): have a version which takes a pseudoaction, and
13099 another which requires a (kb_action,string).
13101 * LyXAction.C (retrieveActionArg): make it work also when action
13102 is not a pseudo-action.
13103 (getActionName): simplify a bit
13106 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13108 * lyxfunc.C (verboseDispatch): new families of methods with
13109 several ways to specify a command and a bool to indicate whether
13110 the command name and shortcut should be displayed in minibuffer
13111 (eventually, we could extend that to a finer bitmask like
13112 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13113 (dispatch): the pristine dispatch command which just, well,
13114 dispatchs! Note it still sets its result to minibuffer; I'm not
13117 * lyxfunc.h: remove setHintMessage
13119 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13121 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13123 * BufferView_pimpl.C (specialChar): delete new inset if we have
13124 not been able to insert it.
13126 * kbmap.C: revert to using int instead of kb_action, since all we
13127 are dealing with is pseudo-actions.
13129 * LyXAction.C (searchActionArg): change to return int instead of
13130 kb_action, since the result is a pseudoaction.
13132 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13134 * buffer.C (insertErtContents): Fix (partially) the font bug.
13136 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13138 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13139 as the other one is broken on my machine!
13141 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13144 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13146 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13148 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13149 reflect their actual use. Provide compatibility code for older lyxrc
13152 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13154 change names of popup font variables in line with the changes to lyxrc.C
13156 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13158 * buffer.C (asciiParagraph): avoid outputing a word twice after
13161 * lyxrc.C (getDescription): document that document_path and
13162 template_path can be empty.
13164 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13166 * LaTeXFeatures.C (getMacros):
13167 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13169 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13171 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13173 (getPackages): rename feature "floats" to "float". Use an array to
13174 iterate over 'simple' features (i.e. just a \usepackage). Add
13175 handling of "amsmath" (renamed from "amsstyle").
13177 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13179 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13182 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13184 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13185 FuncStaus::FuncStatus & FuncStaus::some_method().
13187 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13189 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13190 of the func_satus stuff. Edited and massaged in various ways by
13193 * lyxfunc.C (getStatus): use FuncStatus
13195 2002-01-08 Juergen Vigna <jug@sad.it>
13197 * text.C (nextBreakPoint): use function Inset::isChar().
13199 * paragraph.C (TeXOnePar): use function
13200 Inset::forceDefaultParagraphs.
13202 * buffer.C (latexParagraphs): use function
13203 Inset::forceDefaultParagraphs.
13205 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13207 * lyx_gui.C (init): set the style of the menu popups to
13208 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13210 2002-01-07 Juergen Vigna <jug@sad.it>
13212 * text.C (setHeightOfRow): small fix
13213 (prepareToPrint): don't look at alignment if we don't have the place
13216 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13218 * box.C: New file. Move the Box methods and functions out of box.h,
13219 following Lars' suggestion.
13221 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13223 * box.h: #include "support/LOstream.h", needed for inlined function.
13226 * lyxtextclasslist.C: added some using std declarations.
13228 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13230 * box.h: make signed dimensions to allow insets wider than
13231 the screen (bug #162)
13233 * BufferView_pimpl.C: add some insetHit debug
13235 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13237 * vc-backend.C: add FIXME
13239 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13241 * lyxfunc.C (getStatus): enable code for showing math font status
13244 2002-01-07 Juergen Vigna <jug@sad.it>
13246 * text.C (nextBreakPoint): removed debug output not needed anymore.
13248 2002-01-06 Juergen Vigna <jug@sad.it>
13250 * text.C (nextBreakPoint): fixed up this function we had this bug
13251 since ever but now hopefully we break row better.
13252 (insertChar): we have to check if an inset is the next char as it
13253 could now happen that a large inset is causing a break.
13255 2002-01-05 Juergen Vigna <jug@sad.it>
13257 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13258 if it doesn't like to be drawed.
13260 2002-01-04 Juergen Vigna <jug@sad.it>
13262 * BufferView2.C (lockInset): forgot to set a cursor.
13264 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13266 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13268 * FormMathsPanel.C:
13271 * form_maths_panel.C:
13272 * form_maths_panel.h:
13273 * form_maths_panel.fd: implemented sub- and super- buttons in math
13276 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13277 (or ^ space) to be used as in TeX (req'd by André).
13279 * lyxfunc.C: Allow ^ and _ again to be used both as
13280 super/subscript (mathed) and as themselves (in text).
13282 2002-01-03 Allan Rae <rae@lyx.org>
13284 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13285 "LyX" or the filename of the current buffer if it has one. This is a
13286 modified form of John Levon's patch.
13288 * XFormsView.C (setWindowTitle): also set icon title.
13290 * LyXView.h (setWindowTitle): signature changed.
13291 * XFormsView.h (setWindowTitle): ditto.
13293 2002-01-02 Juergen Vigna <jug@sad.it>
13295 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13297 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * screen.C (topCursorVisible): introduce a temp var for
13300 text->cursor.row(), handle the case where this row is null. (kindo
13303 * text2.C (setCursor): add a couple of asserts.
13305 * paragraph.h (inset_iterator): add -> operator
13307 * paragraph.[Ch] (autoDeleteInsets): remove member function
13309 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13310 cursor pos correctly and handle inset deletion by itself.
13311 (insertErrors): move iterator declaration out of for expression
13313 * lyxtextclass.C: add <algorithm>
13315 * Makefile.am: added the new files to sources, removed layout.C
13317 * layout.C: removed file
13319 * layout.h: remove LYX_DUMMY_LAYOUT
13321 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13325 * lyxtextclass.[Ch]:
13326 * lyxtextclasslist.[Ch]: new files
13328 * include order changes to a lot of files, also changes because of
13331 2001-12-27 Juergen Vigna <jug@sad.it>
13333 * buffer.C (asciiParagraph): more fixes.
13335 * tabular.C (ascii): make ascii export support export of only the
13336 data separated by a column-delimiter.
13337 (ascii): better support for ascii export.
13339 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13341 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13343 * tabular_funcs.C: use a "using std::getline" instead of the
13344 previous fix from Angus (necessary for cxx + lyxstring)
13346 2001-12-24 Juergen Vigna <jug@sad.it>
13348 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13350 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13351 problems. First check a minipage also if we have some ert-contents
13352 (not only on par->size(), second set the right depth of the paragraph
13353 on the relink to the root-paragraph-list!
13355 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13356 which then did not anymore update the main paragraphs on undo/redo!
13358 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13360 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13361 code. Support all font-changing funcs (even those which are not in
13362 menu currently). Support for reporting font settings in
13363 mathed (disabled until Andre provides a function on mathed's side).
13365 * func_status.h (toggle): small helper function to set toggle
13368 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13370 * tabular_funcs.C: getline -> std::getline
13372 2001-12-21 Juergen Vigna <jug@sad.it>
13374 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13375 accessed and could be 0 (I couldn't generate this but it seems
13378 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13380 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13381 * tabular_funcs.h: here and include iosfwd
13383 2001-12-20 Juergen Vigna <jug@sad.it>
13385 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13386 inside inset but undo_par was.
13388 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13390 * Thesaurus.C: always include <config.h> in sources.
13394 * box.h: do not include <config.h> in header files
13396 * text.C (paintLastRow): remove unused variable
13398 * text.C (transformChar):
13400 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13402 * Painter.C (text):
13403 * font.C (width): rewrite to use uppercase() instead of
13406 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13408 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13410 * lyxfind.C: clean up of find failure position change
13412 2001-12-20 Juergen Vigna <jug@sad.it>
13414 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13416 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13417 (TeXRow): added to LaTeX a single tabular row.
13418 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13419 (Latex): simplified and finally good LT-h/f support.
13420 (various_functions): just small adaptions for LT-h/f support.
13422 * tabular_funcs.[hC]: added and moved here all not classfunctions
13425 2001-12-19 Juergen Vigna <jug@sad.it>
13427 * tabular.[Ch]: better support for longtabular options (not finished
13430 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13432 * text.C (paintLastRow): use the label font instead of the font of
13433 the last character to compute the size of *_BOX. This makes more
13434 sense and avoids a crash with empty paragraphs.
13435 Use Painter::rectangle to draw EMPTY_BOX.
13437 2001-12-19 Juergen Vigna <jug@sad.it>
13439 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13440 the paragraphs if the replaced paragraph is not the first one!
13441 Tried to delete not used paragraphs but does not work yet so for
13442 now it's inside #ifdef's and by default off!
13444 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13446 * MenuBackend.C: include "lyx_main.h" instead of declaring
13447 lastfiles (actually was declared as LastFiles* instead of a
13450 2001-12-17 Juergen Vigna <jug@sad.it>
13452 * tabular.C (AppendColumn): applied John's fix
13454 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13458 * BufferView_pimpl.h:
13459 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13462 * box.h: new start of class for above
13464 * lyxfunc.C: ignore space-only minibuffer dispatches.
13465 Show the command name when it doesn't exist
13467 * minibuffer.C: don't add empty lines to the history
13469 * minibuffer.C: add a space on dropdown completion
13471 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13473 * text.C: fix line above/below drawing in insets
13475 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13477 * lyxlength.C (LyXLength): Initialize private variables.
13479 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13481 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13482 when inserting error insets.
13484 2001-12-13 Juergen Vigna <jug@sad.it>
13486 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13487 actually sometimes the before-paragraph.
13488 (setUndo): don't clear the redostack if we're not actually undoing!
13490 2001-12-06 Juergen Vigna <jug@sad.it>
13492 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13493 and fixed redoing of main paragraph, so we can use it now ;)
13495 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13497 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13499 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13502 2001-12-13 André Pönitz <poenitz@gmx.net>
13505 * undo_func.C: minor cleanup
13507 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13509 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13510 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13511 font in urw-fonts package which is marked as -urw-fontspecific and
13512 does not work (incidentally, changing the encoding in the
13513 fonts.dir of this package to -adobe-fontspecific fixes the
13516 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13517 is a crash when undoing first paragraph (Juergen, please take a
13518 look). THis does not mean the undo fix is wrong, just that it
13521 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13522 the (Paragraph*) version when needed instead of duplicating the
13525 * text.C (workWidth): use Inset::parOwner to find out where the
13526 inset has been inserted. This is a huge performance gain for large
13527 documents with lots of insets. If Inset::parOwner is not set, fall
13528 back on the brute force method
13530 * paragraph_pimpl.C (insertInset):
13531 * paragraph.C (Paragraph):
13532 (cutIntoMinibuffer): set parOwner of insets when
13533 inserting/removing them
13535 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13537 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13543 * mathed/formulabase.C:
13544 * mathed/math_cursor.[Ch]:
13545 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13548 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * lyxlength.[Ch] (operator!=): new function
13552 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13554 * text.C (workWidth): use Inset::parOwner to find out where the
13555 inset has been inserted. This is a huge performance gain for large
13556 documents with lots of insets. If Inset::parOwner is not set, fall
13557 back on the brute force method
13559 * paragraph_pimpl.C (insertInset):
13560 * paragraph.C (Paragraph):
13561 (cutIntoMinibuffer): set parOwner of insets when
13562 inserting/removing them
13564 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13566 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13568 * tabular-old.C (getTokenValue):
13569 * tabular.C (getTokenValue):
13570 (write_attribute): new versions for LyXLength
13571 (everywhere): adjust the use of widths
13573 * tabular.h: change the type of widths from string to LyXLength
13575 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13577 * paragraph.C: fixed missing line number count when exporting
13578 Environments to LaTeX file
13580 * buffer.C: added informational message for checking line numbers.
13582 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13584 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13585 paragraph, do the 'double space' part, but not the 'empty
13588 * text.C (workWidth): small optimization
13589 (getLengthMarkerHeight): use minimal size for negative lengths.
13591 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13593 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13595 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13597 2001-12-11 André Pönitz <poenitz@gmx.net>
13600 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13602 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13604 * text2.C: keep selection on a setFont()
13606 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13608 * lyx_cb.C: another bv->text misuse, from insert label
13610 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13613 * kbsequence.C: re-instate nmodifier mask
13615 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13617 * lyx_main.h: make lyxGUI private.
13619 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13621 * lyxfind.C: place the cursor correctly on failed search
13623 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13625 * text.C (getLengthMarkerHeight): for small heights, the arrows
13626 are not always on top/bottom of the text
13627 (drawLengthMarker): smaller arrows; take the left margin in
13628 account; draw also vfills.
13630 (paintLastRow): remove special code for vfill and standard spaces,
13631 since everything is handled in drawLengthMarker now.
13633 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13635 * buffer.C (insertErtContents): try to handle font and language
13636 interaction a bit better.g
13638 * ColorHandler.C (updateColor): change the hash to cover the whole
13639 LColor enum, ws cleanup
13640 (getGCLinepars): ditto
13641 (getGCLinepars): only lookup in the linecache once.
13643 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13645 * iterators.C (operator++): Make the iterator more robust
13647 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13649 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13651 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13654 * text.C: better added space drawing
13656 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13659 * BufferView2.C: fix layout combo update on inset unlock
13661 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13663 * Makefile.am: don't compile unused files
13665 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13669 * LyXAction.C: remove old LFUN_LAYOUTNO
13671 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13673 * paragraph_pimpl.h:
13674 * paragraph_pimpl.C: isTextAt() doesn't need font param
13676 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13679 * lyxlex.C: little cleanup
13681 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13683 * BufferView_pimpl.C: fix insertAscii for insets
13685 2001-12-05 Juergen Vigna <jug@sad.it>
13687 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13688 set the right font on the "multi" paragraph paste!
13690 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13696 * lyxlength.C: remove out-commented code.
13698 * BufferView_pimpl:
13712 * vc-backend.C: change "while(" to "while ("
13714 * lyxlength.[Ch]: add zero function to check if length is zero or
13716 * lyxgluelength.C: use it
13718 2001-12-05 Allan Rae <rae@lyx.org>
13720 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13721 Works for 2.95.3, from what I understand of Garst's reports this should
13722 work for other g++ versions. We're screwed if the abs(int) definition
13723 changed between bugfix releases of gcc.
13725 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13727 * text.C: fix chapter label offset !
13729 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13732 * text.C: fix hfill at end of line, clean up
13734 2001-12-04 Juergen Vigna <jug@sad.it>
13736 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13737 that we force an update of the inset and it's owners if neccessary.
13739 2001-12-03 Juergen Vigna <jug@sad.it>
13741 * text.C (rowLast): simplified code
13743 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13745 * lyxfunc.C: fix show options on timeout
13747 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13749 * screen.C (topCursorVisible): scroll half a page when the cursor
13750 reached top of bottom of screen
13752 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13754 * minibuffer.C: deactivate on loss of focus
13756 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * vspace.[Ch] (operator!=): add operator.
13760 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13762 * BufferView_pimpl.C: refuse to open an inset when
13763 there's a selection.
13765 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13767 * BufferView_pimpl.C: allow to click on RHS of full row insets
13769 2001-11-30 Juergen Vigna <jug@sad.it>
13771 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13772 insets for undo reasons.
13774 2001-11-28 André Pönitz <poenitz@gmx.net>
13776 * vspace.[Ch]: cosmetical changes
13778 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13788 * kbsequence.C: part re-write of old kb code
13791 * WorkArea.C: remove Lgb_bug_find_hack
13793 2001-11-30 José Matos <jamatos@fep.up.pt>
13795 * buffer.C (makeDocBookFile): add a comment to point a hack.
13796 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13797 Fixed a double write of labels.
13799 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13802 * LaTeX.h Fixed bug in LaTeX class where it would not
13803 re-run latex if no depfiles were changed, but the .dvi was removed.
13805 2001-11-28 André Pönitz <poenitz@gmx.net>
13807 * all the files from the change on 2001/11/26:
13808 use lyx::layout_type instead of LyXTextClass::size_type
13809 use lyx::textclass_type instead of LyXTextClassList::size_type
13811 2001-11-29 Juergen Vigna <jug@sad.it>
13813 * text.C: added support for paragraph::isFreeSpacing()
13815 * buffer.C: same as above
13817 * paragraph.h: inserted isFreeSpacing() function to enable
13818 FreeSpacing inside InsetERT.
13820 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13821 of the paragraph's in the cut/copy buffer to 0!
13823 * text2.C (removeRow): remove the assert as it can!
13825 * lyxtext.h: added helper function firstRow returning firstrow and
13826 made firstrow private again.
13828 * BufferView2.C (lockInset): don't relock if we're already locked!
13830 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13831 the only paragraph.
13832 (removeRow): added Assert::(firstrow)
13834 * debug.C: forgot to add INSETTEXT here.
13836 2001-11-28 Juergen Vigna <jug@sad.it>
13838 * sp_spell.C (initialize): changed error text to more general
13839 spellchecker command use (not only ispell!)
13841 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13843 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13845 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13847 * vspace.C: initialise lyxgluelength on failure
13849 2001-11-28 Allan Rae <rae@lyx.org>
13851 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13852 declaration & definition that looks like a function declaration.
13854 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13856 * BufferView2.C (copy):
13857 (copyEnvironment): do not clear the selection when doing a copy.
13859 * text.C (paintFirstRow): compilation fix
13861 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13863 * tabular.C (Latex): correct line count when writing latex.
13865 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13867 * paragraph_pimpl.h:
13868 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13871 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13875 * LColor.C: change vfillline->added_space
13877 * text.C: add markers and text for added space
13879 * vspace.C: fix comment
13881 2001-11-28 André Pönitz <poenitz@gmx.net>
13883 * paragraph.C: whitespace changes
13884 * all the other files from the change on 2001/11/26:
13885 change *::pos_type into lyx::pos_type
13887 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13889 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13890 language of the document when inserting error insets.
13892 2001-11-26 André Pönitz <poenitz@gmx.net>
13894 * BufferView_pimpl.[Ch]:
13902 * paragraph_pimpl.[Ch]:
13905 * text2.C: reduce header dependencies, introduce type for positions
13907 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13909 * <various>: change to use Alert.h
13911 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13913 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13914 when encountering an unknown token.
13915 (readLyXformat2): Show an error message if there were unknown tokens.
13917 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13920 * BufferView_pimpl.C:
13924 * text2.C: use par->isInset()
13926 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13928 * paragraph_pimpl.h:
13929 * paragraph_pimpl.C: cleanup
13931 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13933 * text2.C (removeRow):
13934 * text.C (setHeightOfRow): remove useless (and costly) call to
13937 2001-11-20 Allan Rae <rae@lyx.org>
13939 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13940 Now need Inset*::checkInsertChar() to return true for appropriate
13941 cases so that the characters in the minibuffer will actually be
13944 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13946 * text.C: change the order of the includes.
13947 (workWidth): initialize it at once.
13948 (workWidth): make maxw unsigned
13949 (setHeightOfRow): remove unused variable (inset)
13950 (selectSelectedWord): remove unused variable (inset)
13951 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13953 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13955 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13956 server is not running.
13958 (closeConnection): add debug info when server is disabled.
13960 * ColorHandler.C (getGCForeground): send debug message to GUI
13963 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13965 * kbmap.C (bind): modify because return conventions of
13966 kb_sequence::parse have changed.
13968 * kbsequence.C (parse): only ignore spaces and not any stupid
13969 control character. This avoids tests like s[i] <= ' ', which are
13970 guaranteed to fail with 8bit characters and signed chars.
13971 Change return code to string::npos when there have been no error
13972 (0 was a bad idea when error is at first character)
13974 2001-11-14 José Matos <jamatos@fep.up.pt>
13977 * buffer.C (simpleDocBookOnePar): removed unused argument.
13979 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13981 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13982 insets which are part of a word. Paragraph::isLetter takes care of
13983 that now. Use Paragraph::isInset to identify insets.
13984 (selectSelectedWord): do not test for hyphenation break.
13986 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13987 that protected spaces are considered as spaces.
13989 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13992 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13995 * lyxserver.C: fix it. and small cleanup.
13997 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13999 * BufferView_pimpl.C: use inline helpers
14002 * LaTeXFeatures.C: fix typos
14005 * Spacing.C: move spacing_string into class
14007 * ToolbarDefaults.C: move stuff into namespace anon
14009 * layout.h: update enum
14011 * lyxfunc.C: use better debug
14013 * minibuffer.h: fix typo
14017 * WorkArea.C: add and use Debug::WORKAREA
14021 * text2.C: code re-organisation, inline helpers
14023 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14025 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14026 std::vector.empty().
14028 2001-11-09 Allan Rae <rae@lyx.org>
14030 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14031 '\n's after tables. Tabular and ERT inset work now makes this no
14034 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14037 * minibuffer.C: fix crash, improve drop-down completion
14039 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14042 * lyxserver.C: invalidate fd's when doing endPipe()
14044 2001-11-08 José Matos <jamatos@fep.up.pt>
14046 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14047 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14050 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14052 2001-11-07 José Matos <jamatos@fep.up.pt>
14055 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14058 * buffer.C (sgmlOpenTag):
14059 * buffer.C (sgmlCloseTag): removed debug info.
14061 * buffer.h (sgmlOpenTag):
14062 * buffer.h (sgmlCloseTag): made public.
14064 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14066 * buffer.C (saveParamsAsDefaults):
14067 * lyx_cb.C (MenuLayoutSave): remove
14069 * LyXAction.C (init):
14071 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14073 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14075 * buffer.C (setPaperStuff): removed from here...
14077 * bufferparams.C (setPaperStuff): ... and moved there.
14079 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14083 * XFormsView.C: add support for drop-down completion
14085 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14087 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14090 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14092 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14095 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14097 * lyx_main.C: change ref to known bugs
14099 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14101 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14102 to work around older babel problems.
14104 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14106 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14108 2001-10-24 Juergen Vigna <jug@sad.it>
14110 * tabular-old.C (ReadOld): below variable changes reflected.
14112 * tabular.[Ch]: added ltType struct for longtable header/footer
14113 defines and changed all instances where they are used. Added
14114 future support for double top/bottom rows.
14116 2001-10-24 José Matos <jamatos@fep.up.pt>
14118 * buffer.h (docbookHandleCaption):
14119 * buffer.C (docbookHandleCaption): removed unused function.
14120 (makeDocBookFile): moved docbook supported version to v4.1.
14122 2001-10-24 José Matos <jamatos@fep.up.pt>
14125 * tabular.C (docbookRow): new function to export docbook code of a row.
14126 (DocBook): now honors the longtable flags.
14128 2001-10-23 José Matos <jamatos@fep.up.pt>
14131 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14132 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14134 * buffer.C (makeLinuxDocFile):
14135 (makeDocBookFile): reworked the preamble, more clean, and with
14136 support for lyx defined entities. Changed the document declaration
14137 to be more XML friendly.
14139 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14140 if we need to output XML that should be done with a filter.
14142 2001-10-22 Juergen Vigna <jug@sad.it>
14144 * sp_pspell.h (class PSpell): add alive function needed in the
14145 controller to see if the spellchecker could be started.
14147 2001-10-22 Juergen Vigna <jug@sad.it>
14149 * buffer.C (insertStringAsLines): modify the font for inserting
14150 chars in certain conditions by calling checkInsertChar(font).
14152 2001-10-19 Juergen Vigna <jug@sad.it>
14154 * text.C (workWidth): use getRow instead of wrong algorithm.
14155 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14157 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14162 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14164 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * text.C (workWidth): do not search for the exact row when
14167 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14168 optimization for big documents.
14170 2001-10-18 Juergen Vigna <jug@sad.it>
14172 * text.C (workWidth): new function with added Inset * parameter.
14174 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14176 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14178 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14179 change return type of getColumnNearX.
14182 * text.C (changeRegionCase): use uppercase/lowercase instead of
14185 (rightMargin): simplify code by factoring out the uses of
14190 (appendParagraph): use Paragraph::size_type
14192 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14194 * vspace.C (asLatexString): add a missing break
14196 2001-10-15 Herbert Voss <voss@perce.de>
14198 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14200 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14202 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14205 2001-10-10 André Pönitz <poenitz@gmx.net>
14207 * lyxfunc.C: removed greek_kb_flag.
14209 2001-10-10 Herbert Voss <voss@perce.de>
14211 * lyx_main.C: delete global string help_lyxdir.
14213 2001-10-09 Herbert Voss <voss@perce.de>
14215 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14217 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14219 * lyx_main.C: added global string help_lyxdir.
14221 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14223 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14225 * lyxrc.C (set_font_norm_type): support iso8859-4
14227 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14229 * LaTeX.C (deplog): add another regex for MikTeX
14231 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14233 * lyxrc.C (set_font_norm_type): support iso8859-3
14235 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14237 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14239 * LaTeXFeatures.C: remove special case of french and index
14241 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14242 before \begin{document}). This solves several incompatibilities.
14244 2001-10-03 Garst Reese <reese@isn.net>
14246 * lyx_cb.C: change CheckTex error msg.
14248 2001-10-03 José Matos <jamatos@fep.up.pt>
14250 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14252 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14254 * .cvsignore: update
14256 * lyx_main.C (commandLineVersionInfo): use new style version info.
14258 * buffer.C (writeFile):
14260 (makeLinuxDocFile):
14261 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14263 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14265 * version.h: update to use stuff in version.C
14267 * version.C.in: new file. Contains version information determined
14268 at compile time. This is a merging of version.h and
14271 2001-10-03 Juergen Vigna <jug@sad.it>
14273 * BufferView_pimpl.C (update): don't change "dirty" status in
14276 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14278 * WorkArea.C (c-tor): re-position version string slightly.
14280 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14282 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14283 revert to previous code.
14285 WorkArea.[Ch]: (show, destroySplash): methods removed.
14287 WorkArea.C: rework code so that it's an amalgam of the codes before and
14288 after the splash screen was moved to WorkArea.
14290 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14293 * vspace.C (inPixels):
14296 * buffer.C (insertStringAsLines):
14297 (asciiParagraph): fix types to be large enough
14299 * lyxlex_pimpl.h: change member status from short to int
14301 * layout.h: fix type of endlabeltype
14304 * kbsequence.C (parse): change return type to string::size_type
14306 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14309 * Bullet.C (bulletSize):
14310 (bulletEntry): do not use short ints as parameters
14312 * BufferView2.C (insertLyXFile): change a char to an int.
14314 * WorkArea.C (WorkArea): remove unneeded floats in computation
14316 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14318 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14320 * paragraph.C (asString): Do not ignore newline/hfill chars when
14321 copying to the clipboard.
14323 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14325 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14326 after a multi-line inset.
14328 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14330 * paragraph.C (validate): Set NeedLyXFootnoteCode
14332 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14334 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14335 and decrease-error to decrease.
14337 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14339 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14340 it more readable (should be equivalent)
14342 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14344 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14346 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14348 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14349 of a cursor (row, etc.) after a character has been deleted
14350 (deleteEmptyParagraphMechanism): call the method above on _all_
14351 cursors held by the LyXText when a double space has been
14354 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14356 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14358 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14360 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14361 background. Use greyOut() and the new show() methods to toggle between
14362 the foreground and background. Add code to remove the splash after
14363 its initial showing.
14365 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14366 (create_forms): no longer call Dialogs::showSplash.
14368 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * .cvsignore: add version_info.h
14372 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14374 * version_info.h.in: new file
14376 * Makefile.am: add version_info.h.in
14378 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14379 version_info.h instead of VERSION_INFO
14381 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14383 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14384 The ERT inset now returns string().
14386 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14388 * lyxtext.h, text.C (selectNextWord): renamed as
14389 selectNextWordToSpellcheck.
14391 * text.C (selectNextWordToSpellcheck): Modified to not select
14392 words inside an ERT inset.
14394 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14396 * lyx_cb.C (MenuLayoutSave): change a bit the question
14398 * sp_base.h: include <sys/types.h>
14400 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14402 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14404 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14406 * several files: fix typos in user-visible strings
14408 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14410 * text2.C (pasteSelection): do not set the selection, since it
14411 will be cleared later. Actually, the intent was to fix the way the
14412 selection was set, but I figured rmoving the code was just as good.
14414 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14416 * FontLoader.C (available): Check if font is available without
14419 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14421 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14423 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14425 * lyxrc.[Ch]: added display_graphics variable and associated code.
14427 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14429 * bufferparams.C (hasClassDefaults): new method. Returns true if
14430 the buffer parameters correspond to known class defaults
14432 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14434 * XFormsView.C (show): set minimum size to the main window.
14436 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14438 * text2.C (copySelection):
14440 * lyxfind.C (LyXReplace):
14441 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14442 LyXText::selectionAsString.
14444 * paragraph.C (asString): add "label" argument to the second form
14446 * text2.C (selectionAsString): add "label" argument and pass it to
14447 Paragraph::asString.
14449 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14451 * lyx_main.C (commandLineHelp): remove version information
14453 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14455 * lyx_main.C: add -version commandline option
14457 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14459 * paragraph.h: make the optional constructor arg required instead.
14460 some modifications to other files because of this.
14462 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14464 * lyxserver.C (C_LyXComm_callback): make it static
14466 * lyx_main.C (error_handler): make it static
14468 * lyx_gui.C (LyX_XErrHandler): make it static
14470 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14472 * WorkArea.C: make the extern "C" methods static.
14474 * Makefile.am (lyx_LDADD): simplify
14476 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14478 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14479 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14481 * LyXAction.C (init):
14482 * lyxfunc.C (dispatch): associated code removal.
14484 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14486 * lyxfont.h (isSymbolFont): shut off warning
14488 * text.C (setHeightOfRow):
14489 (getVisibleRow): fix crash with empty paragraphs which have a
14492 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14494 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14497 2001-09-04 José Matos <jamatos@fep.up.pt>
14500 * tabular.C (docbook): rename docBook method to docbook.
14502 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14504 * Makefile.am: add dependencies to main.o.
14506 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14508 * FontLoader.C (available): Return false if !lyxrc.use_gui
14510 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14512 * FontInfo.C (query):
14513 * converter.C (view):
14514 * importer.C (Import):
14515 * exporter.C (Export): Can not -> cannot.
14517 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14519 * BufferView_pimpl.C: allow to create index inset even if
14522 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14524 * buffer.C (getLists): replace boost::tie code with an explicit pair
14525 as boost::tie can break some compilers.
14527 * iterators.h: Added a std:: declaration to the return type of
14530 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14532 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14535 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14537 * iterators.[Ch]: New files. Provide paragraph iterators.
14539 * buffer.C (changeLanguage): Use paragraph iterators.
14540 (isMultiLingual): ditto
14542 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14544 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14546 * FontLoader.C: Support for cmr font.
14548 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14550 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14551 (available): New method.
14553 * FontInfo.C (getFontname): Use scalable fonts even when
14554 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14557 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14559 * converter.C (Formats::view): reverted! Incorrect fix.
14561 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14563 * converter.C (Formats::view): only output the -paper option
14564 if the dvi viewer is xdvi, thereby fixing bug #233429.
14566 2001-08-23 Herbert Voss <voss@perce>
14568 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14570 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14572 * Spacing.h (Spacing): Set space to Default on in the default
14575 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14577 * vc-backend.h (RCS::versionString): add RCS to version
14578 (CVS::versionString): add CVS to version
14580 * vc-backend.C (scanMaster): do not add CVS to version.
14581 (scanMaster): do not add RCS to version
14583 * lyxvc.C (versionString): new method
14585 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14587 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14589 * Spacing.C (set): initialize fval
14591 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14593 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14596 2001-08-16 Juergen Vigna <jug@sad.it>
14598 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14600 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14602 * BufferView_pimpl.C:
14605 * text2.C: setParagraph takes linespacing now
14607 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14609 * LyxAction.C: add internal LFUN_CITATION_INSERT
14611 * LyXView.C: actually apply fix
14613 * bufferlist.C: fix open non-existent file
14615 * lyxfind.C: fix indentation
14617 * lyxfunc.C: remove unneeded assert, fix typo
14619 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14621 * MenuBackend.C: use "Floatname List"
14623 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14625 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14626 when converting LaTeX layout to insetERT.
14627 Generate a non-collapsed float when reading old float
14629 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14631 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14634 2001-08-13 Juergen Vigna <jug@sad.it>
14636 * text.C (fill): return 0 instead of 20 as this seems to be the more
14639 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14641 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14644 2001-08-13 Juergen Vigna <jug@sad.it>
14646 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14648 (SearchBackward): comment out the unlocking of the inset_owner this
14649 should not be needed!
14651 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14653 * Many files: Remove inherit_language, and add latex_language
14655 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14656 collapsible insets.
14658 2001-08-10 Juergen Vigna <jug@sad.it>
14660 * text.C (prepareToPrint): fixed hfill-width in draw!
14662 * BufferView2.C (selectLastWord): save the selection cursor as this
14663 now is cleared in the function LyXText::clearSelection!
14665 2001-08-08 Juergen Vigna <jug@sad.it>
14667 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14668 BACKSPACE type functions.
14670 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14671 is only cutted from the document but not put in the cut-buffer, where
14672 still the old stuff should be.
14674 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14676 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14678 * tabular.C (SetWidthOfCell): fixed special case where the width
14680 (LeftLine): handle '|' in align_special.
14682 (LeftAlreadyDrawed): ditto
14683 (SetWidthOfCell): ditto
14685 2001-08-07 Juergen Vigna <jug@sad.it>
14687 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14689 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14691 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14692 * lyxlex.[hC]: ditto
14694 2001-08-06 Juergen Vigna <jug@sad.it>
14696 * text.C (getVisibleRow): fix up row clearing a bit.
14698 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14700 * minibuffer.C: make sure the X server sees the changes in the input.
14702 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14704 * paragraph.C (getFont): split into...
14705 (getLabelFont): this
14706 (getLayoutFont): and this
14707 * paragraph_pimpl.C (realizeFont): calling this
14709 * text2.C (getFont): split into...
14710 (getLayoutFont): this
14711 (getLabelFont): and this
14712 (realizeFont): all three calling this
14714 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14717 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14719 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14721 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14723 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14724 layouts from the Quote inset insertion.
14726 2001-08-03 Juergen Vigna <jug@sad.it>
14728 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14730 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14731 only if status not is already CHANGED_IN_DRAW (second level).
14733 * text.C (draw): don't set the need_break_row when inside an
14736 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * buffer.C (parseSingleLyXformat2Token): handle more latex
14741 * bufferview_funcs.[hC]: change function names to
14742 begin with small char, adjust other files.
14744 2001-08-02 André Pönitz <poenitz@gmx.net>
14747 BufferView_pimpl.C: remove broken special code for math-greek
14749 2001-08-02 Juergen Vigna <jug@sad.it>
14751 * BufferView_pimpl.C (update): redone this function so that we
14752 update the text again if there was a CHANGE_IN_DRAW.
14754 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14755 (drawFromTo): added a new internal bool which is used by draw() and
14757 (general): some cursor drawing problems fixed.
14759 2001-08-01 Juergen Vigna <jug@sad.it>
14761 * lyxfind.C (LyXFind): fixed
14762 (SearchForward): ditto
14763 (SearchBackward): ditto
14765 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14766 spurius drawing of the cursor in the main area.
14768 * text2.C (status): small fix which could lead to a segfault!
14769 (clearSelection): remove unneeded BufferView param.
14771 2001-08-01 André Pönitz <poenitz@gmx.net>
14773 * lyxfunc.C: small change due to changed mathed interface
14775 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14777 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14779 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14781 * lyxfunc.c: fail gracefully if file doesn't exist
14786 * BufferView_pimpl.C: IsDirWriteable() proto changed
14788 * LyXView.C: fix updateWindowTitle() to store the last title
14790 2001-07-31 Juergen Vigna <jug@sad.it>
14792 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14793 the font (wrong since using of Paragraph::highestFontInRange).
14795 * paragraph.C (highestFontInRange): added a default_size parameter.
14797 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14798 (setHeightOfRow): reformat
14800 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14802 * converter.[hC] + affected files: move to (inital-char)lowercase
14805 * ParagraphParameters.C (ParagraphParameters): remove commented code
14807 * PainterBase.[Ch]: remove commented code
14809 * LaTeXFeatures.h: add "bool floats" for float.sty
14811 * LaTeXFeatures.C (LaTeXFeatures): init floats
14812 (require): handle float
14813 (getPackages): do it with floats
14815 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14817 * BufferView_pimpl.C (Dispatch): improve handling of
14818 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14820 * commandtags.h: #include lyxfont.h here temporarily to avoid
14823 * bufferlist.h: include LString.h here.
14825 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14827 * text2.C (getStringToIndex): new method.
14829 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14831 * *: Reduced header file dependencies all over.
14833 2001-07-30 Baruch Even <baruch@lyx.org>
14835 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14837 2001-07-29 Baruch Even <baruch@lyx.org>
14839 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14841 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14843 * ParameterStruct.h (endif): add a default constructor to make
14844 sure that all variables is initialized.
14846 * ParagraphParameters.C (ParagraphParameters): adjust
14848 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14850 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14851 index; also, check that there is something to index, and that it
14852 does not span over several paragraphs.
14853 (doubleClick): use WHOLE_WORD_STRICT for double click.
14855 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14857 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14860 2001-07-26 Baruch Even <baruch@lyx.org>
14862 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14863 an InsetFig figure, backwards compatible reading of old figure code.
14865 2001-07-27 Juergen Vigna <jug@sad.it>
14867 * text2.C: font.realize function adaption.
14869 * text.C (draw): add a warnings lyxerr text if needed.
14871 * layout.C: font.realize function adaption.
14873 * language.C: add inherit_language and implement it's handlings
14875 * bufferview_funcs.C (StyleReset): remove language parameter from
14876 font creation (should be language_inherit now).
14878 * bufferparams.C (writeFile): handle ignore_language.
14880 * paragraph.C (getFontSettings): the language has to be resolved
14881 otherwise we have problems in LyXFont!
14883 * lyxfont.C (lyxWriteChanges): added document_language parameter
14884 (update): removed unneeded language parameter
14886 * paragraph.C (validate): fixed wrong output of color-package when
14887 using interface colors for certain fonts in certain environments,
14888 which should not seen as that on the final output.
14890 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14892 * BufferView_pimpl.C:
14897 * LyXAction.C: add thesaurus support
14900 * lyxfind.C: add "once" parameter, for thesaurus, to not
14901 move to the next match
14903 2001-07-26 Juergen Vigna <jug@sad.it>
14905 * lyxfont.C (realize): honor ignore_language too!
14908 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14910 * text.C (draw): one place more for ignore_language to not draw
14913 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14915 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14917 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14919 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14920 the minipage conversion problem.
14922 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14924 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14927 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14929 * BufferView.h: don't forward declare WorkArea
14931 * BufferView.C: don't include WorkArea.h
14933 2001-07-25 André Pönitz <poenitz@gmx.net>
14937 * lyxfunc.C: new LFUN 'math-space'
14939 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14941 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14943 * text2.C (toggleInset): call open/close
14945 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14947 * lyxfunc.C (dispatch): add debug for the disabled case
14949 * font.C (buttonText): make similar to rectText
14951 * buffer.C (readInset): comment out parsing of insetlist and
14954 * PainterBase.C (rectText): small correction
14956 * BufferView_pimpl.C: comment out insettheorem and insetlist
14957 * LyXAction.C: ditto
14958 * commandtags.h: ditto
14960 2001-07-24 Juergen Vigna <jug@sad.it>
14962 * text.C (draw): honor the ignore_language.
14964 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14966 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14968 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14971 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14973 * lyxtext.h: remove unused (and unimplemented) methods
14975 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14977 * text.C (getVisibleRow): honor background color
14980 * Painter.h: remove default color argument for fillRectangle
14982 * text.C (backgroundColor): new method
14984 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14986 * text.C (getVisibleRow): adjust
14988 * font.[Ch] (rectText): new method, metrics
14989 (buttonText): new method, metrics
14991 * PainterBase.[hC]: make rectText and buttonText always draw and take
14994 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14996 * ToolbarDefaults.C (read):
14997 * MenuBackend.C (read): allow escaping in all strings
14999 * BufferView_pimpl.C (insertAndEditInset): new method.
15000 (Dispatch): use insertAndEditInset whenever appropriate.
15002 * BufferView_pimpl.C (insertNote): removed
15004 * BufferView_pimpl.C (smartQuote): new method, moved from
15005 BufferView; if an insetquote cannot be inserted, insert a '"'
15008 * BufferView2.C: remove insertCorrectQuote();
15010 * lyxfunc.C (getStatus): Add support for all remaingin
15011 inset-insert lfuns.
15013 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15015 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15016 command (necessary to pass " as parameter of self-insert.
15018 * text.C (selectWordWhenUnderCursor):
15019 (selectWord): add word_location parameter
15020 (selectWordWhenUnderCursor): same + remove special code for word
15022 (selectNextWord): use kind() to guess type of insetspecialchar,
15025 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15026 (insertErtContents): create ert insets as collapsed.
15027 (readInset): better compatibility code for Info inset.
15029 2001-07-20 Juergen Vigna <jug@sad.it>
15031 * lyxfunc.C (dispatch): use always LyXFind now!
15033 * text2.C (init): add a reinit flag so that the LyXText can be
15034 reinited instead of deleted and reallocated (used in InsetText).
15036 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15042 2001-07-18 Juergen Vigna <jug@sad.it>
15044 * text.C (selectNextWord): handle insets inside inset by calling
15045 always the bv->text functions so that we can go up the_locking_inset!
15047 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15048 in strange locations when inside an inset!
15050 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15051 handling to include insets.
15053 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15055 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15057 * LyXAction.C (init):
15059 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15060 LIGATURE_BREAK, since the name is so stupid.
15062 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15064 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15067 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15069 * sp_form.[Ch]: remove.
15071 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15073 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15076 * src/buffer.C (readInset): ditto.
15078 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15080 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15081 menuSeparator(), endOfSentenceDot(), ldots() and
15082 hyphenationPoint(), which are therefore removed.
15083 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15085 * LyXAction.C (init):
15086 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15088 * paragraph.C (getWord): removed.
15090 * BufferView_pimpl.C (Dispatch): use last word or selection for
15091 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15093 * lyx_main.C (queryUserLyXDir): do not ask before creating
15094 user_dir, except if it has been named explicitely.
15096 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15098 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15099 a document of zero size.
15101 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15103 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15104 approriately in the c-tor and in require().
15105 (getPackages): output the appropriate LaTeX for natbib support.
15107 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15108 variables "use_natbib" and "use_numerical_citations" when reading the
15110 (readInset): read the various natbib cite commands.
15111 (validate): white-space change.
15113 * bufferparams.[Ch]: new variables "bool use_natbib" and
15114 "bool use_numerical_citations".
15115 (writeFile): output them in the LyX file.
15117 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15119 * lyxfunc.C (getStatus): add support for all the inset insertion
15122 * text2.C (insertInset):
15123 * paragraph.C (insetAllowed):
15124 * BufferView_pimpl.C (insertInset): update to take in account the
15125 renaming of insertInsetAllowed
15127 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15129 * text2.C (getInset): new method. returns inset at cursor position.
15131 * BufferView_pimpl.C (Dispatch): changes because of this.
15133 * LyXAction.C (init): rename open-stuff to inset-toggle.
15135 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15137 * text2.C (toggleInset): renamed from openStuff; use
15140 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15142 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15144 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15146 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15148 * buffer.C (readLyXformat2): Add filename to the error dialog
15150 2001-07-18 Juergen Vigna <jug@sad.it>
15152 * tabular.C (GetCellNumber): put an assert here instead of the check!
15154 2001-07-17 Juergen Vigna <jug@sad.it>
15156 * BufferView_pimpl.C (toggleSelection): adapted too.
15158 * text.C (selectNextWord): adapted for use with insets.
15159 (selectSelectedWord): ditto
15161 2001-07-17 Juergen Vigna <jug@sad.it>
15163 * sp_spell.C (PSpell): fix initialitation order.
15165 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15167 * paragraph.C: spacing
15169 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15171 * sp_spell.C: repair language selection for pspell
15173 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15175 * lyxfunc.h: change more methods to begin with lower char.
15177 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15179 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15180 for unknown layouts.
15182 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15184 * buffer.C (readLyXformat2): Generate an error dialog if there are
15187 2001-07-16 Juergen Vigna <jug@sad.it>
15189 * sp_spell.C: always compile ISpell part.
15191 * lyxrc.C: added use_pspell entry and it's handling.
15193 2001-07-13 Juergen Vigna <jug@sad.it>
15195 * sp_spell.C: removed double includes.
15197 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15199 Consistent use of Lsstream.h:
15200 * Lsstream.h: added using std::stringstream for consistencies sake.
15202 * buffer.C: removed using std::stringstream
15204 * lyxfont.C (stateText):
15205 * paragraph.C (asString):
15206 * text.C (selectNextWord, selectSelectedWord):
15207 * text2.C (setCounter):
15208 * vspace.C (asString, asLatexString):
15209 std::ostringstream -> ostringstream.
15211 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15213 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15214 * commandtags.h: add LFUN_HELP_ABOUTLYX
15215 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15217 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15219 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15221 * lyx_gui_misc.C: remove spellchecker
15222 * lyxfunc.C: showSpellchecker
15224 * sp_ispell.h: added
15225 * sp_pspell.h: added
15226 * sp_spell.C: added
15227 * sp_form.[Ch]: removed
15228 * spellchecker.[Ch]: removed
15230 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15232 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15234 (simpleTeXSpecialChars): Simply print the input character without
15235 any special translation if pass_thru is set.
15237 * layout.h: Added bool pass_thru to layout class for being able to
15238 implement pass through of a paragraph for Literate Programming.
15240 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15241 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15242 * layout.C (Read): add "passthru" to list of layout tags and add
15243 code to set the pass_thru boolean when it is read.
15245 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * trans_decl.h: remove allowed from KmodInfo
15249 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15250 remove allowed code
15253 * paragraph_pimpl.C (erase): use boost::prior
15255 * Painter.C (text): use data() instead of c_str() when length is
15257 * WorkArea.C (putClipboard): ditto
15258 * font.h (width): ditto
15260 * BufferView2.C: use it-> instead of (*it). for iterators
15262 * paragraph_pimpl.C: ditto
15263 * paragraph.C: ditto
15264 * minibuffer.C: ditto
15265 * language.C: ditto
15267 * encoding.C: ditto
15268 * counters.C: ditto
15269 * converter.C: ditto
15271 * Variables.C: ditto
15272 * TextCache.C: ditto
15273 * MenuBackend.C: ditto
15274 * LyXAction.C: ditto
15276 * FloatList.C: ditto
15277 * DepTable.C: ditto
15278 * ColorHandler.C (LyXColorHandler): ditto
15280 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15284 * text2.C (openStuff): reintroduce this method (which had been
15285 nuked in NEW_INSETS frenzy).
15287 * lyxfunc.C (Dispatch): when an action has not been handled, use
15288 its name in the error message, not its number.
15290 * paragraph.C (inInset): change method name to begin with lowercase.
15293 * text2.C: updates because of this.
15295 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * ToolbarDefaults.C (add): add spaces in error message
15299 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15301 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15302 (readLyXformat2): rename return_par to first_par, use lyxlex's
15303 pushToken and remove the manual push handling.
15304 (parseSingleLyXformat2Token): add another ert comp. variable:
15305 in_tabular, rename return_par to first_par. handle newlines better
15307 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15309 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15311 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * text2.C (getParFromID): removed
15315 * buffer.C (getParFromID): new method moved form lyxtext.
15316 * BufferView2.C (insertErrors): adjust
15317 (setCursorFromRow): adjust
15318 * BufferView_pimpl.C (restorePosition): adjust
15319 * lyxfunc.C (Dispatch): adjust
15320 * undo_funcs.C (textUndo): adjust
15322 (textHandleUndo): adjust
15323 (textHandleUndo): adjust
15325 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15327 * buffer.C: up' the LYX_FORMAT
15329 * lyxfont.h: turn NO_LATEX on as default
15331 * buffer.C (insertErtContents): new methods of tex style compability.
15332 (parseSingleLyXformat2Token): use it several places.
15333 * tabular.C (OldFormatRead): and here
15335 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15337 * text2.C: remove some commented code.
15340 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15341 * trans.C: changes because of the above.
15343 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15345 * text2.C (setCounter): Fix counters bug with bibliography layout.
15347 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15349 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15350 own member functions
15351 (simpleTeXSpecialChars): ditto
15353 2001-07-06 Juergen Vigna <jug@sad.it>
15355 * a lot of files: changed the access to LyXText::status and the
15356 call of undo-functions.
15358 * undo.[Ch]: added a inset_id to the undo informations.
15360 * undo_funcs.[Ch]: added and moved here all undo functions.
15362 * lyxtext.h: give the status enum a weight, made status_ a private
15363 variable and made accessor functions for it, removed the whole bunch
15364 of undo-functions as they are now in their own file, make some
15365 functions publically available. Added function ownerParagraph with
15368 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15369 made InInset() a const function, added getParFromID() function.
15371 * buffer.[Ch]: added const version for inset_iterator functions,
15372 added getInsetFromID() function.
15374 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15375 changed undo functions for new version.
15377 2001-07-05 Juergen Vigna <jug@sad.it>
15379 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15380 unknow mechanism does not call the proper constructor but only this
15381 one also if I request the other!?
15383 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15385 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15387 * text2.C (LyXText): use initialization lists.
15389 * lyxtext.h (Selection): initialize set_ and mark_
15390 (init): remove method
15392 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15394 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15396 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15398 * screen.[Ch]: change method names to begin with lowercase
15400 * BufferView_pimpl.C (updateScrollbar): simplify further and
15401 hopefully make it a bit faster.
15403 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15406 calling directly xforms functions.
15408 * Painter.C (Painter):
15409 * lyx_cb.C (MenuWrite):
15410 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15413 * lyx_gui.C: remove bogus guiruntime extern declaration.
15415 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15417 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15419 (redoDrawingOfParagraph): ditto
15420 (redoParagraphs): ditto
15421 (cutSelection): don't create a object for CutAndPaste use the
15422 static method directly
15423 (pasteSelection): ditto
15425 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15428 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15430 * modifications to some other files because of this.
15432 * Makefile.am (lyx_SOURCES): add XFormsView
15434 * XFormsView.[Ch]: new files
15436 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15437 the main window. Move the gui dependent stuff to XFormsView
15439 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15441 * tabular.C (GetCellInset): update cur_cell also in the row/col
15442 version of this function.
15444 * lyxfunc.C: no need to include figure_form.h here.
15450 * lyxvc.C: no need to include forms.h here.
15452 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15454 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15456 * lyxfunc.C (Dispatch):
15458 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15459 constructor argument.
15461 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15463 * paragraph.C (Paragraph): dont't clear, and just set layout.
15464 (makeSameLayout): use params's copy contructor.
15466 * ParagraphParameters.[Ch] (makeSame): delete method
15468 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15470 * Variables.[Ch]: fix indentation, rename set to isSet
15472 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15474 * lyxfunc.C (Dispatch): fix typo
15476 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15478 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15481 * bufferlist.C: include assert.h for emergencyWrite().
15483 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15485 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15486 give up at last (bug #425202) !
15488 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15494 * spellchecker.C: strip spellchecker options and bring up
15495 preferences tab instead
15497 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15499 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15500 the istringstream constructor
15502 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15504 * paragraph.C (getLayout): fix return value
15506 * paragraph.h: do not declare getLayout as inline.
15508 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15510 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * lyxcursor.h (operator<): new func
15513 (operator>): new func
15514 (operator>=): new func
15515 (operator<=): new func
15517 * text.C (changeCase): use selection.start and selection.end
15518 (changeRegionCase): require from to be <= to. Require par to be a
15521 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15523 2001-06-27 Juergen Vigna <jug@sad.it>
15525 * text.C (cursorLeftOneWord): changed to return the cursor and added
15526 overlay with BufferView * parameter which calls this one.
15528 (selectWord): use new getWord function.
15529 (changeCase): renamed from changeWordCase as and extended to work
15530 also on selections.
15532 * lyxtext.h: added enum word_location
15534 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15535 changeCase as this operates now also on selections.
15537 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15539 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15541 * many files: send debug output to Debug::INFO instead of
15544 * converter.C (View):
15546 (Move): send debug output to Debug::FILES instead of console.
15548 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15550 * lyxfunc.C (getStatus): use func_status
15552 * func_status.h: new header, describing the results of
15553 LyXFunc::getStatus;
15555 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15558 2001-06-25 The LyX Project <jug@sad.it>
15560 * buffer.C (sgmlOpenTag):
15562 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15564 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15566 * text2.C: remove some dead code
15568 * tabular.C (GetCellInset): store the last cell checked (gotten)
15570 * tabular.h: add the helper for the speedup
15572 * lyxtext.h: remove some dead code
15574 2001-06-26 The LyX Project <Asger>
15576 * paragraph.C: Change export to LaTeX of alignment to
15577 \begin{center} and family for better roundtrip work with reLyX.
15579 * Tune the math drawing a bit.
15581 2001-06-25 The LyX Project <Asger>
15583 * LColor.C (LColor): New color for math background. New color
15586 2001-06-25 The LyX Project <jug@sad.it>
15588 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15590 * lyxfunc.C (Open):
15591 * bufferlist.C (newFile): do not restrict to files ending with
15594 * BufferView_pimpl.C (MenuInsertLyXFile):
15596 2001-06-24 The LyX Project <jug@sad.it>
15598 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15601 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15603 * lyxtext.h: rename most methods to begin with a small char.
15604 Lots of changes because of this.
15606 * paragraph.C (Paragraph): do not call fitToSize
15607 (erase): call Pimpl::erase
15608 (insertChar): call Pimpl::insertChar
15609 (insertInset): call Pipl::insertInset
15610 (breakParagraph): do not call fitToSize
15611 (breakParagraphConservative): do not call fitToSize
15612 (fitToSize): remove method
15614 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15616 2001-06-24 The LyX Project <Asger>
15618 * Fix Qt compilation^2
15620 2001-06-24 The LyX Project <jug@sad.it>
15622 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15623 depthHook(getDepth()-1).
15626 * ParagraphParameters.h:
15627 * ParameterStruct.h: change type of depth to unsigned int ==
15628 depth_type. Many adaptations to other files before of that.
15630 2001-06-24 The LyX Project <Asger>
15632 * Fix Qt compilation.
15634 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15636 * paragraph.h: renamed several methods to begin with small letter.
15637 several changes to many parts of the code because of this.
15639 2001-06-23 The LyX Project <jug@sad.it>
15641 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15642 rewritten to discard all double spaces when KeepEmpty is off
15643 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15644 to only handle newlines but not fiddle with spaces and friends.
15646 * lyxfunc.C (MenuNew): when doing 'new from template', use
15647 template_path as default directory
15649 2001-06-23 The LyX Project <Asger>
15651 * Clean-up of header file includes all over
15652 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15654 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15656 * paragraph.h: renamed from lyxparagraph.h
15658 2001-06-23 Asger <lyx@violet.home.sad.it>
15660 * Buffer.h: Removed Buffer::resize
15661 * BufferList.h: Removed BufferList::resize
15662 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15663 the document lazily when we change the width, or the font settings.
15665 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15667 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15669 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15671 * buffer.h: remove out of date comment
15673 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15676 * screen.C: fix "theoretical" GC leak
15678 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15680 * LaTeX.C (scanAuxFile):
15681 (deplog): remove trailing \r when reading stream (useful under
15684 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15686 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15687 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15688 and BufferView::theLockingInset(Inset*), so should use them and not
15689 access bv_->text->the_locking_inset directly.
15691 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15693 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15696 * tex-defs.h: remove old unused file
15698 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15700 * BufferView_pimpl.C: fix typo, remove minibuffer message
15701 when buffer has loaded
15703 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15705 * lyxfunc.C (Dispatch): use stringstream
15706 (MenuNew): use stringstream
15707 (Open): use stringstream
15709 * importer.C (Import): use stringstream
15711 * bufferview_funcs.C (CurrentState): use stringstream
15713 * LaTeX.C (run): use stringstream
15715 * BufferView_pimpl.C (savePosition): use stringstream
15716 (restorePosition): use stringstream
15717 (MenuInsertLyXFile): use stringstream
15719 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15732 * vspace.C: removed // -*- C++ -*- as first line.
15735 * version.h: added // -*- C++ -*- as first line.
15737 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15739 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15741 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15744 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15746 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15749 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15751 * gettext.C: include LString.h even when --disable-nls is on.
15753 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15755 * converter.h (Get): changed argument type from int to
15756 FormatList::size_type to avoid unnecessary conversion.
15758 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15761 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15763 * gettext.h: include LString.h even when --disable-nls is on.
15765 2001-06-07 Juergen Vigna <jug@sad.it>
15767 * text.C (BreakAgain): subst spaces with tabs.
15769 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15770 (resizeInsetsLyXText): set force on resizeLyXText.
15772 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * gettext.h (gettext_init):
15775 (locale_init): use a real definition instead of a macro
15777 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15779 * Bufferview_pimpl.C:
15781 * LColor.C: further lcolor tidies
15783 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15785 * BufferView_pimpl.C (updateScrollbar): simplify.
15787 * BufferView2.C: don't include insets/insetinfo.h, change
15788 prototype for insertInset and call the Pimpl version. let
15789 updateInset call Pimpl version.
15791 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15792 gotoInset to BufferView::Pimpl
15794 2001-06-01 Juergen Vigna <jug@sad.it>
15796 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15797 inside a LockingInset (is the update needed at all?).
15799 2001-05-31 Juergen Vigna <jug@sad.it>
15801 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15802 here not the old one otherwise how should we compare it afterwards
15805 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15810 * FontInfo.C: bring C functions into global namespace when
15813 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15815 * LString.h: make sure config.h has been loaded before LString.h.
15817 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15818 (one for each char read by EatLine!).
15820 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15823 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15825 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15826 to the same as the par we break from
15828 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15830 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15832 * MenuBackend.C (expand): also create menu entries for wide
15833 versions of the floats.
15835 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15837 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15839 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15840 frontends/Makefile.am
15846 * tabular.C (getTokenValue): add std::
15848 * tabular-old.C (getTokenValue): add std::
15849 (getTokenValue): ditto
15850 (getTokenValue): ditto
15852 * screen.C (ToggleSelection): adjust
15854 * lyxtext.h: put selection cursors inside a Selection struct.
15856 * lyxfunc.C (moveCursorUpdate): adjust
15858 * lyxfont.C (latexWriteStartChanges): add std::
15860 * lyxfind.C: adjust
15862 * font.h: delete with(char const *, LyXFont const &)
15864 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15866 * FontInfo.C (getFontname): add std::
15868 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15869 (workAreaButtonPress): adjust
15870 (tripleClick): adjust
15872 (moveCursorUpdate): adjust
15875 * BufferView2.C (gotoInset): adjust
15877 2001-05-30 Juergen Vigna <jug@sad.it>
15879 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15880 to check pspell I add this as default as I now have new pspell
15881 libraries and they seem to use this.
15883 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15885 * text2.C (CutSelection): make the cursor valid before the call to
15888 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15890 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15891 relied on 0 terminated strings and other horrors. Bug found due to
15892 the new assert in lyxstring!
15894 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15897 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15899 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15902 * lyxfunc.C (processKeySym): change method of getting to the
15905 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15906 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15907 * BufferView_pimpl.[Ch]: here as private methods.
15909 2001-05-28 Juergen Vigna <jug@sad.it>
15911 * text.C (SetHeightOfRow): added the update() call again as it is
15912 needed to initialize inset dimensions!
15914 2001-05-16 Juergen Vigna <jug@sad.it>
15916 * text2.C (SetCharFont): Add new function with BufferView * and
15917 bool toggleall parameters for setting insets internal fonts.
15918 (SetFont): Freeze the undo as we may change fonts in Insets and
15919 all this change should be inside only one Undo!
15921 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15922 setting font's in insets as for them we have the SetFont function!
15924 2001-05-15 Juergen Vigna <jug@sad.it>
15926 * text2.C (ClearSelection): to be sure we REALLY don't have any
15929 * tabular.C (TeXCellPreamble): fixed the left border problem for
15932 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15934 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15937 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15939 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15940 LFUN_BREAKPARAGRAPH.
15942 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15943 help test to "internal only", similar for LFUN_INSERT_URL
15945 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15946 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15947 auto_region_delete and deadkeys.
15949 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15952 * LColor.C: remove some dead entries, tidy a little
15954 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15956 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15958 (Dispatch): implement LFUN_ESCAPE
15960 * commandtags.h: add LFUN_ESCAPE
15962 * LyXAction.C (init): add entry for LFUN_ESCAPE
15964 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15965 Remove commented code.
15966 (insertNote): moved here
15967 (open_new_inset): moved here
15969 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15972 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15974 * kbmap.C (findbinding): clean it up and make it work correctly.
15976 * lyx_main.C (init): do not pass argc and argv as parameters
15978 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15980 * buffer.C: fix path for OS/2 & Win32
15984 * lyx_main.C: Added os:: class.
15986 * os2_defines.h: update
15988 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15990 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15991 better by trying again with reduced state.
15993 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15995 * lyxrc.C (read): print error about invalid key sequence only when
15996 debugging (because not all latinX keysyms are known to some X
15999 * kbsequence.C (getiso): add a few std:: qualifiers
16000 (getiso): comment out extra return statement.
16002 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16004 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16006 (Dispatch): enhance the accent inset a bit. (not perfect)
16008 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16010 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16012 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16014 * bufferlist.C (emergencyWrite): fix assert() call
16016 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16018 * text.C (InsertChar): Added trivial patch to only send the "you
16019 can not do multiple spaces this way" message once during a
16022 2001-05-08 Baruch Even <baruch@lyx.org>
16024 * Makefile.am: Changed order of libraries to get LyX to link properly
16025 with the gnome frontend.
16027 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16029 * LaTeXFeatures.h: add a std:: qualifier
16031 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16033 * paragraph.C (String): use stringstream
16035 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16037 * paragraph.C (writeFile): remove footflag arg
16039 * buffer.C (makeLaTeXFile): use stringstream
16040 (latexParagraphs): remove footnot gurba
16042 * LaTeXFeatures.C (getPackages): use stringstream
16043 (getMacros): likewise
16044 (getTClassPreamble): likewise
16045 (getFloatDefinitions): new method
16047 * paragraph.C (writeFile): reindent
16050 * WorkArea.h: revert the xpos + etc changes.
16052 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16054 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16056 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16057 (pasteSelection): likewise
16058 * text2.C (CreateUndo): likewise
16060 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16062 * minibuffer.C (peek_event): temporarily reduce the functionality
16063 of the minibuffer (to allow args on lfuns)
16065 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16066 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16068 * buffer.C (readInset): add compability reading of old float
16069 lists, add reading of new style float list.
16070 (readInset): avoid reevaluation of inscmd.getCmdName()
16071 (getLists): reindent
16073 * MenuBackend.C (MenuItem): implement parsing of
16074 md_floatlistinsert and md_floatinsert.
16075 (expand::LastFiles): move initalizaton of iterators out of loop,
16076 avoid reevaluation.
16077 (expand::Documents): introduce typdedef vector<string> Strings,
16079 (expand::ExportFormats): introduce typedef vector<Format const *>
16080 Formats, and use it.
16081 (expand): implement FloatListInsert and FloatInsert.
16083 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16084 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16085 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16087 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16089 (Dispatch::LFUN_FLOAT_LIST): implement
16091 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16093 * LaTeX.C (run): Fix problem with --export code.
16095 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16097 * BufferView.[Ch] (workarea): removed.
16098 (getClipboard) new method; wrapper for workarea()->getClipboard()
16100 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16103 * WorkArea.h (width, height, xpos, ypos): These methods all
16104 returned the dimensions of the work_area sub-area of WorkArea,
16105 resulting in a position error if the WorkArea were resized. Now
16106 return the dimensions of the entire WorkArea.
16108 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16110 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16112 * LaTeX.C (deplog): correct the syntax of regex reg1
16114 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16116 * undo.C: remove !NEW_INSETS cruft
16118 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16120 * text2.C: remove !NEW_INSETS cruft
16122 * text.C: remove !NEW_INSETS cruft
16124 * tabular.C: remove !NEW_INSETS cruft
16126 * spellchecker.C: remove !NEW_INSETS cruft
16128 * lyxtext.h: remove !NEW_INSETS cruft
16130 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16132 * lyxfunc.C: remove !NEW_INSETS cruft
16134 * lyxfind.C: remove !NEW_INSETS cruft
16136 * lyx_cb.C: remove !NEW_INSETS cruft
16138 * figureForm.C: remove !NEW_INSETS cruft
16140 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16142 * buffer.[Ch]: remove !NEW_INSETS cruft
16144 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16146 * CutAndPaste.C: remove !NEW_INSETS cruft
16148 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16150 * BufferView2.C: remove !NEW_INSETS cruft
16152 * BufferView.h: remove !NEW_INSETS cruft
16154 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16156 * Lsstream.h: include LString.h before the sstream headers to
16157 fix problem with gcc 2.95.3 and lyxstring
16159 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16161 * lyx_main.C: add using directives when needed for C functions
16162 declared in std:: namespace.
16164 2001-04-27 Juergen Vigna <jug@sad.it>
16166 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16167 (SetHeightOfRow): comment out the update call should not be needed!
16169 2001-04-13 Juergen Vigna <jug@sad.it>
16171 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16172 (LyXTabular): tried to minimize operator= operations (and realized
16173 hopfully Lars wish).
16175 2001-04-27 Juergen Vigna <jug@sad.it>
16177 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16179 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16181 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16183 * buffer.C (readInset): hack to make listof algorithm work
16185 * BufferView_pimpl.C: hack to make listof algorithm work
16187 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16189 * LyXAction.C: removed all !NEW_INSETS cruft
16190 (init): moved lfun_item in method
16192 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16194 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16196 * BufferView2.C (theLockingInset): white space.
16198 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16200 * minibuffer.C: include <iostream>
16202 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16204 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16206 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16208 * text.[Ch] (TransposeChars): new method
16210 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16212 * call message directly through LyXView instead of through LyXFunc
16213 * BufferView2.C: adjust
16214 * BufferView_pimpl.C: adjust
16215 * FontLoader.C: adjust
16217 * bufferview_funcs.C: adjust
16218 * converter.C: adjust
16219 * figureForm.C: adjust
16220 * importer.C: adjust
16222 * lyx_gui_misc.C: adjust
16223 * lyxfunc.C: adjust
16226 + more files in subdirs
16228 * lyxparagraph.h (size): move up int file
16231 * adjust all uses of Assert to lyx::Assert.
16233 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16234 lyxfunctional in namespace lyx
16235 * layout.C (hasLayout): ditto
16238 (delete_layout): ditto
16239 (NumberOfClass): ditto
16240 * converter.C (GetFormat): ditto
16245 * bufferlist.C (getFileNames): ditto
16246 (emergencyWriteAll): ditto
16249 * MenuBackend.C (hasSubmenu): ditto
16252 * BufferView_pimpl.C (getInsetByCode): ditto
16254 2001-04-18 Juergen Vigna <jug@sad.it>
16256 * vspace.C (asLatexString): fixed the 100% problem.
16258 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16260 * lyxfunc.C (Dispatch):
16262 * minibuffer.h: add a few std:: qualifiers
16264 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16266 * minibuffer.[Ch]: reimplement so that commands is initiated and
16267 run from lyxfunc, simplified som handling, and made the completion
16268 and history code for complete. wip.
16270 * lyxfunc.C (processKeySym): call message
16271 (miniDispatch): new temporary method
16272 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16273 (LFUN_MESSAGE): implement
16274 (LFUN_MESSAGE_PUSH): implement
16275 (LFUN_MESSAGE_POP): implement
16276 (initMiniBuffer): the initial/defualt minibuffer message.
16278 * lyxfont.[Ch]: inline some more getters
16280 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16282 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16284 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16285 (AutoSave): use LFUN_MESSAGE
16286 (Reconfigure): ditto
16288 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16290 * figureForm.C: use LFUN_MESSAGE
16292 * converter.C (runLaTeX): use LFUN_MESSAGE
16294 * bufferview_funcs.C: use LFUN_MESSAGE
16296 (changeDepth): ditto
16298 * bufferparams.h: use boost::
16300 * bufferlist.h: inherit privately from noncopyable
16302 * bufferlist.C (loadLyXFile): remove some commented code.
16304 * buffer.C (runChktex): use LFUN_MESSAGE
16306 * ShareContainer.h: inherit privately from noncopyable
16308 * ParagraphParameters.[hC] (depth): inline it.
16310 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16312 (message): new method
16313 (messagePush): ditto
16314 (messagePop): ditto
16315 (show): init minibuffer
16316 (showState): direct call
16318 * LaTeX.[Ch]: inherit privately from noncopyable
16319 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16320 instead of WriteStatus.
16322 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16324 * BufferView_pimpl.C (buffer): don't init minibuffer
16325 (workAreaButtonPress): use LFUN_MESSAGE
16326 (workAreaButtonRelease): ditto
16327 (savePosition): ditto
16328 (restorePosition): ditto
16329 (MenuInsertLyXFile): ditto
16330 (workAreaExpose): don't init minibuffer
16331 (update): remove commented code, simplify
16333 * BufferView2.C (openStuff): use LFUN_MESSAGE
16334 (toggleFloat): ditto
16337 (copyEnvironment): ditto
16338 (pasteEnvironment): ditto
16343 (updateInset): remove some commented code
16345 * lastfiles.h: inherit privately from noncopyable
16348 * lyx_main.h: ditto
16350 * lyxlex_pimpl.h: ditto
16352 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16353 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16354 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16356 * LyXAction.h: inherit privately from noncopyable, add methods
16357 func_begin, func_end, returning iterators to the func map.
16359 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16360 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16361 (func_begin): new method
16362 (func_end): new method
16364 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16366 (copySelection): ditto
16367 (pasteSelection): ditto
16369 * BufferView.C: whitespace change
16370 * BufferView.h: inherit privately from noncopyable
16372 2001-04-16 Allan Rae <rae@lyx.org>
16374 * tabular-old.C (l_getline):
16375 * spellchecker.C (sc_check_word):
16376 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16377 an unrecognised preprocessor directive. So ensure they're wrapped.
16379 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16381 * src/exporter.C (Export): Give an error message when path to file
16384 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16386 * LaTeX.C (deplog): Always check that foundfile exists.
16388 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16391 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16393 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16395 * tabular.[Ch] (getLabelList): implement new method
16397 * minibuffer.h: comment ouf setTiimer
16399 * minibuffer.C (ExecutingCB): constify res
16400 (peek_event): constify s
16401 (Set): constify ntext
16402 (Init): constify nicename
16404 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16406 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16407 (savePosition): use two params to Minibuffer::Set
16408 (restorePosition): ditto
16410 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16412 * lyx_main.C: include language.h
16414 * Makefile.am (lyx_main.o): add language.h
16416 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16422 * CutAndPaste.C: include gettext.h
16424 * lyxfont.h: remove old hack with ON and OFF.
16427 * lyxfont.h: do not include language.h...
16432 * bufferview_funcs.C:
16438 * paragraph.C: ... but do it here instead
16440 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16442 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16444 * tabular.C: small reformat
16446 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16449 (BreakParagraph): ditto
16450 (SetOnlyLayout): ditto
16453 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16456 * lastfiles.C: removed most using decl, add std:: where needed
16458 * buffer.C: ws changes
16460 * MenuBackend.C (class compare_format): put into anon namespace
16461 (expand): constify label, names, action, action2
16464 * text.C (SingleWidth): constify font
16465 (IsBoundary): constify rtl2
16466 (GetVisibleRow): constify ww
16468 * LaTeX.C (deplog): constify logfile
16470 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16472 (workAreaExpose): constify widthChange, heightChange
16474 * lyxrow.C (par): moved
16477 * lyxrow.h: as inlines here
16479 * lyxfont.h (shape): moved from lyxfont.C
16480 (emph): moved from lyxfont.C
16482 * lyxfont.C (LyXFont): use initialization list for all
16484 (shape): move to lyxfont.h as inline
16485 (emph): move to lyxfont.h as inline
16488 2001-04-04 Juergen Vigna <jug@sad.it>
16490 * vspace.C: had to include stdio.h for use of sscanf
16492 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16495 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16496 independent of xforms.
16498 2001-04-02 Juergen Vigna <jug@sad.it>
16500 * spellchecker.C: fixed namespace placing!
16502 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16504 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16505 the LyXParagraph * is 0.
16507 2001-03-29 Juergen Vigna <jug@sad.it>
16509 * vspace.C: added support for %, c%, p%, l%.
16510 (stringFromUnit): added helper function.
16511 (asLatexString): changed to give right results for the %-values.
16513 * buffer.C: convert the widthp in a width%.
16515 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16517 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16520 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16521 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16523 * lyx_cb.[Ch]: see above.
16525 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16529 * lyx.[Ch]: replaced by figure_form.[Ch].
16533 * lyxfunc.C: changed headers associated with above changes.
16535 2001-03-27 Juergen Vigna <jug@sad.it>
16537 * BufferView_pimpl.C: set the temporary cursor right!
16539 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16541 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16543 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16545 * LString.h: removed "using std::getline"!
16547 * BufferView_pimpl.C (Dispatch): changes due to changes in
16548 InsetInclude::Params.
16550 * buffer.C (tag_name): removed redundant break statements as they were
16551 producing lots of warnings with my compiler.
16553 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16555 * LString.h: add "using std::getline" when using the real <string>.
16557 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16559 * buffer.C: removed bitset usage.
16560 PAR_TAG moved to an anonymous name space.
16561 (tag_name): new funtion, also in the anonymous namespace.
16562 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16563 (makeDocBookFile): clean code. Completed transition from string arrays
16565 (SimpleDocBookOnePar): code clean.
16567 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16569 * tabular.C: add some comments.
16571 2001-03-22 Juergen Vigna <jug@sad.it>
16573 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16574 compatibility read a bit and fixed bug with minipage in different
16577 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16579 * buffer.C (pop_tag): removed.
16580 (push_tag): removed.
16581 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16582 array replaced with vector. Added support for CDATA sections.
16583 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16585 (makeDocBookFile): XML conformant declaration of CDATA section,
16586 fixed bug related to <emphasis> in the first paragraph char.
16587 (sgmlOpenTag): exclude empty tags.
16588 (sgmlCloseTag): ditto.
16590 * buffer.h (pop_tag): removed.
16591 (push_tag): removed.
16593 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16595 * language.h (Languages): added size_type and size().
16597 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16599 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16600 response on compability reading of minipages. One probliem is that
16601 the old usage of minipages was «flertydig»
16603 * several files here and in subdirs: don't use static at file
16604 scope use anon namespaces instead.
16606 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16608 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16609 LaTeX output. This is necessary for Literate document
16612 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16614 * buffer.C: insert hfill when needed.
16616 * tabular.C (l_getline): use string::erase, small whitespace change.
16618 * BufferView_pimpl.C: try the anon namespace.
16619 * WorkArea.C: ditto
16621 2001-03-16 Juergen Vigna <jug@sad.it>
16623 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16624 otherwise it won't open options-dialogs.
16626 * buffer.C: honor pextraWidth(p) on converting minipages.
16628 * tabular.C (l_getline): changed the functions to strip trailing \r.
16630 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16632 * BufferView_pimpl.C:
16633 * minibuffer..C: added "using SigC::slot" declaration.
16635 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16637 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16643 * paragraph.C: ditto
16645 * lyxtext.h: NO_PEXTRA
16647 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16649 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16650 * ParameterStruct.h: ditto
16651 * ParagraphParameters.h: ditto
16652 * lyxparagraph.h: ditto
16654 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16656 * buffer.C: add compability for minipage alignment.
16657 (latexParagraphs): remove unwanted pextra check.
16659 * several files: remove CXX_WORKING_NAMESPACES
16661 * buffer.C (pop_tag): tie is in namespace boost
16663 * BufferView.h: noncopyable is in namespace boost
16665 * lyx_main.h: ditto
16668 * lastfiles.h: ditto
16669 * bufferlist.h: ditto
16670 * ShareContainer.h: ditto
16672 * LyXAction.h: ditto
16675 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16677 * Merging changes from BRANCH_MVC back into HEAD.
16679 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16681 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16683 * BufferView_pimpl.C: change from intl.C
16687 * Makefile.am: move combox.*
16693 * intl.C: remove dialog (covered by prefs)
16695 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16697 * lyxfunc.C (Dispatch): removed redundant break statement.
16699 2001-03-14 Juergen Vigna <jug@sad.it>
16701 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16703 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16705 * buffer.C: add hack to fix compability reading of minipages.
16707 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16709 * buffer.C (getLists): Cleanup.
16711 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16713 * lyxfont.C (update): don't honor toggleall on font size.
16715 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16719 * Makefile.am: moved to frontends/xforms/
16723 * BufferView_pimpl.C: changes for moved mathpanel
16725 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16727 * gettext.h: fix gettext_init() in --disable-nls
16729 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16731 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16733 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16736 * lyx.h: strip external form
16738 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16740 * BufferView_pimpl.C: add comment, destroySplash()
16742 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16744 * BufferView_pimpl.C:
16748 * lyxfunc.C: use re-worked insetinclude
16750 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16752 * buffer.C: add using std::stringstream.
16754 * lyx_cb.C: readd using std::ios.
16756 * buffer.C: add using std::map.
16758 * BufferView_pimpl.C: add using std::vector.
16760 * ShareContainer.h: add std:: to swap.
16762 * buffer.h: add some typedefs
16763 * buffer.C (getLists): use them
16764 (getLists): renamed from getTocList.
16765 add a counter for the different float types and use it in the
16767 (getLists): use the same counter for the NEW_INSETS and the "non"
16770 * lyx_cb.h: remove unused items, includes, using etc.
16772 * ShareContainer.h: remove some commented code, add more comments
16773 and "documentation".
16775 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16777 * buffer.C (getTocList): make the list also when NEW_INSETS is
16780 * buffer.h: remove TocType
16782 * buffer.C (getTocList): change to return a map<string,
16783 vector<TocItem> >, implement for dynamic number of list.
16785 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16786 * text2.C (PasteSelection): adjust
16787 * CutAndPaste.C (pasteSelection): adjust
16789 * FloatList.C (FloatList): update from the new_insets branch.
16790 * Floating.[Ch]: ditto
16791 * LaTeXFeatures.C: ditto
16793 * lyxlex_pimpl.C: ditto
16795 * paragraph.C (Last): remove when NEW_INSETS is defined.
16797 * other file: changes because of the above.
16799 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16801 * lyxparagraph.h: rename next to next_, previous to previous_,
16802 make them private for NEW_INSETS. Rename Next() to next(),
16803 Previous() to previous().
16805 * other files: changes because of the above.
16807 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16810 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16813 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16815 * main.C (main): pass lyx_localedir to gettext_init().
16817 * gettext.h: remove locale_init and gettext_init macros
16819 * gettext.C (locale_init): new function
16820 (gettext_init): new function
16822 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16825 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16827 * Moved credits to frontends:
16828 * credits.[Ch]: removed
16829 * credits_form.[Ch]: removed
16830 * lyx_gui_misc.C: remove credits stuff
16833 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16835 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16837 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16838 unneeded destructor.
16840 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16841 a standalone pointer again.
16843 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16845 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16851 * ToolbarDefaults.C:
16860 * BufferView_pimpl.C: use new file dialog in GUII
16863 * lyx_cb.C: remove LayoutsCB to Toolbar
16865 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16867 * ShareContainer.h (get): add std:: qualifier
16869 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16871 * ShareContainer.h: define a proper ShareContainer::value_type
16872 type (and use typename to please compaq cxx)
16874 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16876 * lyxparagraph.h: move serveral local vars to
16877 ParameterStruct/ParagraphParameters., use ShareContainer in
16878 FontTable., make vars in FontTable private and add getter and
16881 * paragraph.C: changes because of the above.
16883 * lyxfont.h: remove copy constructor and copy assignment. (the
16884 default ones is ok), move number inside FontBits. move inlines to
16887 * lyxfont.C: add number to initializaton of statics, move several
16888 inlines here. constify several local vars. some whitespace
16889 cleanup. Dont hide outerscope variables.
16891 * Spacing.h: add two new constructors to match the set methods.
16893 * ShareContainer.h: new file, will perhaps be moved to support
16895 * ParameterStruct.h: new file
16897 * ParagraphParameters.h: new file
16899 * ParagraphParameters.C: new file
16901 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16902 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16904 * BufferView_pimpl.C: ParagraphParameter changes.
16905 * buffer.C: Likewise.
16906 * bufferview_funcs.C: Likewise.
16907 * text.C: Likewise.
16908 * text2.C: Likewise.
16910 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16912 * lyxfind.C (LyXReplace): do not redefine default argument in
16914 (IsStringInText): ditto
16915 (SearchForward): ditto
16916 (SearchBackward): ditto
16918 2001-03-06 Juergen Vigna <jug@sad.it>
16920 * lyxfind.C (IsStringInText): put parentes around expressions.
16922 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16924 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16926 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16928 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16930 * stl_string_fwd.h: add comment
16932 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16935 * tabular.C: remove unused DocBook methods
16941 killed DO_USE_DEFAULT_LANGUAGE
16943 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16945 * lyx_gui.C: do not include language.h.
16947 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16948 arguments in function implementation.
16950 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16952 * BufferView_pimpl.C: add <ctime>
16954 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16956 * BufferView_pimpl.C: add using std::find_if
16958 2001-02-27 José Matos <jamatos@fep.up.pt>
16960 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16963 2001-02-11 José Matos <jamatos@fep.up.pt>
16965 * buffer.C (makeDocBookFile): command styles now have a parameter as
16966 "title" by default.
16968 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16970 * layout_forms.[Ch]: removed
16971 * lyx_cb.[Ch]: out character
16972 * lyx_gui.C: out character
16973 * lyx_gui_misc.C: out character
16974 * bufferview_funcs.C: : out character,
16975 added toggleall as parameter in ToggleAndShow
16977 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16979 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16981 * text2.C (SetCurrentFont): Disable number property at boundary.
16983 2001-02-26 Juergen Vigna <jug@sad.it>
16985 * lyxfunc.C (getStatus): added a string argument override function so
16986 that this is correctly called from LyXFunc::Dispatch if it contains a
16987 do_not_use_argument which is used!
16988 (Dispatch): added check for "custom" export and call appropriate func.
16990 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16992 * lyxrc.C: Add language_command_local, language_use_babel and
16993 language_global_options.
16995 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16997 * buffer.C (makeLaTeXFile): Use language_use_babel and
16998 language_global_options.
17000 2001-02-23 Juergen Vigna <jug@sad.it>
17002 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17003 which works with LyXText and putted it inside BufferView. Here now we
17004 only call for that part the BufferView::Dispatch() function.
17006 * BufferView.C (Dispatch): added.
17008 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17009 functions which needs to use a LyXText over from LyXFunc.
17010 (MenuInsertLyXFile): added
17011 (getInsetByCode): added
17012 (moveCursorUpdate): added
17013 (static TEXT): added
17015 2001-02-22 Juergen Vigna <jug@sad.it>
17017 * BufferView_pimpl.C (update): call a status update to see if LyXText
17020 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17022 * vc-backend.C (revert): implement for CVS
17023 (getLog): implement for CVS
17025 2001-02-20 Juergen Vigna <jug@sad.it>
17027 * text2.C (ClearSelection): added BufferView param for inset_owner call
17029 * lyxfunc.C (TEXT): added this function and use it instead of
17030 directly owner->view()-text of getLyXText().
17032 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17034 * src/layout_forms.C: out preamble
17035 * src/layout_forms.h: out preamble
17036 * src/lyx_cb.C: out preamble
17037 * src/lyx_cb.h: out preamble
17038 * src/lyx_gui.C: out preamble
17039 * src/lyx_gui_misc.C: out preamble
17040 * src/lyxfunc.C: connect with guii preamble
17042 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17044 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17046 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17048 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17049 whether to run bibtex.
17051 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17053 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17055 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17057 * Makefile.am (lyx_SOURCES): removed bibforms.h
17059 * vspace.h: doxygen
17061 * text.C (GetVisibleRow): make several local vars const
17063 * tabular.C: small cleanup.
17065 * lyxserver.C (callback): use compare instead of strncmp
17067 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17068 inlines to after class or to paragraph.C
17070 * lyxfont.h: remove friend operator!=
17072 * converter.h: move friend bool operator< to non friend and after
17075 * combox.h: small cleanup
17077 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17078 to inlines after class def.
17080 * buffer.C (pop_tag): use string operations instead of strcmp
17082 * bmtable.c: doxygen, small cleanup
17084 * LaTeX.h: remove friend operator==
17086 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17098 * BufferView_pimpl.C:
17099 * BufferView.[Ch]: remove cruft
17101 2001-02-14 Juergen Vigna <jug@sad.it>
17103 * lyxfunc.C: removed #if 0 unused code
17105 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17107 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17109 * text2.C (SetSelection): added a BufferView * parameter
17111 2001-02-13 Juergen Vigna <jug@sad.it>
17113 * lyxfunc.C (Dispatch): fixed protected blank problem.
17114 * BufferView2.C (protectedBlank): added LyxText * parameter.
17116 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17117 (AppendColumn): same as above for column_info.
17119 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17120 (moveCursorUpdate): use a LyXText param for support of InsetText.
17122 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17123 (tripleClick): ditto
17125 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17127 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17129 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17131 * text2.C (SetSelection): set correct update status if inset_owner
17132 (ToggleFree): ditto
17134 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17136 * tabular.C: remove some commented code.
17138 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17140 * BufferView_pimpl.C: call hideSplash()
17142 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17145 * bibforms.h: remove
17148 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17149 add LFUN_CHILD_CREATE
17151 * counters.h: fix tiny typo
17156 * lyx.C: move splash to frontends/xforms/
17158 * lyx_gui_misc.C: move Include and Bibform to frontends
17160 * lyxvc.h: clarify comment
17162 * vspace.C: tiny housekeeping
17164 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17166 * text.C (PrepareToPrint): RTL Fix.
17168 * paragraph.C (GetUChar): New method.
17169 (String): Use GetUChar.
17171 * buffer.C (asciiParagraph): Use GetUChar.
17173 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17175 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17177 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17180 * buffer.C: rename to getLogName(), handle
17181 build log / latex log nicely
17183 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17186 * MenuBackend.h: remove support for reference menuitem type.
17188 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17190 * BufferView_pimpl.C: housekeeping
17191 * BufferView_pimpl.h:
17196 * minibuffer.h: move Timeout GUI-I
17198 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17200 * lyxrc.C (read): Update converters data-structures.
17202 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17204 * LaTeX.h (operator!=): add operator != for Aux_Info
17206 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17208 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17210 * LaTeXLog.C: deleted, useful code moved to Buffer
17213 * buffer.C: new function getLatexLogName()
17219 * lyxfunc.C: use frontends for LaTeX and VC logs
17221 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17223 * LaTeX.h: yet another std:: that Allan forgot.
17225 * Variables.C (set): renamed from isset(), because this clashes
17226 with some HP-UX macros (grr).
17228 2001-02-06 Allan Rae <rae@lyx.org>
17230 * LaTeX.h: Another bug fix. Missing std:: this time.
17232 2001-02-04 Allan Rae <rae@lyx.org>
17234 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17235 floats problem. I've left it commented out because it's not quite
17236 correct. It should also test that the current object is a table or
17237 figure inset. But I haven't gotten around to figuring out how to do
17238 that. I *think* it'll be something like: "table" == inset.type()
17240 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17243 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17245 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17246 all the citation/databases/styles in the auxilary file.
17247 (run): Rerun latex if there was a babel language error.
17249 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17251 * text.C (Backspace): Preserve the font when changing newline char
17253 (BreakParagraph): If the cursor is before a space, delete the space.
17255 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17257 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17259 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17260 new argument (code).
17261 (ChangeCitationsIfUnique): New method.
17263 * paragraph.C (GetPositionOfInset): Handle bibkey.
17265 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17267 * BufferView_pimpl.h: change type of Position::par_pos to
17268 LyXParagraph::size_type.
17270 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17272 * BufferView_pimpl.C (savePosition, restorePosition): Write
17273 messages to minibuffer.
17275 2001-01-28 José Matos <jamatos@fep.up.pt>
17277 * buffer.C (makeDocBookFile): adds support for document language.
17278 A silly restriction on the name of LatexCommand types where removed.
17279 Added support for CDATA sections, allows to chars unescaped, used
17280 among others in code, to avoid escape < and >.
17282 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17284 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17285 saved positions instrad of a stack. Furthermore, a position is
17286 stored using paragraph id/paragraph position.
17288 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17289 Remove LFUN_REF_BACK.
17291 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17293 * converter.C (dvipdfm_options): New method.
17295 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17297 * vspace.C (isValidLength): Fix for empty input string.
17299 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17301 * LyXAction.C (init): change description of LFUN_FIGURE to
17304 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17306 * LaTeX.C: add using directive
17308 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17310 * MenuBackend.C (expand): Fix the sorting of the formats.
17312 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17314 * lyx_main.C: tiny error message fix
17316 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17318 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17319 calling fl_initialize(). This fixes the problem with ',' as
17320 decimal separator in text files.
17322 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17324 * trans.C (process): Fix the keymap bug.
17326 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17328 * LaTeX.C (scanAuxFiles): New method. Provides support for
17329 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17330 (scanLogFile) Scan for "run BibTeX" messages.
17332 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17333 OT1 font encoding. Also, load the aecompl package if the ae
17336 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17338 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17340 * texrow.C (increasePos): turn two error messages into debug
17343 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17345 * LaTeX.C (scanAux): Handle the \@input macro.
17346 (runBibTeX): Use scanAux().
17348 * language.C (latex_options_): New field.
17350 * LaTeXFeatures.C (getMacros): Add language macros.
17352 * buffer.C (makeLaTeXFile): Small fix.
17354 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17356 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17358 * text2.C: add a using directive.
17360 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17365 * lyxfunc.C: kill LyXBell.
17367 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17369 * text.C (IsBoundary): Remove the error message
17371 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17373 * lyxrc.C (setDefaults): Correct initialization value for
17376 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17378 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17381 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17382 and GotoNextNote().
17384 * src/LyXAction.C: Added reference-next.
17386 * text.C (InsertChar): Use contains instead of strchr.
17388 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17390 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17392 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17393 alignment commands (when needed).
17395 * text.C (InsertChar): Add ':' to number separator chars.