1 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
3 * text2.C: fix for cursor up/down stuck in math [bug 1792]
5 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
7 * text2.C (cursorUp): get rid of a crash
8 * text.C (x2pos): add an assert
10 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * lyxfunc.C (getStatus): fix warning when assertions are disabled
16 * dociterator.C: include <boost/current_function.hpp>, which is
17 needed when assertions are disabled.
19 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
21 * text2.C: fix for stuck cursor when traversing two
22 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
24 2005-02-25 Andreas Vox <avox@arcor.de>
26 * output_docbook.C (makeParagraph): suppress trailing newline
27 after a run of paragraphs
29 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
31 * paragraph.C: fix for confused change tracker when pasting
32 text that begins with a lineseparator. [bug 1827]
33 (setChange(0, Change::INSERTED);)
35 * paragraph_funcs.C: fix for lost changes on triple-paste
36 in change tracking mode [bug 1827] (par.setChange()).
38 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * text2.C (updateCounters, setCounter, expandLabel): move to
43 * buffer_funcs.C (updateCounters): turn into a free standing
44 function and add a buffer parameter. Remove dead code for tracking
46 (setCounter): change into a free-standing function which gets a
47 dociterator as argument. Use this iterator to fix captions in a
48 simple way. When no float is found above the caption, use the
49 labelstring of the caption layout as default.
51 * text.C (breakParagraph, backspace):
52 * text2.C (init, setLayout, changeDepth):
54 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
57 * dociterator.C (forwardPar): make it much faster by calling
58 forwardPos() only when really necessary.
60 * output_docbook.C (makeCommand): adapt to expandLabel move.
62 * cursor.C: remove unused variable
64 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
66 * paragraph_funcs.C: fix crash when pasting insets in change
67 tracking mode [bug 1277] (honour change type in moveItem).
69 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
73 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * BufferView.C (setCursor): change to use a DocIterator.
76 (gotoLabel): use BufferView::setCursor (other part of bug 781).
77 (putSelectionAt): adapt to BufferView::setCursor change.
79 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
80 moved here from LyXText and rewritten to use proper cursor
81 methods. Fixes bug 1787, 616 and 835.
83 * BufferView_pimpl.C (restorePosition): set the cursor correctly
84 when inside an inset (part of bug 781).
85 (dispatch): adapt to change of BufferView::setCursor.
86 (getStatus, dispatch): handle LFUN_GOTOERROR,
87 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
89 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
90 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
91 * text3.C (gotoNextInset, gotoInset): removed.
93 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
97 2005-02-15 Angus Leeming <leeming@lyx.org>
99 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
100 can be used meaningfully in a comparison.
102 2005-02-13 André Pönitz <poenitz@gmx.net>
104 * bufferview_funcs.C (coordOffset): improve cursor drawing
106 2005-02-13 André Pönitz <poenitz@gmx.net>
108 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
109 * Cursor.C (dispatch): use fixIfBroken
110 * lyxfunc.C (getStatus): use fixIfBroken
112 2005-02-15 Angus Leeming <leeming@lyx.org>
114 * lyx_main.C (error_handler):
116 * lyxrc.C (setDefaults):
118 #include "environment.h".
120 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
122 2005-02-15 Angus Leeming <leeming@lyx.org>
124 * lyxserver.C (startPipe): squash MSVC warning "local variable
125 'fd' used without having been initialized".
127 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
129 * BufferView_pimpl.C: revert accidental commit.
131 2005-02-14 André Pönitz <poenitz@gmx.net>
133 * dociterator.[Ch]: new member forwardPosNoDescent(),
134 which doesn't enter nested insets.
135 * text2.C (setFont): use forwardPosNoDescent() instead
136 of ForwardPos() (fixes crash on font change).
138 2005-02-13 Angus Leeming <leeming@lyx.org>
140 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
141 only if lyxrc.path_prefix is not empty.
143 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
145 * bufferparams.C (readGraphicsDriver): prevent crash
147 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
149 * text2.C (setCounter): check for inInset() == 0
151 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
154 but use update() to get correct screen display; use convert
155 instead of istringstream.
156 (getStatus): handle LFUN_GOTO_PARAGRAPH
158 * lyxfunc.C (dispatch, getStatus): do not handle
159 LFUN_GOTO_PARAGRAPH here.
161 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
163 * text3.C (dispatch): size() -> depth()
165 * text2.C: remove some debug output
167 * paragraph.C: ws changes only
169 * lyxfunc.C (getStatus): size() -> depth()
171 * dociterator.h (clear, push_back, pop_back, internalData,
172 operator[], resize, empty): new functions
173 Make StableDocIterator and operator== be friends. Don't inherit
174 from std::vector use a privat class variable slices_ instead.
177 * dociterator.C: update because of not inheriting from std::vector
178 anymore. Call explictly to slices_ instead. Use depth() instead of
179 size() and top() instead of back()
181 * cursor.C: chagne size() -> depth and back() -> top(). Also
182 remove some direct operator[](i) calls in favour of foo[i]
183 (getFont): remove some dead code
185 * bufferview_funcs.C (coordOffset): size() -> depth()
187 * buffer.C: ws changes only
189 * CutAndPaste.C (eraseSelection): back() -> top()
191 * BufferView_pimpl.C (selectionRequested): back() -> top()
193 * BufferView.C (setCursor): size() -> depth()
195 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
197 * text3.C (cursorPrevious): return true if depm changed something
199 (dispatch): rename sl to oldTopSlice, remove moving use the new
200 NoUpdate func attrib instead. Make sure that needsUpdate is set
201 for function that have NoUpdate, but where depm might have changed
204 * text2.C (cursorLeft): make us return true if depm changed
207 (cursorUpParagraph): ditto
208 (curosrDownParagraph): ditto
209 (cursorUp, cursorDown): ditto, make sure to read comments in code
210 (deleteEmptyParagraphMechanism): remove an assert, also return
211 true if just a single char was deleted.
213 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
214 cursor that we modify, to avoid modifying an active cursor before
215 we call setCursor. This allows depm to run. Also return true if
216 depm deleted something.
218 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
219 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
220 cursorDownParagraph, cursorPrevious and cursorNext, return true if
221 something was changed in the buffer because of them (ie. depm run)
223 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
224 debug messages. Make update by default be false. Make sure that
225 the result of update is retained throught several calls down to
228 * LyXAction.h: add a new func_attrib: NoUpdate
230 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
231 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
232 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
234 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
236 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
239 bv_->owner(), bv_->buffer() by direct references to the private
241 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
242 (getStatus): isSavedPosition() is in BufferView::Pimpl.
243 (fitCursor): center() is in BufferView::Pimpl.
244 (getStatus, trackChanges, dispatch): no need for a temporary buf
246 (fitCursor, workAreaDispatch): use workarea().workheight()
248 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * CutAndPaste.C (pasteSelectionHelper): fix a crash
252 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
254 * buffer.C: format up to 241.
255 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
256 break if pasting into ERT
257 * lyxfunc.C (getStatus): suppress mathpanel and
258 LFUN_DIALOG_SHOW_NEW_INSET in ERT
260 2005-02-01 Angus Leeming <leeming@lyx.org>
262 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
264 2005-02-01 Angus Leeming <leeming@lyx.org>
266 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
267 calling fs::is_directory().
269 2005-01-31 Angus Leeming <leeming@lyx.org>
271 * lyx_main.C (priv_exec): specify explicitly the relative location
272 of the top level build directory when run in-place.
274 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
277 LyXText containing the cursor, not the top-level one.
279 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
281 (insertStringAsLines): rename par to pit; use temporary variable
282 par to hold a Paragraph; do not store par.layout() in a variable,
283 since the pointer may die when breaking paragraphs; pass pars to
284 breakParagraph() instead of Buffer::paragraphs().
286 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
288 * lyxlex_pimpl.h: #include <fstream>.
290 * BufferView.[Ch] (getLyXText): add a const version.
292 * BufferView_pimpl.C: add debug aids.
297 * paragraph_funcs.h: add commentary explaining what the class does.
300 * coordcache.[Ch]: add lots of commentary.
301 (startUpdating, doneUpdating): debug aids.
302 (arrays, insets, parPos, getParPos): accessors to private data.
304 * cursor_slice.[Ch] (text): add a const version.
305 * dociterator.[Ch] (text, innerText): add const versions.
307 * lyxtext.h (breakParagraph): change the keep_layout arg to a
310 * paragraph.C (getRow, pos2ros): add asserts.
312 * paragraph.h: add commentary. Lots of.
314 * paragraph.[Ch] (metrucs, draw): removed.
317 * rowpainter.[Ch]: const-correct changes.
319 * text.C: various obvious clean-ups. Removal of ancient cruft.
322 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
324 * vc-backend.C (find_file): rewrite to use boost.filesystem
327 * main.C (main): set default name check for boost.filesystem to
330 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
333 (actOnUpdatedPrefs): ditto
335 * lyx_main.C (init): rewrite to use boost.filesystem
336 (queryUserLyXDir): ditto
338 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
339 (getContentsOfAsciiFile): ditto
341 * lastfiles.C (readFile): rewrite to use boost.filesystem
343 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
345 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
348 * buffer.C (Buffer): adjust for destroydir
349 (getLogName): rewrite to use boost.filesystem
351 (save): use fs::copy_file (from fs_extras)
353 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
355 * LaTeX.C (run): rewrite to use boost.filesystem
356 (scanAuxFiles): ditto
357 (handleFoundFile): ditto
359 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
361 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
363 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
365 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
367 * lyxlayout.[Ch]: change some vars from float to double
369 * buffer.C (readFile): make a local var const
371 * Several files: use convert<> instead of atoi,strToXXX and friends
373 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
375 * LaTeXFeatures.[Ch]: Add a static list packages_ that
376 holds the contents of packages.lst. New functions getAvailable
377 and isAvailable to parse and check that list, resp.
381 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
383 * bufferparams.[Ch]: new param output_changes.
385 * Buffer.C: increase file format to 240.
386 Use output_changes and isVailable.
390 * paragraph_pimpl.C: Use output_changes and isVailable.
392 2005-01-23 Angus Leeming <leeming@lyx.org>
394 * output_latex.C: #include "insetbibitem.h", rather than
395 forward declare function bibitemWidest.
397 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
399 * lyx_main.C (init): make it compile on the Mac.
401 2005-01-20 Angus Leeming <leeming@lyx.org>
403 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
404 (setLyXMisc): (char string literal) != (char string literal) is
405 performing a comparison on the addresses. Convert one operand
406 explicitly to string to guarantee expected behaviour.
409 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
412 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
414 * output_plaintext.C: remove unneeded #include gzstream.h.
416 2005-01-20 Angus Leeming <leeming@lyx.org>
418 * SpellBase.h: rename some of the elements of the Result enum.
425 * pspell.C (check): ditto
427 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
429 * buffer.C: add #include <fstream>.
431 * lyx_main.C (init): Compile fix.
433 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
435 2005-01-20 Angus Leeming <leeming@lyx.org>
437 * mover.h: change commentary to reflect the changed meaning of
440 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * output_linuxdoc.C (linuxdocParagraphs): silence warning
444 * lyxfind.C (MatchString::operator()): remove bogus semicolon
446 2005-01-20 Angus Leeming <leeming@lyx.org>
448 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
449 printing diagnostic data by not dereferecing an iterator past the
452 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
454 * buffer.C (readHeader): use "&&" rather than "and".
456 * lyxserver.h (inPipeName, outPipeName): make these const.
458 2005-01-19 Angus Leeming <leeming@lyx.org>
460 * lyx_main.C (error_handler, init): protect SIGHUP with
461 #ifdef SIGHUP guards.
463 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
467 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
469 * text.C (setHeightOfRow): add a margin at the top and bottom of
470 the document (bug 1761)
472 2005-01-17 Angus Leeming <leeming@lyx.org>
474 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
475 with "python ". Workaround for a brain-dead Windows.
477 2005-01-16 Angus Leeming <leeming@lyx.org>
479 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
480 for MacOSX and Windows to use prependEnvPath.
481 Strip out the hard-coded block to add elements to the PATH for
482 MacOSX and replace it with a call to prependEnvPath using the
483 contents of LyXRC::path_prefix.
484 (queryUserLyXDir): strip out the code to run reconfigure, instead
485 returning a boolean indicating the necessity to do so.
486 (reconfigureUserLyXDir): contains the code to reconfigure the
487 user support directory. Is now called after the various LyXRC data
488 files have been read.
490 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
492 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
494 * converter.[Ch] (convert): take a new parameter try_default. Use
495 a default converter (imagemagick) if try_default is true.
497 2005-01-13 Angus Leeming <leeming@lyx.org>
499 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
501 (write): output LyXRC::cygwin_path_fix as necessary.
503 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
506 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
508 2005-01-12 Angus Leeming <leeming@lyx.org>
510 * lyx_main.C (init): set the PATH variable to include the
511 directory containing the LyX binary when running on Mac or Windows.
513 2005-01-12 Angus Leeming <leeming@lyx.org>
515 * lyx_main.C (init): remove cruft that purports to set the locale
516 dir. It doesn't and is not needed anyway.
518 2005-01-10 Angus Leeming <leeming@lyx.org>
520 * Makefile.am: remove the lyx_main.C special casing.
522 * BufferView_pimpl.C:
528 * messages.C: use support/package.h to provide the paths to the
529 various directories used by LyX.
531 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
533 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
534 layout if pasting into an empty paragraph)
536 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
538 * tex-accent.C: add <string>
540 2005-01-06 José Matos <jamatos@lyx.org>
542 * ParagraphParameters.C (write): put every parameter in its own line.
543 * paragraph.C (write): reduce number of consecutive empty lines exported.
544 * buffer.C (LYX_FORMAT): increase file format to 239.
546 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
548 * everywhere: change support/tostr.h -> support/convert.h
550 * tabular.C: make all write_attributes templates, tostr -> convert
552 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
553 (emptyTag): and -> &&, and fix type for ret from getChar
554 (getFirstWord): fix type for ret from getChar
555 (onlyText): and -> &&
556 (simpleDocBookOnePar): and not -> && !, fix type for ret from
559 * toc.C (goTo, action):
560 * text3.C (dispatch):
561 * text.C (currentState):
562 * tex-accent.C (DoAccent):
565 * lyxfunc.C (menuNew):
566 * lyxfinc.C (replace):
567 * counters.C (laberItem):
568 * bufferview_funcs.C (font2string):
569 * bufferparams.C (writeFile):
570 * buffer.C (readFile):
572 * MenuBackend.C: tostr -> convert
574 * LaTeX.C (runMessage): fix format
575 (scanAuxFiles): tostr -> convert
577 * BufferView_pimpl.C (savePosition): fix format
578 (restorePosition): ditto
581 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
583 * Spacing.[Ch]: New method getValueAsString().
587 * ParagraphParameters.C:
590 * text3.C: store/read spacing value as string.
592 * rowpainter.C: change float value (spacing_val) to double.
594 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
595 broken custom document spacing).
597 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
599 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
600 namespace, also more use of temp references and const
602 * cursor.[Ch] (getStatus): move to lyxfunc.C
604 * bufferparams.C: reformat slightly
606 * bufferview_funcs.C (font2string): constify arg
612 * buffer_funcs.C: (many funcs): constify arg on function
613 definitions, also make more local vars const, also add ASSERTS on
616 * buffer.C (LYX_FORMAT): put const in correct place
617 (many funcs): constify arg on function definitions, also make
618 more local vars const
620 * aspell_local.h: remove "struct" from typdef setup
622 * aspell.C (check): make word_ok const
623 (nextMiss): simplify slightly
626 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
628 * lyxrc.[Ch]: store all float values as strings.
629 use int (not float) for lyxrc.dpi.
631 2005-01-04 Angus Leeming <leeming@lyx.org>
633 * lyx_cb.C (Reconfigure):
634 * lyx_main.C (queryUserLyXDir):
635 to run the <system_lyxdir>/configure correctly on Windows, prefix
636 the path to the script with "sh " when generating the string that
637 is passed to system().
639 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
641 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
643 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * lyxlength.C (asLatexString): get rid of setprecision
647 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * text2.C (setLayout): remove unused variable endpit.
650 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
652 * paragraph.C (onlyText): remove unused variable style.
654 * cursor.C (bruteFind): remove unused variables beg and end.
656 * Makefile.am (dist_noinset_DATA): not needed anymore
658 * cheaders/*: remove.
660 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
662 * text3.C: fix LFUN_MATH_MODE.
664 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * buffer_funcs.C (countWords): new function. Counts words between
669 * BufferView_pimpl.C (getStatus, dispatch): handle
672 * LyXAction.C (init):
673 * lfuns.h: add LFUN_WORDS_COUNT.
675 2004-12-19 Angus Leeming <leeming@lyx.org>
677 * buffer.C (save): s/slashify_path/internal_path/.
679 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
681 * lyxfind.C (findChange): do not search for end of pars, because
682 the change tracker cannot handle this (fixes bug 1719).
684 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
686 * paragraph.[Ch] (autoBreakRows): remove
688 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
690 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
691 avoid using the paragraph one
693 * text2.C (LyXText, insertStringAsLines): adjust
695 2004-12-16 Angus Leeming <leeming@lyx.org>
699 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
701 2004-12-14 Angus Leeming <leeming@lyx.org>
703 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
705 * bufferlist.C (emergencyWrite):
706 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
709 2004-12-14 Angus Leeming <leeming@lyx.org>
711 * main.C: (main): no longer pass pointers to os::init.
713 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
715 * undo.C (textUndoOrRedo): simplify logic, fix a crash
716 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
718 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
721 * text3.C: remove selection_possible global flag
723 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
725 * text2.C (getSelectionSpan): remove
726 (changeDepth, changeDepthAllowed): adjust
728 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
730 * Makefile.am (BOOST_LIBS): use boost variables
732 2004-12-03 José Matos <jamatos@lyx.org>
734 * buffer.C: format up to 238.
736 2004-12-03 José Matos <jamatos@lyx.org>
738 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
740 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
742 * cursor.C (goUpDown): remove call to idxUpDown2
744 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
746 * tabular.[Ch]: use size_t-like types for cell, row and column
749 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
751 * lyxfunc.C (getStatus): do not lose previous information when
752 calling BufferView::getStatus; do not set a default "Command
753 disabled" message at the beginning, but just before returning.
755 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
757 * cursor.h (getStatus): add better comment from src/cursor.C
759 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
761 * text3.C (getStatus): return false when the lfun is not handled
763 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
765 * broken_headers.h: remove
767 * Makefile.am (lyx_SOURCES): remove broken_headers.h
769 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
771 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
774 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
775 top_y_, merge fitcursor with update
776 (updateScrollbar, scrollDocView, fitCursor, center, update): new
779 (workAreaDispatch): adapt to new coord scheme
780 (redoCurrentBuffer): remove
782 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
784 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
787 * coordcache.[Ch]: add paragraph cache and helpers
789 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
792 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
793 (targetX, setTargetX): introduce
795 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
796 baseline -> ascent, as the rest of lyx
798 * lyxtext.h: remove redoParagraphs, updateParPositions,
799 fullRebreak, redoParagraphInternal. move dist to anon namespace in
800 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
801 have ascent/descent (ascent is ascent of first par)
803 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
806 * paragraph.[Ch]: unify dimension handling with the rest of lyx
808 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
810 * pariterator.C: fix infinite loop introduced in par->pit renaming
812 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
813 in insets and LyXText, draw two off-screen paragraphs using
814 NullPainter, and adapt to new coord scheme
818 * text3.C: adapt lfun handlers to the new coord scheme, which
819 means: there's only guaranteed coord information for onscreen pars
820 plus one above and one below. This implies that one can do search
821 from y coordinates in the range [-1,workHeight]
823 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
825 * rename a lot of InsetOld to InsetBase
827 2004-11-25 Angus Leeming <leeming@lyx.org>
829 * BufferView_pimpl.C:
831 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
833 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
835 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
836 call BufferView::getStatus if LCursor::getStatus did nothing
837 (setStatusMessage, getStatusMessage): removed.
839 * FuncStatus.C (message): new methods. Used to provide an error
840 message indicating why a command is disabled.
841 (clear, |=, FuncStatus): update for message.
843 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
845 * lyxfunc.C (dispatch): always call sendDispatchMessage
847 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
850 * BufferView_pimpl.C:
864 * undo.C: par->pit renaming
866 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
868 * tabular.C (cellstruct): use initialization, store a shared_ptr
869 to insettext instead of the insettext directly, adjust to fit.
870 (operator=): new function
872 (rowstruct): use initialization
873 (columnstruct): use initialization
874 (ltType): use initialization
877 * lyxlength.h (swap): new function
879 * LColor.[Ch] (operator=): use the common semantics
881 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
883 * lyxfind.C (findNextChange): update the bufferview after setting
886 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
888 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
889 number of InsetOptArgs has already been inserted.
891 * output_latex.C (latexOptArgInsets): new method. This outputs all
892 the optarg insets, up to the limit defined in the layout file.
893 (optArgInset): removed
894 (TeXOnePar): call latexOptArgInsets; correctly update texrow
896 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
898 * paragraph.C (isLetter): remove special spellchecker-related
899 code; return true also for digits
900 (isWord, isKomma): remove
902 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
903 * lyxfind.C (MatchString()): use isLetter instead of isWord
905 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
907 * pariterator.h (operatir=): comment out un-implemented member
910 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
913 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
915 * lyxfont.h: include LColor.h to satisfy concept checks.
917 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
919 * pariterator.h: add typdefs for value_type, difference_type,
920 pointer and reference to satisfy concept checks. Also add default
921 constructor for same reason.
923 * pariterator.C (operator++): add post-increment operator to
924 satisfy concept checks.
926 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
929 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
931 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
932 checks. Also rename base_type to BaseType to follow naming
935 * FloatList.h: include Floating.h to satisfy concept checks.
937 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * lyxfunc.C (getStatus): when the origin of the request is menu or
940 toolbar, and the LyXView does not have focus, do as if there was
943 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
944 FuncRequest to individual entries of LFUN_SEQUENCE
946 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
948 * output_latex.C (TeXOnePar): override runparams.moving_arg
949 according to the needprotect value of the current paragraph (bug
952 * paragraph.C (simpleTeXOnePar): no need to override
953 runparams.moving_args here
955 2004-11-14 John Spray <spray_john@users.sourceforge.net>
957 * vspace.C: fix off-by-one-error, related to fix #1682
959 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
961 * lengthcommon.C: a more general fix for bug 1682
963 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
965 * text.C (backspace): fix crash
967 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
969 * format.[Ch] (getFormatFromFile): new method
970 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
972 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
974 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
976 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
978 * lyxfunc.C (dispatch): remove the verbose argument
979 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
982 * kbmap.C (defkey): set the origin of func to KEYBOARD
984 * MenuBackend.C (MenuItem):
985 * ToolbarBackend.C (add): set the origin of func to UI
987 * funcrequest.[Ch]: add origin member, which indicates which part
988 of LyX requests an action
990 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
992 * converter.C (move): don't lie in the error message
993 * converter.h (isReachable, move): document
995 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
997 * buffer.C: remove unused using lyx::support::atoi
998 * paragraph_funcs.C: ditto
1000 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1002 * bufferlist.C (exists): use bind and equal_to instead of
1005 * lyxtextclasslist.C (NumberOfClass): ditto
1007 * cursor.C (insert): use for_each instead of explicit for loop
1009 * bufferlist.C (getFileNames): use std::transform and
1010 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1012 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1015 * buffer.C (changeLanguage): use for_each instead of explicit for
1017 (hasParWithID): implement using getParFromID
1019 * LaTeXFeatures.C: ws change only
1021 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1024 * BufferView_pimpl.C (trackChanges): use for_each instead of
1027 2004-11-04 André Pönitz <poenitz@gmx.net>
1030 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1032 * dociterator.C (asDocIterator): use hard assert again.
1034 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1036 * lyxlength.C (asLatexString): rewrite so that it does not use
1039 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1041 * text3.C (specialChar, dispatch): make sure cursor moves to the
1042 right after inserting an inset
1044 2004-11-02 José Matos <jamatos@lyx.org>
1046 * output_docbook.C (docbook):
1047 * paragraph.C (getID):
1048 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1049 garantee that the output is always legal.
1051 * tabular.C (docbook):
1052 * outputprams.[Ch]: remove mixed contents.
1054 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1056 * text2.C (setCounter): prevent endless loop
1058 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1060 * exporter.C (copyFile): use the mover instead of support::copy()
1061 * exporter.C (Export): pass format and latex name to copyFile()
1062 * exporter.h (addExternalFile): document
1063 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1065 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1067 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1069 2004-10-30 José Matos <jamatos@lyx.org>
1071 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1072 text and no inset or font change. This allows to use CDATA
1073 sections just for the whole paragraph.
1075 2004-10-30 José Matos <jamatos@lyx.org>
1077 * paragraph.C (getFirstWord): remove unused variable.
1079 2004-10-30 José Matos <jamatos@lyx.org>
1081 * paragraph.C (getFirstWord): the content should always be escaped
1083 (simpleDocBookOnePar):
1084 * output_docbook.C (makeEnvironment): replace reference to CDATA
1087 2004-10-30 José Matos <jamatos@lyx.org>
1089 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1091 2004-10-30 José Matos <jamatos@lyx.org>
1093 * output_docbook.C (makeParagraphs):
1094 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1095 standard paragraph has only a given type of content drop the wrapper.
1097 2004-10-29 José Matos <jamatos@lyx.org>
1099 * output_docbook.C (makeEnvironment):
1101 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1103 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1105 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1106 (cleanID): sanitize any id.
1108 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1110 * buffer.C, lyxlex_pimpl.C:
1111 * lyxlex_pimpl.C (setFile):
1112 s/getExtFromContents/getFormatFromContents/
1114 2004-10-28 José Matos <jamatos@lyx.org>
1116 * output_docbook.C (makeEnvironment): move id to broadest possible
1119 * sgml.C (openTag): apply substitution of <> for all attributes.
1121 2004-10-28 José Matos <jamatos@lyx.org>
1123 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1124 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1125 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1127 * sgml.[Ch]: new version for open and closeTag for paragraph and
1128 for strings. Now they handle the ids of paragraphs.
1130 2004-10-26 Angus Leeming <leeming@lyx.org>
1132 * Makefile.am: add mover.[Ch].
1134 * converter.C (convert, move): use the new Movers to move external
1135 files to the temp directory.
1137 * lyx_main.C (init): ensure that the global system_movers data
1140 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1143 * mover.[Ch]: new files, defining a Mover as a utility to move an
1144 external file between directories and, if necessary, manipulate this
1145 file using a helper script.
1147 2004-10-25 José Matos <jamatos@lyx.org>
1149 * output_docbook.C (makeCommand): merge two if's that tested the
1152 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1154 * sgml.C (escapeString): fix warning in a better way
1156 2004-10-25 José Matos <jamatos@lyx.org>
1158 * sgml.C (escapeString): import the require boosts header file for
1159 tie, and avoid a signed unsigned comparison.
1161 2004-10-25 José Matos <jamatos@lyx.org>
1163 * sgml.h: add #include <string>
1165 2004-10-25 José Matos <jamatos@lyx.org>
1167 * sgml.[Ch] (escapeString): new function to escape all the string.
1169 2004-10-24 José Matos <jamatos@lyx.org>
1171 * paragraph.[Ch] (getFirstWord): new function to get the first
1172 word. Useful for description.
1173 (simpleDocBookOnePar): remove depth argument, add another that
1174 says where to start the paragraph.
1176 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1177 use the new functions to fix cleanly the support for descriptions.
1179 2004-10-24 José Matos <jamatos@lyx.org>
1181 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1182 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1183 * output_linuxdoc.C (linuxdocParagraphs):
1184 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1185 add buffer as argument.
1187 2004-10-24 José Matos <jamatos@lyx.org>
1189 * output_docbook.C (makeEnvironment, searchEnvironment): place
1190 CDATA inside paragraphs and fix scope for listitems.
1192 2004-10-24 José Matos <jamatos@lyx.org>
1194 * output_docbook.C: remove using statement for stack.
1196 2004-10-23 José Matos <jamatos@lyx.org>
1198 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1199 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1200 docbook. The new scheme is recursive and makes use of iterators, the
1201 same as latex export works.
1202 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1203 directly with the paragraph contents. This code was moved up to
1204 output_docbook.C (docbookParagraphs).
1205 * sgml.C (openTag, closeTag): removed unneeded newlines.
1206 (closeEnvTags) removed.
1208 2004-10-23 André Pönitz <poenitz@gmx.net>
1210 * undo.C (textUndoOrRedo):
1211 * dociterator.C (asDocIterator): work around crash
1213 * cursor.C (getStatus): replace ASSERT by more verbose error message
1214 and manual correction of the problem. Should increase stability
1215 while providing more sensible information.
1217 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1219 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1221 * bufferlist.C (previous, next): new methods
1224 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1226 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1228 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1229 entities to preamble.
1231 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1233 * messages.C (Pimpl): strip off translation context information
1235 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1238 the cursor is correct (bug 1694)
1240 2004-10-13 José Matos <jamatos@lyx.org>
1242 * output_docbook.C (docbookParagraphs): fix closing tags in the
1243 end of the document.
1245 2004-10-09 José Matos <jamatos@lyx.org>
1247 * buffer.C: format up to 237.
1248 * bufferparams.C (write): use tostr to convert booleans to strings.
1250 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1252 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1254 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1256 * LaTeX.C: implement use of babel language in xindy.
1258 2004-10-05 José Matos <jamatos@lyx.org>
1260 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1261 Add new translators to help reading and writing the lyx file.
1263 2004-10-05 José Matos <jamatos@lyx.org>
1265 * ParagraphParameters.C (read):
1266 * text.C (readParToken): replace nexToken by more appropriate lex
1269 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1271 * LaTeX.C (runMakeIndex):
1272 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1273 (usually 'makeindex') configurable.
1275 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1276 with a variable rather than with a number.
1278 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1280 * output_latex.C (TeXOnePar): make sure font setting is the first
1281 thing that gets output (and the last at the end). Should fix bug
1284 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1286 * pch.h: use proper signal include
1288 * LaTeX.h: Use preferred calling of Boost.Signal
1291 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1293 * pch.h: dont include <boost/function/function0.hpp>
1295 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1297 * paragraph_pimpl.h: remove usage of ShareContainer
1299 * paragraph_pimpl.C: remove initialization of ShareContainer.
1301 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1305 * BufferView.C (putSelectionAt): change the semantics when
1306 backwards == true: now, this just swaps cursor and anchor wrt the
1309 * BufferView.h (putSelectionAt): add some documentation
1311 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1312 make sure backwardChar is done at least once (to avoid getting
1314 (findNextChange): use putSelectionAt in the forward direction
1315 (operator()): use Paragraph::isWord
1317 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1319 * Spacing.C (set): c_str fix
1321 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1323 * lyx_cb.C (Reconfigure): quote the name of configure script in
1324 case it contains spaces
1326 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1330 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1331 (BOOST_LIBS): use top_buildir when looking for the file
1333 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1335 * pch.h: do not use include boost/format.hpp, multiple symbols
1336 will result (gcc bug)
1339 2004-08-23 José Matos <jamatos@lyx.org>
1341 * bufferparams.C (readToken): fix reading of the author field.
1343 2004-08-20 José Matos <jamatos@lyx.org>
1345 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1347 2004-08-20 José Matos <jamatos@lyx.org>
1349 * lyxlex.[Ch] (findToken): remove function.
1351 * ParagraphParameters.C (findToken):
1352 * bufferparams.C (findToken): replace call for previous function
1353 with local copy. This local function has one more argument, the
1354 read string argument.
1356 2004-08-16 José Matos <jamatos@lyx.org>
1358 * ParagraphParameters.C (write):
1359 * Spacing.C (writeFile):
1360 * bufferparams.C (writeLaTeX):
1361 * lyx_cb.C (Reconfigure):
1362 * paragraph.C (write):
1363 * tabular.C (write): remove unnecessary space at end of line.
1366 2004-08-16 José Matos <jamatos@lyx.org>
1368 * text.C (readParagraph): remove debug message.
1370 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1372 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1375 * output_plaintext.C (asciiParagraph): set depth correctly
1377 * outputparams.h: add member depth
1379 * paragraph_funcs.C (ownerPar): remove.
1381 * text2.C (setCounter): remove first_pit; comment out some
1382 non-working code that uses ownerPar
1384 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1387 2004-08-16 José Matos <jamatos@lyx.org>
1389 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1390 For the same level of importance use the same chanel to report problems.
1391 (read): add code to deal with \begin_body and \end_body.
1394 2004-08-15 José Matos <jamatos@lyx.org>
1396 * lyxlex.C (getString): fix comment, buffer::readBody is now
1397 buffer:readDocument.
1399 * tex-strings.C (string_papersize): Default -> default,
1400 Custom -> custom, for consistency with other options.
1402 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1406 * Makefile.am: support pch
1408 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1410 * text.C (readParToken): remove the static LyXFont variable and
1411 pass it as a parameter instead. This fixes a nasty bug where an
1412 inset will be inserted with a bad font in some situations
1413 (readParagraph): adapt
1415 * text2.C (setCounter): reduce number of calls to pars_[pit]
1417 * text.C (singleWidth): add an assert, fix a test
1419 * rowpainter.C (paintText): reduce number of calls to singleWidth
1421 * paragraph.C (isHfill):
1422 (isNewline): ws only
1424 2004-08-14 André Pönitz <poenitz@gmx.net>
1429 * lyxtext.h (several functions): use a Paragraph & argument
1432 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1434 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1436 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1438 * text.C (singleWidth): remove useless test
1440 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * tabular.h: remove bogus comments
1444 * tabular.C (getDescentOfRow):
1445 (isPartOfMultiColumn): add assertions
1447 * lyxlength.C (inPixels): remove #warning
1449 2004-08-14 André Pönitz <poenitz@gmx.net>
1451 * paragraph.h: inline getChar()
1453 * BufferView.h: remove unused declarations
1455 2004-08-14 José Matos <jamatos@lyx.org>
1457 * Buffer.[Ch] (readDocument): new name for old readBody.
1458 * Buffer.C: new file format, new keywords: \begin_document,
1459 \begin_header, \begin_body, \end_body.
1461 * bufferparams.C (readToken): replace all calls to lex.nextToken
1462 by lex.next(). Do the same to eatLine except where really needed.
1464 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1465 line when writing to the lyx file.
1467 * output_plaintext.C (asciiParagraph): fix Bibliography style
1470 * text.C (read): fix end of file handling.
1472 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1474 * MenuBackend.C (Menu::operator[]): new method to access
1475 individual menu items
1476 (Menu::hasFunc): new method. search for an item that corresponds
1478 (MenuBackend::specialMenu): new method
1479 (MenuBackend::expand): if a special menu has been set, skip
1480 entries whose func() appears in this menu
1482 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1484 * text3.C: use Debug::DEBUG a bit more
1486 * text.C (leftMargin): try to simplify a tiny bit change var x to
1487 l_margin. Dont output the wide margins always.
1488 (rightMargin): no margin in inner texts
1490 * rowpainter.h (nestMargin): new func
1491 (changebarMargin): new func
1492 (rightMargin): new func
1494 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1498 * factory.C (createInset): modify setDrawFrame
1500 * cursor.C: use Debug::DEBUG a bit more
1502 2004-08-14 André Pönitz <poenitz@gmx.net>
1505 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1506 cache for all insets in (at least partially) visible (top-level)
1509 * BufferView_pimpl.C: reset external coord cache before every update.
1510 This means the coord cache only contains valid entries.
1512 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1515 * BufferView_pimpl.C (getInsetByCode): move function out of class
1516 and change in to a template in anon namespace. Also fix to do what
1519 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1522 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1524 (breakParagraph): rename par to par_offset and use a local
1525 reference. Add code to keep the language over a rebreak.
1526 (breakParagraphConservative): rename par to par_offset, use a
1528 (mergeParagraph): ditto
1530 (isFirstInSequence): ditto
1531 (outerFont): rename pit to par_offset
1533 * paragraph.C: ws change
1534 * paragraph.h: ditto
1538 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1540 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1543 * paragraph.C (simpleTeXOnePar): when we have a \item with
1544 optional argument, enclose the argument with curly brackets (in
1545 case it contains a closing square bracket)
1549 * text3.C (checkInsetHit): constify
1551 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1553 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1554 documents (bug 1629)
1556 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1558 Fix toggling of collapsable insets with the mouse (bug 1558)
1560 * lyxfunc.C (dispatch): adapt to LCursor changes
1562 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1563 make sure that dispatch is not invoked twice
1565 * cursor.C (needsUpdate): new method
1566 (dispatch): return void
1567 (result): new method, to access the DispatchResult of the cursor.
1569 2004-08-13 José Matos <jamatos@lyx.org>
1571 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1573 2004-08-13 André Pönitz <poenitz@gmx.net>
1575 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1577 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1580 2004-08-12 André Pönitz <poenitz@gmx.net>
1582 * text3.C: take out the 'cursor right' form insertInset and only
1583 do it in those places when it is really needed. Fixes crash on
1586 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1588 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1590 * BufferView_pimpl.C (setBuffer): initialize the current font of
1591 the underlying LyXText
1593 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1595 * kbsequence.C (print): use UI native formatting for menu
1598 * text.C (insertChar): call Paragraph::insertChar with a font
1601 * paragraph.C (insertInset, insertChar): the version that takes a
1602 LyXFont argument is now a wrapper around the other one (the
1603 opposite used to be true).
1605 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1606 argument. Font setting is done in Paragraph now.
1608 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1610 * outputparams.h: add new members intitle and lang.
1612 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1613 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1615 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1617 * text3.C (dispatch): remove special handling of button 4 and 5,
1618 it is now taken care of in the frontend code.
1620 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1622 * Spacing.h: add <string> (STLPort compile fix)
1624 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1626 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1628 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1630 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1633 * converter.C (showMessage): inherit from unary_function, make
1636 * buffer.C (writeFile): initialize retval
1638 * InsetList.h: rename private variable list to list_
1639 * InsetList.[Ch]: adjust accordingly.
1641 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1643 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1644 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1645 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1646 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1647 * ParagraphParameters.C, LaTeXFeatures.C: replace
1648 "support/std_sstream.h" with <sstream>
1650 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1652 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1653 * lyxsocket.C (LyXServerSocket): ditto
1654 (serverCallback): ditto
1656 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1658 * LaTeXFeatures.C: check release date when loading jurabib.
1660 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1662 * lyxserver.C (startPipe): call register_socket_callback
1663 (endPipe): call unregister_socket_callback
1665 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1667 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1668 (LyXServerSocket): register the callback
1669 (LyXServerSocket): unregister the callback
1670 (fd): delete function
1671 (serverCallback): improve error checking and setup the callbacks.
1672 (dataCallback): change arg to fd.
1673 (writeln): new func (copied fro the client socket) used for server
1675 (LyXDataSocket): simplify
1676 (~LyXDataSocket): close ann unregiser callback
1677 (server): delete function
1678 (fd): delete function
1679 (readln): small changes, improve some std::string usage
1680 (writeln): constify a bit
1682 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1684 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1687 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1689 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1690 after it has been populated
1692 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1694 * text2.C (insertInset): move cursor when inserting inset.
1696 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1698 * kbmap.C (findbindings): a couple of new methods. returns a
1699 container of kb_sequence objects. The real work is done by the
1700 private recursive version
1701 (printbindings): uses findbindings to print out a bracketed list
1702 of bindings (renamed from findbinding).
1704 * MenuBackend.C (binding): use kb_keymap::findbindings
1706 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1708 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1710 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1712 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1714 * paragraph.C (isWord): return true on insets that report
1717 * text.C (getWord): use Paragraph::isWord to decide what is in a
1718 word and what is not; fix bug 1609.
1720 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1722 * tex-strings.C: add "none" to string_paperpackages[], fixes
1723 off-by-one-error in the paperpackage selection.
1726 * tex-strings.[Ch]: char const * string[n]
1727 -> char const * const string[]
1729 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1731 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1732 command, return early.
1734 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1736 * debug.h: add DEBUG to enum and fix size of ANY.
1738 * debug.C: add support for Debug::DEBUG
1739 (showTags): cast errorTags.level to unsigned int
1741 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1742 (redoCurrentBuffer): ditto
1743 (updateScrollbar): ditto
1744 * cursor.C (dispatch): ditto
1745 * text2.C (setLayout): ditto
1747 (updateCounters): ditto
1749 (deleteEmptyParagraphMechanism): ditto
1751 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1753 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1754 annotations to cleanup the Makefile slightly.
1756 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1758 * lyxrc.C: do not set user_email to a default value but use empty
1759 instead. The entry used to be translated, which does not work
1760 since at the point where lyxrc is constructed there is no
1761 translation service available
1763 * messages.C (getLocaleDir): remove and use directly
1764 lyx_localedir() instead
1766 2004-06-02 Angus Leeming <leeming@lyx.org>
1768 Fix crash caused by dereferencing null pointer 'exportdata' in
1769 OutputParams by creating a new ExportData variable on the heap,
1770 storing it in a boost::shared_ptr.
1771 The crash was triggered when generating an Instant Preview
1772 of an external inset.
1774 * Makefile.am: add outputparams.C
1776 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1777 (c-tor): allocate memory to it.
1779 * exporter.C (c-tor): associated changes.
1781 2004-06-01 Angus Leeming <leeming@lyx.org>
1783 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1784 contains data before calling isInset(0). (Bug 1513.)
1786 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1788 * exporter.C (checkOverwrite): new method
1789 * exporter.C (copyFile): new method
1790 * exporter.C (Export): copy referenced files to the document dir
1791 * exporter.[Ch]: new class ExportedFile
1792 * exporter.[Ch]: new class ExportData. Contains currently the
1793 names of referenced external files
1794 * outputparams.h: add exportdata member.
1796 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1798 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1801 2004-05-19 Angus Leeming <leeming@lyx.org>
1806 * lyxfunc.C: small changes due to the introduction of namespace
1807 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1809 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1811 * text3.C (dispatch): supress update when only moving the cursor
1812 * cursor.C (selHandle): remove commented code
1814 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1816 * paragraph.C (startTeXParParams): correct column count
1817 * CutAndPaste.C (pasteSelection): remove const_cast
1818 * output_docbook.C (docbookParagraphs): remove const_cast
1819 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1820 const_cast and return ParagraphList::const_iterator
1821 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1822 * output_plaintext.C (writeFileAscii): remove const_cast
1823 * paragraph.[Ch] (simpleTeXOnePar): make const
1824 * paragraph_funcs.C (outerPar): use const iterators
1825 * paragraph_pimpl.C (validate): use const iterators
1826 * text.C (setHeightOfRow): use const iterators
1828 2004-05-17 Angus Leeming <leeming@lyx.org>
1831 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1833 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1834 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1835 if the citation engine has changed.
1837 2004-05-14 José Matos <jamatos@lyx.org>
1839 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1840 if the textclass does not provide it. Have it different for sgml and
1842 support the language of document.
1843 * output_docbook.C (docbookParagraphs):
1844 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1845 first anchor as the id of the paragraph, remove special case code.
1846 * sgml.C (escapeChar): escape only < & >.
1848 2004-05-14 Angus Leeming <leeming@lyx.org>
1850 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1851 dependencies on src/frontends/controllers/biblio.h. Define a
1852 CiteEngine_enum wrapper class to enable the enum to be forward
1855 2004-05-12 Angus Leeming <leeming@lyx.org>
1857 * buffer.C: up LYX_FORMAT to 234.
1858 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1859 use_numerical_citations with a single biblio::CiteEngine cite_engine
1861 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1863 2004-05-13 José Matos <jamatos@lyx.org>
1866 * converter.C (Converter, readFlags): add xml member.
1867 * outputparams.h: add XML flavor.
1868 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1870 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1872 * lyxfunc.C (dispatch):
1873 (getStatus): fix handling of LFUN_SEQUENCE
1875 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1877 * debug.C (showLevel): do not forget the end-of-line marker
1879 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1881 * kbmap.C (read): do not stop parsing a bind file when an error
1884 2004-04-29 Angus Leeming <leeming@lyx.org>
1889 * text2.C: wrap a bunch of #warning statements
1890 inside #ifdef WITH_WARNINGS blocks.
1892 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1894 * buffer.C: increment format to 233.
1896 2004-04-28 Angus Leeming <leeming@lyx.org>
1898 * BufferView_pimpl.C:
1901 s/updateToolbar()/updateToolbars()/
1902 s/Toolbar.h/Toolbars.h/
1904 2004-04-28 Angus Leeming <leeming@lyx.org>
1906 * BufferView.[Ch] (c-tor):
1907 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1908 No longer passes these data to the WorkArea generator.
1910 2004-04-28 Angus Leeming <leeming@lyx.org>
1912 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1914 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1916 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1918 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1920 * output_latex.C (TeXEnvironment): make sure that there is a line
1921 break before \end{foo} for the last paragraph of a document
1922 (TeXOnePar): if the paragraph is at the end of the document (or
1923 inset) and the language has to be reset, then make sure that the
1924 line break is _before_ the language command, not after (fixes bug
1925 1225); also make sure that the language reset command is the first
1926 thing after the paragraph (to ensure proper nesting of
1927 environments and thus fix bug 1404)
1929 2004-04-21 John Levon <levon@movementarian.org>
1932 * ToolbarBackend.C: make "name" be a programmatic name
1933 and a gui_name field.
1935 * lyxfunc.C: display the minibuffer on M-x
1937 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1939 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1942 2004-04-19 Angus Leeming <leeming@lyx.org>
1944 * BufferView_pimpl.C (setBuffer): changed preview interface.
1946 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1949 2004-04-19 John Levon <levon@movementarian.org>
1951 * BufferView_pimpl.C:
1952 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1954 2004-04-05 Angus Leeming <leeming@lyx.org>
1956 * text.C (redoParagraphs): add call to updateCounters(), thereby
1957 fixing the missing "Figure #:" label from the caption of a
1960 2004-04-13 Angus Leeming <leeming@lyx.org>
1962 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1963 cursor is clicked out of an inset.
1965 2004-04-13 Angus Leeming <leeming@lyx.org>
1967 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1968 than an InsetOld one.
1970 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1972 * format.[Ch]: add editor to Format
1973 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1974 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1976 2004-04-08 André Pönitz <poenitz@gmx.net>
1978 * metricsinfo.h: remove PainterInfo::width member
1980 2004-04-08 Angus Leeming <leeming@lyx.org>
1982 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1983 "\providecommand" rather than "\newcommand", thereby preventing
1984 clashes with packages that define "\boldsymbol" themselves.
1987 2004-04-08 Angus Leeming <leeming@lyx.org>
1989 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1990 thereby squashing an unnecessary warning.
1992 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1994 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1997 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1999 * BufferView.C (setCursor): call redoParagraph (some insets could
2001 (putSelectionAt): remove the 'double update' trick
2003 * BufferView_pimpl.C (fitCursor): call refreshPar
2004 (workAreaDispatch): remove an uneeded update call
2005 (dispatch): remove some manual update calls
2007 * cursor.[Ch]: remove cached_y_, updatePos
2008 (selHandle): set noUpdate when appropriate
2010 * lyxfunc.C (dispatch): track if we need an update
2012 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2014 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2015 (paintSelection): cheap optimization, do not call cursorX when not
2017 (paintPars): change signature
2020 (paintTextInset): adjust
2024 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2026 * lengthcommon.C: compilation fix: remove explicit array size from
2027 unit_name[] and friends
2029 2004-04-05 Angus Leeming <leeming@lyx.org>
2031 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2033 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2034 present only for the preferences dialog.
2035 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2037 2004-04-05 Angus Leeming <leeming@lyx.org>
2039 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2040 to enable the frontends to export changes to lyxrc correctly.
2042 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2044 2004-04-07 André Pönitz <poenitz@gmx.net>
2046 * cursor.[Ch] (selClear, adjust): remove math
2048 * cursor_slice.C: more agressive assert
2051 * BufferView_pimpl.C: rework mouse event dispatch
2058 2004-04-05 André Pönitz <poenitz@gmx.net>
2060 * cursor.[Ch] (valign, halign...): remove unneeded functions
2062 2004-04-05 Angus Leeming <leeming@lyx.org>
2064 * lyxlength.[Ch] (unit_name et al.): const-correct.
2066 2004-04-05 Angus Leeming <leeming@lyx.org>
2068 * BufferView_pimpl.C:
2077 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2079 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2081 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2083 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2085 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2086 * BufferView_pimpl.[Ch] (getStatus)
2087 * BufferView.[Ch] (getStatus): add
2088 * lyxfunc.C (getStatus): move lfuns handled in
2089 BufferView::dispatch to te function above
2090 * Cursor.C (setSelection): set selection() = true
2092 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2094 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2096 2004-03-31 Angus Leeming <leeming@lyx.org>
2098 * lyxfunc.C (dispatch): Fall through to the generic
2099 Dialogs::show("preamble").
2101 2004-03-31 Angus Leeming <leeming@lyx.org>
2103 * lyxfunc.C (dispatch): Fall through to the generic
2104 Dialogs::show("spellchecker").
2106 2004-03-31 Angus Leeming <leeming@lyx.org>
2108 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2111 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2116 * insetiterator.[Ch]:
2121 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2123 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2125 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2126 insets where we are putting the cursor.
2128 2004-03-31 Angus Leeming <leeming@lyx.org>
2131 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2133 * lyxrc.[Ch] (read, write): overloaded member functions taking
2134 a std::[io]stream arguments.
2136 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2138 2004-03-31 Angus Leeming <leeming@lyx.org>
2140 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2141 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2143 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2144 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2146 2004-03-31 Angus Leeming <leeming@lyx.org>
2148 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2149 the LFUN_ALL_INSETS_TOGGLE code.
2151 2004-03-30 Angus Leeming <leeming@lyx.org>
2153 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2154 has died. Fall through to the generic Dialogs::show("document").
2156 2004-03-30 Angus Leeming <leeming@lyx.org>
2159 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2160 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2162 * lyxfunc.C (getStatus, dispatch): define the actions for these
2163 lfuns. Little more than a cut and pste job from ControlDocument.C
2165 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2167 2004-03-30 Angus Leeming <leeming@lyx.org>
2170 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2171 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2173 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2174 open/closed state of ollapsable insets. Usage:
2176 all-inset-toggle <state> <name>, where
2177 <state> == "open" || "closed" || "toggle" and
2178 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2180 * lyxtext.h, text2.C (toggleInset): removed.
2182 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2183 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2184 now passes LFUN_INSET_TOGGLE to the found inset.
2186 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2187 is now invoked as "all-insets-toggle toggle branch".
2189 2004-03-30 Angus Leeming <leeming@lyx.org>
2193 * pariterator.[Ch]: added/corrected header blurb.
2195 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2197 * dociterator.[Ch]: add an inset_ member
2198 (backwardPos): implemented
2199 (backwardPos, forwardPos): use inset_ when the stack is empty.
2200 (doc_iterator_begin, doc_iterator_end): implemented
2201 * pariterator.[Ch]: adjust, add begin, end
2202 * insetiterator.[Ch]: adjust, add begin, end
2206 * BufferView_pimpl.C:
2207 * CutAndPaste.C: adjust
2209 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2211 * buffer.C: increment file format to 232.
2212 * LaTeXFeatures.C: add bibtopic package.
2213 * bufferparams.[Ch]: param \use_bibtopic.
2215 * lyxrc.[Ch]: add lyxrc bibtex_command
2216 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2218 * buffer.C: increment file format to 231.
2220 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2222 * dociterator.C: implement forwardPar
2223 * iterators.[Ch]: remove, replaced by
2224 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2226 * BufferView_pimpl.C:
2229 * bufferview_funcs.C:
2235 * Makefile.am: adjust
2237 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2239 * CutAndPaste.C (pasteSelection): fix 2 crashes
2240 (eraseSelection): fix a crash
2241 * paragraph_funcs.C: remove a warning
2243 2004-03-28 Angus Leeming <leeming@lyx.org>
2246 * LyXAction.C (init): new LFUN_PRINT.
2248 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2250 2004-03-27 Angus Leeming <leeming@lyx.org>
2253 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2255 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2257 2004-03-27 Angus Leeming <leeming@lyx.org>
2259 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2260 insetlist always contains non-null pointers to insets.
2262 2004-03-26 Angus Leeming <leeming@lyx.org>
2264 * src/BufferView_pimpl.C:
2265 * src/CutAndPaste.C:
2268 * src/output_plaintext.C:
2269 * src/outputparams.h:
2270 * src/paragraph_funcs.C:
2274 * src/frontends/controllers/ControlErrorList.C:
2275 * src/frontends/gtk/FileDialogPrivate.C:
2276 * src/frontends/gtk/GPainter.C:
2277 * src/frontends/gtk/GToolbar.C:
2278 * src/frontends/qt2/QRef.C:
2279 * src/mathed/math_scriptinset.C: squash compiler warnings.
2281 2004-03-26 Angus Leeming <leeming@lyx.org>
2283 * ispell.C (LaunchIspell::start):
2284 * lyx_cb.C (AutoSaveBuffer::start):
2285 invoke run(DontWait) rather than runNonBlocking().
2287 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2289 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2291 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2293 * kbsequence.C (print): adjust
2295 * kbmap.C (printKeySym): rename and change signature
2296 (printKey): use LyXKeySym::print()
2298 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2300 * undo.C: add using std::advance to compile for stlport
2302 2004-03-24 Angus Leeming <leeming@lyx.org>
2304 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2305 it leads to a crash when no buffer is present.
2307 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2308 Martin Vermeer <martin.vermeer@hut.fi>
2310 * lyxfunc.C (dispatch):
2311 * bufferparams.C (readToken): use the new LColor::setColor
2313 * LColor.[Ch] (setColor): new version that takes two strings as
2314 argument and creates a new color entry if necessary
2316 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2318 * buffer.C (makeLaTeXFile): if the main latex file that is
2319 processed is usually a subdocument of some master, then pretend
2320 for a while that it is actually the master
2322 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2324 * buffer.C (getLabelList):
2325 (getBibkeyList): use getMasterBuffer()
2326 (getMasterBuffer): new method. Returns the main document in the
2327 case where one is using included documents.
2329 2004-03-25 André Pönitz <poenitz@gmx.net>
2333 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2335 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2337 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2338 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2340 * ParameterStruct.h: merge with ParagraphParameters
2342 * lyxtext.h: remove LyXText::parOffset() and getPar()
2344 * text3.C: Remove all 'manual' update calls. We do now one per user
2345 interaction which is completely sufficient.
2349 * BufferView_pimpl.C:
2350 * FontIterator.[Ch]:
2352 * ParagraphParameters.[Ch]:
2357 * cursor_slice.[Ch]:
2364 * output_docbook.[Ch]:
2365 * output_latex.[Ch]:
2366 * output_linuxdoc.[Ch]:
2367 * output_plaintext.[Ch]:
2369 * paragraph_funcs.[Ch]:
2370 * paragraph_pimpl.[Ch]:
2378 * frontends/controllers/ControlDocument.C:
2379 * frontends/controllers/ControlErrorList.C:
2380 * frontends/controllers/ControlSpellchecker.C:
2383 * insets/insetbase.h:
2384 * insets/insetbibitem.C:
2385 * insets/insetbox.C:
2386 * insets/insetbranch.C:
2387 * insets/insetcaption.C:
2388 * insets/insetcharstyle.C:
2389 * insets/insetcharstyle.h:
2390 * insets/insetcollapsable.C:
2391 * insets/insetcollapsable.h:
2392 * insets/insetert.C:
2393 * insets/insetfloat.C:
2394 * insets/insetfoot.C:
2395 * insets/insetmarginal.C:
2396 * insets/insetnote.C:
2397 * insets/insetoptarg.C:
2398 * insets/insettabular.C:
2399 * insets/insettext.C:
2400 * insets/insettext.h:
2401 * insets/insetwrap.C:
2402 * mathed/math_mboxinset.C:
2403 * mathed/math_nestinset.C:
2404 * mathed/math_scriptinset.C:
2405 * mathed/math_scriptinset.h:
2408 2004-03-24 Angus Leeming <leeming@lyx.org>
2410 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2411 deal with any child processes that have finished but are waiting to
2412 communicate this fact to the rest of LyX.
2414 2004-03-24 Angus Leeming <leeming@lyx.org>
2416 64-bit compile fixes.
2418 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2419 (c-tor): pass lyx::pos_types rather than ints.
2421 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2424 * text.C (Delete): compile fix.
2425 (getPar): ensure that function declaration is the same as that in
2428 2004-03-23 Angus Leeming <leeming@lyx.org>
2430 * ispell.C (LaunchIspell):
2431 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2432 a boost::shred_ptr rather than a std::auto_ptr.
2434 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2436 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2437 handle LFUN_FILE_INSERT_*
2439 * lyxrc.C (setDefaults, getDescription, output, read):
2440 * lyxrc.h: remove ps_command
2442 2004-03-22 Angus Leeming <leeming@lyx.org>
2444 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2445 Ensure that error_handler is processed once only and that all data
2446 is saved before attempting to output any warning messages.
2448 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2450 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2452 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2454 2004-03-19 André Pönitz <poenitz@gmx.net>
2456 * cursor.[Ch] (reset): take main text inset as argument
2458 * BufferView: adjust
2459 * BufferView_pimpl.C: adjust
2461 * paragraph.[Ch]: fix completely broken operator=()
2463 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2465 * LColor.C (getFromLyXName): make sure that the color name is used
2468 2004-03-17 Angus Leeming <leeming@lyx.org>
2471 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2473 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2474 dialog and to kill a forked process.
2476 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2478 * text2.C (setCursorFromCoordinates): fix font problem
2480 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2482 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2483 bogus "rebuild cursor" code
2485 2004-03-11 André Pönitz <poenitz@gmx.net>
2487 * buffer.[Ch]: use InsetText instead of LyXText as container for
2490 * dociterator.[Ch]: drop the BufferView * member which is not needed
2491 anymore after the change to buffer.C
2493 * paragraph_funcs.C:
2497 * BufferView_pimpl.[Ch]:
2499 * cursor_slice.[Ch]: adjust
2501 * text3.C: fix bug in mathDispatch
2503 2004-03-08 André Pönitz <poenitz@gmx.net>
2505 * undo.[Ch]: use 'StableDocumentIterator' as base for
2508 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2511 * bufferparams.[Ch]: add jurabib support and param.
2513 * LaTeX.C: add FIXME/comment.
2515 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2517 * buffer.C: increment file format to 230.
2519 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2521 * cursor.C (dispatch): avoid infinite loops
2523 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2525 * rowpainter.C (paintSelection): fix x coordinates
2527 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2529 * text.C (rowBreakPoint): fix breaking before displayed insets
2531 2004-03-01 André Pönitz <poenitz@gmx.net>
2533 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2535 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2539 * BufferView_pimpl.C:
2547 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2553 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2554 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2556 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2558 * Bidi.[Ch] (computeTables): const correctness
2559 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2560 fill_hfill, fill_label_hfill and x from Row
2561 * lyxtext.h: prepareToPrint returns a RowMetrics
2562 * rowPainter.C: adjust
2563 * text.C (prepareToPrint): use width, not textWidth. adjust
2564 (redoParagraphInternal, cursorX): adjust
2565 * text2.C (getColumnNearX): adjust
2566 (init): put a default value to the top LyXText::width
2568 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2570 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2572 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2574 * lyxtext.h: add FontIterator class
2576 * text.C (FontIterator, operator*, operator->, operator++): add
2577 (rowBreakPoint, setRowWidth): adjust (fixing a
2580 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2582 * BufferView_pimpl.C (workAreaDispatch): allow also
2583 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2585 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2587 * text.C (rowBreakPoint): fix a bug showing with very large insets
2589 2004-02-25 André Pönitz <poenitz@gmx.net>
2592 * cursor.[Ch]: move some mathed specific code to mathed
2594 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2596 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2597 use_tempdir in preferences
2598 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2600 * lyx_main.C: ensure that tempdir is valid
2601 * lyxlex.h: correct typo
2602 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2603 * paragraph.[Ch] (isMultiLingual): make const
2604 * cursor.[Ch] (openable): make const
2606 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2608 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2610 2004-02-20 André Pönitz <poenitz@gmx.net>
2612 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2614 * cursor.[Ch]: prepare for localized getStatus()
2620 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2622 2004-02-20 André Pönitz <poenitz@gmx.net>
2624 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2626 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2628 * text2.C (setCursorFromCoordinates): switch to absolute coords
2630 (cursorDown): adjust
2631 * text3.C (dispatch): adjust
2633 2004-02-16 André Pönitz <poenitz@gmx.net>
2635 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2638 * cursor_slice.[Ch]: remove unneeded acessor function
2640 * lyxtext.h: rename rtl() to isRTL()
2648 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2650 * rowpainter.C (paintSelection): coord fix
2652 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2654 * Spacing.C: compile fix
2656 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2658 * cursor.C (dispatch): restore current_ before returning
2660 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2662 * text2.C (cursorUp, cursorDown): fix coords
2665 2004-02-12 André Pönitz <poenitz@gmx.net>
2670 * text3.C: add LCursor & parameter to most cursor movement functions
2671 remove usage of LyXText::cursorRow() and cursorPar()
2673 * cursor.[Ch]: add textRow() needed members
2676 * BufferView_pimpl.C:
2679 * BufferView_pimpl.C: adjust
2681 2004-02-11 André Pönitz <poenitz@gmx.net>
2685 * BufferView_pimpl.C: shift undo/redo handling
2687 * cursor.[Ch]: fix mathed crash
2690 * lyxtext.h: move selectionAsText to LCursor
2698 * rowpainter.C: fix excessive drawing
2700 2004-02-06 André Pönitz <poenitz@gmx.net>
2703 * BufferView_pimpl.[Ch]:
2704 * text3.C: move some text specific LFUN handling
2706 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2708 * text3.C (checkInsetHit): adjust coords
2709 * text2.C (getColumnNearX): adjust coords
2710 (edit): adjust coords
2711 * text.C (getRowNearY): add two asserts
2713 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2716 * format.C: add using std::distance to compile on gcc 2.95/stlport
2718 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2720 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2722 2004-02-04 André Pönitz <poenitz@gmx.net>
2724 * BufferView.[Ch] (insertInset):
2725 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2730 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2732 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2733 on the default clause of the switch
2734 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2735 wasn't catched by LCursor::dispatch
2737 2004-02-03 André Pönitz <poenitz@gmx.net>
2740 * cursor.[Ch]: some additional asserts
2742 * undo.[Ch]: remove LyXText dependency in interface
2746 * lyxtext.h (firstPar, lastPar): remove dead functions
2751 * paragraph.[Ch]: adjust
2753 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2755 * lyxfind.C (find): fix argument order in call to ::find
2757 2004-02-02 André Pönitz <poenitz@gmx.net>
2759 * cursor.[Ch]: remove direct access to anchor
2761 * text.C: remove findText() hack
2763 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2765 * iterators.[Ch] (lockPath): remove in favour of...
2766 * BufferView.[Ch] (setCursor): this addition
2767 * BufferView.C (putSelectionAt): adjust
2768 * undo.C (performUndoOrRedo): adjust
2769 * lyxfunc.C (dispatch): adjust
2771 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2773 * iterators.C (lockPath): add a missing slice
2774 * undo.C (performUndoOrRedo): remove redundant positioning code
2776 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2778 * vc-backend.C (scanMaster): ";" -> ';'
2780 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2782 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2783 std::binary_function
2785 * lyxtextclass.C (compare_name): rename to...
2786 (LayoutNamesEqual): ...this
2788 * lyxlex_pimpl.C (compare_tags): inherit from
2789 std::binary_function, put back into anon namespace
2791 * lyxfind.C (MatchString): inherig from std::binary_function
2792 (findChange): use empty() istead of !size()
2794 * format.C (FormatNamesEqual): new functor
2801 * converter.C (compare_Converter): rename to...
2802 (ConverterEqual): ...this, and fixup a bit.
2803 (getConverter): use it, and make function const
2804 (getNumber): use it, and make function const
2808 * bufferlist.C: add using boost::bind
2810 * MenuBackend.C (MenuNamesEqual): new functor
2811 (hasMenu): use it, and make function const
2812 (hasSubmenu): use nested bind to get rid of compare_memfun.
2814 2004-01-30 André Pönitz <poenitz@gmx.net>
2816 * BufferView_pimpl.C:
2819 * cursor_slice.[Ch]:
2822 * paragraph_funcs.C:
2823 * paragraph_funcs.h:
2827 * text3.C: move some of the edit(x,y) handling to the insets
2828 some coordinate changes.
2830 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2832 * text.C: add using statements for std::advance and std::distance
2834 * paragraph.C: add using statement for std::distance
2836 * lyxfind.C: add using statement for std::advance
2838 * cursor.C (region): remove std:: from swap
2839 (openable): use nucleus in stead of operator->
2841 * BufferView.C: add using statements for std::distance and std::swap
2843 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2845 * iterators.C: Remove the pimple, move the needed structures to
2846 the header file. Create accessor for the positions stack.
2847 (asPosIterator): remove function
2849 * PosIterator.C (PosIterator): move constructors to top of file
2850 (PosIterator): reimplement the constructor taking a ParIterator in
2852 (setFrom): new function
2853 (operator!=): inline it
2855 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2857 * lyxfind.C (replaceAll): use std::advance
2859 * iterators.h: inherit from std::iterator.
2861 * PosIterator.C (advance, distance): remove
2862 * PosIterator.h: interit from std::iterator.
2864 2004-01-26 André Pönitz <poenitz@gmx.net>
2867 * BufferView_pimpl.[Ch]:
2871 * bufferview_funcs.C:
2881 * output_linuxdoc.C:
2882 * output_plaintext.C:
2884 * paragraph_funcs.[Ch]:
2885 * paragraph_pimpl.[Ch]:
2891 * text3.C: more IU: dumps most of the rest of the mathcursor
2892 implementation into cursor.[Ch]; "globalize" a bit of it.
2894 2004-01-25 Angus Leeming <leeming@lyx.org>
2896 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2898 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2900 * LaTeXFeatures.h: add nice_ and nice() const
2901 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2903 2004-01-20 André Pönitz <poenitz@gmx.net>
2906 * BufferView_pimpl.C:
2908 * bufferview_funcs.C:
2910 * cursor_slice.[Ch]:
2921 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2922 LCursor and mathcursor parts to LCursor and InsetBase.
2924 2004-01-15 André Pönitz <poenitz@gmx.net>
2926 * cursor_slice.[Ch]: add a few covienience functions
2928 * funcrequest.[Ch]: remove BufferView * member
2930 * BufferView_pimpl.C:
2937 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2939 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2941 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2942 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2944 2004-01-13 André Pönitz <poenitz@gmx.net>
2947 * lyxtext.h: hide cursor and selection anchor behind accessor function
2950 * BufferView_pimpl.[Ch]:
2952 * bufferview_funcs.C:
2962 * cursor_slice.[Ch]: some integer type changes for inset unification
2964 * lyxcursor.[hC]: remove, it's CursorSlice now.
2967 * BufferView_pimpl.[Ch]:
2968 * bufferview_funcs.C:
2974 * textcursor.[Ch]: adjust
2976 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2978 * text2.C (undoSpan): add and use
2979 * text.C (breakParagraph): use undoSpan (fix bug 578)
2982 2004-01-08 Angus Leeming <leeming@lyx.org>
2984 * BufferView_pimpl.C (MenuInsertLyXFile):
2985 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2986 * lyxfunc.C (menuNew, open, doImport):
2987 FileFilterList change to the FileDialog open and save functions.
2989 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2991 * ShareContainer.h: make isEqual and isUnique adaptable
2993 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2995 2004-01-07 Angus Leeming <leeming@lyx.org>
2998 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3000 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3002 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3003 functions replacing find, replace and replaceAll.
3005 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3006 LFUN_WORDFIND(FORWARD|BACKWARD).
3008 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3010 * text.C (breakParagraph): remove an outdated #warning
3012 2004-01-07 André Pönitz <poenitz@gmx.net>
3014 * lyxfind.C: somewhat clearer logic
3016 * text.C: prevent crash in cursorX on unitialized row cache
3018 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3020 * lyxcursor.[Ch] (operator>): add
3021 * textcursor.C (selStart, selEnd): use std::min and std::max
3023 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3025 * Chktex.C: include boost/format.hpp
3027 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3029 * InsetList.C: replace functor MathcIt with adaptable functor
3031 (insetIterator): modify accordingly
3033 * BranchList.h: move the BranchNamesEqual functor here from...
3034 * BranchList.C: ... to here
3036 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3038 (add): replace a finding loop with std::find_if.
3040 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3042 * output_docbook.C: moving LatexParam functionality into
3045 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3047 * buffer.C: increment format to 229.
3049 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3052 * lyx_sty.[Ch]: remove minipageindent_def
3058 * text3.C: remove LFUN_INSET_MINIPAGE
3060 2003-12-28 Angus Leeming <leeming@lyx.org>
3062 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3064 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3066 * text2.C (setParagraph): fix off-by-one crash
3068 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3070 * output_docbook.C: header stuff for AGU
3072 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3074 * text2.C (redoCursor): remove
3077 * BufferView_pimpl.C: remove calls to redoCursor and
3078 setCursor(cursor.par(), cursor.pos()) all around
3080 2003-12-15 Angus Leeming <leeming@lyx.org>
3082 * buffer.C: up the format to 228.
3084 2003-12-15 André Pönitz <poenitz@gmx.net>
3086 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3091 * BufferView_pimpl.C:
3100 2003-12-15 Angus Leeming <leeming@lyx.org>
3102 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3103 than getFromGUIName to manipulate the color.
3105 2003-12-14 Angus Leeming <leeming@lyx.org>
3107 * BranchList.[Ch]: minimize the API.
3108 (Branch::getBranch, getColor): now return a 'const &'.
3109 (Branch::setSelected) now returns a bool set to true if the
3110 selection status changes.
3111 (BranchList::clear, size, getColor, setColor, setSelected,
3112 allBranches, allSelected, separator): removed.
3113 (BranchList::find): new functions, returning the Branch with
3115 (BranchList::add, remove): return a bool indicating that
3116 the operation was successful.
3118 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3119 new InsetBranch::isBranchSlected member function.
3121 * LColor.[Ch]: mimimize the API.
3122 (fill): renamed as addColor and made private.
3123 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3124 versions of these functions taking a string arg have been removed.
3126 * bufferparams.C (readToken):
3127 * lyxfunc.C (dispatch):
3128 * lyxrc.C (read): changes due to the altered BranchList and
3131 * factory.C (createInset, readInset): changes due to altered
3134 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3137 * lyxfunc.C: remove insetminipage. "minipage-insert"
3138 now produces a frameless minipage box inset.
3140 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3142 * textcursor.[Ch] (selStart,selEnd): add new methods
3143 remove selection::start, end, use LyXCursor::operator<
3144 * lyxcursor.[Ch] (operator<): add
3145 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3146 * BufferView.[Ch] (unsetXSel): add
3147 * text2.C (clearSelection): use unsetXSel,adjust
3150 * rowpainter.C: adjust
3151 * bufferview_funcs.C (put_selection_at): adjust
3153 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3155 * BufferView_pimpl.C: small coord. correction
3157 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3159 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3160 dragging over the splash screen.
3162 2003-12-11 Angus Leeming <leeming@lyx.org>
3164 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3165 as it is now handled in LyXText::dispatch.
3167 * text3.C (doInsertInset): remove a level of nesting.
3169 2003-12-11 Angus Leeming <leeming@lyx.org>
3171 * factory.C (createInset): changes due to the changed interface to
3172 InsetCommandMailer::string2params.
3174 2003-12-10 Angus Leeming <leeming@lyx.org>
3176 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3177 'dialog-show-new-inset <inset name>'
3179 2003-12-10 Angus Leeming <leeming@lyx.org>
3181 * buffer.C: up the format to 227.
3183 * factory.C: the box inset is now identified simply by 'Box'.
3185 2003-12-10 Angus Leeming <leeming@lyx.org>
3187 * buffer.C: up the format to 226.
3189 * factory.C: the note inset is now identified simply by 'Note'.
3191 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3193 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3194 when a pit is enough. Standarize a couple of loops.
3196 2003-12-05 Angus Leeming <leeming@lyx.org>
3198 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3199 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3200 data to the re-worked "log" dialog.
3202 2003-12-03 André Pönitz <poenitz@gmx.net>
3208 * paragraph_funcs.C:
3210 * text2.C: use Inset::getText instead of Inset::getParagraph
3212 2003-12-03 André Pönitz <poenitz@gmx.net>
3216 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3217 InsetText::read() as LyXText::read()
3219 2003-12-02 Angus Leeming <leeming@lyx.org>
3221 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3222 type. Add a comment in the implementation that the function uses
3223 the stream's bad() function rather than fail() as the std::streams
3226 2003-12-02 André Pönitz <poenitz@gmx.net>
3228 * lyxlex.[Ch]: make interface more similar to std::stream
3230 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3232 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3234 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3236 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3238 * vspace.[Ch]: remove VSpace::NONE
3240 2003-12-01 André Pönitz <poenitz@gmx.net>
3243 * lyxtext.h: move ParagraphList member to LyXText
3244 rename LyXText::ownerParagraphs to LyXText::paragraph
3247 * bufferview_funcs.C:
3257 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3259 * undo.C: fix cursor positioning
3261 2003-12-01 John Levon <levon@movementarian.org>
3263 * BufferView_pimpl.C: fix a crash on exit with
3266 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3268 * BranchList.C: fix setSelected() method.
3270 2003-11-28 André Pönitz <poenitz@gmx.net>
3272 * ParagraphParameters.[Ch]:
3273 * ParameterStruct.h: remove space above/below from Paragraph to
3276 * BufferView_pimpl.C:
3282 * paragraph_funcs.C:
3288 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3290 * factory.C: Syntax change for CharStyles
3292 2003-11-28 André Pönitz <poenitz@gmx.net>
3297 * buffer.[Ch]: move LyXText member
3299 2003-11-28 André Pönitz <poenitz@gmx.net>
3301 * BufferView.[Ch]: make LyXText * text a private member
3303 * BufferView_pimpl.C:
3314 * output_plaintext.C: cleanup
3316 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3319 * lyxtextclass.[Ch]: parametrize SGML document header
3321 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3324 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3327 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3329 * text2.C (setFont): rework using PosIterator (no more recursive)
3330 (setCharFont): no more needed
3331 (setLayout): no more selection cursors fiddling (done by redoCursor)
3332 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3333 destroy remaining ones)
3335 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3337 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3339 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3342 * text3.C: adjust + re-allow multi par depth changes
3343 * textcursor.C: simplify a bit
3345 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3351 * src/output_docbook.C:
3352 * src/output_latex.C:
3357 * src/text2.C: Introducing a number of tags parametrizing various
3358 XML formats that we may want to support
3360 2003-11-25 André Pönitz <poenitz@gmx.net>
3362 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3364 * lyxtext.h (leftMargin/rightMargin): simplify interface
3371 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3373 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3374 master file to any child files. Fixes bug 546.
3376 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3378 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3380 2003-11-24 André Pönitz <poenitz@gmx.net>
3382 * rowpainter.C: simplification
3384 * text2.C (updateCounters): remove call to redoParagraph on
3385 changed labels as this is far too expensive.
3387 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3389 * converter.C (convert): fix a crash: this function gets
3390 called with buffer == 0 from importer code.
3392 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3394 * text3.C (cursorPrevious): make sure that we do not compare
3395 iterators form different containers.
3398 * rowpainter.C (paintSelection): make sure that we do not compare
3399 iterators from different containers.
3401 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3402 iterators from different ParagraphList containers.
3405 * text2.C (LyXText): change order of initialization slightly
3406 (operator=): new function. copy all variables except cache_par_
3407 (moveUp): make sure that we do not compare iterators from
3408 different ParagraphList constainers.
3411 * text.C (firstPar): new function
3412 (lastPar): new function
3413 (endPar): new function
3415 * lyxtext.h: move things around and group public functions, public
3416 variables, private functions, private variables
3418 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3420 * factory.C: change call to InsetERT constructor to avoid
3421 additional invocation of method status
3422 * text2.C (toggleInset): remove redundant update() call
3423 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3424 instead of a Bufferview pointer
3426 2003-11-21 André Pönitz <poenitz@gmx.net>
3428 * rowpainter.C: simplification
3430 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3432 * text3.C (dispatch): make possible to extend a word/row selection
3435 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3437 * lyxtext.h: x0_,y0_ -> xo_,yo_
3438 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3439 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3440 * rowpainter.C (paintRows): paint full paragraphs
3442 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3444 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3447 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3449 * lyxtext.h: add x0_, y0_
3450 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3451 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3453 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3455 * text2.C (setCursorIntern): move the x_target update here *
3456 * text3.C: change some bv() to true/false in calls to
3457 cursorUp/Down/Right/Left
3458 * cursor.C: use helper function.
3460 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3462 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3463 * paragraph_funcs.[Ch]: correct comment
3464 * rowpainter.C: do not paint selections away from bv->cursor()
3465 Fix a long standing selection painting bug.
3466 * text3.C: generalize mouse-selection code to LyXTexts other that
3468 * textcursor.C: do not use y coords if we can use par offsets
3470 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3472 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3473 cursor position after e.g. inset insert)
3475 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3477 * lyxfind.C (replace): adjust to locking removal + some
3480 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3482 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3485 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3488 * output_docbook.C: XML sanitation: new layout
3489 parameters InnerTag and CommandDepth
3491 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3493 * BufferView_pimpl.C:
3495 * text3.C: Fix the insertion and modification of button-style
3498 2003-11-13 André Pönitz <poenitz@gmx.net>
3500 * InsetList.[Ch]: remove deleteLyXText
3502 * paragraph.[Ch]: cache beginOfBody position
3507 * text3.C: remove superfluous update() calls
3511 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3513 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3514 * BufferView.C (fitLockedInsetCursor): remove
3515 * cursor.[Ch] (getDim): add
3516 * text.C (getRowNearY): add faster version
3517 * text3.C: remove some update calls
3519 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3531 * text3.C: The Character Style /XML short element patch.
3533 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3536 * factory.C: Small step to solving 'unable to insert some insets'
3539 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3541 * cursor.[Ch] (updatePos): new function for updating the y
3542 position of the tip inset
3543 * bufferview_funcs.C (put_selection_at):
3544 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3546 2003-11-11 André Pönitz <poenitz@gmx.net>
3548 * text.C: remove big comment on invalid Paragraph pointers as it is
3551 2003-11-11 André Pönitz <poenitz@gmx.net>
3553 * text_funcs.[Ch]: merge with ...
3561 * Makefile.am: remove text_funcs.[Ch]
3563 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3565 * cursor.C (getPos): return absolute cached y coord
3567 * BufferView_pimpl.C (fitCursor): new simplistic code
3568 (workAreaDispatch): add a fitCursor call
3570 2003-11-10 André Pönitz <poenitz@gmx.net>
3573 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3575 2003-11-10 André Pönitz <poenitz@gmx.net>
3577 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3578 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3579 indicate that the cursor needs to leave an inset
3581 * lyxtext.h: remove inset locking
3583 * cursor.[Ch]: re-implement functionality provided by inset locking
3586 * BufferView_pimpl.[Ch]:
3588 * bufferview_funcs.[Ch]:
3600 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3602 * PosIterator.[Ch]: replace the stack with a vector, add inset
3604 * iterators.[C]: adjust
3606 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3608 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3610 * paragraph_funcs.C (readParToken): put the correct id in the
3611 error item, not the id of the top paragraph
3613 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3615 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3616 * bufferview_funcs.C (put_selection_at): use the above
3618 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3620 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3622 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3624 * output_linuxdoc.h:
3625 * output_plaintext.h:
3627 * output_docbook.h: add #include statements
3629 2003-11-05 José Matos <jamatos@lyx.org>
3631 * output_docbook.[Ch]:
3632 * output_latex.[Ch]:
3633 * output_linuxdoc.[Ch]:
3634 * output_plaintext.[Ch]: New files for output formats.
3635 * output.[Ch]: New file for helper functions.
3638 * paragraph_funcs.[Ch]: output functions moved to new files.
3640 * outputparams.h: rename of latexrunparams.h
3648 * paragraph_funcs.[Ch]:
3649 * paragraph_pimpl.[Ch]:
3650 * tabular.[Ch]: rename ascii to plaintext
3651 and LatexRunParams to OutputParams.
3653 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3655 * iterators.[Ch] (text): require bv argument
3656 * undo.C (recordUndo):
3657 * lyxfunc.C (dispatch):
3658 * bufferview_funcs.C (put_selection_at): adjust
3660 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3662 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3664 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3666 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3669 2003-11-04 André Pönitz <poenitz@gmx.net>
3671 * cursor.[Ch]: restructure
3674 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3676 * iterators.[Ch] (asCursor): remove
3678 * lfuns.h: remove LFUN_INSET_EDIT
3684 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3686 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3688 * lyxfind.[Ch]: complete overhaul
3689 * BufferView_pimpl.C:
3691 * paragraph.[Ch] (insert): add
3693 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3697 * text.C: remove dead spellcheck code
3699 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * dispatchresult.h: add a val setter
3703 * cursor.C (dispatch): use a tempvar for data_[i]
3705 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3707 * PosIterator.[Ch]: compile fix
3709 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3711 * text.C (cursorPar): deactivate the cursor cache
3713 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3715 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3717 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * text3.C (dispatch): adjust for new DisptchResult semantics.
3721 * lyxfunc.C (dispatch): handle update when return from
3722 Cursor::dispatch, adjust for new DispatchResult semantics.
3724 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3725 DispatchResult(true) mean to not update. Add class functions for
3726 setting dispatched and update, as well as reading.
3728 * cursor.C (dispatch): don't handle update here
3730 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3732 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3733 * trans_mgr.C: adjust
3735 * paragraph_funcs.C (readParToken): exception safety
3737 * lyxvc.h: store the vcs pointer in a scoped_ptr
3740 * lyxsocket.C (serverCallback): exception safety
3742 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3744 * ispell.C (clone): make it return a auto_ptr
3746 * factory.C (createInset): exception safety
3747 (readInset): exception safety
3749 * bufferlist.C (newBuffer): exception safety
3751 * Thesaurus.C (Thesaurus): use initialization for aik_
3753 * MenuBackend.C (expandToc): exception safety.
3755 2003-11-03 André Pönitz <poenitz@gmx.net>
3759 * bufferview_funcs.C: remove getInsetFromId()
3762 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3768 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3770 * PosIterator.C (distance, advance): new
3771 * bufferview_funcs.[Ch] (put_selection_at): new
3772 * iterators.[Ch] (lockPath): new
3774 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3776 * iterators.[Ch] (asPosIterator): added
3777 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3778 * PosIterator.[Ch]: added
3780 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3784 * cursor.C (dispatch):
3785 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3787 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3788 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3789 contructor, add a class function dispatched. Remove operator>=
3791 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3793 * debug.C: only use the default constructor for debugstream
3796 * main.C (main): include debug.h and setup the lyxerr streambuf
3799 2003-10-31 José Matos <jamatos@lyx.org>
3801 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3803 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3804 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3805 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3806 * paragraph_pimpl.C (simpleTeXSpecialC):
3807 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3808 add LatexRunParams argument.
3810 * exporter.C (Export): change call accordingly.
3812 * latexrunparams.h: add new member to take care of the other backends.
3813 2003-10-30 José Matos <jamatos@lyx.org>
3815 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3816 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3817 factorise code for paragraph output.
3819 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3822 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * text3.C (dispatch):
3825 * lyxfunc.C (dispatch):
3826 * cursor.C (dispatch):
3827 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3829 * dispatchresult.h: make the dispatch_result_t ctor explicit
3831 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3834 * buffer.C: small refactoring of docbook stuff
3836 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3841 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3844 operator dispatch_result_t, and operators for == != and >=
3846 * cursor.C (dispatch): adjust for operator dispatch_result_t
3847 removal. comment out call to update
3849 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3851 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3859 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3862 * dispatchresult.h: new file, DispatchResult broken out of
3865 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3867 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3869 * text.C (rowBreakPoint): put a hack inside #if 0
3871 2003-10-28 André Pönitz <poenitz@gmx.net>
3875 * paragraph_funcs.C:
3878 * text2.C: general cleanup (lots of small stuff)
3880 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3882 * text2.C (cursorEnd): simple fix to the "end key goes to one
3883 before the end on last row" bug
3885 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3887 * text.C (backspace): fix the "zombie characters"
3889 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3891 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3893 2003-10-27 André Pönitz <poenitz@gmx.net>
3895 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3897 * factory.C: handle new InsetPagebreak, InsetLine
3899 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3900 and move handling into new InsetPagebreak, InsetLine
3902 * BufferView_pimpl.C:
3904 * ParagraphParameters.C:
3905 * ParameterStruct.h:
3910 * paragraph_funcs.C:
3911 * paragraph_pimpl.C:
3917 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3920 * lyxrow_funcs.[Ch]:
3926 * text3.C: remove lastPos uses in favour of Row::endpos
3928 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3930 * undo.C (performUndoOrRedo): fix two crashes by setting a
3931 cursor by hand and reordering some calls. Use bv->lockInset instead
3932 of inset->edit because the latter loses cursor information
3934 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3936 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3938 (rowBreakPoint): fix width. change point to point + 1.
3939 Add a missing check.
3941 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3944 * lyxfunc.C: fix (at least partly) the problems
3945 with the Nav menu and headers inside branch insets
3948 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3950 * paragraph.C (getChar): add strong asserts
3952 * lyxrow_funcs.C (lastPos): remove hideous hack
3954 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3955 (fill): adjust to that (avoid an infinite loop)
3957 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3959 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3961 2003-10-23 André Pönitz <poenitz@gmx.net>
3963 * RowList_fwd.h: change list<> to vector<> to gain speed
3964 after suggestion from Alfredo
3966 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3968 * lyxtext.h: move the bidi stuff from here...
3971 * Bidi.[Ch]: ... to here
3973 2003-10-23 André Pönitz <poenitz@gmx.net>
3976 * text.C (isLastRow, isFirstRow): new functions
3978 * paragraph.h: new width cache member
3980 * rowpainter.C: replace RowList::iterator with Row & where possible
3982 * lyxfunc.C: replace several view()->text with a single call
3984 * toc.C: fix 'unused' warning
3986 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3989 when woring with stream::pos_type
3990 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3992 2003-10-22 André Pönitz <poenitz@gmx.net>
3995 * text.C: use Row & instead of RowList::iterator
3997 * lyxrow.h: rename end() to endpos()
4003 2003-10-22 Angus Leeming <leeming@lyx.org>
4005 * buffer.[Ch] (fully_loaded): new member function, returning true
4006 only when the file has been loaded fully.
4007 Used to prevent the premature generation of previews and by the
4008 citation inset to prevent computation of the natbib-style label.
4010 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4011 templates are all set up.
4013 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4015 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4017 * text.C: fixed an "oops" in the "is a bit silly"
4020 2003-10-21 André Pönitz <poenitz@gmx.net>
4022 * FuncStatus.[Ch]: small stuff, whitespace
4024 * lyxfont.[Ch]: operator<<() for debug reasons
4028 * lyxtext.h: whitespace, spelling
4030 * paragraph.C: naming of variables
4033 * text2.C: small stuff
4036 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4038 * text.C: (1) finish off the inset display() work;
4039 (2) fix the "is a bit silly" bug (accessing char
4042 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4044 * text.C: re-introduce display() for insets, fixing the
4045 various bugs (stretch of line above, math inset
4048 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4050 * text.C (rightMargin): remove spurious semicolon
4052 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4055 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4057 * text3.C: fix one crash due to wrong cursor def
4059 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4061 * vc-backend.C (scanMaster): make the regex static
4063 * LaTeX.C (scanAuxFile): make the regexs static
4065 * text3.C (doInsertInset, dispatch, dispatch):
4066 * text2.C (cursorUp, cursorDown):
4067 * text.C (selectNextWordToSpellcheck):
4068 * BufferView_pimpl.C (dispatch):
4069 * lyxfunc.C (dispatch): localDispatch -> dispatch
4071 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4073 * lyxsocket.C: include <cerrno>
4075 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * lyxfunc.C (dispatch): remove textcache stuff
4079 * bufferlist.C (release): remove textcache stuff
4082 * TextCache.C: delete file
4083 * TextCache.h: delete file
4085 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4087 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4088 delete of the bv_->text.
4089 (resizeCurrentBuffer): remove texcache stuff
4090 (workAreaResize): ditto
4092 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4097 2003-10-16 André Pönitz <poenitz@gmx.net>
4104 * text3.C: speed up by storing y positions per paragraph plus per-row
4105 offset instead of having a 'full' y position in the row.
4107 2003-10-15 André Pönitz <poenitz@gmx.net>
4111 * undo.[Ch]: make undo aware of inner insets
4113 2003-10-14 Angus Leeming <leeming@lyx.org>
4115 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4116 static member functions LyX::ref() and LyX::cref.
4117 (lastfiles): new accessor functions for the new lastfiles_ member var.
4118 (addLyXView, views_): add a new LyXView to the list of views_.
4119 (updateInset): loop over all LyXViews to call their own updateInset
4120 member function, returning a pointer to the Buffer owning the inset.
4122 * BufferView_pimpl.C (loadLyXFile):
4123 * MenuBackend.C (expandLastfiles):
4124 * bufferlist.C (MenuWrite, QuitLyX):
4125 lastfiles is no longer a global variable.
4126 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4128 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4129 static function. Access through LyX::cref().emergencyCleanup().
4131 2003-10-14 André Pönitz <poenitz@gmx.net>
4133 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4135 * undo.[Ch]: restoring part of 'undo in insets'
4138 * undo_funcs.[Ch]: merge with undo.[Ch]
4140 * tabular.C: small cleansing stuff
4142 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4144 * paragraph_funcs.C (readParToken): report unknown insets as error
4145 boxes. Use the outer paragraph as location (also for unknown
4148 * factory.C (readInset): do not abort on reading an unknown inset.
4149 Eat it and return 0.
4151 2003-10-13 Angus Leeming <leeming@lyx.org>
4153 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4155 * lyxrc.C: displayTranslator is now a function,
4156 declared in GraphicsTypes.h.
4158 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4160 * format.C: new placeholder $$a to pass the socket address.
4162 * bufferlist.[Ch]: new function getBufferFromTmp.
4164 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4165 files in the temporary dir.
4167 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4169 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4171 * Makefile.am: add lyxsocket.[Ch].
4173 * lyx_main.C (error_handler): handle SIGPIPE.
4175 2003-10-13 André Pönitz <poenitz@gmx.net>
4177 * BufferView_pimpl.C:
4182 * undo_funcs.[Ch]: use paroffset_type instead of
4183 ParagraphList::iterators to prevent multiple conversion
4184 (and get a more robust interface)
4186 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4190 * text3.C (dispatch): ditto
4192 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4195 move the onlyfile, use onlyfile instead of foundfile in a couple
4198 * DepTable.C (update): flush the error stream a bit more
4200 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4202 * lyxserver.C (callback): adjust
4204 * lyxfunc.C (getStatus): add a missing brace in commented code
4205 (ensureBufferClean): reindent
4206 (dispatch): delete version taking a string
4208 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4210 * LaTeX.C (deplog): move found file handlig from here...
4211 (handleFoundFile): .. to new function here.
4212 (deplog): make sure to discover several files mentioned on the
4215 2003-10-10 André Pönitz <poenitz@gmx.net>
4222 * text3.C: fix some of the tabular crashes
4224 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4226 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4228 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4230 2003-10-09 André Pönitz <poenitz@gmx.net>
4232 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4235 * BufferView_pimpl.C:
4236 * bufferview_funcs.C:
4247 * undo_funcs.C: adjust
4249 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4251 * text2.C (incrementItemDepth): new function, use a backtracking
4252 algorithm to discover the correct item depth.
4253 (resetEnumCounterIfNeeded): new function, use a backtracking
4254 algorithm to discover if counter reset is needed.
4255 (setCounter): use them. Simplify a bit. Add different labels for
4256 different item depths for itemize.
4258 * paragraph.C (Paragraph): remove initialization of enumdepth
4261 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4262 enumerate and itemize. Change the type of itemdepth to signed char.
4264 2003-10-08 André Pönitz <poenitz@gmx.net>
4266 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4271 * tabular.[Ch]: fix crash after 'row-insert'
4273 2003-10-08 Angus Leeming <leeming@lyx.org>
4275 Fix doxygen warnings.
4277 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4278 Remove CutAndPaste:: prefix from header file declaration.
4280 * LColor.h (fill): remove LColor:: prefix from declaration.
4282 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4283 use lyx::depth_type rather than Paragraph::depth_type so that
4284 header file and .C file match.
4286 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4288 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4289 * aspell.C: \file aspell_local.C -> \file aspell.C
4290 * gettext.C: \file gettext.C -> \file src/gettext.C
4291 * gettext.h: \file gettext.h -> \file src/gettext.h
4292 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4293 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4294 * text.C: \file text.C -> \file src/text.C
4296 * toc.C: move comment so that doxygen is not confused.
4298 2003-10-07 Angus Leeming <leeming@lyx.org>
4300 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4302 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4305 * aspell_local.h: add forgotten std::string's.
4307 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4314 * text3.C: The Box patch. Fancybox support, minipage, parbox
4316 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4322 * ParagraphParameters.h:
4332 * lyxtextclasslist.h:
4335 * paragraph_pimpl.C:
4336 * textcursor.h: add <string> and other small fixes to make Lars'
4337 std::string patch compile with STLport.
4339 2003-10-06 Angus Leeming <leeming@lyx.org>
4341 * LColor.h: Add missing #include <string>.
4343 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * All most all file in all subdirs: Make <string> be the prefered
4346 way of getting to std::string, add using declarations.
4348 2003-10-06 André Pönitz <poenitz@gmx.net>
4350 * metricsinfo.C: initialize LyXFont before changing attribute.
4351 (fixes the 'math in \emph is upright' bug)
4353 2003-10-06 André Pönitz <poenitz@gmx.net>
4355 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4357 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4360 * paragraph_pimpl.C: Small fixes to build using STLport
4362 2003-10-02 André Pönitz <poenitz@gmx.net>
4365 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4367 2003-10-01 André Pönitz <poenitz@gmx.net>
4369 * factory.C: assert early
4371 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4373 * lyx_main.C: remove the global debug object
4375 * debug.h: adjust for new debugstream
4377 * debug.C: adjust for new debugstream and keep the global debug
4380 2003-09-22 Angus Leeming <leeming@lyx.org>
4382 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4383 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4384 an incomplete class LyXFont.
4386 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4388 * factory.C: bug fix in branches
4390 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * lyxfunc.C (processKeySym): adjust
4394 (dispatch): change arg name from ev to func, adjust
4395 (sendDispatchMessage): ditto
4397 * lyx_main.C (defaultKeyBindings): adjust keybindings
4398 (deadKeyBindings): ditto
4400 * kbsequence.C (addkey): return a FuncRequest
4402 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4404 * kbmap.C (bind): take a FuncRequest as arg, adjust
4407 (defkey): change to take a FuncRequest as arg, adjust
4408 (findbinding): take a FuncRequest as arg, adjust.
4410 * funcrequest.h (operator=): added
4412 * funcrequest.C (FuncRequest): default kb_action changed from
4413 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4415 * buffer.C (dispatch): simplify
4416 (dispatch): adjust to take a FuncRequest as arg, adjust
4418 * boost.C (assertion_failed): change assertion message slightly
4420 * ToolbarBackend.C (read): simplify
4422 * MenuBackend.C (binding): adjust call to findbinding, add a
4423 message if no binding is found.
4425 (expandToc): correct by adding a empty FuncRequest
4427 * LyXAction.C: include <boost/assert.hpp>
4428 (isPseudoAction): delete function
4429 (LookupFunc): change name to...
4430 (lookupFunc): this. change return type to FuncRequest.
4431 (getActionName): take kb_action as arg, simplify
4432 (funcHasFlag): add an assert, simplify.
4434 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * toc.C (action): return a FuncRequest, simplify
4438 * lyxfunc.C (processKeySym): adjust
4439 (getStatus): delete version that takes an int.
4441 (dispatch): delete version that takes action as int
4443 (sendDispatchMessage): simplify and adjust
4445 * funcrequest.C (getArg): take unsigned int as arg
4447 * ToolbarBackend.C (read): adjust
4448 (add): delete version that takes func as a string.
4449 (getIton): take a FuncRequest as arg
4451 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4454 * MenuBackend.C (MenuItem): add a new construct that only takes a
4455 Kind, simplify the constructor use for submenus.
4457 (expandLastfiles): adjust
4458 (expandDocuments): adjust
4459 (expandFormats): adjust
4460 (expandFloatListInsert): adjust
4461 (expandFloatInsert): adjust
4462 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4464 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4465 Remove class variables lyx_pseudo_map and lyx_arg_map
4467 * LyXAction.C (searchActionArg): delete function
4468 (getPseudoAction): delete function
4469 (retrieveActionArg): delete function
4470 (LookupFunc): make it return kb_action, simplify.
4471 (getActionName): simplify
4473 * factory.C (createInset): fix new bug
4475 2003-09-19 Angus Leeming <leeming@lyx.org>
4477 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4478 masterFilename_ parameter in the include inset.
4480 * factory.C (createInset): changes due to the changes to InsetInclude.
4482 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4484 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4486 2003-09-18 Angus Leeming <leeming@lyx.org>
4489 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4490 Inset::fillWithBibKeys.
4491 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4493 2003-09-18 Angus Leeming <leeming@lyx.org>
4495 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4497 (ctor): pass and store a 'Buffer const &'
4498 (buffer): new member function.
4500 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4501 '*this' to the LaTeXFeatures ctor.
4503 2003-09-18 Angus Leeming <leeming@lyx.org>
4509 * text.C: rename EnumLColor as LColor_color.
4511 2003-09-18 Angus Leeming <leeming@lyx.org>
4513 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4514 remove #include "insets/insetbase.h" from cursor.h.
4516 2003-09-18 Angus Leeming <leeming@lyx.org>
4518 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4519 InsetOld_code to remove #include "inset.h".
4521 * iterators.C: add #include "insets/inset.h"
4523 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4525 * BufferView.C: remove more locking stuff that apparently doesn't
4526 do anything sensible.
4528 2003-09-16 André Pönitz <poenitz@gmx.net>
4531 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4534 2003-09-16 Angus Leeming <leeming@lyx.org>
4536 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4538 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4541 * paragraph.h: remove #include "lyxfont.h". Forward declare
4544 2003-09-16 Angus Leeming <leeming@lyx.org>
4546 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4547 of support/textutils.h.
4548 (isWord): move the contents of support/textutils.h's IsWordChar here.
4554 * text2.C: add #include "paragraph.h".
4557 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4559 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4565 * LaTeX.C: use namespace alias for lyx::support::os
4567 2003-09-16 Angus Leeming <leeming@lyx.org>
4570 * bufferview_funcs.C:
4573 * paragraph_pimpl.C:
4575 * text.C: add #include "LColor.h".
4577 2003-09-16 Angus Leeming <leeming@lyx.org>
4579 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4580 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4582 Store the FontBits::color variable as an int rather than as an
4583 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4586 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4587 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4588 string calls together.
4590 * lyxrc.C: add #include "LColor.h".
4592 2003-09-15 Angus Leeming <leeming@lyx.org>
4594 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4597 2003-09-15 Angus Leeming <leeming@lyx.org>
4599 * LColor.h: add an EnumLColor wrapper for LColor::color.
4601 * lyxfont.[Ch] (color, setColor, realColor):
4602 * lyxtext.h, text.C (backgroundColor):
4603 pass EnumLColor args to/from the functions, rather than LColor::color
4607 * lyxtext.h: forward declare EnumLColor.
4609 * lyx_main.C: add #include "LColor.h".
4611 2003-09-15 Angus Leeming <leeming@lyx.org>
4613 * .cvsignore: add lyx-gtk.
4615 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * ParagraphParameters.C
4624 * bufferview_funcs.C
4634 * vc-backend.C: remove usage of STRCONV
4636 2003-09-15 Angus Leeming <leeming@lyx.org>
4638 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4639 explicitly define the color passed to the painter.
4641 2003-09-15 Angus Leeming <leeming@lyx.org>
4643 * bufferparams.C (BufferParams): reorder member initializers to avoid
4646 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4648 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4649 * text.C (updateRowPositions): remove an unusual nop
4651 2003-09-12 André Pönitz <poenitz@gmx.net>
4653 * BufferView_pimpl.C:
4662 * Counters.[Ch]: finish the 'automatic counters' job
4664 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4666 * aspell.C: include <boost/assert.cpp> (compile fix)
4668 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4670 * boost.C (assertion_failed): use lyx::support::abort instead of
4673 2003-09-10 Angus Leeming <leeming@lyx.org>
4675 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4676 with their _fwd progeny.
4678 2003-09-09 Angus Leeming <leeming@lyx.org>
4680 134 files throughtout the source tree: replace 'using namespace abc;'
4681 directives with the appropriate 'using abc::xyz;' declarations.
4683 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4685 * boost.C (emergencyCleanup): moved here from LAssert.c
4686 (assertion_failed): new function, called by BOOST_ASSERT
4688 * several files: change Assert to BOOST_ASSERT
4690 2003-09-09 Angus Leeming <leeming@lyx.org>
4692 * buffer.[Ch]: Add an Impl class and move Buffer's member
4693 variables into it. As a result move several header files out of
4696 Add header files to lots of .C files all over the tree as a result.
4698 2003-09-09 Angus Leeming <leeming@lyx.org>
4700 * buffer.[Ch]: make Buffer's member variables private. Add
4703 Lots of changes all over the tree as a result.
4705 2003-09-08 Angus Leeming <leeming@lyx.org>
4707 * graph.C: #include <config.h>.
4709 2003-09-08 Angus Leeming <leeming@lyx.org>
4713 * BufferView_pimpl.C:
4742 * toc.C: remove redundant using directives.
4744 2003-09-07 Angus Leeming <leeming@lyx.org>
4746 * LaTeXFeatures.h: remove #include "support/types.h".
4747 * ToolbarBackend.h: remove #include <algorithm>.
4748 * changes.h: remove #include <ctime>.
4749 * debug.h: remove #include <iosfwd>.
4750 * graph.h: remove #include "support/std_string.h".
4751 * lyx_main.h: remove #include <csignal>.
4752 * lyxlex_pimpl.h: remove #include <fstream>.
4753 * sgml.h: remove #include <algorithm>, <utility>.
4754 * toc.h: remove #include "support/std_ostream.h".
4755 Add #include <iosfwd>.
4757 2003-09-07 Angus Leeming <leeming@lyx.org>
4759 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4761 * converter.h: forward declare LatexRunParams.
4762 * encoding.h: remove #include "lyxrc.h".
4763 * lyxtext.h: remove #include "LColor.h".
4764 * lyxtextclass.h: remove #include "support/types.h".
4765 * trans.h: remove #include "tex-accent.h".
4766 * trans_mgr.h: remove #include "tex-accent.h".
4767 * insets/inset.h: remove #include "support/types.h", <vector>.
4768 * insets/insetcollapsable.h: remove #include "LColor.h".
4769 * insets/insetinclude.h: remove #include "dimension.h".
4770 * insets/insetlatexaccent.h: remove #include "dimension.h".
4771 * insets/insetoptarg.h:: remove #include "insettext.h".
4772 * insets/insettext.h: remove #include "dimension.h",
4773 <boost/shared_ptr.hpp>
4775 * insets/renderers.h: add #include "dimension.h".
4776 * insets/updatableinset.h: add #include "support/types.h".
4778 * many .C files: Associated changes.
4780 2003-09-06 Angus Leeming <leeming@lyx.org>
4782 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4783 one, inside testInvariant.
4785 * PrinterParams.C: new file.
4786 * PrinterParams.[Ch]: move the function bodies out of line.
4788 2003-09-06 Angus Leeming <leeming@lyx.org>
4790 * ParagraphParameters.h: forward declare ParameterStruct rather than
4791 including its header file.
4792 (depth): moved out-of-line.
4794 2003-09-06 Angus Leeming <leeming@lyx.org>
4796 * BufferView_pimpl.h:
4799 * lyxfunc.h: forward declare LyXKeySym rather than
4800 #include "frontends/LyXKeySym.h".
4802 * BufferView_pimpl.C:
4805 * lyxfunc.C: associated changes.
4807 2003-09-06 Angus Leeming <leeming@lyx.org>
4809 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4810 As a result, can remove the #include "insets/inset.h" from BufferView.h
4812 2003-09-06 Angus Leeming <leeming@lyx.org>
4814 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4815 As a result, can remove the #include "insets/inset.h" from BufferView.h
4817 2003-09-06 Angus Leeming <leeming@lyx.org>
4823 * bufferview_funcs.C:
4824 * BufferView_pimpl.C:
4829 * ParagraphParameters.C:
4834 * frontends/controllers/ControlDocument.C:
4835 * insets/insetcaption.C: rearrange the #includes into some sort of
4838 * buffer.h: remove #includes ErrorList.h, undo.h
4840 2003-09-06 Angus Leeming <leeming@lyx.org>
4842 * support/types.h: add a 'depth_type' typedef, used to store the
4843 nesting depth of a paragraph.
4846 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4847 defining explicitly.
4850 * paragraph_funcs.h:
4851 * ParagraphParameters.h:
4852 * sgml.h: use lyx::depth_type rather than Paragraph or
4853 ParameterStruct's depth_type.
4856 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4859 * BufferView_pimpl.C:
4861 * ParagraphParameters.C:
4864 * bufferview_funcs.C:
4871 * frontends/LyXView.C:
4872 * frontends/controllers/ControlDocument.C:
4873 * frontends/controllers/ControlErrorList.C:
4874 * insets/insetbibitem.C:
4875 * insets/insetbranch.C:
4876 * insets/insetcaption.C:
4877 * insets/insetcollapsable.C:
4878 * insets/insetenv.C:
4879 * insets/insetert.C:
4880 * insets/insetfloat.C:
4881 * insets/insetfoot.C:
4882 * insets/insetfootlike.C:
4883 * insets/insetnewline.C:
4884 * insets/insetquotes.C:
4885 * insets/insettabular.C:
4886 * insets/insettext.C:
4887 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4889 * frontends/controllers/ControlChanges.C: #include "changes.h".
4891 2003-09-06 Angus Leeming <leeming@lyx.org>
4893 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4894 than #including paragraph.h.
4897 * RowList.h: deleted. Superfluous.
4907 * insets/insettext.h: use ParagraphList_fwd.h rather than
4910 * paragraph.h: don't forward declare ParagraphList.
4913 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4914 rather than ParagraphList.h. paragraph.h is still needed for the
4915 Paragraph::depth_type parameters.
4917 * textcursor.h: enable it to compile stand-alone in light of the
4920 * bufferview_funcs.C:
4932 * frontends/controllers/ControlParagraph.C:
4933 * frontends/controllers/ControlTabular.C:
4934 * insets/insetmarginal.C:
4935 * insets/insetminipage.C:
4936 * insets/insetnote.C:
4937 * insets/insetoptarg.C: add header files needed to compile again.
4939 2003-09-06 Angus Leeming <leeming@lyx.org>
4941 * RowList_fwd.h: new file, forward-declaring Row rather than
4942 #including lyxrow.h.
4947 * insets/insettext.h: use it instead of RowList.h
4949 * bufferview_funcs.C:
4956 * text3.C: #include "RowList.h".
4958 2003-09-05 Angus Leeming <leeming@lyx.org>
4960 * factory.C (createInset):
4961 * vspace.C (c-tor): replace sscanf call with an istringstream.
4962 * ispell.C: re-add missing HP/UX headers.
4963 * lyxserver.C: re-add missing os2 headers.
4965 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4974 * text3.C: re-add missing system headers, needed for 2.95.2.
4976 2003-09-05 Angus Leeming <leeming@lyx.org>
4978 Changes most place everywhere due to the removal of using directives
4979 from support/std_sstream.h.
4981 2003-09-05 Angus Leeming <leeming@lyx.org>
4983 Replace LString.h with support/std_string.h,
4984 Lsstream.h with support/std_sstream.h,
4985 support/LIstream.h with support/std_istream.h,
4986 support/LOstream.h with support/std_ostream.h.
4988 Changes resulting throughout the tree.
4990 2003-09-05 Angus Leeming <leeming@lyx.org>
4992 * sgml.h: ensure that the header file can be compiled stand-alone.
4993 * *.C: strip out redundant #includes. (320 in total.)
4995 2003-09-04 Angus Leeming <leeming@lyx.org>
4997 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4998 here (from getPackages).
5000 * debug.[Ch]: add a new EXTERNAL tag.
5002 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5004 * text2.C (cursorEnd): simplify
5006 (getColumnNearX): adjust
5008 * text.C (computeBidiTables): adjust
5011 * rowpainter.C (paintChars): adjust
5012 (paintSelection): adjust
5013 (paintChangeBar): adjust
5016 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5018 (numberOfSeparators): adjust
5020 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5026 * text3.C: Restricts the mouse click functionality
5027 of insets like bibtex, include, toc and floatlist to the visible
5028 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5029 up the dialogs. Cursor has to be in front of the inset (i.e.
5030 start of row) for this to function.
5032 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5034 * bufferview_funcs.C (currentState): output row information
5036 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5038 * bufferview_funcs.C (currentState): output paragraph position
5040 2003-09-04 Angus Leeming <leeming@lyx.org>
5042 * FloatList.h: move out #include "Floating.h".
5043 * LaTeX.h: move out #include "DepTable.h".
5044 * LyXAction.h: move out #include "funcrequest.h".
5045 * buffer.h: move out #include "author.h", "iterators.h".
5046 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5047 * lyx_main.h: move out #include "errorlist.h".
5048 * lyxfunc.h: move out #include "FuncStatus.h".
5049 * lyxtext: move out #include "lyxcursor.h".
5050 * paragraph_pimpl.h: move out #include "counters.h".
5052 2003-09-03 Angus Leeming <leeming@lyx.org>
5054 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5055 preamble_snippets list, enabling us to add snippets to the preamble
5056 only if the snippet was not there already.
5058 2003-09-04 Angus Leeming <leeming@lyx.org>
5060 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5062 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5067 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5069 * BranchList.C: point fix, earlier forgotten
5071 2003-09-02 Angus Leeming <leeming@lyx.org>
5073 * box.C (contains): renamed from 'contained' after a fantastic
5076 2003-09-02 John Levon <levon@movementarian.org>
5082 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5084 2003-09-02 John Levon <levon@movementarian.org>
5086 * text2.C: simplification of cursorEnd(), including partial
5089 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5091 * buffer.C (readFile): add a space
5093 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5095 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5097 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * buffer.C (readFile): new function, take a filename and a
5100 ParagraphList::iterator
5102 (readFile): adjust, make it private. don't use setStream, make
5103 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5104 always contain the filename.
5106 * BufferView.C (insertLyXFile): simplify and make it work for
5109 2003-08-30 John Levon <levon@movementarian.org>
5111 * Makefile.am: fix dist (from Kayvan)
5113 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * most files: change to use const Buffer refs
5117 2003-08-27 André Pönitz <poenitz@gmx.net>
5119 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5120 on top of ownerPar().
5122 2003-08-27 John Levon <levon@movementarian.org>
5124 * funcrequest.C: properly initialise POD members
5126 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5128 * lyxtext.h (top_y): move top_y from here
5133 * BufferView_pimpl.[Ch]: to here
5134 * frontends/screen.C:
5135 * insets/insettabular.C:
5136 * insets/insettext.C: adjust
5137 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5139 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5142 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5144 2003-08-26 André Pönitz <poenitz@gmx.net>
5146 * paragraph_func.[Ch] (outerPar): new function
5149 * paragraph_funcs.C:
5150 * paragraph_funcs.h:
5151 * paragraph_pimpl.C:
5152 * text2.C: remove Inset::par_owner
5154 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5159 * text2.C: eliminates the needFullRow/display() stuff
5160 altogether, putting the logic in metrics/draw in the insets.
5162 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5164 * text2.C (redoParagraphInternal, redoParagraphs):
5165 * text.C (redoParagraph): add a call to updateRowPositions at the
5166 end of each 'metrics-like' call. Remove all others.
5167 (getRow): remove the 'y-computing' version.
5168 (getRowNearY): do not compute nor return the real y. Solve the
5169 'y < 0' problem and simplify.
5171 2003-08-22 Angus Leeming <leeming@lyx.org>
5173 * *.[Ch]: clean-up of licence and author blurbs.
5174 Also move config.h out of a few .h files and into a few .C files.
5176 2003-08-22 André Pönitz <poenitz@gmx.net>
5178 * lyxrow.[Ch]: add x_ and *fill_ members
5183 * text2.C: adjust/remove prepareToPrint() calls
5185 2003-08-22 André Pönitz <poenitz@gmx.net>
5187 * lyxrow.[Ch]: add end_ member
5189 * lyxrow_funcs.C: use LyXRow::end_
5191 * lyxtext.h (singleWidth): add LyXFont parameter
5194 * text2.C: adjust LyXText::singleWidth() calls
5196 * text.C (redoParagraph): simplify row breaking logic
5199 2003-08-19 André Pönitz <poenitz@gmx.net>
5201 * funcrequest.C: initialize button_ member
5204 * rowpainter.[Ch]: interface consolidation
5206 2003-08-18 André Pönitz <poenitz@gmx.net>
5209 * BufferView_pimpl.C:
5211 * paragraph_funcs.C:
5213 * text3.C: remove LyXScreen::draw() and fitCursor calls
5215 * BranchList.h: remove spurious semicolons
5217 * MenuBackend.C: fix branchlist related crash
5219 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5227 * bufferparams.[Ch]:
5231 * text3.C: implements the 'branch inset'
5232 idea. This allows the output of various versions of a document
5233 from a single source version, selectively outputing or suppressing
5234 output of parts of the text.
5235 This implementation contains a 'branch list editor' in a separate
5236 tab of the document settings dialog. Branches are user definable
5237 and have a "display colour" to distinguish them on-screen.
5239 ColorHandler was somewhat cleaned up.
5240 (1) make possible a dynamically growing LColor list by allowing
5241 the graphic context cache to grow along (vector);
5242 (2) eliminate an IMHO unnecessary step in colour allocation.
5244 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5246 * BufferView_pimpl.C: compile fix
5248 2003-08-15 André Pönitz <poenitz@gmx.net>
5250 * rowpainter.C: remove extra metrics calls
5252 * lyxtext.h: merge the two constructors into a single one,
5253 pass reference to owner's par list
5255 * BufferView_pimpl.C:
5259 2003-08-15 André Pönitz <poenitz@gmx.net>
5261 * lyxrow_funcs.[Ch]:
5264 * paragraph_funcs.C:
5269 * text_funcs.C: split LyXText::rowlist_ into individual
5270 Paragraph::rows_ chunks
5273 * BufferView_pimpl.[Ch]:
5276 * text3.C: remove toggleSelection()
5278 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5280 * bufferlist.C: beautify two alerts (shorter text of buttons)
5281 * buffer.C: Remove redundant ' ' from message
5283 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5284 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5285 rename VALIGN_CENTER to VALIGN_MIDDLE
5287 2003-08-11 André Pönitz <poenitz@gmx.net>
5289 * lyxtext.h (getPar):
5290 * text.C: new function
5292 2003-08-11 André Pönitz <poenitz@gmx.net>
5295 * tracer.[Ch]: remove unneeded files
5297 * InsetList.[Ch]: remove resizeInsetsLyXText()
5302 * text3.C: merge insertParagraphs() and appendParagraph()
5303 remove breakAgain(), update()
5305 * BufferView_pimpl.[Ch]:
5306 * bufferview_funcs.[Ch]:
5310 * tabular.C: adjust after text & InsetList changes.
5312 2003-08-08 André Pönitz <poenitz@gmx.net>
5314 * text.C (insertChar, backspace): replace rowlist fiddling
5315 with rebreak of full par
5318 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5319 checkParagraph, updateInset): removed
5321 2003-08-07 André Pönitz <poenitz@gmx.net>
5324 * text3.C: merge some LFUN handlers, remove dead code
5326 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5328 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5330 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5332 * text2.C (DEPM): fix part of bug 1255 and 1256
5334 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5336 * BufferView_pimpl.C (workAreaDispatch): change to use
5337 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5338 that are no mouse related.
5340 2003-08-05 André Pönitz <poenitz@gmx.net>
5343 * BufferView_pimpl.[Ch]:
5344 * bufferview_funcs.C:
5346 * text3.C: rip out "deep update"
5348 * textcursor.[Ch] (last_sel_cursor): remove unused member
5350 2003-08-04 André Pönitz <poenitz@gmx.net>
5353 * BufferView_pimpl.[Ch]:
5354 * ParagraphParameters.C:
5355 * bufferview_funcs.C:
5361 * text3.C: replace "complicated" BufferView::update(...) calls with
5364 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5366 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5368 * Makefile.am (lyx_SOURCES): add paper.h
5370 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5372 * Makefile.am: move things around so that both lyx-qt and
5373 lyx-xforms can be built (according to --with-frontend). Then lyx
5374 is a symbolic link to lyx-[firstfrontend]
5376 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5378 * Always use std::endl with lyxerr
5380 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5382 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5384 2003-08-01 André Pönitz <poenitz@gmx.net>
5387 * BufferView_pimpl.[Ch]:
5389 * text3.C: merge BufferView::repaint() and BufferView::update()
5391 2003-08-01 José Matos <jamatos@lyx.org>
5393 * buffer.[Ch]: file_format is no longer a buffer data element.
5395 2003-08-01 André Pönitz <poenitz@gmx.net>
5400 * text2.C: make redoParagraph more independent of current cursor
5402 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5404 * text2.C: remove unneeded members
5406 2003-07-30 André Pönitz <poenitz@gmx.net>
5408 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5410 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5411 create a single function...
5413 * paragraph_funcs.C (moveItem): ... here.
5416 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5418 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5420 * LColor.[Ch]: Add comment and greyedout logical colors.
5422 2003-07-30 André Pönitz <poenitz@gmx.net>
5424 * tabular.C: don't use Assert too heavily. This crashes where it
5427 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5429 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5430 is disabled (bug 1232)
5432 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5434 * factory.C: limited 'arg' scope
5436 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5438 * factory.C: fixed Note submenu issues
5440 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5442 * factory.C: submenu for Note/Comment/Greyedout
5444 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5447 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5449 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5452 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5453 greyedout. Patch provided by Jürgen Spitzmüller.
5455 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5457 * kbmap.C (read): fix error message when reading bind files
5459 2003-07-29 Angus Leeming <leeming@lyx.org>
5461 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5462 certainly does not do what it purports to do. I am doing it, and
5463 us, a favour by killing it.
5465 2003-07-28 José Matos <jamatos@lyx.org>
5467 * buffer.C (readBody, do_writeFile):
5468 * paragraph.C(readParagraph): \end_document replaces \the_end.
5470 2003-07-29 André Pönitz <poenitz@gmx.net>
5473 * BufferView_pimpl.[Ch]:
5477 * textcursor.[Ch]: remove toggleToggle & Co
5479 2003-07-28 José Matos <jamatos@fep.up.pt>
5481 * buffer.C (readParagraph):
5482 * params_func (readParToken, readParagraph):
5483 * paragraph.C (write): \layout -> \begin_layout.
5485 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5487 * lyxlex_pimpl.C (setFile): clean up slightly.
5489 * bufferparams.h: add compressed var
5491 * buffer_funcs.C (readFile): adjust for LyXLex change
5492 (newFile): ditto + simplify
5494 * buffer.C (writeFile): handle writing of compressed files
5496 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5497 Check if the file is compressed and set a bufferparm if so.
5499 * Makefile.am (lyx_LDADD): remove explicit -lz
5501 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5503 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5504 makeDocBookFile): put the real LyX version in the first line of
5508 * version.C.in: remove lyx_docversion
5510 * tabular.C (write_attribute): add a template-based version to
5511 write enums properly
5513 2003-07-28 André Pönitz <poenitz@gmx.net>
5518 * text3.C: use doubles again for x-coordinates. They are needed.
5520 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5522 * messages.C (getLocaleDir): use lyx_localedir()
5524 * lyxlex_pimpl.C (setFile): compress stuff
5526 * buffer.C (writeFile): add some compression stuff
5527 (do_writeFile): new func, dont call expliti close... will this
5530 * Makefile.am (lyx_LDADD): add -lz
5532 2003-07-28 José Matos <jamatos@fep.up.pt>
5534 * buffer.C: increment file format.
5535 * paragraph_funcs (readParagraph, readParToken):
5536 * paragraph.C (readParagraph): add \end_layout.
5538 2003-07-27 Angus Leeming <leeming@lyx.org>
5540 * Makefile.am: remove special casing for configure-time setting of
5541 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5543 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5544 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5546 2003-07-26 André Pönitz <poenitz@gmx.net>
5548 * paragraph_func.[Ch]:
5549 * paragraph.C (realizeFont): inline it whereever it is used
5554 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5557 2003-07-26 André Pönitz <poenitz@gmx.net>
5561 * text2.C: get rid of LyXText::need_break_row
5563 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * toc.[Ch]: put namespace toc inside namespace lyx
5567 * MenuBackend.C (expandToc2): adjust for lyx::toc
5570 * lyxfunc.C (dispatch): adjust for lyx::find
5572 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5573 lyx::find instead. Reorganize a bit.
5574 (LyXReplace): rename to replace
5575 (LyXFind): rename to find
5577 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5580 2003-07-26 André Pönitz <poenitz@gmx.net>
5582 * text.C (setHeightOfRow): restrict scope of temporary variable
5584 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5585 code (never has been used?)
5587 2003-07-27 Asger Alstrup <alstrup@local>
5589 * text.C (fill): Optimise algorithm to exploit that we can reuse
5590 the LyXFont for many characters.
5591 (setHeightOfRow): Same thing.
5592 (rowBreakPoint): Same thing.
5594 2003-07-26 Asger Alstrup <alstrup@local>
5596 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5598 * text.C (singleWidth): Spurious font copying in hot-spot
5599 singleWidth avoided. Reorder tests for arabic for efficiency.
5601 * text.C (fill): handle empty paragraphs better.
5603 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5606 * encoding.h: add includes
5608 * lyxrc.C: remove reading of bind files
5610 * lyx_main.C (init): setup bindings and menus only if we have a
5613 * kbmap.C (read): new method. Do the actual reading of bind
5616 * converter.C (dvipdfm_options):
5619 (output): adapt PAPER_* enums.
5621 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5623 * bufferparams.h: remove paper-related enums from there
5625 * paper.h: New file. A trivial header file to hold paper-related
5626 enums. It should later expand to contain many paper-related
5629 * lyxrc.C: declare extern displayTranslator
5631 2003-07-27 José Matos <jamatos@fep.up.pt>
5633 * tabular.[Ch] (linuxdoc): add support for tables and figures
5636 2003-07-27 José Matos <jamatos@fep.up.pt>
5638 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5639 consistency in both functions.
5640 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5642 2003-07-26 Asger Alstrup <alstrup@local>
5644 * rowpainter.C (paintRows): Change algorithm to work directly on
5645 the insets rather than asking every character in the document
5646 whether its an inset.
5648 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5650 * buffer.C (openFileWrite): factorize some code
5652 2003-07-26 Angus Leeming <leeming@lyx.org>
5655 * lyx_main.[Ch]: replace occurances of system_tempdir with
5658 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * rename Inset to InsetOld
5662 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5664 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5665 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5666 which I think is a bit clearer. EDIT is gone, since it was
5667 premature optimisation, and broken for mathed anyway.
5668 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5669 with cursor positioning in insets as well (math insets still do not
5670 work, but that's a different story anyway.) It mysteriously
5671 crashes sometimes with undo in the first paragraph, but I'm fairly
5672 confident that this is a compiler bug.
5674 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5676 * paragraph.C (Paragraph): adjust for new clone return type
5678 (copyIntoMinibuffer): ditto
5680 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5682 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5683 by not having a special case, and always doing a full rebreak of
5684 the document after undo.
5686 2003-07-23 Angus Leeming <leeming@lyx.org>
5688 * factory.C (createInset): InsetExternal::setParams now takes a
5691 2003-07-23 Angus Leeming <leeming@lyx.org>
5693 * factory.C (createInset): changed interface to the external and
5694 graphics mailers' string2params functions.
5696 2003-07-23 Angus Leeming <leeming@lyx.org>
5698 * factory.C (createInset): pass a
5699 Buffer const * parameter to InsetExternalMailer's string2params.
5701 2003-07-22 John Levon <levon@movementarian.org>
5703 * Thesaurus.h: include the right aiksaurus header
5705 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5707 * MenuBackend.C (expand): check menu shortcuts unconditionally
5709 2003-07-21 Angus Leeming <leeming@lyx.org>
5711 * factory.C (createInset): pass a
5712 buffer_path parameter to InsetGraphicsMailer's string2params.
5714 2003-07-21 Angus Leeming <leeming@lyx.org>
5716 * BufferView_pimpl.C (buffer):
5719 * lyxfunc.C (dispatch):
5720 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5721 rather than the grfx shortcut.
5723 2003-07-21 André Pönitz <poenitz@gmx.net>
5725 * rowpainter.C: remove unused variables
5728 * tabular_funcs.h: move to tabular.C
5729 * Makefile.am: adjust
5731 * tabular.[Ch]: basic optical cleaning
5733 * author.h: pass references, not values
5735 2003-07-18 André Pönitz <poenitz@gmx.net>
5743 * text3.C: two-phase drawing for InsetText and InsetTabular
5744 some float -> int changes.
5746 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5748 * lyx_main.C: fix the fix
5750 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5752 * lyx_main.C: fix a crash in batch mode if no files specified
5755 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5757 * format.[Ch] (papersize): moved to BufferParams
5758 * converter.[Ch] (dvips_options): moved to BufferParams
5759 (dvipdfm_options): moved to anon namespace
5760 * bufferparams.[Ch]: added above functions.
5762 2003-07-17 André Pönitz <poenitz@gmx.net>
5766 * text2.C: don't call inset->update() anymore
5768 * metricsinfo.[Ch]: add convenience constructor
5770 2003-07-16 André Pönitz <poenitz@gmx.net>
5775 * text2.C: replace the LyXCursor::irow_ member with
5776 on-demand computation of the value
5778 2003-07-16 John Levon <levon@movementarian.org>
5780 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5782 2003-07-15 André Pönitz <poenitz@gmx.net>
5785 * text2.C: remove no more needed refresh_row
5787 2003-07-15 André Pönitz <poenitz@gmx.net>
5792 * text3.C: refresh_status tristate -> need_update bool
5794 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5796 * lyxtext.h (init): remove reinit argument (act as if always true)
5797 * text2.C: adjust to that
5799 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5801 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5802 * text3.C: use it to delete selections in some cases
5803 (bugs 441, 673, 702, 954).
5805 2003-07-14 André Pönitz <poenitz@gmx.net>
5807 * rowpainter.[Ch]: reduce interface
5809 2003-07-14 André Pönitz <poenitz@gmx.net>
5811 * BufferView_pimpl.C:
5812 * text2.C: adjust after removing unused BufferView * argument
5814 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5816 * text2.C (init): fix a crash fired on resize
5818 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5820 * buffer.[Ch]: added new closing signal
5821 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5822 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5823 BufferView::Pimpl via the closing the signal
5825 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5827 * buffer.[Ch]: take out all bv-related from buffer
5829 * BufferView_pimpl.[Ch]: connect to new signals
5830 * CutAndPaste.C: removed useless asserts
5831 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5834 * lyxfunc.C: moved view-related funciontality from vc here
5835 * paragraph.C: removed outdated comments
5838 2003-07-10 André Pönitz <poenitz@gmx.net>
5840 * BufferView_pimpl.C:
5844 * text2.C: remove InsetText::InnerCache, clean up consequences
5846 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5848 * ispell.C: fix two typos in error messages
5850 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5852 * Extend Note inset to other forms of annotation like Comment
5853 and Greyedout. Right button click gives dialog.
5855 Files modified or added (+):
5859 * ControlNote.[Ch] +
5861 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5862 frontends/controllers
5866 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5868 * aspell.C: add missing namespace lyx::support
5870 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5872 * BufferView.[Ch] (newFile): Add
5873 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5874 * LaTeX.[Ch] (message): added this signal and use it
5875 * buffer.[Ch] (busy, message): added these signals and use them
5876 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5880 * importer.C: use buffer signals instead of direct bv calling
5881 * lyx_cb.[Ch] (ShowMessage): removed
5884 * paragraph_funcs.C:
5885 * text2.C: use buffer signals
5887 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * introduce namespace lyx::graphics
5891 2003-07-02 André Pönitz <poenitz@gmx.net>
5893 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5895 2003-07-01 André Pönitz <poenitz@gmx.net>
5902 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5903 text*.C to text_func.C
5905 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * introduce namespace lyx::support
5909 2003-06-30 André Pönitz <poenitz@gmx.net>
5914 * text.C: re-enable --with-included-string
5916 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * textcursor.C: add <config.h>
5920 * text.C (getWord): remove const from word_location arg
5922 * lyxvc.C (getLogFile): fix const type order
5924 * lyxtext.h: remove const from word_location arg, add arg name
5926 * lyxlayout.h: currect type on labeltype.
5928 * importer.C: correct \file
5930 * converter.C (intToFormat): use std:: on ret val, ws changes
5932 * bufferlist.h: correct \file
5934 * buffer.C (makeLinuxDocFile): fix const type order
5935 (makeDocBookFile): ditto
5936 (fillWithBibKeys): use std:: on stdlib args.
5938 * CutAndPaste.C: fix authors.
5939 (availableSelections): use std:: on return vector
5941 2003-06-27 André Pönitz <poenitz@gmx.net>
5943 * BufferView_pimpl.C:
5944 * bufferview_funcs.C:
5952 * text3.C: remove LyXCursor::row_ member
5955 * text.C: rename fullRebreak() to partialRebreak() and implement
5956 a fullRebreak() that really bereks fully
5958 * textcursor.h: new struct for cursor-related data
5960 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5962 * lyx_main.C (LyX): get full path of document loaded on the
5965 2003-06-26 André Pönitz <poenitz@gmx.net>
5967 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5968 remove unused/broken operator>,<,>=.
5970 * text.C: remove only use of broken operator<= in an Assert().
5972 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5974 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5975 moved errorlist_.clear to showErrorList
5977 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5979 * converter.C (scanLog, runLaTeX):
5980 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5981 move the bv->showErrorList call to the callers
5982 * lyxfunc.C: i.e. here...
5984 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5985 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5986 namespace, the second to...
5987 * buffer_funcs (BufferFormat, parseErrors): added
5988 * errorlist.C (ErrorList(TeXErrors const &)): removed
5990 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5992 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5994 2003-06-24 "Garst R. Reese" <reese@isn.net>
5998 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6000 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6002 * version.C.in: change docversion to 1.4
6004 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6006 * buffer.C: fix a bug just introduced
6008 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6010 * buffer.[Ch]: added the parseError signal and use it, removed
6012 * BufferView.[Ch] (addError): moved to ...
6013 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6014 to the Buffer::parseError signal to catch (guess what) parse errors
6015 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6017 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6019 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6020 ability to create a buffer and to return an existing one from
6021 the list. Moved these functions to...
6022 * buffer_funcs.[Ch]: added
6023 * BufferView.[Ch] (loadLyXFile): added
6024 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6025 job removed from bufferlist::loadLyXFile.
6026 * buffer.C (setReadOnly): make it work without view
6027 (i.e added an if (users))
6029 2003-06-19 Angus Leeming <leeming@lyx.org>
6032 * LyXAction.C (init):
6033 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6034 with LFUN_DIALOG_SHOW <name> <data>.
6036 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6038 * CutAndPaste.C (availableSelections): small compilation fix for
6039 ancient (gcc 2.9x) compilers
6041 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6043 * text3.C (cursorNext): add tmp var
6045 * text2.C (updateCounters): for function calling out of for clause
6046 (replaceSelectionWithString): ditto
6047 (insertStringAsParagraphs): ditto
6048 (getColumnNearX): add tmp var
6049 (setCursorFromCoordinates): add tmp var
6050 (cursorDownParagraph): add tmp var
6051 (deleteEmptyParagraphMechanism): add tmp var
6053 * text.C (insertChar): add tmp var
6055 * rowpainter.C (paintDepthBar): add tmp var
6057 * CutAndPaste.C (availableSelections): potentially check all
6058 paragraphs in a cut to fill the shown strings.
6060 2003-06-18 André Pönitz <poenitz@gmx.net>
6062 * kbmap.[Ch]: use vector<> instead of list<>
6064 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6066 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6067 pasteSelection with index
6069 * text2.C (pasteSelection): modify, call pasteSelection with index
6071 * paragraph.C (asString): reimplement version with no interval to
6072 call the one with interval.
6074 * lyxtext.h: add index arg to pasteSelection
6076 * MenuBackend.C (MenuItem): handle PasteRecent
6077 (Menu::read::Menutags): add md_pasterecent
6079 (expandPasteRecent): new function
6082 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6084 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6086 (availableSelections): new function
6088 2003-06-17 Angus Leeming <leeming@lyx.org>
6090 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6092 2003-06-17 Angus Leeming <leeming@lyx.org>
6095 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6097 * lyxfunc.C (dispatch): invoke it.
6099 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6101 * iterators.C (operator++, ParPosition): reintroduce some
6102 const_cast for the benefit of older compilers.
6104 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6106 * text3.C (dispatch): do not modify clipboard when doing
6107 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6108 LFUN_DELETE_SKIP on a selection selection
6110 2003-06-16 André Pönitz <poenitz@gmx.net>
6116 * tabular.[Ch]: IU of clone() and getLabelList();
6118 2003-06-13 André Pönitz <poenitz@gmx.net>
6120 * tabular.h: compactification
6122 2003-06-12 André Pönitz <poenitz@gmx.net>
6126 * tabular_funcs.h: some renaming plus whitespace
6128 2003-06-12 André Pönitz <poenitz@gmx.net>
6131 * BufferView_pimpl.C:
6137 * toc.C: Return a Paragraph & for ParIterator::operator*()
6139 2003-06-11 John Levon <levon@movementarian.org>
6143 * ToolbarBackend.C: add "Toolbars" section and
6146 2003-06-10 Angus Leeming <leeming@lyx.org>
6149 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6151 * lyxfunc.C (dispatch): invoke it.
6153 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * main.C: protect <ios> with HAVE_IOS
6156 (main): protect sync_with_stdio with HAVE_IOS
6158 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6160 * text2.C (cutSelection): adjust
6161 (pasteSelection): adjust
6163 * messages.C: handle get of empty string
6165 * main.C (main): use sync_with_stdio(false)
6167 * lyxfunc.C (dispatch): adjust
6169 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6170 (WriteAs): remove unneeded BufferView arg.
6172 * bufferparams.h: use correct types on papersize, papersize2 and
6175 * bufferparams.C (readToken): adjust for type
6176 (writeLaTeX): add missing cases to switch.
6178 * bufferlist.C (quitWriteBuffer): adjust
6181 * buffer.C (asciiParagraph): remove some commented code.
6183 * CutAndPaste.C: remove current_view extern variable.
6184 (cutSelection): add BufferParams arg.
6185 (eraseSelection): add BufferParams arg.
6186 (pasteSelection): add Buffer const & arg
6188 2003-06-07 John Levon <levon@movementarian.org>
6191 * paragraph_funcs.C:
6192 * paragraph_pimpl.C:
6196 * paragraph.C: allow InsetERT to freely space lines,
6197 and some consolidation of code
6199 2003-06-06 José Matos <jamatos@fep.up.pt>
6201 * buffer.C (makeDocBookFile): fix bug #821
6203 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6205 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6207 2003-06-04 Angus Leeming <leeming@lyx.org>
6209 * buffer.C: bump format to 224.
6211 2003-06-05 André Pönitz <poenitz@gmx.net>
6213 * text2.C (redoParagraphs): remove two const_cast<>
6215 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6217 * ParagraphList.h: remove last remnants of NO_STD_LIST
6219 2003-06-03 Angus Leeming <leeming@lyx.org>
6221 * factory.C (createInset): small change to the way InsetExternal's params
6224 2003-06-04 André Pönitz <poenitz@gmx.net>
6226 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6228 * paragraph_pimpl.h:
6229 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6231 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6233 * undo_funcs.C: make some simple cases of undo work again
6235 2003-06-03 John Levon <levon@movementarian.org>
6237 * ispell.C: HPUX doesn't have sys/select.h
6240 2003-06-03 John Levon <levon@movementarian.org>
6242 * CutAndPaste.C: update tabular and include inset
6247 * paragraph.C: remove owningBuffer(), don't pass Buffer
6250 * factory.C: insetGraphicsParams changed
6252 2003-06-02 John Levon <levon@movementarian.org>
6258 * text3.C: remove insetparent
6260 2003-06-02 John Levon <levon@movementarian.org>
6263 * buffer.C: fix inset_iterator.end(), move out of line
6266 2003-06-01 John Levon <levon@movementarian.org>
6268 * text3.C: use a proper cut/paste when doing inset
6269 insert (from Jürgen Spitzmüller)
6271 2003-06-01 John Levon <levon@movementarian.org>
6273 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6275 2003-05-30 André Pönitz <poenitz@gmx.net>
6277 * rowpainter.C: unify second drawing phase
6279 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * trans_mgr.C: remove one case of current_view
6283 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6285 * paragraph_funcs.h: remove paragraph.h include
6287 * paragraph.h: delete NO_STD_LIST stuff
6289 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6291 * buffer.h: remove paragraph.h include
6293 * ParagraphList.C: delete file
6295 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6297 * toc.C (getTocList): adjust
6299 * paragraph_pimpl.C (validate): adjust
6301 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6303 * paragraph.C (Paragraph): adjust
6304 (getPositionOfInset): use const_iterator, adjust
6305 (bibitem): use const_iterator, adjust
6306 (setInsetOwner): adjust
6308 * iterators.C (operator++): adjust
6310 * InsetList.[Ch]: Replace selfmade iterator with standard
6311 vector::iterator also introduce const_iterator. Remove getPos,
6312 getInset and setInset from InsetTable. Adjust accordingly.
6314 * BufferView.C (lockInset): adjust
6315 (ChangeInsets): adjust
6317 * tabular.[Ch]: delete commented same_id functions
6319 2003-05-28 John Levon <levon@movementarian.org>
6321 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6323 2003-05-28 André Pönitz <poenitz@gmx.net>
6325 * metricsinfo.[Ch]: remove 'fullredraw' member
6327 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6329 * lyxtextclass.C (operator): remove caching.
6331 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6335 * text2.C (cursorBottom): adjust
6336 (setCounter): use ParagraphList::find, adjust
6338 * text.C (workWidth): use ParagraphList::find, adjust
6340 * lyxcursor.C (LyXCursor): adjust
6342 * buffer.C (inset_iterator): adjust
6344 * ParagraphList.h: make iterator(value_type) private, make
6345 ParagraphList a friend of iterator.
6347 * ParagraphList.C (find): new function
6349 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6351 2003-05-27 André Pönitz <poenitz@gmx.net>
6353 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6355 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6357 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6359 2003-05-26 John Levon <levon@movementarian.org>
6361 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6363 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6365 * remove same_id from function signatures, adjust.
6367 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6369 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6371 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6373 * paragraph.C (Paragraph): get rid of same_ids parameter
6375 * ParagraphList.C (insert): adjust
6378 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * paragraph_funcs.C (breakParagraph): adjust
6381 (breakParagraphConservative): adjust
6383 * buffer.C (readParagraph): adjust
6385 * ParagraphList.C (insert): take a reference instead of a pointer
6388 * paragraph.[Ch] (id): new function
6390 * bufferlist.C (newFile): adjust
6392 * ParagraphList.C (ParagraphList): adjust
6394 (push_back): take a reference instead of a pointer.
6396 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6398 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6401 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6402 set else use old code.
6404 * ParagraphList.C: remove all NO_NEXT code and only compile this
6405 code of NO_STD_LIST is set.
6407 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6409 * BufferView_pimpl.C:
6419 * graphics/GraphicsConverter.C:
6420 * graphics/PreviewLoader.C: header adjustment
6422 2003-05-23 Angus Leeming <leeming@lyx.org>
6424 * LaTeXFeatures.[Ch] (useBabel): new method.
6425 * bufferparams.C (writeLaTeX): use it.
6427 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6429 * ParagraphList.h (set): remove unused function.
6431 2003-05-23 André Pönitz <poenitz@gmx.net>
6434 * BufferView_pimpl.C:
6438 * undo_funcs.C: setUndo reworked
6440 * iterators.[Ch]: add access to topmost ParagraphList
6442 * lyxtext.[Ch] (workWidth): add a const
6444 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6446 * texrow.[Ch] (increasePos): remove function
6447 * exporter.C (export): removed unused var and outdated comment
6449 2003-05-23 Angus Leeming <leeming@lyx.org>
6451 * latexrunparams.h: rename fragile as moving_arg.
6452 * paragraph.C (simpleTeXOnePar): ditto.
6453 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6455 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6457 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6459 (textUndoOrRedo): comment out a currently unused var.
6461 * paragraph.h (NO_NEXT): enable NO_NEXT
6463 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6465 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6467 * exporter.C (Export): adjust for removeAutoInsets removal.
6469 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6471 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6473 * BufferView.[Ch] (removeAutoInsets): delete function
6475 2003-05-22 Angus Leeming <leeming@lyx.org>
6477 * latexrunparams.h: add a free_spacing variable.
6479 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6480 to pass moving_arg, as the data is stored in runparams.fragile.
6482 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6483 to Inset::latexOptional or to simpleTeXOnePar.
6485 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6486 free_spacing arg to Inset::latexOptional.
6488 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6491 2003-05-22 Angus Leeming <leeming@lyx.org>
6493 * latexrunparams.h: add fragile and use_babel variables.
6495 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6496 * buffer.C (makeLaTeXFile): store this returned value in
6497 runparams.use_babel, thus passing it to the inset::latex methods.
6499 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6500 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6502 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6503 longer has a fragile arg, as it is stored in runparams.fragile.
6505 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6506 moving_arg parameter as the data is stored in runparams.fragile.
6508 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6509 a fragile parameter as the data is stored in runparams.fragile.
6511 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6515 2003-05-22 Angus Leeming <leeming@lyx.org>
6517 * latexrunparams.h: add a 'bool nice' which defaults to false.
6519 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6520 now encapsulated within runparams.
6522 * bufferlist.C (updateIncludedTeXfiles):
6523 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6525 2003-05-22 Angus Leeming <leeming@lyx.org>
6527 * latexrunparams.h: new file containing struct LatexRunParams.
6528 * Makefile.am: add new file.
6530 * LaTeX.[Ch] (c-tor, run):
6531 * buffer.[Ch] (makeLaTeXFile):
6532 * bufferlist.[Ch] (updateIncludedTeXfiles):
6533 * converter.C (convert, scanLog):
6534 * converter.[Ch] (runLaTeX):
6535 * exporter.C (Export):
6536 * paragraph.[Ch] (simpleTeXOnePar):
6537 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6538 * paragraph_funcs.[Ch] (latexParagraphs):
6539 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6540 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6541 pass around a LatexRunParams parameter.
6543 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * paragraph.[Ch]: remove unused constructor
6547 * ParagraphList.C (erase): new function, taking two iterators
6549 2003-05-22 André Pönitz <poenitz@gmx.net>
6551 * undo_funcs.C: remove duplicated code
6553 * iterator.[Ch]: operator=
6555 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6557 * tabular.C (SetMultiColumn): ws changes
6559 * rowpainter.C (paintFirst): get rid of a ->previous
6561 * lyx_cb.C (getPossibleLabel): parlist simplification
6563 * BufferView.C (ChangeInsets): simplify slightly.
6565 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6567 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6568 * lfuns.h: new LFUN_SPACE
6569 * lyxfunc.C: protected space has a new lfun
6570 * paragraph_funcs.C: read new space insets
6572 * factory.C: handle new space insets
6574 2003-05-22 André Pönitz <poenitz@gmx.net>
6577 * BufferView_pimpl.C:
6580 * undo_funcs.C: return a ParIterator from getParFromID.
6582 * iterators.[Ch]: add two const's
6584 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * toc.C (getTocList): adjust
6588 * iterators.[Ch]: rework for parlist
6590 * buffer.C (par_iterator_begin): adjust
6591 (par_iterator_end): adjust
6593 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6595 * BufferView.C (removeAutoInsets): adjust
6596 (ChangeInsets): adjust
6598 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6600 * text.C (top_y): fix bug 1110
6602 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6604 * errorlist.[Ch]: added
6607 * BufferView_pimpl.C:
6608 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6611 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6613 * Makefile.am: ensure that lyx is relinked upon changes to the
6614 various "convenience" libs.
6616 2003-05-20 Angus Leeming <leeming@lyx.org>
6618 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6619 files are compiled in alphabetical order again.
6621 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6623 2003-05-19 Angus Leeming <leeming@lyx.org>
6625 * gettext.[Ch]: remove "char const * _(char const *)".
6627 2003-05-19 André Pönitz <poenitz@gmx.net>
6629 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6638 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6640 2003-05-19 André Pönitz <poenitz@gmx.net>
6644 * lyxtextclass.[Ch]:
6646 * paragraph_funcs.[Ch]:
6648 * text3.C: more insetenv work
6650 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6652 * ParagraphParameters.C (params2string): small bug fixed
6654 2003-05-16 André Pönitz <poenitz@gmx.net>
6657 * bufferview_funcs.C: patch from Kornel Benko to prevent
6658 crash when _(...) is called twice in a statement
6660 2003-05-16 André Pönitz <poenitz@gmx.net>
6667 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6669 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6671 * lyx_main.C (init): remove spurious static_cast
6673 2003-05-14 André Pönitz <poenitz@gmx.net>
6675 * BufferView.C: fix format string
6677 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6679 * BufferView.[Ch] (insertErrors): removed
6680 * BufferView.[Ch] (showErrorList): added
6681 * buffer.C (runChkTeX):
6682 * converter.C (scanLog): call showErrorList instead of inserterrors
6684 2003-05-13 André Pönitz <poenitz@gmx.net>
6686 * BufferView_pimpl.C:
6688 * bufferview_func.C:
6695 * tabular_funcs.h: tostr() from its own header
6697 * ParagraphParameters.C:
6702 * text3.C: STRCONV()
6704 2003-05-12 André Pönitz <poenitz@gmx.net>
6707 * BufferView_pimpl.C:
6711 * ParagraphParameters.C:
6715 * bufferview_funcs.C:
6728 * paragraph_funcs.C:
6732 * text3.C: boost::format -> bformat all over the place
6735 2003-05-09 André Pönitz <poenitz@gmx.net>
6737 * LColor.[Ch]: Pimpl the #include <map> away
6739 2003-05-09 John Levon <levon@movementarian.org>
6741 * bufferlist.C: never remove emergency saves
6743 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * Makefile.am: better lib building
6747 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6749 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6751 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6752 (simpleTeXSpecialChars): adjust
6753 (simpleTeXSpecialChars): adjust
6754 * paragraph.C (simpleTeXOnePar): adjust
6755 * buffer.C (makeLaTeXFile): adjust
6757 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6759 * text2.C (changeDepth): parlist cleanup
6760 (getColumnNearX): ditto
6762 * rowpainter.C (getLabelFont): parlist cleanup
6764 * bufferlist.C (newFile): parlist cleanup
6766 * CutAndPaste.C (eraseSelection): parlist cleanup
6768 * BufferView_pimpl.C (trackChanges): parlist cleanup
6771 * BufferView.C (lockInset): parlist cleanup.
6772 (ChangeInsets): ditto
6774 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6776 * CutAndPaste.h: Update file header.
6778 * CutAndPaste.C: Update file header.
6779 Store the parts cut out of the Document in a limited_stack.
6780 (copySelection): adjust
6781 (pasteSelection): new function, takes the index in the limited stack.
6782 (nrOfParagraphs): adjust
6783 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6784 simplify error inset insertion.
6785 (checkPastePossible): adjust
6787 2003-05-06 John Levon <levon@movementarian.org>
6789 * text2.C: don't cast wrap inset to float
6791 2003-05-05 André Pönitz <poenitz@gmx.net>
6794 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6796 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6797 few naked Paragraph *.
6799 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6801 * bufferparams.C: Output warning if a document with missing
6802 TeX document class is loaded
6803 * exporter.C: Disable TeX exports if the document class is missing
6806 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6807 isTeXClassAvailable()
6809 2003-05-03 John Levon <levon@movementarian.org>
6812 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6813 explicit cursor show/hide
6815 * BufferView_pimpl.h:
6816 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6817 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6819 * lyxfunc.C: hide cursor before dispatching.
6824 * text3.C: remove explicit cursor hides
6826 2003-05-02 André Pönitz <poenitz@gmx.net>
6828 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6831 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6834 * text2.C: tiny whitespace
6836 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6838 * undo_funcs.C: almost only ws changes.
6840 * ParagraphList.C (splice): just return if pl is empty.
6842 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6844 * ParagraphList.C (splice): new function.
6846 * CutAndPaste.C (pasteSelection): use it
6848 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6850 * CutAndPaste.C (pasteSelection): remove the last next and
6851 previous from this file.
6853 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6855 * CutAndPaste.C (pasteSelection): more clean up, user proper
6856 ParagraphList functions for pasteing.
6858 * ParagraphList.C (insert): new function, three arg insert
6860 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * ParagraphList.C (insert): new function, three arg insert
6864 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6867 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6869 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6871 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6873 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6875 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6877 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6878 (copySelection): clean up a bit.
6879 (pasteSelection): use make_pair
6881 * ParagraphList.C (ParagraphList): implement copy constructor
6882 (operator=): implement, base on copy constructor.
6885 * paragraph.C (erase): return a bool
6887 * paragraph_pimpl.C (erasePos): remove function, move contents...
6888 (erase): ... here. Return a bool.
6889 (erase): call erase instead of erasePos.
6891 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6893 * ParagraphList.h: define PitPosPair
6894 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6895 ParagraphList, fix a bug on pasting multiple pars
6896 * text2.C: change interface to C&P
6898 2003-04-30 André Pönitz <poenitz@gmx.net>
6900 * undo_func.C: revert part of yesterday's patch 2
6902 2003-04-30 John Levon <levon@movementarian.org>
6904 * LColor.C: s/tabular/table/
6906 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * text3.C (dispatch): do not convert iterator -> pointer
6909 * undo_funcs.C (setCursorParUndo): ditto
6910 * text_funcs.C (transposeChars): ditto
6912 * text2.C (setLayout): ws changes only
6914 * text.C (breakParagraph): do not convert iterator -> pointer
6916 (acceptChange): ditto
6917 (rejectChange): ditto
6922 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6925 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6927 * text3.C (gotoInset): YABG (yet another bad getChar)
6929 2003-04-29 André Pönitz <poenitz@gmx.net>
6931 * paragraph.h: make operator= private unimplemented as long as
6934 * ParagraphList.C: whitespace
6937 * paragraph_pimpl.[Ch]:
6938 * paragraph_funcs.C:
6940 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6943 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6945 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6947 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6948 * paragraph.[Ch] (erase):
6949 * paragraph_pimpl.[Ch] (erase): change return type and value
6950 * text2.C (cutSelection): some rework
6952 2003-04-28 John Levon <levon@movementarian.org>
6954 * bufferlist.C: changes for unsaved changes dialog
6956 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * bufferlist.C (newFile): set language (messages_) for new
6961 * buffer.C (readFile): ws changes only.
6963 2003-04-28 André Pönitz <poenitz@gmx.net>
6968 * BufferView_pimpl.C:
6969 * BufferView.C: getParFromID related ParagraphList::iterator changes
6971 2003-04-28 André Pönitz <poenitz@gmx.net>
6973 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6976 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6978 * messages.C: remove one more localedir class variable.
6980 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6982 * messages.C (getLocaleDir): singleton generation function
6984 (Messages): add a default constructor.
6986 * main.C (main): do not setup localedir here, do not call
6989 * gettext.C (_): use it.
6990 (gettext_init): delete funciton
6992 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6994 * gettext.C (getLyXMessages): new singleton generating function.
6996 * buffer.C (updateDocLang): adjust
6998 * Makefile.am (messages.o): add target
6999 (main.o): remove target
7001 2003-04-27 John Levon <levon@movementarian.org>
7006 * lyxvc.C: specify cancel button in Alert::prompt
7008 2003-04-26 John Levon <levon@movementarian.org>
7013 * LyXAction.C: add LFUN_INSET_SETTINGS
7015 * lyxfunc.C: don't enable tabular-feature when there's
7016 just any locking inset
7018 2003-04-26 John Levon <levon@movementarian.org>
7020 * bufferlist.C: re-add Cancel to buffer close question
7022 * lyxfunc.C: fix import UI a bit
7024 2003-04-25 John Levon <levon@movementarian.org>
7026 * gettext.C: remove the broken asserts for now
7028 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7030 * messages.C: make case where setlocale cannot comply work better.
7032 * buffer.C (updateDocLang): new function
7033 (changeLanguage): use it
7036 * text2.C (setCounter): use B_ a bit.
7038 * lyxlayout.C (Read): be sure to trim the label strings.
7040 * messages.C (Messages): fix typo in comment
7042 * buffer.C (readFile): set message_ after file is loaded.
7043 (makeDocBookFile): remove double return
7044 (changeLanguage): reset message_ upon language change.
7045 (B_): new func, use this to get translated buffer strings.
7047 * main.C: add myself and Jean Marc as authors.
7049 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7051 * messages.[hC]: pimplify Messages, and three different pimpls to be
7052 used in different circumstances.
7054 * gettext.[Ch]: change for use with new message code.
7056 2003-04-24 André Pönitz <poenitz@gmx.net>
7058 * factory.C: support for eqref
7060 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * messages.[Ch]: add missing char
7064 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7066 * messages.[Ch]: New files
7068 2003-04-18 John Levon <levon@movementarian.org>
7072 * BufferView_pimpl.C:
7076 * text2.C: remove layout-copy/paste (bug 778)
7078 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7080 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7082 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7084 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7085 if they succeed. Act accordingly.
7087 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * text2.C (setCharFont): adjust
7090 (setCounter): adjust
7091 (insertStringAsLines): adjust
7093 * text.C (leftMargin): adjust
7094 (setHeightOfRow): adjust
7096 * rowpainter.C (paintFirst): adjust
7099 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7101 (isFirstInSequence): ditto
7102 (getEndLabel): ditto
7105 * paragraph.C (getParLanguage): comment out some hard stuff.
7107 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7109 (simpleDocBookOnePar): ditto
7110 (makeDocBookFile): use ParagraphList::iterator
7112 * CutAndPaste.C (pasteSelection): adjust
7114 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * text2.C (getFont): adjust
7117 (getLayoutFont): adjust
7118 (getLabelFont): adjust
7120 * paragraph_funcs.C (TeXOnePar): adjust
7122 * buffer.C (simpleLinuxDocOnePar): adjust
7123 (simpleDocBookOnePar): adjust
7125 * CutAndPaste.C (pasteSelection): adjust
7127 * BufferView.C (getEncoding): adjust
7129 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7131 2003-04-16 John Levon <levon@movementarian.org>
7133 * lyxfind.C: use parlist stuff for search/changes
7135 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7137 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7139 * text2.C (deleteEmptyParagraphMechanism): adjust
7141 * text2.[Ch] (ownerParagraph): delete func (both of them
7143 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7145 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7147 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * ParagraphList.C: prepare for NO_NEXT
7151 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7153 * text2.C (getFont): adjust
7154 (getLayoutFont): adjust
7155 (getLabelFont): adjust
7157 * paragraph.C (getFont): adjust
7158 (getLabelFont): adjust
7159 (getLayoutFont): adjust
7161 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7163 2003-04-15 John Levon <levon@movementarian.org>
7167 * lyx_main.C: handle Include in .ui files
7169 2003-04-15 John Levon <levon@movementarian.org>
7171 * MenuBackend.C: make the doc files length shorter
7174 * ToolbarBackend.C: handle toolbar placement flags,
7177 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7182 * paragraph_funcs.C (TeXOnePar): adjust
7184 * paragraph.C (getLabelFont): add outerfont arg, adjust
7185 (getLayoutFont): ditto
7186 (simpleTeXOnePar): adjust
7188 * paragraph_pimpl.C (realizeFont): delete func
7190 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7192 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7193 row argument, constify cur argument.
7195 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * text2.C (getFont): adjust
7198 (getLayoutFont): adjust
7199 (getLabelFont): adjust
7201 * paragraph_funcs.C (TeXOnePar): adjust
7202 (outerFont): new func...
7203 (realizeFont): ...moved out from here, changed this to facilitate
7206 * paragraph.C (getFont): take outerfont as arg, adjust
7207 (simpleTeXOnePar): add outerfont arg, adjust
7209 * buffer.C (simpleLinuxDocOnePar): adjust
7210 (simpleDocBookOnePar): adjust
7212 * CutAndPaste.C (pasteSelection): adjust
7214 * BufferView.C (getEncoding): adjust
7216 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7218 * text2.C (setCharFont): adjust
7219 (setCounter): adjust
7221 * text.C (leftMargin): adjust
7222 (setHeightOfRow): adjust
7224 * rowpainter.C (paintFirst): adjust
7227 * paragraph_pimpl.C (realizeFont): adjust
7229 * paragraph.C (isFirstInSequence): move from here...
7230 * paragraph_funcs.C (isFirstInSequence): ...to here
7232 * paragraph.C (outerHook): move from here...
7233 * paragraph_funcs.C (outerHook): ...to here
7235 * paragraph.C (depthHook): move from here...
7236 * paragraph_funcs.C (depthHook): ...to here
7238 * paragraph.C (getEndLabel): move from here...
7239 * paragraph_funcs.C (getEndLabel): ...to here
7241 * text2.C (realizeFont): move from here...
7242 * paragraph_funcs.C (realizeFont): ...to here
7244 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7248 2003-04-14 Angus Leeming <leeming@lyx.org>
7250 * LColor.[Ch]: scrap LColor mathcursor.
7252 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * lyxlex.[Ch] (text): delete function
7255 * trans.C (Load): adjust
7256 * paragraph_funcs.C (readParToken): adjust
7258 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7260 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7261 vector<char> instead of a char[].
7263 * lyxlex_pimpl.C (getString): adjust
7265 (lex): use getString
7269 * lyxlex.C (text): use pimpl_->getString()
7273 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7276 (makeFontEntriesLayoutSpecific): temp var for par.size()
7277 (setLayout): temp var for ownerParagraphs().end()
7278 (fullRebreak): temp var for rows().end()
7279 (selectionAsString): temp var for boost::next(startpit), realize
7280 that the while really is a regular for loop.
7281 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7282 setCursor in one place.
7283 (setParagraph): temp vr for ownerParagraphs().end()
7284 (updateCounters): make the while loop a for loop
7285 (cutSelection): temp var for ownerParagraphs().end()
7286 (updateInset): make the do {} while() a regular for loop
7287 (getCursorX): use temp vars
7288 (setCurrentFont): use temp vars
7289 (getColumnNearX): use temp vars
7291 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * text.C (transformChar): use temp var for getChar
7294 (computeBidiTables): use temp var for row->par()
7295 (fill): move temp vars for row->par() and pit->layout() earlier in
7297 (labelFill): use temp var for row->par()
7298 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7299 asc and desc, realize that pit never changes and that firstpit is
7300 just a duplicate and not needed. Exchange rit->par() with pit in a
7302 (breakAgain): use a temp var for boost::next(rit)
7303 (breakAgainOneRow): ditto
7304 (breakParagraph): use a temp var for rows().begin()
7305 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7306 (cursorRightOneWord): use temp var for cursor.par() and
7307 cursor.pos(), remove usage of tmpcursor.
7308 (cursorLeftOneWord): use temp var for cursor.par() and
7309 cursor.pos() only set cur at end of function.
7311 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7313 * text.C, text2.C: exchange all usage of Paragraph::next with
7314 boost::next(ParagraphList::iterator)
7316 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7318 * text2.C (cursorTop): simplify implementation
7319 (cursorBottom): ditto
7320 (setParagraph): use ParagraphList::iterator
7321 (setCurrentFont): adjust
7322 (getColumnNearX): adjust
7323 (cursorRight): adjust
7324 (cursorLeft): remove usage of Paragraph::previous
7325 (cursorUpParagraph): ditto
7326 (deleteEmptyParagraphMechanism): slight cleanup
7328 * text.C (isBoundary): take a Paragraph const & instead of a
7330 (addressBreakPoint): ditto
7331 (leftMargin): remove usage of Paragraph::previous.
7332 (setHeightOfRow): ditto
7333 (cursorLeftOneWord): ditto
7334 (selectNextWordToSpellcheck): ditto
7337 (breakParagraph): remove one usage of Paragraph::next
7338 (redoParagraph): ditto
7339 (acceptChange): ditto
7340 (insertChar): adjust
7341 (rowBreakPoint): adjust
7343 * bufferview_funcs.C (toggleAndShow): adjust
7345 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7347 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7348 methods to access it.
7350 * text.C: Added updateRowPositions to compute all row positions.
7351 Make top_y and getRowNearY() to use the cached y position
7353 2003-04-11 John Levon <levon@movementarian.org>
7355 * text.C (rowBreakPoint): reintroduce the labelEnd
7356 checks, code copied from the row fill stuff. Deep voodoo.
7358 * text.C (fill): add a comment and debugging for the
7361 2003-04-11 John Levon <levon@movementarian.org>
7363 * text.C: make sure fullrow insets get wrapped to the next line,
7364 even when they're in a manual label
7366 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7368 * text2.C (insertParagraph): make it take ParagraphList::iterator
7370 (setLayout): make it return ParagraphList::iterator
7371 (redoParagraphs): ditto
7373 (checkParagraph): ditto
7375 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7377 * text2.C: adjust several funcs.
7378 (realizeFont): take a ParagraphList::iterator as arg.
7379 (getLayoutFont): ditto
7380 (getLabelFont): ditto
7381 (setCharFont): ditto
7383 * text.C: adjust several funcs.
7385 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7387 * text.C (selectNextWordToSpellcheck): don't accidentally
7390 2003-04-10 John Levon <levon@movementarian.org>
7392 * ToolbarBackend.C (getIcon): special handling for
7395 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7397 * text2.C (cursorRight): a getChar assert fixed
7399 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * text2.C (getFont): change to take a ParagraphList::iterator
7402 instead of Paragraph*
7403 Adjust several functions.
7405 * text.C (transformChar): change to take a ParagraphList::iterator
7406 instead of Paragraph*
7407 (singleWidth): ditto
7408 Adjust several functions.
7410 * rowpainter.C: adjust several functions
7411 * rowpainter.h:store a ParagraphList::iterator and not a
7415 2003-04-09 John Levon <levon@movementarian.org>
7420 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7421 and the "help" bits as well
7423 2003-04-09 John Levon <levon@movementarian.org>
7426 * ToolbarBackend.C: allow multiple toolbars
7428 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * undo_funcs.C (setCursorParUndo): adjust
7432 * text_funcs.C (transposeChars): adjust
7434 * text3.C (gotoNextInset): adjust
7437 * text2.C (setLayout): adjust
7438 (changeDepth): adjust
7440 (redoParagraphs): adjust
7441 (selectionAsString): adjust
7442 (setParagraph): adjust
7443 (insertInset): adjust
7444 (cutSelection): adjust
7445 (copySelection): adjust
7446 (pasteSelection): adjust
7447 (insertStringAsLines): adjust
7448 (updateInset): adjust
7449 (setCursor): change to take a ParagraphList::iterator parameter
7450 (setCursorIntern): change to take a ParagraphList::iterator parameter
7451 (setCurrentFont): adjust
7452 (cursorLeft): adjust
7453 (cursorRight): adjust
7454 (deleteEmptyParagraphMechanism): adjust
7456 * text.C (breakParagraph): adjust
7457 (insertChar): adjust
7458 (acceptChange): adjust
7459 (rejectChange): adjust
7460 (selectNextWordToSpellcheck): adjust
7461 (changeCase): adjust
7465 * lyxfind.C (SearchForward): adjust
7466 (SearchBackward): adjust
7467 (nextChange): adjust
7469 * lyxcursor.C (par): adjust
7471 * lyxcursor.h: store a ParagraphList::iterator instead of a
7474 * lyx_cb.C (getPossibleLabel): adjust
7476 * bufferview_funcs.C (toggleAndShow): adjust
7478 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7481 * BufferView.C (removeAutoInsets): adjust
7482 (lockedInsetStoreUndo): adjust
7484 2003-04-09 John Levon <levon@movementarian.org>
7486 * ToolbarBackend.C: try icon without argument
7487 if with argument fails
7489 2003-04-08 John Levon <levon@movementarian.org>
7492 * ToolbarBackend.C: add getIcon(), handle tooltip,
7493 and change from "Icon" to "Item".
7495 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7497 * BufferView.C (lockInset): another bad getchar crunched
7499 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7501 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7504 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7506 * lyxfind.C (searchForward, searchBackwards): bug 782
7508 2003-04-07 John Levon <levon@movementarian.org>
7510 * paragraph.C: remove dead comment
7512 * text.C: remove troublesome depth-fiddling code
7513 in leftMargin() and rightMargin() (bug 1017)
7515 * text.C: fix breaking of rows in nested lists
7518 * text2.C (updateCounters): fix up depth values
7521 2003-04-07 John Levon <levon@movementarian.org>
7523 * BufferView_pimpl.C: clear message when doc finishes resizing,
7524 and after a mouse event
7526 * lyxfunc.C: clear message after exiting inset
7528 2003-04-07 John Levon <levon@movementarian.org>
7530 * bufferview_funcs.C: show math status not outside
7531 status in the statusbar
7533 2003-04-07 John Levon <levon@movementarian.org>
7535 * lyxfunc.C: note status changed after a depth change
7537 2003-04-04 Angus Leeming <leeming@lyx.org>
7539 * LaTeX.h: move AuxInfo operator==, != out of line.
7540 Remove LaTeX virtual destructor; nothing derives from it.
7541 Move operator()() out of public area and rename it startscript().
7542 Change protected for private.
7544 2003-04-04 Angus Leeming <leeming@lyx.org>
7547 * text2.C: remove unneeded #includes.
7549 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7551 * text2.C (dEPM): fix the heigth of the next row
7553 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7555 * text.C: squashed an invalid getChar requester + some ws changes
7557 2003-04-03 John Levon <levon@movementarian.org>
7559 * bufferview_funcs.h:
7560 * bufferview_funcs.C:
7563 * text2.C: make getStatus work for the env depth lfuns
7565 2003-04-03 John Levon <levon@movementarian.org>
7567 * bufferview_funcs.h:
7568 * bufferview_funcs.C:
7571 * text2.C: parlistize decDepth(), by merging it with incDepth()
7573 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * lyxrow.h: store a ParagraphList::iterator instead of a
7576 Paragraph* and adjust other class functions to suit.
7578 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7581 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7583 * text2.C (setCursor): do not anchor to cursor row for the time being
7585 2003-04-02 John Levon <levon@movementarian.org>
7592 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7594 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * paragraph.h: make ParagraphList and ParagraphList::iterator
7597 friends of Paragraph.
7599 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7601 * ParagraphList.C: Use the private next_ and previous_ from
7604 2003-04-01 John Levon <levon@movementarian.org>
7608 * Makefile.am: rename, remove defaults gunk
7611 * MenuBackend.C: remove defaults gunk
7614 * Languages.C: remove defaults gunk
7617 * lyx_main.C: error out if files couldn't be found.
7619 2003-04-02 John Levon <levon@movementarian.org>
7621 * text2.C: make incDepth() use parlist
7623 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7625 * undo_funcs.C (firstUndoParagraph): adjust
7627 * text3.C (gotoInset): adjust
7628 (dispatch): adjust, and rewrite loop.
7630 * text2.C (init): adjust, and rewrite loop.
7631 (redoParagraphs): adjust
7632 (updateInset): adjust, and rewrite loop.
7633 (deleteEmptyParagraphMechanism): adjust
7635 * tabular.C (LyXTabular): adjust
7636 (SetMultiColumn): adjust
7639 * lyxtext.[Ch] (ownerParagraph): delete function
7640 (ownerParagraphs): new function returns a ParagraphList.
7642 * BufferView.C (removeAutoInsets): adjust
7643 (insertErrors): adjust
7644 (setCursorFromRow): adjust
7646 2003-04-01 Angus Leeming <leeming@lyx.org>
7648 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7651 2003-04-02 John Levon <levon@movementarian.org>
7657 * text_funcs.C: make transposeChars a free function
7659 * lyxrow_funcs.C: remove wrong comment
7661 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7664 * rowpainter.C: adjust
7669 * lyxrow_funcs. [Ch]: new files
7671 * lyxrow.[Ch]: remove next and previous pointers
7672 (next,previous): remove accessor functions
7673 (isParEnd): move to lyxrow_funcs
7674 (lastPos): move to lyxrow_funcs
7675 (nextRowIsAllInset): move to lyxrow_funcs
7676 (lastPrintablePos): move to lyxrow_funcs
7677 (numberOfSeparators): move to lyxrow_funcs
7678 (numberOfHfills): move to lyxrow_funcs
7679 (numberOfLabelHfills): move to lyxrow_funcs
7680 (hfillExpansion): move to lyxrow_funcs
7684 * bufferview_funcs.C (toggleAndShow): adjust
7686 * RowList.h: Remove class RowList from file leave just a
7689 * RowList.C: delete file
7691 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7694 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7696 * text3.C (cursorPrevious): adjust
7697 (cursorNext): adjust
7700 * text2.C (redoHeightOfParagraph): adjust
7701 (redoDrawingOfParagraph): adjust
7704 * text.C (breakParagraph): adjust
7705 (insertChar): adjust
7708 * rowpainter.C (RowPainter): adjust
7709 (leftMargin): simplify and adjust
7710 (most rowpainter functions): adjust.
7712 * rowpainter.h: store the row as RowList::iterator not as Row*
7714 * lyxcursor.C (row): taka RowList::iterator as arg
7717 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7720 2003-04-01 Angus Leeming <leeming@lyx.org>
7722 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7723 stuff like bool Bool.
7725 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7727 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7730 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7735 * lyxtext.h (rows): drop one version and leve a const variant that
7736 returns a RowList::iterator.
7738 2003-03-31 Angus Leeming <leeming@lyx.org>
7740 * text.C (fill): ensure that the signature is the same as that in the
7743 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7745 * text2.C (redoParagraphs): adjust
7746 (updateCounters): adjust
7747 (checkParagraph): adjust
7748 (getColumnNearX): adjust and reformat a bit.
7750 * text.C (top_y): adjust
7752 (leftMargin): adjust
7753 (prepareToPrint): adjust
7755 (getRowNearY): adjust
7757 * lyxtext.h: make rowlist_ mutable.
7759 * RowList.h: add const_iterator
7760 * RowList.C: adjust for RowList::const_iterator.
7762 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7765 2003-03-31 John Levon <levon@movementarian.org>
7768 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7770 * lyx_main.C: set default fonts from using lyx_gui funcs
7772 * exporter.C: pdf_mode moved from lyxrc
7775 * lyxfunc.C: changes from above
7777 2003-03-31 John Levon <levon@movementarian.org>
7779 * lyx_main.C: fix to the last fix
7781 2003-03-31 John Levon <levon@movementarian.org>
7783 * bufferlist.C: "Load original" -> "Load Original"
7789 * format.C: more Alert cleanups
7791 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7793 * text2.C (removeParagraph): make it take a RowList::iterator as
7795 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7796 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7798 * text.C (anchor_row): make it take a RowList::iterator as arg,
7800 (computeBidiTables): make it take a const reference to Row instead
7801 of Row pointer, adjust.
7802 (leftMargin): make it take a RowList::iterator as arg, adjust.
7803 (rowBreakPoint): adjust
7804 (breakAgainOneRow): make it take a RowList::iterator as arg,
7806 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7808 * bufferview_funcs.C (toggleAndShow): adjust
7810 2003-03-30 John Levon <levon@movementarian.org>
7814 * boost-inst.C: moved to support
7816 * several files: changes as a result
7818 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7820 * text2.C (LyXText): adjust.
7822 (removeRow): make it take a RowList::iterator as arg, adjust.
7823 (fullRebreak): adjust
7824 (deleteEmptyParagraphMechanism): adjust
7825 (clearPaint): adjust
7828 * text.C (top_y): adjust
7829 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7830 (breakAgain): make it take a RowList::iterator as arg, adjust.
7831 (breakParagraph): adjust
7832 (insertChar): adjust
7835 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7836 need_break_row, and refresh_row.
7838 * text3.C (dispatch): adjust
7840 * text2.C (checkParagraph): adjust
7842 (setCursorFromCoordinates): adjust
7844 * text.C (top_y): adjust
7846 (getRow): make it return a RowList::iterator, adjust
7847 (getRowNearY): make it return a RowList::iterator, adjust
7849 * text2.C (init): adjust
7850 (insertRow): remove function
7851 (insertParagraph): adjust
7852 (redoParagraphs): adjust
7853 (fullRebreak): adjust
7854 (updateCounters): adjust
7856 * text.C (top_y): rewrite to use RowList iterators.
7858 (setHeightOfRow): rewrite to sue RowList iterators.
7859 (appendParagraph): adjust
7860 (breakAgain): adjust
7861 (breakAgainOneRow): adjust
7862 (breakParagraph): adjust
7864 (getRowNearY): adjust, and remove commented code.
7866 * lyxtext.h (firstRow): delete function
7867 (lastRow): delete function
7868 (rows): new function (const and non-const versions.)
7869 (insertRow): delete function
7871 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7873 2003-03-29 John Levon <levon@movementarian.org>
7875 * BufferView_pimpl.C: always update scrollbar top
7876 because pasting text when we're anchored could mean we
7877 miss an update altogether
7879 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * text2.C (init): use rowlist_.end() and not 0.
7882 (insertRow): change to take a RowList::iterator as arg, adjust
7884 (insertParagraph): change to take a RowList::iterator as arg,
7886 (redoParagraphs): remove some debug msgs.
7888 * text.C (appendParagraph): change to take a RowList::iterator
7889 arg, adjust for this.
7890 (breakAgain): add an assert
7891 (breakAgainOneRow): ditto
7893 2003-03-29 John Levon <levon@movementarian.org>
7895 * text2.C: do not clear selection after inc/decDepth
7898 2003-03-29 John Levon <levon@movementarian.org>
7901 * buffer.C: fix broken strerrors according to Lars
7903 2003-03-29 John Levon <levon@movementarian.org>
7905 * converters.C: more Alert cleanups
7907 2003-03-29 John Levon <levon@movementarian.org>
7909 * bufferview_funcs.C: remove pointless Alert
7911 * buffer.C: fix confusing error message when
7912 a template is chmoded 000
7914 2003-03-29 John Levon <levon@movementarian.org>
7918 * BufferView_pimpl.C: Alert fixes
7922 * tabular-old.C: remove unused table compat reading
7924 2003-03-29 John Levon <levon@movementarian.org>
7929 * lyx_cb.C: more Alert cleanups
7931 * lyxfunc.C: don't allow chktex if not latex document
7933 2003-03-29 John Levon <levon@movementarian.org>
7937 * buffer.C: warnings pushed down from support/,
7940 2003-03-29 John Levon <levon@movementarian.org>
7942 * lyxfunc.C: safety check for C-r (revert)
7944 2003-03-29 John Levon <levon@movementarian.org>
7947 * bufferlist.C: several UI fixes using Alert::prompt.
7948 Fix the pointless looping quit code. Fix stupid revert
7953 * lyx_cb.C: use Alert::prompt
7955 * lyx_main.C: remove a silly question
7957 * lyxfunc.C: remove a couple of silly questions,
7960 2003-03-28 John Levon <levon@movementarian.org>
7962 * text2.C: fix bug 974 (End on empty par)
7964 2003-03-28 John Levon <levon@movementarian.org>
7966 * BufferView_pimpl.C:
7968 * lfuns.h: remove do-nothing math greek lfuns
7970 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7972 * lyxgluelength.h (isValidGlueLength): add default arg on
7973 parameter 2. Remove default arg from friend in class.
7975 * lyxlength.h (isValidLength): add default arg on parameter 2.
7976 Remove default arg from friend in class.
7978 * text2.C (LyXText): adjust, initialize refresh_row.
7982 (insertParagraph): adjst
7983 (redoParagraphs): adjust
7984 (fullRebreak): adjust
7985 (updateCounters): adjust
7986 (deleteEmptyParagraphMechanism): first attempt at fixing a
7989 * text.C (top_y): adjust
7990 (setHeightOfRow): adjust
7992 (getRowNearY): adjust
7994 * lyxtext.h: include RowList.h
7995 (~LyXText): not needed anymore, deleted.
7996 (firstRow): modify for RowList
7997 (lastRow): new function
7998 Delete firstrow and lastrow class variables, add a Rowlist
7999 rowlist_ class variable.
8001 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8004 * RowList.C (insert): fix case where it == begin().
8006 2003-03-26 Angus Leeming <leeming@lyx.org>
8008 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8009 the thesaurus dialog.
8011 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8013 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8015 * RowList.[Ch]: new files
8017 * ParagraphList.C (erase): handle the case where it == begin
8020 2003-03-25 John Levon <levon@movementarian.org>
8024 * aspell.C: add new aspell support
8027 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8030 2003-03-25 Angus Leeming <leeming@lyx.org>
8033 * LyXAction.C (init): new LFUN_INSET_INSERT.
8035 * BufferView_pimpl.C (dispatch): split out part of the
8036 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8038 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8041 2003-03-25 Angus Leeming <leeming@lyx.org>
8043 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8045 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8048 * text3.C: remove useless row->height(0)
8050 2003-03-25 John Levon <levon@movementarian.org>
8054 * text3.C: rename the refreshing stuff to better names
8056 2003-03-24 John Levon <levon@movementarian.org>
8058 * BufferView_pimpl.h:
8059 * BufferView_pimpl.C: update layout choice on a mouse
8062 2003-03-23 John Levon <levon@movementarian.org>
8064 * Makefile.am: fix commandtags.h reference
8066 2003-03-22 John Levon <levon@movementarian.org>
8068 * BufferView_pimpl.C:
8073 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8075 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8078 * text.C: take the rtl methods out of line
8080 2003-03-21 André Pönitz <poenitz@gmx.net>
8082 * metricsinfo.[Ch]: new files containing structures to be passed around
8083 during the two-phase-drawing...
8085 2003-03-21 André Pönitz <poenitz@gmx.net>
8087 * lyxtextclass.C: read 'environment' tag.
8089 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8091 * text2.C (removeRow): fix bug 964
8093 2003-03-20 John Levon <levon@movementarian.org>
8097 * text2.C: paint cleanups. Inset::update() dropped font
8100 2003-03-19 John Levon <levon@movementarian.org>
8102 * lyxfunc.C: only fitcursor/markDirty if available()
8104 2003-03-19 John Levon <levon@movementarian.org>
8106 * commandtags.h: rename to ...
8108 * lfuns.h: ... this, and renumber / cleanup
8110 2003-03-19 John Levon <levon@movementarian.org>
8112 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8113 fit the cursor after an lfun
8117 * BufferView_pimpl.h:
8118 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8120 * LyXAction.C: layout-character should have ReadOnly
8122 * ParagraphParameters.C:
8124 * bufferview_funcs.C:
8131 * undo_funcs.C: changes from above
8133 2003-03-18 John Levon <levon@movementarian.org>
8135 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8136 remove it from update()
8138 * lyxfunc.C: update layout choice after an lfun
8140 * text3.C: remove extra updateLayoutChoice()s
8142 2003-03-18 John Levon <levon@movementarian.org>
8144 * text.C: top_y change means full repaint, fix
8145 a drawing bug with cursor movement
8147 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8151 * text2.C: anchor row on setCursor
8153 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8155 * lyxtext.h: remove almost all mutable keywords
8158 * text3.C: remove const keywords accordingly
8160 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8162 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8164 (TeXEnvironment): ditto
8167 2003-03-17 John Levon <levon@movementarian.org>
8169 * text.C (rowBreakPoint): remove attempt to fix displayed
8170 math insets inside a manual label
8172 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8174 * lyxtext.h: remove BufferView* as first arg from almost all class
8176 * other files: adjust.
8178 2003-03-17 John Levon <levon@movementarian.org>
8182 * text2.C: more paint cleanups
8184 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8187 * rowpainter.C: remove "smart" background painting code
8189 2003-03-16 John Levon <levon@movementarian.org>
8194 * text3.C: add helper functions for setting refresh_row/y
8196 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8198 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8199 newline inset which *can* get inserted in the pass_thru layouts.
8200 This is primarily for literate documents.
8202 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8204 * buffer.C: increment LYX_FORMAT to 223
8206 2003-03-14 André Pönitz <poenitz@gmx.net>
8208 * textclass.h: prepare for environment handling, ws changes
8209 * lyxlayout.C: read latexheader and latexfooter tags
8211 2003-03-14 John Levon <levon@movementarian.org>
8213 * text2.C: rewrite ::status() a bit
8215 2003-03-13 John Levon <levon@movementarian.org>
8217 * lyxtext.h: add some docs
8219 2003-03-13 John Levon <levon@movementarian.org>
8224 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8226 2003-03-13 John Levon <levon@movementarian.org>
8228 * text3.C: fix appendix redrawing
8230 2003-03-13 John Levon <levon@movementarian.org>
8232 * text.C (setHeightOfRow):
8234 * rowpainter.C: make appendix mark have the text
8235 "Appendix" so the user knows what it is
8238 * LColor.C: s/appendixline/appendix/ from above
8240 2003-03-13 John Levon <levon@movementarian.org>
8242 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8244 * text.C: fix a getChar(pos) bug properly
8246 2003-03-13 Angus Leeming <leeming@lyx.org>
8249 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8250 Probably only temporary. Let's see how things pan out.
8252 * BufferView.C (unlockInset):
8253 * BufferView_pimpl.C (fitCursor):
8254 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8256 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8257 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8259 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8260 new functions that convert ParagraphParameters to and from a string.
8262 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8263 BufferView::Pimpl's dispatch.
8264 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8266 2003-03-13 André Pönitz <poenitz@gmx.net>
8270 * factory.C: make it aware of InsetEnv
8272 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8274 * text2.C (setCursor): never ask for one past last
8275 (setCursor): add some debugging messages.
8277 * text.C (singleWidth): never ask for one past last
8278 (singleWidth): ditto
8280 (rightMargin): ditto
8281 (rowBreakPoint): ditto
8282 (setHeightOfRow): ditto
8283 (prepareToPrint): ditto
8285 * rowpainter.C (paintBackground): never ask for one past last
8286 (paintText): never ask for one past last
8288 * paragraph_pimpl.C (getChar): make the assert stricter, never
8289 allow the one past last pos to be taken
8291 * paragraph.C (getChar): ws changes only
8293 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8294 (numberOfSeparators): ditto
8295 (numberOfHfills): ditto
8297 2003-03-12 John Levon <levon@movementarian.org>
8303 * paragraph_funcs.C: fix per-buffer authorlists
8305 2003-03-12 John Levon <levon@movementarian.org>
8307 * text.C: fix newline in right address
8309 2003-03-12 Angus Leeming <leeming@lyx.org>
8311 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8312 duplicate those in LyXFunc::dispatch.
8316 * ToolbarDefaults.C:
8317 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8318 Add LFUN_FONTFREE_UPDATE.
8320 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8321 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8323 * bufferview_func.[Ch]: several new functions to facilliate
8324 transfer of data to and from the character dialog.
8326 2003-03-12 John Levon <levon@movementarian.org>
8331 * paragraph_funcs.C:
8332 * paragraph_pimpl.C:
8336 * text3.C: remove META_NEWLINE in favour of an inset
8339 * rowpainter.C: remove paintNewline (done by inset)
8341 2003-03-12 John Levon <levon@movementarian.org>
8343 * paragraph_pimpl.C: complain about bad getChar()s
8344 for a while at least
8346 2003-03-12 John Levon <levon@movementarian.org>
8349 * buffer.C: move paragraph read into a separate function,
8350 a little renaming to reflect that.
8353 * bufferparams.C: remove the author_ids map, not necessary now
8356 * factory.C: moved Buffer::readInset to here
8358 * paragraph_funcs.h:
8359 * paragraph_funcs.C: readParagraph free function moved from
8362 * tabular.C: name change
8364 2003-03-12 John Levon <levon@movementarian.org>
8367 * ParagraphParameters.C: move par params input to
8370 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8371 behave like a normal read from the stream wrt reading
8372 a line vs. a \\token
8374 2003-03-12 John Levon <levon@movementarian.org>
8377 * ParagraphParameters.h:
8378 * ParagraphParameters.C: move output code to a
8381 2003-03-12 John Levon <levon@movementarian.org>
8383 * BufferView.C (insertLyXFile):
8386 * tabular.C: use a parlist iterator for creating the
8389 2003-03-12 John Levon <levon@movementarian.org>
8391 * buffer.C: make current_change static local not
8394 2003-03-12 John Levon <levon@movementarian.org>
8396 * buffer.C: fix insertStringAsLines for change tracking
8398 2003-03-12 John Levon <levon@movementarian.org>
8405 * bufferparams.C: move author list into params. Rename some
8406 functions. Move the header reading into a separate token
8407 loop. Move the header token reading into BufferParams.
8409 2003-03-12 John Levon <levon@movementarian.org>
8411 * changes.C: put debug inside lyxerr.debugging() checks
8413 2003-03-11 André Pönitz <poenitz@gmx.net>
8415 * factory.C: make it aware of InsetHFill
8417 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8419 * buffer.C (latexParagraphs): move function from here...
8420 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8423 2003-03-10 Angus Leeming <leeming@lyx.org>
8425 * LyXAction.C (init): fix bug in poplating array with multiple entries
8426 with the same LFUN (spotted by JMarc).
8428 2003-03-10 John Levon <levon@movementarian.org>
8431 * text2.C: move getColumnNearX() near its
8434 2003-03-10 John Levon <levon@movementarian.org>
8436 * text.C: fix break before a minipage
8438 2003-03-10 John Levon <levon@movementarian.org>
8440 * text.C: fix the last commit
8442 2003-03-09 John Levon <levon@movementarian.org>
8446 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8447 bug 365 (don't break before insets unless needed). Don't
8448 return a value > last under any circumstances.
8450 2003-03-09 Angus Leeming <leeming@lyx.org>
8452 * BufferView_pimpl.C (trackChanges, dispatch): call
8453 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8455 2003-03-09 Angus Leeming <leeming@lyx.org>
8457 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8458 than Dialogs::showAboutlyx().
8460 2003-03-09 Angus Leeming <leeming@lyx.org>
8462 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8463 than Dialogs::showTabularCreate().
8465 2003-03-09 John Levon <levon@movementarian.org>
8469 * text2.C: 3rd arg to nextBreakPoint was always the same.
8472 2003-03-08 John Levon <levon@movementarian.org>
8479 * text2.C: Remove the "main" bit from the "main body"
8482 2003-03-08 John Levon <levon@movementarian.org>
8484 * text.C (leftMargin): The left margin of an empty
8485 manual label paragraph should not include the label width
8488 * text.C (prepareToPrint): don't attempt to measure hfills
8489 for empty manual label paragraphs - the answer should be 0
8491 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8493 * CutAndPaste.C: remove commented code and reindent.
8495 2003-03-08 John Levon <levon@movementarian.org>
8498 * lyxfunc.C: move reloadBuffer()
8501 * BufferView.C: to here
8503 * lyxvc.C: add comment
8506 * vc-backend.C: call bv->reload() to avoid
8507 getStatus() check on MENURELOAD
8509 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8511 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8512 to an old format .dep file.
8514 2003-03-07 Angus Leeming <leeming@lyx.org>
8516 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8517 when the LFUN_MOUSE_RELEASE should have been handled by
8518 inset->localDispatch.
8520 2003-03-07 Angus Leeming <leeming@lyx.org>
8522 * BufferView_pimpl.C (dispatch):
8523 * LyXAction.C (init):
8524 * ToolbarDefaults.C (init):
8526 * lyxfunc.C (getStatus):
8527 remove LFUN_INSET_GRAPHICS.
8529 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8531 2003-03-07 Angus Leeming <leeming@lyx.org>
8534 * LyXAction.C (init):
8535 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8537 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8540 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8542 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8543 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8545 2003-03-07 Angus Leeming <leeming@lyx.org>
8547 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8550 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8552 * ParagraphList.C (front): new function
8555 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8557 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8558 and top_row_offset_. removed var first_y.
8560 * text2.C (LyXText, removeRow):
8562 * BufferView_pimpl.C:
8563 use these methods instead of using first_y
8565 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8567 * text2.C (pasteSelection): adjust for checkPastePossible
8569 * CutAndPaste.C: remove Paragraph * buf and replace with
8570 ParagraphList paragraphs.
8571 (DeleteBuffer): delete
8572 (cutSelection): change the tc type to textclass_type
8573 (copySelection): change the tc type to textclass_type
8574 (copySelection): adjust for ParagraphList
8575 (pasteSelection): change the tc type to textclass_type
8576 (pasteSelection): adjust for Paragraphlist
8577 (nrOfParagraphs): simplify for ParagraphList
8578 (checkPastePossible): simplify for ParagraphList
8579 (checkPastePossible): remove unused arg
8581 * ParagraphList.C (insert): handle the case where there are no
8584 * CutAndPaste.h: make CutAndPaste a namespace.
8586 * text3.C (dispatch): adjust
8588 * text.C (breakParagraph): add a ParagraphList as arg
8590 * paragraph_funcs.C (breakParagraph): change to take a
8591 BufferParams and a ParagraphList as args.
8592 (breakParagraphConservative): ditto
8593 (mergeParagraph): ditto
8594 (TeXDeeper): add a ParagraphList arg
8595 (TeXEnvironment): ditto
8598 * buffer.C (readLyXformat2): adjust
8599 (insertStringAsLines): adjust
8600 (latexParagraphs): adjust
8602 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8603 (cutSelection): adjust
8604 (pasteSelection): adjust
8606 * BufferView_pimpl.C (insertInset): adjust
8608 2003-03-05 Angus Leeming <leeming@lyx.org>
8611 * LyXAction.C (init):
8612 * BufferView_pimpl.C (dispatch):
8613 * lyxfunc.C (getStatus):
8614 remove LFUN_CHILD_INSERT.
8616 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8618 2003-03-05 Angus Leeming <leeming@lyx.org>
8621 * LyXAction.C (init):
8622 * src/factory.C (createInset):
8623 * lyxfunc.C (getStatus):
8624 * text3.C (dispatch):
8625 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8627 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8629 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8631 * ParagraphList.C (insert): handle insert right before end()
8632 (erase): fix cases where it can be first or last paragraph.
8634 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8637 Paragraph::next and Paragraph::previous
8640 * text.C (breakParagraph): adjust
8642 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8643 BufferParams& as arg.
8644 (breakParagraph): use ParagraphList::insert
8645 (breakParagraphConservative): take a Buffer* instead of a
8646 BufferParams& as arg.
8647 (breakParagraphConservative): use ParagraphList::insert.
8649 * buffer.C (insertStringAsLines): un-const it
8650 (insertStringAsLines): adjust
8652 * ParagraphList.C (insert): new function
8654 * CutAndPaste.C (pasteSelection): adjust
8656 * text.C (backspace): adjust
8658 * tabular.C (SetMultiColumn): adjust
8660 * CutAndPaste.C (cutSelection): adjust
8661 (pasteSelection): adjust
8663 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8664 Buffer const * as arg
8666 * ParagraphList.C (erase): new function
8667 * paragraph_funcs.C (mergeParagraph): use it
8668 (mergeParagraph): make it take a Buffer* instead of a
8669 BufferParams* as arg
8671 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8673 (breakParagraphConservative): ditto
8675 * paragraph.h: remove the breakParagraph friend
8677 * paragraph.C (eraseIntern): new function
8678 (setChange): new function
8680 * paragraph_funcs.C (mergeParagraph): make it take a
8681 ParagraphList::iterator instead of a Paragraph *, adjust
8684 * paragraph.h: move an #endif so that the change tracking stuff
8685 also works in the NO_NEXT case.
8687 2003-03-04 Angus Leeming <leeming@lyx.org>
8690 * LyXAction.C: new LFUN_INSET_MODIFY.
8692 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8693 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8695 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8697 * several files: ws changes only
8699 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8700 (TeXEnvironment): ditto
8703 * buffer.C (makeLaTeXFile): adjust
8704 (latexParagraphs): make it take ParagraphList::iterator as args
8706 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8708 * buffer.C (latexParagraphs): adjust
8710 * paragraph.C (TeXOnePar): move function...
8711 (optArgInset): move function...
8712 (TeXEnvironment): move function...
8713 * paragraph_pimpl.C (TeXDeeper): move function...
8714 * paragraph_funcs.C: ...here
8716 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8718 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8720 * buffer.C (readInset): remove compability code for old Figure and
8723 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8725 * buffer.C: ws changes
8728 * BufferView_pimpl.C: ditto
8731 * bufferlist.h: ditto
8735 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8737 * converter.[Ch]: split into itself +
8740 * Makefile.am: += graph.[Ch] + format.[Ch]
8747 * lyxrc.C: added #include "format.h"
8749 2003-02-27 Angus Leeming <leeming@lyx.org>
8751 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8754 * factory.C (createInset): add "label" to the factory.
8756 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8757 string and do no more.
8759 2003-02-27 Angus Leeming <leeming@lyx.org>
8762 * LyXAction.C (init):
8763 * factory.C (createInset):
8764 * BufferView_pimpl.C (dispatch):
8765 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8767 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8769 * lyxfunc.C (dispatch):
8770 * text3.C (dispatch): pass name to params2string.
8772 2003-02-26 Angus Leeming <leeming@lyx.org>
8774 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8776 Rearrange the ~includes. Strip out the unnecessary ones.
8778 * factory.C (createInset): reformat.
8779 create new insets for the various LFUN_XYZ_APPLY lfuns.
8781 2003-02-26 John Levon <levon@movementarian.org>
8784 * lyxrow.C: add isParStart,isParEnd helpers
8786 * paragraph.h: make isInserted/DeletedText take refs
8788 * paragraph_funcs.h:
8789 * paragraph_funcs.C: remove #if 0'd code
8794 * text.C: use lyxrow helpers above.
8795 Move draw and paint routines to RowPainter.
8796 Make several methods use refs not pointers.
8797 Make backgroundColor() const.
8798 Add markChangeInDraw(), isInInset().
8799 Merge changeRegionCase into changeCase.
8800 Make workWidth() shouldn't-happen code into an Assert.
8803 * rowpainter.C: new class for painting a row.
8806 * vspace.C: make inPixels take a ref
8808 2003-02-26 Angus Leeming <leeming@lyx.org>
8810 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8813 2003-02-25 John Levon <levon@movementarian.org>
8815 * ispell.C: give the forked command a more accurate name
8817 2003-02-22 John Levon <levon@movementarian.org>
8820 * toc.C: make TocItem store an id not a Paragraph *
8823 2003-02-21 Angus Leeming <leeming@lyx.org>
8825 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8826 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8827 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8828 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8829 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8830 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8832 * BufferView_pimpl.C (dispatch):
8833 * LyXAction.C (init):
8834 * factory.C (createInset):
8835 * lyxfunc.C (getStatus, dispatch):
8836 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8838 2003-02-21 Angus Leeming <leeming@lyx.org>
8840 * BufferView_pimpl.C (MenuInsertLyXFile):
8841 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8842 * lyxfunc.C (menuNew, open, doImport):
8843 no longer pass a LyXView & to fileDlg.
8845 2003-02-21 Angus Leeming <leeming@lyx.org>
8847 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8848 * LyXAction.C: change, BIBKEY to BIBITEM.
8849 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8850 Change InsetBibKey to InsetBibitem.
8851 Change BIBKEY_CODE to BIBITEM_CODE.
8852 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8853 * factory.C: replace insetbib.h with insetbibitem.h.
8854 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8855 * paragraph.C: replace insetbib.h with insetbibitem.h.
8856 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8857 Change bibkey() to bibitem().
8858 * text.C: remove insetbib.h.
8859 * text2.C: replace insetbib.h with insetbibitem.h.
8860 change bibkey() to bibitem().
8861 * text3.C: remove insetbib.h.
8862 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8864 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8866 * lyxrc.C (output): enclose user email in quotes (in case there are
8869 2003-02-18 John Levon <levon@movementarian.org>
8871 * buffer.h: add std::
8873 2003-02-17 John Levon <levon@movementarian.org>
8879 * pspell.C: reworking. Especially in ispell, a large
8880 number of clean ups and bug fixes.
8882 * lyxfunc.C: fix revert to behave sensibly
8884 2003-02-17 André Pönitz <poenitz@gmx.net>
8887 * commandtags.h: new LFUN_INSERT_BIBKEY
8897 * paragraph_func.C: remove special bibkey handling
8899 2003-02-17 John Levon <levon@movementarian.org>
8901 * text.C (Delete): fix case where delete at the end of
8902 the very first paragraph would not merge the pars
8904 2003-02-17 John Levon <levon@movementarian.org>
8906 * lyxrow.C: fix lastPrintablePos()
8908 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8910 * bufferparams.C (writeLaTeX): add a std:here
8912 * buffer.C: and remove a using directive there
8914 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8916 * buffer.C (makeLaTeXFile): move the code that generates the
8919 * bufferparams.C (writeLaTeX): ... in this new method
8921 * LaTeXFeatures.C (getEncodingSet): make const
8922 (getLanguages): make const
8924 * MenuBackend.C (binding): returns the binding associated to this
8926 (add): sets the status of each item by calling getStatus. Adds
8928 (read): add support for OptSubMenu
8929 (expand): remove extra separator at the end of expanded menu
8931 2003-02-15 John Levon <levon@movementarian.org>
8934 * BufferView_pimpl.C:
8936 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8937 inset code that had no actual effect. Remove unneeded status
8940 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8942 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8945 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8947 * text.C (drawLengthMarker): also draw an arrow marker for
8948 symbolic lengths (medskip...)
8950 2003-02-14 John Levon <levon@movementarian.org>
8953 * tabular.C: better method names
8955 2003-02-14 John Levon <levon@movementarian.org>
8957 * BufferView_pimpl.C:
8962 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8963 it's a more accurate name. Remove some pointless uses.
8965 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8967 * text2.C (LyXText): change order of initilizers to shut off
8970 2003-02-14 John Levon <levon@movementarian.org>
8972 * buffer.C: use ParIterator for getParFromID()
8976 * paragraph_pimpl.h:
8977 * paragraph_pimpl.C: remove unused getParFromID()
8979 2003-02-14 John Levon <levon@movementarian.org>
8981 * buffer.C: remove some very old #if 0'd parse code
8983 2003-02-13 John Levon <levon@movementarian.org>
8987 * text2.C: move hfillExpansion(), numberOfSeparators(),
8988 rowLast(), rowLastPrintable(), numberofHfills(),
8989 numberOfLabelHfills() ...
8992 * lyxrow.C: ... to member functions here.
8997 * text.C: remove LyXText::beginningOfMainBody(), and call
8998 p->beginningOfMainBody() directly. Move the check for
8999 LABEL_MANUAL into the latter.
9006 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9012 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9013 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9015 2003-02-13 John Levon <levon@movementarian.org>
9017 * CutAndPaste.C: remove debug
9019 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9021 * paragraph.C (asString): remove two unused variables
9023 * lyxtextclass.C (readTitleType):
9025 (LyXTextClass): handle new members titletype_ and titlename_
9027 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9029 2003-02-09 John Levon <levon@movementarian.org>
9032 * buffer.C: replace hand-coded list with a map for the dep clean
9034 2003-02-08 John Levon <levon@movementarian.org>
9036 * LaTeX.C: consolidate code into showRunMessage() helper
9038 2003-02-08 John Levon <levon@movementarian.org>
9043 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9044 and pass the size in explicitly
9046 * BufferView_pimpl.h:
9047 * BufferView_pimpl.C:
9049 * BufferView.C: add getCurrentChange()
9051 * BufferView_pimpl.h:
9052 * BufferView_pimpl.C: handle change lfuns
9054 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9055 for changes. Mark pasted paragraphs as new.
9057 * support/lyxtime.h:
9058 * support/lyxtime.C:
9059 * DepTable.C: abstract time_t as lyx::time_type
9062 * LColor.C: add colours for new text, deleted text, changebars
9064 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9065 package use "usenames" option.
9069 * LyXAction.C: add change lfuns
9073 * author.C: author handling
9076 * buffer.C: add a per-buffer author list, with first entry as
9077 current author. Handle new .lyx tokens for change tracking. Output
9078 author list to .lyx file. Output dvipost stuff to .tex preamble.
9079 Bump lyx format to 222.
9082 * bufferlist.C: add setCurrentAuthor() to reset current author details
9086 * bufferparams.C: add param for tracking
9088 * bufferview_funcs.C: output change info in minibuffer
9092 * changes.C: add change-tracking structure
9095 * debug.C: add CHANGES debug flag
9098 * lyxfind.C: add code for finding the next change piece
9101 * lyxrc.C: add user_name and user_email
9104 * lyxrow.C: add a metric for the top of the text line
9107 * text.C: implement accept/rejectChange()
9110 * text.C: paint changebars. Paint new/deleted text in the chosen
9111 colours. Strike through deleted text.
9115 * paragraph_pimpl.h:
9116 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9117 in the current change to the insert functions. Rework erase to
9118 mark text as deleted, adding an eraseIntern() and a range-based
9119 erase(). Implement per-paragraph change lookup and
9122 * paragraph_funcs.C: Fixup paste for change tracking.
9124 * tabular.C: mark added row/columns as new.
9126 * text.C: fix rowLast() to never return -1. Don't allow
9127 spellchecking of deleted text. Track transpose changes. Don't
9128 allow paragraph break or merge where appropriate.
9130 * text2.C: leave cursor at end of selection after a cut.
9132 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9134 * text.C (getLengthMarkerHeight):
9135 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9136 visible on screen too.
9138 2003-02-07 John Levon <levon@movementarian.org>
9140 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9142 2003-02-05 Angus Leeming <leeming@lyx.org>
9144 * lyxserver.C (read_ready): revert my patch of 11 September last year
9145 as it sends PC cpu through the roof. Presumably this means that
9146 the lyxserver will no longer run on an Alpha...
9148 2003-01-30 Angus Leeming <leeming@lyx.org>
9150 * factory.C (createInset): create an InsetCommandParam of type "index"
9151 and use it to 'do the right thing'.
9153 * text2.C (getStringToIndex): ensure that cursor position is always
9154 reset to the reset_cursor position.
9156 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9158 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9161 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9165 * lyxfunc.C: Output messages with identical spelling, punctuation,
9168 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9170 * MenuBackend.C (expandFormats): List only viewable export formats
9173 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9176 * lyxfunc.C (getStatus): Make sure that formats other than
9177 "fax" can also be disabled
9179 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9181 * text3.C (dispatch): put the lfuns that insert insets in 3
9182 groups, and call doInsertInset with appropriate arguments.
9183 (doInsertInset): new function, that creates an inset and inserts
9184 it according to some boolean parameters.
9186 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9188 * buffer.C (readFile): remember to pass on 'par' when calling
9189 readFile recursively.
9191 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9193 * MenuBackend.C (expandFormats): add "..." to import formats.
9195 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9197 * paragraph.C (asString): Remove XForms RTL hacks.
9199 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9200 * buffer.C: fix typo
9202 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9204 * Makefile.am (LIBS): delete var
9205 (lyx_LDADD): add @LIBS@ here instead.
9207 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9209 * Clarify the meaning of "wheel mouse jump"
9211 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9213 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9216 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9218 * importer.C (Loaders): do not preallocate 3 elements in the
9219 vector, since one ends up with 6 elements otherwise
9221 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9223 * DepTable.C (write): write the file name as last element of the
9224 .dep file (because it may contain spaces)
9225 (read): read info in the right order
9227 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9229 * paragraph_pimpl.C (simpleTeXBlanks):
9230 (simpleTeXSpecialChars):
9231 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9233 * tabular.C (latex): add some missing case statements. Reindent.
9235 * MenuBackend.C (expandToc): remove unused variable.
9237 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9246 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9249 2003-01-05 John Levon <levon@movementarian.org>
9252 * BufferView.C: add getEncoding()
9255 * kbsequence.C: do not store last keypress
9258 * lyxfunc.C: store last keypress here instead. Pass encoding
9261 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9263 * lyx_main.C (init): remove annoying error message when following
9264 symbolic links (bug #780)
9266 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9268 * text.C (insertChar):
9269 * lyxrc.C (getDescription): remove extra spaces
9271 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9273 * lyxrc.C (getDescription): remove extra spaces
9275 2002-12-20 John Levon <levon@movementarian.org>
9277 * text3.C: hack fix for page up/down across tall rows
9279 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9281 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9284 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9286 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9287 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9288 thesaurus is not compiled in
9290 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9292 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9294 2002-12-16 Angus Leeming <leeming@lyx.org>
9297 * lyx_main.C (init): remove override_x_deadkeys stuff.
9299 2002-12-12 John Levon <levon@movementarian.org>
9301 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9302 insert. Only remove shift modifier under strict
9305 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9307 * MenuBackend.C (expandToc): fix crash.
9309 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9311 * MenuBackend.C (expandToc): gettext on float names.
9313 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9315 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9316 implement bool empty() [bug 490]
9318 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9320 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9322 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9324 * several files: ws changes
9326 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9328 * text2.C (setCounter): clean up a bit, use boost.format.
9329 (updateCounters): initialize par upon declaration.
9331 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9332 if the layout exists. We do not just store the layout any more.
9333 (SwitchLayoutsBetweenClasses): use boost.format
9335 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9337 * converter.C (convert): if from and to files are the same, use a
9338 temporary files as intermediary
9340 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9343 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9345 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9347 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9349 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9351 * tabular.C (asciiPrintCell): use string(size, char) instead of
9354 * sgml.C (openTag): fix order of arguments to string constructor
9357 * lyxfunc.C (dispatch): use boost.format
9359 * lots of files: change "c" -> 'c'
9361 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9363 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9365 2002-11-25 Angus Leeming <leeming@lyx.org>
9367 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9369 * lyx_main.C (init): compile fix.
9371 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9373 * lyx_cb.C (start): boost.formatify
9374 do not include <iostream>
9376 * lengthcommon.C: ws only
9378 * boost-inst.C,BoostFormat.h: add more explict instantations
9380 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9382 * lots of files: handle USE_BOOST_FORMAT
9384 2002-11-21 John Levon <levon@movementarian.org>
9386 * pspell.C: fix compile
9388 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9390 * lyxfunc.C (dispatch): use boost::format
9394 * lyxfont.C (stateText): use boost::format
9396 * lyx_main.C (LyX): use boost::format
9398 (queryUserLyXDir): ditto
9401 (typedef boost::function): use the recommened syntax.
9403 * importer.C (Import): use boost::format
9405 * debug.C (showLevel): use boost::format
9407 * converter.C (view): use boost::format
9412 * bufferview_funcs.C (currentState): use boost::format
9414 * bufferlist.C (emergencyWrite): use boost::format
9416 * buffer.C (readLyXformat2): use boost::format
9417 (parseSingleLyXformat2Token): ditto
9419 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9421 * LaTeX.C (run): use boost::format
9423 * Chktex.C (scanLogFile): use boost::format
9425 * BufferView_pimpl.C (savePosition): use boost::format
9426 (restorePosition): ditto
9427 (MenuInsertLyXFile): ditto
9429 * BoostFormat.h: help file for explicit instation.
9431 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9433 * tabular.C (latex): Support for block alignment in fixed width
9436 2002-11-17 John Levon <levon@movementarian.org>
9438 * BufferView_pimpl.C:
9440 * lyxfunc.C: split filedialog into open/save
9442 2002-11-08 Juergen Vigna <jug@sad.it>
9444 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9445 by my last patch (hopefully).
9447 2002-11-08 John Levon <levon@movementarian.org>
9456 * toc.C: ParConstIterator, and use it (from Lars)
9458 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9460 * lyxtextclass.[Ch]: revise and add doxygen comments
9462 2002-11-07 John Levon <levon@movementarian.org>
9464 * text.C: fix progress value for spellchecker
9466 * toc.C: fix navigate menu for insetwrap inside minipage
9468 * paragraph_funcs.C: added FIXME for suspect code
9470 2002-11-07 John Levon <levon@movementarian.org>
9472 * BufferView_pimpl.C: fix redrawing of insets
9475 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9477 * text2.C (updateCounters): fix bug 668
9479 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9481 * text3.C (dispatch): Do not make the buffer dirty when moving the
9484 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9486 * vc-backend.C: STRCONV
9489 * text2.C (setCounter): STRCONV
9491 * paragraph.C (asString): STRCONV
9493 * lyxlength.C (asString): STRCONV
9494 (asLatexString): ditto
9496 * lyxgluelength.C (asString): STRCONV
9497 (asLatexString): ditto
9499 * lyxfunc.C (dispatch): STRCONV
9502 * lyxfont.C (stateText): STRCONV
9504 * importer.C (Import): STRCONV
9506 * counters.C (labelItem): STRCONV
9507 (numberLabel): ditto
9508 (numberLabel): remove unused ostringstream o
9513 * bufferview_funcs.C (currentState): STRCONV
9515 * buffer.C (readFile): STRCONV
9516 (asciiParagraph): ditto
9517 (makeLaTeXFile): ditto
9519 * Spacing.C (writeEnvirBegin): STRCONV
9521 * LaTeXFeatures.C (getLanguages): STRCONV
9522 (getPackages): ditto
9524 (getBabelOptions): ditto
9525 (getTClassPreamble): ditto
9526 (getLyXSGMLEntities): ditto
9527 (getIncludedFiles): ditto
9531 (scanAuxFile): ditto
9534 * LString.h: add the STRCONV macros
9536 * BufferView_pimpl.C (savePosition): STRCONV
9537 (restorePosition): ditto
9538 (MenuInsertLyXFile): ditto
9540 * vc-backend.C (scanMaster): change from submatch[...] to
9543 * funcrequest.C: include config.h
9545 * factory.C: include config.h
9547 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9549 * box.C: include config.h
9551 * LaTeX.C (scanAuxFile): change from submatch[...] to
9555 2002-10-25 Angus Leeming <leeming@lyx.org>
9557 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9559 * ispell.[Ch] (setError): new method.
9560 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9561 Use setError() insetead of goto END.
9563 * lyx_cb.C (AutoSave): move out child process into new class
9566 2002-10-30 John Levon <levon@movementarian.org>
9568 * text3.C: make start appendix undoable
9570 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9572 * lyxlength.C (inPixels): Fix returned value.
9574 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9577 2002-10-24 Angus Leeming <leeming@lyx.org>
9579 * lyxgluelength.h: no need to forward declare BufferParams
9580 or BufferView, so don't.
9582 2002-10-21 John Levon <levon@movementarian.org>
9584 * BufferView.C: menuUndo ->undo, redo
9586 * BufferView.h: document, remove dead, make some methods private
9588 * paragraph_funcs.h:
9589 * paragraph_funcs.C:
9590 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9595 * sgml.C: move sgml open/close tag into sgml.C
9597 * bufferview_funcs.h: unused prototype
9600 * lyxfunc.C: remove unused
9603 * text.C: remove unused
9605 2002-10-21 John Levon <levon@movementarian.org>
9609 * BufferView_pimpl.h:
9610 * BufferView_pimpl.C: fix mouse wheel handling based on
9611 patch from Darren Freeman
9613 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9615 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9617 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9619 * lyxlength.C (inPixels): Fix hanfling of negative length.
9620 Fix LyXLength::MU case.
9622 2002-10-16 John Levon <levon@movementarian.org>
9624 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9626 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9628 * converter.C (view): add support for $$i (file name) and $$p
9629 (file path) for the viewer command. If $$i is not specified, then
9630 it is appended to the command (for compatibility with old syntax)
9632 2002-10-14 Juergen Vigna <jug@sad.it>
9634 * undo_funcs.C (textHandleUndo): alter the order in which the
9635 new undopar is added to the LyXText, as we have to set first
9636 the right prev/next and then add it as otherwise the rebuild of
9637 LyXText is not correct. Also reset the cursor to the right paragraph,
9638 with this IMO we could remove the hack in "redoParagraphs()".
9640 2002-10-09 Angus Leeming <leeming@lyx.org>
9642 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9643 to turn off an optimisation if a new inset is to be inserted.
9645 2002-10-11 André Pönitz <poenitz@gmx.net>
9647 * lyxtext.h: make some functions public to allow access
9648 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9650 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9652 * text3.C (dispatch): when changing layout, avoid an infinite loop
9655 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9657 * lyxrc.C (read): treat a viewer or converter command of "none" as
9660 * MenuBackend.C (expandFormats): for an update, also allow the
9661 formats that are not viewable
9663 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9664 script if it is newer than the lyxrc.defaults in user directory
9666 2002-10-07 André Pönitz <poenitz@gmx.net>
9668 * text.C: Vitaly Lipatov's small i18n fix
9670 2002-09-25 Angus Leeming <leeming@lyx.org>
9672 * ispell.h: doxygen fix.
9674 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9676 * buffer.h (readFile): Add a new argument to the method, to allow
9677 reading of old-format templates.
9679 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9681 * toc.C (getTocList): Get TOC from InsetWrap.
9683 2002-09-16 John Levon <levon@movementarian.org>
9685 * lyxfunc.C: check tabular for cut/copy too
9687 2002-09-12 John Levon <levon@movementarian.org>
9692 * factory.C: add header
9694 * paragraph_funcs.h:
9695 * paragraph_funcs.C: cleanup
9697 2002-09-11 John Levon <levon@movementarian.org>
9699 * PrinterParams.h: odd/even default to true
9701 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9703 * PrinterParams.h: update printer parameters for new xforms dialog
9705 2002-09-11 Angus Leeming <leeming@lyx.org>
9707 * lyxserver.C (read_ready): re-write to make it more transparent
9708 and to make it work in coherent fashion under Tru64 Unix.
9710 2002-09-11 André Pönitz <poenitz@gmx.net>
9714 * text3.C: implement LFUN_WORDSEL
9716 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9718 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9719 make floatlist_ a boost::shared_ptr<FloatList>
9721 * lyxtextclass.C: include FloatList.h
9722 (LyXTextClass): initialize floatlist_
9723 (TextClassTags): add TC_NOFLOAT
9724 (Read): match "nofloat" to TC_NOFLOAT and use it.
9725 (readFloat): modify call to floatlist_
9729 * FloatList.[Ch] (FloatList): remove commented out float
9731 (erase): new function
9733 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9735 * MenuBackend.C (expandToc): fix crash when there is no document
9738 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9740 * many files: Add insetwrap.
9742 2002-09-09 John Levon <levon@movementarian.org>
9744 * text2.C: remove confusing and awkward depth wraparound
9746 2002-09-09 John Levon <levon@movementarian.org>
9748 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9751 * buffer.C: remove getIncludeonlyList()
9754 * lyxfunc.C: remove headers
9756 2002-09-09 Juergen Vigna <jug@sad.it>
9758 * text.C (getColumnNearX): fix form Michael this is most
9759 probably a cut&paste bug.
9761 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9763 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9765 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9766 references, ws changes.
9768 * text2.C (init): update counters after init
9769 (insertParagraph): no need to set counter on idividual paragraphs.
9770 (setCounter): access the counters object in the textclass object
9771 on in the buffer object.
9772 (updateCounters): ditto
9774 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9775 shared_ptr<Counters> to avoid loading counters.h in all
9777 (LyXTextClass): initialize ctrs_
9778 (TextClassTags): add TC_COUNTER, and ...
9779 (Read): use it here.
9780 (CounterTags): new tags
9781 (readCounter): new function
9782 (counters): new funtion
9783 (defaultLayoutName): return a const reference
9785 * counters.C (Counters): remove contructor
9786 (newCounter): remove a couple of unneeded statements.
9787 (newCounter): simplify a bit.
9788 (numberLabel): some small formatting changes.
9790 * buffer.[Ch]: remove all traces of counters, move the Counters
9791 object to the LyXTextClass.
9793 2002-09-06 Alain Castera <castera@in2p3.fr>
9795 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9796 package to set the horizontal alignment on fixed width columns.
9799 * lyx_sty.h: added tabularnewline macro def.
9801 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9803 2002-09-06 John Levon <levon@movementarian.org>
9805 * LyXAction.C: tooltips for sub/superscript
9807 * MenuBackend.C: a bit more verbose
9809 * lyxfunc.C: tiny clean
9811 * undo_funcs.C: document undo_frozen
9813 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9815 * counters.C (Counters): add missing algorithm counter.
9817 * text2.C (setCounter): lookup the counter with layouts latexname
9818 instead of by section number.
9819 (setCounter): use a hackish way to lookup the correct enum
9821 a float name->type change
9822 reset enum couners with counter name directly instead of depth value.
9824 * counters.C (Counters): remove the push_backs, change to use the
9825 float type not the float name.
9826 (labelItem): remove unused string, float name->type change
9828 * counters.h: don't include vector, loose the enums and sects vectors
9830 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9832 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9833 (Read): add float->TC_FLOAT to textclassTags
9834 (Read): and handle it in the switch
9835 (readFloat): new function
9837 * FloatList.C (FloatList): comment out the hardcoded float
9840 * lyxlayout.h: ws change.
9842 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9844 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9846 2002-09-03 Angus Leeming <leeming@lyx.org>
9848 * BufferView_pimpl.h: qualified name is not allowed in member
9849 declaration: WorkArea & Pimpl::workarea() const;
9851 * factory.C: added using std::endl directive.
9853 * text3.C: added using std::find and std::vector directives.
9855 2002-08-29 André Pönitz <poenitz@gmx.net>
9858 * text2.C: remove unused member number_of_rows
9861 * BufferView2.C: remove file, move contents to...
9862 * BufferView.C: ... here
9864 * BufferView_pimpl.C:
9865 * factory.C: move more inset creation to factory
9867 * vspace.C: avoid direct usage of LyXText, ws changes
9870 don't provide direct access to WorkArea, use two simple
9871 acessors haveSelction() and workHeight() instead
9874 2002-08-29 John Levon <levon@movementarian.org>
9876 * BufferView_pimpl.C (dispatch): do not continue when
9879 2002-08-28 André Pönitz <poenitz@gmx.net>
9881 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9884 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9886 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9888 * buffer.C: increment LYX_FORMAT to 221
9890 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9891 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9893 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9895 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9897 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9899 * factory.C (createInset): use LyXTextClass::floats
9901 * MenuBackend.C (expandFloatListInsert):
9902 (expandFloatInsert):
9905 * text2.C (setCounter):
9907 * LaTeXFeatures.C (useFloat):
9908 (getFloatDefinitions):
9910 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9912 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9913 floatlist_, with accessor floats().
9915 * FloatList.h: remove global FloatList
9917 2002-08-26 André Pönitz <poenitz@gmx.net>
9919 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9923 * BufferView_pimpl.C:
9924 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9926 2002-08-25 John Levon <levon@movementarian.org>
9928 * LyXAction.C: fix margin note description
9930 2002-08-24 John Levon <levon@movementarian.org>
9934 * bufferview_funcs.C:
9936 * undo_funcs.C: cleanups
9938 * lyxfunc.C: disable CUT/COPY when no selection
9940 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9942 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9943 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9945 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9946 Add backward compatibility to "mono", "gray" and "no".
9948 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9950 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9951 (and file_format >= 200).
9953 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9955 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9957 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9959 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9961 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9963 * BufferView_pimpl.C:
9970 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9971 inset and code to make it work with the paragraph code. The inset
9972 can be anywhere in the paragraph, but will only do the expected
9973 thing in LaTeX if the layout file contains the parameter line
9975 (or more generally, a nonzero value) for that layout.
9977 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9979 * paragraph.h: remove the declaration of undefined counters class
9982 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9984 * text2.C (setCounter): fixed enumeration mis-count as reported by
9985 Dr. Richard Hawkins.
9987 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9989 * paragraph_funcs.h: remove some unneeded includes
9991 * text.C (backspace): pasteParagraph now in global scipe
9993 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9994 (pasteSelection): ditto
9996 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9997 * paragraph_funcs.C (pasteParagraph): ... here
9999 2002-08-20 André Pönitz <poenitz@gmx.net>
10001 * commandtags.h: new LFUNs for swapping/copying table row/colums
10004 * lyxfunc.C: support for new lfuns
10006 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10009 * buffer.[Ch]: remove NO_COMPABILITY stuff
10011 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10013 * boost.C (throw_exception): new file, with helper function for
10014 boost compiled without exceptions.
10019 * ParameterStruct.h:
10020 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10022 * bufferlist.C (emergencyWriteAll): use boost bind
10024 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10026 * text.C: include paragraph_funcs.h
10027 (breakParagraph): breakParagraph is now in global scope
10029 * paragraph_funcs.[Ch]: new files
10031 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10034 * buffer.C: include paragraph_funcs.h
10035 (insertStringAsLines): breakParagraph is now in global scope
10037 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10040 * CutAndPaste.C: include paragraph_funcs.h
10041 (cutSelection): breakParagraphConservative is now in global scope
10042 (pasteSelection): ditto
10044 * buffer.h: declare oprator== and operator!= for
10045 Buffer::inset_iterator
10047 * bufferlist.C (emergencyWrite): don't use fmt(...)
10049 * text3.C: add using std::endl
10051 * BufferView.C (moveCursorUpdate): remove default arg
10053 2002-08-20 André Pönitz <poenitz@gmx.net>
10055 * buffer.[Ch]: move inline functions to .C
10058 * BufferView_pimpl.C:
10060 * buffer.[Ch]: use improved inset_iterator
10063 * paragraph.[Ch]: write one paragraph at a time
10065 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10067 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10068 style if style is not specified.
10070 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10072 * text2.C (setCounter): when searching for right label for a
10073 caption, make sure to recurse to parent insets (so that a caption
10074 in a minipage in a figure float works) (bug #568)
10076 2002-08-20 André Pönitz <poenitz@gmx.net>
10078 * text3.C: new file for LyXText::dispatch() and helpers
10080 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10082 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10084 2002-08-19 André Pönitz <poenitz@gmx.net>
10087 * text.C: new LyXText::dispatch()
10089 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10091 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10093 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10095 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10098 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10100 * Makefile.am: use $(variables) instead of @substitutions@
10102 2002-08-15 André Pönitz <poenitz@gmx.net>
10105 * BufferView_pimpl.C: streamlining mathed <-> outer world
10109 * LyXAction.C: remove unused LFUN_MATH
10111 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10113 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10115 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10117 * paragraph.C (Paragraph): reformat a bit
10118 (cutIntoMinibuffer): use builtin InsetList function instad of
10122 * buffer.C: include boost/bind.hpp, add using std::for_each
10123 (writeFileAscii): use ParagraphList iterators
10124 (validate): use for_each for validate traversal of paragraphs
10125 (getBibkeyList): use ParagraphList iterators
10126 (resizeInsets): use for_each to resizeInsetsLyXText for all
10128 (getParFromID): use ParagraphList iterators
10130 * BufferView2.C (lockInset): use paragraph list and iterators
10132 2002-08-14 John Levon <levon@movementarian.org>
10134 * lyxserver.C: remove spurious xforms include
10136 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10140 2002-08-13 André Pönitz <poenitz@gmx.net>
10143 * lyxfunc.C: further cleaning
10145 2002-08-13 André Pönitz <poenitz@gmx.net>
10147 * funcrequest.h: new constructor
10149 * funcrequest.C: move stuff here from .h
10152 * BufferView_pimpl.C:
10155 * lyxfunc.C: subsequent changes
10157 * lyxfunc.h: new view() member function
10159 * lyxfunc.C: subsequent changes
10161 2002-08-13 Angus Leeming <leeming@lyx.org>
10164 * BufferView_pimpl.C:
10172 changes due to the changed LyXView interface that now returns references
10173 to member variables not pointers.
10175 2002-08-13 Angus Leeming <leeming@lyx.org>
10177 * WordLangTuple (word, lang_code): return references to strings,
10182 * lyxtext.h: forward-declare WordLangTuple.
10187 * text.C: #include "WordLangTuple.h".
10190 * text.C: (selectNextWordToSpellcheck): constify return type.
10192 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10198 * paragraph_pimpl.h:
10201 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10202 suggested by Angus.
10203 Made updateCounter always count from start of buffer, and removed
10204 second argument (par).
10205 Reverted floats number display to '#'. Perhaps I'll try again when the
10206 code base is sanitized a bit.
10208 2002-08-12 Angus Leeming <leeming@lyx.org>
10210 * buffer.[Ch] (getLabelList): constify.
10212 2002-08-07 André Pönitz <poenitz@gmx.net>
10214 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10216 * funcrequest.h: extension to keep mouse (x,y) position
10218 2002-08-12 Juergen Vigna <jug@sad.it>
10220 * BufferView2.C (insertErrors): forbid undo when inserting error
10223 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10225 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10227 * ParagraphList.[Ch]: new files
10229 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10231 * BufferView2.C (lockInset): ParagraphList changes
10234 * bufferlist.C: ditto
10238 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10240 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10241 unused class variable counter_,
10243 * paragraph.[Ch] (getFirstCounter): delete unused function
10245 * counters.C: include LAssert.h
10246 (reset): add a new function with no arg, change other version to
10247 not have def. arg and to not allow empty arg.
10249 * text2.C (setCounter): remove empty arg from call to Counters::reset
10251 2002-08-11 John Levon <levon@movementarian.org>
10253 * Makefile.am: add WordLangTuple.h
10255 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10257 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10258 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10260 * insets/insettext.C: InsetList changes
10262 * graphics/GraphicsSupport.C (operator()): InsetList changes
10264 * toc.C (getTocList): InsetList changes
10266 * paragraph_pimpl.[Ch]: InsetList changes
10268 * paragraph.[Ch]: InsetList changes
10270 * buffer.C (inset_iterator): InsetList changes
10271 (setParagraph): ditto
10272 * buffer.h (inset_iterator): ditto
10273 * iterators.C (operator++): ditto
10274 * iterators.h: ditto
10276 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10278 * InsetList.[Ch]: new files, most InsetList handling moved out of
10281 * BufferView2.C (removeAutoInsets): InsetList changes
10283 (ChangeInsets): ditto
10285 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10287 * paragraph_pimpl.h (empty): new function
10289 * paragraph.[Ch] (empty): new function
10291 * other files: use the new Paragraph::empty function
10293 2002-08-09 John Levon <levon@movementarian.org>
10295 * lyxtext.h: remove unused refresh_height
10297 2002-08-09 John Levon <levon@movementarian.org>
10304 * paragraph.C: move sgml char escaping out of paragraph
10307 * paragraph.C: remove id setter
10311 * paragraph_pimpl.C: remove dead tex_code_break_column
10313 * bufferview_funcs.C: small cleanup
10315 * lyxfunc.C: remove dead proto
10317 * lyxtext.h: make some stuff private. Remove some dead stuff.
10319 * lyxgluelength.C: make as[LyX]String() readable
10321 2002-08-08 John Levon <levon@movementarian.org>
10326 * ToolbarDefaults.C:
10329 * toc.C: lyxaction cleanup
10331 2002-08-08 John Levon <levon@movementarian.org>
10333 * BufferView2.C: small cleanup
10336 * lyxfind.C: move unnecessary header into the .C
10338 2002-08-08 John Levon <levon@movementarian.org>
10340 * funcrequest.h: just tedious nonsense
10343 * lyx_main.C: cleanups
10346 * vspace.C: remove dead header lyx_main.h
10348 2002-08-07 Angus Leeming <leeming@lyx.org>
10351 * paragraph_pimpl.h:
10352 Forward declare class Counters in paragraph.h by moving the ctrs member
10353 variable into Paragraph::Pimpl.
10354 (counters): new method, returning a reference to pimpl_->ctrs.
10356 * text2.C: ensuing changes.
10358 2002-08-07 John Levon <levon@movementarian.org>
10360 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10362 * BufferView_pimpl.C: announce X selection on double/triple
10365 * lyx_main.C: use correct bool in batch dispatch
10367 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10369 2002-08-07 André Pönitz <poenitz@gmx.net>
10371 * funcrequest.h: new class to wrap a kb_action and its argument
10374 * BufferView_pimpl[Ch]:
10378 * lyxrc.C: subsequent changes
10381 2002-08-07 John Levon <levon@movementarian.org>
10383 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10384 document options change.
10386 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10391 * makefile.am: move counters functionality over from
10392 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10394 2002-08-06 John Levon <levon@movementarian.org>
10396 * WordLangTuple.h: new file for word + language code tuple
10407 * BufferView2.C: use WordLangTuple
10410 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10412 2002-08-06 John Levon <levon@movementarian.org>
10414 * lyx_main.C: fix cmdline batch handling
10416 2002-08-06 André Pönitz <poenitz@gmx.net>
10418 * lyxrc.C: set default for show_banner to true
10420 2002-08-06 John Levon <levon@movementarian.org>
10422 * pspell.C: fix a crash, and allow new aspell to work
10424 2002-08-06 John Levon <levon@movementarian.org>
10427 * kbmap.C: small cleanup
10430 * vspace.C: add const
10432 2002-08-05 John Levon <levon@movementarian.org>
10434 * LyXAction.C: back to tabular-insert
10436 2002-08-04 John Levon <levon@movementarian.org>
10439 * BufferView.C: cosmetic change
10441 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10451 * BufferView2.C: purge all "Lyx" not "LyX" strings
10454 * lyxcursor.C: attempt to add some documentation
10459 * ToolbarDefaults.C:
10460 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10461 merge with LFUN_TABULAR_INSERT
10468 * pspell.C: split up i/pspell implementations into separate
10469 files, many cleanups
10471 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10473 * text2.C: some cleanup
10475 * lyxfunc.C: don't check for isp_command == "none" any more, it
10476 didn't make any sense
10478 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10483 * makefile.am: move counters functionality over
10484 from text2.C/paragraph.[Ch] to counters.[Ch], and
10486 2002-08-02 John Levon <levon@movementarian.org>
10488 * buffer.C: s/lyxconvert/lyx2lyx/
10490 2002-08-02 Angus Leeming <leeming@lyx.org>
10492 * lyxlex.C: revert John's change as it breaks reading of the user
10495 2002-08-02 Angus Leeming <leeming@lyx.org>
10497 * importer.C (Import):
10498 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10499 changes due to LyXView::view() now returning a boost::shared_ptr.
10501 2002-08-02 John Levon <levon@movementarian.org>
10503 * lyxlex.C: small cleanup
10505 2002-08-02 John Levon <levon@movementarian.org>
10507 * text2.C (status): small cleanup, no logic change
10509 2002-08-01 John Levon <levon@movementarian.org>
10512 * buffer.C (writeFile): don't output alerts, caller
10516 * lyx_cb.C: from above
10518 * lyxfunc.C: allow to open non-existent files
10520 2002-07-31 John Levon <levon@movementarian.org>
10522 * lyxserver.C: don't let incidental errors get
10525 2002-07-30 John Levon <levon@movementarian.org>
10527 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10529 2002-07-30 John Levon <levon@movementarian.org>
10532 * lyxserver.C: remove I/O callback too
10534 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10536 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10539 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10541 * many files: strip,frontStrip -> trim,ltrim,rtrim
10543 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10545 * PrinterParams.h: remove extern containsOnly, and include
10546 support/lstrings.h instead.
10548 * LaTeX.C (scanAuxFile): modify because of strip changes
10550 * buffer.C (makeLaTeXFile): ditto
10551 * bufferparams.C (writeFile): ditt
10552 * lyxfont.C (stateText): ditto
10553 * lyxserver.C (read_ready): ditto
10554 * vc-backend.C (scanMaster): ditto
10556 * BufferView_pimpl.h: ws changes
10558 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10560 2002-07-26 André Pönitz <poenitz@gmx.net>
10562 * kb_sequence.C: remove unnedred usings
10564 2002-07-26 Juergen Vigna <jug@sad.it>
10566 * lyxfind.C (LyXReplace): we have to check better if the returned
10567 text is not of theLockingInset()->getLockingInset().
10569 2002-07-25 Juergen Vigna <jug@sad.it>
10571 * lyxfind.C (LyXReplace): don't replace if we don't get the
10574 * undo_funcs.C (createUndo): remove debugging code.
10576 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10578 * buffer.C (parseSingleLyXformat2Token): Use default placement
10579 when reading old floats.
10581 * FloatList.C (FloatList): Change the default placement of figure
10582 and tables to "tbp".
10584 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10586 * MenuBackend.C: using std::max
10588 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10590 * MenuBackend.C (expandToc):
10591 (expandToc2): code moved from xforms menu frontend. It is now
10592 generic and TOCs are transparent to menu frontends.
10594 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10596 * toc.C (getTocList): protect against buf=0
10598 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10599 Menu as first parameter. Now, this calls itself recursively to
10600 expand a whole tree (this will be useful for TOC handling)
10601 (expandFloatInsert): remove 'wide' version of floats
10603 * MenuBackend.h (submenuname): returns the name of the submenu.
10604 (submenu): returns the submenu itself, provided it has been
10605 created by MenuBackend::expand
10607 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10609 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10610 insets which have noFontChange == true. (bug #172)
10612 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10614 * BufferView_pimpl.C: add connection objects and use them...
10617 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10619 * MenuBackend.C (expandLastfiles):
10622 (expandFloatListInsert):
10623 (expandFloatInsert):
10624 (expand): split expand in parts
10626 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10628 * lyx_gui.C: use lyx_gui::exit()
10630 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10632 * LyXAction.C: show the failing pseudo action
10634 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10636 * buffer.C (readFile): Run the lyxconvert script in order to read
10639 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10643 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10645 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10649 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10651 2002-07-22 Herbert Voss <voss@lyx.org>
10654 * lyxlength.[Ch]: add support for the vertical lengths
10656 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10658 * toc.[Ch]: std:: fixes
10660 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * lyxrc.C: do not include lyx_main.h
10664 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10670 * BufferView2.C: include "lyxlex.h"
10673 * bufferparams.h: do not #include "lyxlex.h"
10675 * lyxtextclasslist.C (Add): remove method
10676 (classlist): renamed to classlist_
10678 * paragraph_pimpl.C:
10682 * bufferview_funcs.C:
10687 * toc.C (getTocList): use BufferParams::getLyXTextClass
10689 * toc.C (getTocList): use InsetFloat::addToToc
10691 * toc.[Ch]: new files, containing helper functions to handle table
10694 * lyxfunc.C (dispatch): no need to remove spaces around command
10696 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10697 first command of the sequence; it is not very clever, but I do not
10698 have a better idea, actually
10700 * LyXAction.C (LookupFunc): make sure to remove space at the
10701 beginning and end of the command
10703 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * MenuBackend.C (getMenubar): new method: return the menubar of
10707 (read): treat differently reading of menu and menubar (in
10708 particular, the menubar has no name now)
10709 (Menu::menubar): remove
10711 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10714 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10716 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10717 a bibitem inset in a RTL paragraph.
10719 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10721 * paragraph_pimpl.C: constify
10723 * BufferView_pimpl.C:
10725 * lyxfunc.C: fix dispatch in a nicer way
10727 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10729 * lyxfunc.C (dispatch):
10730 * BufferView_pimpl.C:
10731 * BufferView_pimpl.h:
10733 * BufferView.h: rename Dispatch() to dispatch()
10735 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10737 * lyxlayout.C (Read): honor DependsOn tag
10739 * lyxlayout.[Ch] (depends_on): new method
10741 * version.C.in: update lyx_docversion
10743 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10745 * paragraph.C (validate): remove from here...
10746 * paragraph_pimpl.C (validate): ... and move here
10747 (isTextAt): make it const
10749 * buffer.C (getLists): ws cleanup
10751 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10753 * language.C (read): Use iso8859-1 encoding in latex_lang
10754 (this prevents LyX from crashing when using iso10646-1 encoding).
10756 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * text2.C (toggleInset): if cursor is inside an inset, close the
10759 inset and leave cursor _after_ it
10761 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10763 * lyxfunc.C: move minibuffer completion handling out of here
10765 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10767 * BufferView_pimpl.C:
10768 * LaTeX.C: fix dispatch calls
10770 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10772 * text.C (drawChars): Fix Arabic text rendering.
10774 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10778 * lyxfunc.C: remove message-push/pop
10782 * lyxfunc.C: rationalise some code by removing verboseDispatch
10783 in favour of a bool argument to dispatch()
10785 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10787 * lyx_main.C (init): make sure to read symlinks as absolute paths
10789 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10792 * lyxfunc.C: no need for commandshortcut to be a member
10794 2002-07-15 André Pönitz <poenitz@gmx.net>
10796 * converter.C: add support for $$s (scripts from lib/scripts dir)
10797 * lyx_main.C: white space
10799 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10803 * lyxrc.C: remove second exit confirmation
10805 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10810 * BufferView_pimpl.h:
10811 * BufferView_pimpl.C:
10812 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10814 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10816 * MenuBackend.C (expand): add numeric shortcuts to document menu
10818 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10820 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10822 * lyxfont.C (setLyXFamily):
10829 * buffer.C (asciiParagraph): use ascii_lowercase
10831 2002-07-15 Mike Fabian <mfabian@suse.de>
10833 * lyxlex_pimpl.C (search_kw):
10834 * lyxlex.C (getLongString):
10835 * converter.h (operator<):
10836 * converter.C (operator<):
10837 * buffer.C (parseSingleLyXformat2Token):
10839 * ToolbarDefaults.C (read):
10840 * MenuBackend.C (checkShortcuts):
10842 * LColor.C (getFromGUIName):
10843 (getFromLyXName): use the compare_ascii_no_case instead of
10844 compare_no_case, because in turkish, 'i' is not the lowercase
10845 version of 'I', and thus turkish locale breaks parsing of tags.
10847 2002-07-16 Angus Leeming <leeming@lyx.org>
10849 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10850 now takes a Buffer const & argument.
10852 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10854 * BufferView.C (resize): check there's a buffer to resize
10856 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10858 * lyxfunc.C: remove dead code
10861 * lyxserver.C: use lyx_guii::set_read_callback
10863 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10865 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10866 an inset in a RTL paragraph.
10868 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10870 * lyxfunc.C: repaint after a font size update
10872 2002-07-15 André Pönitz <poenitz@gmx.net>
10874 * lyxlength.C: inBP should be able to return negative values
10876 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10878 * lyxfunc.C: use lyx_gui::update_fonts()
10880 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10882 * lyxfunc.C: use lyx_gui::update_color()
10884 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10890 * lyxrc.C: remove file->new asks for name option, and let
10891 buffer-new take an argument
10893 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10895 * BufferView_pimpl.C: remove unneeded extra repaint()
10897 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10899 * LyXAction.C: allow command-sequence with NoBuffer
10901 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10903 2002-07-10 Angus Leeming <leeming@lyx.org>
10905 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10907 2002-07-09 Angus Leeming <leeming@lyx.org>
10909 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10911 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10913 * lengthcommon.h: whitespace
10915 * lyxfunc.C: update scrollbar after goto paragraph
10917 * lyxtext.h: factor out page break drawing, and fix it so
10918 page break/added space paints as selected nicely
10920 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10922 * BufferView_pimpl.C: add FIXMEs, clean up a little
10924 2002-07-09 André Pönitz <poenitz@gmx.net>
10926 * lyxfont.[Ch]: support for wasy symbols
10928 2002-07-08 André Pönitz <poenitz@gmx.net>
10930 * BufferView_pimpl.C: apply John's patch for #93.
10932 2002-07-05 Angus Leeming <leeming@lyx.org>
10934 * BufferView_pimpl.C (buffer): generate previews if desired.
10936 * LColor.h: add "preview" to the color enum.
10938 * LColor.C (LColor): add a corresponding entry to the items array.
10940 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10943 2002-07-05 Angus Leeming <leeming@lyx.org>
10945 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10946 The body of the code is now in the method that is passed an ostream &
10947 rather than a file name.
10948 Pass an additional only_preamble parameter, useful for the forthcoming
10951 2002-07-03 André Pönitz <poenitz@gmx.net>
10953 * lyxfunc.C: simplify getStatus() a bit for math stuff
10955 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10957 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10959 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10961 * text.C (changeRegionCase): do not change case of all the
10962 document when region ends at paragraph end (bug #461)
10964 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10966 * paragraph.C (startTeXParParams):
10967 (endTeXParParams): add \protect when necessary
10969 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10971 * BufferView_pimpl.C (workAreaExpose): remove warning
10973 2002-06-27 Angus Leeming <leeming@lyx.org>
10975 * Makefile.am: add lyxlayout_ptr_fwd.h.
10977 2002-06-26 André Pönitz <poenitz@gmx.net>
10979 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10981 2002-06-25 Angus Leeming <leeming@lyx.org>
10983 * lyxfunc.C (dispatch): Comment out the call to
10984 grfx::GCache::changeDisplay. The method no longer exists now that the
10985 pixmap generation part of the graphics loader has been moved into
10988 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10990 * text2.C: layout as layout
10992 * text.C: layout as layout
10994 * tabular.C (OldFormatRead): layout as layout
10996 * paragraph_pimpl.C (TeXDeeper): layout as layout
10997 (realizeFont): layout as layout
10999 * paragraph.C (writeFile): layout as layout
11000 (validate): layout as layout
11001 (getFont): layout as layout
11002 (getLabelFont): layout as layout
11003 (getLayoutFont): layout as layout
11004 (breakParagraph): layout as layout
11005 (stripLeadingSpaces): layout as layout
11006 (getEndLabel): layout as layout
11007 (getMaxDepthAfter): layout as layout
11008 (applyLayout): layout as layout
11009 (TeXOnePar): layout as layout
11010 (simpleTeXOnePar): layout as layout
11011 (TeXEnvironment): layout as layout
11012 (layout): layout as layout
11013 (layout): layout as layout
11015 * lyxtextclass.C (compare_name): new functor to work with
11016 shared_ptr, layout as layout
11017 (Read): layout as layout
11018 (hasLayout): layout as layout
11019 (operator): layout as layout
11020 (delete_layout): layout as layout
11021 (defaultLayout): layout as layout
11023 * lyxlayout_ptr_fwd.h: new file
11025 * lyxlayout.C (Read): layout as layout
11027 * lyx_cb.C (MenuInsertLabel): layout as layout
11029 * bufferlist.C (newFile): layout as layout
11031 * buffer.C (readLyXformat2): layout as layout
11032 (parseSingleLyXformat2Token): layout as layout
11033 (insertStringAsLines): layout as layout
11034 (asciiParagraph): layout as layout
11035 (latexParagraphs): layout as layout
11036 (makeLinuxDocFile): layout as layout
11037 (simpleLinuxDocOnePar): layout as layout
11038 (makeDocBookFile): layout as layout
11039 (simpleDocBookOnePar): layout as layout
11040 (getLists): layout as layout
11042 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11044 * CutAndPaste.C (cutSelection): layout as layout
11045 (pasteSelection): layout as layout
11046 (SwitchLayoutsBetweenClasses): layout as layout
11048 * BufferView_pimpl.C (Dispatch): layout as layout
11049 (smartQuote): layout as layout
11051 * BufferView2.C (unlockInset): layout as layout
11053 2002-06-24 André Pönitz <poenitz@gmx.net>
11055 * lyxfunc.C: fix #487
11057 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11061 * lyxfunc.C: remove display_shortcuts, show_banner
11063 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11065 * Buffer_pimpl.C: oops, update on resize
11067 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11074 * BufferView.C: use repaint()
11076 * BufferView_pimpl.h:
11077 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11078 as it's a clearer description. Remove superfluous
11081 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11083 * text.C: fix bug 488. Not ideal, but getting
11084 getWord() to work properly for the insets that
11085 matter is more difficult ...
11087 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11089 * BufferView_pimpl.C:
11092 * lyxfunc.C: remove the six million index lyxfuncs to just
11093 one, and DTRT (bug 458)
11095 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11099 * BufferView_pimpl.h:
11100 * BufferView_pimpl.C: clean up resize() stuff,
11101 and unnecessary updateScreen()s
11103 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11107 * BufferView_pimpl.h:
11108 * BufferView_pimpl.C:
11111 * minibuffer.C: remove focus management of workarea,
11112 not needed. Use screen's greyOut()
11114 2002-06-17 Herbert Voss <voss@lyx.org>
11116 * converter.C: (convert) do not post a message, when converting
11117 fails, let the calling function decide what to do in this case
11119 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11121 * lyxfunc.C: tidy up a little
11123 2002-06-16 <alstrup@diku.dk>
11125 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11126 Got rid of FORMS_H_LOCATION include. Now we are
11129 2002-06-15 LyX Development team <lyx@rilke>
11131 * buffer.[Ch] (sgmlOpenTag):
11132 (sgmlCloseTag): Added support for avoiding pernicious mixed
11133 content. Return number of lines written.
11135 (makeLinuxDocFile):
11136 (makeDocBookFile): Fixed calls to sgml*Tag.
11137 Simple white space clean.
11139 (simpleDocBookOnePar): Simple white space clean.
11141 * tabular.[Ch] (docBook): Renamed to docbook and got another
11142 argument to related with the pernicious mixed content.
11144 (docbookRow): Fixed calls for docbook inset method.
11146 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11148 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11149 so it's X11 independent.
11153 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11155 2002-06-15 Lyx Development team <lyx@electronia>
11157 * intl.h: Renamed getTrans to getTransManager.
11159 2002-06-14 Angus Leeming <leeming@lyx.org>
11161 * Makefile.am: nuke forgotten stl_string_fwd.h.
11163 2002-06-12 Angus Leeming <leeming@lyx.org>
11165 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11167 2002-06-13 Angus Leeming <leeming@lyx.org>
11170 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11172 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11174 * kbmap.C (getiso): add support for cyrillic and greek
11176 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11180 * BufferView_pimpl.h:
11181 * BufferView_pimpl.C: move bogus scrolling logic
11184 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11187 * BufferView_pimpl.C: view->resize() change
11189 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11191 * BufferView_pimpl.C: topCursorVisible
11194 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11198 * lyx_gui.C: move to frontends/
11202 * lyx_main.C: changes from above
11204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11211 * lyx_main.C: minor tidy
11213 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11215 * BufferView_pimpl.h:
11216 * BufferView_pimpl.C:
11218 * BufferView.C: make painter() const,
11221 * BufferView2.C: use screen() accessor
11224 * lyx_main.C: some minor cleanup
11226 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11228 * BufferView_pimpl.h:
11229 * BufferView_pimpl.C: remove enter/leaveView,
11232 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11237 * BufferView_pimpl.h:
11238 * BufferView_pimpl.C: only construct screen once,
11241 * lyxrc.C: remove pointless comment
11243 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11246 * BufferView.C: remove active() and belowMouse()
11248 * BufferView_pimpl.h:
11249 * BufferView_pimpl.C: use workarea() not workarea_,
11250 and make it use a scoped_ptr instead
11252 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11254 * lyx_gui.C: add debug message on BadWindow
11256 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11258 * sp_spell.C: fdopen is not part of the C++ standard.
11260 * paragraph.C (InsetIterator): use >= instead of ==
11262 2002-06-07 Angus Leeming <leeming@lyx.org>
11264 Fixes needed to compile with Compaq cxx 6.5.
11265 * BufferView_pimpl.C:
11272 * lyxtextclasslist.C:
11277 all c-library variables have been moved into namespace std. Wrap
11278 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11283 Add a using std::abs declaration.
11285 * kbmap.h (modifier_pair):
11286 * paragraph.h (InsetTable, InsetList):
11287 * lyxfont.h (FontBits):
11288 type definition made public.
11290 * bufferlist.C (emergencyWriteAll): the compiler complains that
11291 there is more than one possible lyx::class_fun template to choose from.
11292 I re-named the void specialisation as lyx::void_class_fun.
11294 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11296 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11297 the compiler is is unable to find tostr in write_attribute.
11299 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11301 * buffer.C (sgmlError): hide #warning
11303 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * xtl/*: get rid of xtl, which is not in use anyway
11307 * LyXAction.C (init):
11308 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11309 were unimplemented xtl experimentation
11311 2002-06-04 André Pönitz <poenitz@gmx.net>
11313 * lyxfunc.C: disable array operation on simple formulae
11315 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11317 * converter.C: constify a bit
11319 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11321 * lyx_gui.C: check xforms version correctly
11323 2002-04-30 Herbert Voss <voss@lyx.org>
11325 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11328 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11330 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11331 attempt to register it with a VCS)
11333 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11335 * lyx_main.C (init): honor variables LYX_DIR_13x and
11338 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11342 * lyx_main.C: fix a crash on bad command line,
11343 and give a useful exit status on error
11345 * lyxfunc.C (doImport): allow -i lyx to work
11347 2002-03-30 André Pönitz <poenitz@gmx.net>
11349 * lyxfunc.C: mathed font changes
11351 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11366 * trans_mgr.h: srcdocs, and some minor cleanups
11368 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11370 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11371 call getFont all the time)
11373 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11375 * switch from SigC signals to boost::signals
11377 2002-05-29 André Pönitz <poenitz@gmx.net>
11379 * paragraph_pimpl.C (getChar): don't call size() too often...
11381 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11383 * paragraph_pimpl.C (insertChar): do not try to update tables when
11384 appending (pos == size())
11386 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11387 in order to reduce drastically the number of comparisons needed to
11388 parse a large document
11390 2002-05-29 André Pönitz <poenitz@gmx.net>
11396 * textclasslist.[Ch]:
11397 * sp_ispell.h: whitespace change
11399 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11401 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11402 lyxaction directly now.
11404 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11408 * lyxvc.C: remove unused headers
11410 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11417 * undo_funcs.C: some cleanups. Use shared_ptr
11418 and a template for the undo stacks.
11420 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11422 * BufferView_pimpl.h:
11423 * BufferView_pimpl.C:
11430 * text2.C: use key_state/mouse_state
11432 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11437 * chset.C: change include order
11438 (loadFile): use boost regex and get rid of LRegex and LSubstring
11440 * Makefile.am (BOOST_LIBS): new variable
11441 (lyx_LDADD): use it
11443 * LaTeX.C: change include order.
11444 (scanAuxFile): use boost regex and get rid of LRegex and
11448 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11453 * FontInfo.C: moved to frontends/xforms/
11456 * FontLoader.C: moved into frontends for GUIIzation
11461 * lyxfunc.C: changes from above
11463 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11465 * LColor.C: remove spurious X include
11467 * BufferView_pimpl.C:
11472 * text2.C: move font metrics to frontends/
11474 2002-05-24 Juergen Vigna <jug@sad.it>
11476 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11477 setting the undo_cursor.
11479 * ParagraphParameters.h: include local includes first.
11481 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11483 * BufferView_pimpl.C:
11484 * BufferView_pimpl.h:
11488 * screen.C: move WorkArea into frontends/
11494 * BufferView2.C: move LyXScreen into frontends/
11498 * lyx_gui.C: move lyxlookup into frontends/xforms/
11500 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11503 * BufferView_pimpl.C:
11513 * bufferview_funcs.C:
11526 * vc-backend.C: move LyX/XFormsView into frontends/
11528 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11540 * text2.C: move Painter to frontends/
11542 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11544 * buffer.C: comment out some some code that depend upon lyx_format
11547 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11548 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11550 * buffer.h (NO_COMPABILITY): turn off compability
11552 * ColorHandler.C: include scoped_array.hpp
11554 * font.C: Use more specific smart_ptr header.
11557 * ShareContainer.h: ditto
11558 * lyx_main.h: ditto
11560 * FontInfo.h: ditto
11561 * BufferView_pimpl.h: ditto
11562 * ColorHandler.h: ditto
11564 * kbmap.C (defkey): change call to shared_ptr::reset
11566 2002-05-21 Juergen Vigna <jug@sad.it>
11568 * buffer.C (insertErtContents): fix to insert ert asis if it is
11569 non empty. Skip it completely if it contains only whitespaces.
11571 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11573 * BufferView_pimpl.C:
11574 * BufferView2.C: clear selection on paste (bug 393)
11576 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11578 * DepTable.C: include ctime
11580 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11582 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11584 2002-05-14 Juergen Vigna <jug@sad.it>
11586 * text.C (breakParagraph): fixed function to honor the keepempty
11587 layout in the right maner and also to permit the right breaking
11588 algorithm on empty or non empyt keepempty paragraphs.
11590 * paragraph.C (breakParagraph): we have to check also if the par
11591 is really empty (!size()) for isempty otherwise we do the wrong
11594 2002-05-10 Juergen Vigna <jug@sad.it>
11596 * buffer.[Ch] : The following are only changes to the ert
11597 compatibility read reading old LaTeX layout and font stuff and
11598 convert it to ERTInsets.
11600 * buffer.h: added isErtInset().
11602 * buffer.C (struct ErtComp): add a fromlayout bool to check
11603 if we're inside a LaTeX layout.
11604 (isErtInset): new helper function.
11605 (insertErtContents): look for other ert insets before this one
11606 and insert the contents there, so that we don't have subsequent
11607 ERT insets with nothing between them. This way we create only one
11608 inset with multiple paragraphs. Also check if we don't insert only
11609 spaces ' ' as they are ignored anyway afterwards in the .tex file
11610 so if we have only spaces we will ignore this latex part in the
11612 (parseSingleLyXformat2Token \\layout): better compatibility when
11613 reading layout-latex stuff.
11614 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11616 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11617 stuff after reading the inset only get the information back from
11620 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11622 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11624 * LaTeXFeatures.C (getBabelOptions): New method.
11626 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11628 * BufferView_pimpl.C (Dispatch): work around missing argument for
11631 2002-05-08 Juergen Vigna <jug@sad.it>
11633 * text.C (leftMargin): handle paragraph leftindent.
11635 * paragraph.C (writeFile): write the new \\leftindent tag.
11636 (validate): handle leftindent code.
11637 (TeXEnvironment): handle paragraphleftindent code again.
11639 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11641 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11642 for paragrap_extra indent code and new token \\leftindent.
11643 (latexParagraphs): handle the leftindent as environment.
11645 * ParameterStruct.h: added leftindent support.
11647 * ParagraphParameters.C (leftIndent): added support functions for
11648 the paragraph left indent.
11650 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11653 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11655 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11658 * text.C (computeBidiTables): No bidi in insetERT.
11660 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11663 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11665 * version.C.in: pre 5
11667 2002-05-02 José Matos <jamatos@fep.up.pt>
11668 * buffer.C (makeDocBookFile): white space changes, add newline to
11670 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11672 * tabular.C (docBook): fix typo.
11674 2002-05-03 Juergen Vigna <jug@sad.it>
11676 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11677 change in LyXText as we can not be sure it was not freed.
11678 (drawOneRow): remove unused code.
11680 * text.C (drawInset): redo the calculation of the need_break_row as
11681 it could have a row which was already freed.
11682 (draw): look at the return value of drawInset and return false if
11683 it also returned false.
11684 (paintRowText): look at the return value of draw and return false if
11685 it also returned false.
11687 * lyxtext.h: added bool return type to drawInset() and draw() so that
11688 if we have a change in the row so that the rowbreak has to be redone
11689 we abort drawing as it will be called again.
11691 2002-05-02 Juergen Vigna <jug@sad.it>
11693 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11694 a change in the maintext also if we're inside an inset.
11695 (Dispatch): set the cursor again after a break line and after the
11696 screen has been updated as it could be we're in a different row.
11698 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11699 to set the cursor behind the pargraph with > size().
11700 (setCursor): check also for the same paragraph when checking where
11701 to put the cursor if we have a NFR inset.
11703 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11704 parts of layout read further up as it still was in the wrong
11707 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11709 * screen.C (drawFromTo): change sine fullRebreak always return
11712 * buffer.C (parseSingleLyXformat2Token): reindent some
11714 * BufferView_pimpl.C (update): change since fullRebreak always
11716 (Dispatch): git rid of the last hardcoded "Standard"s.
11718 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * text2.[Ch] (fullRebreak): make it return void now that we always
11723 2002-04-30 Juergen Vigna <jug@sad.it>
11725 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11726 ert compatibility check for "latex" layout.
11728 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11730 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11731 minipages: use col% instead of p%, and also use the current font.
11732 (makeLaTeXFile): Fix use babel condition.
11733 (parseSingleLyXformat2Token): Correct font when reading old floats.
11735 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11737 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11738 inserting list of floats.
11740 2002-04-25 Herbert Voss <voss@lyx.org>
11742 * MenuBackend.C (expand): don't add the graphics extensions to the
11745 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11747 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11748 non-existing layout, do not complain if it was the default layout
11749 of the original class (bug #342)
11751 2002-04-24 Juergen Vigna <jug@sad.it>
11753 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11754 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11756 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11758 * buffer.C (getBibkeyList): If using \bibliography, return the
11759 option field with the reference itself. Enables us to provide natbib
11760 support when using \bibliography.
11762 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11764 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11766 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11767 natbib is provided by the LaTeX class.
11769 2002-04-23 Juergen Vigna <jug@sad.it>
11771 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11774 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11776 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11778 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11780 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11781 ensuremath around textordmasculine, textordfeminine and
11784 2002-04-19 Juergen Vigna <jug@sad.it>
11786 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11787 reinitializing the buffer otherwise row-dimensions may be wrong.
11788 (update): reset also the selection cursors if they do exits otherwise
11789 their x/y positions may be wrong.
11791 * text2.C (cursorDown): don't enter the inset if we came from a row
11792 above and are one row over the inset.
11794 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11795 really leaving an inset.
11797 2002-04-18 Juergen Vigna <jug@sad.it>
11799 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11800 of the selected paragraph does not have the selected layout also if
11803 * text2.C (setLayout): fixed bug which did not change last selected
11806 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11807 changed the read and substituted \\end_float with \\end_inset!
11809 * BufferView_pimpl.C (cursorPrevious):
11810 (cursorNext): fixed to make it work with rows heigher than the work
11811 area without moving the cursor only the draw of the row.
11812 (workAreaMotionNotify): fix jumping over high rows.
11814 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11816 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11819 2002-04-16 Juergen Vigna <jug@sad.it>
11821 * text2.C (setCursor): set also the irow().
11822 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11824 (cursorDown): support for locking an inset if the x_fix value goes
11825 inside it. That way I can transverse insets too with cursor up/down.
11827 * lyxrow.h: added irow helper function same as other (i) functions.
11829 * BufferView_pimpl.C (cursorPrevious):
11830 (cursorNext): fixed for insets!
11832 2002-04-15 Juergen Vigna <jug@sad.it>
11834 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11835 position otherwise it is wrong in some cases.
11837 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11838 inside the inset before the call.
11840 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11842 * buffer.[Ch] (getBibkeyList): make it const.
11844 2002-04-12 Juergen Vigna <jug@sad.it>
11846 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11848 * text2.C (getCursorX): new helper function
11849 (setCursor): compute also ix_
11850 (setCursorFromCoordinates): set also ix.
11852 * lyxcursor.h: added ix_ and helper functions.
11854 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11856 * buffer.C (insertStringAsLines): dont break paragraph if the this
11857 paragraph is inside an inset which does not permit it!
11859 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11860 also with no chars on this paragraph.
11861 (paintRowText): only paint stuff if it's inside the workarea!
11863 * paragraph.C (breakParagraph): honor keepempty flag and break the
11864 paragraph always below not above.
11866 * BufferView2.C (unlockInset): update the paragraph layout on inset
11867 unlock as we changed paragraph in such a case.
11869 * lyxfind.C (LyXFind): clear the former selection if not found!
11871 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11872 again called in insertChar().
11874 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11875 an inset which uses the whole row!
11876 (rightMargin): ditto.
11877 (insertChar): force a rebreak if we inserted an inset!
11879 2002-03-28 Herbert Voss <voss@lyx.org>
11881 * lyxlength.[Ch]: add inBP() to get the right PS-point
11882 units (BigPoint). With inPixels we have rounding errors
11884 2002-04-11 Juergen Vigna <jug@sad.it>
11886 * text2.C (setCursorFromCoordinates): set iy to the right value.
11887 (setCursor): add check if row->previous exists!
11889 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11890 an old float_type as this was the case in the old code!
11892 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11894 * BufferView2.C (showLockedInsetCursor): use iy
11895 (fitLockedInsetCursor): ditto
11897 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11898 locked insets as there we have the right value now.
11900 * lyxcursor.C: added iy_ variable and iy functions to set to the
11901 baseline of cursor-y of the locked inset.
11903 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11904 (setCursor): fixed for insets which need a full row.
11906 * text.C (rowLastPrintable): don't ignore the last space when before
11907 an inset which needs a full row.
11908 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11909 as last character of a row when before a inset which needs a full row.
11911 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11913 * version.C.in: update date
11915 * text2.C (fullRebreak): try to always return true and see what
11918 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11920 * MenuBackend.C (expand): use Floating::listName
11922 * FloatList.C (FloatList): add listName argument to the built-in
11925 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11926 text associated with the float.
11928 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11930 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11932 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11934 * ShareContainer.h: add a couple of missing typenames.
11936 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11938 * lyxrc.C (getDescription): use _() correctly rather than N_().
11940 2002-03-28 Herbert Voss <voss@lyx.org>
11942 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11943 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11945 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11947 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11948 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11950 2002-03-29 Juergen Vigna <jug@sad.it>
11952 * lyxfunc.C (dispatch): add a missing fitCursor call.
11954 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11955 it was scrolled by a cursor move, so return the bool status.
11957 * BufferView.C (fitCursor): return the bool flag also to the outside
11958 world as this is needed.
11960 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11962 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11963 call the edit() as it is not needed (and wrong) IMO.
11964 (workAreaButtonPress): set the screen_first variable before evt.
11965 unlock the inset as this may change screen_first and then we have
11966 a wrong y position for the click!
11968 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11970 * MenuBackend.C (expand): another translation that I missed
11972 2002-03-28 Juergen Vigna <jug@sad.it>
11974 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11976 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11978 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11980 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11982 * MenuBackend.C (expand): fix export/view/update when there is no
11985 2002-03-27 Herbert Voss <voss@lyx.org>
11987 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11990 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11992 * bufferview_funcs.C (currentState): only show paragraph number
11993 for is DEVEL_VERSION is set.
11995 * lyxfunc.C (dispatch): put warning in INFO channel
11997 * MenuBackend.C (expand): translate the name of floats
11999 * FloatList.C (FloatList): mark the float names for translation
12001 * converter.C (convert): use LibScriptSearch
12003 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12005 * MenuBackend.C (defaults): fix default menu (we might as well get
12008 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12010 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12013 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12015 * lyxvc.C: reorder includes.
12017 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12019 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12022 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12024 * CutAndPaste.C: change layouts earlier on paste
12025 to avoid crashing when calling getFont()
12027 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12029 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12032 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12034 * WorkArea.C: remove 'Pending' debug message.
12036 * most files: ws cleanup
12038 * buffer.[Ch]: ws changes
12040 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12042 2002-03-21 Juergen Vigna <jug@sad.it>
12044 * tabular.C (SetMultiColumn): collapse also the contents of the
12045 cells and set the last border right. Added a Buffer const * param.
12047 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12052 2002-03-19 Juergen Vigna <jug@sad.it>
12054 * text2.C (clearSelection): reset also xsel_cache.
12056 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12057 where it needs to be called (John tells us to do so too :)
12058 (selectionLost): reset sel_cache.
12060 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12062 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12064 * text2.C (setCursorIntern): put debuging code in INSETS channel
12066 2002-03-19 André Pönitz <poenitz@gmx.net>
12068 * lyxfunc.C: tiny whitespace change
12070 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * ToolbarDefaults.C (init):
12073 * LyXAction.C (init):
12075 * BufferView_pimpl.C (Dispatch):
12076 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12078 2002-03-19 Allan Rae <rae@lyx.org>
12080 * exporter.C (Export): removeAutoInsets before doing anything else.
12081 While I've just introduced a dependency on BufferView this really is
12082 the best place to clean the buffer otherwise you need to cleanup in
12083 a dozen places before calling export or cleanup in a dozen functions
12086 * converter.C (runLaTeX):
12087 (scanLog): Better handling of removeAutoInsets and screen updates.
12089 * lyxfunc.C (dispatch): small whitespace changes
12091 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12093 * WorkArea.C (C_WorkAreaEvent): return a value.
12094 (event_cb): return 1 if we handled the event, 0 otherwise.
12096 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12098 2002-03-18 Juergen Vigna <jug@sad.it>
12100 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12101 (GetAdditionalWidth): ditto.
12102 (RightLine): ditto.
12105 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12106 inset if we're there actually (probably not used right now but this
12107 is the direction to go for unifying code).
12108 (paste): disable code to clear the selection.
12110 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12111 inside an InsetText and move the check further up as it is in the
12114 * text2.C (pasteSelection): set a selection over the pasted text.
12116 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12118 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12119 and libgraphics to build on Cygwin.
12121 2002-03-15 Juergen Vigna <jug@sad.it>
12123 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12124 inserting an Inset into the paragraph. I know this is not the best
12125 fix but we already use current_view in CutAndPaste so we will remove
12126 all of it's using at the same time.
12128 * buffer.C (sgmlError): deactivated function till it is rewritten in
12129 the right mode, now it can create problems.
12131 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12132 before accessing it.
12134 2002-03-14 Juergen Vigna <jug@sad.it>
12136 * undo_funcs.C (textHandleUndo): do the right thing when updating
12137 the inset after the undo/redo.
12139 * text2.C (setCursor): just some testcode for #44 not ready yet.
12141 * undo_funcs.C (textHandleUndo): set the next() and previous()
12142 pointers of the paragraph to 0 before deleting otherwise we have
12143 problems with the Paragraph::[destructor].
12145 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12146 on a paragraph insertion.
12148 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * buffer.C (asciiParagraph): use += operator for char append to
12153 * paragraph.C (getFontSettings): compare >= not just >
12154 (highestFontInRange): ditto
12157 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12159 * paragraph.C: change several algorithm to be more appripriate for
12160 the problem domain. This is lookip in FontList and in the InsetList.
12162 2002-03-13 André Pönitz <poenitz@gmx.net>
12165 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12167 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12172 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12174 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12176 * Painter.C (display): anon helper function, adjust code for this
12178 (pixmap): remove function.
12180 * Painter.h: remove private display variable.
12182 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12184 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12186 * WorkArea.[Ch]: remove figinset_canvas cruft.
12188 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * lyxtextclass.C (operator): add one item cache optimization.
12192 * bufferlist.h: doxy changes
12194 * bufferlist.C: ws changes
12196 * DepTable.[Ch] (ext_exist): place const in the right spot.
12198 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12200 (workAreaExpose): call resizeInsets when the with BufferView changes.
12201 (Dispatch): adjust for protectedBlank removal
12202 (specialChar): call updateInset if the insert went ok.
12204 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12205 specialChar instead.
12207 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12209 * BufferView.h: doxy change
12211 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12213 * lyxtextclass.C (operator[]): remove non-const version
12214 (defaultLayout): remove non-const version
12216 2002-03-12 Juergen Vigna <jug@sad.it>
12218 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12219 did resize the LyXText too.
12221 * buffer.C (readLyXformat2): set layout information on newly allocated
12224 * tabular.C (OldFormatRead): set layout information on the paragraph.
12226 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12228 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12230 2002-03-11 Juergen Vigna <jug@sad.it>
12232 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12234 (resizeCurrentBuffer): force also the insets to resize themselfes.
12235 (moveCursorUpdate): fixed up for InsetText.
12237 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12240 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12241 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12242 value of Dialogs::tooltipsEnabled().
12243 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12245 2002-03-08 Juergen Vigna <jug@sad.it>
12247 * BufferView_pimpl.C (updateInset): update inset inside inset also
12248 if it isn't inside theLockingInset().
12250 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12252 * buffer.C (asciiParagraph): redo some of the word and line length
12254 (getLists): look for Caption instead of caption.
12256 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12258 * buffer.C (Buffer): initialize niceFile to true
12260 (makeLinuxDocFile):
12261 (makeDocBookFile): make sure niceFile is true on exit
12263 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12265 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12267 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12269 * LyXSendto.C: remove.
12270 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12271 * lyx_gui.C: remove now-redundant comment.
12272 * ColorHandler.h: remove forward declaration of class WorkArea.
12273 * lyxfunc.C: remove #include "WorkArea.h".
12275 2002-03-07 Juergen Vigna <jug@sad.it>
12277 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12278 got moved away with the DEPM and also set the inset_owner always
12279 right which before could have been omitted.
12281 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12284 wanted layout is not found.
12286 2002-03-07 Juergen Vigna <jug@sad.it>
12288 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12290 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12292 * paragraph.C (breakParagraph): use default layout not layout of
12294 (Paragraph): clear ParagraphParameters.
12296 2002-03-06 Juergen Vigna <jug@sad.it>
12298 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12299 otherwise it would not be a valid lenght. Fixed a special case in
12300 the minipage compatibility read where we end the document with a
12303 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12304 was set as it could be 0 for InsetTexts first entry.
12306 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * paragraph.C (writeFile): if layout is empty write out
12309 defaultLayoutName().
12311 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12312 file without named layout we set layout to defaultLayoutName().
12314 2002-03-06 Juergen Vigna <jug@sad.it>
12316 * CutAndPaste.C (copySelection): set layout for new paragraph.
12318 * text.C (prepareToPrint): leave ERT inset left aligned
12319 (leftMargin): don't indent paragraphs inside ERT insets
12321 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * paragraph.C (breakParagraph): dont call clear do the work manually
12325 * paragraph.[Ch] (clear): remove function
12327 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * paragraph.C (Paragraph): dont call clear, the work has already
12332 * lyxtextclass.C (operator): assert if n is empty
12334 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12335 work manually instead.
12337 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12339 * BufferView_pimpl.C: protect selectionLost against text == 0
12341 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12343 * text.C (breakParagraph): fix a setting layout to '0' problem.
12345 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12347 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12348 final location of file, for the included files, and graphics.
12350 2002-03-05 Juergen Vigna <jug@sad.it>
12352 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12354 2002-03-04 Juergen Vigna <jug@sad.it>
12356 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12358 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12359 last column of multicolumn cells.
12360 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12362 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12364 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12365 file if it doesn't go to a temporary file.
12367 * buffer.C (sgmlOpenTag):
12368 (sgmlCloseTag): remove extra newline insertion.
12370 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12372 * text.C (getRowNearY): comment out debug msg
12374 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12376 * text2.C: first -> first_y
12378 * text.C (getRowNearY): add some attemts at a possible
12379 optimization, not working.
12381 * tabular.[Ch]: add BufferParams to several function so that newly
12382 created paragraph can be initialized to he default layotu for the
12385 * tabular-old.C (ReadOld): add buf->params to call of Init
12387 * screen.C: rename text->first to text->first_y
12389 * paragraph.C (breakParagraph): always set layout in the broken
12392 * lyxtextclass.C (Read): remove lowercase
12395 (delete_layout): ditto
12397 * lyxtext.h: rename first -> first_y
12399 * lyxlayout.C (Read): remove lowercase
12402 (obsoleted_by): ditto
12404 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12406 * buffer.C (insertErtContents): add params are to InsetERT
12407 (parseSingleLyXformat2Token): add code to check if a paragraphs
12408 layout really exist.
12409 (parseSingleLyXformat2Token): add params to several inset
12411 (asciiParagraph): remove lowercase, do the layout comparisons with
12414 * BufferView_pimpl.C (cursorNext): first -> first_y
12415 (resizeCurrentBuffer): first -> first_y
12416 (updateScrollbar): first -> first_y
12417 (scrollCB): first -> first_y
12418 (workAreaMotionNotify): first -> first_y
12419 (workAreaButtonPress): first -> first_y
12420 (checkInsetHit): first -> first_y
12421 (cursorPrevious): first -> first_y
12422 (cursorNext): first -> first_y
12423 (Dispatch): add buffer_->params to severl inset contructors
12425 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12427 * lyxlayout.C (Read): remove some debug info that I forgot.
12429 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12430 clean up the code slightly.
12431 (makeLinuxDocFile): ditto
12432 (makeDocBookFile): ditto
12434 * text2.C: layout as string
12436 * text.C: layout as string
12438 * paragraph_pimpl.C: layout as string
12440 * paragraph.[Ch]: layout as string
12442 * lyxtextclasslist.[Ch]: layout as string
12444 * lyxtextclass.[Ch]: layout as string
12446 * lyxtext.h: layout as string
12448 * lyxlayout.[Ch]: layout as string
12450 * lyx_cb.C: layout as string
12452 * bufferview_funcs.C: layout as string
12454 * bufferparams.C: layout as string
12456 * buffer.C: layout as string
12458 * LyXView.[Ch]: layout as string
12460 * LaTeXFeatures.[Ch]: layout as string
12462 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12464 * BufferView_pimpl.C: change current_layout to string, remove
12469 (workAreaButtonRelease): layout as string
12471 * BufferView2.C (unlockInset): adjust
12473 * vspace.C (asLatexCommand): use an explict temp variable.
12475 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12477 * Makefile.am: use FRONTEND_*
12479 2002-03-01 Juergen Vigna <jug@sad.it>
12481 * tabular.C (SetWidthOfMulticolCell): changed to something better
12482 I hope but still work in progress.
12483 (recalculateMulticolumnsOfColumn): renamed function from
12484 recalculateMulticolCells as it is more appropriate now.
12485 (SetWidthOfCell): calculate multicols better.
12487 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12489 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12491 * lyxfunc.C (processKeySym): print sequence also if it is
12492 `deleted' (complete)
12494 * kbsequence.C (print): print sequence even if it is deleted
12495 (complete would be a better word, actually).
12497 * lyxfunc.C (dispatch): print complete options after a prefix key
12499 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12501 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12503 * text2.C (setCharFont): eliminate setCharFont code duplication.
12505 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12507 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12508 LFUN_TABULAR_FEATURE (bug #177)
12510 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12512 * Makefile.am: remove figure.h
12514 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12516 * Bufferview_pimpl.C:
12528 * text2.C: remove #include "lyx_gui_misc.h".
12530 * LaTeX.C: added #include <cstdio>
12532 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12534 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12535 that the paragraph following this one can have.
12537 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12539 * vspace.C (asLatexCommand): fix bogus gcc warning
12541 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12543 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12545 * text2.C (setLayout): get rid of redundant code
12547 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12549 * text2.C (incDepth): make sure depth cannot be increased beyond
12552 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12554 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12555 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12557 * PainterBase.h (image):
12558 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12559 a LyXImage const *.
12561 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12565 * BufferView_pimpl.C:
12566 * BufferView_pimpl.h:
12586 * sp_spell.C: remove fig inset, and the crap house of
12587 cards that follows it
12589 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12594 * os2_errortable.h:
12595 * nt_defines.h: move .h into support/
12597 * vms_defines.h: remove
12599 * WorkArea.C: add space in debug output
12603 * buffer.C: add WITH_WARNINGS
12607 * bufferlist.C: s/retrive/retrieve/, add docs
12616 * chset.C: add docs
12618 * lyxgui.C: add ID to X error handler
12620 * lyxtestclass.c: fix typo
12622 2002-02-26 Juergen Vigna <jug@sad.it>
12624 * tabular_funcs.C (write_attribute): changed so that some default
12625 attributes are not written at all.
12626 (getTokenValue): set default values before trying to read the
12627 value so we have the return value always set as default if we don't
12628 find the token we search for.
12630 * tabular.C (Write): write bools as bools not as strings!
12632 2002-02-22 Juergen Vigna <jug@sad.it>
12634 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12635 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12637 * text.C (leftMargin): don't add an indent for paragraphs inside
12638 tabular cells (fix #208).
12640 2002-02-21 José Matos <jamatos@fep.up.pt>
12642 * tabular.C (docBook): fixed support for long tables.
12644 2002-02-20 Juergen Vigna <jug@sad.it>
12646 * text2.C (getFont): get the drawing font of the Inset if this
12647 paragraph is inside an inset (only important for InsetERT for now).
12649 * buffer.C (insertErtContents): use new lanugage params in ERT
12652 * CutAndPaste.C: commenting out seemingly uneeded code.
12654 2002-02-19 Allan Rae <rae@lyx.org>
12656 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12657 Iterators might be simple to use but they also get invalidated.
12658 (removeAutoInsets): renamed saved cursor tracking variables and added
12659 some comments to clarify what everything does.
12661 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12668 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12669 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12672 * vc-backend.h: remove #include "support/syscall.h"
12676 * converter.C: rearrange #includes in Lars' approved fashion.
12678 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12679 forward declare class Timeout in the header file.
12681 * XFormsView.C: changes due to the above.
12683 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12684 similar to LyXView.
12686 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12687 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12689 2002-02-18 José Matos <jamatos@fep.up.pt>
12691 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12694 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12696 * a lot of small ws changes
12697 * add a lot of using std::XXX
12698 * use std construcs some places where approp.
12699 * use some exisint stuff from lyxfunctional where approp.
12700 * Make file changes to use partial linking (lets test this now...)
12702 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12706 remove #include "support/syscontr.h" as it's redundant. Always has been.
12714 change Systemcalls::System to Systemcalls::Wait and
12715 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12716 No change of functionality, just reflects the stripped down Systemcalls
12719 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12721 * debug.[Ch]: add a GRAPHICS type to the enum.
12723 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12725 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12727 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12730 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12732 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12733 match the changes below.
12735 * text2.C (toggleInset): if there is not editable inset at cursor
12736 position, try to see if cursor is _inside_ a collapsable inset
12739 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12741 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12742 document menu has a nice checkbox
12744 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12746 * lyxlength.C (asLatexString): change PW to output as percent of
12749 * lengthcommon.C: change '%' to 't%'
12751 * lyxfunc.C (dispatch): a few comments from Martin
12753 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12757 * BufferView_pimpl.h:
12758 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12761 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12763 * vspace.C (inPixels): fix compiler warning
12765 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12767 * lyxfunc.C (getStatus): fix status message for disabled commands.
12769 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12771 * BufferView_pimpl.C: fix crash on close buffer
12772 during selection (#227)
12774 2002-01-27 Herbert Voss <voss@lyx.org>
12776 * buffer.C: link old Figure to new graphic inset
12778 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12780 * FontLoader.C (getFontinfo): Change the latex font names in order
12781 to match the names of type1inst.
12783 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12785 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12787 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12788 (extchanged): ditto
12790 (remove_files_with_extension): ditto
12791 (remove_file): ditto
12794 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12795 document is smaller than the work area height. Do not initialize
12796 static variables to 0.
12798 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12800 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12802 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12803 LFUN_LAYOUT_PARAGRAPHS.
12805 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12806 tabular. It is possible to provide a possible cell, which will
12807 typically be the actcell from the corresponding insettabular
12809 * lyxfunc.C (getStatus): small cleanup; disable
12810 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12813 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12815 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12817 * paragraph.C (startTeXParParams):
12818 (endTeXParParams): new methods. The LaTeX code to
12819 start/end paragraph formatting
12820 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12821 empty (fixes bug #200)
12823 * vspace.C (inPixels): adapt to the change below
12824 (inPixels): [later] more cleanups (remove unused variables)
12826 * lyxlength.C (inPixels): change to use a width and a height as
12829 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12831 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12832 Replaced with \paperwidth
12834 * DepTable.C (insert): add std:: qualifier
12836 2002-01-18 Allan Rae <rae@lyx.org>
12838 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12841 * text.C (drawInset): Turned out I didn't know enough about how
12842 rebreaking worked. This fixes most of the redraw problems. I see
12843 an occasional cursor trail when a line is broken now and the cursor
12844 placement can seem out by a few pixels also after a rebreak.
12846 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12848 * buffer.C (parseSingleLyXformat2Token): update because minipage
12849 width is now a LyXLength
12851 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12853 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12856 2002-01-17 Juergen Vigna <jug@sad.it>
12858 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12860 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12861 is set correctly and the inset is updated correctly.
12863 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12865 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12866 the beginning of the loop.
12868 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12870 * lyxrc.C: improve help for use_scalable_fonts
12872 2002-01-17 Allan Rae <rae@lyx.org>
12874 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12876 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12878 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12879 make sure to set their inset_owner to the right value (bug #171)
12881 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12884 * DepTable.C: Implement mtime checking to reduce time spent doing
12887 2002-01-16 Juergen Vigna <jug@sad.it>
12889 * tabular.C (GetAdditionalHeight): one of error fixed.
12891 * lyxrc.C (output): small fix in writing use_pspell.
12893 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12895 * sp_base.h: #include LString.h
12897 2002-01-16 Allan Rae <rae@lyx.org>
12899 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12900 Can someone check this please?
12902 * text.C (drawInset): It was possible that p.row would be removed by
12903 breakAgainOneRow upsetting a few other settings. There may be another
12904 small tweak possible by setting need_break_row = 0 when p.row has been
12905 removed but I don't know enough about the logic here.
12907 2002-01-15 Allan Rae <rae@lyx.org>
12909 * text.C (insertChar): removed conditional truism.
12911 * BufferView2.C (removeAutoInsets): More tweaks.
12912 cur_par_prev could be a stray pointer. Check for trailing empty line
12913 in case last line was cur_par and only had an error inset on it.
12915 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12917 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12920 * vc-backend.C (most methods):
12921 * exporter.C (Export):
12922 * converter.C (convert):
12924 * LyXSendto.C (SendtoApplyCB):
12925 * lyxfunc.C (dispatch):
12929 * lyx_cb.C (AutoSave):
12931 * BufferView_pimpl.C (MenuInsertLyXFile):
12932 * buffer.C (runChktex): use Buffer::filePath().
12934 * buffer.h: rename filename to filename_; rename filepath to
12935 filepath_ and make it private
12936 (filePath): new method
12938 * buffer.C (writeFile): use fileName()
12941 * lyx_main.C (init): fix starting of LyX when the binary is a
12942 link from so,ewhere else.
12944 * minibuffer.C: include <cctype> for isprint
12946 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12948 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12949 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12950 name clash with InsetCollapsable's width function.
12952 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12954 * lastfiles.C: include <iterator>
12956 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12958 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12961 * buffer.C (makeLaTeXFile): ditto.
12962 Also make loop operation more transparent.
12964 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12966 * ToolbarDefaults.C: remove trailing comma closing namespace.
12968 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12970 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12973 * trans.C (Load): comment out unused variable, allowed.
12975 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12977 * minibuffer.[Ch] (append_char): new method to recieve input from the
12978 drop-down completion browser. If a key was pressed, then recieve this
12979 char and append it to the existing string.
12980 (peek_event): modify the positioning data passed to the completion
12981 browser so that it can be placed above the minibuffer rather than below.
12982 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * LyXAction.C (init): alloe error-next for readonly documents.
12986 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12989 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12991 * bufferlist.C (readFile): create the buffer _after_ checking that
12994 * lyxfunc.C (verboseDispatch): fix handling of arguments
12996 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12998 * lyxrc.C: use string::erase() instead of initializing to "".
13001 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13003 * BufferView_pimpl.h:
13004 * BufferView_pimpl.C:
13007 * text2.C: tell X when we have made a selection for copying
13009 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13011 * BufferView_pimpl.C (MenuInsertLyXFile):
13012 * lyxfunc.C (menuNew):
13014 (doImport): add shortcuts to directory buttons
13016 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13019 * lyxfunc.C (setStatusMessage):
13020 (getStatusMessage): new methods
13021 (getStatus):use setStatusMessage instead of setErrorMessage
13022 (dispatch): when function is disabled, set error message here
13023 [instead of in getStatus previously]
13025 * BufferView_pimpl.C (workAreaButtonRelease): update
13026 toolbar/menubar here too.
13028 2002-01-13 Allan Rae <rae@lyx.org>
13030 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13031 Now seems indestructible. Remaining task is to audit all other
13032 code affected by deleteEmptyParagraphMechanism. One small quirk
13033 left is that an empty document with an error in the preamble can
13034 be made to report an error but no error box appears. I don't know
13036 (removeAutoInsets): Improved comments.
13038 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13041 * Thesaurus.C: update for Aiksaurus 0.14
13043 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13045 * text2.C (firstParagraph): removed member function, all uses
13046 replaces with ownerParagraph
13047 (redoParagraphs): here
13048 (updateInset): here
13049 (toggleAppendix): here
13050 * BufferView2.C (insertErrors): here
13051 (setCursorFromRow): here
13053 2002-01-13 Allan Rae <rae@lyx.org>
13055 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13056 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13057 There is still a way to segfault this although you may have to do this
13058 multiple times: Have an InsetERT with an unknown command in it.
13059 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13060 <down-arrow>, <Enter> again, View->DVI, BANG!
13062 * text2.C (setCursor):
13063 (deleteEmptyParagraphMechanism):
13064 * lyxtext.h (setCursor):
13065 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13066 Making use of the return value may help fix other bugs.
13068 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13070 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13072 * LyXView.C (updateMenubar): call MenuBar::update here
13073 (updateToolbar): but not here
13074 (showState): do not update toolbar/menubar
13076 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13077 should need to care about that.
13079 * lyxfunc.C (verboseDispatch): simplify a bit
13080 (getStatus): have a version which takes a pseudoaction, and
13081 another which requires a (kb_action,string).
13083 * LyXAction.C (retrieveActionArg): make it work also when action
13084 is not a pseudo-action.
13085 (getActionName): simplify a bit
13088 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13090 * lyxfunc.C (verboseDispatch): new families of methods with
13091 several ways to specify a command and a bool to indicate whether
13092 the command name and shortcut should be displayed in minibuffer
13093 (eventually, we could extend that to a finer bitmask like
13094 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13095 (dispatch): the pristine dispatch command which just, well,
13096 dispatchs! Note it still sets its result to minibuffer; I'm not
13099 * lyxfunc.h: remove setHintMessage
13101 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13103 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13105 * BufferView_pimpl.C (specialChar): delete new inset if we have
13106 not been able to insert it.
13108 * kbmap.C: revert to using int instead of kb_action, since all we
13109 are dealing with is pseudo-actions.
13111 * LyXAction.C (searchActionArg): change to return int instead of
13112 kb_action, since the result is a pseudoaction.
13114 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13116 * buffer.C (insertErtContents): Fix (partially) the font bug.
13118 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13120 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13121 as the other one is broken on my machine!
13123 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13126 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13128 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13130 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13131 reflect their actual use. Provide compatibility code for older lyxrc
13134 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13136 change names of popup font variables in line with the changes to lyxrc.C
13138 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13140 * buffer.C (asciiParagraph): avoid outputing a word twice after
13143 * lyxrc.C (getDescription): document that document_path and
13144 template_path can be empty.
13146 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13148 * LaTeXFeatures.C (getMacros):
13149 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13151 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13153 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13155 (getPackages): rename feature "floats" to "float". Use an array to
13156 iterate over 'simple' features (i.e. just a \usepackage). Add
13157 handling of "amsmath" (renamed from "amsstyle").
13159 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13161 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13164 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13166 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13167 FuncStaus::FuncStatus & FuncStaus::some_method().
13169 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13171 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13172 of the func_satus stuff. Edited and massaged in various ways by
13175 * lyxfunc.C (getStatus): use FuncStatus
13177 2002-01-08 Juergen Vigna <jug@sad.it>
13179 * text.C (nextBreakPoint): use function Inset::isChar().
13181 * paragraph.C (TeXOnePar): use function
13182 Inset::forceDefaultParagraphs.
13184 * buffer.C (latexParagraphs): use function
13185 Inset::forceDefaultParagraphs.
13187 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13189 * lyx_gui.C (init): set the style of the menu popups to
13190 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13192 2002-01-07 Juergen Vigna <jug@sad.it>
13194 * text.C (setHeightOfRow): small fix
13195 (prepareToPrint): don't look at alignment if we don't have the place
13198 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13200 * box.C: New file. Move the Box methods and functions out of box.h,
13201 following Lars' suggestion.
13203 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13205 * box.h: #include "support/LOstream.h", needed for inlined function.
13208 * lyxtextclasslist.C: added some using std declarations.
13210 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13212 * box.h: make signed dimensions to allow insets wider than
13213 the screen (bug #162)
13215 * BufferView_pimpl.C: add some insetHit debug
13217 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13219 * vc-backend.C: add FIXME
13221 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13223 * lyxfunc.C (getStatus): enable code for showing math font status
13226 2002-01-07 Juergen Vigna <jug@sad.it>
13228 * text.C (nextBreakPoint): removed debug output not needed anymore.
13230 2002-01-06 Juergen Vigna <jug@sad.it>
13232 * text.C (nextBreakPoint): fixed up this function we had this bug
13233 since ever but now hopefully we break row better.
13234 (insertChar): we have to check if an inset is the next char as it
13235 could now happen that a large inset is causing a break.
13237 2002-01-05 Juergen Vigna <jug@sad.it>
13239 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13240 if it doesn't like to be drawed.
13242 2002-01-04 Juergen Vigna <jug@sad.it>
13244 * BufferView2.C (lockInset): forgot to set a cursor.
13246 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13248 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13250 * FormMathsPanel.C:
13253 * form_maths_panel.C:
13254 * form_maths_panel.h:
13255 * form_maths_panel.fd: implemented sub- and super- buttons in math
13258 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13259 (or ^ space) to be used as in TeX (req'd by André).
13261 * lyxfunc.C: Allow ^ and _ again to be used both as
13262 super/subscript (mathed) and as themselves (in text).
13264 2002-01-03 Allan Rae <rae@lyx.org>
13266 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13267 "LyX" or the filename of the current buffer if it has one. This is a
13268 modified form of John Levon's patch.
13270 * XFormsView.C (setWindowTitle): also set icon title.
13272 * LyXView.h (setWindowTitle): signature changed.
13273 * XFormsView.h (setWindowTitle): ditto.
13275 2002-01-02 Juergen Vigna <jug@sad.it>
13277 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13279 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13281 * screen.C (topCursorVisible): introduce a temp var for
13282 text->cursor.row(), handle the case where this row is null. (kindo
13285 * text2.C (setCursor): add a couple of asserts.
13287 * paragraph.h (inset_iterator): add -> operator
13289 * paragraph.[Ch] (autoDeleteInsets): remove member function
13291 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13292 cursor pos correctly and handle inset deletion by itself.
13293 (insertErrors): move iterator declaration out of for expression
13295 * lyxtextclass.C: add <algorithm>
13297 * Makefile.am: added the new files to sources, removed layout.C
13299 * layout.C: removed file
13301 * layout.h: remove LYX_DUMMY_LAYOUT
13303 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13307 * lyxtextclass.[Ch]:
13308 * lyxtextclasslist.[Ch]: new files
13310 * include order changes to a lot of files, also changes because of
13313 2001-12-27 Juergen Vigna <jug@sad.it>
13315 * buffer.C (asciiParagraph): more fixes.
13317 * tabular.C (ascii): make ascii export support export of only the
13318 data separated by a column-delimiter.
13319 (ascii): better support for ascii export.
13321 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13323 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13325 * tabular_funcs.C: use a "using std::getline" instead of the
13326 previous fix from Angus (necessary for cxx + lyxstring)
13328 2001-12-24 Juergen Vigna <jug@sad.it>
13330 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13332 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13333 problems. First check a minipage also if we have some ert-contents
13334 (not only on par->size(), second set the right depth of the paragraph
13335 on the relink to the root-paragraph-list!
13337 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13338 which then did not anymore update the main paragraphs on undo/redo!
13340 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13342 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13343 code. Support all font-changing funcs (even those which are not in
13344 menu currently). Support for reporting font settings in
13345 mathed (disabled until Andre provides a function on mathed's side).
13347 * func_status.h (toggle): small helper function to set toggle
13350 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13352 * tabular_funcs.C: getline -> std::getline
13354 2001-12-21 Juergen Vigna <jug@sad.it>
13356 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13357 accessed and could be 0 (I couldn't generate this but it seems
13360 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13362 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13363 * tabular_funcs.h: here and include iosfwd
13365 2001-12-20 Juergen Vigna <jug@sad.it>
13367 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13368 inside inset but undo_par was.
13370 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13372 * Thesaurus.C: always include <config.h> in sources.
13376 * box.h: do not include <config.h> in header files
13378 * text.C (paintLastRow): remove unused variable
13380 * text.C (transformChar):
13382 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13384 * Painter.C (text):
13385 * font.C (width): rewrite to use uppercase() instead of
13388 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13390 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13392 * lyxfind.C: clean up of find failure position change
13394 2001-12-20 Juergen Vigna <jug@sad.it>
13396 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13398 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13399 (TeXRow): added to LaTeX a single tabular row.
13400 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13401 (Latex): simplified and finally good LT-h/f support.
13402 (various_functions): just small adaptions for LT-h/f support.
13404 * tabular_funcs.[hC]: added and moved here all not classfunctions
13407 2001-12-19 Juergen Vigna <jug@sad.it>
13409 * tabular.[Ch]: better support for longtabular options (not finished
13412 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13414 * text.C (paintLastRow): use the label font instead of the font of
13415 the last character to compute the size of *_BOX. This makes more
13416 sense and avoids a crash with empty paragraphs.
13417 Use Painter::rectangle to draw EMPTY_BOX.
13419 2001-12-19 Juergen Vigna <jug@sad.it>
13421 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13422 the paragraphs if the replaced paragraph is not the first one!
13423 Tried to delete not used paragraphs but does not work yet so for
13424 now it's inside #ifdef's and by default off!
13426 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13428 * MenuBackend.C: include "lyx_main.h" instead of declaring
13429 lastfiles (actually was declared as LastFiles* instead of a
13432 2001-12-17 Juergen Vigna <jug@sad.it>
13434 * tabular.C (AppendColumn): applied John's fix
13436 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13440 * BufferView_pimpl.h:
13441 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13444 * box.h: new start of class for above
13446 * lyxfunc.C: ignore space-only minibuffer dispatches.
13447 Show the command name when it doesn't exist
13449 * minibuffer.C: don't add empty lines to the history
13451 * minibuffer.C: add a space on dropdown completion
13453 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13455 * text.C: fix line above/below drawing in insets
13457 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13459 * lyxlength.C (LyXLength): Initialize private variables.
13461 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13463 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13464 when inserting error insets.
13466 2001-12-13 Juergen Vigna <jug@sad.it>
13468 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13469 actually sometimes the before-paragraph.
13470 (setUndo): don't clear the redostack if we're not actually undoing!
13472 2001-12-06 Juergen Vigna <jug@sad.it>
13474 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13475 and fixed redoing of main paragraph, so we can use it now ;)
13477 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13479 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13481 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13484 2001-12-13 André Pönitz <poenitz@gmx.net>
13487 * undo_func.C: minor cleanup
13489 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13491 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13492 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13493 font in urw-fonts package which is marked as -urw-fontspecific and
13494 does not work (incidentally, changing the encoding in the
13495 fonts.dir of this package to -adobe-fontspecific fixes the
13498 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13499 is a crash when undoing first paragraph (Juergen, please take a
13500 look). THis does not mean the undo fix is wrong, just that it
13503 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13504 the (Paragraph*) version when needed instead of duplicating the
13507 * text.C (workWidth): use Inset::parOwner to find out where the
13508 inset has been inserted. This is a huge performance gain for large
13509 documents with lots of insets. If Inset::parOwner is not set, fall
13510 back on the brute force method
13512 * paragraph_pimpl.C (insertInset):
13513 * paragraph.C (Paragraph):
13514 (cutIntoMinibuffer): set parOwner of insets when
13515 inserting/removing them
13517 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13519 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13525 * mathed/formulabase.C:
13526 * mathed/math_cursor.[Ch]:
13527 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13530 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * lyxlength.[Ch] (operator!=): new function
13534 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13536 * text.C (workWidth): use Inset::parOwner to find out where the
13537 inset has been inserted. This is a huge performance gain for large
13538 documents with lots of insets. If Inset::parOwner is not set, fall
13539 back on the brute force method
13541 * paragraph_pimpl.C (insertInset):
13542 * paragraph.C (Paragraph):
13543 (cutIntoMinibuffer): set parOwner of insets when
13544 inserting/removing them
13546 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13548 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13550 * tabular-old.C (getTokenValue):
13551 * tabular.C (getTokenValue):
13552 (write_attribute): new versions for LyXLength
13553 (everywhere): adjust the use of widths
13555 * tabular.h: change the type of widths from string to LyXLength
13557 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13559 * paragraph.C: fixed missing line number count when exporting
13560 Environments to LaTeX file
13562 * buffer.C: added informational message for checking line numbers.
13564 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13566 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13567 paragraph, do the 'double space' part, but not the 'empty
13570 * text.C (workWidth): small optimization
13571 (getLengthMarkerHeight): use minimal size for negative lengths.
13573 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13575 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13577 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13579 2001-12-11 André Pönitz <poenitz@gmx.net>
13582 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13584 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13586 * text2.C: keep selection on a setFont()
13588 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13590 * lyx_cb.C: another bv->text misuse, from insert label
13592 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13595 * kbsequence.C: re-instate nmodifier mask
13597 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13599 * lyx_main.h: make lyxGUI private.
13601 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13603 * lyxfind.C: place the cursor correctly on failed search
13605 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13607 * text.C (getLengthMarkerHeight): for small heights, the arrows
13608 are not always on top/bottom of the text
13609 (drawLengthMarker): smaller arrows; take the left margin in
13610 account; draw also vfills.
13612 (paintLastRow): remove special code for vfill and standard spaces,
13613 since everything is handled in drawLengthMarker now.
13615 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13617 * buffer.C (insertErtContents): try to handle font and language
13618 interaction a bit better.g
13620 * ColorHandler.C (updateColor): change the hash to cover the whole
13621 LColor enum, ws cleanup
13622 (getGCLinepars): ditto
13623 (getGCLinepars): only lookup in the linecache once.
13625 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13627 * iterators.C (operator++): Make the iterator more robust
13629 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13631 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13633 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13636 * text.C: better added space drawing
13638 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13641 * BufferView2.C: fix layout combo update on inset unlock
13643 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13645 * Makefile.am: don't compile unused files
13647 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13651 * LyXAction.C: remove old LFUN_LAYOUTNO
13653 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13655 * paragraph_pimpl.h:
13656 * paragraph_pimpl.C: isTextAt() doesn't need font param
13658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13661 * lyxlex.C: little cleanup
13663 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13665 * BufferView_pimpl.C: fix insertAscii for insets
13667 2001-12-05 Juergen Vigna <jug@sad.it>
13669 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13670 set the right font on the "multi" paragraph paste!
13672 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13678 * lyxlength.C: remove out-commented code.
13680 * BufferView_pimpl:
13694 * vc-backend.C: change "while(" to "while ("
13696 * lyxlength.[Ch]: add zero function to check if length is zero or
13698 * lyxgluelength.C: use it
13700 2001-12-05 Allan Rae <rae@lyx.org>
13702 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13703 Works for 2.95.3, from what I understand of Garst's reports this should
13704 work for other g++ versions. We're screwed if the abs(int) definition
13705 changed between bugfix releases of gcc.
13707 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13709 * text.C: fix chapter label offset !
13711 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13714 * text.C: fix hfill at end of line, clean up
13716 2001-12-04 Juergen Vigna <jug@sad.it>
13718 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13719 that we force an update of the inset and it's owners if neccessary.
13721 2001-12-03 Juergen Vigna <jug@sad.it>
13723 * text.C (rowLast): simplified code
13725 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13727 * lyxfunc.C: fix show options on timeout
13729 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13731 * screen.C (topCursorVisible): scroll half a page when the cursor
13732 reached top of bottom of screen
13734 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13736 * minibuffer.C: deactivate on loss of focus
13738 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * vspace.[Ch] (operator!=): add operator.
13742 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13744 * BufferView_pimpl.C: refuse to open an inset when
13745 there's a selection.
13747 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13749 * BufferView_pimpl.C: allow to click on RHS of full row insets
13751 2001-11-30 Juergen Vigna <jug@sad.it>
13753 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13754 insets for undo reasons.
13756 2001-11-28 André Pönitz <poenitz@gmx.net>
13758 * vspace.[Ch]: cosmetical changes
13760 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13770 * kbsequence.C: part re-write of old kb code
13773 * WorkArea.C: remove Lgb_bug_find_hack
13775 2001-11-30 José Matos <jamatos@fep.up.pt>
13777 * buffer.C (makeDocBookFile): add a comment to point a hack.
13778 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13779 Fixed a double write of labels.
13781 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13784 * LaTeX.h Fixed bug in LaTeX class where it would not
13785 re-run latex if no depfiles were changed, but the .dvi was removed.
13787 2001-11-28 André Pönitz <poenitz@gmx.net>
13789 * all the files from the change on 2001/11/26:
13790 use lyx::layout_type instead of LyXTextClass::size_type
13791 use lyx::textclass_type instead of LyXTextClassList::size_type
13793 2001-11-29 Juergen Vigna <jug@sad.it>
13795 * text.C: added support for paragraph::isFreeSpacing()
13797 * buffer.C: same as above
13799 * paragraph.h: inserted isFreeSpacing() function to enable
13800 FreeSpacing inside InsetERT.
13802 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13803 of the paragraph's in the cut/copy buffer to 0!
13805 * text2.C (removeRow): remove the assert as it can!
13807 * lyxtext.h: added helper function firstRow returning firstrow and
13808 made firstrow private again.
13810 * BufferView2.C (lockInset): don't relock if we're already locked!
13812 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13813 the only paragraph.
13814 (removeRow): added Assert::(firstrow)
13816 * debug.C: forgot to add INSETTEXT here.
13818 2001-11-28 Juergen Vigna <jug@sad.it>
13820 * sp_spell.C (initialize): changed error text to more general
13821 spellchecker command use (not only ispell!)
13823 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13825 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13827 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13829 * vspace.C: initialise lyxgluelength on failure
13831 2001-11-28 Allan Rae <rae@lyx.org>
13833 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13834 declaration & definition that looks like a function declaration.
13836 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13838 * BufferView2.C (copy):
13839 (copyEnvironment): do not clear the selection when doing a copy.
13841 * text.C (paintFirstRow): compilation fix
13843 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13845 * tabular.C (Latex): correct line count when writing latex.
13847 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13849 * paragraph_pimpl.h:
13850 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13853 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13857 * LColor.C: change vfillline->added_space
13859 * text.C: add markers and text for added space
13861 * vspace.C: fix comment
13863 2001-11-28 André Pönitz <poenitz@gmx.net>
13865 * paragraph.C: whitespace changes
13866 * all the other files from the change on 2001/11/26:
13867 change *::pos_type into lyx::pos_type
13869 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13871 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13872 language of the document when inserting error insets.
13874 2001-11-26 André Pönitz <poenitz@gmx.net>
13876 * BufferView_pimpl.[Ch]:
13884 * paragraph_pimpl.[Ch]:
13887 * text2.C: reduce header dependencies, introduce type for positions
13889 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13891 * <various>: change to use Alert.h
13893 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13895 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13896 when encountering an unknown token.
13897 (readLyXformat2): Show an error message if there were unknown tokens.
13899 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13902 * BufferView_pimpl.C:
13906 * text2.C: use par->isInset()
13908 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13910 * paragraph_pimpl.h:
13911 * paragraph_pimpl.C: cleanup
13913 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13915 * text2.C (removeRow):
13916 * text.C (setHeightOfRow): remove useless (and costly) call to
13919 2001-11-20 Allan Rae <rae@lyx.org>
13921 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13922 Now need Inset*::checkInsertChar() to return true for appropriate
13923 cases so that the characters in the minibuffer will actually be
13926 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13928 * text.C: change the order of the includes.
13929 (workWidth): initialize it at once.
13930 (workWidth): make maxw unsigned
13931 (setHeightOfRow): remove unused variable (inset)
13932 (selectSelectedWord): remove unused variable (inset)
13933 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13935 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13938 server is not running.
13940 (closeConnection): add debug info when server is disabled.
13942 * ColorHandler.C (getGCForeground): send debug message to GUI
13945 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13947 * kbmap.C (bind): modify because return conventions of
13948 kb_sequence::parse have changed.
13950 * kbsequence.C (parse): only ignore spaces and not any stupid
13951 control character. This avoids tests like s[i] <= ' ', which are
13952 guaranteed to fail with 8bit characters and signed chars.
13953 Change return code to string::npos when there have been no error
13954 (0 was a bad idea when error is at first character)
13956 2001-11-14 José Matos <jamatos@fep.up.pt>
13959 * buffer.C (simpleDocBookOnePar): removed unused argument.
13961 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13963 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13964 insets which are part of a word. Paragraph::isLetter takes care of
13965 that now. Use Paragraph::isInset to identify insets.
13966 (selectSelectedWord): do not test for hyphenation break.
13968 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13969 that protected spaces are considered as spaces.
13971 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13974 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13977 * lyxserver.C: fix it. and small cleanup.
13979 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13981 * BufferView_pimpl.C: use inline helpers
13984 * LaTeXFeatures.C: fix typos
13987 * Spacing.C: move spacing_string into class
13989 * ToolbarDefaults.C: move stuff into namespace anon
13991 * layout.h: update enum
13993 * lyxfunc.C: use better debug
13995 * minibuffer.h: fix typo
13999 * WorkArea.C: add and use Debug::WORKAREA
14003 * text2.C: code re-organisation, inline helpers
14005 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14007 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14008 std::vector.empty().
14010 2001-11-09 Allan Rae <rae@lyx.org>
14012 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14013 '\n's after tables. Tabular and ERT inset work now makes this no
14016 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14019 * minibuffer.C: fix crash, improve drop-down completion
14021 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14024 * lyxserver.C: invalidate fd's when doing endPipe()
14026 2001-11-08 José Matos <jamatos@fep.up.pt>
14028 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14029 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14032 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14034 2001-11-07 José Matos <jamatos@fep.up.pt>
14037 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14040 * buffer.C (sgmlOpenTag):
14041 * buffer.C (sgmlCloseTag): removed debug info.
14043 * buffer.h (sgmlOpenTag):
14044 * buffer.h (sgmlCloseTag): made public.
14046 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14048 * buffer.C (saveParamsAsDefaults):
14049 * lyx_cb.C (MenuLayoutSave): remove
14051 * LyXAction.C (init):
14053 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14055 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14057 * buffer.C (setPaperStuff): removed from here...
14059 * bufferparams.C (setPaperStuff): ... and moved there.
14061 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14065 * XFormsView.C: add support for drop-down completion
14067 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14069 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14072 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14074 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14077 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14079 * lyx_main.C: change ref to known bugs
14081 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14083 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14084 to work around older babel problems.
14086 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14088 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14090 2001-10-24 Juergen Vigna <jug@sad.it>
14092 * tabular-old.C (ReadOld): below variable changes reflected.
14094 * tabular.[Ch]: added ltType struct for longtable header/footer
14095 defines and changed all instances where they are used. Added
14096 future support for double top/bottom rows.
14098 2001-10-24 José Matos <jamatos@fep.up.pt>
14100 * buffer.h (docbookHandleCaption):
14101 * buffer.C (docbookHandleCaption): removed unused function.
14102 (makeDocBookFile): moved docbook supported version to v4.1.
14104 2001-10-24 José Matos <jamatos@fep.up.pt>
14107 * tabular.C (docbookRow): new function to export docbook code of a row.
14108 (DocBook): now honors the longtable flags.
14110 2001-10-23 José Matos <jamatos@fep.up.pt>
14113 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14114 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14116 * buffer.C (makeLinuxDocFile):
14117 (makeDocBookFile): reworked the preamble, more clean, and with
14118 support for lyx defined entities. Changed the document declaration
14119 to be more XML friendly.
14121 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14122 if we need to output XML that should be done with a filter.
14124 2001-10-22 Juergen Vigna <jug@sad.it>
14126 * sp_pspell.h (class PSpell): add alive function needed in the
14127 controller to see if the spellchecker could be started.
14129 2001-10-22 Juergen Vigna <jug@sad.it>
14131 * buffer.C (insertStringAsLines): modify the font for inserting
14132 chars in certain conditions by calling checkInsertChar(font).
14134 2001-10-19 Juergen Vigna <jug@sad.it>
14136 * text.C (workWidth): use getRow instead of wrong algorithm.
14137 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14139 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14144 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14146 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * text.C (workWidth): do not search for the exact row when
14149 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14150 optimization for big documents.
14152 2001-10-18 Juergen Vigna <jug@sad.it>
14154 * text.C (workWidth): new function with added Inset * parameter.
14156 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14158 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14160 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14161 change return type of getColumnNearX.
14164 * text.C (changeRegionCase): use uppercase/lowercase instead of
14167 (rightMargin): simplify code by factoring out the uses of
14172 (appendParagraph): use Paragraph::size_type
14174 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14176 * vspace.C (asLatexString): add a missing break
14178 2001-10-15 Herbert Voss <voss@perce.de>
14180 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14182 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14184 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14187 2001-10-10 André Pönitz <poenitz@gmx.net>
14189 * lyxfunc.C: removed greek_kb_flag.
14191 2001-10-10 Herbert Voss <voss@perce.de>
14193 * lyx_main.C: delete global string help_lyxdir.
14195 2001-10-09 Herbert Voss <voss@perce.de>
14197 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14199 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14201 * lyx_main.C: added global string help_lyxdir.
14203 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14205 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14207 * lyxrc.C (set_font_norm_type): support iso8859-4
14209 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14211 * LaTeX.C (deplog): add another regex for MikTeX
14213 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14215 * lyxrc.C (set_font_norm_type): support iso8859-3
14217 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14219 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14221 * LaTeXFeatures.C: remove special case of french and index
14223 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14224 before \begin{document}). This solves several incompatibilities.
14226 2001-10-03 Garst Reese <reese@isn.net>
14228 * lyx_cb.C: change CheckTex error msg.
14230 2001-10-03 José Matos <jamatos@fep.up.pt>
14232 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14234 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14236 * .cvsignore: update
14238 * lyx_main.C (commandLineVersionInfo): use new style version info.
14240 * buffer.C (writeFile):
14242 (makeLinuxDocFile):
14243 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14245 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14247 * version.h: update to use stuff in version.C
14249 * version.C.in: new file. Contains version information determined
14250 at compile time. This is a merging of version.h and
14253 2001-10-03 Juergen Vigna <jug@sad.it>
14255 * BufferView_pimpl.C (update): don't change "dirty" status in
14258 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14260 * WorkArea.C (c-tor): re-position version string slightly.
14262 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14264 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14265 revert to previous code.
14267 WorkArea.[Ch]: (show, destroySplash): methods removed.
14269 WorkArea.C: rework code so that it's an amalgam of the codes before and
14270 after the splash screen was moved to WorkArea.
14272 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14275 * vspace.C (inPixels):
14278 * buffer.C (insertStringAsLines):
14279 (asciiParagraph): fix types to be large enough
14281 * lyxlex_pimpl.h: change member status from short to int
14283 * layout.h: fix type of endlabeltype
14286 * kbsequence.C (parse): change return type to string::size_type
14288 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14291 * Bullet.C (bulletSize):
14292 (bulletEntry): do not use short ints as parameters
14294 * BufferView2.C (insertLyXFile): change a char to an int.
14296 * WorkArea.C (WorkArea): remove unneeded floats in computation
14298 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14300 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14302 * paragraph.C (asString): Do not ignore newline/hfill chars when
14303 copying to the clipboard.
14305 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14307 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14308 after a multi-line inset.
14310 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14312 * paragraph.C (validate): Set NeedLyXFootnoteCode
14314 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14316 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14317 and decrease-error to decrease.
14319 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14321 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14322 it more readable (should be equivalent)
14324 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14326 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14328 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14330 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14331 of a cursor (row, etc.) after a character has been deleted
14332 (deleteEmptyParagraphMechanism): call the method above on _all_
14333 cursors held by the LyXText when a double space has been
14336 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14338 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14340 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14342 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14343 background. Use greyOut() and the new show() methods to toggle between
14344 the foreground and background. Add code to remove the splash after
14345 its initial showing.
14347 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14348 (create_forms): no longer call Dialogs::showSplash.
14350 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14352 * .cvsignore: add version_info.h
14354 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14356 * version_info.h.in: new file
14358 * Makefile.am: add version_info.h.in
14360 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14361 version_info.h instead of VERSION_INFO
14363 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14365 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14366 The ERT inset now returns string().
14368 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14370 * lyxtext.h, text.C (selectNextWord): renamed as
14371 selectNextWordToSpellcheck.
14373 * text.C (selectNextWordToSpellcheck): Modified to not select
14374 words inside an ERT inset.
14376 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14378 * lyx_cb.C (MenuLayoutSave): change a bit the question
14380 * sp_base.h: include <sys/types.h>
14382 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14384 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14386 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14388 * several files: fix typos in user-visible strings
14390 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14392 * text2.C (pasteSelection): do not set the selection, since it
14393 will be cleared later. Actually, the intent was to fix the way the
14394 selection was set, but I figured rmoving the code was just as good.
14396 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14398 * FontLoader.C (available): Check if font is available without
14401 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14403 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14405 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14407 * lyxrc.[Ch]: added display_graphics variable and associated code.
14409 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14411 * bufferparams.C (hasClassDefaults): new method. Returns true if
14412 the buffer parameters correspond to known class defaults
14414 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14416 * XFormsView.C (show): set minimum size to the main window.
14418 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14420 * text2.C (copySelection):
14422 * lyxfind.C (LyXReplace):
14423 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14424 LyXText::selectionAsString.
14426 * paragraph.C (asString): add "label" argument to the second form
14428 * text2.C (selectionAsString): add "label" argument and pass it to
14429 Paragraph::asString.
14431 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * lyx_main.C (commandLineHelp): remove version information
14435 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14437 * lyx_main.C: add -version commandline option
14439 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14441 * paragraph.h: make the optional constructor arg required instead.
14442 some modifications to other files because of this.
14444 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14446 * lyxserver.C (C_LyXComm_callback): make it static
14448 * lyx_main.C (error_handler): make it static
14450 * lyx_gui.C (LyX_XErrHandler): make it static
14452 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14454 * WorkArea.C: make the extern "C" methods static.
14456 * Makefile.am (lyx_LDADD): simplify
14458 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14460 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14461 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14463 * LyXAction.C (init):
14464 * lyxfunc.C (dispatch): associated code removal.
14466 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14468 * lyxfont.h (isSymbolFont): shut off warning
14470 * text.C (setHeightOfRow):
14471 (getVisibleRow): fix crash with empty paragraphs which have a
14474 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14476 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14479 2001-09-04 José Matos <jamatos@fep.up.pt>
14482 * tabular.C (docbook): rename docBook method to docbook.
14484 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14486 * Makefile.am: add dependencies to main.o.
14488 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14490 * FontLoader.C (available): Return false if !lyxrc.use_gui
14492 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14494 * FontInfo.C (query):
14495 * converter.C (view):
14496 * importer.C (Import):
14497 * exporter.C (Export): Can not -> cannot.
14499 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14501 * BufferView_pimpl.C: allow to create index inset even if
14504 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14506 * buffer.C (getLists): replace boost::tie code with an explicit pair
14507 as boost::tie can break some compilers.
14509 * iterators.h: Added a std:: declaration to the return type of
14512 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14514 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14517 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14519 * iterators.[Ch]: New files. Provide paragraph iterators.
14521 * buffer.C (changeLanguage): Use paragraph iterators.
14522 (isMultiLingual): ditto
14524 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14526 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14528 * FontLoader.C: Support for cmr font.
14530 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14532 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14533 (available): New method.
14535 * FontInfo.C (getFontname): Use scalable fonts even when
14536 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14539 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14541 * converter.C (Formats::view): reverted! Incorrect fix.
14543 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14545 * converter.C (Formats::view): only output the -paper option
14546 if the dvi viewer is xdvi, thereby fixing bug #233429.
14548 2001-08-23 Herbert Voss <voss@perce>
14550 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14552 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14554 * Spacing.h (Spacing): Set space to Default on in the default
14557 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14559 * vc-backend.h (RCS::versionString): add RCS to version
14560 (CVS::versionString): add CVS to version
14562 * vc-backend.C (scanMaster): do not add CVS to version.
14563 (scanMaster): do not add RCS to version
14565 * lyxvc.C (versionString): new method
14567 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14569 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14571 * Spacing.C (set): initialize fval
14573 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14575 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14578 2001-08-16 Juergen Vigna <jug@sad.it>
14580 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14582 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14584 * BufferView_pimpl.C:
14587 * text2.C: setParagraph takes linespacing now
14589 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14591 * LyxAction.C: add internal LFUN_CITATION_INSERT
14593 * LyXView.C: actually apply fix
14595 * bufferlist.C: fix open non-existent file
14597 * lyxfind.C: fix indentation
14599 * lyxfunc.C: remove unneeded assert, fix typo
14601 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14603 * MenuBackend.C: use "Floatname List"
14605 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14607 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14608 when converting LaTeX layout to insetERT.
14609 Generate a non-collapsed float when reading old float
14611 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14613 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14616 2001-08-13 Juergen Vigna <jug@sad.it>
14618 * text.C (fill): return 0 instead of 20 as this seems to be the more
14621 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14623 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14626 2001-08-13 Juergen Vigna <jug@sad.it>
14628 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14630 (SearchBackward): comment out the unlocking of the inset_owner this
14631 should not be needed!
14633 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14635 * Many files: Remove inherit_language, and add latex_language
14637 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14638 collapsible insets.
14640 2001-08-10 Juergen Vigna <jug@sad.it>
14642 * text.C (prepareToPrint): fixed hfill-width in draw!
14644 * BufferView2.C (selectLastWord): save the selection cursor as this
14645 now is cleared in the function LyXText::clearSelection!
14647 2001-08-08 Juergen Vigna <jug@sad.it>
14649 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14650 BACKSPACE type functions.
14652 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14653 is only cutted from the document but not put in the cut-buffer, where
14654 still the old stuff should be.
14656 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14658 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14660 * tabular.C (SetWidthOfCell): fixed special case where the width
14662 (LeftLine): handle '|' in align_special.
14664 (LeftAlreadyDrawed): ditto
14665 (SetWidthOfCell): ditto
14667 2001-08-07 Juergen Vigna <jug@sad.it>
14669 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14671 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14673 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14674 * lyxlex.[hC]: ditto
14676 2001-08-06 Juergen Vigna <jug@sad.it>
14678 * text.C (getVisibleRow): fix up row clearing a bit.
14680 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14682 * minibuffer.C: make sure the X server sees the changes in the input.
14684 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14686 * paragraph.C (getFont): split into...
14687 (getLabelFont): this
14688 (getLayoutFont): and this
14689 * paragraph_pimpl.C (realizeFont): calling this
14691 * text2.C (getFont): split into...
14692 (getLayoutFont): this
14693 (getLabelFont): and this
14694 (realizeFont): all three calling this
14696 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14699 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14701 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14703 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14705 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14706 layouts from the Quote inset insertion.
14708 2001-08-03 Juergen Vigna <jug@sad.it>
14710 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14712 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14713 only if status not is already CHANGED_IN_DRAW (second level).
14715 * text.C (draw): don't set the need_break_row when inside an
14718 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14720 * buffer.C (parseSingleLyXformat2Token): handle more latex
14723 * bufferview_funcs.[hC]: change function names to
14724 begin with small char, adjust other files.
14726 2001-08-02 André Pönitz <poenitz@gmx.net>
14729 BufferView_pimpl.C: remove broken special code for math-greek
14731 2001-08-02 Juergen Vigna <jug@sad.it>
14733 * BufferView_pimpl.C (update): redone this function so that we
14734 update the text again if there was a CHANGE_IN_DRAW.
14736 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14737 (drawFromTo): added a new internal bool which is used by draw() and
14739 (general): some cursor drawing problems fixed.
14741 2001-08-01 Juergen Vigna <jug@sad.it>
14743 * lyxfind.C (LyXFind): fixed
14744 (SearchForward): ditto
14745 (SearchBackward): ditto
14747 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14748 spurius drawing of the cursor in the main area.
14750 * text2.C (status): small fix which could lead to a segfault!
14751 (clearSelection): remove unneeded BufferView param.
14753 2001-08-01 André Pönitz <poenitz@gmx.net>
14755 * lyxfunc.C: small change due to changed mathed interface
14757 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14759 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14761 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14763 * lyxfunc.c: fail gracefully if file doesn't exist
14768 * BufferView_pimpl.C: IsDirWriteable() proto changed
14770 * LyXView.C: fix updateWindowTitle() to store the last title
14772 2001-07-31 Juergen Vigna <jug@sad.it>
14774 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14775 the font (wrong since using of Paragraph::highestFontInRange).
14777 * paragraph.C (highestFontInRange): added a default_size parameter.
14779 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14780 (setHeightOfRow): reformat
14782 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14784 * converter.[hC] + affected files: move to (inital-char)lowercase
14787 * ParagraphParameters.C (ParagraphParameters): remove commented code
14789 * PainterBase.[Ch]: remove commented code
14791 * LaTeXFeatures.h: add "bool floats" for float.sty
14793 * LaTeXFeatures.C (LaTeXFeatures): init floats
14794 (require): handle float
14795 (getPackages): do it with floats
14797 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14799 * BufferView_pimpl.C (Dispatch): improve handling of
14800 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14802 * commandtags.h: #include lyxfont.h here temporarily to avoid
14805 * bufferlist.h: include LString.h here.
14807 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * text2.C (getStringToIndex): new method.
14811 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14813 * *: Reduced header file dependencies all over.
14815 2001-07-30 Baruch Even <baruch@lyx.org>
14817 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14819 2001-07-29 Baruch Even <baruch@lyx.org>
14821 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14823 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14825 * ParameterStruct.h (endif): add a default constructor to make
14826 sure that all variables is initialized.
14828 * ParagraphParameters.C (ParagraphParameters): adjust
14830 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14832 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14833 index; also, check that there is something to index, and that it
14834 does not span over several paragraphs.
14835 (doubleClick): use WHOLE_WORD_STRICT for double click.
14837 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14839 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14842 2001-07-26 Baruch Even <baruch@lyx.org>
14844 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14845 an InsetFig figure, backwards compatible reading of old figure code.
14847 2001-07-27 Juergen Vigna <jug@sad.it>
14849 * text2.C: font.realize function adaption.
14851 * text.C (draw): add a warnings lyxerr text if needed.
14853 * layout.C: font.realize function adaption.
14855 * language.C: add inherit_language and implement it's handlings
14857 * bufferview_funcs.C (StyleReset): remove language parameter from
14858 font creation (should be language_inherit now).
14860 * bufferparams.C (writeFile): handle ignore_language.
14862 * paragraph.C (getFontSettings): the language has to be resolved
14863 otherwise we have problems in LyXFont!
14865 * lyxfont.C (lyxWriteChanges): added document_language parameter
14866 (update): removed unneeded language parameter
14868 * paragraph.C (validate): fixed wrong output of color-package when
14869 using interface colors for certain fonts in certain environments,
14870 which should not seen as that on the final output.
14872 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14874 * BufferView_pimpl.C:
14879 * LyXAction.C: add thesaurus support
14882 * lyxfind.C: add "once" parameter, for thesaurus, to not
14883 move to the next match
14885 2001-07-26 Juergen Vigna <jug@sad.it>
14887 * lyxfont.C (realize): honor ignore_language too!
14890 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14892 * text.C (draw): one place more for ignore_language to not draw
14895 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14897 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14899 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14901 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14902 the minipage conversion problem.
14904 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14906 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14909 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14911 * BufferView.h: don't forward declare WorkArea
14913 * BufferView.C: don't include WorkArea.h
14915 2001-07-25 André Pönitz <poenitz@gmx.net>
14919 * lyxfunc.C: new LFUN 'math-space'
14921 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14923 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14925 * text2.C (toggleInset): call open/close
14927 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14929 * lyxfunc.C (dispatch): add debug for the disabled case
14931 * font.C (buttonText): make similar to rectText
14933 * buffer.C (readInset): comment out parsing of insetlist and
14936 * PainterBase.C (rectText): small correction
14938 * BufferView_pimpl.C: comment out insettheorem and insetlist
14939 * LyXAction.C: ditto
14940 * commandtags.h: ditto
14942 2001-07-24 Juergen Vigna <jug@sad.it>
14944 * text.C (draw): honor the ignore_language.
14946 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14948 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14950 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14953 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14955 * lyxtext.h: remove unused (and unimplemented) methods
14957 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14959 * text.C (getVisibleRow): honor background color
14962 * Painter.h: remove default color argument for fillRectangle
14964 * text.C (backgroundColor): new method
14966 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14968 * text.C (getVisibleRow): adjust
14970 * font.[Ch] (rectText): new method, metrics
14971 (buttonText): new method, metrics
14973 * PainterBase.[hC]: make rectText and buttonText always draw and take
14976 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14978 * ToolbarDefaults.C (read):
14979 * MenuBackend.C (read): allow escaping in all strings
14981 * BufferView_pimpl.C (insertAndEditInset): new method.
14982 (Dispatch): use insertAndEditInset whenever appropriate.
14984 * BufferView_pimpl.C (insertNote): removed
14986 * BufferView_pimpl.C (smartQuote): new method, moved from
14987 BufferView; if an insetquote cannot be inserted, insert a '"'
14990 * BufferView2.C: remove insertCorrectQuote();
14992 * lyxfunc.C (getStatus): Add support for all remaingin
14993 inset-insert lfuns.
14995 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14997 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14998 command (necessary to pass " as parameter of self-insert.
15000 * text.C (selectWordWhenUnderCursor):
15001 (selectWord): add word_location parameter
15002 (selectWordWhenUnderCursor): same + remove special code for word
15004 (selectNextWord): use kind() to guess type of insetspecialchar,
15007 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15008 (insertErtContents): create ert insets as collapsed.
15009 (readInset): better compatibility code for Info inset.
15011 2001-07-20 Juergen Vigna <jug@sad.it>
15013 * lyxfunc.C (dispatch): use always LyXFind now!
15015 * text2.C (init): add a reinit flag so that the LyXText can be
15016 reinited instead of deleted and reallocated (used in InsetText).
15018 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15024 2001-07-18 Juergen Vigna <jug@sad.it>
15026 * text.C (selectNextWord): handle insets inside inset by calling
15027 always the bv->text functions so that we can go up the_locking_inset!
15029 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15030 in strange locations when inside an inset!
15032 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15033 handling to include insets.
15035 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15037 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15039 * LyXAction.C (init):
15041 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15042 LIGATURE_BREAK, since the name is so stupid.
15044 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15046 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15049 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15051 * sp_form.[Ch]: remove.
15053 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15055 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15058 * src/buffer.C (readInset): ditto.
15060 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15062 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15063 menuSeparator(), endOfSentenceDot(), ldots() and
15064 hyphenationPoint(), which are therefore removed.
15065 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15067 * LyXAction.C (init):
15068 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15070 * paragraph.C (getWord): removed.
15072 * BufferView_pimpl.C (Dispatch): use last word or selection for
15073 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15075 * lyx_main.C (queryUserLyXDir): do not ask before creating
15076 user_dir, except if it has been named explicitely.
15078 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15080 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15081 a document of zero size.
15083 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15085 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15086 approriately in the c-tor and in require().
15087 (getPackages): output the appropriate LaTeX for natbib support.
15089 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15090 variables "use_natbib" and "use_numerical_citations" when reading the
15092 (readInset): read the various natbib cite commands.
15093 (validate): white-space change.
15095 * bufferparams.[Ch]: new variables "bool use_natbib" and
15096 "bool use_numerical_citations".
15097 (writeFile): output them in the LyX file.
15099 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15101 * lyxfunc.C (getStatus): add support for all the inset insertion
15104 * text2.C (insertInset):
15105 * paragraph.C (insetAllowed):
15106 * BufferView_pimpl.C (insertInset): update to take in account the
15107 renaming of insertInsetAllowed
15109 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15111 * text2.C (getInset): new method. returns inset at cursor position.
15113 * BufferView_pimpl.C (Dispatch): changes because of this.
15115 * LyXAction.C (init): rename open-stuff to inset-toggle.
15117 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15119 * text2.C (toggleInset): renamed from openStuff; use
15122 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15124 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15126 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15128 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15130 * buffer.C (readLyXformat2): Add filename to the error dialog
15132 2001-07-18 Juergen Vigna <jug@sad.it>
15134 * tabular.C (GetCellNumber): put an assert here instead of the check!
15136 2001-07-17 Juergen Vigna <jug@sad.it>
15138 * BufferView_pimpl.C (toggleSelection): adapted too.
15140 * text.C (selectNextWord): adapted for use with insets.
15141 (selectSelectedWord): ditto
15143 2001-07-17 Juergen Vigna <jug@sad.it>
15145 * sp_spell.C (PSpell): fix initialitation order.
15147 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15149 * paragraph.C: spacing
15151 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15153 * sp_spell.C: repair language selection for pspell
15155 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15157 * lyxfunc.h: change more methods to begin with lower char.
15159 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15161 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15162 for unknown layouts.
15164 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15166 * buffer.C (readLyXformat2): Generate an error dialog if there are
15169 2001-07-16 Juergen Vigna <jug@sad.it>
15171 * sp_spell.C: always compile ISpell part.
15173 * lyxrc.C: added use_pspell entry and it's handling.
15175 2001-07-13 Juergen Vigna <jug@sad.it>
15177 * sp_spell.C: removed double includes.
15179 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15181 Consistent use of Lsstream.h:
15182 * Lsstream.h: added using std::stringstream for consistencies sake.
15184 * buffer.C: removed using std::stringstream
15186 * lyxfont.C (stateText):
15187 * paragraph.C (asString):
15188 * text.C (selectNextWord, selectSelectedWord):
15189 * text2.C (setCounter):
15190 * vspace.C (asString, asLatexString):
15191 std::ostringstream -> ostringstream.
15193 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15195 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15196 * commandtags.h: add LFUN_HELP_ABOUTLYX
15197 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15199 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15201 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15203 * lyx_gui_misc.C: remove spellchecker
15204 * lyxfunc.C: showSpellchecker
15206 * sp_ispell.h: added
15207 * sp_pspell.h: added
15208 * sp_spell.C: added
15209 * sp_form.[Ch]: removed
15210 * spellchecker.[Ch]: removed
15212 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15214 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15216 (simpleTeXSpecialChars): Simply print the input character without
15217 any special translation if pass_thru is set.
15219 * layout.h: Added bool pass_thru to layout class for being able to
15220 implement pass through of a paragraph for Literate Programming.
15222 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15223 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15224 * layout.C (Read): add "passthru" to list of layout tags and add
15225 code to set the pass_thru boolean when it is read.
15227 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15229 * trans_decl.h: remove allowed from KmodInfo
15231 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15232 remove allowed code
15235 * paragraph_pimpl.C (erase): use boost::prior
15237 * Painter.C (text): use data() instead of c_str() when length is
15239 * WorkArea.C (putClipboard): ditto
15240 * font.h (width): ditto
15242 * BufferView2.C: use it-> instead of (*it). for iterators
15244 * paragraph_pimpl.C: ditto
15245 * paragraph.C: ditto
15246 * minibuffer.C: ditto
15247 * language.C: ditto
15249 * encoding.C: ditto
15250 * counters.C: ditto
15251 * converter.C: ditto
15253 * Variables.C: ditto
15254 * TextCache.C: ditto
15255 * MenuBackend.C: ditto
15256 * LyXAction.C: ditto
15258 * FloatList.C: ditto
15259 * DepTable.C: ditto
15260 * ColorHandler.C (LyXColorHandler): ditto
15262 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15266 * text2.C (openStuff): reintroduce this method (which had been
15267 nuked in NEW_INSETS frenzy).
15269 * lyxfunc.C (Dispatch): when an action has not been handled, use
15270 its name in the error message, not its number.
15272 * paragraph.C (inInset): change method name to begin with lowercase.
15275 * text2.C: updates because of this.
15277 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15279 * ToolbarDefaults.C (add): add spaces in error message
15281 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15283 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15284 (readLyXformat2): rename return_par to first_par, use lyxlex's
15285 pushToken and remove the manual push handling.
15286 (parseSingleLyXformat2Token): add another ert comp. variable:
15287 in_tabular, rename return_par to first_par. handle newlines better
15289 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15291 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15293 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15295 * text2.C (getParFromID): removed
15297 * buffer.C (getParFromID): new method moved form lyxtext.
15298 * BufferView2.C (insertErrors): adjust
15299 (setCursorFromRow): adjust
15300 * BufferView_pimpl.C (restorePosition): adjust
15301 * lyxfunc.C (Dispatch): adjust
15302 * undo_funcs.C (textUndo): adjust
15304 (textHandleUndo): adjust
15305 (textHandleUndo): adjust
15307 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * buffer.C: up' the LYX_FORMAT
15311 * lyxfont.h: turn NO_LATEX on as default
15313 * buffer.C (insertErtContents): new methods of tex style compability.
15314 (parseSingleLyXformat2Token): use it several places.
15315 * tabular.C (OldFormatRead): and here
15317 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15319 * text2.C: remove some commented code.
15322 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15323 * trans.C: changes because of the above.
15325 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15327 * text2.C (setCounter): Fix counters bug with bibliography layout.
15329 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15331 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15332 own member functions
15333 (simpleTeXSpecialChars): ditto
15335 2001-07-06 Juergen Vigna <jug@sad.it>
15337 * a lot of files: changed the access to LyXText::status and the
15338 call of undo-functions.
15340 * undo.[Ch]: added a inset_id to the undo informations.
15342 * undo_funcs.[Ch]: added and moved here all undo functions.
15344 * lyxtext.h: give the status enum a weight, made status_ a private
15345 variable and made accessor functions for it, removed the whole bunch
15346 of undo-functions as they are now in their own file, make some
15347 functions publically available. Added function ownerParagraph with
15350 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15351 made InInset() a const function, added getParFromID() function.
15353 * buffer.[Ch]: added const version for inset_iterator functions,
15354 added getInsetFromID() function.
15356 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15357 changed undo functions for new version.
15359 2001-07-05 Juergen Vigna <jug@sad.it>
15361 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15362 unknow mechanism does not call the proper constructor but only this
15363 one also if I request the other!?
15365 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15367 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15369 * text2.C (LyXText): use initialization lists.
15371 * lyxtext.h (Selection): initialize set_ and mark_
15372 (init): remove method
15374 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15376 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15378 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15380 * screen.[Ch]: change method names to begin with lowercase
15382 * BufferView_pimpl.C (updateScrollbar): simplify further and
15383 hopefully make it a bit faster.
15385 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15387 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15388 calling directly xforms functions.
15390 * Painter.C (Painter):
15391 * lyx_cb.C (MenuWrite):
15392 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15395 * lyx_gui.C: remove bogus guiruntime extern declaration.
15397 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15399 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15401 (redoDrawingOfParagraph): ditto
15402 (redoParagraphs): ditto
15403 (cutSelection): don't create a object for CutAndPaste use the
15404 static method directly
15405 (pasteSelection): ditto
15407 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15410 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15412 * modifications to some other files because of this.
15414 * Makefile.am (lyx_SOURCES): add XFormsView
15416 * XFormsView.[Ch]: new files
15418 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15419 the main window. Move the gui dependent stuff to XFormsView
15421 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15423 * tabular.C (GetCellInset): update cur_cell also in the row/col
15424 version of this function.
15426 * lyxfunc.C: no need to include figure_form.h here.
15432 * lyxvc.C: no need to include forms.h here.
15434 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15436 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15438 * lyxfunc.C (Dispatch):
15440 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15441 constructor argument.
15443 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15445 * paragraph.C (Paragraph): dont't clear, and just set layout.
15446 (makeSameLayout): use params's copy contructor.
15448 * ParagraphParameters.[Ch] (makeSame): delete method
15450 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15452 * Variables.[Ch]: fix indentation, rename set to isSet
15454 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15456 * lyxfunc.C (Dispatch): fix typo
15458 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15460 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15463 * bufferlist.C: include assert.h for emergencyWrite().
15465 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15467 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15468 give up at last (bug #425202) !
15470 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15476 * spellchecker.C: strip spellchecker options and bring up
15477 preferences tab instead
15479 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15481 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15482 the istringstream constructor
15484 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15486 * paragraph.C (getLayout): fix return value
15488 * paragraph.h: do not declare getLayout as inline.
15490 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15492 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15494 * lyxcursor.h (operator<): new func
15495 (operator>): new func
15496 (operator>=): new func
15497 (operator<=): new func
15499 * text.C (changeCase): use selection.start and selection.end
15500 (changeRegionCase): require from to be <= to. Require par to be a
15503 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15505 2001-06-27 Juergen Vigna <jug@sad.it>
15507 * text.C (cursorLeftOneWord): changed to return the cursor and added
15508 overlay with BufferView * parameter which calls this one.
15510 (selectWord): use new getWord function.
15511 (changeCase): renamed from changeWordCase as and extended to work
15512 also on selections.
15514 * lyxtext.h: added enum word_location
15516 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15517 changeCase as this operates now also on selections.
15519 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15521 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15523 * many files: send debug output to Debug::INFO instead of
15526 * converter.C (View):
15528 (Move): send debug output to Debug::FILES instead of console.
15530 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15532 * lyxfunc.C (getStatus): use func_status
15534 * func_status.h: new header, describing the results of
15535 LyXFunc::getStatus;
15537 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15540 2001-06-25 The LyX Project <jug@sad.it>
15542 * buffer.C (sgmlOpenTag):
15544 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15546 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15548 * text2.C: remove some dead code
15550 * tabular.C (GetCellInset): store the last cell checked (gotten)
15552 * tabular.h: add the helper for the speedup
15554 * lyxtext.h: remove some dead code
15556 2001-06-26 The LyX Project <Asger>
15558 * paragraph.C: Change export to LaTeX of alignment to
15559 \begin{center} and family for better roundtrip work with reLyX.
15561 * Tune the math drawing a bit.
15563 2001-06-25 The LyX Project <Asger>
15565 * LColor.C (LColor): New color for math background. New color
15568 2001-06-25 The LyX Project <jug@sad.it>
15570 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15572 * lyxfunc.C (Open):
15573 * bufferlist.C (newFile): do not restrict to files ending with
15576 * BufferView_pimpl.C (MenuInsertLyXFile):
15578 2001-06-24 The LyX Project <jug@sad.it>
15580 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15583 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15585 * lyxtext.h: rename most methods to begin with a small char.
15586 Lots of changes because of this.
15588 * paragraph.C (Paragraph): do not call fitToSize
15589 (erase): call Pimpl::erase
15590 (insertChar): call Pimpl::insertChar
15591 (insertInset): call Pipl::insertInset
15592 (breakParagraph): do not call fitToSize
15593 (breakParagraphConservative): do not call fitToSize
15594 (fitToSize): remove method
15596 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15598 2001-06-24 The LyX Project <Asger>
15600 * Fix Qt compilation^2
15602 2001-06-24 The LyX Project <jug@sad.it>
15604 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15605 depthHook(getDepth()-1).
15608 * ParagraphParameters.h:
15609 * ParameterStruct.h: change type of depth to unsigned int ==
15610 depth_type. Many adaptations to other files before of that.
15612 2001-06-24 The LyX Project <Asger>
15614 * Fix Qt compilation.
15616 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15618 * paragraph.h: renamed several methods to begin with small letter.
15619 several changes to many parts of the code because of this.
15621 2001-06-23 The LyX Project <jug@sad.it>
15623 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15624 rewritten to discard all double spaces when KeepEmpty is off
15625 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15626 to only handle newlines but not fiddle with spaces and friends.
15628 * lyxfunc.C (MenuNew): when doing 'new from template', use
15629 template_path as default directory
15631 2001-06-23 The LyX Project <Asger>
15633 * Clean-up of header file includes all over
15634 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15636 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15638 * paragraph.h: renamed from lyxparagraph.h
15640 2001-06-23 Asger <lyx@violet.home.sad.it>
15642 * Buffer.h: Removed Buffer::resize
15643 * BufferList.h: Removed BufferList::resize
15644 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15645 the document lazily when we change the width, or the font settings.
15647 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15649 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15651 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15653 * buffer.h: remove out of date comment
15655 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15658 * screen.C: fix "theoretical" GC leak
15660 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * LaTeX.C (scanAuxFile):
15663 (deplog): remove trailing \r when reading stream (useful under
15666 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15668 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15669 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15670 and BufferView::theLockingInset(Inset*), so should use them and not
15671 access bv_->text->the_locking_inset directly.
15673 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15675 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15678 * tex-defs.h: remove old unused file
15680 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15682 * BufferView_pimpl.C: fix typo, remove minibuffer message
15683 when buffer has loaded
15685 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15687 * lyxfunc.C (Dispatch): use stringstream
15688 (MenuNew): use stringstream
15689 (Open): use stringstream
15691 * importer.C (Import): use stringstream
15693 * bufferview_funcs.C (CurrentState): use stringstream
15695 * LaTeX.C (run): use stringstream
15697 * BufferView_pimpl.C (savePosition): use stringstream
15698 (restorePosition): use stringstream
15699 (MenuInsertLyXFile): use stringstream
15701 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15714 * vspace.C: removed // -*- C++ -*- as first line.
15717 * version.h: added // -*- C++ -*- as first line.
15719 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15721 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15723 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15726 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15728 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15731 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15733 * gettext.C: include LString.h even when --disable-nls is on.
15735 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15737 * converter.h (Get): changed argument type from int to
15738 FormatList::size_type to avoid unnecessary conversion.
15740 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15743 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15745 * gettext.h: include LString.h even when --disable-nls is on.
15747 2001-06-07 Juergen Vigna <jug@sad.it>
15749 * text.C (BreakAgain): subst spaces with tabs.
15751 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15752 (resizeInsetsLyXText): set force on resizeLyXText.
15754 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15756 * gettext.h (gettext_init):
15757 (locale_init): use a real definition instead of a macro
15759 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15761 * Bufferview_pimpl.C:
15763 * LColor.C: further lcolor tidies
15765 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15767 * BufferView_pimpl.C (updateScrollbar): simplify.
15769 * BufferView2.C: don't include insets/insetinfo.h, change
15770 prototype for insertInset and call the Pimpl version. let
15771 updateInset call Pimpl version.
15773 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15774 gotoInset to BufferView::Pimpl
15776 2001-06-01 Juergen Vigna <jug@sad.it>
15778 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15779 inside a LockingInset (is the update needed at all?).
15781 2001-05-31 Juergen Vigna <jug@sad.it>
15783 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15784 here not the old one otherwise how should we compare it afterwards
15787 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15792 * FontInfo.C: bring C functions into global namespace when
15795 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15797 * LString.h: make sure config.h has been loaded before LString.h.
15799 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15800 (one for each char read by EatLine!).
15802 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15805 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15807 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15808 to the same as the par we break from
15810 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15812 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15814 * MenuBackend.C (expand): also create menu entries for wide
15815 versions of the floats.
15817 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15819 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15821 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15822 frontends/Makefile.am
15828 * tabular.C (getTokenValue): add std::
15830 * tabular-old.C (getTokenValue): add std::
15831 (getTokenValue): ditto
15832 (getTokenValue): ditto
15834 * screen.C (ToggleSelection): adjust
15836 * lyxtext.h: put selection cursors inside a Selection struct.
15838 * lyxfunc.C (moveCursorUpdate): adjust
15840 * lyxfont.C (latexWriteStartChanges): add std::
15842 * lyxfind.C: adjust
15844 * font.h: delete with(char const *, LyXFont const &)
15846 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15848 * FontInfo.C (getFontname): add std::
15850 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15851 (workAreaButtonPress): adjust
15852 (tripleClick): adjust
15854 (moveCursorUpdate): adjust
15857 * BufferView2.C (gotoInset): adjust
15859 2001-05-30 Juergen Vigna <jug@sad.it>
15861 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15862 to check pspell I add this as default as I now have new pspell
15863 libraries and they seem to use this.
15865 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15867 * text2.C (CutSelection): make the cursor valid before the call to
15870 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15872 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15873 relied on 0 terminated strings and other horrors. Bug found due to
15874 the new assert in lyxstring!
15876 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15879 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15881 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15884 * lyxfunc.C (processKeySym): change method of getting to the
15887 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15888 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15889 * BufferView_pimpl.[Ch]: here as private methods.
15891 2001-05-28 Juergen Vigna <jug@sad.it>
15893 * text.C (SetHeightOfRow): added the update() call again as it is
15894 needed to initialize inset dimensions!
15896 2001-05-16 Juergen Vigna <jug@sad.it>
15898 * text2.C (SetCharFont): Add new function with BufferView * and
15899 bool toggleall parameters for setting insets internal fonts.
15900 (SetFont): Freeze the undo as we may change fonts in Insets and
15901 all this change should be inside only one Undo!
15903 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15904 setting font's in insets as for them we have the SetFont function!
15906 2001-05-15 Juergen Vigna <jug@sad.it>
15908 * text2.C (ClearSelection): to be sure we REALLY don't have any
15911 * tabular.C (TeXCellPreamble): fixed the left border problem for
15914 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15916 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15919 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15921 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15922 LFUN_BREAKPARAGRAPH.
15924 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15925 help test to "internal only", similar for LFUN_INSERT_URL
15927 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15928 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15929 auto_region_delete and deadkeys.
15931 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15934 * LColor.C: remove some dead entries, tidy a little
15936 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15938 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15940 (Dispatch): implement LFUN_ESCAPE
15942 * commandtags.h: add LFUN_ESCAPE
15944 * LyXAction.C (init): add entry for LFUN_ESCAPE
15946 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15947 Remove commented code.
15948 (insertNote): moved here
15949 (open_new_inset): moved here
15951 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15954 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15956 * kbmap.C (findbinding): clean it up and make it work correctly.
15958 * lyx_main.C (init): do not pass argc and argv as parameters
15960 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15962 * buffer.C: fix path for OS/2 & Win32
15966 * lyx_main.C: Added os:: class.
15968 * os2_defines.h: update
15970 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15972 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15973 better by trying again with reduced state.
15975 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15977 * lyxrc.C (read): print error about invalid key sequence only when
15978 debugging (because not all latinX keysyms are known to some X
15981 * kbsequence.C (getiso): add a few std:: qualifiers
15982 (getiso): comment out extra return statement.
15984 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15986 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15988 (Dispatch): enhance the accent inset a bit. (not perfect)
15990 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15992 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15994 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15996 * bufferlist.C (emergencyWrite): fix assert() call
15998 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16000 * text.C (InsertChar): Added trivial patch to only send the "you
16001 can not do multiple spaces this way" message once during a
16004 2001-05-08 Baruch Even <baruch@lyx.org>
16006 * Makefile.am: Changed order of libraries to get LyX to link properly
16007 with the gnome frontend.
16009 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16011 * LaTeXFeatures.h: add a std:: qualifier
16013 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16015 * paragraph.C (String): use stringstream
16017 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16019 * paragraph.C (writeFile): remove footflag arg
16021 * buffer.C (makeLaTeXFile): use stringstream
16022 (latexParagraphs): remove footnot gurba
16024 * LaTeXFeatures.C (getPackages): use stringstream
16025 (getMacros): likewise
16026 (getTClassPreamble): likewise
16027 (getFloatDefinitions): new method
16029 * paragraph.C (writeFile): reindent
16032 * WorkArea.h: revert the xpos + etc changes.
16034 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16036 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16038 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16039 (pasteSelection): likewise
16040 * text2.C (CreateUndo): likewise
16042 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16044 * minibuffer.C (peek_event): temporarily reduce the functionality
16045 of the minibuffer (to allow args on lfuns)
16047 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16048 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16050 * buffer.C (readInset): add compability reading of old float
16051 lists, add reading of new style float list.
16052 (readInset): avoid reevaluation of inscmd.getCmdName()
16053 (getLists): reindent
16055 * MenuBackend.C (MenuItem): implement parsing of
16056 md_floatlistinsert and md_floatinsert.
16057 (expand::LastFiles): move initalizaton of iterators out of loop,
16058 avoid reevaluation.
16059 (expand::Documents): introduce typdedef vector<string> Strings,
16061 (expand::ExportFormats): introduce typedef vector<Format const *>
16062 Formats, and use it.
16063 (expand): implement FloatListInsert and FloatInsert.
16065 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16066 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16067 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16069 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16071 (Dispatch::LFUN_FLOAT_LIST): implement
16073 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16075 * LaTeX.C (run): Fix problem with --export code.
16077 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16079 * BufferView.[Ch] (workarea): removed.
16080 (getClipboard) new method; wrapper for workarea()->getClipboard()
16082 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16085 * WorkArea.h (width, height, xpos, ypos): These methods all
16086 returned the dimensions of the work_area sub-area of WorkArea,
16087 resulting in a position error if the WorkArea were resized. Now
16088 return the dimensions of the entire WorkArea.
16090 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16092 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16094 * LaTeX.C (deplog): correct the syntax of regex reg1
16096 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16098 * undo.C: remove !NEW_INSETS cruft
16100 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16102 * text2.C: remove !NEW_INSETS cruft
16104 * text.C: remove !NEW_INSETS cruft
16106 * tabular.C: remove !NEW_INSETS cruft
16108 * spellchecker.C: remove !NEW_INSETS cruft
16110 * lyxtext.h: remove !NEW_INSETS cruft
16112 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16114 * lyxfunc.C: remove !NEW_INSETS cruft
16116 * lyxfind.C: remove !NEW_INSETS cruft
16118 * lyx_cb.C: remove !NEW_INSETS cruft
16120 * figureForm.C: remove !NEW_INSETS cruft
16122 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16124 * buffer.[Ch]: remove !NEW_INSETS cruft
16126 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16128 * CutAndPaste.C: remove !NEW_INSETS cruft
16130 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16132 * BufferView2.C: remove !NEW_INSETS cruft
16134 * BufferView.h: remove !NEW_INSETS cruft
16136 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16138 * Lsstream.h: include LString.h before the sstream headers to
16139 fix problem with gcc 2.95.3 and lyxstring
16141 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16143 * lyx_main.C: add using directives when needed for C functions
16144 declared in std:: namespace.
16146 2001-04-27 Juergen Vigna <jug@sad.it>
16148 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16149 (SetHeightOfRow): comment out the update call should not be needed!
16151 2001-04-13 Juergen Vigna <jug@sad.it>
16153 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16154 (LyXTabular): tried to minimize operator= operations (and realized
16155 hopfully Lars wish).
16157 2001-04-27 Juergen Vigna <jug@sad.it>
16159 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16161 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16163 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16165 * buffer.C (readInset): hack to make listof algorithm work
16167 * BufferView_pimpl.C: hack to make listof algorithm work
16169 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16171 * LyXAction.C: removed all !NEW_INSETS cruft
16172 (init): moved lfun_item in method
16174 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16176 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16178 * BufferView2.C (theLockingInset): white space.
16180 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16182 * minibuffer.C: include <iostream>
16184 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16186 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16188 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16190 * text.[Ch] (TransposeChars): new method
16192 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16194 * call message directly through LyXView instead of through LyXFunc
16195 * BufferView2.C: adjust
16196 * BufferView_pimpl.C: adjust
16197 * FontLoader.C: adjust
16199 * bufferview_funcs.C: adjust
16200 * converter.C: adjust
16201 * figureForm.C: adjust
16202 * importer.C: adjust
16204 * lyx_gui_misc.C: adjust
16205 * lyxfunc.C: adjust
16208 + more files in subdirs
16210 * lyxparagraph.h (size): move up int file
16213 * adjust all uses of Assert to lyx::Assert.
16215 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16216 lyxfunctional in namespace lyx
16217 * layout.C (hasLayout): ditto
16220 (delete_layout): ditto
16221 (NumberOfClass): ditto
16222 * converter.C (GetFormat): ditto
16227 * bufferlist.C (getFileNames): ditto
16228 (emergencyWriteAll): ditto
16231 * MenuBackend.C (hasSubmenu): ditto
16234 * BufferView_pimpl.C (getInsetByCode): ditto
16236 2001-04-18 Juergen Vigna <jug@sad.it>
16238 * vspace.C (asLatexString): fixed the 100% problem.
16240 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16242 * lyxfunc.C (Dispatch):
16244 * minibuffer.h: add a few std:: qualifiers
16246 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * minibuffer.[Ch]: reimplement so that commands is initiated and
16249 run from lyxfunc, simplified som handling, and made the completion
16250 and history code for complete. wip.
16252 * lyxfunc.C (processKeySym): call message
16253 (miniDispatch): new temporary method
16254 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16255 (LFUN_MESSAGE): implement
16256 (LFUN_MESSAGE_PUSH): implement
16257 (LFUN_MESSAGE_POP): implement
16258 (initMiniBuffer): the initial/defualt minibuffer message.
16260 * lyxfont.[Ch]: inline some more getters
16262 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16264 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16266 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16267 (AutoSave): use LFUN_MESSAGE
16268 (Reconfigure): ditto
16270 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16272 * figureForm.C: use LFUN_MESSAGE
16274 * converter.C (runLaTeX): use LFUN_MESSAGE
16276 * bufferview_funcs.C: use LFUN_MESSAGE
16278 (changeDepth): ditto
16280 * bufferparams.h: use boost::
16282 * bufferlist.h: inherit privately from noncopyable
16284 * bufferlist.C (loadLyXFile): remove some commented code.
16286 * buffer.C (runChktex): use LFUN_MESSAGE
16288 * ShareContainer.h: inherit privately from noncopyable
16290 * ParagraphParameters.[hC] (depth): inline it.
16292 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16294 (message): new method
16295 (messagePush): ditto
16296 (messagePop): ditto
16297 (show): init minibuffer
16298 (showState): direct call
16300 * LaTeX.[Ch]: inherit privately from noncopyable
16301 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16302 instead of WriteStatus.
16304 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16306 * BufferView_pimpl.C (buffer): don't init minibuffer
16307 (workAreaButtonPress): use LFUN_MESSAGE
16308 (workAreaButtonRelease): ditto
16309 (savePosition): ditto
16310 (restorePosition): ditto
16311 (MenuInsertLyXFile): ditto
16312 (workAreaExpose): don't init minibuffer
16313 (update): remove commented code, simplify
16315 * BufferView2.C (openStuff): use LFUN_MESSAGE
16316 (toggleFloat): ditto
16319 (copyEnvironment): ditto
16320 (pasteEnvironment): ditto
16325 (updateInset): remove some commented code
16327 * lastfiles.h: inherit privately from noncopyable
16330 * lyx_main.h: ditto
16332 * lyxlex_pimpl.h: ditto
16334 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16335 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16336 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16338 * LyXAction.h: inherit privately from noncopyable, add methods
16339 func_begin, func_end, returning iterators to the func map.
16341 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16342 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16343 (func_begin): new method
16344 (func_end): new method
16346 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16348 (copySelection): ditto
16349 (pasteSelection): ditto
16351 * BufferView.C: whitespace change
16352 * BufferView.h: inherit privately from noncopyable
16354 2001-04-16 Allan Rae <rae@lyx.org>
16356 * tabular-old.C (l_getline):
16357 * spellchecker.C (sc_check_word):
16358 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16359 an unrecognised preprocessor directive. So ensure they're wrapped.
16361 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16363 * src/exporter.C (Export): Give an error message when path to file
16366 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16368 * LaTeX.C (deplog): Always check that foundfile exists.
16370 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16373 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16375 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16377 * tabular.[Ch] (getLabelList): implement new method
16379 * minibuffer.h: comment ouf setTiimer
16381 * minibuffer.C (ExecutingCB): constify res
16382 (peek_event): constify s
16383 (Set): constify ntext
16384 (Init): constify nicename
16386 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16388 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16389 (savePosition): use two params to Minibuffer::Set
16390 (restorePosition): ditto
16392 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16394 * lyx_main.C: include language.h
16396 * Makefile.am (lyx_main.o): add language.h
16398 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16404 * CutAndPaste.C: include gettext.h
16406 * lyxfont.h: remove old hack with ON and OFF.
16409 * lyxfont.h: do not include language.h...
16414 * bufferview_funcs.C:
16420 * paragraph.C: ... but do it here instead
16422 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16424 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16426 * tabular.C: small reformat
16428 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16431 (BreakParagraph): ditto
16432 (SetOnlyLayout): ditto
16435 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16438 * lastfiles.C: removed most using decl, add std:: where needed
16440 * buffer.C: ws changes
16442 * MenuBackend.C (class compare_format): put into anon namespace
16443 (expand): constify label, names, action, action2
16446 * text.C (SingleWidth): constify font
16447 (IsBoundary): constify rtl2
16448 (GetVisibleRow): constify ww
16450 * LaTeX.C (deplog): constify logfile
16452 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16454 (workAreaExpose): constify widthChange, heightChange
16456 * lyxrow.C (par): moved
16459 * lyxrow.h: as inlines here
16461 * lyxfont.h (shape): moved from lyxfont.C
16462 (emph): moved from lyxfont.C
16464 * lyxfont.C (LyXFont): use initialization list for all
16466 (shape): move to lyxfont.h as inline
16467 (emph): move to lyxfont.h as inline
16470 2001-04-04 Juergen Vigna <jug@sad.it>
16472 * vspace.C: had to include stdio.h for use of sscanf
16474 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16477 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16478 independent of xforms.
16480 2001-04-02 Juergen Vigna <jug@sad.it>
16482 * spellchecker.C: fixed namespace placing!
16484 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16486 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16487 the LyXParagraph * is 0.
16489 2001-03-29 Juergen Vigna <jug@sad.it>
16491 * vspace.C: added support for %, c%, p%, l%.
16492 (stringFromUnit): added helper function.
16493 (asLatexString): changed to give right results for the %-values.
16495 * buffer.C: convert the widthp in a width%.
16497 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16499 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16502 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16503 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16505 * lyx_cb.[Ch]: see above.
16507 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16511 * lyx.[Ch]: replaced by figure_form.[Ch].
16515 * lyxfunc.C: changed headers associated with above changes.
16517 2001-03-27 Juergen Vigna <jug@sad.it>
16519 * BufferView_pimpl.C: set the temporary cursor right!
16521 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16523 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16525 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16527 * LString.h: removed "using std::getline"!
16529 * BufferView_pimpl.C (Dispatch): changes due to changes in
16530 InsetInclude::Params.
16532 * buffer.C (tag_name): removed redundant break statements as they were
16533 producing lots of warnings with my compiler.
16535 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16537 * LString.h: add "using std::getline" when using the real <string>.
16539 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16541 * buffer.C: removed bitset usage.
16542 PAR_TAG moved to an anonymous name space.
16543 (tag_name): new funtion, also in the anonymous namespace.
16544 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16545 (makeDocBookFile): clean code. Completed transition from string arrays
16547 (SimpleDocBookOnePar): code clean.
16549 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16551 * tabular.C: add some comments.
16553 2001-03-22 Juergen Vigna <jug@sad.it>
16555 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16556 compatibility read a bit and fixed bug with minipage in different
16559 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16561 * buffer.C (pop_tag): removed.
16562 (push_tag): removed.
16563 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16564 array replaced with vector. Added support for CDATA sections.
16565 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16567 (makeDocBookFile): XML conformant declaration of CDATA section,
16568 fixed bug related to <emphasis> in the first paragraph char.
16569 (sgmlOpenTag): exclude empty tags.
16570 (sgmlCloseTag): ditto.
16572 * buffer.h (pop_tag): removed.
16573 (push_tag): removed.
16575 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16577 * language.h (Languages): added size_type and size().
16579 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16581 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16582 response on compability reading of minipages. One probliem is that
16583 the old usage of minipages was «flertydig»
16585 * several files here and in subdirs: don't use static at file
16586 scope use anon namespaces instead.
16588 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16590 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16591 LaTeX output. This is necessary for Literate document
16594 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16596 * buffer.C: insert hfill when needed.
16598 * tabular.C (l_getline): use string::erase, small whitespace change.
16600 * BufferView_pimpl.C: try the anon namespace.
16601 * WorkArea.C: ditto
16603 2001-03-16 Juergen Vigna <jug@sad.it>
16605 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16606 otherwise it won't open options-dialogs.
16608 * buffer.C: honor pextraWidth(p) on converting minipages.
16610 * tabular.C (l_getline): changed the functions to strip trailing \r.
16612 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16614 * BufferView_pimpl.C:
16615 * minibuffer..C: added "using SigC::slot" declaration.
16617 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16619 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16625 * paragraph.C: ditto
16627 * lyxtext.h: NO_PEXTRA
16629 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16631 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16632 * ParameterStruct.h: ditto
16633 * ParagraphParameters.h: ditto
16634 * lyxparagraph.h: ditto
16636 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16638 * buffer.C: add compability for minipage alignment.
16639 (latexParagraphs): remove unwanted pextra check.
16641 * several files: remove CXX_WORKING_NAMESPACES
16643 * buffer.C (pop_tag): tie is in namespace boost
16645 * BufferView.h: noncopyable is in namespace boost
16647 * lyx_main.h: ditto
16650 * lastfiles.h: ditto
16651 * bufferlist.h: ditto
16652 * ShareContainer.h: ditto
16654 * LyXAction.h: ditto
16657 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16659 * Merging changes from BRANCH_MVC back into HEAD.
16661 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16663 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16665 * BufferView_pimpl.C: change from intl.C
16669 * Makefile.am: move combox.*
16675 * intl.C: remove dialog (covered by prefs)
16677 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16679 * lyxfunc.C (Dispatch): removed redundant break statement.
16681 2001-03-14 Juergen Vigna <jug@sad.it>
16683 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16685 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16687 * buffer.C: add hack to fix compability reading of minipages.
16689 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16691 * buffer.C (getLists): Cleanup.
16693 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16695 * lyxfont.C (update): don't honor toggleall on font size.
16697 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16701 * Makefile.am: moved to frontends/xforms/
16705 * BufferView_pimpl.C: changes for moved mathpanel
16707 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16709 * gettext.h: fix gettext_init() in --disable-nls
16711 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16713 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16715 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16718 * lyx.h: strip external form
16720 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16722 * BufferView_pimpl.C: add comment, destroySplash()
16724 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16726 * BufferView_pimpl.C:
16730 * lyxfunc.C: use re-worked insetinclude
16732 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16734 * buffer.C: add using std::stringstream.
16736 * lyx_cb.C: readd using std::ios.
16738 * buffer.C: add using std::map.
16740 * BufferView_pimpl.C: add using std::vector.
16742 * ShareContainer.h: add std:: to swap.
16744 * buffer.h: add some typedefs
16745 * buffer.C (getLists): use them
16746 (getLists): renamed from getTocList.
16747 add a counter for the different float types and use it in the
16749 (getLists): use the same counter for the NEW_INSETS and the "non"
16752 * lyx_cb.h: remove unused items, includes, using etc.
16754 * ShareContainer.h: remove some commented code, add more comments
16755 and "documentation".
16757 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16759 * buffer.C (getTocList): make the list also when NEW_INSETS is
16762 * buffer.h: remove TocType
16764 * buffer.C (getTocList): change to return a map<string,
16765 vector<TocItem> >, implement for dynamic number of list.
16767 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16768 * text2.C (PasteSelection): adjust
16769 * CutAndPaste.C (pasteSelection): adjust
16771 * FloatList.C (FloatList): update from the new_insets branch.
16772 * Floating.[Ch]: ditto
16773 * LaTeXFeatures.C: ditto
16775 * lyxlex_pimpl.C: ditto
16777 * paragraph.C (Last): remove when NEW_INSETS is defined.
16779 * other file: changes because of the above.
16781 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16783 * lyxparagraph.h: rename next to next_, previous to previous_,
16784 make them private for NEW_INSETS. Rename Next() to next(),
16785 Previous() to previous().
16787 * other files: changes because of the above.
16789 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16792 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16795 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16797 * main.C (main): pass lyx_localedir to gettext_init().
16799 * gettext.h: remove locale_init and gettext_init macros
16801 * gettext.C (locale_init): new function
16802 (gettext_init): new function
16804 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16807 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16809 * Moved credits to frontends:
16810 * credits.[Ch]: removed
16811 * credits_form.[Ch]: removed
16812 * lyx_gui_misc.C: remove credits stuff
16815 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16817 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16819 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16820 unneeded destructor.
16822 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16823 a standalone pointer again.
16825 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16827 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16833 * ToolbarDefaults.C:
16842 * BufferView_pimpl.C: use new file dialog in GUII
16845 * lyx_cb.C: remove LayoutsCB to Toolbar
16847 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16849 * ShareContainer.h (get): add std:: qualifier
16851 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16853 * ShareContainer.h: define a proper ShareContainer::value_type
16854 type (and use typename to please compaq cxx)
16856 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16858 * lyxparagraph.h: move serveral local vars to
16859 ParameterStruct/ParagraphParameters., use ShareContainer in
16860 FontTable., make vars in FontTable private and add getter and
16863 * paragraph.C: changes because of the above.
16865 * lyxfont.h: remove copy constructor and copy assignment. (the
16866 default ones is ok), move number inside FontBits. move inlines to
16869 * lyxfont.C: add number to initializaton of statics, move several
16870 inlines here. constify several local vars. some whitespace
16871 cleanup. Dont hide outerscope variables.
16873 * Spacing.h: add two new constructors to match the set methods.
16875 * ShareContainer.h: new file, will perhaps be moved to support
16877 * ParameterStruct.h: new file
16879 * ParagraphParameters.h: new file
16881 * ParagraphParameters.C: new file
16883 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16884 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16886 * BufferView_pimpl.C: ParagraphParameter changes.
16887 * buffer.C: Likewise.
16888 * bufferview_funcs.C: Likewise.
16889 * text.C: Likewise.
16890 * text2.C: Likewise.
16892 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16894 * lyxfind.C (LyXReplace): do not redefine default argument in
16896 (IsStringInText): ditto
16897 (SearchForward): ditto
16898 (SearchBackward): ditto
16900 2001-03-06 Juergen Vigna <jug@sad.it>
16902 * lyxfind.C (IsStringInText): put parentes around expressions.
16904 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16906 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16908 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16910 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16912 * stl_string_fwd.h: add comment
16914 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16917 * tabular.C: remove unused DocBook methods
16923 killed DO_USE_DEFAULT_LANGUAGE
16925 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16927 * lyx_gui.C: do not include language.h.
16929 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16930 arguments in function implementation.
16932 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16934 * BufferView_pimpl.C: add <ctime>
16936 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16938 * BufferView_pimpl.C: add using std::find_if
16940 2001-02-27 José Matos <jamatos@fep.up.pt>
16942 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16945 2001-02-11 José Matos <jamatos@fep.up.pt>
16947 * buffer.C (makeDocBookFile): command styles now have a parameter as
16948 "title" by default.
16950 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16952 * layout_forms.[Ch]: removed
16953 * lyx_cb.[Ch]: out character
16954 * lyx_gui.C: out character
16955 * lyx_gui_misc.C: out character
16956 * bufferview_funcs.C: : out character,
16957 added toggleall as parameter in ToggleAndShow
16959 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16961 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16963 * text2.C (SetCurrentFont): Disable number property at boundary.
16965 2001-02-26 Juergen Vigna <jug@sad.it>
16967 * lyxfunc.C (getStatus): added a string argument override function so
16968 that this is correctly called from LyXFunc::Dispatch if it contains a
16969 do_not_use_argument which is used!
16970 (Dispatch): added check for "custom" export and call appropriate func.
16972 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16974 * lyxrc.C: Add language_command_local, language_use_babel and
16975 language_global_options.
16977 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16979 * buffer.C (makeLaTeXFile): Use language_use_babel and
16980 language_global_options.
16982 2001-02-23 Juergen Vigna <jug@sad.it>
16984 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16985 which works with LyXText and putted it inside BufferView. Here now we
16986 only call for that part the BufferView::Dispatch() function.
16988 * BufferView.C (Dispatch): added.
16990 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16991 functions which needs to use a LyXText over from LyXFunc.
16992 (MenuInsertLyXFile): added
16993 (getInsetByCode): added
16994 (moveCursorUpdate): added
16995 (static TEXT): added
16997 2001-02-22 Juergen Vigna <jug@sad.it>
16999 * BufferView_pimpl.C (update): call a status update to see if LyXText
17002 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17004 * vc-backend.C (revert): implement for CVS
17005 (getLog): implement for CVS
17007 2001-02-20 Juergen Vigna <jug@sad.it>
17009 * text2.C (ClearSelection): added BufferView param for inset_owner call
17011 * lyxfunc.C (TEXT): added this function and use it instead of
17012 directly owner->view()-text of getLyXText().
17014 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17016 * src/layout_forms.C: out preamble
17017 * src/layout_forms.h: out preamble
17018 * src/lyx_cb.C: out preamble
17019 * src/lyx_cb.h: out preamble
17020 * src/lyx_gui.C: out preamble
17021 * src/lyx_gui_misc.C: out preamble
17022 * src/lyxfunc.C: connect with guii preamble
17024 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17026 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17028 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17030 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17031 whether to run bibtex.
17033 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17035 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17037 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17039 * Makefile.am (lyx_SOURCES): removed bibforms.h
17041 * vspace.h: doxygen
17043 * text.C (GetVisibleRow): make several local vars const
17045 * tabular.C: small cleanup.
17047 * lyxserver.C (callback): use compare instead of strncmp
17049 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17050 inlines to after class or to paragraph.C
17052 * lyxfont.h: remove friend operator!=
17054 * converter.h: move friend bool operator< to non friend and after
17057 * combox.h: small cleanup
17059 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17060 to inlines after class def.
17062 * buffer.C (pop_tag): use string operations instead of strcmp
17064 * bmtable.c: doxygen, small cleanup
17066 * LaTeX.h: remove friend operator==
17068 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17080 * BufferView_pimpl.C:
17081 * BufferView.[Ch]: remove cruft
17083 2001-02-14 Juergen Vigna <jug@sad.it>
17085 * lyxfunc.C: removed #if 0 unused code
17087 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17089 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17091 * text2.C (SetSelection): added a BufferView * parameter
17093 2001-02-13 Juergen Vigna <jug@sad.it>
17095 * lyxfunc.C (Dispatch): fixed protected blank problem.
17096 * BufferView2.C (protectedBlank): added LyxText * parameter.
17098 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17099 (AppendColumn): same as above for column_info.
17101 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17102 (moveCursorUpdate): use a LyXText param for support of InsetText.
17104 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17105 (tripleClick): ditto
17107 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17109 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17111 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17113 * text2.C (SetSelection): set correct update status if inset_owner
17114 (ToggleFree): ditto
17116 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17118 * tabular.C: remove some commented code.
17120 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17122 * BufferView_pimpl.C: call hideSplash()
17124 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17127 * bibforms.h: remove
17130 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17131 add LFUN_CHILD_CREATE
17133 * counters.h: fix tiny typo
17138 * lyx.C: move splash to frontends/xforms/
17140 * lyx_gui_misc.C: move Include and Bibform to frontends
17142 * lyxvc.h: clarify comment
17144 * vspace.C: tiny housekeeping
17146 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17148 * text.C (PrepareToPrint): RTL Fix.
17150 * paragraph.C (GetUChar): New method.
17151 (String): Use GetUChar.
17153 * buffer.C (asciiParagraph): Use GetUChar.
17155 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17157 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17159 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17162 * buffer.C: rename to getLogName(), handle
17163 build log / latex log nicely
17165 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17168 * MenuBackend.h: remove support for reference menuitem type.
17170 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17172 * BufferView_pimpl.C: housekeeping
17173 * BufferView_pimpl.h:
17178 * minibuffer.h: move Timeout GUI-I
17180 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17182 * lyxrc.C (read): Update converters data-structures.
17184 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17186 * LaTeX.h (operator!=): add operator != for Aux_Info
17188 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17190 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17192 * LaTeXLog.C: deleted, useful code moved to Buffer
17195 * buffer.C: new function getLatexLogName()
17201 * lyxfunc.C: use frontends for LaTeX and VC logs
17203 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17205 * LaTeX.h: yet another std:: that Allan forgot.
17207 * Variables.C (set): renamed from isset(), because this clashes
17208 with some HP-UX macros (grr).
17210 2001-02-06 Allan Rae <rae@lyx.org>
17212 * LaTeX.h: Another bug fix. Missing std:: this time.
17214 2001-02-04 Allan Rae <rae@lyx.org>
17216 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17217 floats problem. I've left it commented out because it's not quite
17218 correct. It should also test that the current object is a table or
17219 figure inset. But I haven't gotten around to figuring out how to do
17220 that. I *think* it'll be something like: "table" == inset.type()
17222 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17225 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17227 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17228 all the citation/databases/styles in the auxilary file.
17229 (run): Rerun latex if there was a babel language error.
17231 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17233 * text.C (Backspace): Preserve the font when changing newline char
17235 (BreakParagraph): If the cursor is before a space, delete the space.
17237 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17239 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17241 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17242 new argument (code).
17243 (ChangeCitationsIfUnique): New method.
17245 * paragraph.C (GetPositionOfInset): Handle bibkey.
17247 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17249 * BufferView_pimpl.h: change type of Position::par_pos to
17250 LyXParagraph::size_type.
17252 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17254 * BufferView_pimpl.C (savePosition, restorePosition): Write
17255 messages to minibuffer.
17257 2001-01-28 José Matos <jamatos@fep.up.pt>
17259 * buffer.C (makeDocBookFile): adds support for document language.
17260 A silly restriction on the name of LatexCommand types where removed.
17261 Added support for CDATA sections, allows to chars unescaped, used
17262 among others in code, to avoid escape < and >.
17264 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17266 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17267 saved positions instrad of a stack. Furthermore, a position is
17268 stored using paragraph id/paragraph position.
17270 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17271 Remove LFUN_REF_BACK.
17273 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17275 * converter.C (dvipdfm_options): New method.
17277 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17279 * vspace.C (isValidLength): Fix for empty input string.
17281 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17283 * LyXAction.C (init): change description of LFUN_FIGURE to
17286 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17288 * LaTeX.C: add using directive
17290 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17292 * MenuBackend.C (expand): Fix the sorting of the formats.
17294 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17296 * lyx_main.C: tiny error message fix
17298 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17300 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17301 calling fl_initialize(). This fixes the problem with ',' as
17302 decimal separator in text files.
17304 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17306 * trans.C (process): Fix the keymap bug.
17308 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17310 * LaTeX.C (scanAuxFiles): New method. Provides support for
17311 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17312 (scanLogFile) Scan for "run BibTeX" messages.
17314 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17315 OT1 font encoding. Also, load the aecompl package if the ae
17318 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17320 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17322 * texrow.C (increasePos): turn two error messages into debug
17325 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17327 * LaTeX.C (scanAux): Handle the \@input macro.
17328 (runBibTeX): Use scanAux().
17330 * language.C (latex_options_): New field.
17332 * LaTeXFeatures.C (getMacros): Add language macros.
17334 * buffer.C (makeLaTeXFile): Small fix.
17336 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17338 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17340 * text2.C: add a using directive.
17342 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17347 * lyxfunc.C: kill LyXBell.
17349 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17351 * text.C (IsBoundary): Remove the error message
17353 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17355 * lyxrc.C (setDefaults): Correct initialization value for
17358 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17360 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17363 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17364 and GotoNextNote().
17366 * src/LyXAction.C: Added reference-next.
17368 * text.C (InsertChar): Use contains instead of strchr.
17370 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17372 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17374 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17375 alignment commands (when needed).
17377 * text.C (InsertChar): Add ':' to number separator chars.