1 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxfunc.C (getStatus): fix warning when assertions are disabled
7 * dociterator.C: include <boost/current_function.hpp>, which is
8 needed when assertions are disabled.
10 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
12 * text2.C: fix for stuck cursor when traversing two
13 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
15 2005-02-25 Andreas Vox <avox@arcor.de>
17 * output_docbook.C (makeParagraph): suppress trailing newline
18 after a run of paragraphs
20 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
22 * paragraph.C: fix for confused change tracker when pasting
23 text that begins with a lineseparator. [bug 1827]
24 (setChange(0, Change::INSERTED);)
26 * paragraph_funcs.C: fix for lost changes on triple-paste
27 in change tracking mode [bug 1827] (par.setChange()).
29 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * text2.C (updateCounters, setCounter, expandLabel): move to
34 * buffer_funcs.C (updateCounters): turn into a free standing
35 function and add a buffer parameter. Remove dead code for tracking
37 (setCounter): change into a free-standing function which gets a
38 dociterator as argument. Use this iterator to fix captions in a
39 simple way. When no float is found above the caption, use the
40 labelstring of the caption layout as default.
42 * text.C (breakParagraph, backspace):
43 * text2.C (init, setLayout, changeDepth):
45 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
48 * dociterator.C (forwardPar): make it much faster by calling
49 forwardPos() only when really necessary.
51 * output_docbook.C (makeCommand): adapt to expandLabel move.
53 * cursor.C: remove unused variable
55 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
57 * paragraph_funcs.C: fix crash when pasting insets in change
58 tracking mode [bug 1277] (honour change type in moveItem).
60 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
62 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
64 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 * BufferView.C (setCursor): change to use a DocIterator.
67 (gotoLabel): use BufferView::setCursor (other part of bug 781).
68 (putSelectionAt): adapt to BufferView::setCursor change.
70 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
71 moved here from LyXText and rewritten to use proper cursor
72 methods. Fixes bug 1787, 616 and 835.
74 * BufferView_pimpl.C (restorePosition): set the cursor correctly
75 when inside an inset (part of bug 781).
76 (dispatch): adapt to change of BufferView::setCursor.
77 (getStatus, dispatch): handle LFUN_GOTOERROR,
78 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
80 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
81 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
82 * text3.C (gotoNextInset, gotoInset): removed.
84 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
86 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
88 2005-02-15 Angus Leeming <leeming@lyx.org>
90 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
91 can be used meaningfully in a comparison.
93 2005-02-13 André Pönitz <poenitz@gmx.net>
95 * bufferview_funcs.C (coordOffset): improve cursor drawing
97 2005-02-13 André Pönitz <poenitz@gmx.net>
99 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
100 * Cursor.C (dispatch): use fixIfBroken
101 * lyxfunc.C (getStatus): use fixIfBroken
103 2005-02-15 Angus Leeming <leeming@lyx.org>
105 * lyx_main.C (error_handler):
107 * lyxrc.C (setDefaults):
109 #include "environment.h".
111 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
113 2005-02-15 Angus Leeming <leeming@lyx.org>
115 * lyxserver.C (startPipe): squash MSVC warning "local variable
116 'fd' used without having been initialized".
118 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
120 * BufferView_pimpl.C: revert accidental commit.
122 2005-02-14 André Pönitz <poenitz@gmx.net>
124 * dociterator.[Ch]: new member forwardPosNoDescent(),
125 which doesn't enter nested insets.
126 * text2.C (setFont): use forwardPosNoDescent() instead
127 of ForwardPos() (fixes crash on font change).
129 2005-02-13 Angus Leeming <leeming@lyx.org>
131 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
132 only if lyxrc.path_prefix is not empty.
134 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * bufferparams.C (readGraphicsDriver): prevent crash
138 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * text2.C (setCounter): check for inInset() == 0
142 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
145 but use update() to get correct screen display; use convert
146 instead of istringstream.
147 (getStatus): handle LFUN_GOTO_PARAGRAPH
149 * lyxfunc.C (dispatch, getStatus): do not handle
150 LFUN_GOTO_PARAGRAPH here.
152 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
154 * text3.C (dispatch): size() -> depth()
156 * text2.C: remove some debug output
158 * paragraph.C: ws changes only
160 * lyxfunc.C (getStatus): size() -> depth()
162 * dociterator.h (clear, push_back, pop_back, internalData,
163 operator[], resize, empty): new functions
164 Make StableDocIterator and operator== be friends. Don't inherit
165 from std::vector use a privat class variable slices_ instead.
168 * dociterator.C: update because of not inheriting from std::vector
169 anymore. Call explictly to slices_ instead. Use depth() instead of
170 size() and top() instead of back()
172 * cursor.C: chagne size() -> depth and back() -> top(). Also
173 remove some direct operator[](i) calls in favour of foo[i]
174 (getFont): remove some dead code
176 * bufferview_funcs.C (coordOffset): size() -> depth()
178 * buffer.C: ws changes only
180 * CutAndPaste.C (eraseSelection): back() -> top()
182 * BufferView_pimpl.C (selectionRequested): back() -> top()
184 * BufferView.C (setCursor): size() -> depth()
186 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
188 * text3.C (cursorPrevious): return true if depm changed something
190 (dispatch): rename sl to oldTopSlice, remove moving use the new
191 NoUpdate func attrib instead. Make sure that needsUpdate is set
192 for function that have NoUpdate, but where depm might have changed
195 * text2.C (cursorLeft): make us return true if depm changed
198 (cursorUpParagraph): ditto
199 (curosrDownParagraph): ditto
200 (cursorUp, cursorDown): ditto, make sure to read comments in code
201 (deleteEmptyParagraphMechanism): remove an assert, also return
202 true if just a single char was deleted.
204 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
205 cursor that we modify, to avoid modifying an active cursor before
206 we call setCursor. This allows depm to run. Also return true if
207 depm deleted something.
209 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
210 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
211 cursorDownParagraph, cursorPrevious and cursorNext, return true if
212 something was changed in the buffer because of them (ie. depm run)
214 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
215 debug messages. Make update by default be false. Make sure that
216 the result of update is retained throught several calls down to
219 * LyXAction.h: add a new func_attrib: NoUpdate
221 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
222 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
223 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
225 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
227 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
230 bv_->owner(), bv_->buffer() by direct references to the private
232 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
233 (getStatus): isSavedPosition() is in BufferView::Pimpl.
234 (fitCursor): center() is in BufferView::Pimpl.
235 (getStatus, trackChanges, dispatch): no need for a temporary buf
237 (fitCursor, workAreaDispatch): use workarea().workheight()
239 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * CutAndPaste.C (pasteSelectionHelper): fix a crash
243 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
245 * buffer.C: format up to 241.
246 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
247 break if pasting into ERT
248 * lyxfunc.C (getStatus): suppress mathpanel and
249 LFUN_DIALOG_SHOW_NEW_INSET in ERT
251 2005-02-01 Angus Leeming <leeming@lyx.org>
253 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
255 2005-02-01 Angus Leeming <leeming@lyx.org>
257 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
258 calling fs::is_directory().
260 2005-01-31 Angus Leeming <leeming@lyx.org>
262 * lyx_main.C (priv_exec): specify explicitly the relative location
263 of the top level build directory when run in-place.
265 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
267 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
268 LyXText containing the cursor, not the top-level one.
270 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
272 (insertStringAsLines): rename par to pit; use temporary variable
273 par to hold a Paragraph; do not store par.layout() in a variable,
274 since the pointer may die when breaking paragraphs; pass pars to
275 breakParagraph() instead of Buffer::paragraphs().
277 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
279 * lyxlex_pimpl.h: #include <fstream>.
281 * BufferView.[Ch] (getLyXText): add a const version.
283 * BufferView_pimpl.C: add debug aids.
288 * paragraph_funcs.h: add commentary explaining what the class does.
291 * coordcache.[Ch]: add lots of commentary.
292 (startUpdating, doneUpdating): debug aids.
293 (arrays, insets, parPos, getParPos): accessors to private data.
295 * cursor_slice.[Ch] (text): add a const version.
296 * dociterator.[Ch] (text, innerText): add const versions.
298 * lyxtext.h (breakParagraph): change the keep_layout arg to a
301 * paragraph.C (getRow, pos2ros): add asserts.
303 * paragraph.h: add commentary. Lots of.
305 * paragraph.[Ch] (metrucs, draw): removed.
308 * rowpainter.[Ch]: const-correct changes.
310 * text.C: various obvious clean-ups. Removal of ancient cruft.
313 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
315 * vc-backend.C (find_file): rewrite to use boost.filesystem
318 * main.C (main): set default name check for boost.filesystem to
321 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
324 (actOnUpdatedPrefs): ditto
326 * lyx_main.C (init): rewrite to use boost.filesystem
327 (queryUserLyXDir): ditto
329 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
330 (getContentsOfAsciiFile): ditto
332 * lastfiles.C (readFile): rewrite to use boost.filesystem
334 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
336 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
339 * buffer.C (Buffer): adjust for destroydir
340 (getLogName): rewrite to use boost.filesystem
342 (save): use fs::copy_file (from fs_extras)
344 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
346 * LaTeX.C (run): rewrite to use boost.filesystem
347 (scanAuxFiles): ditto
348 (handleFoundFile): ditto
350 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
352 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
354 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
356 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
358 * lyxlayout.[Ch]: change some vars from float to double
360 * buffer.C (readFile): make a local var const
362 * Several files: use convert<> instead of atoi,strToXXX and friends
364 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
366 * LaTeXFeatures.[Ch]: Add a static list packages_ that
367 holds the contents of packages.lst. New functions getAvailable
368 and isAvailable to parse and check that list, resp.
372 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
374 * bufferparams.[Ch]: new param output_changes.
376 * Buffer.C: increase file format to 240.
377 Use output_changes and isVailable.
381 * paragraph_pimpl.C: Use output_changes and isVailable.
383 2005-01-23 Angus Leeming <leeming@lyx.org>
385 * output_latex.C: #include "insetbibitem.h", rather than
386 forward declare function bibitemWidest.
388 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
390 * lyx_main.C (init): make it compile on the Mac.
392 2005-01-20 Angus Leeming <leeming@lyx.org>
394 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
395 (setLyXMisc): (char string literal) != (char string literal) is
396 performing a comparison on the addresses. Convert one operand
397 explicitly to string to guarantee expected behaviour.
400 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
403 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
405 * output_plaintext.C: remove unneeded #include gzstream.h.
407 2005-01-20 Angus Leeming <leeming@lyx.org>
409 * SpellBase.h: rename some of the elements of the Result enum.
416 * pspell.C (check): ditto
418 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
420 * buffer.C: add #include <fstream>.
422 * lyx_main.C (init): Compile fix.
424 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
426 2005-01-20 Angus Leeming <leeming@lyx.org>
428 * mover.h: change commentary to reflect the changed meaning of
431 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * output_linuxdoc.C (linuxdocParagraphs): silence warning
435 * lyxfind.C (MatchString::operator()): remove bogus semicolon
437 2005-01-20 Angus Leeming <leeming@lyx.org>
439 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
440 printing diagnostic data by not dereferecing an iterator past the
443 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
445 * buffer.C (readHeader): use "&&" rather than "and".
447 * lyxserver.h (inPipeName, outPipeName): make these const.
449 2005-01-19 Angus Leeming <leeming@lyx.org>
451 * lyx_main.C (error_handler, init): protect SIGHUP with
452 #ifdef SIGHUP guards.
454 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
456 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
458 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * text.C (setHeightOfRow): add a margin at the top and bottom of
461 the document (bug 1761)
463 2005-01-17 Angus Leeming <leeming@lyx.org>
465 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
466 with "python ". Workaround for a brain-dead Windows.
468 2005-01-16 Angus Leeming <leeming@lyx.org>
470 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
471 for MacOSX and Windows to use prependEnvPath.
472 Strip out the hard-coded block to add elements to the PATH for
473 MacOSX and replace it with a call to prependEnvPath using the
474 contents of LyXRC::path_prefix.
475 (queryUserLyXDir): strip out the code to run reconfigure, instead
476 returning a boolean indicating the necessity to do so.
477 (reconfigureUserLyXDir): contains the code to reconfigure the
478 user support directory. Is now called after the various LyXRC data
479 files have been read.
481 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
483 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
485 * converter.[Ch] (convert): take a new parameter try_default. Use
486 a default converter (imagemagick) if try_default is true.
488 2005-01-13 Angus Leeming <leeming@lyx.org>
490 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
492 (write): output LyXRC::cygwin_path_fix as necessary.
494 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
497 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
499 2005-01-12 Angus Leeming <leeming@lyx.org>
501 * lyx_main.C (init): set the PATH variable to include the
502 directory containing the LyX binary when running on Mac or Windows.
504 2005-01-12 Angus Leeming <leeming@lyx.org>
506 * lyx_main.C (init): remove cruft that purports to set the locale
507 dir. It doesn't and is not needed anyway.
509 2005-01-10 Angus Leeming <leeming@lyx.org>
511 * Makefile.am: remove the lyx_main.C special casing.
513 * BufferView_pimpl.C:
519 * messages.C: use support/package.h to provide the paths to the
520 various directories used by LyX.
522 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
525 layout if pasting into an empty paragraph)
527 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
529 * tex-accent.C: add <string>
531 2005-01-06 José Matos <jamatos@lyx.org>
533 * ParagraphParameters.C (write): put every parameter in its own line.
534 * paragraph.C (write): reduce number of consecutive empty lines exported.
535 * buffer.C (LYX_FORMAT): increase file format to 239.
537 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
539 * everywhere: change support/tostr.h -> support/convert.h
541 * tabular.C: make all write_attributes templates, tostr -> convert
543 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
544 (emptyTag): and -> &&, and fix type for ret from getChar
545 (getFirstWord): fix type for ret from getChar
546 (onlyText): and -> &&
547 (simpleDocBookOnePar): and not -> && !, fix type for ret from
550 * toc.C (goTo, action):
551 * text3.C (dispatch):
552 * text.C (currentState):
553 * tex-accent.C (DoAccent):
556 * lyxfunc.C (menuNew):
557 * lyxfinc.C (replace):
558 * counters.C (laberItem):
559 * bufferview_funcs.C (font2string):
560 * bufferparams.C (writeFile):
561 * buffer.C (readFile):
563 * MenuBackend.C: tostr -> convert
565 * LaTeX.C (runMessage): fix format
566 (scanAuxFiles): tostr -> convert
568 * BufferView_pimpl.C (savePosition): fix format
569 (restorePosition): ditto
572 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
574 * Spacing.[Ch]: New method getValueAsString().
578 * ParagraphParameters.C:
581 * text3.C: store/read spacing value as string.
583 * rowpainter.C: change float value (spacing_val) to double.
585 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
586 broken custom document spacing).
588 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
590 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
591 namespace, also more use of temp references and const
593 * cursor.[Ch] (getStatus): move to lyxfunc.C
595 * bufferparams.C: reformat slightly
597 * bufferview_funcs.C (font2string): constify arg
603 * buffer_funcs.C: (many funcs): constify arg on function
604 definitions, also make more local vars const, also add ASSERTS on
607 * buffer.C (LYX_FORMAT): put const in correct place
608 (many funcs): constify arg on function definitions, also make
609 more local vars const
611 * aspell_local.h: remove "struct" from typdef setup
613 * aspell.C (check): make word_ok const
614 (nextMiss): simplify slightly
617 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
619 * lyxrc.[Ch]: store all float values as strings.
620 use int (not float) for lyxrc.dpi.
622 2005-01-04 Angus Leeming <leeming@lyx.org>
624 * lyx_cb.C (Reconfigure):
625 * lyx_main.C (queryUserLyXDir):
626 to run the <system_lyxdir>/configure correctly on Windows, prefix
627 the path to the script with "sh " when generating the string that
628 is passed to system().
630 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
632 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
634 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * lyxlength.C (asLatexString): get rid of setprecision
638 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
640 * text2.C (setLayout): remove unused variable endpit.
641 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
643 * paragraph.C (onlyText): remove unused variable style.
645 * cursor.C (bruteFind): remove unused variables beg and end.
647 * Makefile.am (dist_noinset_DATA): not needed anymore
649 * cheaders/*: remove.
651 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
653 * text3.C: fix LFUN_MATH_MODE.
655 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
657 * buffer_funcs.C (countWords): new function. Counts words between
660 * BufferView_pimpl.C (getStatus, dispatch): handle
663 * LyXAction.C (init):
664 * lfuns.h: add LFUN_WORDS_COUNT.
666 2004-12-19 Angus Leeming <leeming@lyx.org>
668 * buffer.C (save): s/slashify_path/internal_path/.
670 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
672 * lyxfind.C (findChange): do not search for end of pars, because
673 the change tracker cannot handle this (fixes bug 1719).
675 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
677 * paragraph.[Ch] (autoBreakRows): remove
679 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
681 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
682 avoid using the paragraph one
684 * text2.C (LyXText, insertStringAsLines): adjust
686 2004-12-16 Angus Leeming <leeming@lyx.org>
690 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
692 2004-12-14 Angus Leeming <leeming@lyx.org>
694 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
696 * bufferlist.C (emergencyWrite):
697 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
700 2004-12-14 Angus Leeming <leeming@lyx.org>
702 * main.C: (main): no longer pass pointers to os::init.
704 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
706 * undo.C (textUndoOrRedo): simplify logic, fix a crash
707 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
709 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
712 * text3.C: remove selection_possible global flag
714 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
716 * text2.C (getSelectionSpan): remove
717 (changeDepth, changeDepthAllowed): adjust
719 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
721 * Makefile.am (BOOST_LIBS): use boost variables
723 2004-12-03 José Matos <jamatos@lyx.org>
725 * buffer.C: format up to 238.
727 2004-12-03 José Matos <jamatos@lyx.org>
729 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
731 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
733 * cursor.C (goUpDown): remove call to idxUpDown2
735 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
737 * tabular.[Ch]: use size_t-like types for cell, row and column
740 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
742 * lyxfunc.C (getStatus): do not lose previous information when
743 calling BufferView::getStatus; do not set a default "Command
744 disabled" message at the beginning, but just before returning.
746 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
748 * cursor.h (getStatus): add better comment from src/cursor.C
750 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
752 * text3.C (getStatus): return false when the lfun is not handled
754 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
756 * broken_headers.h: remove
758 * Makefile.am (lyx_SOURCES): remove broken_headers.h
760 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
762 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
765 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
766 top_y_, merge fitcursor with update
767 (updateScrollbar, scrollDocView, fitCursor, center, update): new
770 (workAreaDispatch): adapt to new coord scheme
771 (redoCurrentBuffer): remove
773 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
775 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
778 * coordcache.[Ch]: add paragraph cache and helpers
780 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
783 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
784 (targetX, setTargetX): introduce
786 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
787 baseline -> ascent, as the rest of lyx
789 * lyxtext.h: remove redoParagraphs, updateParPositions,
790 fullRebreak, redoParagraphInternal. move dist to anon namespace in
791 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
792 have ascent/descent (ascent is ascent of first par)
794 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
797 * paragraph.[Ch]: unify dimension handling with the rest of lyx
799 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
801 * pariterator.C: fix infinite loop introduced in par->pit renaming
803 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
804 in insets and LyXText, draw two off-screen paragraphs using
805 NullPainter, and adapt to new coord scheme
809 * text3.C: adapt lfun handlers to the new coord scheme, which
810 means: there's only guaranteed coord information for onscreen pars
811 plus one above and one below. This implies that one can do search
812 from y coordinates in the range [-1,workHeight]
814 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
816 * rename a lot of InsetOld to InsetBase
818 2004-11-25 Angus Leeming <leeming@lyx.org>
820 * BufferView_pimpl.C:
822 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
824 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
826 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
827 call BufferView::getStatus if LCursor::getStatus did nothing
828 (setStatusMessage, getStatusMessage): removed.
830 * FuncStatus.C (message): new methods. Used to provide an error
831 message indicating why a command is disabled.
832 (clear, |=, FuncStatus): update for message.
834 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
836 * lyxfunc.C (dispatch): always call sendDispatchMessage
838 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
841 * BufferView_pimpl.C:
855 * undo.C: par->pit renaming
857 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
859 * tabular.C (cellstruct): use initialization, store a shared_ptr
860 to insettext instead of the insettext directly, adjust to fit.
861 (operator=): new function
863 (rowstruct): use initialization
864 (columnstruct): use initialization
865 (ltType): use initialization
868 * lyxlength.h (swap): new function
870 * LColor.[Ch] (operator=): use the common semantics
872 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
874 * lyxfind.C (findNextChange): update the bufferview after setting
877 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
880 number of InsetOptArgs has already been inserted.
882 * output_latex.C (latexOptArgInsets): new method. This outputs all
883 the optarg insets, up to the limit defined in the layout file.
884 (optArgInset): removed
885 (TeXOnePar): call latexOptArgInsets; correctly update texrow
887 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * paragraph.C (isLetter): remove special spellchecker-related
890 code; return true also for digits
891 (isWord, isKomma): remove
893 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
894 * lyxfind.C (MatchString()): use isLetter instead of isWord
896 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
898 * pariterator.h (operatir=): comment out un-implemented member
901 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
904 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
906 * lyxfont.h: include LColor.h to satisfy concept checks.
908 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
910 * pariterator.h: add typdefs for value_type, difference_type,
911 pointer and reference to satisfy concept checks. Also add default
912 constructor for same reason.
914 * pariterator.C (operator++): add post-increment operator to
915 satisfy concept checks.
917 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
920 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
922 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
923 checks. Also rename base_type to BaseType to follow naming
926 * FloatList.h: include Floating.h to satisfy concept checks.
928 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * lyxfunc.C (getStatus): when the origin of the request is menu or
931 toolbar, and the LyXView does not have focus, do as if there was
934 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
935 FuncRequest to individual entries of LFUN_SEQUENCE
937 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * output_latex.C (TeXOnePar): override runparams.moving_arg
940 according to the needprotect value of the current paragraph (bug
943 * paragraph.C (simpleTeXOnePar): no need to override
944 runparams.moving_args here
946 2004-11-14 John Spray <spray_john@users.sourceforge.net>
948 * vspace.C: fix off-by-one-error, related to fix #1682
950 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
952 * lengthcommon.C: a more general fix for bug 1682
954 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
956 * text.C (backspace): fix crash
958 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
960 * format.[Ch] (getFormatFromFile): new method
961 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
963 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
967 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * lyxfunc.C (dispatch): remove the verbose argument
970 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
973 * kbmap.C (defkey): set the origin of func to KEYBOARD
975 * MenuBackend.C (MenuItem):
976 * ToolbarBackend.C (add): set the origin of func to UI
978 * funcrequest.[Ch]: add origin member, which indicates which part
979 of LyX requests an action
981 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
983 * converter.C (move): don't lie in the error message
984 * converter.h (isReachable, move): document
986 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
988 * buffer.C: remove unused using lyx::support::atoi
989 * paragraph_funcs.C: ditto
991 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
993 * bufferlist.C (exists): use bind and equal_to instead of
996 * lyxtextclasslist.C (NumberOfClass): ditto
998 * cursor.C (insert): use for_each instead of explicit for loop
1000 * bufferlist.C (getFileNames): use std::transform and
1001 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1003 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1006 * buffer.C (changeLanguage): use for_each instead of explicit for
1008 (hasParWithID): implement using getParFromID
1010 * LaTeXFeatures.C: ws change only
1012 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1015 * BufferView_pimpl.C (trackChanges): use for_each instead of
1018 2004-11-04 André Pönitz <poenitz@gmx.net>
1021 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1023 * dociterator.C (asDocIterator): use hard assert again.
1025 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1027 * lyxlength.C (asLatexString): rewrite so that it does not use
1030 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1032 * text3.C (specialChar, dispatch): make sure cursor moves to the
1033 right after inserting an inset
1035 2004-11-02 José Matos <jamatos@lyx.org>
1037 * output_docbook.C (docbook):
1038 * paragraph.C (getID):
1039 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1040 garantee that the output is always legal.
1042 * tabular.C (docbook):
1043 * outputprams.[Ch]: remove mixed contents.
1045 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1047 * text2.C (setCounter): prevent endless loop
1049 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1051 * exporter.C (copyFile): use the mover instead of support::copy()
1052 * exporter.C (Export): pass format and latex name to copyFile()
1053 * exporter.h (addExternalFile): document
1054 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1056 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1058 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1060 2004-10-30 José Matos <jamatos@lyx.org>
1062 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1063 text and no inset or font change. This allows to use CDATA
1064 sections just for the whole paragraph.
1066 2004-10-30 José Matos <jamatos@lyx.org>
1068 * paragraph.C (getFirstWord): remove unused variable.
1070 2004-10-30 José Matos <jamatos@lyx.org>
1072 * paragraph.C (getFirstWord): the content should always be escaped
1074 (simpleDocBookOnePar):
1075 * output_docbook.C (makeEnvironment): replace reference to CDATA
1078 2004-10-30 José Matos <jamatos@lyx.org>
1080 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1082 2004-10-30 José Matos <jamatos@lyx.org>
1084 * output_docbook.C (makeParagraphs):
1085 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1086 standard paragraph has only a given type of content drop the wrapper.
1088 2004-10-29 José Matos <jamatos@lyx.org>
1090 * output_docbook.C (makeEnvironment):
1092 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1094 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1096 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1097 (cleanID): sanitize any id.
1099 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1101 * buffer.C, lyxlex_pimpl.C:
1102 * lyxlex_pimpl.C (setFile):
1103 s/getExtFromContents/getFormatFromContents/
1105 2004-10-28 José Matos <jamatos@lyx.org>
1107 * output_docbook.C (makeEnvironment): move id to broadest possible
1110 * sgml.C (openTag): apply substitution of <> for all attributes.
1112 2004-10-28 José Matos <jamatos@lyx.org>
1114 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1115 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1116 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1118 * sgml.[Ch]: new version for open and closeTag for paragraph and
1119 for strings. Now they handle the ids of paragraphs.
1121 2004-10-26 Angus Leeming <leeming@lyx.org>
1123 * Makefile.am: add mover.[Ch].
1125 * converter.C (convert, move): use the new Movers to move external
1126 files to the temp directory.
1128 * lyx_main.C (init): ensure that the global system_movers data
1131 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1134 * mover.[Ch]: new files, defining a Mover as a utility to move an
1135 external file between directories and, if necessary, manipulate this
1136 file using a helper script.
1138 2004-10-25 José Matos <jamatos@lyx.org>
1140 * output_docbook.C (makeCommand): merge two if's that tested the
1143 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1145 * sgml.C (escapeString): fix warning in a better way
1147 2004-10-25 José Matos <jamatos@lyx.org>
1149 * sgml.C (escapeString): import the require boosts header file for
1150 tie, and avoid a signed unsigned comparison.
1152 2004-10-25 José Matos <jamatos@lyx.org>
1154 * sgml.h: add #include <string>
1156 2004-10-25 José Matos <jamatos@lyx.org>
1158 * sgml.[Ch] (escapeString): new function to escape all the string.
1160 2004-10-24 José Matos <jamatos@lyx.org>
1162 * paragraph.[Ch] (getFirstWord): new function to get the first
1163 word. Useful for description.
1164 (simpleDocBookOnePar): remove depth argument, add another that
1165 says where to start the paragraph.
1167 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1168 use the new functions to fix cleanly the support for descriptions.
1170 2004-10-24 José Matos <jamatos@lyx.org>
1172 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1173 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1174 * output_linuxdoc.C (linuxdocParagraphs):
1175 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1176 add buffer as argument.
1178 2004-10-24 José Matos <jamatos@lyx.org>
1180 * output_docbook.C (makeEnvironment, searchEnvironment): place
1181 CDATA inside paragraphs and fix scope for listitems.
1183 2004-10-24 José Matos <jamatos@lyx.org>
1185 * output_docbook.C: remove using statement for stack.
1187 2004-10-23 José Matos <jamatos@lyx.org>
1189 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1190 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1191 docbook. The new scheme is recursive and makes use of iterators, the
1192 same as latex export works.
1193 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1194 directly with the paragraph contents. This code was moved up to
1195 output_docbook.C (docbookParagraphs).
1196 * sgml.C (openTag, closeTag): removed unneeded newlines.
1197 (closeEnvTags) removed.
1199 2004-10-23 André Pönitz <poenitz@gmx.net>
1201 * undo.C (textUndoOrRedo):
1202 * dociterator.C (asDocIterator): work around crash
1204 * cursor.C (getStatus): replace ASSERT by more verbose error message
1205 and manual correction of the problem. Should increase stability
1206 while providing more sensible information.
1208 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1210 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1212 * bufferlist.C (previous, next): new methods
1215 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1217 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1219 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1220 entities to preamble.
1222 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1224 * messages.C (Pimpl): strip off translation context information
1226 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1228 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1229 the cursor is correct (bug 1694)
1231 2004-10-13 José Matos <jamatos@lyx.org>
1233 * output_docbook.C (docbookParagraphs): fix closing tags in the
1234 end of the document.
1236 2004-10-09 José Matos <jamatos@lyx.org>
1238 * buffer.C: format up to 237.
1239 * bufferparams.C (write): use tostr to convert booleans to strings.
1241 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1243 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1245 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1247 * LaTeX.C: implement use of babel language in xindy.
1249 2004-10-05 José Matos <jamatos@lyx.org>
1251 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1252 Add new translators to help reading and writing the lyx file.
1254 2004-10-05 José Matos <jamatos@lyx.org>
1256 * ParagraphParameters.C (read):
1257 * text.C (readParToken): replace nexToken by more appropriate lex
1260 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1262 * LaTeX.C (runMakeIndex):
1263 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1264 (usually 'makeindex') configurable.
1266 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1267 with a variable rather than with a number.
1269 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1271 * output_latex.C (TeXOnePar): make sure font setting is the first
1272 thing that gets output (and the last at the end). Should fix bug
1275 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1277 * pch.h: use proper signal include
1279 * LaTeX.h: Use preferred calling of Boost.Signal
1282 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1284 * pch.h: dont include <boost/function/function0.hpp>
1286 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1288 * paragraph_pimpl.h: remove usage of ShareContainer
1290 * paragraph_pimpl.C: remove initialization of ShareContainer.
1292 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1296 * BufferView.C (putSelectionAt): change the semantics when
1297 backwards == true: now, this just swaps cursor and anchor wrt the
1300 * BufferView.h (putSelectionAt): add some documentation
1302 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1303 make sure backwardChar is done at least once (to avoid getting
1305 (findNextChange): use putSelectionAt in the forward direction
1306 (operator()): use Paragraph::isWord
1308 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1310 * Spacing.C (set): c_str fix
1312 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1314 * lyx_cb.C (Reconfigure): quote the name of configure script in
1315 case it contains spaces
1317 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1321 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1322 (BOOST_LIBS): use top_buildir when looking for the file
1324 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1326 * pch.h: do not use include boost/format.hpp, multiple symbols
1327 will result (gcc bug)
1330 2004-08-23 José Matos <jamatos@lyx.org>
1332 * bufferparams.C (readToken): fix reading of the author field.
1334 2004-08-20 José Matos <jamatos@lyx.org>
1336 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1338 2004-08-20 José Matos <jamatos@lyx.org>
1340 * lyxlex.[Ch] (findToken): remove function.
1342 * ParagraphParameters.C (findToken):
1343 * bufferparams.C (findToken): replace call for previous function
1344 with local copy. This local function has one more argument, the
1345 read string argument.
1347 2004-08-16 José Matos <jamatos@lyx.org>
1349 * ParagraphParameters.C (write):
1350 * Spacing.C (writeFile):
1351 * bufferparams.C (writeLaTeX):
1352 * lyx_cb.C (Reconfigure):
1353 * paragraph.C (write):
1354 * tabular.C (write): remove unnecessary space at end of line.
1357 2004-08-16 José Matos <jamatos@lyx.org>
1359 * text.C (readParagraph): remove debug message.
1361 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1363 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1366 * output_plaintext.C (asciiParagraph): set depth correctly
1368 * outputparams.h: add member depth
1370 * paragraph_funcs.C (ownerPar): remove.
1372 * text2.C (setCounter): remove first_pit; comment out some
1373 non-working code that uses ownerPar
1375 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1378 2004-08-16 José Matos <jamatos@lyx.org>
1380 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1381 For the same level of importance use the same chanel to report problems.
1382 (read): add code to deal with \begin_body and \end_body.
1385 2004-08-15 José Matos <jamatos@lyx.org>
1387 * lyxlex.C (getString): fix comment, buffer::readBody is now
1388 buffer:readDocument.
1390 * tex-strings.C (string_papersize): Default -> default,
1391 Custom -> custom, for consistency with other options.
1393 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1397 * Makefile.am: support pch
1399 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1401 * text.C (readParToken): remove the static LyXFont variable and
1402 pass it as a parameter instead. This fixes a nasty bug where an
1403 inset will be inserted with a bad font in some situations
1404 (readParagraph): adapt
1406 * text2.C (setCounter): reduce number of calls to pars_[pit]
1408 * text.C (singleWidth): add an assert, fix a test
1410 * rowpainter.C (paintText): reduce number of calls to singleWidth
1412 * paragraph.C (isHfill):
1413 (isNewline): ws only
1415 2004-08-14 André Pönitz <poenitz@gmx.net>
1420 * lyxtext.h (several functions): use a Paragraph & argument
1423 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1425 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1427 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1429 * text.C (singleWidth): remove useless test
1431 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1433 * tabular.h: remove bogus comments
1435 * tabular.C (getDescentOfRow):
1436 (isPartOfMultiColumn): add assertions
1438 * lyxlength.C (inPixels): remove #warning
1440 2004-08-14 André Pönitz <poenitz@gmx.net>
1442 * paragraph.h: inline getChar()
1444 * BufferView.h: remove unused declarations
1446 2004-08-14 José Matos <jamatos@lyx.org>
1448 * Buffer.[Ch] (readDocument): new name for old readBody.
1449 * Buffer.C: new file format, new keywords: \begin_document,
1450 \begin_header, \begin_body, \end_body.
1452 * bufferparams.C (readToken): replace all calls to lex.nextToken
1453 by lex.next(). Do the same to eatLine except where really needed.
1455 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1456 line when writing to the lyx file.
1458 * output_plaintext.C (asciiParagraph): fix Bibliography style
1461 * text.C (read): fix end of file handling.
1463 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1465 * MenuBackend.C (Menu::operator[]): new method to access
1466 individual menu items
1467 (Menu::hasFunc): new method. search for an item that corresponds
1469 (MenuBackend::specialMenu): new method
1470 (MenuBackend::expand): if a special menu has been set, skip
1471 entries whose func() appears in this menu
1473 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1475 * text3.C: use Debug::DEBUG a bit more
1477 * text.C (leftMargin): try to simplify a tiny bit change var x to
1478 l_margin. Dont output the wide margins always.
1479 (rightMargin): no margin in inner texts
1481 * rowpainter.h (nestMargin): new func
1482 (changebarMargin): new func
1483 (rightMargin): new func
1485 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1489 * factory.C (createInset): modify setDrawFrame
1491 * cursor.C: use Debug::DEBUG a bit more
1493 2004-08-14 André Pönitz <poenitz@gmx.net>
1496 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1497 cache for all insets in (at least partially) visible (top-level)
1500 * BufferView_pimpl.C: reset external coord cache before every update.
1501 This means the coord cache only contains valid entries.
1503 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1506 * BufferView_pimpl.C (getInsetByCode): move function out of class
1507 and change in to a template in anon namespace. Also fix to do what
1510 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1513 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1515 (breakParagraph): rename par to par_offset and use a local
1516 reference. Add code to keep the language over a rebreak.
1517 (breakParagraphConservative): rename par to par_offset, use a
1519 (mergeParagraph): ditto
1521 (isFirstInSequence): ditto
1522 (outerFont): rename pit to par_offset
1524 * paragraph.C: ws change
1525 * paragraph.h: ditto
1529 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1531 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1534 * paragraph.C (simpleTeXOnePar): when we have a \item with
1535 optional argument, enclose the argument with curly brackets (in
1536 case it contains a closing square bracket)
1540 * text3.C (checkInsetHit): constify
1542 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1544 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1545 documents (bug 1629)
1547 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1549 Fix toggling of collapsable insets with the mouse (bug 1558)
1551 * lyxfunc.C (dispatch): adapt to LCursor changes
1553 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1554 make sure that dispatch is not invoked twice
1556 * cursor.C (needsUpdate): new method
1557 (dispatch): return void
1558 (result): new method, to access the DispatchResult of the cursor.
1560 2004-08-13 José Matos <jamatos@lyx.org>
1562 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1564 2004-08-13 André Pönitz <poenitz@gmx.net>
1566 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1568 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1571 2004-08-12 André Pönitz <poenitz@gmx.net>
1573 * text3.C: take out the 'cursor right' form insertInset and only
1574 do it in those places when it is really needed. Fixes crash on
1577 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1579 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1581 * BufferView_pimpl.C (setBuffer): initialize the current font of
1582 the underlying LyXText
1584 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1586 * kbsequence.C (print): use UI native formatting for menu
1589 * text.C (insertChar): call Paragraph::insertChar with a font
1592 * paragraph.C (insertInset, insertChar): the version that takes a
1593 LyXFont argument is now a wrapper around the other one (the
1594 opposite used to be true).
1596 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1597 argument. Font setting is done in Paragraph now.
1599 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1601 * outputparams.h: add new members intitle and lang.
1603 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1604 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1606 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1608 * text3.C (dispatch): remove special handling of button 4 and 5,
1609 it is now taken care of in the frontend code.
1611 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1613 * Spacing.h: add <string> (STLPort compile fix)
1615 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1617 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1619 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1621 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1624 * converter.C (showMessage): inherit from unary_function, make
1627 * buffer.C (writeFile): initialize retval
1629 * InsetList.h: rename private variable list to list_
1630 * InsetList.[Ch]: adjust accordingly.
1632 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1634 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1635 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1636 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1637 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1638 * ParagraphParameters.C, LaTeXFeatures.C: replace
1639 "support/std_sstream.h" with <sstream>
1641 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1643 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1644 * lyxsocket.C (LyXServerSocket): ditto
1645 (serverCallback): ditto
1647 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1649 * LaTeXFeatures.C: check release date when loading jurabib.
1651 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1653 * lyxserver.C (startPipe): call register_socket_callback
1654 (endPipe): call unregister_socket_callback
1656 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1658 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1659 (LyXServerSocket): register the callback
1660 (LyXServerSocket): unregister the callback
1661 (fd): delete function
1662 (serverCallback): improve error checking and setup the callbacks.
1663 (dataCallback): change arg to fd.
1664 (writeln): new func (copied fro the client socket) used for server
1666 (LyXDataSocket): simplify
1667 (~LyXDataSocket): close ann unregiser callback
1668 (server): delete function
1669 (fd): delete function
1670 (readln): small changes, improve some std::string usage
1671 (writeln): constify a bit
1673 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1675 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1678 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1680 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1681 after it has been populated
1683 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1685 * text2.C (insertInset): move cursor when inserting inset.
1687 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1689 * kbmap.C (findbindings): a couple of new methods. returns a
1690 container of kb_sequence objects. The real work is done by the
1691 private recursive version
1692 (printbindings): uses findbindings to print out a bracketed list
1693 of bindings (renamed from findbinding).
1695 * MenuBackend.C (binding): use kb_keymap::findbindings
1697 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1699 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1701 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1703 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1705 * paragraph.C (isWord): return true on insets that report
1708 * text.C (getWord): use Paragraph::isWord to decide what is in a
1709 word and what is not; fix bug 1609.
1711 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1713 * tex-strings.C: add "none" to string_paperpackages[], fixes
1714 off-by-one-error in the paperpackage selection.
1717 * tex-strings.[Ch]: char const * string[n]
1718 -> char const * const string[]
1720 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1722 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1723 command, return early.
1725 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1727 * debug.h: add DEBUG to enum and fix size of ANY.
1729 * debug.C: add support for Debug::DEBUG
1730 (showTags): cast errorTags.level to unsigned int
1732 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1733 (redoCurrentBuffer): ditto
1734 (updateScrollbar): ditto
1735 * cursor.C (dispatch): ditto
1736 * text2.C (setLayout): ditto
1738 (updateCounters): ditto
1740 (deleteEmptyParagraphMechanism): ditto
1742 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1744 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1745 annotations to cleanup the Makefile slightly.
1747 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1749 * lyxrc.C: do not set user_email to a default value but use empty
1750 instead. The entry used to be translated, which does not work
1751 since at the point where lyxrc is constructed there is no
1752 translation service available
1754 * messages.C (getLocaleDir): remove and use directly
1755 lyx_localedir() instead
1757 2004-06-02 Angus Leeming <leeming@lyx.org>
1759 Fix crash caused by dereferencing null pointer 'exportdata' in
1760 OutputParams by creating a new ExportData variable on the heap,
1761 storing it in a boost::shared_ptr.
1762 The crash was triggered when generating an Instant Preview
1763 of an external inset.
1765 * Makefile.am: add outputparams.C
1767 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1768 (c-tor): allocate memory to it.
1770 * exporter.C (c-tor): associated changes.
1772 2004-06-01 Angus Leeming <leeming@lyx.org>
1774 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1775 contains data before calling isInset(0). (Bug 1513.)
1777 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1779 * exporter.C (checkOverwrite): new method
1780 * exporter.C (copyFile): new method
1781 * exporter.C (Export): copy referenced files to the document dir
1782 * exporter.[Ch]: new class ExportedFile
1783 * exporter.[Ch]: new class ExportData. Contains currently the
1784 names of referenced external files
1785 * outputparams.h: add exportdata member.
1787 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1789 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1792 2004-05-19 Angus Leeming <leeming@lyx.org>
1797 * lyxfunc.C: small changes due to the introduction of namespace
1798 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1800 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1802 * text3.C (dispatch): supress update when only moving the cursor
1803 * cursor.C (selHandle): remove commented code
1805 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1807 * paragraph.C (startTeXParParams): correct column count
1808 * CutAndPaste.C (pasteSelection): remove const_cast
1809 * output_docbook.C (docbookParagraphs): remove const_cast
1810 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1811 const_cast and return ParagraphList::const_iterator
1812 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1813 * output_plaintext.C (writeFileAscii): remove const_cast
1814 * paragraph.[Ch] (simpleTeXOnePar): make const
1815 * paragraph_funcs.C (outerPar): use const iterators
1816 * paragraph_pimpl.C (validate): use const iterators
1817 * text.C (setHeightOfRow): use const iterators
1819 2004-05-17 Angus Leeming <leeming@lyx.org>
1822 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1824 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1825 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1826 if the citation engine has changed.
1828 2004-05-14 José Matos <jamatos@lyx.org>
1830 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1831 if the textclass does not provide it. Have it different for sgml and
1833 support the language of document.
1834 * output_docbook.C (docbookParagraphs):
1835 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1836 first anchor as the id of the paragraph, remove special case code.
1837 * sgml.C (escapeChar): escape only < & >.
1839 2004-05-14 Angus Leeming <leeming@lyx.org>
1841 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1842 dependencies on src/frontends/controllers/biblio.h. Define a
1843 CiteEngine_enum wrapper class to enable the enum to be forward
1846 2004-05-12 Angus Leeming <leeming@lyx.org>
1848 * buffer.C: up LYX_FORMAT to 234.
1849 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1850 use_numerical_citations with a single biblio::CiteEngine cite_engine
1852 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1854 2004-05-13 José Matos <jamatos@lyx.org>
1857 * converter.C (Converter, readFlags): add xml member.
1858 * outputparams.h: add XML flavor.
1859 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1861 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1863 * lyxfunc.C (dispatch):
1864 (getStatus): fix handling of LFUN_SEQUENCE
1866 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1868 * debug.C (showLevel): do not forget the end-of-line marker
1870 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1872 * kbmap.C (read): do not stop parsing a bind file when an error
1875 2004-04-29 Angus Leeming <leeming@lyx.org>
1880 * text2.C: wrap a bunch of #warning statements
1881 inside #ifdef WITH_WARNINGS blocks.
1883 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1885 * buffer.C: increment format to 233.
1887 2004-04-28 Angus Leeming <leeming@lyx.org>
1889 * BufferView_pimpl.C:
1892 s/updateToolbar()/updateToolbars()/
1893 s/Toolbar.h/Toolbars.h/
1895 2004-04-28 Angus Leeming <leeming@lyx.org>
1897 * BufferView.[Ch] (c-tor):
1898 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1899 No longer passes these data to the WorkArea generator.
1901 2004-04-28 Angus Leeming <leeming@lyx.org>
1903 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1905 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1907 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1909 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1911 * output_latex.C (TeXEnvironment): make sure that there is a line
1912 break before \end{foo} for the last paragraph of a document
1913 (TeXOnePar): if the paragraph is at the end of the document (or
1914 inset) and the language has to be reset, then make sure that the
1915 line break is _before_ the language command, not after (fixes bug
1916 1225); also make sure that the language reset command is the first
1917 thing after the paragraph (to ensure proper nesting of
1918 environments and thus fix bug 1404)
1920 2004-04-21 John Levon <levon@movementarian.org>
1923 * ToolbarBackend.C: make "name" be a programmatic name
1924 and a gui_name field.
1926 * lyxfunc.C: display the minibuffer on M-x
1928 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1930 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1933 2004-04-19 Angus Leeming <leeming@lyx.org>
1935 * BufferView_pimpl.C (setBuffer): changed preview interface.
1937 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1940 2004-04-19 John Levon <levon@movementarian.org>
1942 * BufferView_pimpl.C:
1943 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1945 2004-04-05 Angus Leeming <leeming@lyx.org>
1947 * text.C (redoParagraphs): add call to updateCounters(), thereby
1948 fixing the missing "Figure #:" label from the caption of a
1951 2004-04-13 Angus Leeming <leeming@lyx.org>
1953 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1954 cursor is clicked out of an inset.
1956 2004-04-13 Angus Leeming <leeming@lyx.org>
1958 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1959 than an InsetOld one.
1961 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1963 * format.[Ch]: add editor to Format
1964 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1965 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1967 2004-04-08 André Pönitz <poenitz@gmx.net>
1969 * metricsinfo.h: remove PainterInfo::width member
1971 2004-04-08 Angus Leeming <leeming@lyx.org>
1973 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1974 "\providecommand" rather than "\newcommand", thereby preventing
1975 clashes with packages that define "\boldsymbol" themselves.
1978 2004-04-08 Angus Leeming <leeming@lyx.org>
1980 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1981 thereby squashing an unnecessary warning.
1983 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1985 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1988 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1990 * BufferView.C (setCursor): call redoParagraph (some insets could
1992 (putSelectionAt): remove the 'double update' trick
1994 * BufferView_pimpl.C (fitCursor): call refreshPar
1995 (workAreaDispatch): remove an uneeded update call
1996 (dispatch): remove some manual update calls
1998 * cursor.[Ch]: remove cached_y_, updatePos
1999 (selHandle): set noUpdate when appropriate
2001 * lyxfunc.C (dispatch): track if we need an update
2003 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2005 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2006 (paintSelection): cheap optimization, do not call cursorX when not
2008 (paintPars): change signature
2011 (paintTextInset): adjust
2015 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2017 * lengthcommon.C: compilation fix: remove explicit array size from
2018 unit_name[] and friends
2020 2004-04-05 Angus Leeming <leeming@lyx.org>
2022 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2024 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2025 present only for the preferences dialog.
2026 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2028 2004-04-05 Angus Leeming <leeming@lyx.org>
2030 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2031 to enable the frontends to export changes to lyxrc correctly.
2033 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2035 2004-04-07 André Pönitz <poenitz@gmx.net>
2037 * cursor.[Ch] (selClear, adjust): remove math
2039 * cursor_slice.C: more agressive assert
2042 * BufferView_pimpl.C: rework mouse event dispatch
2049 2004-04-05 André Pönitz <poenitz@gmx.net>
2051 * cursor.[Ch] (valign, halign...): remove unneeded functions
2053 2004-04-05 Angus Leeming <leeming@lyx.org>
2055 * lyxlength.[Ch] (unit_name et al.): const-correct.
2057 2004-04-05 Angus Leeming <leeming@lyx.org>
2059 * BufferView_pimpl.C:
2068 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2070 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2072 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2074 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2076 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2077 * BufferView_pimpl.[Ch] (getStatus)
2078 * BufferView.[Ch] (getStatus): add
2079 * lyxfunc.C (getStatus): move lfuns handled in
2080 BufferView::dispatch to te function above
2081 * Cursor.C (setSelection): set selection() = true
2083 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2085 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2087 2004-03-31 Angus Leeming <leeming@lyx.org>
2089 * lyxfunc.C (dispatch): Fall through to the generic
2090 Dialogs::show("preamble").
2092 2004-03-31 Angus Leeming <leeming@lyx.org>
2094 * lyxfunc.C (dispatch): Fall through to the generic
2095 Dialogs::show("spellchecker").
2097 2004-03-31 Angus Leeming <leeming@lyx.org>
2099 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2102 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2107 * insetiterator.[Ch]:
2112 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2114 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2116 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2117 insets where we are putting the cursor.
2119 2004-03-31 Angus Leeming <leeming@lyx.org>
2122 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2124 * lyxrc.[Ch] (read, write): overloaded member functions taking
2125 a std::[io]stream arguments.
2127 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2129 2004-03-31 Angus Leeming <leeming@lyx.org>
2131 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2132 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2134 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2135 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2137 2004-03-31 Angus Leeming <leeming@lyx.org>
2139 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2140 the LFUN_ALL_INSETS_TOGGLE code.
2142 2004-03-30 Angus Leeming <leeming@lyx.org>
2144 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2145 has died. Fall through to the generic Dialogs::show("document").
2147 2004-03-30 Angus Leeming <leeming@lyx.org>
2150 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2151 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2153 * lyxfunc.C (getStatus, dispatch): define the actions for these
2154 lfuns. Little more than a cut and pste job from ControlDocument.C
2156 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2158 2004-03-30 Angus Leeming <leeming@lyx.org>
2161 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2162 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2164 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2165 open/closed state of ollapsable insets. Usage:
2167 all-inset-toggle <state> <name>, where
2168 <state> == "open" || "closed" || "toggle" and
2169 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2171 * lyxtext.h, text2.C (toggleInset): removed.
2173 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2174 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2175 now passes LFUN_INSET_TOGGLE to the found inset.
2177 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2178 is now invoked as "all-insets-toggle toggle branch".
2180 2004-03-30 Angus Leeming <leeming@lyx.org>
2184 * pariterator.[Ch]: added/corrected header blurb.
2186 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2188 * dociterator.[Ch]: add an inset_ member
2189 (backwardPos): implemented
2190 (backwardPos, forwardPos): use inset_ when the stack is empty.
2191 (doc_iterator_begin, doc_iterator_end): implemented
2192 * pariterator.[Ch]: adjust, add begin, end
2193 * insetiterator.[Ch]: adjust, add begin, end
2197 * BufferView_pimpl.C:
2198 * CutAndPaste.C: adjust
2200 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2202 * buffer.C: increment file format to 232.
2203 * LaTeXFeatures.C: add bibtopic package.
2204 * bufferparams.[Ch]: param \use_bibtopic.
2206 * lyxrc.[Ch]: add lyxrc bibtex_command
2207 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2209 * buffer.C: increment file format to 231.
2211 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2213 * dociterator.C: implement forwardPar
2214 * iterators.[Ch]: remove, replaced by
2215 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2217 * BufferView_pimpl.C:
2220 * bufferview_funcs.C:
2226 * Makefile.am: adjust
2228 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2230 * CutAndPaste.C (pasteSelection): fix 2 crashes
2231 (eraseSelection): fix a crash
2232 * paragraph_funcs.C: remove a warning
2234 2004-03-28 Angus Leeming <leeming@lyx.org>
2237 * LyXAction.C (init): new LFUN_PRINT.
2239 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2241 2004-03-27 Angus Leeming <leeming@lyx.org>
2244 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2246 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2248 2004-03-27 Angus Leeming <leeming@lyx.org>
2250 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2251 insetlist always contains non-null pointers to insets.
2253 2004-03-26 Angus Leeming <leeming@lyx.org>
2255 * src/BufferView_pimpl.C:
2256 * src/CutAndPaste.C:
2259 * src/output_plaintext.C:
2260 * src/outputparams.h:
2261 * src/paragraph_funcs.C:
2265 * src/frontends/controllers/ControlErrorList.C:
2266 * src/frontends/gtk/FileDialogPrivate.C:
2267 * src/frontends/gtk/GPainter.C:
2268 * src/frontends/gtk/GToolbar.C:
2269 * src/frontends/qt2/QRef.C:
2270 * src/mathed/math_scriptinset.C: squash compiler warnings.
2272 2004-03-26 Angus Leeming <leeming@lyx.org>
2274 * ispell.C (LaunchIspell::start):
2275 * lyx_cb.C (AutoSaveBuffer::start):
2276 invoke run(DontWait) rather than runNonBlocking().
2278 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2280 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2282 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * kbsequence.C (print): adjust
2286 * kbmap.C (printKeySym): rename and change signature
2287 (printKey): use LyXKeySym::print()
2289 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2291 * undo.C: add using std::advance to compile for stlport
2293 2004-03-24 Angus Leeming <leeming@lyx.org>
2295 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2296 it leads to a crash when no buffer is present.
2298 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2299 Martin Vermeer <martin.vermeer@hut.fi>
2301 * lyxfunc.C (dispatch):
2302 * bufferparams.C (readToken): use the new LColor::setColor
2304 * LColor.[Ch] (setColor): new version that takes two strings as
2305 argument and creates a new color entry if necessary
2307 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2309 * buffer.C (makeLaTeXFile): if the main latex file that is
2310 processed is usually a subdocument of some master, then pretend
2311 for a while that it is actually the master
2313 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2315 * buffer.C (getLabelList):
2316 (getBibkeyList): use getMasterBuffer()
2317 (getMasterBuffer): new method. Returns the main document in the
2318 case where one is using included documents.
2320 2004-03-25 André Pönitz <poenitz@gmx.net>
2324 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2326 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2328 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2329 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2331 * ParameterStruct.h: merge with ParagraphParameters
2333 * lyxtext.h: remove LyXText::parOffset() and getPar()
2335 * text3.C: Remove all 'manual' update calls. We do now one per user
2336 interaction which is completely sufficient.
2340 * BufferView_pimpl.C:
2341 * FontIterator.[Ch]:
2343 * ParagraphParameters.[Ch]:
2348 * cursor_slice.[Ch]:
2355 * output_docbook.[Ch]:
2356 * output_latex.[Ch]:
2357 * output_linuxdoc.[Ch]:
2358 * output_plaintext.[Ch]:
2360 * paragraph_funcs.[Ch]:
2361 * paragraph_pimpl.[Ch]:
2369 * frontends/controllers/ControlDocument.C:
2370 * frontends/controllers/ControlErrorList.C:
2371 * frontends/controllers/ControlSpellchecker.C:
2374 * insets/insetbase.h:
2375 * insets/insetbibitem.C:
2376 * insets/insetbox.C:
2377 * insets/insetbranch.C:
2378 * insets/insetcaption.C:
2379 * insets/insetcharstyle.C:
2380 * insets/insetcharstyle.h:
2381 * insets/insetcollapsable.C:
2382 * insets/insetcollapsable.h:
2383 * insets/insetert.C:
2384 * insets/insetfloat.C:
2385 * insets/insetfoot.C:
2386 * insets/insetmarginal.C:
2387 * insets/insetnote.C:
2388 * insets/insetoptarg.C:
2389 * insets/insettabular.C:
2390 * insets/insettext.C:
2391 * insets/insettext.h:
2392 * insets/insetwrap.C:
2393 * mathed/math_mboxinset.C:
2394 * mathed/math_nestinset.C:
2395 * mathed/math_scriptinset.C:
2396 * mathed/math_scriptinset.h:
2399 2004-03-24 Angus Leeming <leeming@lyx.org>
2401 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2402 deal with any child processes that have finished but are waiting to
2403 communicate this fact to the rest of LyX.
2405 2004-03-24 Angus Leeming <leeming@lyx.org>
2407 64-bit compile fixes.
2409 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2410 (c-tor): pass lyx::pos_types rather than ints.
2412 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2415 * text.C (Delete): compile fix.
2416 (getPar): ensure that function declaration is the same as that in
2419 2004-03-23 Angus Leeming <leeming@lyx.org>
2421 * ispell.C (LaunchIspell):
2422 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2423 a boost::shred_ptr rather than a std::auto_ptr.
2425 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2427 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2428 handle LFUN_FILE_INSERT_*
2430 * lyxrc.C (setDefaults, getDescription, output, read):
2431 * lyxrc.h: remove ps_command
2433 2004-03-22 Angus Leeming <leeming@lyx.org>
2435 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2436 Ensure that error_handler is processed once only and that all data
2437 is saved before attempting to output any warning messages.
2439 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2441 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2443 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2445 2004-03-19 André Pönitz <poenitz@gmx.net>
2447 * cursor.[Ch] (reset): take main text inset as argument
2449 * BufferView: adjust
2450 * BufferView_pimpl.C: adjust
2452 * paragraph.[Ch]: fix completely broken operator=()
2454 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2456 * LColor.C (getFromLyXName): make sure that the color name is used
2459 2004-03-17 Angus Leeming <leeming@lyx.org>
2462 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2464 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2465 dialog and to kill a forked process.
2467 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2469 * text2.C (setCursorFromCoordinates): fix font problem
2471 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2473 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2474 bogus "rebuild cursor" code
2476 2004-03-11 André Pönitz <poenitz@gmx.net>
2478 * buffer.[Ch]: use InsetText instead of LyXText as container for
2481 * dociterator.[Ch]: drop the BufferView * member which is not needed
2482 anymore after the change to buffer.C
2484 * paragraph_funcs.C:
2488 * BufferView_pimpl.[Ch]:
2490 * cursor_slice.[Ch]: adjust
2492 * text3.C: fix bug in mathDispatch
2494 2004-03-08 André Pönitz <poenitz@gmx.net>
2496 * undo.[Ch]: use 'StableDocumentIterator' as base for
2499 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2502 * bufferparams.[Ch]: add jurabib support and param.
2504 * LaTeX.C: add FIXME/comment.
2506 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2508 * buffer.C: increment file format to 230.
2510 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2512 * cursor.C (dispatch): avoid infinite loops
2514 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2516 * rowpainter.C (paintSelection): fix x coordinates
2518 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2520 * text.C (rowBreakPoint): fix breaking before displayed insets
2522 2004-03-01 André Pönitz <poenitz@gmx.net>
2524 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2526 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2530 * BufferView_pimpl.C:
2538 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2544 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2545 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2547 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2549 * Bidi.[Ch] (computeTables): const correctness
2550 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2551 fill_hfill, fill_label_hfill and x from Row
2552 * lyxtext.h: prepareToPrint returns a RowMetrics
2553 * rowPainter.C: adjust
2554 * text.C (prepareToPrint): use width, not textWidth. adjust
2555 (redoParagraphInternal, cursorX): adjust
2556 * text2.C (getColumnNearX): adjust
2557 (init): put a default value to the top LyXText::width
2559 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2561 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2563 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2565 * lyxtext.h: add FontIterator class
2567 * text.C (FontIterator, operator*, operator->, operator++): add
2568 (rowBreakPoint, setRowWidth): adjust (fixing a
2571 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2573 * BufferView_pimpl.C (workAreaDispatch): allow also
2574 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2576 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2578 * text.C (rowBreakPoint): fix a bug showing with very large insets
2580 2004-02-25 André Pönitz <poenitz@gmx.net>
2583 * cursor.[Ch]: move some mathed specific code to mathed
2585 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2587 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2588 use_tempdir in preferences
2589 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2591 * lyx_main.C: ensure that tempdir is valid
2592 * lyxlex.h: correct typo
2593 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2594 * paragraph.[Ch] (isMultiLingual): make const
2595 * cursor.[Ch] (openable): make const
2597 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2599 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2601 2004-02-20 André Pönitz <poenitz@gmx.net>
2603 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2605 * cursor.[Ch]: prepare for localized getStatus()
2611 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2613 2004-02-20 André Pönitz <poenitz@gmx.net>
2615 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2617 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2619 * text2.C (setCursorFromCoordinates): switch to absolute coords
2621 (cursorDown): adjust
2622 * text3.C (dispatch): adjust
2624 2004-02-16 André Pönitz <poenitz@gmx.net>
2626 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2629 * cursor_slice.[Ch]: remove unneeded acessor function
2631 * lyxtext.h: rename rtl() to isRTL()
2639 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2641 * rowpainter.C (paintSelection): coord fix
2643 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2645 * Spacing.C: compile fix
2647 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2649 * cursor.C (dispatch): restore current_ before returning
2651 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2653 * text2.C (cursorUp, cursorDown): fix coords
2656 2004-02-12 André Pönitz <poenitz@gmx.net>
2661 * text3.C: add LCursor & parameter to most cursor movement functions
2662 remove usage of LyXText::cursorRow() and cursorPar()
2664 * cursor.[Ch]: add textRow() needed members
2667 * BufferView_pimpl.C:
2670 * BufferView_pimpl.C: adjust
2672 2004-02-11 André Pönitz <poenitz@gmx.net>
2676 * BufferView_pimpl.C: shift undo/redo handling
2678 * cursor.[Ch]: fix mathed crash
2681 * lyxtext.h: move selectionAsText to LCursor
2689 * rowpainter.C: fix excessive drawing
2691 2004-02-06 André Pönitz <poenitz@gmx.net>
2694 * BufferView_pimpl.[Ch]:
2695 * text3.C: move some text specific LFUN handling
2697 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2699 * text3.C (checkInsetHit): adjust coords
2700 * text2.C (getColumnNearX): adjust coords
2701 (edit): adjust coords
2702 * text.C (getRowNearY): add two asserts
2704 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2707 * format.C: add using std::distance to compile on gcc 2.95/stlport
2709 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2711 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2713 2004-02-04 André Pönitz <poenitz@gmx.net>
2715 * BufferView.[Ch] (insertInset):
2716 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2721 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2723 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2724 on the default clause of the switch
2725 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2726 wasn't catched by LCursor::dispatch
2728 2004-02-03 André Pönitz <poenitz@gmx.net>
2731 * cursor.[Ch]: some additional asserts
2733 * undo.[Ch]: remove LyXText dependency in interface
2737 * lyxtext.h (firstPar, lastPar): remove dead functions
2742 * paragraph.[Ch]: adjust
2744 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2746 * lyxfind.C (find): fix argument order in call to ::find
2748 2004-02-02 André Pönitz <poenitz@gmx.net>
2750 * cursor.[Ch]: remove direct access to anchor
2752 * text.C: remove findText() hack
2754 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2756 * iterators.[Ch] (lockPath): remove in favour of...
2757 * BufferView.[Ch] (setCursor): this addition
2758 * BufferView.C (putSelectionAt): adjust
2759 * undo.C (performUndoOrRedo): adjust
2760 * lyxfunc.C (dispatch): adjust
2762 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2764 * iterators.C (lockPath): add a missing slice
2765 * undo.C (performUndoOrRedo): remove redundant positioning code
2767 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2769 * vc-backend.C (scanMaster): ";" -> ';'
2771 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2773 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2774 std::binary_function
2776 * lyxtextclass.C (compare_name): rename to...
2777 (LayoutNamesEqual): ...this
2779 * lyxlex_pimpl.C (compare_tags): inherit from
2780 std::binary_function, put back into anon namespace
2782 * lyxfind.C (MatchString): inherig from std::binary_function
2783 (findChange): use empty() istead of !size()
2785 * format.C (FormatNamesEqual): new functor
2792 * converter.C (compare_Converter): rename to...
2793 (ConverterEqual): ...this, and fixup a bit.
2794 (getConverter): use it, and make function const
2795 (getNumber): use it, and make function const
2799 * bufferlist.C: add using boost::bind
2801 * MenuBackend.C (MenuNamesEqual): new functor
2802 (hasMenu): use it, and make function const
2803 (hasSubmenu): use nested bind to get rid of compare_memfun.
2805 2004-01-30 André Pönitz <poenitz@gmx.net>
2807 * BufferView_pimpl.C:
2810 * cursor_slice.[Ch]:
2813 * paragraph_funcs.C:
2814 * paragraph_funcs.h:
2818 * text3.C: move some of the edit(x,y) handling to the insets
2819 some coordinate changes.
2821 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2823 * text.C: add using statements for std::advance and std::distance
2825 * paragraph.C: add using statement for std::distance
2827 * lyxfind.C: add using statement for std::advance
2829 * cursor.C (region): remove std:: from swap
2830 (openable): use nucleus in stead of operator->
2832 * BufferView.C: add using statements for std::distance and std::swap
2834 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2836 * iterators.C: Remove the pimple, move the needed structures to
2837 the header file. Create accessor for the positions stack.
2838 (asPosIterator): remove function
2840 * PosIterator.C (PosIterator): move constructors to top of file
2841 (PosIterator): reimplement the constructor taking a ParIterator in
2843 (setFrom): new function
2844 (operator!=): inline it
2846 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2848 * lyxfind.C (replaceAll): use std::advance
2850 * iterators.h: inherit from std::iterator.
2852 * PosIterator.C (advance, distance): remove
2853 * PosIterator.h: interit from std::iterator.
2855 2004-01-26 André Pönitz <poenitz@gmx.net>
2858 * BufferView_pimpl.[Ch]:
2862 * bufferview_funcs.C:
2872 * output_linuxdoc.C:
2873 * output_plaintext.C:
2875 * paragraph_funcs.[Ch]:
2876 * paragraph_pimpl.[Ch]:
2882 * text3.C: more IU: dumps most of the rest of the mathcursor
2883 implementation into cursor.[Ch]; "globalize" a bit of it.
2885 2004-01-25 Angus Leeming <leeming@lyx.org>
2887 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2889 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2891 * LaTeXFeatures.h: add nice_ and nice() const
2892 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2894 2004-01-20 André Pönitz <poenitz@gmx.net>
2897 * BufferView_pimpl.C:
2899 * bufferview_funcs.C:
2901 * cursor_slice.[Ch]:
2912 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2913 LCursor and mathcursor parts to LCursor and InsetBase.
2915 2004-01-15 André Pönitz <poenitz@gmx.net>
2917 * cursor_slice.[Ch]: add a few covienience functions
2919 * funcrequest.[Ch]: remove BufferView * member
2921 * BufferView_pimpl.C:
2928 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2930 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2932 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2933 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2935 2004-01-13 André Pönitz <poenitz@gmx.net>
2938 * lyxtext.h: hide cursor and selection anchor behind accessor function
2941 * BufferView_pimpl.[Ch]:
2943 * bufferview_funcs.C:
2953 * cursor_slice.[Ch]: some integer type changes for inset unification
2955 * lyxcursor.[hC]: remove, it's CursorSlice now.
2958 * BufferView_pimpl.[Ch]:
2959 * bufferview_funcs.C:
2965 * textcursor.[Ch]: adjust
2967 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2969 * text2.C (undoSpan): add and use
2970 * text.C (breakParagraph): use undoSpan (fix bug 578)
2973 2004-01-08 Angus Leeming <leeming@lyx.org>
2975 * BufferView_pimpl.C (MenuInsertLyXFile):
2976 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2977 * lyxfunc.C (menuNew, open, doImport):
2978 FileFilterList change to the FileDialog open and save functions.
2980 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2982 * ShareContainer.h: make isEqual and isUnique adaptable
2984 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2986 2004-01-07 Angus Leeming <leeming@lyx.org>
2989 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2991 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2993 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2994 functions replacing find, replace and replaceAll.
2996 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2997 LFUN_WORDFIND(FORWARD|BACKWARD).
2999 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3001 * text.C (breakParagraph): remove an outdated #warning
3003 2004-01-07 André Pönitz <poenitz@gmx.net>
3005 * lyxfind.C: somewhat clearer logic
3007 * text.C: prevent crash in cursorX on unitialized row cache
3009 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3011 * lyxcursor.[Ch] (operator>): add
3012 * textcursor.C (selStart, selEnd): use std::min and std::max
3014 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3016 * Chktex.C: include boost/format.hpp
3018 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3020 * InsetList.C: replace functor MathcIt with adaptable functor
3022 (insetIterator): modify accordingly
3024 * BranchList.h: move the BranchNamesEqual functor here from...
3025 * BranchList.C: ... to here
3027 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3029 (add): replace a finding loop with std::find_if.
3031 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3033 * output_docbook.C: moving LatexParam functionality into
3036 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3038 * buffer.C: increment format to 229.
3040 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3043 * lyx_sty.[Ch]: remove minipageindent_def
3049 * text3.C: remove LFUN_INSET_MINIPAGE
3051 2003-12-28 Angus Leeming <leeming@lyx.org>
3053 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3055 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3057 * text2.C (setParagraph): fix off-by-one crash
3059 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3061 * output_docbook.C: header stuff for AGU
3063 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3065 * text2.C (redoCursor): remove
3068 * BufferView_pimpl.C: remove calls to redoCursor and
3069 setCursor(cursor.par(), cursor.pos()) all around
3071 2003-12-15 Angus Leeming <leeming@lyx.org>
3073 * buffer.C: up the format to 228.
3075 2003-12-15 André Pönitz <poenitz@gmx.net>
3077 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3082 * BufferView_pimpl.C:
3091 2003-12-15 Angus Leeming <leeming@lyx.org>
3093 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3094 than getFromGUIName to manipulate the color.
3096 2003-12-14 Angus Leeming <leeming@lyx.org>
3098 * BranchList.[Ch]: minimize the API.
3099 (Branch::getBranch, getColor): now return a 'const &'.
3100 (Branch::setSelected) now returns a bool set to true if the
3101 selection status changes.
3102 (BranchList::clear, size, getColor, setColor, setSelected,
3103 allBranches, allSelected, separator): removed.
3104 (BranchList::find): new functions, returning the Branch with
3106 (BranchList::add, remove): return a bool indicating that
3107 the operation was successful.
3109 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3110 new InsetBranch::isBranchSlected member function.
3112 * LColor.[Ch]: mimimize the API.
3113 (fill): renamed as addColor and made private.
3114 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3115 versions of these functions taking a string arg have been removed.
3117 * bufferparams.C (readToken):
3118 * lyxfunc.C (dispatch):
3119 * lyxrc.C (read): changes due to the altered BranchList and
3122 * factory.C (createInset, readInset): changes due to altered
3125 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3128 * lyxfunc.C: remove insetminipage. "minipage-insert"
3129 now produces a frameless minipage box inset.
3131 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3133 * textcursor.[Ch] (selStart,selEnd): add new methods
3134 remove selection::start, end, use LyXCursor::operator<
3135 * lyxcursor.[Ch] (operator<): add
3136 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3137 * BufferView.[Ch] (unsetXSel): add
3138 * text2.C (clearSelection): use unsetXSel,adjust
3141 * rowpainter.C: adjust
3142 * bufferview_funcs.C (put_selection_at): adjust
3144 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3146 * BufferView_pimpl.C: small coord. correction
3148 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3150 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3151 dragging over the splash screen.
3153 2003-12-11 Angus Leeming <leeming@lyx.org>
3155 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3156 as it is now handled in LyXText::dispatch.
3158 * text3.C (doInsertInset): remove a level of nesting.
3160 2003-12-11 Angus Leeming <leeming@lyx.org>
3162 * factory.C (createInset): changes due to the changed interface to
3163 InsetCommandMailer::string2params.
3165 2003-12-10 Angus Leeming <leeming@lyx.org>
3167 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3168 'dialog-show-new-inset <inset name>'
3170 2003-12-10 Angus Leeming <leeming@lyx.org>
3172 * buffer.C: up the format to 227.
3174 * factory.C: the box inset is now identified simply by 'Box'.
3176 2003-12-10 Angus Leeming <leeming@lyx.org>
3178 * buffer.C: up the format to 226.
3180 * factory.C: the note inset is now identified simply by 'Note'.
3182 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3184 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3185 when a pit is enough. Standarize a couple of loops.
3187 2003-12-05 Angus Leeming <leeming@lyx.org>
3189 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3190 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3191 data to the re-worked "log" dialog.
3193 2003-12-03 André Pönitz <poenitz@gmx.net>
3199 * paragraph_funcs.C:
3201 * text2.C: use Inset::getText instead of Inset::getParagraph
3203 2003-12-03 André Pönitz <poenitz@gmx.net>
3207 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3208 InsetText::read() as LyXText::read()
3210 2003-12-02 Angus Leeming <leeming@lyx.org>
3212 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3213 type. Add a comment in the implementation that the function uses
3214 the stream's bad() function rather than fail() as the std::streams
3217 2003-12-02 André Pönitz <poenitz@gmx.net>
3219 * lyxlex.[Ch]: make interface more similar to std::stream
3221 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3223 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3225 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3227 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3229 * vspace.[Ch]: remove VSpace::NONE
3231 2003-12-01 André Pönitz <poenitz@gmx.net>
3234 * lyxtext.h: move ParagraphList member to LyXText
3235 rename LyXText::ownerParagraphs to LyXText::paragraph
3238 * bufferview_funcs.C:
3248 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3250 * undo.C: fix cursor positioning
3252 2003-12-01 John Levon <levon@movementarian.org>
3254 * BufferView_pimpl.C: fix a crash on exit with
3257 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3259 * BranchList.C: fix setSelected() method.
3261 2003-11-28 André Pönitz <poenitz@gmx.net>
3263 * ParagraphParameters.[Ch]:
3264 * ParameterStruct.h: remove space above/below from Paragraph to
3267 * BufferView_pimpl.C:
3273 * paragraph_funcs.C:
3279 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3281 * factory.C: Syntax change for CharStyles
3283 2003-11-28 André Pönitz <poenitz@gmx.net>
3288 * buffer.[Ch]: move LyXText member
3290 2003-11-28 André Pönitz <poenitz@gmx.net>
3292 * BufferView.[Ch]: make LyXText * text a private member
3294 * BufferView_pimpl.C:
3305 * output_plaintext.C: cleanup
3307 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3310 * lyxtextclass.[Ch]: parametrize SGML document header
3312 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3315 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3318 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3320 * text2.C (setFont): rework using PosIterator (no more recursive)
3321 (setCharFont): no more needed
3322 (setLayout): no more selection cursors fiddling (done by redoCursor)
3323 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3324 destroy remaining ones)
3326 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3328 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3330 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3333 * text3.C: adjust + re-allow multi par depth changes
3334 * textcursor.C: simplify a bit
3336 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3342 * src/output_docbook.C:
3343 * src/output_latex.C:
3348 * src/text2.C: Introducing a number of tags parametrizing various
3349 XML formats that we may want to support
3351 2003-11-25 André Pönitz <poenitz@gmx.net>
3353 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3355 * lyxtext.h (leftMargin/rightMargin): simplify interface
3362 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3364 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3365 master file to any child files. Fixes bug 546.
3367 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3369 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3371 2003-11-24 André Pönitz <poenitz@gmx.net>
3373 * rowpainter.C: simplification
3375 * text2.C (updateCounters): remove call to redoParagraph on
3376 changed labels as this is far too expensive.
3378 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3380 * converter.C (convert): fix a crash: this function gets
3381 called with buffer == 0 from importer code.
3383 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3385 * text3.C (cursorPrevious): make sure that we do not compare
3386 iterators form different containers.
3389 * rowpainter.C (paintSelection): make sure that we do not compare
3390 iterators from different containers.
3392 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3393 iterators from different ParagraphList containers.
3396 * text2.C (LyXText): change order of initialization slightly
3397 (operator=): new function. copy all variables except cache_par_
3398 (moveUp): make sure that we do not compare iterators from
3399 different ParagraphList constainers.
3402 * text.C (firstPar): new function
3403 (lastPar): new function
3404 (endPar): new function
3406 * lyxtext.h: move things around and group public functions, public
3407 variables, private functions, private variables
3409 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3411 * factory.C: change call to InsetERT constructor to avoid
3412 additional invocation of method status
3413 * text2.C (toggleInset): remove redundant update() call
3414 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3415 instead of a Bufferview pointer
3417 2003-11-21 André Pönitz <poenitz@gmx.net>
3419 * rowpainter.C: simplification
3421 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3423 * text3.C (dispatch): make possible to extend a word/row selection
3426 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3428 * lyxtext.h: x0_,y0_ -> xo_,yo_
3429 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3430 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3431 * rowpainter.C (paintRows): paint full paragraphs
3433 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3435 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3438 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3440 * lyxtext.h: add x0_, y0_
3441 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3442 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3444 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3446 * text2.C (setCursorIntern): move the x_target update here *
3447 * text3.C: change some bv() to true/false in calls to
3448 cursorUp/Down/Right/Left
3449 * cursor.C: use helper function.
3451 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3453 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3454 * paragraph_funcs.[Ch]: correct comment
3455 * rowpainter.C: do not paint selections away from bv->cursor()
3456 Fix a long standing selection painting bug.
3457 * text3.C: generalize mouse-selection code to LyXTexts other that
3459 * textcursor.C: do not use y coords if we can use par offsets
3461 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3463 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3464 cursor position after e.g. inset insert)
3466 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3468 * lyxfind.C (replace): adjust to locking removal + some
3471 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3473 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3476 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3479 * output_docbook.C: XML sanitation: new layout
3480 parameters InnerTag and CommandDepth
3482 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3484 * BufferView_pimpl.C:
3486 * text3.C: Fix the insertion and modification of button-style
3489 2003-11-13 André Pönitz <poenitz@gmx.net>
3491 * InsetList.[Ch]: remove deleteLyXText
3493 * paragraph.[Ch]: cache beginOfBody position
3498 * text3.C: remove superfluous update() calls
3502 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3504 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3505 * BufferView.C (fitLockedInsetCursor): remove
3506 * cursor.[Ch] (getDim): add
3507 * text.C (getRowNearY): add faster version
3508 * text3.C: remove some update calls
3510 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3522 * text3.C: The Character Style /XML short element patch.
3524 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3527 * factory.C: Small step to solving 'unable to insert some insets'
3530 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3532 * cursor.[Ch] (updatePos): new function for updating the y
3533 position of the tip inset
3534 * bufferview_funcs.C (put_selection_at):
3535 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3537 2003-11-11 André Pönitz <poenitz@gmx.net>
3539 * text.C: remove big comment on invalid Paragraph pointers as it is
3542 2003-11-11 André Pönitz <poenitz@gmx.net>
3544 * text_funcs.[Ch]: merge with ...
3552 * Makefile.am: remove text_funcs.[Ch]
3554 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3556 * cursor.C (getPos): return absolute cached y coord
3558 * BufferView_pimpl.C (fitCursor): new simplistic code
3559 (workAreaDispatch): add a fitCursor call
3561 2003-11-10 André Pönitz <poenitz@gmx.net>
3564 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3566 2003-11-10 André Pönitz <poenitz@gmx.net>
3568 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3569 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3570 indicate that the cursor needs to leave an inset
3572 * lyxtext.h: remove inset locking
3574 * cursor.[Ch]: re-implement functionality provided by inset locking
3577 * BufferView_pimpl.[Ch]:
3579 * bufferview_funcs.[Ch]:
3591 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3593 * PosIterator.[Ch]: replace the stack with a vector, add inset
3595 * iterators.[C]: adjust
3597 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3599 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3601 * paragraph_funcs.C (readParToken): put the correct id in the
3602 error item, not the id of the top paragraph
3604 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3606 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3607 * bufferview_funcs.C (put_selection_at): use the above
3609 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3611 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3613 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3615 * output_linuxdoc.h:
3616 * output_plaintext.h:
3618 * output_docbook.h: add #include statements
3620 2003-11-05 José Matos <jamatos@lyx.org>
3622 * output_docbook.[Ch]:
3623 * output_latex.[Ch]:
3624 * output_linuxdoc.[Ch]:
3625 * output_plaintext.[Ch]: New files for output formats.
3626 * output.[Ch]: New file for helper functions.
3629 * paragraph_funcs.[Ch]: output functions moved to new files.
3631 * outputparams.h: rename of latexrunparams.h
3639 * paragraph_funcs.[Ch]:
3640 * paragraph_pimpl.[Ch]:
3641 * tabular.[Ch]: rename ascii to plaintext
3642 and LatexRunParams to OutputParams.
3644 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3646 * iterators.[Ch] (text): require bv argument
3647 * undo.C (recordUndo):
3648 * lyxfunc.C (dispatch):
3649 * bufferview_funcs.C (put_selection_at): adjust
3651 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3653 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3655 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3657 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3660 2003-11-04 André Pönitz <poenitz@gmx.net>
3662 * cursor.[Ch]: restructure
3665 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3667 * iterators.[Ch] (asCursor): remove
3669 * lfuns.h: remove LFUN_INSET_EDIT
3675 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3677 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3679 * lyxfind.[Ch]: complete overhaul
3680 * BufferView_pimpl.C:
3682 * paragraph.[Ch] (insert): add
3684 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3688 * text.C: remove dead spellcheck code
3690 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * dispatchresult.h: add a val setter
3694 * cursor.C (dispatch): use a tempvar for data_[i]
3696 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3698 * PosIterator.[Ch]: compile fix
3700 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3702 * text.C (cursorPar): deactivate the cursor cache
3704 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3706 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3708 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * text3.C (dispatch): adjust for new DisptchResult semantics.
3712 * lyxfunc.C (dispatch): handle update when return from
3713 Cursor::dispatch, adjust for new DispatchResult semantics.
3715 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3716 DispatchResult(true) mean to not update. Add class functions for
3717 setting dispatched and update, as well as reading.
3719 * cursor.C (dispatch): don't handle update here
3721 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3724 * trans_mgr.C: adjust
3726 * paragraph_funcs.C (readParToken): exception safety
3728 * lyxvc.h: store the vcs pointer in a scoped_ptr
3731 * lyxsocket.C (serverCallback): exception safety
3733 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3735 * ispell.C (clone): make it return a auto_ptr
3737 * factory.C (createInset): exception safety
3738 (readInset): exception safety
3740 * bufferlist.C (newBuffer): exception safety
3742 * Thesaurus.C (Thesaurus): use initialization for aik_
3744 * MenuBackend.C (expandToc): exception safety.
3746 2003-11-03 André Pönitz <poenitz@gmx.net>
3750 * bufferview_funcs.C: remove getInsetFromId()
3753 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3759 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3761 * PosIterator.C (distance, advance): new
3762 * bufferview_funcs.[Ch] (put_selection_at): new
3763 * iterators.[Ch] (lockPath): new
3765 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3767 * iterators.[Ch] (asPosIterator): added
3768 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3769 * PosIterator.[Ch]: added
3771 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * cursor.C (dispatch):
3776 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3778 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3779 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3780 contructor, add a class function dispatched. Remove operator>=
3782 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3784 * debug.C: only use the default constructor for debugstream
3787 * main.C (main): include debug.h and setup the lyxerr streambuf
3790 2003-10-31 José Matos <jamatos@lyx.org>
3792 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3794 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3795 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3796 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3797 * paragraph_pimpl.C (simpleTeXSpecialC):
3798 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3799 add LatexRunParams argument.
3801 * exporter.C (Export): change call accordingly.
3803 * latexrunparams.h: add new member to take care of the other backends.
3804 2003-10-30 José Matos <jamatos@lyx.org>
3806 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3807 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3808 factorise code for paragraph output.
3810 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3813 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3815 * text3.C (dispatch):
3816 * lyxfunc.C (dispatch):
3817 * cursor.C (dispatch):
3818 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3820 * dispatchresult.h: make the dispatch_result_t ctor explicit
3822 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3825 * buffer.C: small refactoring of docbook stuff
3827 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3832 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3835 operator dispatch_result_t, and operators for == != and >=
3837 * cursor.C (dispatch): adjust for operator dispatch_result_t
3838 removal. comment out call to update
3840 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3842 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3850 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3853 * dispatchresult.h: new file, DispatchResult broken out of
3856 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3858 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3860 * text.C (rowBreakPoint): put a hack inside #if 0
3862 2003-10-28 André Pönitz <poenitz@gmx.net>
3866 * paragraph_funcs.C:
3869 * text2.C: general cleanup (lots of small stuff)
3871 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3873 * text2.C (cursorEnd): simple fix to the "end key goes to one
3874 before the end on last row" bug
3876 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3878 * text.C (backspace): fix the "zombie characters"
3880 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3882 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3884 2003-10-27 André Pönitz <poenitz@gmx.net>
3886 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3888 * factory.C: handle new InsetPagebreak, InsetLine
3890 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3891 and move handling into new InsetPagebreak, InsetLine
3893 * BufferView_pimpl.C:
3895 * ParagraphParameters.C:
3896 * ParameterStruct.h:
3901 * paragraph_funcs.C:
3902 * paragraph_pimpl.C:
3908 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3911 * lyxrow_funcs.[Ch]:
3917 * text3.C: remove lastPos uses in favour of Row::endpos
3919 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3921 * undo.C (performUndoOrRedo): fix two crashes by setting a
3922 cursor by hand and reordering some calls. Use bv->lockInset instead
3923 of inset->edit because the latter loses cursor information
3925 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3927 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3929 (rowBreakPoint): fix width. change point to point + 1.
3930 Add a missing check.
3932 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3935 * lyxfunc.C: fix (at least partly) the problems
3936 with the Nav menu and headers inside branch insets
3939 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3941 * paragraph.C (getChar): add strong asserts
3943 * lyxrow_funcs.C (lastPos): remove hideous hack
3945 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3946 (fill): adjust to that (avoid an infinite loop)
3948 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3950 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3952 2003-10-23 André Pönitz <poenitz@gmx.net>
3954 * RowList_fwd.h: change list<> to vector<> to gain speed
3955 after suggestion from Alfredo
3957 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3959 * lyxtext.h: move the bidi stuff from here...
3962 * Bidi.[Ch]: ... to here
3964 2003-10-23 André Pönitz <poenitz@gmx.net>
3967 * text.C (isLastRow, isFirstRow): new functions
3969 * paragraph.h: new width cache member
3971 * rowpainter.C: replace RowList::iterator with Row & where possible
3973 * lyxfunc.C: replace several view()->text with a single call
3975 * toc.C: fix 'unused' warning
3977 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3980 when woring with stream::pos_type
3981 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3983 2003-10-22 André Pönitz <poenitz@gmx.net>
3986 * text.C: use Row & instead of RowList::iterator
3988 * lyxrow.h: rename end() to endpos()
3994 2003-10-22 Angus Leeming <leeming@lyx.org>
3996 * buffer.[Ch] (fully_loaded): new member function, returning true
3997 only when the file has been loaded fully.
3998 Used to prevent the premature generation of previews and by the
3999 citation inset to prevent computation of the natbib-style label.
4001 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4002 templates are all set up.
4004 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4006 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4008 * text.C: fixed an "oops" in the "is a bit silly"
4011 2003-10-21 André Pönitz <poenitz@gmx.net>
4013 * FuncStatus.[Ch]: small stuff, whitespace
4015 * lyxfont.[Ch]: operator<<() for debug reasons
4019 * lyxtext.h: whitespace, spelling
4021 * paragraph.C: naming of variables
4024 * text2.C: small stuff
4027 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4029 * text.C: (1) finish off the inset display() work;
4030 (2) fix the "is a bit silly" bug (accessing char
4033 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4035 * text.C: re-introduce display() for insets, fixing the
4036 various bugs (stretch of line above, math inset
4039 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4041 * text.C (rightMargin): remove spurious semicolon
4043 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4046 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4048 * text3.C: fix one crash due to wrong cursor def
4050 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4052 * vc-backend.C (scanMaster): make the regex static
4054 * LaTeX.C (scanAuxFile): make the regexs static
4056 * text3.C (doInsertInset, dispatch, dispatch):
4057 * text2.C (cursorUp, cursorDown):
4058 * text.C (selectNextWordToSpellcheck):
4059 * BufferView_pimpl.C (dispatch):
4060 * lyxfunc.C (dispatch): localDispatch -> dispatch
4062 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4064 * lyxsocket.C: include <cerrno>
4066 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * lyxfunc.C (dispatch): remove textcache stuff
4070 * bufferlist.C (release): remove textcache stuff
4073 * TextCache.C: delete file
4074 * TextCache.h: delete file
4076 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4078 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4079 delete of the bv_->text.
4080 (resizeCurrentBuffer): remove texcache stuff
4081 (workAreaResize): ditto
4083 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4088 2003-10-16 André Pönitz <poenitz@gmx.net>
4095 * text3.C: speed up by storing y positions per paragraph plus per-row
4096 offset instead of having a 'full' y position in the row.
4098 2003-10-15 André Pönitz <poenitz@gmx.net>
4102 * undo.[Ch]: make undo aware of inner insets
4104 2003-10-14 Angus Leeming <leeming@lyx.org>
4106 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4107 static member functions LyX::ref() and LyX::cref.
4108 (lastfiles): new accessor functions for the new lastfiles_ member var.
4109 (addLyXView, views_): add a new LyXView to the list of views_.
4110 (updateInset): loop over all LyXViews to call their own updateInset
4111 member function, returning a pointer to the Buffer owning the inset.
4113 * BufferView_pimpl.C (loadLyXFile):
4114 * MenuBackend.C (expandLastfiles):
4115 * bufferlist.C (MenuWrite, QuitLyX):
4116 lastfiles is no longer a global variable.
4117 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4119 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4120 static function. Access through LyX::cref().emergencyCleanup().
4122 2003-10-14 André Pönitz <poenitz@gmx.net>
4124 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4126 * undo.[Ch]: restoring part of 'undo in insets'
4129 * undo_funcs.[Ch]: merge with undo.[Ch]
4131 * tabular.C: small cleansing stuff
4133 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4135 * paragraph_funcs.C (readParToken): report unknown insets as error
4136 boxes. Use the outer paragraph as location (also for unknown
4139 * factory.C (readInset): do not abort on reading an unknown inset.
4140 Eat it and return 0.
4142 2003-10-13 Angus Leeming <leeming@lyx.org>
4144 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4146 * lyxrc.C: displayTranslator is now a function,
4147 declared in GraphicsTypes.h.
4149 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4151 * format.C: new placeholder $$a to pass the socket address.
4153 * bufferlist.[Ch]: new function getBufferFromTmp.
4155 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4156 files in the temporary dir.
4158 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4160 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4162 * Makefile.am: add lyxsocket.[Ch].
4164 * lyx_main.C (error_handler): handle SIGPIPE.
4166 2003-10-13 André Pönitz <poenitz@gmx.net>
4168 * BufferView_pimpl.C:
4173 * undo_funcs.[Ch]: use paroffset_type instead of
4174 ParagraphList::iterators to prevent multiple conversion
4175 (and get a more robust interface)
4177 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4181 * text3.C (dispatch): ditto
4183 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4186 move the onlyfile, use onlyfile instead of foundfile in a couple
4189 * DepTable.C (update): flush the error stream a bit more
4191 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4193 * lyxserver.C (callback): adjust
4195 * lyxfunc.C (getStatus): add a missing brace in commented code
4196 (ensureBufferClean): reindent
4197 (dispatch): delete version taking a string
4199 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * LaTeX.C (deplog): move found file handlig from here...
4202 (handleFoundFile): .. to new function here.
4203 (deplog): make sure to discover several files mentioned on the
4206 2003-10-10 André Pönitz <poenitz@gmx.net>
4213 * text3.C: fix some of the tabular crashes
4215 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4217 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4219 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4221 2003-10-09 André Pönitz <poenitz@gmx.net>
4223 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4226 * BufferView_pimpl.C:
4227 * bufferview_funcs.C:
4238 * undo_funcs.C: adjust
4240 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * text2.C (incrementItemDepth): new function, use a backtracking
4243 algorithm to discover the correct item depth.
4244 (resetEnumCounterIfNeeded): new function, use a backtracking
4245 algorithm to discover if counter reset is needed.
4246 (setCounter): use them. Simplify a bit. Add different labels for
4247 different item depths for itemize.
4249 * paragraph.C (Paragraph): remove initialization of enumdepth
4252 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4253 enumerate and itemize. Change the type of itemdepth to signed char.
4255 2003-10-08 André Pönitz <poenitz@gmx.net>
4257 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4262 * tabular.[Ch]: fix crash after 'row-insert'
4264 2003-10-08 Angus Leeming <leeming@lyx.org>
4266 Fix doxygen warnings.
4268 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4269 Remove CutAndPaste:: prefix from header file declaration.
4271 * LColor.h (fill): remove LColor:: prefix from declaration.
4273 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4274 use lyx::depth_type rather than Paragraph::depth_type so that
4275 header file and .C file match.
4277 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4279 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4280 * aspell.C: \file aspell_local.C -> \file aspell.C
4281 * gettext.C: \file gettext.C -> \file src/gettext.C
4282 * gettext.h: \file gettext.h -> \file src/gettext.h
4283 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4284 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4285 * text.C: \file text.C -> \file src/text.C
4287 * toc.C: move comment so that doxygen is not confused.
4289 2003-10-07 Angus Leeming <leeming@lyx.org>
4291 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4293 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4296 * aspell_local.h: add forgotten std::string's.
4298 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4305 * text3.C: The Box patch. Fancybox support, minipage, parbox
4307 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4313 * ParagraphParameters.h:
4323 * lyxtextclasslist.h:
4326 * paragraph_pimpl.C:
4327 * textcursor.h: add <string> and other small fixes to make Lars'
4328 std::string patch compile with STLport.
4330 2003-10-06 Angus Leeming <leeming@lyx.org>
4332 * LColor.h: Add missing #include <string>.
4334 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * All most all file in all subdirs: Make <string> be the prefered
4337 way of getting to std::string, add using declarations.
4339 2003-10-06 André Pönitz <poenitz@gmx.net>
4341 * metricsinfo.C: initialize LyXFont before changing attribute.
4342 (fixes the 'math in \emph is upright' bug)
4344 2003-10-06 André Pönitz <poenitz@gmx.net>
4346 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4348 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4351 * paragraph_pimpl.C: Small fixes to build using STLport
4353 2003-10-02 André Pönitz <poenitz@gmx.net>
4356 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4358 2003-10-01 André Pönitz <poenitz@gmx.net>
4360 * factory.C: assert early
4362 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * lyx_main.C: remove the global debug object
4366 * debug.h: adjust for new debugstream
4368 * debug.C: adjust for new debugstream and keep the global debug
4371 2003-09-22 Angus Leeming <leeming@lyx.org>
4373 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4374 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4375 an incomplete class LyXFont.
4377 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4379 * factory.C: bug fix in branches
4381 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * lyxfunc.C (processKeySym): adjust
4385 (dispatch): change arg name from ev to func, adjust
4386 (sendDispatchMessage): ditto
4388 * lyx_main.C (defaultKeyBindings): adjust keybindings
4389 (deadKeyBindings): ditto
4391 * kbsequence.C (addkey): return a FuncRequest
4393 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4395 * kbmap.C (bind): take a FuncRequest as arg, adjust
4398 (defkey): change to take a FuncRequest as arg, adjust
4399 (findbinding): take a FuncRequest as arg, adjust.
4401 * funcrequest.h (operator=): added
4403 * funcrequest.C (FuncRequest): default kb_action changed from
4404 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4406 * buffer.C (dispatch): simplify
4407 (dispatch): adjust to take a FuncRequest as arg, adjust
4409 * boost.C (assertion_failed): change assertion message slightly
4411 * ToolbarBackend.C (read): simplify
4413 * MenuBackend.C (binding): adjust call to findbinding, add a
4414 message if no binding is found.
4416 (expandToc): correct by adding a empty FuncRequest
4418 * LyXAction.C: include <boost/assert.hpp>
4419 (isPseudoAction): delete function
4420 (LookupFunc): change name to...
4421 (lookupFunc): this. change return type to FuncRequest.
4422 (getActionName): take kb_action as arg, simplify
4423 (funcHasFlag): add an assert, simplify.
4425 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4427 * toc.C (action): return a FuncRequest, simplify
4429 * lyxfunc.C (processKeySym): adjust
4430 (getStatus): delete version that takes an int.
4432 (dispatch): delete version that takes action as int
4434 (sendDispatchMessage): simplify and adjust
4436 * funcrequest.C (getArg): take unsigned int as arg
4438 * ToolbarBackend.C (read): adjust
4439 (add): delete version that takes func as a string.
4440 (getIton): take a FuncRequest as arg
4442 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4445 * MenuBackend.C (MenuItem): add a new construct that only takes a
4446 Kind, simplify the constructor use for submenus.
4448 (expandLastfiles): adjust
4449 (expandDocuments): adjust
4450 (expandFormats): adjust
4451 (expandFloatListInsert): adjust
4452 (expandFloatInsert): adjust
4453 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4455 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4456 Remove class variables lyx_pseudo_map and lyx_arg_map
4458 * LyXAction.C (searchActionArg): delete function
4459 (getPseudoAction): delete function
4460 (retrieveActionArg): delete function
4461 (LookupFunc): make it return kb_action, simplify.
4462 (getActionName): simplify
4464 * factory.C (createInset): fix new bug
4466 2003-09-19 Angus Leeming <leeming@lyx.org>
4468 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4469 masterFilename_ parameter in the include inset.
4471 * factory.C (createInset): changes due to the changes to InsetInclude.
4473 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4475 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4477 2003-09-18 Angus Leeming <leeming@lyx.org>
4480 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4481 Inset::fillWithBibKeys.
4482 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4484 2003-09-18 Angus Leeming <leeming@lyx.org>
4486 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4488 (ctor): pass and store a 'Buffer const &'
4489 (buffer): new member function.
4491 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4492 '*this' to the LaTeXFeatures ctor.
4494 2003-09-18 Angus Leeming <leeming@lyx.org>
4500 * text.C: rename EnumLColor as LColor_color.
4502 2003-09-18 Angus Leeming <leeming@lyx.org>
4504 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4505 remove #include "insets/insetbase.h" from cursor.h.
4507 2003-09-18 Angus Leeming <leeming@lyx.org>
4509 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4510 InsetOld_code to remove #include "inset.h".
4512 * iterators.C: add #include "insets/inset.h"
4514 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4516 * BufferView.C: remove more locking stuff that apparently doesn't
4517 do anything sensible.
4519 2003-09-16 André Pönitz <poenitz@gmx.net>
4522 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4525 2003-09-16 Angus Leeming <leeming@lyx.org>
4527 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4529 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4532 * paragraph.h: remove #include "lyxfont.h". Forward declare
4535 2003-09-16 Angus Leeming <leeming@lyx.org>
4537 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4538 of support/textutils.h.
4539 (isWord): move the contents of support/textutils.h's IsWordChar here.
4545 * text2.C: add #include "paragraph.h".
4548 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4550 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4556 * LaTeX.C: use namespace alias for lyx::support::os
4558 2003-09-16 Angus Leeming <leeming@lyx.org>
4561 * bufferview_funcs.C:
4564 * paragraph_pimpl.C:
4566 * text.C: add #include "LColor.h".
4568 2003-09-16 Angus Leeming <leeming@lyx.org>
4570 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4571 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4573 Store the FontBits::color variable as an int rather than as an
4574 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4577 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4578 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4579 string calls together.
4581 * lyxrc.C: add #include "LColor.h".
4583 2003-09-15 Angus Leeming <leeming@lyx.org>
4585 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4588 2003-09-15 Angus Leeming <leeming@lyx.org>
4590 * LColor.h: add an EnumLColor wrapper for LColor::color.
4592 * lyxfont.[Ch] (color, setColor, realColor):
4593 * lyxtext.h, text.C (backgroundColor):
4594 pass EnumLColor args to/from the functions, rather than LColor::color
4598 * lyxtext.h: forward declare EnumLColor.
4600 * lyx_main.C: add #include "LColor.h".
4602 2003-09-15 Angus Leeming <leeming@lyx.org>
4604 * .cvsignore: add lyx-gtk.
4606 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4611 * ParagraphParameters.C
4615 * bufferview_funcs.C
4625 * vc-backend.C: remove usage of STRCONV
4627 2003-09-15 Angus Leeming <leeming@lyx.org>
4629 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4630 explicitly define the color passed to the painter.
4632 2003-09-15 Angus Leeming <leeming@lyx.org>
4634 * bufferparams.C (BufferParams): reorder member initializers to avoid
4637 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4639 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4640 * text.C (updateRowPositions): remove an unusual nop
4642 2003-09-12 André Pönitz <poenitz@gmx.net>
4644 * BufferView_pimpl.C:
4653 * Counters.[Ch]: finish the 'automatic counters' job
4655 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4657 * aspell.C: include <boost/assert.cpp> (compile fix)
4659 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4661 * boost.C (assertion_failed): use lyx::support::abort instead of
4664 2003-09-10 Angus Leeming <leeming@lyx.org>
4666 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4667 with their _fwd progeny.
4669 2003-09-09 Angus Leeming <leeming@lyx.org>
4671 134 files throughtout the source tree: replace 'using namespace abc;'
4672 directives with the appropriate 'using abc::xyz;' declarations.
4674 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4676 * boost.C (emergencyCleanup): moved here from LAssert.c
4677 (assertion_failed): new function, called by BOOST_ASSERT
4679 * several files: change Assert to BOOST_ASSERT
4681 2003-09-09 Angus Leeming <leeming@lyx.org>
4683 * buffer.[Ch]: Add an Impl class and move Buffer's member
4684 variables into it. As a result move several header files out of
4687 Add header files to lots of .C files all over the tree as a result.
4689 2003-09-09 Angus Leeming <leeming@lyx.org>
4691 * buffer.[Ch]: make Buffer's member variables private. Add
4694 Lots of changes all over the tree as a result.
4696 2003-09-08 Angus Leeming <leeming@lyx.org>
4698 * graph.C: #include <config.h>.
4700 2003-09-08 Angus Leeming <leeming@lyx.org>
4704 * BufferView_pimpl.C:
4733 * toc.C: remove redundant using directives.
4735 2003-09-07 Angus Leeming <leeming@lyx.org>
4737 * LaTeXFeatures.h: remove #include "support/types.h".
4738 * ToolbarBackend.h: remove #include <algorithm>.
4739 * changes.h: remove #include <ctime>.
4740 * debug.h: remove #include <iosfwd>.
4741 * graph.h: remove #include "support/std_string.h".
4742 * lyx_main.h: remove #include <csignal>.
4743 * lyxlex_pimpl.h: remove #include <fstream>.
4744 * sgml.h: remove #include <algorithm>, <utility>.
4745 * toc.h: remove #include "support/std_ostream.h".
4746 Add #include <iosfwd>.
4748 2003-09-07 Angus Leeming <leeming@lyx.org>
4750 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4752 * converter.h: forward declare LatexRunParams.
4753 * encoding.h: remove #include "lyxrc.h".
4754 * lyxtext.h: remove #include "LColor.h".
4755 * lyxtextclass.h: remove #include "support/types.h".
4756 * trans.h: remove #include "tex-accent.h".
4757 * trans_mgr.h: remove #include "tex-accent.h".
4758 * insets/inset.h: remove #include "support/types.h", <vector>.
4759 * insets/insetcollapsable.h: remove #include "LColor.h".
4760 * insets/insetinclude.h: remove #include "dimension.h".
4761 * insets/insetlatexaccent.h: remove #include "dimension.h".
4762 * insets/insetoptarg.h:: remove #include "insettext.h".
4763 * insets/insettext.h: remove #include "dimension.h",
4764 <boost/shared_ptr.hpp>
4766 * insets/renderers.h: add #include "dimension.h".
4767 * insets/updatableinset.h: add #include "support/types.h".
4769 * many .C files: Associated changes.
4771 2003-09-06 Angus Leeming <leeming@lyx.org>
4773 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4774 one, inside testInvariant.
4776 * PrinterParams.C: new file.
4777 * PrinterParams.[Ch]: move the function bodies out of line.
4779 2003-09-06 Angus Leeming <leeming@lyx.org>
4781 * ParagraphParameters.h: forward declare ParameterStruct rather than
4782 including its header file.
4783 (depth): moved out-of-line.
4785 2003-09-06 Angus Leeming <leeming@lyx.org>
4787 * BufferView_pimpl.h:
4790 * lyxfunc.h: forward declare LyXKeySym rather than
4791 #include "frontends/LyXKeySym.h".
4793 * BufferView_pimpl.C:
4796 * lyxfunc.C: associated changes.
4798 2003-09-06 Angus Leeming <leeming@lyx.org>
4800 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4801 As a result, can remove the #include "insets/inset.h" from BufferView.h
4803 2003-09-06 Angus Leeming <leeming@lyx.org>
4805 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4806 As a result, can remove the #include "insets/inset.h" from BufferView.h
4808 2003-09-06 Angus Leeming <leeming@lyx.org>
4814 * bufferview_funcs.C:
4815 * BufferView_pimpl.C:
4820 * ParagraphParameters.C:
4825 * frontends/controllers/ControlDocument.C:
4826 * insets/insetcaption.C: rearrange the #includes into some sort of
4829 * buffer.h: remove #includes ErrorList.h, undo.h
4831 2003-09-06 Angus Leeming <leeming@lyx.org>
4833 * support/types.h: add a 'depth_type' typedef, used to store the
4834 nesting depth of a paragraph.
4837 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4838 defining explicitly.
4841 * paragraph_funcs.h:
4842 * ParagraphParameters.h:
4843 * sgml.h: use lyx::depth_type rather than Paragraph or
4844 ParameterStruct's depth_type.
4847 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4850 * BufferView_pimpl.C:
4852 * ParagraphParameters.C:
4855 * bufferview_funcs.C:
4862 * frontends/LyXView.C:
4863 * frontends/controllers/ControlDocument.C:
4864 * frontends/controllers/ControlErrorList.C:
4865 * insets/insetbibitem.C:
4866 * insets/insetbranch.C:
4867 * insets/insetcaption.C:
4868 * insets/insetcollapsable.C:
4869 * insets/insetenv.C:
4870 * insets/insetert.C:
4871 * insets/insetfloat.C:
4872 * insets/insetfoot.C:
4873 * insets/insetfootlike.C:
4874 * insets/insetnewline.C:
4875 * insets/insetquotes.C:
4876 * insets/insettabular.C:
4877 * insets/insettext.C:
4878 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4880 * frontends/controllers/ControlChanges.C: #include "changes.h".
4882 2003-09-06 Angus Leeming <leeming@lyx.org>
4884 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4885 than #including paragraph.h.
4888 * RowList.h: deleted. Superfluous.
4898 * insets/insettext.h: use ParagraphList_fwd.h rather than
4901 * paragraph.h: don't forward declare ParagraphList.
4904 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4905 rather than ParagraphList.h. paragraph.h is still needed for the
4906 Paragraph::depth_type parameters.
4908 * textcursor.h: enable it to compile stand-alone in light of the
4911 * bufferview_funcs.C:
4923 * frontends/controllers/ControlParagraph.C:
4924 * frontends/controllers/ControlTabular.C:
4925 * insets/insetmarginal.C:
4926 * insets/insetminipage.C:
4927 * insets/insetnote.C:
4928 * insets/insetoptarg.C: add header files needed to compile again.
4930 2003-09-06 Angus Leeming <leeming@lyx.org>
4932 * RowList_fwd.h: new file, forward-declaring Row rather than
4933 #including lyxrow.h.
4938 * insets/insettext.h: use it instead of RowList.h
4940 * bufferview_funcs.C:
4947 * text3.C: #include "RowList.h".
4949 2003-09-05 Angus Leeming <leeming@lyx.org>
4951 * factory.C (createInset):
4952 * vspace.C (c-tor): replace sscanf call with an istringstream.
4953 * ispell.C: re-add missing HP/UX headers.
4954 * lyxserver.C: re-add missing os2 headers.
4956 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4965 * text3.C: re-add missing system headers, needed for 2.95.2.
4967 2003-09-05 Angus Leeming <leeming@lyx.org>
4969 Changes most place everywhere due to the removal of using directives
4970 from support/std_sstream.h.
4972 2003-09-05 Angus Leeming <leeming@lyx.org>
4974 Replace LString.h with support/std_string.h,
4975 Lsstream.h with support/std_sstream.h,
4976 support/LIstream.h with support/std_istream.h,
4977 support/LOstream.h with support/std_ostream.h.
4979 Changes resulting throughout the tree.
4981 2003-09-05 Angus Leeming <leeming@lyx.org>
4983 * sgml.h: ensure that the header file can be compiled stand-alone.
4984 * *.C: strip out redundant #includes. (320 in total.)
4986 2003-09-04 Angus Leeming <leeming@lyx.org>
4988 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4989 here (from getPackages).
4991 * debug.[Ch]: add a new EXTERNAL tag.
4993 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4995 * text2.C (cursorEnd): simplify
4997 (getColumnNearX): adjust
4999 * text.C (computeBidiTables): adjust
5002 * rowpainter.C (paintChars): adjust
5003 (paintSelection): adjust
5004 (paintChangeBar): adjust
5007 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5009 (numberOfSeparators): adjust
5011 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5017 * text3.C: Restricts the mouse click functionality
5018 of insets like bibtex, include, toc and floatlist to the visible
5019 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5020 up the dialogs. Cursor has to be in front of the inset (i.e.
5021 start of row) for this to function.
5023 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5025 * bufferview_funcs.C (currentState): output row information
5027 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5029 * bufferview_funcs.C (currentState): output paragraph position
5031 2003-09-04 Angus Leeming <leeming@lyx.org>
5033 * FloatList.h: move out #include "Floating.h".
5034 * LaTeX.h: move out #include "DepTable.h".
5035 * LyXAction.h: move out #include "funcrequest.h".
5036 * buffer.h: move out #include "author.h", "iterators.h".
5037 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5038 * lyx_main.h: move out #include "errorlist.h".
5039 * lyxfunc.h: move out #include "FuncStatus.h".
5040 * lyxtext: move out #include "lyxcursor.h".
5041 * paragraph_pimpl.h: move out #include "counters.h".
5043 2003-09-03 Angus Leeming <leeming@lyx.org>
5045 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5046 preamble_snippets list, enabling us to add snippets to the preamble
5047 only if the snippet was not there already.
5049 2003-09-04 Angus Leeming <leeming@lyx.org>
5051 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5053 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5058 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5060 * BranchList.C: point fix, earlier forgotten
5062 2003-09-02 Angus Leeming <leeming@lyx.org>
5064 * box.C (contains): renamed from 'contained' after a fantastic
5067 2003-09-02 John Levon <levon@movementarian.org>
5073 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5075 2003-09-02 John Levon <levon@movementarian.org>
5077 * text2.C: simplification of cursorEnd(), including partial
5080 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5082 * buffer.C (readFile): add a space
5084 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5086 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5088 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * buffer.C (readFile): new function, take a filename and a
5091 ParagraphList::iterator
5093 (readFile): adjust, make it private. don't use setStream, make
5094 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5095 always contain the filename.
5097 * BufferView.C (insertLyXFile): simplify and make it work for
5100 2003-08-30 John Levon <levon@movementarian.org>
5102 * Makefile.am: fix dist (from Kayvan)
5104 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5106 * most files: change to use const Buffer refs
5108 2003-08-27 André Pönitz <poenitz@gmx.net>
5110 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5111 on top of ownerPar().
5113 2003-08-27 John Levon <levon@movementarian.org>
5115 * funcrequest.C: properly initialise POD members
5117 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5119 * lyxtext.h (top_y): move top_y from here
5124 * BufferView_pimpl.[Ch]: to here
5125 * frontends/screen.C:
5126 * insets/insettabular.C:
5127 * insets/insettext.C: adjust
5128 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5130 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5133 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5135 2003-08-26 André Pönitz <poenitz@gmx.net>
5137 * paragraph_func.[Ch] (outerPar): new function
5140 * paragraph_funcs.C:
5141 * paragraph_funcs.h:
5142 * paragraph_pimpl.C:
5143 * text2.C: remove Inset::par_owner
5145 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5150 * text2.C: eliminates the needFullRow/display() stuff
5151 altogether, putting the logic in metrics/draw in the insets.
5153 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5155 * text2.C (redoParagraphInternal, redoParagraphs):
5156 * text.C (redoParagraph): add a call to updateRowPositions at the
5157 end of each 'metrics-like' call. Remove all others.
5158 (getRow): remove the 'y-computing' version.
5159 (getRowNearY): do not compute nor return the real y. Solve the
5160 'y < 0' problem and simplify.
5162 2003-08-22 Angus Leeming <leeming@lyx.org>
5164 * *.[Ch]: clean-up of licence and author blurbs.
5165 Also move config.h out of a few .h files and into a few .C files.
5167 2003-08-22 André Pönitz <poenitz@gmx.net>
5169 * lyxrow.[Ch]: add x_ and *fill_ members
5174 * text2.C: adjust/remove prepareToPrint() calls
5176 2003-08-22 André Pönitz <poenitz@gmx.net>
5178 * lyxrow.[Ch]: add end_ member
5180 * lyxrow_funcs.C: use LyXRow::end_
5182 * lyxtext.h (singleWidth): add LyXFont parameter
5185 * text2.C: adjust LyXText::singleWidth() calls
5187 * text.C (redoParagraph): simplify row breaking logic
5190 2003-08-19 André Pönitz <poenitz@gmx.net>
5192 * funcrequest.C: initialize button_ member
5195 * rowpainter.[Ch]: interface consolidation
5197 2003-08-18 André Pönitz <poenitz@gmx.net>
5200 * BufferView_pimpl.C:
5202 * paragraph_funcs.C:
5204 * text3.C: remove LyXScreen::draw() and fitCursor calls
5206 * BranchList.h: remove spurious semicolons
5208 * MenuBackend.C: fix branchlist related crash
5210 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5218 * bufferparams.[Ch]:
5222 * text3.C: implements the 'branch inset'
5223 idea. This allows the output of various versions of a document
5224 from a single source version, selectively outputing or suppressing
5225 output of parts of the text.
5226 This implementation contains a 'branch list editor' in a separate
5227 tab of the document settings dialog. Branches are user definable
5228 and have a "display colour" to distinguish them on-screen.
5230 ColorHandler was somewhat cleaned up.
5231 (1) make possible a dynamically growing LColor list by allowing
5232 the graphic context cache to grow along (vector);
5233 (2) eliminate an IMHO unnecessary step in colour allocation.
5235 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5237 * BufferView_pimpl.C: compile fix
5239 2003-08-15 André Pönitz <poenitz@gmx.net>
5241 * rowpainter.C: remove extra metrics calls
5243 * lyxtext.h: merge the two constructors into a single one,
5244 pass reference to owner's par list
5246 * BufferView_pimpl.C:
5250 2003-08-15 André Pönitz <poenitz@gmx.net>
5252 * lyxrow_funcs.[Ch]:
5255 * paragraph_funcs.C:
5260 * text_funcs.C: split LyXText::rowlist_ into individual
5261 Paragraph::rows_ chunks
5264 * BufferView_pimpl.[Ch]:
5267 * text3.C: remove toggleSelection()
5269 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5271 * bufferlist.C: beautify two alerts (shorter text of buttons)
5272 * buffer.C: Remove redundant ' ' from message
5274 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5275 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5276 rename VALIGN_CENTER to VALIGN_MIDDLE
5278 2003-08-11 André Pönitz <poenitz@gmx.net>
5280 * lyxtext.h (getPar):
5281 * text.C: new function
5283 2003-08-11 André Pönitz <poenitz@gmx.net>
5286 * tracer.[Ch]: remove unneeded files
5288 * InsetList.[Ch]: remove resizeInsetsLyXText()
5293 * text3.C: merge insertParagraphs() and appendParagraph()
5294 remove breakAgain(), update()
5296 * BufferView_pimpl.[Ch]:
5297 * bufferview_funcs.[Ch]:
5301 * tabular.C: adjust after text & InsetList changes.
5303 2003-08-08 André Pönitz <poenitz@gmx.net>
5305 * text.C (insertChar, backspace): replace rowlist fiddling
5306 with rebreak of full par
5309 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5310 checkParagraph, updateInset): removed
5312 2003-08-07 André Pönitz <poenitz@gmx.net>
5315 * text3.C: merge some LFUN handlers, remove dead code
5317 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5319 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5321 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5323 * text2.C (DEPM): fix part of bug 1255 and 1256
5325 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5327 * BufferView_pimpl.C (workAreaDispatch): change to use
5328 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5329 that are no mouse related.
5331 2003-08-05 André Pönitz <poenitz@gmx.net>
5334 * BufferView_pimpl.[Ch]:
5335 * bufferview_funcs.C:
5337 * text3.C: rip out "deep update"
5339 * textcursor.[Ch] (last_sel_cursor): remove unused member
5341 2003-08-04 André Pönitz <poenitz@gmx.net>
5344 * BufferView_pimpl.[Ch]:
5345 * ParagraphParameters.C:
5346 * bufferview_funcs.C:
5352 * text3.C: replace "complicated" BufferView::update(...) calls with
5355 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5357 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5359 * Makefile.am (lyx_SOURCES): add paper.h
5361 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5363 * Makefile.am: move things around so that both lyx-qt and
5364 lyx-xforms can be built (according to --with-frontend). Then lyx
5365 is a symbolic link to lyx-[firstfrontend]
5367 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5369 * Always use std::endl with lyxerr
5371 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5373 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5375 2003-08-01 André Pönitz <poenitz@gmx.net>
5378 * BufferView_pimpl.[Ch]:
5380 * text3.C: merge BufferView::repaint() and BufferView::update()
5382 2003-08-01 José Matos <jamatos@lyx.org>
5384 * buffer.[Ch]: file_format is no longer a buffer data element.
5386 2003-08-01 André Pönitz <poenitz@gmx.net>
5391 * text2.C: make redoParagraph more independent of current cursor
5393 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5395 * text2.C: remove unneeded members
5397 2003-07-30 André Pönitz <poenitz@gmx.net>
5399 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5401 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5402 create a single function...
5404 * paragraph_funcs.C (moveItem): ... here.
5407 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5409 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5411 * LColor.[Ch]: Add comment and greyedout logical colors.
5413 2003-07-30 André Pönitz <poenitz@gmx.net>
5415 * tabular.C: don't use Assert too heavily. This crashes where it
5418 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5420 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5421 is disabled (bug 1232)
5423 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5425 * factory.C: limited 'arg' scope
5427 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5429 * factory.C: fixed Note submenu issues
5431 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5433 * factory.C: submenu for Note/Comment/Greyedout
5435 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5438 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5440 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5443 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5444 greyedout. Patch provided by Jürgen Spitzmüller.
5446 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5448 * kbmap.C (read): fix error message when reading bind files
5450 2003-07-29 Angus Leeming <leeming@lyx.org>
5452 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5453 certainly does not do what it purports to do. I am doing it, and
5454 us, a favour by killing it.
5456 2003-07-28 José Matos <jamatos@lyx.org>
5458 * buffer.C (readBody, do_writeFile):
5459 * paragraph.C(readParagraph): \end_document replaces \the_end.
5461 2003-07-29 André Pönitz <poenitz@gmx.net>
5464 * BufferView_pimpl.[Ch]:
5468 * textcursor.[Ch]: remove toggleToggle & Co
5470 2003-07-28 José Matos <jamatos@fep.up.pt>
5472 * buffer.C (readParagraph):
5473 * params_func (readParToken, readParagraph):
5474 * paragraph.C (write): \layout -> \begin_layout.
5476 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5478 * lyxlex_pimpl.C (setFile): clean up slightly.
5480 * bufferparams.h: add compressed var
5482 * buffer_funcs.C (readFile): adjust for LyXLex change
5483 (newFile): ditto + simplify
5485 * buffer.C (writeFile): handle writing of compressed files
5487 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5488 Check if the file is compressed and set a bufferparm if so.
5490 * Makefile.am (lyx_LDADD): remove explicit -lz
5492 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5494 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5495 makeDocBookFile): put the real LyX version in the first line of
5499 * version.C.in: remove lyx_docversion
5501 * tabular.C (write_attribute): add a template-based version to
5502 write enums properly
5504 2003-07-28 André Pönitz <poenitz@gmx.net>
5509 * text3.C: use doubles again for x-coordinates. They are needed.
5511 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * messages.C (getLocaleDir): use lyx_localedir()
5515 * lyxlex_pimpl.C (setFile): compress stuff
5517 * buffer.C (writeFile): add some compression stuff
5518 (do_writeFile): new func, dont call expliti close... will this
5521 * Makefile.am (lyx_LDADD): add -lz
5523 2003-07-28 José Matos <jamatos@fep.up.pt>
5525 * buffer.C: increment file format.
5526 * paragraph_funcs (readParagraph, readParToken):
5527 * paragraph.C (readParagraph): add \end_layout.
5529 2003-07-27 Angus Leeming <leeming@lyx.org>
5531 * Makefile.am: remove special casing for configure-time setting of
5532 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5534 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5535 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5537 2003-07-26 André Pönitz <poenitz@gmx.net>
5539 * paragraph_func.[Ch]:
5540 * paragraph.C (realizeFont): inline it whereever it is used
5545 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5548 2003-07-26 André Pönitz <poenitz@gmx.net>
5552 * text2.C: get rid of LyXText::need_break_row
5554 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5556 * toc.[Ch]: put namespace toc inside namespace lyx
5558 * MenuBackend.C (expandToc2): adjust for lyx::toc
5561 * lyxfunc.C (dispatch): adjust for lyx::find
5563 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5564 lyx::find instead. Reorganize a bit.
5565 (LyXReplace): rename to replace
5566 (LyXFind): rename to find
5568 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5571 2003-07-26 André Pönitz <poenitz@gmx.net>
5573 * text.C (setHeightOfRow): restrict scope of temporary variable
5575 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5576 code (never has been used?)
5578 2003-07-27 Asger Alstrup <alstrup@local>
5580 * text.C (fill): Optimise algorithm to exploit that we can reuse
5581 the LyXFont for many characters.
5582 (setHeightOfRow): Same thing.
5583 (rowBreakPoint): Same thing.
5585 2003-07-26 Asger Alstrup <alstrup@local>
5587 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5589 * text.C (singleWidth): Spurious font copying in hot-spot
5590 singleWidth avoided. Reorder tests for arabic for efficiency.
5592 * text.C (fill): handle empty paragraphs better.
5594 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5597 * encoding.h: add includes
5599 * lyxrc.C: remove reading of bind files
5601 * lyx_main.C (init): setup bindings and menus only if we have a
5604 * kbmap.C (read): new method. Do the actual reading of bind
5607 * converter.C (dvipdfm_options):
5610 (output): adapt PAPER_* enums.
5612 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5614 * bufferparams.h: remove paper-related enums from there
5616 * paper.h: New file. A trivial header file to hold paper-related
5617 enums. It should later expand to contain many paper-related
5620 * lyxrc.C: declare extern displayTranslator
5622 2003-07-27 José Matos <jamatos@fep.up.pt>
5624 * tabular.[Ch] (linuxdoc): add support for tables and figures
5627 2003-07-27 José Matos <jamatos@fep.up.pt>
5629 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5630 consistency in both functions.
5631 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5633 2003-07-26 Asger Alstrup <alstrup@local>
5635 * rowpainter.C (paintRows): Change algorithm to work directly on
5636 the insets rather than asking every character in the document
5637 whether its an inset.
5639 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5641 * buffer.C (openFileWrite): factorize some code
5643 2003-07-26 Angus Leeming <leeming@lyx.org>
5646 * lyx_main.[Ch]: replace occurances of system_tempdir with
5649 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * rename Inset to InsetOld
5653 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5655 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5656 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5657 which I think is a bit clearer. EDIT is gone, since it was
5658 premature optimisation, and broken for mathed anyway.
5659 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5660 with cursor positioning in insets as well (math insets still do not
5661 work, but that's a different story anyway.) It mysteriously
5662 crashes sometimes with undo in the first paragraph, but I'm fairly
5663 confident that this is a compiler bug.
5665 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * paragraph.C (Paragraph): adjust for new clone return type
5669 (copyIntoMinibuffer): ditto
5671 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5673 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5674 by not having a special case, and always doing a full rebreak of
5675 the document after undo.
5677 2003-07-23 Angus Leeming <leeming@lyx.org>
5679 * factory.C (createInset): InsetExternal::setParams now takes a
5682 2003-07-23 Angus Leeming <leeming@lyx.org>
5684 * factory.C (createInset): changed interface to the external and
5685 graphics mailers' string2params functions.
5687 2003-07-23 Angus Leeming <leeming@lyx.org>
5689 * factory.C (createInset): pass a
5690 Buffer const * parameter to InsetExternalMailer's string2params.
5692 2003-07-22 John Levon <levon@movementarian.org>
5694 * Thesaurus.h: include the right aiksaurus header
5696 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5698 * MenuBackend.C (expand): check menu shortcuts unconditionally
5700 2003-07-21 Angus Leeming <leeming@lyx.org>
5702 * factory.C (createInset): pass a
5703 buffer_path parameter to InsetGraphicsMailer's string2params.
5705 2003-07-21 Angus Leeming <leeming@lyx.org>
5707 * BufferView_pimpl.C (buffer):
5710 * lyxfunc.C (dispatch):
5711 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5712 rather than the grfx shortcut.
5714 2003-07-21 André Pönitz <poenitz@gmx.net>
5716 * rowpainter.C: remove unused variables
5719 * tabular_funcs.h: move to tabular.C
5720 * Makefile.am: adjust
5722 * tabular.[Ch]: basic optical cleaning
5724 * author.h: pass references, not values
5726 2003-07-18 André Pönitz <poenitz@gmx.net>
5734 * text3.C: two-phase drawing for InsetText and InsetTabular
5735 some float -> int changes.
5737 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5739 * lyx_main.C: fix the fix
5741 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5743 * lyx_main.C: fix a crash in batch mode if no files specified
5746 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5748 * format.[Ch] (papersize): moved to BufferParams
5749 * converter.[Ch] (dvips_options): moved to BufferParams
5750 (dvipdfm_options): moved to anon namespace
5751 * bufferparams.[Ch]: added above functions.
5753 2003-07-17 André Pönitz <poenitz@gmx.net>
5757 * text2.C: don't call inset->update() anymore
5759 * metricsinfo.[Ch]: add convenience constructor
5761 2003-07-16 André Pönitz <poenitz@gmx.net>
5766 * text2.C: replace the LyXCursor::irow_ member with
5767 on-demand computation of the value
5769 2003-07-16 John Levon <levon@movementarian.org>
5771 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5773 2003-07-15 André Pönitz <poenitz@gmx.net>
5776 * text2.C: remove no more needed refresh_row
5778 2003-07-15 André Pönitz <poenitz@gmx.net>
5783 * text3.C: refresh_status tristate -> need_update bool
5785 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5787 * lyxtext.h (init): remove reinit argument (act as if always true)
5788 * text2.C: adjust to that
5790 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5792 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5793 * text3.C: use it to delete selections in some cases
5794 (bugs 441, 673, 702, 954).
5796 2003-07-14 André Pönitz <poenitz@gmx.net>
5798 * rowpainter.[Ch]: reduce interface
5800 2003-07-14 André Pönitz <poenitz@gmx.net>
5802 * BufferView_pimpl.C:
5803 * text2.C: adjust after removing unused BufferView * argument
5805 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5807 * text2.C (init): fix a crash fired on resize
5809 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5811 * buffer.[Ch]: added new closing signal
5812 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5813 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5814 BufferView::Pimpl via the closing the signal
5816 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5818 * buffer.[Ch]: take out all bv-related from buffer
5820 * BufferView_pimpl.[Ch]: connect to new signals
5821 * CutAndPaste.C: removed useless asserts
5822 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5825 * lyxfunc.C: moved view-related funciontality from vc here
5826 * paragraph.C: removed outdated comments
5829 2003-07-10 André Pönitz <poenitz@gmx.net>
5831 * BufferView_pimpl.C:
5835 * text2.C: remove InsetText::InnerCache, clean up consequences
5837 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5839 * ispell.C: fix two typos in error messages
5841 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5843 * Extend Note inset to other forms of annotation like Comment
5844 and Greyedout. Right button click gives dialog.
5846 Files modified or added (+):
5850 * ControlNote.[Ch] +
5852 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5853 frontends/controllers
5857 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5859 * aspell.C: add missing namespace lyx::support
5861 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5863 * BufferView.[Ch] (newFile): Add
5864 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5865 * LaTeX.[Ch] (message): added this signal and use it
5866 * buffer.[Ch] (busy, message): added these signals and use them
5867 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5871 * importer.C: use buffer signals instead of direct bv calling
5872 * lyx_cb.[Ch] (ShowMessage): removed
5875 * paragraph_funcs.C:
5876 * text2.C: use buffer signals
5878 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5880 * introduce namespace lyx::graphics
5882 2003-07-02 André Pönitz <poenitz@gmx.net>
5884 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5886 2003-07-01 André Pönitz <poenitz@gmx.net>
5893 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5894 text*.C to text_func.C
5896 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * introduce namespace lyx::support
5900 2003-06-30 André Pönitz <poenitz@gmx.net>
5905 * text.C: re-enable --with-included-string
5907 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * textcursor.C: add <config.h>
5911 * text.C (getWord): remove const from word_location arg
5913 * lyxvc.C (getLogFile): fix const type order
5915 * lyxtext.h: remove const from word_location arg, add arg name
5917 * lyxlayout.h: currect type on labeltype.
5919 * importer.C: correct \file
5921 * converter.C (intToFormat): use std:: on ret val, ws changes
5923 * bufferlist.h: correct \file
5925 * buffer.C (makeLinuxDocFile): fix const type order
5926 (makeDocBookFile): ditto
5927 (fillWithBibKeys): use std:: on stdlib args.
5929 * CutAndPaste.C: fix authors.
5930 (availableSelections): use std:: on return vector
5932 2003-06-27 André Pönitz <poenitz@gmx.net>
5934 * BufferView_pimpl.C:
5935 * bufferview_funcs.C:
5943 * text3.C: remove LyXCursor::row_ member
5946 * text.C: rename fullRebreak() to partialRebreak() and implement
5947 a fullRebreak() that really bereks fully
5949 * textcursor.h: new struct for cursor-related data
5951 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5953 * lyx_main.C (LyX): get full path of document loaded on the
5956 2003-06-26 André Pönitz <poenitz@gmx.net>
5958 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5959 remove unused/broken operator>,<,>=.
5961 * text.C: remove only use of broken operator<= in an Assert().
5963 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5965 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5966 moved errorlist_.clear to showErrorList
5968 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5970 * converter.C (scanLog, runLaTeX):
5971 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5972 move the bv->showErrorList call to the callers
5973 * lyxfunc.C: i.e. here...
5975 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5976 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5977 namespace, the second to...
5978 * buffer_funcs (BufferFormat, parseErrors): added
5979 * errorlist.C (ErrorList(TeXErrors const &)): removed
5981 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5983 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5985 2003-06-24 "Garst R. Reese" <reese@isn.net>
5989 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5991 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5993 * version.C.in: change docversion to 1.4
5995 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5997 * buffer.C: fix a bug just introduced
5999 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6001 * buffer.[Ch]: added the parseError signal and use it, removed
6003 * BufferView.[Ch] (addError): moved to ...
6004 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6005 to the Buffer::parseError signal to catch (guess what) parse errors
6006 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6008 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6010 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6011 ability to create a buffer and to return an existing one from
6012 the list. Moved these functions to...
6013 * buffer_funcs.[Ch]: added
6014 * BufferView.[Ch] (loadLyXFile): added
6015 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6016 job removed from bufferlist::loadLyXFile.
6017 * buffer.C (setReadOnly): make it work without view
6018 (i.e added an if (users))
6020 2003-06-19 Angus Leeming <leeming@lyx.org>
6023 * LyXAction.C (init):
6024 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6025 with LFUN_DIALOG_SHOW <name> <data>.
6027 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6029 * CutAndPaste.C (availableSelections): small compilation fix for
6030 ancient (gcc 2.9x) compilers
6032 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * text3.C (cursorNext): add tmp var
6036 * text2.C (updateCounters): for function calling out of for clause
6037 (replaceSelectionWithString): ditto
6038 (insertStringAsParagraphs): ditto
6039 (getColumnNearX): add tmp var
6040 (setCursorFromCoordinates): add tmp var
6041 (cursorDownParagraph): add tmp var
6042 (deleteEmptyParagraphMechanism): add tmp var
6044 * text.C (insertChar): add tmp var
6046 * rowpainter.C (paintDepthBar): add tmp var
6048 * CutAndPaste.C (availableSelections): potentially check all
6049 paragraphs in a cut to fill the shown strings.
6051 2003-06-18 André Pönitz <poenitz@gmx.net>
6053 * kbmap.[Ch]: use vector<> instead of list<>
6055 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6057 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6058 pasteSelection with index
6060 * text2.C (pasteSelection): modify, call pasteSelection with index
6062 * paragraph.C (asString): reimplement version with no interval to
6063 call the one with interval.
6065 * lyxtext.h: add index arg to pasteSelection
6067 * MenuBackend.C (MenuItem): handle PasteRecent
6068 (Menu::read::Menutags): add md_pasterecent
6070 (expandPasteRecent): new function
6073 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6075 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6077 (availableSelections): new function
6079 2003-06-17 Angus Leeming <leeming@lyx.org>
6081 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6083 2003-06-17 Angus Leeming <leeming@lyx.org>
6086 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6088 * lyxfunc.C (dispatch): invoke it.
6090 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6092 * iterators.C (operator++, ParPosition): reintroduce some
6093 const_cast for the benefit of older compilers.
6095 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6097 * text3.C (dispatch): do not modify clipboard when doing
6098 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6099 LFUN_DELETE_SKIP on a selection selection
6101 2003-06-16 André Pönitz <poenitz@gmx.net>
6107 * tabular.[Ch]: IU of clone() and getLabelList();
6109 2003-06-13 André Pönitz <poenitz@gmx.net>
6111 * tabular.h: compactification
6113 2003-06-12 André Pönitz <poenitz@gmx.net>
6117 * tabular_funcs.h: some renaming plus whitespace
6119 2003-06-12 André Pönitz <poenitz@gmx.net>
6122 * BufferView_pimpl.C:
6128 * toc.C: Return a Paragraph & for ParIterator::operator*()
6130 2003-06-11 John Levon <levon@movementarian.org>
6134 * ToolbarBackend.C: add "Toolbars" section and
6137 2003-06-10 Angus Leeming <leeming@lyx.org>
6140 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6142 * lyxfunc.C (dispatch): invoke it.
6144 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * main.C: protect <ios> with HAVE_IOS
6147 (main): protect sync_with_stdio with HAVE_IOS
6149 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6151 * text2.C (cutSelection): adjust
6152 (pasteSelection): adjust
6154 * messages.C: handle get of empty string
6156 * main.C (main): use sync_with_stdio(false)
6158 * lyxfunc.C (dispatch): adjust
6160 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6161 (WriteAs): remove unneeded BufferView arg.
6163 * bufferparams.h: use correct types on papersize, papersize2 and
6166 * bufferparams.C (readToken): adjust for type
6167 (writeLaTeX): add missing cases to switch.
6169 * bufferlist.C (quitWriteBuffer): adjust
6172 * buffer.C (asciiParagraph): remove some commented code.
6174 * CutAndPaste.C: remove current_view extern variable.
6175 (cutSelection): add BufferParams arg.
6176 (eraseSelection): add BufferParams arg.
6177 (pasteSelection): add Buffer const & arg
6179 2003-06-07 John Levon <levon@movementarian.org>
6182 * paragraph_funcs.C:
6183 * paragraph_pimpl.C:
6187 * paragraph.C: allow InsetERT to freely space lines,
6188 and some consolidation of code
6190 2003-06-06 José Matos <jamatos@fep.up.pt>
6192 * buffer.C (makeDocBookFile): fix bug #821
6194 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6196 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6198 2003-06-04 Angus Leeming <leeming@lyx.org>
6200 * buffer.C: bump format to 224.
6202 2003-06-05 André Pönitz <poenitz@gmx.net>
6204 * text2.C (redoParagraphs): remove two const_cast<>
6206 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6208 * ParagraphList.h: remove last remnants of NO_STD_LIST
6210 2003-06-03 Angus Leeming <leeming@lyx.org>
6212 * factory.C (createInset): small change to the way InsetExternal's params
6215 2003-06-04 André Pönitz <poenitz@gmx.net>
6217 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6219 * paragraph_pimpl.h:
6220 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6222 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6224 * undo_funcs.C: make some simple cases of undo work again
6226 2003-06-03 John Levon <levon@movementarian.org>
6228 * ispell.C: HPUX doesn't have sys/select.h
6231 2003-06-03 John Levon <levon@movementarian.org>
6233 * CutAndPaste.C: update tabular and include inset
6238 * paragraph.C: remove owningBuffer(), don't pass Buffer
6241 * factory.C: insetGraphicsParams changed
6243 2003-06-02 John Levon <levon@movementarian.org>
6249 * text3.C: remove insetparent
6251 2003-06-02 John Levon <levon@movementarian.org>
6254 * buffer.C: fix inset_iterator.end(), move out of line
6257 2003-06-01 John Levon <levon@movementarian.org>
6259 * text3.C: use a proper cut/paste when doing inset
6260 insert (from Jürgen Spitzmüller)
6262 2003-06-01 John Levon <levon@movementarian.org>
6264 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6266 2003-05-30 André Pönitz <poenitz@gmx.net>
6268 * rowpainter.C: unify second drawing phase
6270 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * trans_mgr.C: remove one case of current_view
6274 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6276 * paragraph_funcs.h: remove paragraph.h include
6278 * paragraph.h: delete NO_STD_LIST stuff
6280 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6282 * buffer.h: remove paragraph.h include
6284 * ParagraphList.C: delete file
6286 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6288 * toc.C (getTocList): adjust
6290 * paragraph_pimpl.C (validate): adjust
6292 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6294 * paragraph.C (Paragraph): adjust
6295 (getPositionOfInset): use const_iterator, adjust
6296 (bibitem): use const_iterator, adjust
6297 (setInsetOwner): adjust
6299 * iterators.C (operator++): adjust
6301 * InsetList.[Ch]: Replace selfmade iterator with standard
6302 vector::iterator also introduce const_iterator. Remove getPos,
6303 getInset and setInset from InsetTable. Adjust accordingly.
6305 * BufferView.C (lockInset): adjust
6306 (ChangeInsets): adjust
6308 * tabular.[Ch]: delete commented same_id functions
6310 2003-05-28 John Levon <levon@movementarian.org>
6312 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6314 2003-05-28 André Pönitz <poenitz@gmx.net>
6316 * metricsinfo.[Ch]: remove 'fullredraw' member
6318 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6320 * lyxtextclass.C (operator): remove caching.
6322 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6326 * text2.C (cursorBottom): adjust
6327 (setCounter): use ParagraphList::find, adjust
6329 * text.C (workWidth): use ParagraphList::find, adjust
6331 * lyxcursor.C (LyXCursor): adjust
6333 * buffer.C (inset_iterator): adjust
6335 * ParagraphList.h: make iterator(value_type) private, make
6336 ParagraphList a friend of iterator.
6338 * ParagraphList.C (find): new function
6340 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6342 2003-05-27 André Pönitz <poenitz@gmx.net>
6344 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6346 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6348 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6350 2003-05-26 John Levon <levon@movementarian.org>
6352 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6354 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6356 * remove same_id from function signatures, adjust.
6358 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6360 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6362 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6364 * paragraph.C (Paragraph): get rid of same_ids parameter
6366 * ParagraphList.C (insert): adjust
6369 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * paragraph_funcs.C (breakParagraph): adjust
6372 (breakParagraphConservative): adjust
6374 * buffer.C (readParagraph): adjust
6376 * ParagraphList.C (insert): take a reference instead of a pointer
6379 * paragraph.[Ch] (id): new function
6381 * bufferlist.C (newFile): adjust
6383 * ParagraphList.C (ParagraphList): adjust
6385 (push_back): take a reference instead of a pointer.
6387 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6389 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6392 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6393 set else use old code.
6395 * ParagraphList.C: remove all NO_NEXT code and only compile this
6396 code of NO_STD_LIST is set.
6398 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6400 * BufferView_pimpl.C:
6410 * graphics/GraphicsConverter.C:
6411 * graphics/PreviewLoader.C: header adjustment
6413 2003-05-23 Angus Leeming <leeming@lyx.org>
6415 * LaTeXFeatures.[Ch] (useBabel): new method.
6416 * bufferparams.C (writeLaTeX): use it.
6418 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6420 * ParagraphList.h (set): remove unused function.
6422 2003-05-23 André Pönitz <poenitz@gmx.net>
6425 * BufferView_pimpl.C:
6429 * undo_funcs.C: setUndo reworked
6431 * iterators.[Ch]: add access to topmost ParagraphList
6433 * lyxtext.[Ch] (workWidth): add a const
6435 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6437 * texrow.[Ch] (increasePos): remove function
6438 * exporter.C (export): removed unused var and outdated comment
6440 2003-05-23 Angus Leeming <leeming@lyx.org>
6442 * latexrunparams.h: rename fragile as moving_arg.
6443 * paragraph.C (simpleTeXOnePar): ditto.
6444 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6446 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6450 (textUndoOrRedo): comment out a currently unused var.
6452 * paragraph.h (NO_NEXT): enable NO_NEXT
6454 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6456 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6458 * exporter.C (Export): adjust for removeAutoInsets removal.
6460 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6462 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6464 * BufferView.[Ch] (removeAutoInsets): delete function
6466 2003-05-22 Angus Leeming <leeming@lyx.org>
6468 * latexrunparams.h: add a free_spacing variable.
6470 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6471 to pass moving_arg, as the data is stored in runparams.fragile.
6473 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6474 to Inset::latexOptional or to simpleTeXOnePar.
6476 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6477 free_spacing arg to Inset::latexOptional.
6479 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6482 2003-05-22 Angus Leeming <leeming@lyx.org>
6484 * latexrunparams.h: add fragile and use_babel variables.
6486 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6487 * buffer.C (makeLaTeXFile): store this returned value in
6488 runparams.use_babel, thus passing it to the inset::latex methods.
6490 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6491 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6493 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6494 longer has a fragile arg, as it is stored in runparams.fragile.
6496 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6497 moving_arg parameter as the data is stored in runparams.fragile.
6499 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6500 a fragile parameter as the data is stored in runparams.fragile.
6502 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6504 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6506 2003-05-22 Angus Leeming <leeming@lyx.org>
6508 * latexrunparams.h: add a 'bool nice' which defaults to false.
6510 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6511 now encapsulated within runparams.
6513 * bufferlist.C (updateIncludedTeXfiles):
6514 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6516 2003-05-22 Angus Leeming <leeming@lyx.org>
6518 * latexrunparams.h: new file containing struct LatexRunParams.
6519 * Makefile.am: add new file.
6521 * LaTeX.[Ch] (c-tor, run):
6522 * buffer.[Ch] (makeLaTeXFile):
6523 * bufferlist.[Ch] (updateIncludedTeXfiles):
6524 * converter.C (convert, scanLog):
6525 * converter.[Ch] (runLaTeX):
6526 * exporter.C (Export):
6527 * paragraph.[Ch] (simpleTeXOnePar):
6528 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6529 * paragraph_funcs.[Ch] (latexParagraphs):
6530 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6531 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6532 pass around a LatexRunParams parameter.
6534 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * paragraph.[Ch]: remove unused constructor
6538 * ParagraphList.C (erase): new function, taking two iterators
6540 2003-05-22 André Pönitz <poenitz@gmx.net>
6542 * undo_funcs.C: remove duplicated code
6544 * iterator.[Ch]: operator=
6546 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6548 * tabular.C (SetMultiColumn): ws changes
6550 * rowpainter.C (paintFirst): get rid of a ->previous
6552 * lyx_cb.C (getPossibleLabel): parlist simplification
6554 * BufferView.C (ChangeInsets): simplify slightly.
6556 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6558 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6559 * lfuns.h: new LFUN_SPACE
6560 * lyxfunc.C: protected space has a new lfun
6561 * paragraph_funcs.C: read new space insets
6563 * factory.C: handle new space insets
6565 2003-05-22 André Pönitz <poenitz@gmx.net>
6568 * BufferView_pimpl.C:
6571 * undo_funcs.C: return a ParIterator from getParFromID.
6573 * iterators.[Ch]: add two const's
6575 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * toc.C (getTocList): adjust
6579 * iterators.[Ch]: rework for parlist
6581 * buffer.C (par_iterator_begin): adjust
6582 (par_iterator_end): adjust
6584 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6586 * BufferView.C (removeAutoInsets): adjust
6587 (ChangeInsets): adjust
6589 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6591 * text.C (top_y): fix bug 1110
6593 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6595 * errorlist.[Ch]: added
6598 * BufferView_pimpl.C:
6599 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6602 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * Makefile.am: ensure that lyx is relinked upon changes to the
6605 various "convenience" libs.
6607 2003-05-20 Angus Leeming <leeming@lyx.org>
6609 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6610 files are compiled in alphabetical order again.
6612 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6614 2003-05-19 Angus Leeming <leeming@lyx.org>
6616 * gettext.[Ch]: remove "char const * _(char const *)".
6618 2003-05-19 André Pönitz <poenitz@gmx.net>
6620 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6629 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6631 2003-05-19 André Pönitz <poenitz@gmx.net>
6635 * lyxtextclass.[Ch]:
6637 * paragraph_funcs.[Ch]:
6639 * text3.C: more insetenv work
6641 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6643 * ParagraphParameters.C (params2string): small bug fixed
6645 2003-05-16 André Pönitz <poenitz@gmx.net>
6648 * bufferview_funcs.C: patch from Kornel Benko to prevent
6649 crash when _(...) is called twice in a statement
6651 2003-05-16 André Pönitz <poenitz@gmx.net>
6658 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6660 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6662 * lyx_main.C (init): remove spurious static_cast
6664 2003-05-14 André Pönitz <poenitz@gmx.net>
6666 * BufferView.C: fix format string
6668 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6670 * BufferView.[Ch] (insertErrors): removed
6671 * BufferView.[Ch] (showErrorList): added
6672 * buffer.C (runChkTeX):
6673 * converter.C (scanLog): call showErrorList instead of inserterrors
6675 2003-05-13 André Pönitz <poenitz@gmx.net>
6677 * BufferView_pimpl.C:
6679 * bufferview_func.C:
6686 * tabular_funcs.h: tostr() from its own header
6688 * ParagraphParameters.C:
6693 * text3.C: STRCONV()
6695 2003-05-12 André Pönitz <poenitz@gmx.net>
6698 * BufferView_pimpl.C:
6702 * ParagraphParameters.C:
6706 * bufferview_funcs.C:
6719 * paragraph_funcs.C:
6723 * text3.C: boost::format -> bformat all over the place
6726 2003-05-09 André Pönitz <poenitz@gmx.net>
6728 * LColor.[Ch]: Pimpl the #include <map> away
6730 2003-05-09 John Levon <levon@movementarian.org>
6732 * bufferlist.C: never remove emergency saves
6734 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6736 * Makefile.am: better lib building
6738 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6740 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6742 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6743 (simpleTeXSpecialChars): adjust
6744 (simpleTeXSpecialChars): adjust
6745 * paragraph.C (simpleTeXOnePar): adjust
6746 * buffer.C (makeLaTeXFile): adjust
6748 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6750 * text2.C (changeDepth): parlist cleanup
6751 (getColumnNearX): ditto
6753 * rowpainter.C (getLabelFont): parlist cleanup
6755 * bufferlist.C (newFile): parlist cleanup
6757 * CutAndPaste.C (eraseSelection): parlist cleanup
6759 * BufferView_pimpl.C (trackChanges): parlist cleanup
6762 * BufferView.C (lockInset): parlist cleanup.
6763 (ChangeInsets): ditto
6765 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6767 * CutAndPaste.h: Update file header.
6769 * CutAndPaste.C: Update file header.
6770 Store the parts cut out of the Document in a limited_stack.
6771 (copySelection): adjust
6772 (pasteSelection): new function, takes the index in the limited stack.
6773 (nrOfParagraphs): adjust
6774 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6775 simplify error inset insertion.
6776 (checkPastePossible): adjust
6778 2003-05-06 John Levon <levon@movementarian.org>
6780 * text2.C: don't cast wrap inset to float
6782 2003-05-05 André Pönitz <poenitz@gmx.net>
6785 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6787 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6788 few naked Paragraph *.
6790 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6792 * bufferparams.C: Output warning if a document with missing
6793 TeX document class is loaded
6794 * exporter.C: Disable TeX exports if the document class is missing
6797 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6798 isTeXClassAvailable()
6800 2003-05-03 John Levon <levon@movementarian.org>
6803 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6804 explicit cursor show/hide
6806 * BufferView_pimpl.h:
6807 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6808 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6810 * lyxfunc.C: hide cursor before dispatching.
6815 * text3.C: remove explicit cursor hides
6817 2003-05-02 André Pönitz <poenitz@gmx.net>
6819 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6822 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6825 * text2.C: tiny whitespace
6827 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * undo_funcs.C: almost only ws changes.
6831 * ParagraphList.C (splice): just return if pl is empty.
6833 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * ParagraphList.C (splice): new function.
6837 * CutAndPaste.C (pasteSelection): use it
6839 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6841 * CutAndPaste.C (pasteSelection): remove the last next and
6842 previous from this file.
6844 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * CutAndPaste.C (pasteSelection): more clean up, user proper
6847 ParagraphList functions for pasteing.
6849 * ParagraphList.C (insert): new function, three arg insert
6851 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * ParagraphList.C (insert): new function, three arg insert
6855 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6858 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6860 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6862 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6864 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6866 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6869 (copySelection): clean up a bit.
6870 (pasteSelection): use make_pair
6872 * ParagraphList.C (ParagraphList): implement copy constructor
6873 (operator=): implement, base on copy constructor.
6876 * paragraph.C (erase): return a bool
6878 * paragraph_pimpl.C (erasePos): remove function, move contents...
6879 (erase): ... here. Return a bool.
6880 (erase): call erase instead of erasePos.
6882 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6884 * ParagraphList.h: define PitPosPair
6885 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6886 ParagraphList, fix a bug on pasting multiple pars
6887 * text2.C: change interface to C&P
6889 2003-04-30 André Pönitz <poenitz@gmx.net>
6891 * undo_func.C: revert part of yesterday's patch 2
6893 2003-04-30 John Levon <levon@movementarian.org>
6895 * LColor.C: s/tabular/table/
6897 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6899 * text3.C (dispatch): do not convert iterator -> pointer
6900 * undo_funcs.C (setCursorParUndo): ditto
6901 * text_funcs.C (transposeChars): ditto
6903 * text2.C (setLayout): ws changes only
6905 * text.C (breakParagraph): do not convert iterator -> pointer
6907 (acceptChange): ditto
6908 (rejectChange): ditto
6913 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6916 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6918 * text3.C (gotoInset): YABG (yet another bad getChar)
6920 2003-04-29 André Pönitz <poenitz@gmx.net>
6922 * paragraph.h: make operator= private unimplemented as long as
6925 * ParagraphList.C: whitespace
6928 * paragraph_pimpl.[Ch]:
6929 * paragraph_funcs.C:
6931 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6934 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6936 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6938 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6939 * paragraph.[Ch] (erase):
6940 * paragraph_pimpl.[Ch] (erase): change return type and value
6941 * text2.C (cutSelection): some rework
6943 2003-04-28 John Levon <levon@movementarian.org>
6945 * bufferlist.C: changes for unsaved changes dialog
6947 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6949 * bufferlist.C (newFile): set language (messages_) for new
6952 * buffer.C (readFile): ws changes only.
6954 2003-04-28 André Pönitz <poenitz@gmx.net>
6959 * BufferView_pimpl.C:
6960 * BufferView.C: getParFromID related ParagraphList::iterator changes
6962 2003-04-28 André Pönitz <poenitz@gmx.net>
6964 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6967 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6969 * messages.C: remove one more localedir class variable.
6971 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * messages.C (getLocaleDir): singleton generation function
6975 (Messages): add a default constructor.
6977 * main.C (main): do not setup localedir here, do not call
6980 * gettext.C (_): use it.
6981 (gettext_init): delete funciton
6983 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6985 * gettext.C (getLyXMessages): new singleton generating function.
6987 * buffer.C (updateDocLang): adjust
6989 * Makefile.am (messages.o): add target
6990 (main.o): remove target
6992 2003-04-27 John Levon <levon@movementarian.org>
6997 * lyxvc.C: specify cancel button in Alert::prompt
6999 2003-04-26 John Levon <levon@movementarian.org>
7004 * LyXAction.C: add LFUN_INSET_SETTINGS
7006 * lyxfunc.C: don't enable tabular-feature when there's
7007 just any locking inset
7009 2003-04-26 John Levon <levon@movementarian.org>
7011 * bufferlist.C: re-add Cancel to buffer close question
7013 * lyxfunc.C: fix import UI a bit
7015 2003-04-25 John Levon <levon@movementarian.org>
7017 * gettext.C: remove the broken asserts for now
7019 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7021 * messages.C: make case where setlocale cannot comply work better.
7023 * buffer.C (updateDocLang): new function
7024 (changeLanguage): use it
7027 * text2.C (setCounter): use B_ a bit.
7029 * lyxlayout.C (Read): be sure to trim the label strings.
7031 * messages.C (Messages): fix typo in comment
7033 * buffer.C (readFile): set message_ after file is loaded.
7034 (makeDocBookFile): remove double return
7035 (changeLanguage): reset message_ upon language change.
7036 (B_): new func, use this to get translated buffer strings.
7038 * main.C: add myself and Jean Marc as authors.
7040 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7042 * messages.[hC]: pimplify Messages, and three different pimpls to be
7043 used in different circumstances.
7045 * gettext.[Ch]: change for use with new message code.
7047 2003-04-24 André Pönitz <poenitz@gmx.net>
7049 * factory.C: support for eqref
7051 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7053 * messages.[Ch]: add missing char
7055 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7057 * messages.[Ch]: New files
7059 2003-04-18 John Levon <levon@movementarian.org>
7063 * BufferView_pimpl.C:
7067 * text2.C: remove layout-copy/paste (bug 778)
7069 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7071 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7073 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7075 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7076 if they succeed. Act accordingly.
7078 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * text2.C (setCharFont): adjust
7081 (setCounter): adjust
7082 (insertStringAsLines): adjust
7084 * text.C (leftMargin): adjust
7085 (setHeightOfRow): adjust
7087 * rowpainter.C (paintFirst): adjust
7090 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7092 (isFirstInSequence): ditto
7093 (getEndLabel): ditto
7096 * paragraph.C (getParLanguage): comment out some hard stuff.
7098 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7100 (simpleDocBookOnePar): ditto
7101 (makeDocBookFile): use ParagraphList::iterator
7103 * CutAndPaste.C (pasteSelection): adjust
7105 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * text2.C (getFont): adjust
7108 (getLayoutFont): adjust
7109 (getLabelFont): adjust
7111 * paragraph_funcs.C (TeXOnePar): adjust
7113 * buffer.C (simpleLinuxDocOnePar): adjust
7114 (simpleDocBookOnePar): adjust
7116 * CutAndPaste.C (pasteSelection): adjust
7118 * BufferView.C (getEncoding): adjust
7120 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7122 2003-04-16 John Levon <levon@movementarian.org>
7124 * lyxfind.C: use parlist stuff for search/changes
7126 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7130 * text2.C (deleteEmptyParagraphMechanism): adjust
7132 * text2.[Ch] (ownerParagraph): delete func (both of them
7134 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7138 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7140 * ParagraphList.C: prepare for NO_NEXT
7142 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7144 * text2.C (getFont): adjust
7145 (getLayoutFont): adjust
7146 (getLabelFont): adjust
7148 * paragraph.C (getFont): adjust
7149 (getLabelFont): adjust
7150 (getLayoutFont): adjust
7152 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7154 2003-04-15 John Levon <levon@movementarian.org>
7158 * lyx_main.C: handle Include in .ui files
7160 2003-04-15 John Levon <levon@movementarian.org>
7162 * MenuBackend.C: make the doc files length shorter
7165 * ToolbarBackend.C: handle toolbar placement flags,
7168 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7173 * paragraph_funcs.C (TeXOnePar): adjust
7175 * paragraph.C (getLabelFont): add outerfont arg, adjust
7176 (getLayoutFont): ditto
7177 (simpleTeXOnePar): adjust
7179 * paragraph_pimpl.C (realizeFont): delete func
7181 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7183 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7184 row argument, constify cur argument.
7186 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7188 * text2.C (getFont): adjust
7189 (getLayoutFont): adjust
7190 (getLabelFont): adjust
7192 * paragraph_funcs.C (TeXOnePar): adjust
7193 (outerFont): new func...
7194 (realizeFont): ...moved out from here, changed this to facilitate
7197 * paragraph.C (getFont): take outerfont as arg, adjust
7198 (simpleTeXOnePar): add outerfont arg, adjust
7200 * buffer.C (simpleLinuxDocOnePar): adjust
7201 (simpleDocBookOnePar): adjust
7203 * CutAndPaste.C (pasteSelection): adjust
7205 * BufferView.C (getEncoding): adjust
7207 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7209 * text2.C (setCharFont): adjust
7210 (setCounter): adjust
7212 * text.C (leftMargin): adjust
7213 (setHeightOfRow): adjust
7215 * rowpainter.C (paintFirst): adjust
7218 * paragraph_pimpl.C (realizeFont): adjust
7220 * paragraph.C (isFirstInSequence): move from here...
7221 * paragraph_funcs.C (isFirstInSequence): ...to here
7223 * paragraph.C (outerHook): move from here...
7224 * paragraph_funcs.C (outerHook): ...to here
7226 * paragraph.C (depthHook): move from here...
7227 * paragraph_funcs.C (depthHook): ...to here
7229 * paragraph.C (getEndLabel): move from here...
7230 * paragraph_funcs.C (getEndLabel): ...to here
7232 * text2.C (realizeFont): move from here...
7233 * paragraph_funcs.C (realizeFont): ...to here
7235 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7237 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7239 2003-04-14 Angus Leeming <leeming@lyx.org>
7241 * LColor.[Ch]: scrap LColor mathcursor.
7243 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * lyxlex.[Ch] (text): delete function
7246 * trans.C (Load): adjust
7247 * paragraph_funcs.C (readParToken): adjust
7249 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7252 vector<char> instead of a char[].
7254 * lyxlex_pimpl.C (getString): adjust
7256 (lex): use getString
7260 * lyxlex.C (text): use pimpl_->getString()
7264 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7266 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7267 (makeFontEntriesLayoutSpecific): temp var for par.size()
7268 (setLayout): temp var for ownerParagraphs().end()
7269 (fullRebreak): temp var for rows().end()
7270 (selectionAsString): temp var for boost::next(startpit), realize
7271 that the while really is a regular for loop.
7272 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7273 setCursor in one place.
7274 (setParagraph): temp vr for ownerParagraphs().end()
7275 (updateCounters): make the while loop a for loop
7276 (cutSelection): temp var for ownerParagraphs().end()
7277 (updateInset): make the do {} while() a regular for loop
7278 (getCursorX): use temp vars
7279 (setCurrentFont): use temp vars
7280 (getColumnNearX): use temp vars
7282 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7284 * text.C (transformChar): use temp var for getChar
7285 (computeBidiTables): use temp var for row->par()
7286 (fill): move temp vars for row->par() and pit->layout() earlier in
7288 (labelFill): use temp var for row->par()
7289 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7290 asc and desc, realize that pit never changes and that firstpit is
7291 just a duplicate and not needed. Exchange rit->par() with pit in a
7293 (breakAgain): use a temp var for boost::next(rit)
7294 (breakAgainOneRow): ditto
7295 (breakParagraph): use a temp var for rows().begin()
7296 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7297 (cursorRightOneWord): use temp var for cursor.par() and
7298 cursor.pos(), remove usage of tmpcursor.
7299 (cursorLeftOneWord): use temp var for cursor.par() and
7300 cursor.pos() only set cur at end of function.
7302 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * text.C, text2.C: exchange all usage of Paragraph::next with
7305 boost::next(ParagraphList::iterator)
7307 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7309 * text2.C (cursorTop): simplify implementation
7310 (cursorBottom): ditto
7311 (setParagraph): use ParagraphList::iterator
7312 (setCurrentFont): adjust
7313 (getColumnNearX): adjust
7314 (cursorRight): adjust
7315 (cursorLeft): remove usage of Paragraph::previous
7316 (cursorUpParagraph): ditto
7317 (deleteEmptyParagraphMechanism): slight cleanup
7319 * text.C (isBoundary): take a Paragraph const & instead of a
7321 (addressBreakPoint): ditto
7322 (leftMargin): remove usage of Paragraph::previous.
7323 (setHeightOfRow): ditto
7324 (cursorLeftOneWord): ditto
7325 (selectNextWordToSpellcheck): ditto
7328 (breakParagraph): remove one usage of Paragraph::next
7329 (redoParagraph): ditto
7330 (acceptChange): ditto
7331 (insertChar): adjust
7332 (rowBreakPoint): adjust
7334 * bufferview_funcs.C (toggleAndShow): adjust
7336 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7338 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7339 methods to access it.
7341 * text.C: Added updateRowPositions to compute all row positions.
7342 Make top_y and getRowNearY() to use the cached y position
7344 2003-04-11 John Levon <levon@movementarian.org>
7346 * text.C (rowBreakPoint): reintroduce the labelEnd
7347 checks, code copied from the row fill stuff. Deep voodoo.
7349 * text.C (fill): add a comment and debugging for the
7352 2003-04-11 John Levon <levon@movementarian.org>
7354 * text.C: make sure fullrow insets get wrapped to the next line,
7355 even when they're in a manual label
7357 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7359 * text2.C (insertParagraph): make it take ParagraphList::iterator
7361 (setLayout): make it return ParagraphList::iterator
7362 (redoParagraphs): ditto
7364 (checkParagraph): ditto
7366 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7368 * text2.C: adjust several funcs.
7369 (realizeFont): take a ParagraphList::iterator as arg.
7370 (getLayoutFont): ditto
7371 (getLabelFont): ditto
7372 (setCharFont): ditto
7374 * text.C: adjust several funcs.
7376 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7378 * text.C (selectNextWordToSpellcheck): don't accidentally
7381 2003-04-10 John Levon <levon@movementarian.org>
7383 * ToolbarBackend.C (getIcon): special handling for
7386 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7388 * text2.C (cursorRight): a getChar assert fixed
7390 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7392 * text2.C (getFont): change to take a ParagraphList::iterator
7393 instead of Paragraph*
7394 Adjust several functions.
7396 * text.C (transformChar): change to take a ParagraphList::iterator
7397 instead of Paragraph*
7398 (singleWidth): ditto
7399 Adjust several functions.
7401 * rowpainter.C: adjust several functions
7402 * rowpainter.h:store a ParagraphList::iterator and not a
7406 2003-04-09 John Levon <levon@movementarian.org>
7411 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7412 and the "help" bits as well
7414 2003-04-09 John Levon <levon@movementarian.org>
7417 * ToolbarBackend.C: allow multiple toolbars
7419 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * undo_funcs.C (setCursorParUndo): adjust
7423 * text_funcs.C (transposeChars): adjust
7425 * text3.C (gotoNextInset): adjust
7428 * text2.C (setLayout): adjust
7429 (changeDepth): adjust
7431 (redoParagraphs): adjust
7432 (selectionAsString): adjust
7433 (setParagraph): adjust
7434 (insertInset): adjust
7435 (cutSelection): adjust
7436 (copySelection): adjust
7437 (pasteSelection): adjust
7438 (insertStringAsLines): adjust
7439 (updateInset): adjust
7440 (setCursor): change to take a ParagraphList::iterator parameter
7441 (setCursorIntern): change to take a ParagraphList::iterator parameter
7442 (setCurrentFont): adjust
7443 (cursorLeft): adjust
7444 (cursorRight): adjust
7445 (deleteEmptyParagraphMechanism): adjust
7447 * text.C (breakParagraph): adjust
7448 (insertChar): adjust
7449 (acceptChange): adjust
7450 (rejectChange): adjust
7451 (selectNextWordToSpellcheck): adjust
7452 (changeCase): adjust
7456 * lyxfind.C (SearchForward): adjust
7457 (SearchBackward): adjust
7458 (nextChange): adjust
7460 * lyxcursor.C (par): adjust
7462 * lyxcursor.h: store a ParagraphList::iterator instead of a
7465 * lyx_cb.C (getPossibleLabel): adjust
7467 * bufferview_funcs.C (toggleAndShow): adjust
7469 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7472 * BufferView.C (removeAutoInsets): adjust
7473 (lockedInsetStoreUndo): adjust
7475 2003-04-09 John Levon <levon@movementarian.org>
7477 * ToolbarBackend.C: try icon without argument
7478 if with argument fails
7480 2003-04-08 John Levon <levon@movementarian.org>
7483 * ToolbarBackend.C: add getIcon(), handle tooltip,
7484 and change from "Icon" to "Item".
7486 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7488 * BufferView.C (lockInset): another bad getchar crunched
7490 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7492 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7495 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7497 * lyxfind.C (searchForward, searchBackwards): bug 782
7499 2003-04-07 John Levon <levon@movementarian.org>
7501 * paragraph.C: remove dead comment
7503 * text.C: remove troublesome depth-fiddling code
7504 in leftMargin() and rightMargin() (bug 1017)
7506 * text.C: fix breaking of rows in nested lists
7509 * text2.C (updateCounters): fix up depth values
7512 2003-04-07 John Levon <levon@movementarian.org>
7514 * BufferView_pimpl.C: clear message when doc finishes resizing,
7515 and after a mouse event
7517 * lyxfunc.C: clear message after exiting inset
7519 2003-04-07 John Levon <levon@movementarian.org>
7521 * bufferview_funcs.C: show math status not outside
7522 status in the statusbar
7524 2003-04-07 John Levon <levon@movementarian.org>
7526 * lyxfunc.C: note status changed after a depth change
7528 2003-04-04 Angus Leeming <leeming@lyx.org>
7530 * LaTeX.h: move AuxInfo operator==, != out of line.
7531 Remove LaTeX virtual destructor; nothing derives from it.
7532 Move operator()() out of public area and rename it startscript().
7533 Change protected for private.
7535 2003-04-04 Angus Leeming <leeming@lyx.org>
7538 * text2.C: remove unneeded #includes.
7540 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7542 * text2.C (dEPM): fix the heigth of the next row
7544 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7546 * text.C: squashed an invalid getChar requester + some ws changes
7548 2003-04-03 John Levon <levon@movementarian.org>
7550 * bufferview_funcs.h:
7551 * bufferview_funcs.C:
7554 * text2.C: make getStatus work for the env depth lfuns
7556 2003-04-03 John Levon <levon@movementarian.org>
7558 * bufferview_funcs.h:
7559 * bufferview_funcs.C:
7562 * text2.C: parlistize decDepth(), by merging it with incDepth()
7564 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * lyxrow.h: store a ParagraphList::iterator instead of a
7567 Paragraph* and adjust other class functions to suit.
7569 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7572 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7574 * text2.C (setCursor): do not anchor to cursor row for the time being
7576 2003-04-02 John Levon <levon@movementarian.org>
7583 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7585 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * paragraph.h: make ParagraphList and ParagraphList::iterator
7588 friends of Paragraph.
7590 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7592 * ParagraphList.C: Use the private next_ and previous_ from
7595 2003-04-01 John Levon <levon@movementarian.org>
7599 * Makefile.am: rename, remove defaults gunk
7602 * MenuBackend.C: remove defaults gunk
7605 * Languages.C: remove defaults gunk
7608 * lyx_main.C: error out if files couldn't be found.
7610 2003-04-02 John Levon <levon@movementarian.org>
7612 * text2.C: make incDepth() use parlist
7614 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * undo_funcs.C (firstUndoParagraph): adjust
7618 * text3.C (gotoInset): adjust
7619 (dispatch): adjust, and rewrite loop.
7621 * text2.C (init): adjust, and rewrite loop.
7622 (redoParagraphs): adjust
7623 (updateInset): adjust, and rewrite loop.
7624 (deleteEmptyParagraphMechanism): adjust
7626 * tabular.C (LyXTabular): adjust
7627 (SetMultiColumn): adjust
7630 * lyxtext.[Ch] (ownerParagraph): delete function
7631 (ownerParagraphs): new function returns a ParagraphList.
7633 * BufferView.C (removeAutoInsets): adjust
7634 (insertErrors): adjust
7635 (setCursorFromRow): adjust
7637 2003-04-01 Angus Leeming <leeming@lyx.org>
7639 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7642 2003-04-02 John Levon <levon@movementarian.org>
7648 * text_funcs.C: make transposeChars a free function
7650 * lyxrow_funcs.C: remove wrong comment
7652 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * rowpainter.C: adjust
7660 * lyxrow_funcs. [Ch]: new files
7662 * lyxrow.[Ch]: remove next and previous pointers
7663 (next,previous): remove accessor functions
7664 (isParEnd): move to lyxrow_funcs
7665 (lastPos): move to lyxrow_funcs
7666 (nextRowIsAllInset): move to lyxrow_funcs
7667 (lastPrintablePos): move to lyxrow_funcs
7668 (numberOfSeparators): move to lyxrow_funcs
7669 (numberOfHfills): move to lyxrow_funcs
7670 (numberOfLabelHfills): move to lyxrow_funcs
7671 (hfillExpansion): move to lyxrow_funcs
7675 * bufferview_funcs.C (toggleAndShow): adjust
7677 * RowList.h: Remove class RowList from file leave just a
7680 * RowList.C: delete file
7682 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7685 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * text3.C (cursorPrevious): adjust
7688 (cursorNext): adjust
7691 * text2.C (redoHeightOfParagraph): adjust
7692 (redoDrawingOfParagraph): adjust
7695 * text.C (breakParagraph): adjust
7696 (insertChar): adjust
7699 * rowpainter.C (RowPainter): adjust
7700 (leftMargin): simplify and adjust
7701 (most rowpainter functions): adjust.
7703 * rowpainter.h: store the row as RowList::iterator not as Row*
7705 * lyxcursor.C (row): taka RowList::iterator as arg
7708 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7711 2003-04-01 Angus Leeming <leeming@lyx.org>
7713 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7714 stuff like bool Bool.
7716 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7718 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7721 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7726 * lyxtext.h (rows): drop one version and leve a const variant that
7727 returns a RowList::iterator.
7729 2003-03-31 Angus Leeming <leeming@lyx.org>
7731 * text.C (fill): ensure that the signature is the same as that in the
7734 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * text2.C (redoParagraphs): adjust
7737 (updateCounters): adjust
7738 (checkParagraph): adjust
7739 (getColumnNearX): adjust and reformat a bit.
7741 * text.C (top_y): adjust
7743 (leftMargin): adjust
7744 (prepareToPrint): adjust
7746 (getRowNearY): adjust
7748 * lyxtext.h: make rowlist_ mutable.
7750 * RowList.h: add const_iterator
7751 * RowList.C: adjust for RowList::const_iterator.
7753 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7756 2003-03-31 John Levon <levon@movementarian.org>
7759 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7761 * lyx_main.C: set default fonts from using lyx_gui funcs
7763 * exporter.C: pdf_mode moved from lyxrc
7766 * lyxfunc.C: changes from above
7768 2003-03-31 John Levon <levon@movementarian.org>
7770 * lyx_main.C: fix to the last fix
7772 2003-03-31 John Levon <levon@movementarian.org>
7774 * bufferlist.C: "Load original" -> "Load Original"
7780 * format.C: more Alert cleanups
7782 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7784 * text2.C (removeParagraph): make it take a RowList::iterator as
7786 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7787 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7789 * text.C (anchor_row): make it take a RowList::iterator as arg,
7791 (computeBidiTables): make it take a const reference to Row instead
7792 of Row pointer, adjust.
7793 (leftMargin): make it take a RowList::iterator as arg, adjust.
7794 (rowBreakPoint): adjust
7795 (breakAgainOneRow): make it take a RowList::iterator as arg,
7797 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7799 * bufferview_funcs.C (toggleAndShow): adjust
7801 2003-03-30 John Levon <levon@movementarian.org>
7805 * boost-inst.C: moved to support
7807 * several files: changes as a result
7809 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * text2.C (LyXText): adjust.
7813 (removeRow): make it take a RowList::iterator as arg, adjust.
7814 (fullRebreak): adjust
7815 (deleteEmptyParagraphMechanism): adjust
7816 (clearPaint): adjust
7819 * text.C (top_y): adjust
7820 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7821 (breakAgain): make it take a RowList::iterator as arg, adjust.
7822 (breakParagraph): adjust
7823 (insertChar): adjust
7826 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7827 need_break_row, and refresh_row.
7829 * text3.C (dispatch): adjust
7831 * text2.C (checkParagraph): adjust
7833 (setCursorFromCoordinates): adjust
7835 * text.C (top_y): adjust
7837 (getRow): make it return a RowList::iterator, adjust
7838 (getRowNearY): make it return a RowList::iterator, adjust
7840 * text2.C (init): adjust
7841 (insertRow): remove function
7842 (insertParagraph): adjust
7843 (redoParagraphs): adjust
7844 (fullRebreak): adjust
7845 (updateCounters): adjust
7847 * text.C (top_y): rewrite to use RowList iterators.
7849 (setHeightOfRow): rewrite to sue RowList iterators.
7850 (appendParagraph): adjust
7851 (breakAgain): adjust
7852 (breakAgainOneRow): adjust
7853 (breakParagraph): adjust
7855 (getRowNearY): adjust, and remove commented code.
7857 * lyxtext.h (firstRow): delete function
7858 (lastRow): delete function
7859 (rows): new function (const and non-const versions.)
7860 (insertRow): delete function
7862 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7864 2003-03-29 John Levon <levon@movementarian.org>
7866 * BufferView_pimpl.C: always update scrollbar top
7867 because pasting text when we're anchored could mean we
7868 miss an update altogether
7870 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * text2.C (init): use rowlist_.end() and not 0.
7873 (insertRow): change to take a RowList::iterator as arg, adjust
7875 (insertParagraph): change to take a RowList::iterator as arg,
7877 (redoParagraphs): remove some debug msgs.
7879 * text.C (appendParagraph): change to take a RowList::iterator
7880 arg, adjust for this.
7881 (breakAgain): add an assert
7882 (breakAgainOneRow): ditto
7884 2003-03-29 John Levon <levon@movementarian.org>
7886 * text2.C: do not clear selection after inc/decDepth
7889 2003-03-29 John Levon <levon@movementarian.org>
7892 * buffer.C: fix broken strerrors according to Lars
7894 2003-03-29 John Levon <levon@movementarian.org>
7896 * converters.C: more Alert cleanups
7898 2003-03-29 John Levon <levon@movementarian.org>
7900 * bufferview_funcs.C: remove pointless Alert
7902 * buffer.C: fix confusing error message when
7903 a template is chmoded 000
7905 2003-03-29 John Levon <levon@movementarian.org>
7909 * BufferView_pimpl.C: Alert fixes
7913 * tabular-old.C: remove unused table compat reading
7915 2003-03-29 John Levon <levon@movementarian.org>
7920 * lyx_cb.C: more Alert cleanups
7922 * lyxfunc.C: don't allow chktex if not latex document
7924 2003-03-29 John Levon <levon@movementarian.org>
7928 * buffer.C: warnings pushed down from support/,
7931 2003-03-29 John Levon <levon@movementarian.org>
7933 * lyxfunc.C: safety check for C-r (revert)
7935 2003-03-29 John Levon <levon@movementarian.org>
7938 * bufferlist.C: several UI fixes using Alert::prompt.
7939 Fix the pointless looping quit code. Fix stupid revert
7944 * lyx_cb.C: use Alert::prompt
7946 * lyx_main.C: remove a silly question
7948 * lyxfunc.C: remove a couple of silly questions,
7951 2003-03-28 John Levon <levon@movementarian.org>
7953 * text2.C: fix bug 974 (End on empty par)
7955 2003-03-28 John Levon <levon@movementarian.org>
7957 * BufferView_pimpl.C:
7959 * lfuns.h: remove do-nothing math greek lfuns
7961 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7963 * lyxgluelength.h (isValidGlueLength): add default arg on
7964 parameter 2. Remove default arg from friend in class.
7966 * lyxlength.h (isValidLength): add default arg on parameter 2.
7967 Remove default arg from friend in class.
7969 * text2.C (LyXText): adjust, initialize refresh_row.
7973 (insertParagraph): adjst
7974 (redoParagraphs): adjust
7975 (fullRebreak): adjust
7976 (updateCounters): adjust
7977 (deleteEmptyParagraphMechanism): first attempt at fixing a
7980 * text.C (top_y): adjust
7981 (setHeightOfRow): adjust
7983 (getRowNearY): adjust
7985 * lyxtext.h: include RowList.h
7986 (~LyXText): not needed anymore, deleted.
7987 (firstRow): modify for RowList
7988 (lastRow): new function
7989 Delete firstrow and lastrow class variables, add a Rowlist
7990 rowlist_ class variable.
7992 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7995 * RowList.C (insert): fix case where it == begin().
7997 2003-03-26 Angus Leeming <leeming@lyx.org>
7999 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8000 the thesaurus dialog.
8002 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8004 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8006 * RowList.[Ch]: new files
8008 * ParagraphList.C (erase): handle the case where it == begin
8011 2003-03-25 John Levon <levon@movementarian.org>
8015 * aspell.C: add new aspell support
8018 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8021 2003-03-25 Angus Leeming <leeming@lyx.org>
8024 * LyXAction.C (init): new LFUN_INSET_INSERT.
8026 * BufferView_pimpl.C (dispatch): split out part of the
8027 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8029 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8032 2003-03-25 Angus Leeming <leeming@lyx.org>
8034 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8036 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8039 * text3.C: remove useless row->height(0)
8041 2003-03-25 John Levon <levon@movementarian.org>
8045 * text3.C: rename the refreshing stuff to better names
8047 2003-03-24 John Levon <levon@movementarian.org>
8049 * BufferView_pimpl.h:
8050 * BufferView_pimpl.C: update layout choice on a mouse
8053 2003-03-23 John Levon <levon@movementarian.org>
8055 * Makefile.am: fix commandtags.h reference
8057 2003-03-22 John Levon <levon@movementarian.org>
8059 * BufferView_pimpl.C:
8064 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8066 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8069 * text.C: take the rtl methods out of line
8071 2003-03-21 André Pönitz <poenitz@gmx.net>
8073 * metricsinfo.[Ch]: new files containing structures to be passed around
8074 during the two-phase-drawing...
8076 2003-03-21 André Pönitz <poenitz@gmx.net>
8078 * lyxtextclass.C: read 'environment' tag.
8080 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8082 * text2.C (removeRow): fix bug 964
8084 2003-03-20 John Levon <levon@movementarian.org>
8088 * text2.C: paint cleanups. Inset::update() dropped font
8091 2003-03-19 John Levon <levon@movementarian.org>
8093 * lyxfunc.C: only fitcursor/markDirty if available()
8095 2003-03-19 John Levon <levon@movementarian.org>
8097 * commandtags.h: rename to ...
8099 * lfuns.h: ... this, and renumber / cleanup
8101 2003-03-19 John Levon <levon@movementarian.org>
8103 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8104 fit the cursor after an lfun
8108 * BufferView_pimpl.h:
8109 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8111 * LyXAction.C: layout-character should have ReadOnly
8113 * ParagraphParameters.C:
8115 * bufferview_funcs.C:
8122 * undo_funcs.C: changes from above
8124 2003-03-18 John Levon <levon@movementarian.org>
8126 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8127 remove it from update()
8129 * lyxfunc.C: update layout choice after an lfun
8131 * text3.C: remove extra updateLayoutChoice()s
8133 2003-03-18 John Levon <levon@movementarian.org>
8135 * text.C: top_y change means full repaint, fix
8136 a drawing bug with cursor movement
8138 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8142 * text2.C: anchor row on setCursor
8144 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8146 * lyxtext.h: remove almost all mutable keywords
8149 * text3.C: remove const keywords accordingly
8151 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8153 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8155 (TeXEnvironment): ditto
8158 2003-03-17 John Levon <levon@movementarian.org>
8160 * text.C (rowBreakPoint): remove attempt to fix displayed
8161 math insets inside a manual label
8163 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8165 * lyxtext.h: remove BufferView* as first arg from almost all class
8167 * other files: adjust.
8169 2003-03-17 John Levon <levon@movementarian.org>
8173 * text2.C: more paint cleanups
8175 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8178 * rowpainter.C: remove "smart" background painting code
8180 2003-03-16 John Levon <levon@movementarian.org>
8185 * text3.C: add helper functions for setting refresh_row/y
8187 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8189 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8190 newline inset which *can* get inserted in the pass_thru layouts.
8191 This is primarily for literate documents.
8193 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8195 * buffer.C: increment LYX_FORMAT to 223
8197 2003-03-14 André Pönitz <poenitz@gmx.net>
8199 * textclass.h: prepare for environment handling, ws changes
8200 * lyxlayout.C: read latexheader and latexfooter tags
8202 2003-03-14 John Levon <levon@movementarian.org>
8204 * text2.C: rewrite ::status() a bit
8206 2003-03-13 John Levon <levon@movementarian.org>
8208 * lyxtext.h: add some docs
8210 2003-03-13 John Levon <levon@movementarian.org>
8215 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8217 2003-03-13 John Levon <levon@movementarian.org>
8219 * text3.C: fix appendix redrawing
8221 2003-03-13 John Levon <levon@movementarian.org>
8223 * text.C (setHeightOfRow):
8225 * rowpainter.C: make appendix mark have the text
8226 "Appendix" so the user knows what it is
8229 * LColor.C: s/appendixline/appendix/ from above
8231 2003-03-13 John Levon <levon@movementarian.org>
8233 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8235 * text.C: fix a getChar(pos) bug properly
8237 2003-03-13 Angus Leeming <leeming@lyx.org>
8240 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8241 Probably only temporary. Let's see how things pan out.
8243 * BufferView.C (unlockInset):
8244 * BufferView_pimpl.C (fitCursor):
8245 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8247 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8248 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8250 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8251 new functions that convert ParagraphParameters to and from a string.
8253 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8254 BufferView::Pimpl's dispatch.
8255 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8257 2003-03-13 André Pönitz <poenitz@gmx.net>
8261 * factory.C: make it aware of InsetEnv
8263 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8265 * text2.C (setCursor): never ask for one past last
8266 (setCursor): add some debugging messages.
8268 * text.C (singleWidth): never ask for one past last
8269 (singleWidth): ditto
8271 (rightMargin): ditto
8272 (rowBreakPoint): ditto
8273 (setHeightOfRow): ditto
8274 (prepareToPrint): ditto
8276 * rowpainter.C (paintBackground): never ask for one past last
8277 (paintText): never ask for one past last
8279 * paragraph_pimpl.C (getChar): make the assert stricter, never
8280 allow the one past last pos to be taken
8282 * paragraph.C (getChar): ws changes only
8284 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8285 (numberOfSeparators): ditto
8286 (numberOfHfills): ditto
8288 2003-03-12 John Levon <levon@movementarian.org>
8294 * paragraph_funcs.C: fix per-buffer authorlists
8296 2003-03-12 John Levon <levon@movementarian.org>
8298 * text.C: fix newline in right address
8300 2003-03-12 Angus Leeming <leeming@lyx.org>
8302 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8303 duplicate those in LyXFunc::dispatch.
8307 * ToolbarDefaults.C:
8308 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8309 Add LFUN_FONTFREE_UPDATE.
8311 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8312 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8314 * bufferview_func.[Ch]: several new functions to facilliate
8315 transfer of data to and from the character dialog.
8317 2003-03-12 John Levon <levon@movementarian.org>
8322 * paragraph_funcs.C:
8323 * paragraph_pimpl.C:
8327 * text3.C: remove META_NEWLINE in favour of an inset
8330 * rowpainter.C: remove paintNewline (done by inset)
8332 2003-03-12 John Levon <levon@movementarian.org>
8334 * paragraph_pimpl.C: complain about bad getChar()s
8335 for a while at least
8337 2003-03-12 John Levon <levon@movementarian.org>
8340 * buffer.C: move paragraph read into a separate function,
8341 a little renaming to reflect that.
8344 * bufferparams.C: remove the author_ids map, not necessary now
8347 * factory.C: moved Buffer::readInset to here
8349 * paragraph_funcs.h:
8350 * paragraph_funcs.C: readParagraph free function moved from
8353 * tabular.C: name change
8355 2003-03-12 John Levon <levon@movementarian.org>
8358 * ParagraphParameters.C: move par params input to
8361 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8362 behave like a normal read from the stream wrt reading
8363 a line vs. a \\token
8365 2003-03-12 John Levon <levon@movementarian.org>
8368 * ParagraphParameters.h:
8369 * ParagraphParameters.C: move output code to a
8372 2003-03-12 John Levon <levon@movementarian.org>
8374 * BufferView.C (insertLyXFile):
8377 * tabular.C: use a parlist iterator for creating the
8380 2003-03-12 John Levon <levon@movementarian.org>
8382 * buffer.C: make current_change static local not
8385 2003-03-12 John Levon <levon@movementarian.org>
8387 * buffer.C: fix insertStringAsLines for change tracking
8389 2003-03-12 John Levon <levon@movementarian.org>
8396 * bufferparams.C: move author list into params. Rename some
8397 functions. Move the header reading into a separate token
8398 loop. Move the header token reading into BufferParams.
8400 2003-03-12 John Levon <levon@movementarian.org>
8402 * changes.C: put debug inside lyxerr.debugging() checks
8404 2003-03-11 André Pönitz <poenitz@gmx.net>
8406 * factory.C: make it aware of InsetHFill
8408 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8410 * buffer.C (latexParagraphs): move function from here...
8411 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8414 2003-03-10 Angus Leeming <leeming@lyx.org>
8416 * LyXAction.C (init): fix bug in poplating array with multiple entries
8417 with the same LFUN (spotted by JMarc).
8419 2003-03-10 John Levon <levon@movementarian.org>
8422 * text2.C: move getColumnNearX() near its
8425 2003-03-10 John Levon <levon@movementarian.org>
8427 * text.C: fix break before a minipage
8429 2003-03-10 John Levon <levon@movementarian.org>
8431 * text.C: fix the last commit
8433 2003-03-09 John Levon <levon@movementarian.org>
8437 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8438 bug 365 (don't break before insets unless needed). Don't
8439 return a value > last under any circumstances.
8441 2003-03-09 Angus Leeming <leeming@lyx.org>
8443 * BufferView_pimpl.C (trackChanges, dispatch): call
8444 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8446 2003-03-09 Angus Leeming <leeming@lyx.org>
8448 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8449 than Dialogs::showAboutlyx().
8451 2003-03-09 Angus Leeming <leeming@lyx.org>
8453 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8454 than Dialogs::showTabularCreate().
8456 2003-03-09 John Levon <levon@movementarian.org>
8460 * text2.C: 3rd arg to nextBreakPoint was always the same.
8463 2003-03-08 John Levon <levon@movementarian.org>
8470 * text2.C: Remove the "main" bit from the "main body"
8473 2003-03-08 John Levon <levon@movementarian.org>
8475 * text.C (leftMargin): The left margin of an empty
8476 manual label paragraph should not include the label width
8479 * text.C (prepareToPrint): don't attempt to measure hfills
8480 for empty manual label paragraphs - the answer should be 0
8482 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8484 * CutAndPaste.C: remove commented code and reindent.
8486 2003-03-08 John Levon <levon@movementarian.org>
8489 * lyxfunc.C: move reloadBuffer()
8492 * BufferView.C: to here
8494 * lyxvc.C: add comment
8497 * vc-backend.C: call bv->reload() to avoid
8498 getStatus() check on MENURELOAD
8500 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8502 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8503 to an old format .dep file.
8505 2003-03-07 Angus Leeming <leeming@lyx.org>
8507 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8508 when the LFUN_MOUSE_RELEASE should have been handled by
8509 inset->localDispatch.
8511 2003-03-07 Angus Leeming <leeming@lyx.org>
8513 * BufferView_pimpl.C (dispatch):
8514 * LyXAction.C (init):
8515 * ToolbarDefaults.C (init):
8517 * lyxfunc.C (getStatus):
8518 remove LFUN_INSET_GRAPHICS.
8520 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8522 2003-03-07 Angus Leeming <leeming@lyx.org>
8525 * LyXAction.C (init):
8526 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8528 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8531 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8533 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8534 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8536 2003-03-07 Angus Leeming <leeming@lyx.org>
8538 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8541 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8543 * ParagraphList.C (front): new function
8546 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8548 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8549 and top_row_offset_. removed var first_y.
8551 * text2.C (LyXText, removeRow):
8553 * BufferView_pimpl.C:
8554 use these methods instead of using first_y
8556 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8558 * text2.C (pasteSelection): adjust for checkPastePossible
8560 * CutAndPaste.C: remove Paragraph * buf and replace with
8561 ParagraphList paragraphs.
8562 (DeleteBuffer): delete
8563 (cutSelection): change the tc type to textclass_type
8564 (copySelection): change the tc type to textclass_type
8565 (copySelection): adjust for ParagraphList
8566 (pasteSelection): change the tc type to textclass_type
8567 (pasteSelection): adjust for Paragraphlist
8568 (nrOfParagraphs): simplify for ParagraphList
8569 (checkPastePossible): simplify for ParagraphList
8570 (checkPastePossible): remove unused arg
8572 * ParagraphList.C (insert): handle the case where there are no
8575 * CutAndPaste.h: make CutAndPaste a namespace.
8577 * text3.C (dispatch): adjust
8579 * text.C (breakParagraph): add a ParagraphList as arg
8581 * paragraph_funcs.C (breakParagraph): change to take a
8582 BufferParams and a ParagraphList as args.
8583 (breakParagraphConservative): ditto
8584 (mergeParagraph): ditto
8585 (TeXDeeper): add a ParagraphList arg
8586 (TeXEnvironment): ditto
8589 * buffer.C (readLyXformat2): adjust
8590 (insertStringAsLines): adjust
8591 (latexParagraphs): adjust
8593 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8594 (cutSelection): adjust
8595 (pasteSelection): adjust
8597 * BufferView_pimpl.C (insertInset): adjust
8599 2003-03-05 Angus Leeming <leeming@lyx.org>
8602 * LyXAction.C (init):
8603 * BufferView_pimpl.C (dispatch):
8604 * lyxfunc.C (getStatus):
8605 remove LFUN_CHILD_INSERT.
8607 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8609 2003-03-05 Angus Leeming <leeming@lyx.org>
8612 * LyXAction.C (init):
8613 * src/factory.C (createInset):
8614 * lyxfunc.C (getStatus):
8615 * text3.C (dispatch):
8616 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8618 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8620 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8622 * ParagraphList.C (insert): handle insert right before end()
8623 (erase): fix cases where it can be first or last paragraph.
8625 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8627 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8628 Paragraph::next and Paragraph::previous
8631 * text.C (breakParagraph): adjust
8633 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8634 BufferParams& as arg.
8635 (breakParagraph): use ParagraphList::insert
8636 (breakParagraphConservative): take a Buffer* instead of a
8637 BufferParams& as arg.
8638 (breakParagraphConservative): use ParagraphList::insert.
8640 * buffer.C (insertStringAsLines): un-const it
8641 (insertStringAsLines): adjust
8643 * ParagraphList.C (insert): new function
8645 * CutAndPaste.C (pasteSelection): adjust
8647 * text.C (backspace): adjust
8649 * tabular.C (SetMultiColumn): adjust
8651 * CutAndPaste.C (cutSelection): adjust
8652 (pasteSelection): adjust
8654 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8655 Buffer const * as arg
8657 * ParagraphList.C (erase): new function
8658 * paragraph_funcs.C (mergeParagraph): use it
8659 (mergeParagraph): make it take a Buffer* instead of a
8660 BufferParams* as arg
8662 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8664 (breakParagraphConservative): ditto
8666 * paragraph.h: remove the breakParagraph friend
8668 * paragraph.C (eraseIntern): new function
8669 (setChange): new function
8671 * paragraph_funcs.C (mergeParagraph): make it take a
8672 ParagraphList::iterator instead of a Paragraph *, adjust
8675 * paragraph.h: move an #endif so that the change tracking stuff
8676 also works in the NO_NEXT case.
8678 2003-03-04 Angus Leeming <leeming@lyx.org>
8681 * LyXAction.C: new LFUN_INSET_MODIFY.
8683 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8684 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8686 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8688 * several files: ws changes only
8690 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8691 (TeXEnvironment): ditto
8694 * buffer.C (makeLaTeXFile): adjust
8695 (latexParagraphs): make it take ParagraphList::iterator as args
8697 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8699 * buffer.C (latexParagraphs): adjust
8701 * paragraph.C (TeXOnePar): move function...
8702 (optArgInset): move function...
8703 (TeXEnvironment): move function...
8704 * paragraph_pimpl.C (TeXDeeper): move function...
8705 * paragraph_funcs.C: ...here
8707 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8709 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8711 * buffer.C (readInset): remove compability code for old Figure and
8714 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8716 * buffer.C: ws changes
8719 * BufferView_pimpl.C: ditto
8722 * bufferlist.h: ditto
8726 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8728 * converter.[Ch]: split into itself +
8731 * Makefile.am: += graph.[Ch] + format.[Ch]
8738 * lyxrc.C: added #include "format.h"
8740 2003-02-27 Angus Leeming <leeming@lyx.org>
8742 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8745 * factory.C (createInset): add "label" to the factory.
8747 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8748 string and do no more.
8750 2003-02-27 Angus Leeming <leeming@lyx.org>
8753 * LyXAction.C (init):
8754 * factory.C (createInset):
8755 * BufferView_pimpl.C (dispatch):
8756 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8758 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8760 * lyxfunc.C (dispatch):
8761 * text3.C (dispatch): pass name to params2string.
8763 2003-02-26 Angus Leeming <leeming@lyx.org>
8765 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8767 Rearrange the ~includes. Strip out the unnecessary ones.
8769 * factory.C (createInset): reformat.
8770 create new insets for the various LFUN_XYZ_APPLY lfuns.
8772 2003-02-26 John Levon <levon@movementarian.org>
8775 * lyxrow.C: add isParStart,isParEnd helpers
8777 * paragraph.h: make isInserted/DeletedText take refs
8779 * paragraph_funcs.h:
8780 * paragraph_funcs.C: remove #if 0'd code
8785 * text.C: use lyxrow helpers above.
8786 Move draw and paint routines to RowPainter.
8787 Make several methods use refs not pointers.
8788 Make backgroundColor() const.
8789 Add markChangeInDraw(), isInInset().
8790 Merge changeRegionCase into changeCase.
8791 Make workWidth() shouldn't-happen code into an Assert.
8794 * rowpainter.C: new class for painting a row.
8797 * vspace.C: make inPixels take a ref
8799 2003-02-26 Angus Leeming <leeming@lyx.org>
8801 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8804 2003-02-25 John Levon <levon@movementarian.org>
8806 * ispell.C: give the forked command a more accurate name
8808 2003-02-22 John Levon <levon@movementarian.org>
8811 * toc.C: make TocItem store an id not a Paragraph *
8814 2003-02-21 Angus Leeming <leeming@lyx.org>
8816 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8817 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8818 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8819 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8820 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8821 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8823 * BufferView_pimpl.C (dispatch):
8824 * LyXAction.C (init):
8825 * factory.C (createInset):
8826 * lyxfunc.C (getStatus, dispatch):
8827 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8829 2003-02-21 Angus Leeming <leeming@lyx.org>
8831 * BufferView_pimpl.C (MenuInsertLyXFile):
8832 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8833 * lyxfunc.C (menuNew, open, doImport):
8834 no longer pass a LyXView & to fileDlg.
8836 2003-02-21 Angus Leeming <leeming@lyx.org>
8838 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8839 * LyXAction.C: change, BIBKEY to BIBITEM.
8840 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8841 Change InsetBibKey to InsetBibitem.
8842 Change BIBKEY_CODE to BIBITEM_CODE.
8843 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8844 * factory.C: replace insetbib.h with insetbibitem.h.
8845 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8846 * paragraph.C: replace insetbib.h with insetbibitem.h.
8847 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8848 Change bibkey() to bibitem().
8849 * text.C: remove insetbib.h.
8850 * text2.C: replace insetbib.h with insetbibitem.h.
8851 change bibkey() to bibitem().
8852 * text3.C: remove insetbib.h.
8853 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8855 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8857 * lyxrc.C (output): enclose user email in quotes (in case there are
8860 2003-02-18 John Levon <levon@movementarian.org>
8862 * buffer.h: add std::
8864 2003-02-17 John Levon <levon@movementarian.org>
8870 * pspell.C: reworking. Especially in ispell, a large
8871 number of clean ups and bug fixes.
8873 * lyxfunc.C: fix revert to behave sensibly
8875 2003-02-17 André Pönitz <poenitz@gmx.net>
8878 * commandtags.h: new LFUN_INSERT_BIBKEY
8888 * paragraph_func.C: remove special bibkey handling
8890 2003-02-17 John Levon <levon@movementarian.org>
8892 * text.C (Delete): fix case where delete at the end of
8893 the very first paragraph would not merge the pars
8895 2003-02-17 John Levon <levon@movementarian.org>
8897 * lyxrow.C: fix lastPrintablePos()
8899 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8901 * bufferparams.C (writeLaTeX): add a std:here
8903 * buffer.C: and remove a using directive there
8905 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8907 * buffer.C (makeLaTeXFile): move the code that generates the
8910 * bufferparams.C (writeLaTeX): ... in this new method
8912 * LaTeXFeatures.C (getEncodingSet): make const
8913 (getLanguages): make const
8915 * MenuBackend.C (binding): returns the binding associated to this
8917 (add): sets the status of each item by calling getStatus. Adds
8919 (read): add support for OptSubMenu
8920 (expand): remove extra separator at the end of expanded menu
8922 2003-02-15 John Levon <levon@movementarian.org>
8925 * BufferView_pimpl.C:
8927 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8928 inset code that had no actual effect. Remove unneeded status
8931 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8933 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8936 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8938 * text.C (drawLengthMarker): also draw an arrow marker for
8939 symbolic lengths (medskip...)
8941 2003-02-14 John Levon <levon@movementarian.org>
8944 * tabular.C: better method names
8946 2003-02-14 John Levon <levon@movementarian.org>
8948 * BufferView_pimpl.C:
8953 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8954 it's a more accurate name. Remove some pointless uses.
8956 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8958 * text2.C (LyXText): change order of initilizers to shut off
8961 2003-02-14 John Levon <levon@movementarian.org>
8963 * buffer.C: use ParIterator for getParFromID()
8967 * paragraph_pimpl.h:
8968 * paragraph_pimpl.C: remove unused getParFromID()
8970 2003-02-14 John Levon <levon@movementarian.org>
8972 * buffer.C: remove some very old #if 0'd parse code
8974 2003-02-13 John Levon <levon@movementarian.org>
8978 * text2.C: move hfillExpansion(), numberOfSeparators(),
8979 rowLast(), rowLastPrintable(), numberofHfills(),
8980 numberOfLabelHfills() ...
8983 * lyxrow.C: ... to member functions here.
8988 * text.C: remove LyXText::beginningOfMainBody(), and call
8989 p->beginningOfMainBody() directly. Move the check for
8990 LABEL_MANUAL into the latter.
8997 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9003 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9004 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9006 2003-02-13 John Levon <levon@movementarian.org>
9008 * CutAndPaste.C: remove debug
9010 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9012 * paragraph.C (asString): remove two unused variables
9014 * lyxtextclass.C (readTitleType):
9016 (LyXTextClass): handle new members titletype_ and titlename_
9018 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9020 2003-02-09 John Levon <levon@movementarian.org>
9023 * buffer.C: replace hand-coded list with a map for the dep clean
9025 2003-02-08 John Levon <levon@movementarian.org>
9027 * LaTeX.C: consolidate code into showRunMessage() helper
9029 2003-02-08 John Levon <levon@movementarian.org>
9034 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9035 and pass the size in explicitly
9037 * BufferView_pimpl.h:
9038 * BufferView_pimpl.C:
9040 * BufferView.C: add getCurrentChange()
9042 * BufferView_pimpl.h:
9043 * BufferView_pimpl.C: handle change lfuns
9045 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9046 for changes. Mark pasted paragraphs as new.
9048 * support/lyxtime.h:
9049 * support/lyxtime.C:
9050 * DepTable.C: abstract time_t as lyx::time_type
9053 * LColor.C: add colours for new text, deleted text, changebars
9055 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9056 package use "usenames" option.
9060 * LyXAction.C: add change lfuns
9064 * author.C: author handling
9067 * buffer.C: add a per-buffer author list, with first entry as
9068 current author. Handle new .lyx tokens for change tracking. Output
9069 author list to .lyx file. Output dvipost stuff to .tex preamble.
9070 Bump lyx format to 222.
9073 * bufferlist.C: add setCurrentAuthor() to reset current author details
9077 * bufferparams.C: add param for tracking
9079 * bufferview_funcs.C: output change info in minibuffer
9083 * changes.C: add change-tracking structure
9086 * debug.C: add CHANGES debug flag
9089 * lyxfind.C: add code for finding the next change piece
9092 * lyxrc.C: add user_name and user_email
9095 * lyxrow.C: add a metric for the top of the text line
9098 * text.C: implement accept/rejectChange()
9101 * text.C: paint changebars. Paint new/deleted text in the chosen
9102 colours. Strike through deleted text.
9106 * paragraph_pimpl.h:
9107 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9108 in the current change to the insert functions. Rework erase to
9109 mark text as deleted, adding an eraseIntern() and a range-based
9110 erase(). Implement per-paragraph change lookup and
9113 * paragraph_funcs.C: Fixup paste for change tracking.
9115 * tabular.C: mark added row/columns as new.
9117 * text.C: fix rowLast() to never return -1. Don't allow
9118 spellchecking of deleted text. Track transpose changes. Don't
9119 allow paragraph break or merge where appropriate.
9121 * text2.C: leave cursor at end of selection after a cut.
9123 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9125 * text.C (getLengthMarkerHeight):
9126 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9127 visible on screen too.
9129 2003-02-07 John Levon <levon@movementarian.org>
9131 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9133 2003-02-05 Angus Leeming <leeming@lyx.org>
9135 * lyxserver.C (read_ready): revert my patch of 11 September last year
9136 as it sends PC cpu through the roof. Presumably this means that
9137 the lyxserver will no longer run on an Alpha...
9139 2003-01-30 Angus Leeming <leeming@lyx.org>
9141 * factory.C (createInset): create an InsetCommandParam of type "index"
9142 and use it to 'do the right thing'.
9144 * text2.C (getStringToIndex): ensure that cursor position is always
9145 reset to the reset_cursor position.
9147 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9149 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9152 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9156 * lyxfunc.C: Output messages with identical spelling, punctuation,
9159 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9161 * MenuBackend.C (expandFormats): List only viewable export formats
9164 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9167 * lyxfunc.C (getStatus): Make sure that formats other than
9168 "fax" can also be disabled
9170 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9172 * text3.C (dispatch): put the lfuns that insert insets in 3
9173 groups, and call doInsertInset with appropriate arguments.
9174 (doInsertInset): new function, that creates an inset and inserts
9175 it according to some boolean parameters.
9177 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9179 * buffer.C (readFile): remember to pass on 'par' when calling
9180 readFile recursively.
9182 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9184 * MenuBackend.C (expandFormats): add "..." to import formats.
9186 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9188 * paragraph.C (asString): Remove XForms RTL hacks.
9190 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9191 * buffer.C: fix typo
9193 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9195 * Makefile.am (LIBS): delete var
9196 (lyx_LDADD): add @LIBS@ here instead.
9198 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9200 * Clarify the meaning of "wheel mouse jump"
9202 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9204 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9207 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9209 * importer.C (Loaders): do not preallocate 3 elements in the
9210 vector, since one ends up with 6 elements otherwise
9212 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9214 * DepTable.C (write): write the file name as last element of the
9215 .dep file (because it may contain spaces)
9216 (read): read info in the right order
9218 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9220 * paragraph_pimpl.C (simpleTeXBlanks):
9221 (simpleTeXSpecialChars):
9222 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9224 * tabular.C (latex): add some missing case statements. Reindent.
9226 * MenuBackend.C (expandToc): remove unused variable.
9228 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9237 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9240 2003-01-05 John Levon <levon@movementarian.org>
9243 * BufferView.C: add getEncoding()
9246 * kbsequence.C: do not store last keypress
9249 * lyxfunc.C: store last keypress here instead. Pass encoding
9252 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9254 * lyx_main.C (init): remove annoying error message when following
9255 symbolic links (bug #780)
9257 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9259 * text.C (insertChar):
9260 * lyxrc.C (getDescription): remove extra spaces
9262 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9264 * lyxrc.C (getDescription): remove extra spaces
9266 2002-12-20 John Levon <levon@movementarian.org>
9268 * text3.C: hack fix for page up/down across tall rows
9270 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9272 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9275 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9277 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9278 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9279 thesaurus is not compiled in
9281 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9283 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9285 2002-12-16 Angus Leeming <leeming@lyx.org>
9288 * lyx_main.C (init): remove override_x_deadkeys stuff.
9290 2002-12-12 John Levon <levon@movementarian.org>
9292 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9293 insert. Only remove shift modifier under strict
9296 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9298 * MenuBackend.C (expandToc): fix crash.
9300 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9302 * MenuBackend.C (expandToc): gettext on float names.
9304 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9306 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9307 implement bool empty() [bug 490]
9309 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9311 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9313 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9315 * several files: ws changes
9317 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9319 * text2.C (setCounter): clean up a bit, use boost.format.
9320 (updateCounters): initialize par upon declaration.
9322 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9323 if the layout exists. We do not just store the layout any more.
9324 (SwitchLayoutsBetweenClasses): use boost.format
9326 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9328 * converter.C (convert): if from and to files are the same, use a
9329 temporary files as intermediary
9331 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9334 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9336 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9338 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9340 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9342 * tabular.C (asciiPrintCell): use string(size, char) instead of
9345 * sgml.C (openTag): fix order of arguments to string constructor
9348 * lyxfunc.C (dispatch): use boost.format
9350 * lots of files: change "c" -> 'c'
9352 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9354 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9356 2002-11-25 Angus Leeming <leeming@lyx.org>
9358 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9360 * lyx_main.C (init): compile fix.
9362 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9364 * lyx_cb.C (start): boost.formatify
9365 do not include <iostream>
9367 * lengthcommon.C: ws only
9369 * boost-inst.C,BoostFormat.h: add more explict instantations
9371 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9373 * lots of files: handle USE_BOOST_FORMAT
9375 2002-11-21 John Levon <levon@movementarian.org>
9377 * pspell.C: fix compile
9379 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9381 * lyxfunc.C (dispatch): use boost::format
9385 * lyxfont.C (stateText): use boost::format
9387 * lyx_main.C (LyX): use boost::format
9389 (queryUserLyXDir): ditto
9392 (typedef boost::function): use the recommened syntax.
9394 * importer.C (Import): use boost::format
9396 * debug.C (showLevel): use boost::format
9398 * converter.C (view): use boost::format
9403 * bufferview_funcs.C (currentState): use boost::format
9405 * bufferlist.C (emergencyWrite): use boost::format
9407 * buffer.C (readLyXformat2): use boost::format
9408 (parseSingleLyXformat2Token): ditto
9410 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9412 * LaTeX.C (run): use boost::format
9414 * Chktex.C (scanLogFile): use boost::format
9416 * BufferView_pimpl.C (savePosition): use boost::format
9417 (restorePosition): ditto
9418 (MenuInsertLyXFile): ditto
9420 * BoostFormat.h: help file for explicit instation.
9422 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9424 * tabular.C (latex): Support for block alignment in fixed width
9427 2002-11-17 John Levon <levon@movementarian.org>
9429 * BufferView_pimpl.C:
9431 * lyxfunc.C: split filedialog into open/save
9433 2002-11-08 Juergen Vigna <jug@sad.it>
9435 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9436 by my last patch (hopefully).
9438 2002-11-08 John Levon <levon@movementarian.org>
9447 * toc.C: ParConstIterator, and use it (from Lars)
9449 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9451 * lyxtextclass.[Ch]: revise and add doxygen comments
9453 2002-11-07 John Levon <levon@movementarian.org>
9455 * text.C: fix progress value for spellchecker
9457 * toc.C: fix navigate menu for insetwrap inside minipage
9459 * paragraph_funcs.C: added FIXME for suspect code
9461 2002-11-07 John Levon <levon@movementarian.org>
9463 * BufferView_pimpl.C: fix redrawing of insets
9466 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9468 * text2.C (updateCounters): fix bug 668
9470 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9472 * text3.C (dispatch): Do not make the buffer dirty when moving the
9475 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9477 * vc-backend.C: STRCONV
9480 * text2.C (setCounter): STRCONV
9482 * paragraph.C (asString): STRCONV
9484 * lyxlength.C (asString): STRCONV
9485 (asLatexString): ditto
9487 * lyxgluelength.C (asString): STRCONV
9488 (asLatexString): ditto
9490 * lyxfunc.C (dispatch): STRCONV
9493 * lyxfont.C (stateText): STRCONV
9495 * importer.C (Import): STRCONV
9497 * counters.C (labelItem): STRCONV
9498 (numberLabel): ditto
9499 (numberLabel): remove unused ostringstream o
9504 * bufferview_funcs.C (currentState): STRCONV
9506 * buffer.C (readFile): STRCONV
9507 (asciiParagraph): ditto
9508 (makeLaTeXFile): ditto
9510 * Spacing.C (writeEnvirBegin): STRCONV
9512 * LaTeXFeatures.C (getLanguages): STRCONV
9513 (getPackages): ditto
9515 (getBabelOptions): ditto
9516 (getTClassPreamble): ditto
9517 (getLyXSGMLEntities): ditto
9518 (getIncludedFiles): ditto
9522 (scanAuxFile): ditto
9525 * LString.h: add the STRCONV macros
9527 * BufferView_pimpl.C (savePosition): STRCONV
9528 (restorePosition): ditto
9529 (MenuInsertLyXFile): ditto
9531 * vc-backend.C (scanMaster): change from submatch[...] to
9534 * funcrequest.C: include config.h
9536 * factory.C: include config.h
9538 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9540 * box.C: include config.h
9542 * LaTeX.C (scanAuxFile): change from submatch[...] to
9546 2002-10-25 Angus Leeming <leeming@lyx.org>
9548 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9550 * ispell.[Ch] (setError): new method.
9551 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9552 Use setError() insetead of goto END.
9554 * lyx_cb.C (AutoSave): move out child process into new class
9557 2002-10-30 John Levon <levon@movementarian.org>
9559 * text3.C: make start appendix undoable
9561 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9563 * lyxlength.C (inPixels): Fix returned value.
9565 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9568 2002-10-24 Angus Leeming <leeming@lyx.org>
9570 * lyxgluelength.h: no need to forward declare BufferParams
9571 or BufferView, so don't.
9573 2002-10-21 John Levon <levon@movementarian.org>
9575 * BufferView.C: menuUndo ->undo, redo
9577 * BufferView.h: document, remove dead, make some methods private
9579 * paragraph_funcs.h:
9580 * paragraph_funcs.C:
9581 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9586 * sgml.C: move sgml open/close tag into sgml.C
9588 * bufferview_funcs.h: unused prototype
9591 * lyxfunc.C: remove unused
9594 * text.C: remove unused
9596 2002-10-21 John Levon <levon@movementarian.org>
9600 * BufferView_pimpl.h:
9601 * BufferView_pimpl.C: fix mouse wheel handling based on
9602 patch from Darren Freeman
9604 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9606 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9608 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9610 * lyxlength.C (inPixels): Fix hanfling of negative length.
9611 Fix LyXLength::MU case.
9613 2002-10-16 John Levon <levon@movementarian.org>
9615 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9617 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9619 * converter.C (view): add support for $$i (file name) and $$p
9620 (file path) for the viewer command. If $$i is not specified, then
9621 it is appended to the command (for compatibility with old syntax)
9623 2002-10-14 Juergen Vigna <jug@sad.it>
9625 * undo_funcs.C (textHandleUndo): alter the order in which the
9626 new undopar is added to the LyXText, as we have to set first
9627 the right prev/next and then add it as otherwise the rebuild of
9628 LyXText is not correct. Also reset the cursor to the right paragraph,
9629 with this IMO we could remove the hack in "redoParagraphs()".
9631 2002-10-09 Angus Leeming <leeming@lyx.org>
9633 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9634 to turn off an optimisation if a new inset is to be inserted.
9636 2002-10-11 André Pönitz <poenitz@gmx.net>
9638 * lyxtext.h: make some functions public to allow access
9639 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9641 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9643 * text3.C (dispatch): when changing layout, avoid an infinite loop
9646 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9648 * lyxrc.C (read): treat a viewer or converter command of "none" as
9651 * MenuBackend.C (expandFormats): for an update, also allow the
9652 formats that are not viewable
9654 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9655 script if it is newer than the lyxrc.defaults in user directory
9657 2002-10-07 André Pönitz <poenitz@gmx.net>
9659 * text.C: Vitaly Lipatov's small i18n fix
9661 2002-09-25 Angus Leeming <leeming@lyx.org>
9663 * ispell.h: doxygen fix.
9665 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9667 * buffer.h (readFile): Add a new argument to the method, to allow
9668 reading of old-format templates.
9670 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9672 * toc.C (getTocList): Get TOC from InsetWrap.
9674 2002-09-16 John Levon <levon@movementarian.org>
9676 * lyxfunc.C: check tabular for cut/copy too
9678 2002-09-12 John Levon <levon@movementarian.org>
9683 * factory.C: add header
9685 * paragraph_funcs.h:
9686 * paragraph_funcs.C: cleanup
9688 2002-09-11 John Levon <levon@movementarian.org>
9690 * PrinterParams.h: odd/even default to true
9692 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9694 * PrinterParams.h: update printer parameters for new xforms dialog
9696 2002-09-11 Angus Leeming <leeming@lyx.org>
9698 * lyxserver.C (read_ready): re-write to make it more transparent
9699 and to make it work in coherent fashion under Tru64 Unix.
9701 2002-09-11 André Pönitz <poenitz@gmx.net>
9705 * text3.C: implement LFUN_WORDSEL
9707 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9709 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9710 make floatlist_ a boost::shared_ptr<FloatList>
9712 * lyxtextclass.C: include FloatList.h
9713 (LyXTextClass): initialize floatlist_
9714 (TextClassTags): add TC_NOFLOAT
9715 (Read): match "nofloat" to TC_NOFLOAT and use it.
9716 (readFloat): modify call to floatlist_
9720 * FloatList.[Ch] (FloatList): remove commented out float
9722 (erase): new function
9724 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * MenuBackend.C (expandToc): fix crash when there is no document
9729 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9731 * many files: Add insetwrap.
9733 2002-09-09 John Levon <levon@movementarian.org>
9735 * text2.C: remove confusing and awkward depth wraparound
9737 2002-09-09 John Levon <levon@movementarian.org>
9739 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9742 * buffer.C: remove getIncludeonlyList()
9745 * lyxfunc.C: remove headers
9747 2002-09-09 Juergen Vigna <jug@sad.it>
9749 * text.C (getColumnNearX): fix form Michael this is most
9750 probably a cut&paste bug.
9752 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9754 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9756 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9757 references, ws changes.
9759 * text2.C (init): update counters after init
9760 (insertParagraph): no need to set counter on idividual paragraphs.
9761 (setCounter): access the counters object in the textclass object
9762 on in the buffer object.
9763 (updateCounters): ditto
9765 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9766 shared_ptr<Counters> to avoid loading counters.h in all
9768 (LyXTextClass): initialize ctrs_
9769 (TextClassTags): add TC_COUNTER, and ...
9770 (Read): use it here.
9771 (CounterTags): new tags
9772 (readCounter): new function
9773 (counters): new funtion
9774 (defaultLayoutName): return a const reference
9776 * counters.C (Counters): remove contructor
9777 (newCounter): remove a couple of unneeded statements.
9778 (newCounter): simplify a bit.
9779 (numberLabel): some small formatting changes.
9781 * buffer.[Ch]: remove all traces of counters, move the Counters
9782 object to the LyXTextClass.
9784 2002-09-06 Alain Castera <castera@in2p3.fr>
9786 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9787 package to set the horizontal alignment on fixed width columns.
9790 * lyx_sty.h: added tabularnewline macro def.
9792 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9794 2002-09-06 John Levon <levon@movementarian.org>
9796 * LyXAction.C: tooltips for sub/superscript
9798 * MenuBackend.C: a bit more verbose
9800 * lyxfunc.C: tiny clean
9802 * undo_funcs.C: document undo_frozen
9804 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9806 * counters.C (Counters): add missing algorithm counter.
9808 * text2.C (setCounter): lookup the counter with layouts latexname
9809 instead of by section number.
9810 (setCounter): use a hackish way to lookup the correct enum
9812 a float name->type change
9813 reset enum couners with counter name directly instead of depth value.
9815 * counters.C (Counters): remove the push_backs, change to use the
9816 float type not the float name.
9817 (labelItem): remove unused string, float name->type change
9819 * counters.h: don't include vector, loose the enums and sects vectors
9821 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9823 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9824 (Read): add float->TC_FLOAT to textclassTags
9825 (Read): and handle it in the switch
9826 (readFloat): new function
9828 * FloatList.C (FloatList): comment out the hardcoded float
9831 * lyxlayout.h: ws change.
9833 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9835 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9837 2002-09-03 Angus Leeming <leeming@lyx.org>
9839 * BufferView_pimpl.h: qualified name is not allowed in member
9840 declaration: WorkArea & Pimpl::workarea() const;
9842 * factory.C: added using std::endl directive.
9844 * text3.C: added using std::find and std::vector directives.
9846 2002-08-29 André Pönitz <poenitz@gmx.net>
9849 * text2.C: remove unused member number_of_rows
9852 * BufferView2.C: remove file, move contents to...
9853 * BufferView.C: ... here
9855 * BufferView_pimpl.C:
9856 * factory.C: move more inset creation to factory
9858 * vspace.C: avoid direct usage of LyXText, ws changes
9861 don't provide direct access to WorkArea, use two simple
9862 acessors haveSelction() and workHeight() instead
9865 2002-08-29 John Levon <levon@movementarian.org>
9867 * BufferView_pimpl.C (dispatch): do not continue when
9870 2002-08-28 André Pönitz <poenitz@gmx.net>
9872 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9875 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9877 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9879 * buffer.C: increment LYX_FORMAT to 221
9881 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9882 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9884 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9886 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9888 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9890 * factory.C (createInset): use LyXTextClass::floats
9892 * MenuBackend.C (expandFloatListInsert):
9893 (expandFloatInsert):
9896 * text2.C (setCounter):
9898 * LaTeXFeatures.C (useFloat):
9899 (getFloatDefinitions):
9901 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9903 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9904 floatlist_, with accessor floats().
9906 * FloatList.h: remove global FloatList
9908 2002-08-26 André Pönitz <poenitz@gmx.net>
9910 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9914 * BufferView_pimpl.C:
9915 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9917 2002-08-25 John Levon <levon@movementarian.org>
9919 * LyXAction.C: fix margin note description
9921 2002-08-24 John Levon <levon@movementarian.org>
9925 * bufferview_funcs.C:
9927 * undo_funcs.C: cleanups
9929 * lyxfunc.C: disable CUT/COPY when no selection
9931 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9933 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9934 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9936 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9937 Add backward compatibility to "mono", "gray" and "no".
9939 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9941 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9942 (and file_format >= 200).
9944 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9946 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9948 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9950 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9952 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9954 * BufferView_pimpl.C:
9961 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9962 inset and code to make it work with the paragraph code. The inset
9963 can be anywhere in the paragraph, but will only do the expected
9964 thing in LaTeX if the layout file contains the parameter line
9966 (or more generally, a nonzero value) for that layout.
9968 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9970 * paragraph.h: remove the declaration of undefined counters class
9973 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9975 * text2.C (setCounter): fixed enumeration mis-count as reported by
9976 Dr. Richard Hawkins.
9978 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9980 * paragraph_funcs.h: remove some unneeded includes
9982 * text.C (backspace): pasteParagraph now in global scipe
9984 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9985 (pasteSelection): ditto
9987 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9988 * paragraph_funcs.C (pasteParagraph): ... here
9990 2002-08-20 André Pönitz <poenitz@gmx.net>
9992 * commandtags.h: new LFUNs for swapping/copying table row/colums
9995 * lyxfunc.C: support for new lfuns
9997 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10000 * buffer.[Ch]: remove NO_COMPABILITY stuff
10002 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10004 * boost.C (throw_exception): new file, with helper function for
10005 boost compiled without exceptions.
10010 * ParameterStruct.h:
10011 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10013 * bufferlist.C (emergencyWriteAll): use boost bind
10015 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10017 * text.C: include paragraph_funcs.h
10018 (breakParagraph): breakParagraph is now in global scope
10020 * paragraph_funcs.[Ch]: new files
10022 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10025 * buffer.C: include paragraph_funcs.h
10026 (insertStringAsLines): breakParagraph is now in global scope
10028 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10031 * CutAndPaste.C: include paragraph_funcs.h
10032 (cutSelection): breakParagraphConservative is now in global scope
10033 (pasteSelection): ditto
10035 * buffer.h: declare oprator== and operator!= for
10036 Buffer::inset_iterator
10038 * bufferlist.C (emergencyWrite): don't use fmt(...)
10040 * text3.C: add using std::endl
10042 * BufferView.C (moveCursorUpdate): remove default arg
10044 2002-08-20 André Pönitz <poenitz@gmx.net>
10046 * buffer.[Ch]: move inline functions to .C
10049 * BufferView_pimpl.C:
10051 * buffer.[Ch]: use improved inset_iterator
10054 * paragraph.[Ch]: write one paragraph at a time
10056 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10058 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10059 style if style is not specified.
10061 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10063 * text2.C (setCounter): when searching for right label for a
10064 caption, make sure to recurse to parent insets (so that a caption
10065 in a minipage in a figure float works) (bug #568)
10067 2002-08-20 André Pönitz <poenitz@gmx.net>
10069 * text3.C: new file for LyXText::dispatch() and helpers
10071 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10073 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10075 2002-08-19 André Pönitz <poenitz@gmx.net>
10078 * text.C: new LyXText::dispatch()
10080 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10082 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10084 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10086 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10089 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10091 * Makefile.am: use $(variables) instead of @substitutions@
10093 2002-08-15 André Pönitz <poenitz@gmx.net>
10096 * BufferView_pimpl.C: streamlining mathed <-> outer world
10100 * LyXAction.C: remove unused LFUN_MATH
10102 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10104 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10106 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10108 * paragraph.C (Paragraph): reformat a bit
10109 (cutIntoMinibuffer): use builtin InsetList function instad of
10113 * buffer.C: include boost/bind.hpp, add using std::for_each
10114 (writeFileAscii): use ParagraphList iterators
10115 (validate): use for_each for validate traversal of paragraphs
10116 (getBibkeyList): use ParagraphList iterators
10117 (resizeInsets): use for_each to resizeInsetsLyXText for all
10119 (getParFromID): use ParagraphList iterators
10121 * BufferView2.C (lockInset): use paragraph list and iterators
10123 2002-08-14 John Levon <levon@movementarian.org>
10125 * lyxserver.C: remove spurious xforms include
10127 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10129 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10131 2002-08-13 André Pönitz <poenitz@gmx.net>
10134 * lyxfunc.C: further cleaning
10136 2002-08-13 André Pönitz <poenitz@gmx.net>
10138 * funcrequest.h: new constructor
10140 * funcrequest.C: move stuff here from .h
10143 * BufferView_pimpl.C:
10146 * lyxfunc.C: subsequent changes
10148 * lyxfunc.h: new view() member function
10150 * lyxfunc.C: subsequent changes
10152 2002-08-13 Angus Leeming <leeming@lyx.org>
10155 * BufferView_pimpl.C:
10163 changes due to the changed LyXView interface that now returns references
10164 to member variables not pointers.
10166 2002-08-13 Angus Leeming <leeming@lyx.org>
10168 * WordLangTuple (word, lang_code): return references to strings,
10173 * lyxtext.h: forward-declare WordLangTuple.
10178 * text.C: #include "WordLangTuple.h".
10181 * text.C: (selectNextWordToSpellcheck): constify return type.
10183 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10189 * paragraph_pimpl.h:
10192 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10193 suggested by Angus.
10194 Made updateCounter always count from start of buffer, and removed
10195 second argument (par).
10196 Reverted floats number display to '#'. Perhaps I'll try again when the
10197 code base is sanitized a bit.
10199 2002-08-12 Angus Leeming <leeming@lyx.org>
10201 * buffer.[Ch] (getLabelList): constify.
10203 2002-08-07 André Pönitz <poenitz@gmx.net>
10205 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10207 * funcrequest.h: extension to keep mouse (x,y) position
10209 2002-08-12 Juergen Vigna <jug@sad.it>
10211 * BufferView2.C (insertErrors): forbid undo when inserting error
10214 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10216 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10218 * ParagraphList.[Ch]: new files
10220 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10222 * BufferView2.C (lockInset): ParagraphList changes
10225 * bufferlist.C: ditto
10229 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10231 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10232 unused class variable counter_,
10234 * paragraph.[Ch] (getFirstCounter): delete unused function
10236 * counters.C: include LAssert.h
10237 (reset): add a new function with no arg, change other version to
10238 not have def. arg and to not allow empty arg.
10240 * text2.C (setCounter): remove empty arg from call to Counters::reset
10242 2002-08-11 John Levon <levon@movementarian.org>
10244 * Makefile.am: add WordLangTuple.h
10246 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10248 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10249 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10251 * insets/insettext.C: InsetList changes
10253 * graphics/GraphicsSupport.C (operator()): InsetList changes
10255 * toc.C (getTocList): InsetList changes
10257 * paragraph_pimpl.[Ch]: InsetList changes
10259 * paragraph.[Ch]: InsetList changes
10261 * buffer.C (inset_iterator): InsetList changes
10262 (setParagraph): ditto
10263 * buffer.h (inset_iterator): ditto
10264 * iterators.C (operator++): ditto
10265 * iterators.h: ditto
10267 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10269 * InsetList.[Ch]: new files, most InsetList handling moved out of
10272 * BufferView2.C (removeAutoInsets): InsetList changes
10274 (ChangeInsets): ditto
10276 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10278 * paragraph_pimpl.h (empty): new function
10280 * paragraph.[Ch] (empty): new function
10282 * other files: use the new Paragraph::empty function
10284 2002-08-09 John Levon <levon@movementarian.org>
10286 * lyxtext.h: remove unused refresh_height
10288 2002-08-09 John Levon <levon@movementarian.org>
10295 * paragraph.C: move sgml char escaping out of paragraph
10298 * paragraph.C: remove id setter
10302 * paragraph_pimpl.C: remove dead tex_code_break_column
10304 * bufferview_funcs.C: small cleanup
10306 * lyxfunc.C: remove dead proto
10308 * lyxtext.h: make some stuff private. Remove some dead stuff.
10310 * lyxgluelength.C: make as[LyX]String() readable
10312 2002-08-08 John Levon <levon@movementarian.org>
10317 * ToolbarDefaults.C:
10320 * toc.C: lyxaction cleanup
10322 2002-08-08 John Levon <levon@movementarian.org>
10324 * BufferView2.C: small cleanup
10327 * lyxfind.C: move unnecessary header into the .C
10329 2002-08-08 John Levon <levon@movementarian.org>
10331 * funcrequest.h: just tedious nonsense
10334 * lyx_main.C: cleanups
10337 * vspace.C: remove dead header lyx_main.h
10339 2002-08-07 Angus Leeming <leeming@lyx.org>
10342 * paragraph_pimpl.h:
10343 Forward declare class Counters in paragraph.h by moving the ctrs member
10344 variable into Paragraph::Pimpl.
10345 (counters): new method, returning a reference to pimpl_->ctrs.
10347 * text2.C: ensuing changes.
10349 2002-08-07 John Levon <levon@movementarian.org>
10351 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10353 * BufferView_pimpl.C: announce X selection on double/triple
10356 * lyx_main.C: use correct bool in batch dispatch
10358 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10360 2002-08-07 André Pönitz <poenitz@gmx.net>
10362 * funcrequest.h: new class to wrap a kb_action and its argument
10365 * BufferView_pimpl[Ch]:
10369 * lyxrc.C: subsequent changes
10372 2002-08-07 John Levon <levon@movementarian.org>
10374 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10375 document options change.
10377 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10382 * makefile.am: move counters functionality over from
10383 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10385 2002-08-06 John Levon <levon@movementarian.org>
10387 * WordLangTuple.h: new file for word + language code tuple
10398 * BufferView2.C: use WordLangTuple
10401 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10403 2002-08-06 John Levon <levon@movementarian.org>
10405 * lyx_main.C: fix cmdline batch handling
10407 2002-08-06 André Pönitz <poenitz@gmx.net>
10409 * lyxrc.C: set default for show_banner to true
10411 2002-08-06 John Levon <levon@movementarian.org>
10413 * pspell.C: fix a crash, and allow new aspell to work
10415 2002-08-06 John Levon <levon@movementarian.org>
10418 * kbmap.C: small cleanup
10421 * vspace.C: add const
10423 2002-08-05 John Levon <levon@movementarian.org>
10425 * LyXAction.C: back to tabular-insert
10427 2002-08-04 John Levon <levon@movementarian.org>
10430 * BufferView.C: cosmetic change
10432 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10442 * BufferView2.C: purge all "Lyx" not "LyX" strings
10445 * lyxcursor.C: attempt to add some documentation
10450 * ToolbarDefaults.C:
10451 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10452 merge with LFUN_TABULAR_INSERT
10459 * pspell.C: split up i/pspell implementations into separate
10460 files, many cleanups
10462 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10464 * text2.C: some cleanup
10466 * lyxfunc.C: don't check for isp_command == "none" any more, it
10467 didn't make any sense
10469 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10474 * makefile.am: move counters functionality over
10475 from text2.C/paragraph.[Ch] to counters.[Ch], and
10477 2002-08-02 John Levon <levon@movementarian.org>
10479 * buffer.C: s/lyxconvert/lyx2lyx/
10481 2002-08-02 Angus Leeming <leeming@lyx.org>
10483 * lyxlex.C: revert John's change as it breaks reading of the user
10486 2002-08-02 Angus Leeming <leeming@lyx.org>
10488 * importer.C (Import):
10489 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10490 changes due to LyXView::view() now returning a boost::shared_ptr.
10492 2002-08-02 John Levon <levon@movementarian.org>
10494 * lyxlex.C: small cleanup
10496 2002-08-02 John Levon <levon@movementarian.org>
10498 * text2.C (status): small cleanup, no logic change
10500 2002-08-01 John Levon <levon@movementarian.org>
10503 * buffer.C (writeFile): don't output alerts, caller
10507 * lyx_cb.C: from above
10509 * lyxfunc.C: allow to open non-existent files
10511 2002-07-31 John Levon <levon@movementarian.org>
10513 * lyxserver.C: don't let incidental errors get
10516 2002-07-30 John Levon <levon@movementarian.org>
10518 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10520 2002-07-30 John Levon <levon@movementarian.org>
10523 * lyxserver.C: remove I/O callback too
10525 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10530 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10532 * many files: strip,frontStrip -> trim,ltrim,rtrim
10534 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10536 * PrinterParams.h: remove extern containsOnly, and include
10537 support/lstrings.h instead.
10539 * LaTeX.C (scanAuxFile): modify because of strip changes
10541 * buffer.C (makeLaTeXFile): ditto
10542 * bufferparams.C (writeFile): ditt
10543 * lyxfont.C (stateText): ditto
10544 * lyxserver.C (read_ready): ditto
10545 * vc-backend.C (scanMaster): ditto
10547 * BufferView_pimpl.h: ws changes
10549 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10551 2002-07-26 André Pönitz <poenitz@gmx.net>
10553 * kb_sequence.C: remove unnedred usings
10555 2002-07-26 Juergen Vigna <jug@sad.it>
10557 * lyxfind.C (LyXReplace): we have to check better if the returned
10558 text is not of theLockingInset()->getLockingInset().
10560 2002-07-25 Juergen Vigna <jug@sad.it>
10562 * lyxfind.C (LyXReplace): don't replace if we don't get the
10565 * undo_funcs.C (createUndo): remove debugging code.
10567 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10569 * buffer.C (parseSingleLyXformat2Token): Use default placement
10570 when reading old floats.
10572 * FloatList.C (FloatList): Change the default placement of figure
10573 and tables to "tbp".
10575 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10577 * MenuBackend.C: using std::max
10579 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10581 * MenuBackend.C (expandToc):
10582 (expandToc2): code moved from xforms menu frontend. It is now
10583 generic and TOCs are transparent to menu frontends.
10585 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * toc.C (getTocList): protect against buf=0
10589 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10590 Menu as first parameter. Now, this calls itself recursively to
10591 expand a whole tree (this will be useful for TOC handling)
10592 (expandFloatInsert): remove 'wide' version of floats
10594 * MenuBackend.h (submenuname): returns the name of the submenu.
10595 (submenu): returns the submenu itself, provided it has been
10596 created by MenuBackend::expand
10598 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10600 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10601 insets which have noFontChange == true. (bug #172)
10603 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10605 * BufferView_pimpl.C: add connection objects and use them...
10608 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10610 * MenuBackend.C (expandLastfiles):
10613 (expandFloatListInsert):
10614 (expandFloatInsert):
10615 (expand): split expand in parts
10617 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10619 * lyx_gui.C: use lyx_gui::exit()
10621 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10623 * LyXAction.C: show the failing pseudo action
10625 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10627 * buffer.C (readFile): Run the lyxconvert script in order to read
10630 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10634 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10636 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10640 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10642 2002-07-22 Herbert Voss <voss@lyx.org>
10645 * lyxlength.[Ch]: add support for the vertical lengths
10647 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10649 * toc.[Ch]: std:: fixes
10651 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10653 * lyxrc.C: do not include lyx_main.h
10655 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10661 * BufferView2.C: include "lyxlex.h"
10664 * bufferparams.h: do not #include "lyxlex.h"
10666 * lyxtextclasslist.C (Add): remove method
10667 (classlist): renamed to classlist_
10669 * paragraph_pimpl.C:
10673 * bufferview_funcs.C:
10678 * toc.C (getTocList): use BufferParams::getLyXTextClass
10680 * toc.C (getTocList): use InsetFloat::addToToc
10682 * toc.[Ch]: new files, containing helper functions to handle table
10685 * lyxfunc.C (dispatch): no need to remove spaces around command
10687 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10688 first command of the sequence; it is not very clever, but I do not
10689 have a better idea, actually
10691 * LyXAction.C (LookupFunc): make sure to remove space at the
10692 beginning and end of the command
10694 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * MenuBackend.C (getMenubar): new method: return the menubar of
10698 (read): treat differently reading of menu and menubar (in
10699 particular, the menubar has no name now)
10700 (Menu::menubar): remove
10702 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10705 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10707 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10708 a bibitem inset in a RTL paragraph.
10710 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10712 * paragraph_pimpl.C: constify
10714 * BufferView_pimpl.C:
10716 * lyxfunc.C: fix dispatch in a nicer way
10718 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10720 * lyxfunc.C (dispatch):
10721 * BufferView_pimpl.C:
10722 * BufferView_pimpl.h:
10724 * BufferView.h: rename Dispatch() to dispatch()
10726 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10728 * lyxlayout.C (Read): honor DependsOn tag
10730 * lyxlayout.[Ch] (depends_on): new method
10732 * version.C.in: update lyx_docversion
10734 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10736 * paragraph.C (validate): remove from here...
10737 * paragraph_pimpl.C (validate): ... and move here
10738 (isTextAt): make it const
10740 * buffer.C (getLists): ws cleanup
10742 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10744 * language.C (read): Use iso8859-1 encoding in latex_lang
10745 (this prevents LyX from crashing when using iso10646-1 encoding).
10747 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10749 * text2.C (toggleInset): if cursor is inside an inset, close the
10750 inset and leave cursor _after_ it
10752 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10754 * lyxfunc.C: move minibuffer completion handling out of here
10756 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10758 * BufferView_pimpl.C:
10759 * LaTeX.C: fix dispatch calls
10761 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10763 * text.C (drawChars): Fix Arabic text rendering.
10765 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10769 * lyxfunc.C: remove message-push/pop
10773 * lyxfunc.C: rationalise some code by removing verboseDispatch
10774 in favour of a bool argument to dispatch()
10776 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10778 * lyx_main.C (init): make sure to read symlinks as absolute paths
10780 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10783 * lyxfunc.C: no need for commandshortcut to be a member
10785 2002-07-15 André Pönitz <poenitz@gmx.net>
10787 * converter.C: add support for $$s (scripts from lib/scripts dir)
10788 * lyx_main.C: white space
10790 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10794 * lyxrc.C: remove second exit confirmation
10796 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10801 * BufferView_pimpl.h:
10802 * BufferView_pimpl.C:
10803 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10805 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10807 * MenuBackend.C (expand): add numeric shortcuts to document menu
10809 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10811 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10813 * lyxfont.C (setLyXFamily):
10820 * buffer.C (asciiParagraph): use ascii_lowercase
10822 2002-07-15 Mike Fabian <mfabian@suse.de>
10824 * lyxlex_pimpl.C (search_kw):
10825 * lyxlex.C (getLongString):
10826 * converter.h (operator<):
10827 * converter.C (operator<):
10828 * buffer.C (parseSingleLyXformat2Token):
10830 * ToolbarDefaults.C (read):
10831 * MenuBackend.C (checkShortcuts):
10833 * LColor.C (getFromGUIName):
10834 (getFromLyXName): use the compare_ascii_no_case instead of
10835 compare_no_case, because in turkish, 'i' is not the lowercase
10836 version of 'I', and thus turkish locale breaks parsing of tags.
10838 2002-07-16 Angus Leeming <leeming@lyx.org>
10840 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10841 now takes a Buffer const & argument.
10843 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10845 * BufferView.C (resize): check there's a buffer to resize
10847 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10849 * lyxfunc.C: remove dead code
10852 * lyxserver.C: use lyx_guii::set_read_callback
10854 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10856 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10857 an inset in a RTL paragraph.
10859 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10861 * lyxfunc.C: repaint after a font size update
10863 2002-07-15 André Pönitz <poenitz@gmx.net>
10865 * lyxlength.C: inBP should be able to return negative values
10867 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10869 * lyxfunc.C: use lyx_gui::update_fonts()
10871 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10873 * lyxfunc.C: use lyx_gui::update_color()
10875 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10881 * lyxrc.C: remove file->new asks for name option, and let
10882 buffer-new take an argument
10884 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10886 * BufferView_pimpl.C: remove unneeded extra repaint()
10888 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10890 * LyXAction.C: allow command-sequence with NoBuffer
10892 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10894 2002-07-10 Angus Leeming <leeming@lyx.org>
10896 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10898 2002-07-09 Angus Leeming <leeming@lyx.org>
10900 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10902 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10904 * lengthcommon.h: whitespace
10906 * lyxfunc.C: update scrollbar after goto paragraph
10908 * lyxtext.h: factor out page break drawing, and fix it so
10909 page break/added space paints as selected nicely
10911 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10913 * BufferView_pimpl.C: add FIXMEs, clean up a little
10915 2002-07-09 André Pönitz <poenitz@gmx.net>
10917 * lyxfont.[Ch]: support for wasy symbols
10919 2002-07-08 André Pönitz <poenitz@gmx.net>
10921 * BufferView_pimpl.C: apply John's patch for #93.
10923 2002-07-05 Angus Leeming <leeming@lyx.org>
10925 * BufferView_pimpl.C (buffer): generate previews if desired.
10927 * LColor.h: add "preview" to the color enum.
10929 * LColor.C (LColor): add a corresponding entry to the items array.
10931 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10934 2002-07-05 Angus Leeming <leeming@lyx.org>
10936 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10937 The body of the code is now in the method that is passed an ostream &
10938 rather than a file name.
10939 Pass an additional only_preamble parameter, useful for the forthcoming
10942 2002-07-03 André Pönitz <poenitz@gmx.net>
10944 * lyxfunc.C: simplify getStatus() a bit for math stuff
10946 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10948 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10950 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10952 * text.C (changeRegionCase): do not change case of all the
10953 document when region ends at paragraph end (bug #461)
10955 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10957 * paragraph.C (startTeXParParams):
10958 (endTeXParParams): add \protect when necessary
10960 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * BufferView_pimpl.C (workAreaExpose): remove warning
10964 2002-06-27 Angus Leeming <leeming@lyx.org>
10966 * Makefile.am: add lyxlayout_ptr_fwd.h.
10968 2002-06-26 André Pönitz <poenitz@gmx.net>
10970 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10972 2002-06-25 Angus Leeming <leeming@lyx.org>
10974 * lyxfunc.C (dispatch): Comment out the call to
10975 grfx::GCache::changeDisplay. The method no longer exists now that the
10976 pixmap generation part of the graphics loader has been moved into
10979 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10981 * text2.C: layout as layout
10983 * text.C: layout as layout
10985 * tabular.C (OldFormatRead): layout as layout
10987 * paragraph_pimpl.C (TeXDeeper): layout as layout
10988 (realizeFont): layout as layout
10990 * paragraph.C (writeFile): layout as layout
10991 (validate): layout as layout
10992 (getFont): layout as layout
10993 (getLabelFont): layout as layout
10994 (getLayoutFont): layout as layout
10995 (breakParagraph): layout as layout
10996 (stripLeadingSpaces): layout as layout
10997 (getEndLabel): layout as layout
10998 (getMaxDepthAfter): layout as layout
10999 (applyLayout): layout as layout
11000 (TeXOnePar): layout as layout
11001 (simpleTeXOnePar): layout as layout
11002 (TeXEnvironment): layout as layout
11003 (layout): layout as layout
11004 (layout): layout as layout
11006 * lyxtextclass.C (compare_name): new functor to work with
11007 shared_ptr, layout as layout
11008 (Read): layout as layout
11009 (hasLayout): layout as layout
11010 (operator): layout as layout
11011 (delete_layout): layout as layout
11012 (defaultLayout): layout as layout
11014 * lyxlayout_ptr_fwd.h: new file
11016 * lyxlayout.C (Read): layout as layout
11018 * lyx_cb.C (MenuInsertLabel): layout as layout
11020 * bufferlist.C (newFile): layout as layout
11022 * buffer.C (readLyXformat2): layout as layout
11023 (parseSingleLyXformat2Token): layout as layout
11024 (insertStringAsLines): layout as layout
11025 (asciiParagraph): layout as layout
11026 (latexParagraphs): layout as layout
11027 (makeLinuxDocFile): layout as layout
11028 (simpleLinuxDocOnePar): layout as layout
11029 (makeDocBookFile): layout as layout
11030 (simpleDocBookOnePar): layout as layout
11031 (getLists): layout as layout
11033 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11035 * CutAndPaste.C (cutSelection): layout as layout
11036 (pasteSelection): layout as layout
11037 (SwitchLayoutsBetweenClasses): layout as layout
11039 * BufferView_pimpl.C (Dispatch): layout as layout
11040 (smartQuote): layout as layout
11042 * BufferView2.C (unlockInset): layout as layout
11044 2002-06-24 André Pönitz <poenitz@gmx.net>
11046 * lyxfunc.C: fix #487
11048 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11052 * lyxfunc.C: remove display_shortcuts, show_banner
11054 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11056 * Buffer_pimpl.C: oops, update on resize
11058 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11065 * BufferView.C: use repaint()
11067 * BufferView_pimpl.h:
11068 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11069 as it's a clearer description. Remove superfluous
11072 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11074 * text.C: fix bug 488. Not ideal, but getting
11075 getWord() to work properly for the insets that
11076 matter is more difficult ...
11078 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11080 * BufferView_pimpl.C:
11083 * lyxfunc.C: remove the six million index lyxfuncs to just
11084 one, and DTRT (bug 458)
11086 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11090 * BufferView_pimpl.h:
11091 * BufferView_pimpl.C: clean up resize() stuff,
11092 and unnecessary updateScreen()s
11094 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11098 * BufferView_pimpl.h:
11099 * BufferView_pimpl.C:
11102 * minibuffer.C: remove focus management of workarea,
11103 not needed. Use screen's greyOut()
11105 2002-06-17 Herbert Voss <voss@lyx.org>
11107 * converter.C: (convert) do not post a message, when converting
11108 fails, let the calling function decide what to do in this case
11110 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11112 * lyxfunc.C: tidy up a little
11114 2002-06-16 <alstrup@diku.dk>
11116 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11117 Got rid of FORMS_H_LOCATION include. Now we are
11120 2002-06-15 LyX Development team <lyx@rilke>
11122 * buffer.[Ch] (sgmlOpenTag):
11123 (sgmlCloseTag): Added support for avoiding pernicious mixed
11124 content. Return number of lines written.
11126 (makeLinuxDocFile):
11127 (makeDocBookFile): Fixed calls to sgml*Tag.
11128 Simple white space clean.
11130 (simpleDocBookOnePar): Simple white space clean.
11132 * tabular.[Ch] (docBook): Renamed to docbook and got another
11133 argument to related with the pernicious mixed content.
11135 (docbookRow): Fixed calls for docbook inset method.
11137 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11139 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11140 so it's X11 independent.
11144 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11146 2002-06-15 Lyx Development team <lyx@electronia>
11148 * intl.h: Renamed getTrans to getTransManager.
11150 2002-06-14 Angus Leeming <leeming@lyx.org>
11152 * Makefile.am: nuke forgotten stl_string_fwd.h.
11154 2002-06-12 Angus Leeming <leeming@lyx.org>
11156 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11158 2002-06-13 Angus Leeming <leeming@lyx.org>
11161 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11163 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11165 * kbmap.C (getiso): add support for cyrillic and greek
11167 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11171 * BufferView_pimpl.h:
11172 * BufferView_pimpl.C: move bogus scrolling logic
11175 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11178 * BufferView_pimpl.C: view->resize() change
11180 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11182 * BufferView_pimpl.C: topCursorVisible
11185 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11189 * lyx_gui.C: move to frontends/
11193 * lyx_main.C: changes from above
11195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11202 * lyx_main.C: minor tidy
11204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11206 * BufferView_pimpl.h:
11207 * BufferView_pimpl.C:
11209 * BufferView.C: make painter() const,
11212 * BufferView2.C: use screen() accessor
11215 * lyx_main.C: some minor cleanup
11217 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11219 * BufferView_pimpl.h:
11220 * BufferView_pimpl.C: remove enter/leaveView,
11223 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11228 * BufferView_pimpl.h:
11229 * BufferView_pimpl.C: only construct screen once,
11232 * lyxrc.C: remove pointless comment
11234 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11237 * BufferView.C: remove active() and belowMouse()
11239 * BufferView_pimpl.h:
11240 * BufferView_pimpl.C: use workarea() not workarea_,
11241 and make it use a scoped_ptr instead
11243 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11245 * lyx_gui.C: add debug message on BadWindow
11247 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11249 * sp_spell.C: fdopen is not part of the C++ standard.
11251 * paragraph.C (InsetIterator): use >= instead of ==
11253 2002-06-07 Angus Leeming <leeming@lyx.org>
11255 Fixes needed to compile with Compaq cxx 6.5.
11256 * BufferView_pimpl.C:
11263 * lyxtextclasslist.C:
11268 all c-library variables have been moved into namespace std. Wrap
11269 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11274 Add a using std::abs declaration.
11276 * kbmap.h (modifier_pair):
11277 * paragraph.h (InsetTable, InsetList):
11278 * lyxfont.h (FontBits):
11279 type definition made public.
11281 * bufferlist.C (emergencyWriteAll): the compiler complains that
11282 there is more than one possible lyx::class_fun template to choose from.
11283 I re-named the void specialisation as lyx::void_class_fun.
11285 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11287 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11288 the compiler is is unable to find tostr in write_attribute.
11290 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * buffer.C (sgmlError): hide #warning
11294 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11296 * xtl/*: get rid of xtl, which is not in use anyway
11298 * LyXAction.C (init):
11299 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11300 were unimplemented xtl experimentation
11302 2002-06-04 André Pönitz <poenitz@gmx.net>
11304 * lyxfunc.C: disable array operation on simple formulae
11306 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11308 * converter.C: constify a bit
11310 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11312 * lyx_gui.C: check xforms version correctly
11314 2002-04-30 Herbert Voss <voss@lyx.org>
11316 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11319 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11321 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11322 attempt to register it with a VCS)
11324 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11326 * lyx_main.C (init): honor variables LYX_DIR_13x and
11329 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11333 * lyx_main.C: fix a crash on bad command line,
11334 and give a useful exit status on error
11336 * lyxfunc.C (doImport): allow -i lyx to work
11338 2002-03-30 André Pönitz <poenitz@gmx.net>
11340 * lyxfunc.C: mathed font changes
11342 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11357 * trans_mgr.h: srcdocs, and some minor cleanups
11359 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11361 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11362 call getFont all the time)
11364 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * switch from SigC signals to boost::signals
11368 2002-05-29 André Pönitz <poenitz@gmx.net>
11370 * paragraph_pimpl.C (getChar): don't call size() too often...
11372 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11374 * paragraph_pimpl.C (insertChar): do not try to update tables when
11375 appending (pos == size())
11377 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11378 in order to reduce drastically the number of comparisons needed to
11379 parse a large document
11381 2002-05-29 André Pönitz <poenitz@gmx.net>
11387 * textclasslist.[Ch]:
11388 * sp_ispell.h: whitespace change
11390 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11392 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11393 lyxaction directly now.
11395 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11399 * lyxvc.C: remove unused headers
11401 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11408 * undo_funcs.C: some cleanups. Use shared_ptr
11409 and a template for the undo stacks.
11411 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11413 * BufferView_pimpl.h:
11414 * BufferView_pimpl.C:
11421 * text2.C: use key_state/mouse_state
11423 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11425 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11428 * chset.C: change include order
11429 (loadFile): use boost regex and get rid of LRegex and LSubstring
11431 * Makefile.am (BOOST_LIBS): new variable
11432 (lyx_LDADD): use it
11434 * LaTeX.C: change include order.
11435 (scanAuxFile): use boost regex and get rid of LRegex and
11439 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11444 * FontInfo.C: moved to frontends/xforms/
11447 * FontLoader.C: moved into frontends for GUIIzation
11452 * lyxfunc.C: changes from above
11454 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11456 * LColor.C: remove spurious X include
11458 * BufferView_pimpl.C:
11463 * text2.C: move font metrics to frontends/
11465 2002-05-24 Juergen Vigna <jug@sad.it>
11467 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11468 setting the undo_cursor.
11470 * ParagraphParameters.h: include local includes first.
11472 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11474 * BufferView_pimpl.C:
11475 * BufferView_pimpl.h:
11479 * screen.C: move WorkArea into frontends/
11485 * BufferView2.C: move LyXScreen into frontends/
11489 * lyx_gui.C: move lyxlookup into frontends/xforms/
11491 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11494 * BufferView_pimpl.C:
11504 * bufferview_funcs.C:
11517 * vc-backend.C: move LyX/XFormsView into frontends/
11519 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11531 * text2.C: move Painter to frontends/
11533 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11535 * buffer.C: comment out some some code that depend upon lyx_format
11538 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11539 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11541 * buffer.h (NO_COMPABILITY): turn off compability
11543 * ColorHandler.C: include scoped_array.hpp
11545 * font.C: Use more specific smart_ptr header.
11548 * ShareContainer.h: ditto
11549 * lyx_main.h: ditto
11551 * FontInfo.h: ditto
11552 * BufferView_pimpl.h: ditto
11553 * ColorHandler.h: ditto
11555 * kbmap.C (defkey): change call to shared_ptr::reset
11557 2002-05-21 Juergen Vigna <jug@sad.it>
11559 * buffer.C (insertErtContents): fix to insert ert asis if it is
11560 non empty. Skip it completely if it contains only whitespaces.
11562 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11564 * BufferView_pimpl.C:
11565 * BufferView2.C: clear selection on paste (bug 393)
11567 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * DepTable.C: include ctime
11571 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11573 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11575 2002-05-14 Juergen Vigna <jug@sad.it>
11577 * text.C (breakParagraph): fixed function to honor the keepempty
11578 layout in the right maner and also to permit the right breaking
11579 algorithm on empty or non empyt keepempty paragraphs.
11581 * paragraph.C (breakParagraph): we have to check also if the par
11582 is really empty (!size()) for isempty otherwise we do the wrong
11585 2002-05-10 Juergen Vigna <jug@sad.it>
11587 * buffer.[Ch] : The following are only changes to the ert
11588 compatibility read reading old LaTeX layout and font stuff and
11589 convert it to ERTInsets.
11591 * buffer.h: added isErtInset().
11593 * buffer.C (struct ErtComp): add a fromlayout bool to check
11594 if we're inside a LaTeX layout.
11595 (isErtInset): new helper function.
11596 (insertErtContents): look for other ert insets before this one
11597 and insert the contents there, so that we don't have subsequent
11598 ERT insets with nothing between them. This way we create only one
11599 inset with multiple paragraphs. Also check if we don't insert only
11600 spaces ' ' as they are ignored anyway afterwards in the .tex file
11601 so if we have only spaces we will ignore this latex part in the
11603 (parseSingleLyXformat2Token \\layout): better compatibility when
11604 reading layout-latex stuff.
11605 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11607 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11608 stuff after reading the inset only get the information back from
11611 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11613 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11615 * LaTeXFeatures.C (getBabelOptions): New method.
11617 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11619 * BufferView_pimpl.C (Dispatch): work around missing argument for
11622 2002-05-08 Juergen Vigna <jug@sad.it>
11624 * text.C (leftMargin): handle paragraph leftindent.
11626 * paragraph.C (writeFile): write the new \\leftindent tag.
11627 (validate): handle leftindent code.
11628 (TeXEnvironment): handle paragraphleftindent code again.
11630 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11632 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11633 for paragrap_extra indent code and new token \\leftindent.
11634 (latexParagraphs): handle the leftindent as environment.
11636 * ParameterStruct.h: added leftindent support.
11638 * ParagraphParameters.C (leftIndent): added support functions for
11639 the paragraph left indent.
11641 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11644 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11646 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11649 * text.C (computeBidiTables): No bidi in insetERT.
11651 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11654 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11656 * version.C.in: pre 5
11658 2002-05-02 José Matos <jamatos@fep.up.pt>
11659 * buffer.C (makeDocBookFile): white space changes, add newline to
11661 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11663 * tabular.C (docBook): fix typo.
11665 2002-05-03 Juergen Vigna <jug@sad.it>
11667 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11668 change in LyXText as we can not be sure it was not freed.
11669 (drawOneRow): remove unused code.
11671 * text.C (drawInset): redo the calculation of the need_break_row as
11672 it could have a row which was already freed.
11673 (draw): look at the return value of drawInset and return false if
11674 it also returned false.
11675 (paintRowText): look at the return value of draw and return false if
11676 it also returned false.
11678 * lyxtext.h: added bool return type to drawInset() and draw() so that
11679 if we have a change in the row so that the rowbreak has to be redone
11680 we abort drawing as it will be called again.
11682 2002-05-02 Juergen Vigna <jug@sad.it>
11684 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11685 a change in the maintext also if we're inside an inset.
11686 (Dispatch): set the cursor again after a break line and after the
11687 screen has been updated as it could be we're in a different row.
11689 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11690 to set the cursor behind the pargraph with > size().
11691 (setCursor): check also for the same paragraph when checking where
11692 to put the cursor if we have a NFR inset.
11694 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11695 parts of layout read further up as it still was in the wrong
11698 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11700 * screen.C (drawFromTo): change sine fullRebreak always return
11703 * buffer.C (parseSingleLyXformat2Token): reindent some
11705 * BufferView_pimpl.C (update): change since fullRebreak always
11707 (Dispatch): git rid of the last hardcoded "Standard"s.
11709 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11711 * text2.[Ch] (fullRebreak): make it return void now that we always
11714 2002-04-30 Juergen Vigna <jug@sad.it>
11716 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11717 ert compatibility check for "latex" layout.
11719 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11721 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11722 minipages: use col% instead of p%, and also use the current font.
11723 (makeLaTeXFile): Fix use babel condition.
11724 (parseSingleLyXformat2Token): Correct font when reading old floats.
11726 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11728 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11729 inserting list of floats.
11731 2002-04-25 Herbert Voss <voss@lyx.org>
11733 * MenuBackend.C (expand): don't add the graphics extensions to the
11736 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11738 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11739 non-existing layout, do not complain if it was the default layout
11740 of the original class (bug #342)
11742 2002-04-24 Juergen Vigna <jug@sad.it>
11744 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11745 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11747 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11749 * buffer.C (getBibkeyList): If using \bibliography, return the
11750 option field with the reference itself. Enables us to provide natbib
11751 support when using \bibliography.
11753 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11755 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11757 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11758 natbib is provided by the LaTeX class.
11760 2002-04-23 Juergen Vigna <jug@sad.it>
11762 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11765 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11767 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11769 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11771 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11772 ensuremath around textordmasculine, textordfeminine and
11775 2002-04-19 Juergen Vigna <jug@sad.it>
11777 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11778 reinitializing the buffer otherwise row-dimensions may be wrong.
11779 (update): reset also the selection cursors if they do exits otherwise
11780 their x/y positions may be wrong.
11782 * text2.C (cursorDown): don't enter the inset if we came from a row
11783 above and are one row over the inset.
11785 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11786 really leaving an inset.
11788 2002-04-18 Juergen Vigna <jug@sad.it>
11790 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11791 of the selected paragraph does not have the selected layout also if
11794 * text2.C (setLayout): fixed bug which did not change last selected
11797 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11798 changed the read and substituted \\end_float with \\end_inset!
11800 * BufferView_pimpl.C (cursorPrevious):
11801 (cursorNext): fixed to make it work with rows heigher than the work
11802 area without moving the cursor only the draw of the row.
11803 (workAreaMotionNotify): fix jumping over high rows.
11805 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11810 2002-04-16 Juergen Vigna <jug@sad.it>
11812 * text2.C (setCursor): set also the irow().
11813 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11815 (cursorDown): support for locking an inset if the x_fix value goes
11816 inside it. That way I can transverse insets too with cursor up/down.
11818 * lyxrow.h: added irow helper function same as other (i) functions.
11820 * BufferView_pimpl.C (cursorPrevious):
11821 (cursorNext): fixed for insets!
11823 2002-04-15 Juergen Vigna <jug@sad.it>
11825 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11826 position otherwise it is wrong in some cases.
11828 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11829 inside the inset before the call.
11831 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11833 * buffer.[Ch] (getBibkeyList): make it const.
11835 2002-04-12 Juergen Vigna <jug@sad.it>
11837 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11839 * text2.C (getCursorX): new helper function
11840 (setCursor): compute also ix_
11841 (setCursorFromCoordinates): set also ix.
11843 * lyxcursor.h: added ix_ and helper functions.
11845 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11847 * buffer.C (insertStringAsLines): dont break paragraph if the this
11848 paragraph is inside an inset which does not permit it!
11850 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11851 also with no chars on this paragraph.
11852 (paintRowText): only paint stuff if it's inside the workarea!
11854 * paragraph.C (breakParagraph): honor keepempty flag and break the
11855 paragraph always below not above.
11857 * BufferView2.C (unlockInset): update the paragraph layout on inset
11858 unlock as we changed paragraph in such a case.
11860 * lyxfind.C (LyXFind): clear the former selection if not found!
11862 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11863 again called in insertChar().
11865 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11866 an inset which uses the whole row!
11867 (rightMargin): ditto.
11868 (insertChar): force a rebreak if we inserted an inset!
11870 2002-03-28 Herbert Voss <voss@lyx.org>
11872 * lyxlength.[Ch]: add inBP() to get the right PS-point
11873 units (BigPoint). With inPixels we have rounding errors
11875 2002-04-11 Juergen Vigna <jug@sad.it>
11877 * text2.C (setCursorFromCoordinates): set iy to the right value.
11878 (setCursor): add check if row->previous exists!
11880 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11881 an old float_type as this was the case in the old code!
11883 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11885 * BufferView2.C (showLockedInsetCursor): use iy
11886 (fitLockedInsetCursor): ditto
11888 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11889 locked insets as there we have the right value now.
11891 * lyxcursor.C: added iy_ variable and iy functions to set to the
11892 baseline of cursor-y of the locked inset.
11894 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11895 (setCursor): fixed for insets which need a full row.
11897 * text.C (rowLastPrintable): don't ignore the last space when before
11898 an inset which needs a full row.
11899 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11900 as last character of a row when before a inset which needs a full row.
11902 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11904 * version.C.in: update date
11906 * text2.C (fullRebreak): try to always return true and see what
11909 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11911 * MenuBackend.C (expand): use Floating::listName
11913 * FloatList.C (FloatList): add listName argument to the built-in
11916 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11917 text associated with the float.
11919 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11921 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11923 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11925 * ShareContainer.h: add a couple of missing typenames.
11927 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11929 * lyxrc.C (getDescription): use _() correctly rather than N_().
11931 2002-03-28 Herbert Voss <voss@lyx.org>
11933 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11934 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11936 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11938 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11939 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11941 2002-03-29 Juergen Vigna <jug@sad.it>
11943 * lyxfunc.C (dispatch): add a missing fitCursor call.
11945 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11946 it was scrolled by a cursor move, so return the bool status.
11948 * BufferView.C (fitCursor): return the bool flag also to the outside
11949 world as this is needed.
11951 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11953 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11954 call the edit() as it is not needed (and wrong) IMO.
11955 (workAreaButtonPress): set the screen_first variable before evt.
11956 unlock the inset as this may change screen_first and then we have
11957 a wrong y position for the click!
11959 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11961 * MenuBackend.C (expand): another translation that I missed
11963 2002-03-28 Juergen Vigna <jug@sad.it>
11965 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11967 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11969 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11971 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11973 * MenuBackend.C (expand): fix export/view/update when there is no
11976 2002-03-27 Herbert Voss <voss@lyx.org>
11978 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11981 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11983 * bufferview_funcs.C (currentState): only show paragraph number
11984 for is DEVEL_VERSION is set.
11986 * lyxfunc.C (dispatch): put warning in INFO channel
11988 * MenuBackend.C (expand): translate the name of floats
11990 * FloatList.C (FloatList): mark the float names for translation
11992 * converter.C (convert): use LibScriptSearch
11994 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11996 * MenuBackend.C (defaults): fix default menu (we might as well get
11999 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12004 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12006 * lyxvc.C: reorder includes.
12008 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12010 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12013 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12015 * CutAndPaste.C: change layouts earlier on paste
12016 to avoid crashing when calling getFont()
12018 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12020 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12023 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12025 * WorkArea.C: remove 'Pending' debug message.
12027 * most files: ws cleanup
12029 * buffer.[Ch]: ws changes
12031 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12033 2002-03-21 Juergen Vigna <jug@sad.it>
12035 * tabular.C (SetMultiColumn): collapse also the contents of the
12036 cells and set the last border right. Added a Buffer const * param.
12038 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12040 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12043 2002-03-19 Juergen Vigna <jug@sad.it>
12045 * text2.C (clearSelection): reset also xsel_cache.
12047 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12048 where it needs to be called (John tells us to do so too :)
12049 (selectionLost): reset sel_cache.
12051 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12053 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12055 * text2.C (setCursorIntern): put debuging code in INSETS channel
12057 2002-03-19 André Pönitz <poenitz@gmx.net>
12059 * lyxfunc.C: tiny whitespace change
12061 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12063 * ToolbarDefaults.C (init):
12064 * LyXAction.C (init):
12066 * BufferView_pimpl.C (Dispatch):
12067 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12069 2002-03-19 Allan Rae <rae@lyx.org>
12071 * exporter.C (Export): removeAutoInsets before doing anything else.
12072 While I've just introduced a dependency on BufferView this really is
12073 the best place to clean the buffer otherwise you need to cleanup in
12074 a dozen places before calling export or cleanup in a dozen functions
12077 * converter.C (runLaTeX):
12078 (scanLog): Better handling of removeAutoInsets and screen updates.
12080 * lyxfunc.C (dispatch): small whitespace changes
12082 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12084 * WorkArea.C (C_WorkAreaEvent): return a value.
12085 (event_cb): return 1 if we handled the event, 0 otherwise.
12087 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12089 2002-03-18 Juergen Vigna <jug@sad.it>
12091 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12092 (GetAdditionalWidth): ditto.
12093 (RightLine): ditto.
12096 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12097 inset if we're there actually (probably not used right now but this
12098 is the direction to go for unifying code).
12099 (paste): disable code to clear the selection.
12101 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12102 inside an InsetText and move the check further up as it is in the
12105 * text2.C (pasteSelection): set a selection over the pasted text.
12107 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12109 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12110 and libgraphics to build on Cygwin.
12112 2002-03-15 Juergen Vigna <jug@sad.it>
12114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12115 inserting an Inset into the paragraph. I know this is not the best
12116 fix but we already use current_view in CutAndPaste so we will remove
12117 all of it's using at the same time.
12119 * buffer.C (sgmlError): deactivated function till it is rewritten in
12120 the right mode, now it can create problems.
12122 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12123 before accessing it.
12125 2002-03-14 Juergen Vigna <jug@sad.it>
12127 * undo_funcs.C (textHandleUndo): do the right thing when updating
12128 the inset after the undo/redo.
12130 * text2.C (setCursor): just some testcode for #44 not ready yet.
12132 * undo_funcs.C (textHandleUndo): set the next() and previous()
12133 pointers of the paragraph to 0 before deleting otherwise we have
12134 problems with the Paragraph::[destructor].
12136 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12137 on a paragraph insertion.
12139 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * buffer.C (asciiParagraph): use += operator for char append to
12144 * paragraph.C (getFontSettings): compare >= not just >
12145 (highestFontInRange): ditto
12148 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * paragraph.C: change several algorithm to be more appripriate for
12151 the problem domain. This is lookip in FontList and in the InsetList.
12153 2002-03-13 André Pönitz <poenitz@gmx.net>
12156 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12158 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12163 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12165 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12167 * Painter.C (display): anon helper function, adjust code for this
12169 (pixmap): remove function.
12171 * Painter.h: remove private display variable.
12173 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12175 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12177 * WorkArea.[Ch]: remove figinset_canvas cruft.
12179 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12181 * lyxtextclass.C (operator): add one item cache optimization.
12183 * bufferlist.h: doxy changes
12185 * bufferlist.C: ws changes
12187 * DepTable.[Ch] (ext_exist): place const in the right spot.
12189 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12191 (workAreaExpose): call resizeInsets when the with BufferView changes.
12192 (Dispatch): adjust for protectedBlank removal
12193 (specialChar): call updateInset if the insert went ok.
12195 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12196 specialChar instead.
12198 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12200 * BufferView.h: doxy change
12202 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12204 * lyxtextclass.C (operator[]): remove non-const version
12205 (defaultLayout): remove non-const version
12207 2002-03-12 Juergen Vigna <jug@sad.it>
12209 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12210 did resize the LyXText too.
12212 * buffer.C (readLyXformat2): set layout information on newly allocated
12215 * tabular.C (OldFormatRead): set layout information on the paragraph.
12217 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12219 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12221 2002-03-11 Juergen Vigna <jug@sad.it>
12223 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12225 (resizeCurrentBuffer): force also the insets to resize themselfes.
12226 (moveCursorUpdate): fixed up for InsetText.
12228 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12231 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12232 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12233 value of Dialogs::tooltipsEnabled().
12234 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12236 2002-03-08 Juergen Vigna <jug@sad.it>
12238 * BufferView_pimpl.C (updateInset): update inset inside inset also
12239 if it isn't inside theLockingInset().
12241 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * buffer.C (asciiParagraph): redo some of the word and line length
12245 (getLists): look for Caption instead of caption.
12247 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12249 * buffer.C (Buffer): initialize niceFile to true
12251 (makeLinuxDocFile):
12252 (makeDocBookFile): make sure niceFile is true on exit
12254 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12256 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12258 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12260 * LyXSendto.C: remove.
12261 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12262 * lyx_gui.C: remove now-redundant comment.
12263 * ColorHandler.h: remove forward declaration of class WorkArea.
12264 * lyxfunc.C: remove #include "WorkArea.h".
12266 2002-03-07 Juergen Vigna <jug@sad.it>
12268 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12269 got moved away with the DEPM and also set the inset_owner always
12270 right which before could have been omitted.
12272 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12274 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12275 wanted layout is not found.
12277 2002-03-07 Juergen Vigna <jug@sad.it>
12279 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12281 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * paragraph.C (breakParagraph): use default layout not layout of
12285 (Paragraph): clear ParagraphParameters.
12287 2002-03-06 Juergen Vigna <jug@sad.it>
12289 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12290 otherwise it would not be a valid lenght. Fixed a special case in
12291 the minipage compatibility read where we end the document with a
12294 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12295 was set as it could be 0 for InsetTexts first entry.
12297 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12299 * paragraph.C (writeFile): if layout is empty write out
12300 defaultLayoutName().
12302 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12303 file without named layout we set layout to defaultLayoutName().
12305 2002-03-06 Juergen Vigna <jug@sad.it>
12307 * CutAndPaste.C (copySelection): set layout for new paragraph.
12309 * text.C (prepareToPrint): leave ERT inset left aligned
12310 (leftMargin): don't indent paragraphs inside ERT insets
12312 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12314 * paragraph.C (breakParagraph): dont call clear do the work manually
12316 * paragraph.[Ch] (clear): remove function
12318 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12320 * paragraph.C (Paragraph): dont call clear, the work has already
12323 * lyxtextclass.C (operator): assert if n is empty
12325 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12326 work manually instead.
12328 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12330 * BufferView_pimpl.C: protect selectionLost against text == 0
12332 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12334 * text.C (breakParagraph): fix a setting layout to '0' problem.
12336 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12338 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12339 final location of file, for the included files, and graphics.
12341 2002-03-05 Juergen Vigna <jug@sad.it>
12343 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12345 2002-03-04 Juergen Vigna <jug@sad.it>
12347 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12349 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12350 last column of multicolumn cells.
12351 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12353 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12355 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12356 file if it doesn't go to a temporary file.
12358 * buffer.C (sgmlOpenTag):
12359 (sgmlCloseTag): remove extra newline insertion.
12361 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12363 * text.C (getRowNearY): comment out debug msg
12365 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12367 * text2.C: first -> first_y
12369 * text.C (getRowNearY): add some attemts at a possible
12370 optimization, not working.
12372 * tabular.[Ch]: add BufferParams to several function so that newly
12373 created paragraph can be initialized to he default layotu for the
12376 * tabular-old.C (ReadOld): add buf->params to call of Init
12378 * screen.C: rename text->first to text->first_y
12380 * paragraph.C (breakParagraph): always set layout in the broken
12383 * lyxtextclass.C (Read): remove lowercase
12386 (delete_layout): ditto
12388 * lyxtext.h: rename first -> first_y
12390 * lyxlayout.C (Read): remove lowercase
12393 (obsoleted_by): ditto
12395 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12397 * buffer.C (insertErtContents): add params are to InsetERT
12398 (parseSingleLyXformat2Token): add code to check if a paragraphs
12399 layout really exist.
12400 (parseSingleLyXformat2Token): add params to several inset
12402 (asciiParagraph): remove lowercase, do the layout comparisons with
12405 * BufferView_pimpl.C (cursorNext): first -> first_y
12406 (resizeCurrentBuffer): first -> first_y
12407 (updateScrollbar): first -> first_y
12408 (scrollCB): first -> first_y
12409 (workAreaMotionNotify): first -> first_y
12410 (workAreaButtonPress): first -> first_y
12411 (checkInsetHit): first -> first_y
12412 (cursorPrevious): first -> first_y
12413 (cursorNext): first -> first_y
12414 (Dispatch): add buffer_->params to severl inset contructors
12416 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * lyxlayout.C (Read): remove some debug info that I forgot.
12420 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12421 clean up the code slightly.
12422 (makeLinuxDocFile): ditto
12423 (makeDocBookFile): ditto
12425 * text2.C: layout as string
12427 * text.C: layout as string
12429 * paragraph_pimpl.C: layout as string
12431 * paragraph.[Ch]: layout as string
12433 * lyxtextclasslist.[Ch]: layout as string
12435 * lyxtextclass.[Ch]: layout as string
12437 * lyxtext.h: layout as string
12439 * lyxlayout.[Ch]: layout as string
12441 * lyx_cb.C: layout as string
12443 * bufferview_funcs.C: layout as string
12445 * bufferparams.C: layout as string
12447 * buffer.C: layout as string
12449 * LyXView.[Ch]: layout as string
12451 * LaTeXFeatures.[Ch]: layout as string
12453 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12455 * BufferView_pimpl.C: change current_layout to string, remove
12460 (workAreaButtonRelease): layout as string
12462 * BufferView2.C (unlockInset): adjust
12464 * vspace.C (asLatexCommand): use an explict temp variable.
12466 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12468 * Makefile.am: use FRONTEND_*
12470 2002-03-01 Juergen Vigna <jug@sad.it>
12472 * tabular.C (SetWidthOfMulticolCell): changed to something better
12473 I hope but still work in progress.
12474 (recalculateMulticolumnsOfColumn): renamed function from
12475 recalculateMulticolCells as it is more appropriate now.
12476 (SetWidthOfCell): calculate multicols better.
12478 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12480 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12482 * lyxfunc.C (processKeySym): print sequence also if it is
12483 `deleted' (complete)
12485 * kbsequence.C (print): print sequence even if it is deleted
12486 (complete would be a better word, actually).
12488 * lyxfunc.C (dispatch): print complete options after a prefix key
12490 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12492 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12494 * text2.C (setCharFont): eliminate setCharFont code duplication.
12496 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12499 LFUN_TABULAR_FEATURE (bug #177)
12501 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12503 * Makefile.am: remove figure.h
12505 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12507 * Bufferview_pimpl.C:
12519 * text2.C: remove #include "lyx_gui_misc.h".
12521 * LaTeX.C: added #include <cstdio>
12523 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12526 that the paragraph following this one can have.
12528 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12530 * vspace.C (asLatexCommand): fix bogus gcc warning
12532 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12534 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12536 * text2.C (setLayout): get rid of redundant code
12538 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12540 * text2.C (incDepth): make sure depth cannot be increased beyond
12543 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12545 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12546 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12548 * PainterBase.h (image):
12549 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12550 a LyXImage const *.
12552 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12556 * BufferView_pimpl.C:
12557 * BufferView_pimpl.h:
12577 * sp_spell.C: remove fig inset, and the crap house of
12578 cards that follows it
12580 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12585 * os2_errortable.h:
12586 * nt_defines.h: move .h into support/
12588 * vms_defines.h: remove
12590 * WorkArea.C: add space in debug output
12594 * buffer.C: add WITH_WARNINGS
12598 * bufferlist.C: s/retrive/retrieve/, add docs
12607 * chset.C: add docs
12609 * lyxgui.C: add ID to X error handler
12611 * lyxtestclass.c: fix typo
12613 2002-02-26 Juergen Vigna <jug@sad.it>
12615 * tabular_funcs.C (write_attribute): changed so that some default
12616 attributes are not written at all.
12617 (getTokenValue): set default values before trying to read the
12618 value so we have the return value always set as default if we don't
12619 find the token we search for.
12621 * tabular.C (Write): write bools as bools not as strings!
12623 2002-02-22 Juergen Vigna <jug@sad.it>
12625 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12626 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12628 * text.C (leftMargin): don't add an indent for paragraphs inside
12629 tabular cells (fix #208).
12631 2002-02-21 José Matos <jamatos@fep.up.pt>
12633 * tabular.C (docBook): fixed support for long tables.
12635 2002-02-20 Juergen Vigna <jug@sad.it>
12637 * text2.C (getFont): get the drawing font of the Inset if this
12638 paragraph is inside an inset (only important for InsetERT for now).
12640 * buffer.C (insertErtContents): use new lanugage params in ERT
12643 * CutAndPaste.C: commenting out seemingly uneeded code.
12645 2002-02-19 Allan Rae <rae@lyx.org>
12647 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12648 Iterators might be simple to use but they also get invalidated.
12649 (removeAutoInsets): renamed saved cursor tracking variables and added
12650 some comments to clarify what everything does.
12652 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12659 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12660 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12663 * vc-backend.h: remove #include "support/syscall.h"
12667 * converter.C: rearrange #includes in Lars' approved fashion.
12669 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12670 forward declare class Timeout in the header file.
12672 * XFormsView.C: changes due to the above.
12674 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12675 similar to LyXView.
12677 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12678 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12680 2002-02-18 José Matos <jamatos@fep.up.pt>
12682 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12685 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12687 * a lot of small ws changes
12688 * add a lot of using std::XXX
12689 * use std construcs some places where approp.
12690 * use some exisint stuff from lyxfunctional where approp.
12691 * Make file changes to use partial linking (lets test this now...)
12693 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12697 remove #include "support/syscontr.h" as it's redundant. Always has been.
12705 change Systemcalls::System to Systemcalls::Wait and
12706 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12707 No change of functionality, just reflects the stripped down Systemcalls
12710 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12712 * debug.[Ch]: add a GRAPHICS type to the enum.
12714 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12716 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12718 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12721 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12723 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12724 match the changes below.
12726 * text2.C (toggleInset): if there is not editable inset at cursor
12727 position, try to see if cursor is _inside_ a collapsable inset
12730 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12732 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12733 document menu has a nice checkbox
12735 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12737 * lyxlength.C (asLatexString): change PW to output as percent of
12740 * lengthcommon.C: change '%' to 't%'
12742 * lyxfunc.C (dispatch): a few comments from Martin
12744 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12748 * BufferView_pimpl.h:
12749 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12752 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12754 * vspace.C (inPixels): fix compiler warning
12756 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12758 * lyxfunc.C (getStatus): fix status message for disabled commands.
12760 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12762 * BufferView_pimpl.C: fix crash on close buffer
12763 during selection (#227)
12765 2002-01-27 Herbert Voss <voss@lyx.org>
12767 * buffer.C: link old Figure to new graphic inset
12769 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12771 * FontLoader.C (getFontinfo): Change the latex font names in order
12772 to match the names of type1inst.
12774 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12778 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12779 (extchanged): ditto
12781 (remove_files_with_extension): ditto
12782 (remove_file): ditto
12785 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12786 document is smaller than the work area height. Do not initialize
12787 static variables to 0.
12789 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12791 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12793 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12794 LFUN_LAYOUT_PARAGRAPHS.
12796 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12797 tabular. It is possible to provide a possible cell, which will
12798 typically be the actcell from the corresponding insettabular
12800 * lyxfunc.C (getStatus): small cleanup; disable
12801 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12804 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12806 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12808 * paragraph.C (startTeXParParams):
12809 (endTeXParParams): new methods. The LaTeX code to
12810 start/end paragraph formatting
12811 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12812 empty (fixes bug #200)
12814 * vspace.C (inPixels): adapt to the change below
12815 (inPixels): [later] more cleanups (remove unused variables)
12817 * lyxlength.C (inPixels): change to use a width and a height as
12820 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12822 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12823 Replaced with \paperwidth
12825 * DepTable.C (insert): add std:: qualifier
12827 2002-01-18 Allan Rae <rae@lyx.org>
12829 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12832 * text.C (drawInset): Turned out I didn't know enough about how
12833 rebreaking worked. This fixes most of the redraw problems. I see
12834 an occasional cursor trail when a line is broken now and the cursor
12835 placement can seem out by a few pixels also after a rebreak.
12837 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12839 * buffer.C (parseSingleLyXformat2Token): update because minipage
12840 width is now a LyXLength
12842 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12844 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12847 2002-01-17 Juergen Vigna <jug@sad.it>
12849 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12851 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12852 is set correctly and the inset is updated correctly.
12854 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12856 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12857 the beginning of the loop.
12859 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12861 * lyxrc.C: improve help for use_scalable_fonts
12863 2002-01-17 Allan Rae <rae@lyx.org>
12865 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12867 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12869 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12870 make sure to set their inset_owner to the right value (bug #171)
12872 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12875 * DepTable.C: Implement mtime checking to reduce time spent doing
12878 2002-01-16 Juergen Vigna <jug@sad.it>
12880 * tabular.C (GetAdditionalHeight): one of error fixed.
12882 * lyxrc.C (output): small fix in writing use_pspell.
12884 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12886 * sp_base.h: #include LString.h
12888 2002-01-16 Allan Rae <rae@lyx.org>
12890 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12891 Can someone check this please?
12893 * text.C (drawInset): It was possible that p.row would be removed by
12894 breakAgainOneRow upsetting a few other settings. There may be another
12895 small tweak possible by setting need_break_row = 0 when p.row has been
12896 removed but I don't know enough about the logic here.
12898 2002-01-15 Allan Rae <rae@lyx.org>
12900 * text.C (insertChar): removed conditional truism.
12902 * BufferView2.C (removeAutoInsets): More tweaks.
12903 cur_par_prev could be a stray pointer. Check for trailing empty line
12904 in case last line was cur_par and only had an error inset on it.
12906 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12908 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12911 * vc-backend.C (most methods):
12912 * exporter.C (Export):
12913 * converter.C (convert):
12915 * LyXSendto.C (SendtoApplyCB):
12916 * lyxfunc.C (dispatch):
12920 * lyx_cb.C (AutoSave):
12922 * BufferView_pimpl.C (MenuInsertLyXFile):
12923 * buffer.C (runChktex): use Buffer::filePath().
12925 * buffer.h: rename filename to filename_; rename filepath to
12926 filepath_ and make it private
12927 (filePath): new method
12929 * buffer.C (writeFile): use fileName()
12932 * lyx_main.C (init): fix starting of LyX when the binary is a
12933 link from so,ewhere else.
12935 * minibuffer.C: include <cctype> for isprint
12937 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12939 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12940 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12941 name clash with InsetCollapsable's width function.
12943 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12945 * lastfiles.C: include <iterator>
12947 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12949 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12952 * buffer.C (makeLaTeXFile): ditto.
12953 Also make loop operation more transparent.
12955 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12957 * ToolbarDefaults.C: remove trailing comma closing namespace.
12959 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12961 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12964 * trans.C (Load): comment out unused variable, allowed.
12966 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12968 * minibuffer.[Ch] (append_char): new method to recieve input from the
12969 drop-down completion browser. If a key was pressed, then recieve this
12970 char and append it to the existing string.
12971 (peek_event): modify the positioning data passed to the completion
12972 browser so that it can be placed above the minibuffer rather than below.
12973 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12975 * LyXAction.C (init): alloe error-next for readonly documents.
12977 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12980 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12982 * bufferlist.C (readFile): create the buffer _after_ checking that
12985 * lyxfunc.C (verboseDispatch): fix handling of arguments
12987 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12989 * lyxrc.C: use string::erase() instead of initializing to "".
12992 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12994 * BufferView_pimpl.h:
12995 * BufferView_pimpl.C:
12998 * text2.C: tell X when we have made a selection for copying
13000 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13002 * BufferView_pimpl.C (MenuInsertLyXFile):
13003 * lyxfunc.C (menuNew):
13005 (doImport): add shortcuts to directory buttons
13007 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13010 * lyxfunc.C (setStatusMessage):
13011 (getStatusMessage): new methods
13012 (getStatus):use setStatusMessage instead of setErrorMessage
13013 (dispatch): when function is disabled, set error message here
13014 [instead of in getStatus previously]
13016 * BufferView_pimpl.C (workAreaButtonRelease): update
13017 toolbar/menubar here too.
13019 2002-01-13 Allan Rae <rae@lyx.org>
13021 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13022 Now seems indestructible. Remaining task is to audit all other
13023 code affected by deleteEmptyParagraphMechanism. One small quirk
13024 left is that an empty document with an error in the preamble can
13025 be made to report an error but no error box appears. I don't know
13027 (removeAutoInsets): Improved comments.
13029 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13032 * Thesaurus.C: update for Aiksaurus 0.14
13034 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13036 * text2.C (firstParagraph): removed member function, all uses
13037 replaces with ownerParagraph
13038 (redoParagraphs): here
13039 (updateInset): here
13040 (toggleAppendix): here
13041 * BufferView2.C (insertErrors): here
13042 (setCursorFromRow): here
13044 2002-01-13 Allan Rae <rae@lyx.org>
13046 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13047 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13048 There is still a way to segfault this although you may have to do this
13049 multiple times: Have an InsetERT with an unknown command in it.
13050 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13051 <down-arrow>, <Enter> again, View->DVI, BANG!
13053 * text2.C (setCursor):
13054 (deleteEmptyParagraphMechanism):
13055 * lyxtext.h (setCursor):
13056 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13057 Making use of the return value may help fix other bugs.
13059 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13061 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13063 * LyXView.C (updateMenubar): call MenuBar::update here
13064 (updateToolbar): but not here
13065 (showState): do not update toolbar/menubar
13067 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13068 should need to care about that.
13070 * lyxfunc.C (verboseDispatch): simplify a bit
13071 (getStatus): have a version which takes a pseudoaction, and
13072 another which requires a (kb_action,string).
13074 * LyXAction.C (retrieveActionArg): make it work also when action
13075 is not a pseudo-action.
13076 (getActionName): simplify a bit
13079 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13081 * lyxfunc.C (verboseDispatch): new families of methods with
13082 several ways to specify a command and a bool to indicate whether
13083 the command name and shortcut should be displayed in minibuffer
13084 (eventually, we could extend that to a finer bitmask like
13085 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13086 (dispatch): the pristine dispatch command which just, well,
13087 dispatchs! Note it still sets its result to minibuffer; I'm not
13090 * lyxfunc.h: remove setHintMessage
13092 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13094 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13096 * BufferView_pimpl.C (specialChar): delete new inset if we have
13097 not been able to insert it.
13099 * kbmap.C: revert to using int instead of kb_action, since all we
13100 are dealing with is pseudo-actions.
13102 * LyXAction.C (searchActionArg): change to return int instead of
13103 kb_action, since the result is a pseudoaction.
13105 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13107 * buffer.C (insertErtContents): Fix (partially) the font bug.
13109 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13111 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13112 as the other one is broken on my machine!
13114 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13117 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13119 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13121 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13122 reflect their actual use. Provide compatibility code for older lyxrc
13125 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13127 change names of popup font variables in line with the changes to lyxrc.C
13129 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13131 * buffer.C (asciiParagraph): avoid outputing a word twice after
13134 * lyxrc.C (getDescription): document that document_path and
13135 template_path can be empty.
13137 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13139 * LaTeXFeatures.C (getMacros):
13140 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13142 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13144 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13146 (getPackages): rename feature "floats" to "float". Use an array to
13147 iterate over 'simple' features (i.e. just a \usepackage). Add
13148 handling of "amsmath" (renamed from "amsstyle").
13150 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13152 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13155 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13157 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13158 FuncStaus::FuncStatus & FuncStaus::some_method().
13160 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13162 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13163 of the func_satus stuff. Edited and massaged in various ways by
13166 * lyxfunc.C (getStatus): use FuncStatus
13168 2002-01-08 Juergen Vigna <jug@sad.it>
13170 * text.C (nextBreakPoint): use function Inset::isChar().
13172 * paragraph.C (TeXOnePar): use function
13173 Inset::forceDefaultParagraphs.
13175 * buffer.C (latexParagraphs): use function
13176 Inset::forceDefaultParagraphs.
13178 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13180 * lyx_gui.C (init): set the style of the menu popups to
13181 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13183 2002-01-07 Juergen Vigna <jug@sad.it>
13185 * text.C (setHeightOfRow): small fix
13186 (prepareToPrint): don't look at alignment if we don't have the place
13189 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13191 * box.C: New file. Move the Box methods and functions out of box.h,
13192 following Lars' suggestion.
13194 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13196 * box.h: #include "support/LOstream.h", needed for inlined function.
13199 * lyxtextclasslist.C: added some using std declarations.
13201 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13203 * box.h: make signed dimensions to allow insets wider than
13204 the screen (bug #162)
13206 * BufferView_pimpl.C: add some insetHit debug
13208 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13210 * vc-backend.C: add FIXME
13212 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13214 * lyxfunc.C (getStatus): enable code for showing math font status
13217 2002-01-07 Juergen Vigna <jug@sad.it>
13219 * text.C (nextBreakPoint): removed debug output not needed anymore.
13221 2002-01-06 Juergen Vigna <jug@sad.it>
13223 * text.C (nextBreakPoint): fixed up this function we had this bug
13224 since ever but now hopefully we break row better.
13225 (insertChar): we have to check if an inset is the next char as it
13226 could now happen that a large inset is causing a break.
13228 2002-01-05 Juergen Vigna <jug@sad.it>
13230 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13231 if it doesn't like to be drawed.
13233 2002-01-04 Juergen Vigna <jug@sad.it>
13235 * BufferView2.C (lockInset): forgot to set a cursor.
13237 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13239 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13241 * FormMathsPanel.C:
13244 * form_maths_panel.C:
13245 * form_maths_panel.h:
13246 * form_maths_panel.fd: implemented sub- and super- buttons in math
13249 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13250 (or ^ space) to be used as in TeX (req'd by André).
13252 * lyxfunc.C: Allow ^ and _ again to be used both as
13253 super/subscript (mathed) and as themselves (in text).
13255 2002-01-03 Allan Rae <rae@lyx.org>
13257 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13258 "LyX" or the filename of the current buffer if it has one. This is a
13259 modified form of John Levon's patch.
13261 * XFormsView.C (setWindowTitle): also set icon title.
13263 * LyXView.h (setWindowTitle): signature changed.
13264 * XFormsView.h (setWindowTitle): ditto.
13266 2002-01-02 Juergen Vigna <jug@sad.it>
13268 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13270 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * screen.C (topCursorVisible): introduce a temp var for
13273 text->cursor.row(), handle the case where this row is null. (kindo
13276 * text2.C (setCursor): add a couple of asserts.
13278 * paragraph.h (inset_iterator): add -> operator
13280 * paragraph.[Ch] (autoDeleteInsets): remove member function
13282 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13283 cursor pos correctly and handle inset deletion by itself.
13284 (insertErrors): move iterator declaration out of for expression
13286 * lyxtextclass.C: add <algorithm>
13288 * Makefile.am: added the new files to sources, removed layout.C
13290 * layout.C: removed file
13292 * layout.h: remove LYX_DUMMY_LAYOUT
13294 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13298 * lyxtextclass.[Ch]:
13299 * lyxtextclasslist.[Ch]: new files
13301 * include order changes to a lot of files, also changes because of
13304 2001-12-27 Juergen Vigna <jug@sad.it>
13306 * buffer.C (asciiParagraph): more fixes.
13308 * tabular.C (ascii): make ascii export support export of only the
13309 data separated by a column-delimiter.
13310 (ascii): better support for ascii export.
13312 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13314 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13316 * tabular_funcs.C: use a "using std::getline" instead of the
13317 previous fix from Angus (necessary for cxx + lyxstring)
13319 2001-12-24 Juergen Vigna <jug@sad.it>
13321 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13323 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13324 problems. First check a minipage also if we have some ert-contents
13325 (not only on par->size(), second set the right depth of the paragraph
13326 on the relink to the root-paragraph-list!
13328 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13329 which then did not anymore update the main paragraphs on undo/redo!
13331 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13333 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13334 code. Support all font-changing funcs (even those which are not in
13335 menu currently). Support for reporting font settings in
13336 mathed (disabled until Andre provides a function on mathed's side).
13338 * func_status.h (toggle): small helper function to set toggle
13341 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13343 * tabular_funcs.C: getline -> std::getline
13345 2001-12-21 Juergen Vigna <jug@sad.it>
13347 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13348 accessed and could be 0 (I couldn't generate this but it seems
13351 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13354 * tabular_funcs.h: here and include iosfwd
13356 2001-12-20 Juergen Vigna <jug@sad.it>
13358 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13359 inside inset but undo_par was.
13361 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13363 * Thesaurus.C: always include <config.h> in sources.
13367 * box.h: do not include <config.h> in header files
13369 * text.C (paintLastRow): remove unused variable
13371 * text.C (transformChar):
13373 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13375 * Painter.C (text):
13376 * font.C (width): rewrite to use uppercase() instead of
13379 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13381 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13383 * lyxfind.C: clean up of find failure position change
13385 2001-12-20 Juergen Vigna <jug@sad.it>
13387 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13389 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13390 (TeXRow): added to LaTeX a single tabular row.
13391 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13392 (Latex): simplified and finally good LT-h/f support.
13393 (various_functions): just small adaptions for LT-h/f support.
13395 * tabular_funcs.[hC]: added and moved here all not classfunctions
13398 2001-12-19 Juergen Vigna <jug@sad.it>
13400 * tabular.[Ch]: better support for longtabular options (not finished
13403 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13405 * text.C (paintLastRow): use the label font instead of the font of
13406 the last character to compute the size of *_BOX. This makes more
13407 sense and avoids a crash with empty paragraphs.
13408 Use Painter::rectangle to draw EMPTY_BOX.
13410 2001-12-19 Juergen Vigna <jug@sad.it>
13412 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13413 the paragraphs if the replaced paragraph is not the first one!
13414 Tried to delete not used paragraphs but does not work yet so for
13415 now it's inside #ifdef's and by default off!
13417 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13419 * MenuBackend.C: include "lyx_main.h" instead of declaring
13420 lastfiles (actually was declared as LastFiles* instead of a
13423 2001-12-17 Juergen Vigna <jug@sad.it>
13425 * tabular.C (AppendColumn): applied John's fix
13427 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13431 * BufferView_pimpl.h:
13432 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13435 * box.h: new start of class for above
13437 * lyxfunc.C: ignore space-only minibuffer dispatches.
13438 Show the command name when it doesn't exist
13440 * minibuffer.C: don't add empty lines to the history
13442 * minibuffer.C: add a space on dropdown completion
13444 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13446 * text.C: fix line above/below drawing in insets
13448 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13450 * lyxlength.C (LyXLength): Initialize private variables.
13452 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13454 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13455 when inserting error insets.
13457 2001-12-13 Juergen Vigna <jug@sad.it>
13459 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13460 actually sometimes the before-paragraph.
13461 (setUndo): don't clear the redostack if we're not actually undoing!
13463 2001-12-06 Juergen Vigna <jug@sad.it>
13465 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13466 and fixed redoing of main paragraph, so we can use it now ;)
13468 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13470 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13472 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13475 2001-12-13 André Pönitz <poenitz@gmx.net>
13478 * undo_func.C: minor cleanup
13480 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13482 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13483 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13484 font in urw-fonts package which is marked as -urw-fontspecific and
13485 does not work (incidentally, changing the encoding in the
13486 fonts.dir of this package to -adobe-fontspecific fixes the
13489 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13490 is a crash when undoing first paragraph (Juergen, please take a
13491 look). THis does not mean the undo fix is wrong, just that it
13494 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13495 the (Paragraph*) version when needed instead of duplicating the
13498 * text.C (workWidth): use Inset::parOwner to find out where the
13499 inset has been inserted. This is a huge performance gain for large
13500 documents with lots of insets. If Inset::parOwner is not set, fall
13501 back on the brute force method
13503 * paragraph_pimpl.C (insertInset):
13504 * paragraph.C (Paragraph):
13505 (cutIntoMinibuffer): set parOwner of insets when
13506 inserting/removing them
13508 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13510 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13516 * mathed/formulabase.C:
13517 * mathed/math_cursor.[Ch]:
13518 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13521 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13523 * lyxlength.[Ch] (operator!=): new function
13525 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13527 * text.C (workWidth): use Inset::parOwner to find out where the
13528 inset has been inserted. This is a huge performance gain for large
13529 documents with lots of insets. If Inset::parOwner is not set, fall
13530 back on the brute force method
13532 * paragraph_pimpl.C (insertInset):
13533 * paragraph.C (Paragraph):
13534 (cutIntoMinibuffer): set parOwner of insets when
13535 inserting/removing them
13537 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13539 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13541 * tabular-old.C (getTokenValue):
13542 * tabular.C (getTokenValue):
13543 (write_attribute): new versions for LyXLength
13544 (everywhere): adjust the use of widths
13546 * tabular.h: change the type of widths from string to LyXLength
13548 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13550 * paragraph.C: fixed missing line number count when exporting
13551 Environments to LaTeX file
13553 * buffer.C: added informational message for checking line numbers.
13555 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13557 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13558 paragraph, do the 'double space' part, but not the 'empty
13561 * text.C (workWidth): small optimization
13562 (getLengthMarkerHeight): use minimal size for negative lengths.
13564 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13566 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13568 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13570 2001-12-11 André Pönitz <poenitz@gmx.net>
13573 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13575 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13577 * text2.C: keep selection on a setFont()
13579 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13581 * lyx_cb.C: another bv->text misuse, from insert label
13583 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13586 * kbsequence.C: re-instate nmodifier mask
13588 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13590 * lyx_main.h: make lyxGUI private.
13592 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13594 * lyxfind.C: place the cursor correctly on failed search
13596 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13598 * text.C (getLengthMarkerHeight): for small heights, the arrows
13599 are not always on top/bottom of the text
13600 (drawLengthMarker): smaller arrows; take the left margin in
13601 account; draw also vfills.
13603 (paintLastRow): remove special code for vfill and standard spaces,
13604 since everything is handled in drawLengthMarker now.
13606 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13608 * buffer.C (insertErtContents): try to handle font and language
13609 interaction a bit better.g
13611 * ColorHandler.C (updateColor): change the hash to cover the whole
13612 LColor enum, ws cleanup
13613 (getGCLinepars): ditto
13614 (getGCLinepars): only lookup in the linecache once.
13616 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13618 * iterators.C (operator++): Make the iterator more robust
13620 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13622 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13624 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13627 * text.C: better added space drawing
13629 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13632 * BufferView2.C: fix layout combo update on inset unlock
13634 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13636 * Makefile.am: don't compile unused files
13638 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13642 * LyXAction.C: remove old LFUN_LAYOUTNO
13644 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13646 * paragraph_pimpl.h:
13647 * paragraph_pimpl.C: isTextAt() doesn't need font param
13649 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13652 * lyxlex.C: little cleanup
13654 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13656 * BufferView_pimpl.C: fix insertAscii for insets
13658 2001-12-05 Juergen Vigna <jug@sad.it>
13660 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13661 set the right font on the "multi" paragraph paste!
13663 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13669 * lyxlength.C: remove out-commented code.
13671 * BufferView_pimpl:
13685 * vc-backend.C: change "while(" to "while ("
13687 * lyxlength.[Ch]: add zero function to check if length is zero or
13689 * lyxgluelength.C: use it
13691 2001-12-05 Allan Rae <rae@lyx.org>
13693 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13694 Works for 2.95.3, from what I understand of Garst's reports this should
13695 work for other g++ versions. We're screwed if the abs(int) definition
13696 changed between bugfix releases of gcc.
13698 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13700 * text.C: fix chapter label offset !
13702 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13705 * text.C: fix hfill at end of line, clean up
13707 2001-12-04 Juergen Vigna <jug@sad.it>
13709 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13710 that we force an update of the inset and it's owners if neccessary.
13712 2001-12-03 Juergen Vigna <jug@sad.it>
13714 * text.C (rowLast): simplified code
13716 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13718 * lyxfunc.C: fix show options on timeout
13720 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13722 * screen.C (topCursorVisible): scroll half a page when the cursor
13723 reached top of bottom of screen
13725 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13727 * minibuffer.C: deactivate on loss of focus
13729 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13731 * vspace.[Ch] (operator!=): add operator.
13733 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13735 * BufferView_pimpl.C: refuse to open an inset when
13736 there's a selection.
13738 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13740 * BufferView_pimpl.C: allow to click on RHS of full row insets
13742 2001-11-30 Juergen Vigna <jug@sad.it>
13744 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13745 insets for undo reasons.
13747 2001-11-28 André Pönitz <poenitz@gmx.net>
13749 * vspace.[Ch]: cosmetical changes
13751 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13761 * kbsequence.C: part re-write of old kb code
13764 * WorkArea.C: remove Lgb_bug_find_hack
13766 2001-11-30 José Matos <jamatos@fep.up.pt>
13768 * buffer.C (makeDocBookFile): add a comment to point a hack.
13769 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13770 Fixed a double write of labels.
13772 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13775 * LaTeX.h Fixed bug in LaTeX class where it would not
13776 re-run latex if no depfiles were changed, but the .dvi was removed.
13778 2001-11-28 André Pönitz <poenitz@gmx.net>
13780 * all the files from the change on 2001/11/26:
13781 use lyx::layout_type instead of LyXTextClass::size_type
13782 use lyx::textclass_type instead of LyXTextClassList::size_type
13784 2001-11-29 Juergen Vigna <jug@sad.it>
13786 * text.C: added support for paragraph::isFreeSpacing()
13788 * buffer.C: same as above
13790 * paragraph.h: inserted isFreeSpacing() function to enable
13791 FreeSpacing inside InsetERT.
13793 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13794 of the paragraph's in the cut/copy buffer to 0!
13796 * text2.C (removeRow): remove the assert as it can!
13798 * lyxtext.h: added helper function firstRow returning firstrow and
13799 made firstrow private again.
13801 * BufferView2.C (lockInset): don't relock if we're already locked!
13803 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13804 the only paragraph.
13805 (removeRow): added Assert::(firstrow)
13807 * debug.C: forgot to add INSETTEXT here.
13809 2001-11-28 Juergen Vigna <jug@sad.it>
13811 * sp_spell.C (initialize): changed error text to more general
13812 spellchecker command use (not only ispell!)
13814 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13816 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13818 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13820 * vspace.C: initialise lyxgluelength on failure
13822 2001-11-28 Allan Rae <rae@lyx.org>
13824 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13825 declaration & definition that looks like a function declaration.
13827 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13829 * BufferView2.C (copy):
13830 (copyEnvironment): do not clear the selection when doing a copy.
13832 * text.C (paintFirstRow): compilation fix
13834 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13836 * tabular.C (Latex): correct line count when writing latex.
13838 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13840 * paragraph_pimpl.h:
13841 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13844 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13848 * LColor.C: change vfillline->added_space
13850 * text.C: add markers and text for added space
13852 * vspace.C: fix comment
13854 2001-11-28 André Pönitz <poenitz@gmx.net>
13856 * paragraph.C: whitespace changes
13857 * all the other files from the change on 2001/11/26:
13858 change *::pos_type into lyx::pos_type
13860 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13862 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13863 language of the document when inserting error insets.
13865 2001-11-26 André Pönitz <poenitz@gmx.net>
13867 * BufferView_pimpl.[Ch]:
13875 * paragraph_pimpl.[Ch]:
13878 * text2.C: reduce header dependencies, introduce type for positions
13880 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13882 * <various>: change to use Alert.h
13884 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13886 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13887 when encountering an unknown token.
13888 (readLyXformat2): Show an error message if there were unknown tokens.
13890 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13893 * BufferView_pimpl.C:
13897 * text2.C: use par->isInset()
13899 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13901 * paragraph_pimpl.h:
13902 * paragraph_pimpl.C: cleanup
13904 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * text2.C (removeRow):
13907 * text.C (setHeightOfRow): remove useless (and costly) call to
13910 2001-11-20 Allan Rae <rae@lyx.org>
13912 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13913 Now need Inset*::checkInsertChar() to return true for appropriate
13914 cases so that the characters in the minibuffer will actually be
13917 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * text.C: change the order of the includes.
13920 (workWidth): initialize it at once.
13921 (workWidth): make maxw unsigned
13922 (setHeightOfRow): remove unused variable (inset)
13923 (selectSelectedWord): remove unused variable (inset)
13924 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13926 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13928 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13929 server is not running.
13931 (closeConnection): add debug info when server is disabled.
13933 * ColorHandler.C (getGCForeground): send debug message to GUI
13936 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13938 * kbmap.C (bind): modify because return conventions of
13939 kb_sequence::parse have changed.
13941 * kbsequence.C (parse): only ignore spaces and not any stupid
13942 control character. This avoids tests like s[i] <= ' ', which are
13943 guaranteed to fail with 8bit characters and signed chars.
13944 Change return code to string::npos when there have been no error
13945 (0 was a bad idea when error is at first character)
13947 2001-11-14 José Matos <jamatos@fep.up.pt>
13950 * buffer.C (simpleDocBookOnePar): removed unused argument.
13952 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13954 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13955 insets which are part of a word. Paragraph::isLetter takes care of
13956 that now. Use Paragraph::isInset to identify insets.
13957 (selectSelectedWord): do not test for hyphenation break.
13959 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13960 that protected spaces are considered as spaces.
13962 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13965 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13968 * lyxserver.C: fix it. and small cleanup.
13970 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13972 * BufferView_pimpl.C: use inline helpers
13975 * LaTeXFeatures.C: fix typos
13978 * Spacing.C: move spacing_string into class
13980 * ToolbarDefaults.C: move stuff into namespace anon
13982 * layout.h: update enum
13984 * lyxfunc.C: use better debug
13986 * minibuffer.h: fix typo
13990 * WorkArea.C: add and use Debug::WORKAREA
13994 * text2.C: code re-organisation, inline helpers
13996 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13998 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13999 std::vector.empty().
14001 2001-11-09 Allan Rae <rae@lyx.org>
14003 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14004 '\n's after tables. Tabular and ERT inset work now makes this no
14007 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14010 * minibuffer.C: fix crash, improve drop-down completion
14012 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14015 * lyxserver.C: invalidate fd's when doing endPipe()
14017 2001-11-08 José Matos <jamatos@fep.up.pt>
14019 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14020 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14023 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14025 2001-11-07 José Matos <jamatos@fep.up.pt>
14028 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14031 * buffer.C (sgmlOpenTag):
14032 * buffer.C (sgmlCloseTag): removed debug info.
14034 * buffer.h (sgmlOpenTag):
14035 * buffer.h (sgmlCloseTag): made public.
14037 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14039 * buffer.C (saveParamsAsDefaults):
14040 * lyx_cb.C (MenuLayoutSave): remove
14042 * LyXAction.C (init):
14044 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14046 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14048 * buffer.C (setPaperStuff): removed from here...
14050 * bufferparams.C (setPaperStuff): ... and moved there.
14052 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14056 * XFormsView.C: add support for drop-down completion
14058 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14060 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14063 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14068 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14070 * lyx_main.C: change ref to known bugs
14072 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14074 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14075 to work around older babel problems.
14077 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14079 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14081 2001-10-24 Juergen Vigna <jug@sad.it>
14083 * tabular-old.C (ReadOld): below variable changes reflected.
14085 * tabular.[Ch]: added ltType struct for longtable header/footer
14086 defines and changed all instances where they are used. Added
14087 future support for double top/bottom rows.
14089 2001-10-24 José Matos <jamatos@fep.up.pt>
14091 * buffer.h (docbookHandleCaption):
14092 * buffer.C (docbookHandleCaption): removed unused function.
14093 (makeDocBookFile): moved docbook supported version to v4.1.
14095 2001-10-24 José Matos <jamatos@fep.up.pt>
14098 * tabular.C (docbookRow): new function to export docbook code of a row.
14099 (DocBook): now honors the longtable flags.
14101 2001-10-23 José Matos <jamatos@fep.up.pt>
14104 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14105 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14107 * buffer.C (makeLinuxDocFile):
14108 (makeDocBookFile): reworked the preamble, more clean, and with
14109 support for lyx defined entities. Changed the document declaration
14110 to be more XML friendly.
14112 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14113 if we need to output XML that should be done with a filter.
14115 2001-10-22 Juergen Vigna <jug@sad.it>
14117 * sp_pspell.h (class PSpell): add alive function needed in the
14118 controller to see if the spellchecker could be started.
14120 2001-10-22 Juergen Vigna <jug@sad.it>
14122 * buffer.C (insertStringAsLines): modify the font for inserting
14123 chars in certain conditions by calling checkInsertChar(font).
14125 2001-10-19 Juergen Vigna <jug@sad.it>
14127 * text.C (workWidth): use getRow instead of wrong algorithm.
14128 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14130 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14135 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14137 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14139 * text.C (workWidth): do not search for the exact row when
14140 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14141 optimization for big documents.
14143 2001-10-18 Juergen Vigna <jug@sad.it>
14145 * text.C (workWidth): new function with added Inset * parameter.
14147 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14151 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14152 change return type of getColumnNearX.
14155 * text.C (changeRegionCase): use uppercase/lowercase instead of
14158 (rightMargin): simplify code by factoring out the uses of
14163 (appendParagraph): use Paragraph::size_type
14165 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14167 * vspace.C (asLatexString): add a missing break
14169 2001-10-15 Herbert Voss <voss@perce.de>
14171 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14173 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14175 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14178 2001-10-10 André Pönitz <poenitz@gmx.net>
14180 * lyxfunc.C: removed greek_kb_flag.
14182 2001-10-10 Herbert Voss <voss@perce.de>
14184 * lyx_main.C: delete global string help_lyxdir.
14186 2001-10-09 Herbert Voss <voss@perce.de>
14188 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14190 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14192 * lyx_main.C: added global string help_lyxdir.
14194 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14196 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14198 * lyxrc.C (set_font_norm_type): support iso8859-4
14200 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14202 * LaTeX.C (deplog): add another regex for MikTeX
14204 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14206 * lyxrc.C (set_font_norm_type): support iso8859-3
14208 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14210 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14212 * LaTeXFeatures.C: remove special case of french and index
14214 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14215 before \begin{document}). This solves several incompatibilities.
14217 2001-10-03 Garst Reese <reese@isn.net>
14219 * lyx_cb.C: change CheckTex error msg.
14221 2001-10-03 José Matos <jamatos@fep.up.pt>
14223 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14225 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14227 * .cvsignore: update
14229 * lyx_main.C (commandLineVersionInfo): use new style version info.
14231 * buffer.C (writeFile):
14233 (makeLinuxDocFile):
14234 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14236 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14238 * version.h: update to use stuff in version.C
14240 * version.C.in: new file. Contains version information determined
14241 at compile time. This is a merging of version.h and
14244 2001-10-03 Juergen Vigna <jug@sad.it>
14246 * BufferView_pimpl.C (update): don't change "dirty" status in
14249 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14251 * WorkArea.C (c-tor): re-position version string slightly.
14253 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14255 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14256 revert to previous code.
14258 WorkArea.[Ch]: (show, destroySplash): methods removed.
14260 WorkArea.C: rework code so that it's an amalgam of the codes before and
14261 after the splash screen was moved to WorkArea.
14263 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14266 * vspace.C (inPixels):
14269 * buffer.C (insertStringAsLines):
14270 (asciiParagraph): fix types to be large enough
14272 * lyxlex_pimpl.h: change member status from short to int
14274 * layout.h: fix type of endlabeltype
14277 * kbsequence.C (parse): change return type to string::size_type
14279 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14282 * Bullet.C (bulletSize):
14283 (bulletEntry): do not use short ints as parameters
14285 * BufferView2.C (insertLyXFile): change a char to an int.
14287 * WorkArea.C (WorkArea): remove unneeded floats in computation
14289 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14291 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14293 * paragraph.C (asString): Do not ignore newline/hfill chars when
14294 copying to the clipboard.
14296 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14298 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14299 after a multi-line inset.
14301 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14303 * paragraph.C (validate): Set NeedLyXFootnoteCode
14305 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14307 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14308 and decrease-error to decrease.
14310 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14312 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14313 it more readable (should be equivalent)
14315 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14317 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14319 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14321 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14322 of a cursor (row, etc.) after a character has been deleted
14323 (deleteEmptyParagraphMechanism): call the method above on _all_
14324 cursors held by the LyXText when a double space has been
14327 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14329 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14331 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14333 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14334 background. Use greyOut() and the new show() methods to toggle between
14335 the foreground and background. Add code to remove the splash after
14336 its initial showing.
14338 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14339 (create_forms): no longer call Dialogs::showSplash.
14341 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * .cvsignore: add version_info.h
14345 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14347 * version_info.h.in: new file
14349 * Makefile.am: add version_info.h.in
14351 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14352 version_info.h instead of VERSION_INFO
14354 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14356 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14357 The ERT inset now returns string().
14359 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14361 * lyxtext.h, text.C (selectNextWord): renamed as
14362 selectNextWordToSpellcheck.
14364 * text.C (selectNextWordToSpellcheck): Modified to not select
14365 words inside an ERT inset.
14367 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14369 * lyx_cb.C (MenuLayoutSave): change a bit the question
14371 * sp_base.h: include <sys/types.h>
14373 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14375 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14377 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14379 * several files: fix typos in user-visible strings
14381 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14383 * text2.C (pasteSelection): do not set the selection, since it
14384 will be cleared later. Actually, the intent was to fix the way the
14385 selection was set, but I figured rmoving the code was just as good.
14387 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14389 * FontLoader.C (available): Check if font is available without
14392 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14394 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14396 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14398 * lyxrc.[Ch]: added display_graphics variable and associated code.
14400 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14402 * bufferparams.C (hasClassDefaults): new method. Returns true if
14403 the buffer parameters correspond to known class defaults
14405 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14407 * XFormsView.C (show): set minimum size to the main window.
14409 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14411 * text2.C (copySelection):
14413 * lyxfind.C (LyXReplace):
14414 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14415 LyXText::selectionAsString.
14417 * paragraph.C (asString): add "label" argument to the second form
14419 * text2.C (selectionAsString): add "label" argument and pass it to
14420 Paragraph::asString.
14422 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14424 * lyx_main.C (commandLineHelp): remove version information
14426 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14428 * lyx_main.C: add -version commandline option
14430 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14432 * paragraph.h: make the optional constructor arg required instead.
14433 some modifications to other files because of this.
14435 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14437 * lyxserver.C (C_LyXComm_callback): make it static
14439 * lyx_main.C (error_handler): make it static
14441 * lyx_gui.C (LyX_XErrHandler): make it static
14443 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14445 * WorkArea.C: make the extern "C" methods static.
14447 * Makefile.am (lyx_LDADD): simplify
14449 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14451 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14452 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14454 * LyXAction.C (init):
14455 * lyxfunc.C (dispatch): associated code removal.
14457 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14459 * lyxfont.h (isSymbolFont): shut off warning
14461 * text.C (setHeightOfRow):
14462 (getVisibleRow): fix crash with empty paragraphs which have a
14465 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14467 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14470 2001-09-04 José Matos <jamatos@fep.up.pt>
14473 * tabular.C (docbook): rename docBook method to docbook.
14475 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14477 * Makefile.am: add dependencies to main.o.
14479 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14481 * FontLoader.C (available): Return false if !lyxrc.use_gui
14483 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14485 * FontInfo.C (query):
14486 * converter.C (view):
14487 * importer.C (Import):
14488 * exporter.C (Export): Can not -> cannot.
14490 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14492 * BufferView_pimpl.C: allow to create index inset even if
14495 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14497 * buffer.C (getLists): replace boost::tie code with an explicit pair
14498 as boost::tie can break some compilers.
14500 * iterators.h: Added a std:: declaration to the return type of
14503 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14505 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14508 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14510 * iterators.[Ch]: New files. Provide paragraph iterators.
14512 * buffer.C (changeLanguage): Use paragraph iterators.
14513 (isMultiLingual): ditto
14515 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14517 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14519 * FontLoader.C: Support for cmr font.
14521 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14523 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14524 (available): New method.
14526 * FontInfo.C (getFontname): Use scalable fonts even when
14527 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14530 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14532 * converter.C (Formats::view): reverted! Incorrect fix.
14534 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14536 * converter.C (Formats::view): only output the -paper option
14537 if the dvi viewer is xdvi, thereby fixing bug #233429.
14539 2001-08-23 Herbert Voss <voss@perce>
14541 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14543 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14545 * Spacing.h (Spacing): Set space to Default on in the default
14548 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14550 * vc-backend.h (RCS::versionString): add RCS to version
14551 (CVS::versionString): add CVS to version
14553 * vc-backend.C (scanMaster): do not add CVS to version.
14554 (scanMaster): do not add RCS to version
14556 * lyxvc.C (versionString): new method
14558 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14560 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14562 * Spacing.C (set): initialize fval
14564 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14566 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14569 2001-08-16 Juergen Vigna <jug@sad.it>
14571 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14573 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14575 * BufferView_pimpl.C:
14578 * text2.C: setParagraph takes linespacing now
14580 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14582 * LyxAction.C: add internal LFUN_CITATION_INSERT
14584 * LyXView.C: actually apply fix
14586 * bufferlist.C: fix open non-existent file
14588 * lyxfind.C: fix indentation
14590 * lyxfunc.C: remove unneeded assert, fix typo
14592 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14594 * MenuBackend.C: use "Floatname List"
14596 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14598 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14599 when converting LaTeX layout to insetERT.
14600 Generate a non-collapsed float when reading old float
14602 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14604 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14607 2001-08-13 Juergen Vigna <jug@sad.it>
14609 * text.C (fill): return 0 instead of 20 as this seems to be the more
14612 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14614 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14617 2001-08-13 Juergen Vigna <jug@sad.it>
14619 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14621 (SearchBackward): comment out the unlocking of the inset_owner this
14622 should not be needed!
14624 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14626 * Many files: Remove inherit_language, and add latex_language
14628 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14629 collapsible insets.
14631 2001-08-10 Juergen Vigna <jug@sad.it>
14633 * text.C (prepareToPrint): fixed hfill-width in draw!
14635 * BufferView2.C (selectLastWord): save the selection cursor as this
14636 now is cleared in the function LyXText::clearSelection!
14638 2001-08-08 Juergen Vigna <jug@sad.it>
14640 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14641 BACKSPACE type functions.
14643 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14644 is only cutted from the document but not put in the cut-buffer, where
14645 still the old stuff should be.
14647 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14649 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14651 * tabular.C (SetWidthOfCell): fixed special case where the width
14653 (LeftLine): handle '|' in align_special.
14655 (LeftAlreadyDrawed): ditto
14656 (SetWidthOfCell): ditto
14658 2001-08-07 Juergen Vigna <jug@sad.it>
14660 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14662 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14664 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14665 * lyxlex.[hC]: ditto
14667 2001-08-06 Juergen Vigna <jug@sad.it>
14669 * text.C (getVisibleRow): fix up row clearing a bit.
14671 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14673 * minibuffer.C: make sure the X server sees the changes in the input.
14675 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14677 * paragraph.C (getFont): split into...
14678 (getLabelFont): this
14679 (getLayoutFont): and this
14680 * paragraph_pimpl.C (realizeFont): calling this
14682 * text2.C (getFont): split into...
14683 (getLayoutFont): this
14684 (getLabelFont): and this
14685 (realizeFont): all three calling this
14687 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14690 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14692 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14694 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14696 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14697 layouts from the Quote inset insertion.
14699 2001-08-03 Juergen Vigna <jug@sad.it>
14701 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14703 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14704 only if status not is already CHANGED_IN_DRAW (second level).
14706 * text.C (draw): don't set the need_break_row when inside an
14709 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14711 * buffer.C (parseSingleLyXformat2Token): handle more latex
14714 * bufferview_funcs.[hC]: change function names to
14715 begin with small char, adjust other files.
14717 2001-08-02 André Pönitz <poenitz@gmx.net>
14720 BufferView_pimpl.C: remove broken special code for math-greek
14722 2001-08-02 Juergen Vigna <jug@sad.it>
14724 * BufferView_pimpl.C (update): redone this function so that we
14725 update the text again if there was a CHANGE_IN_DRAW.
14727 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14728 (drawFromTo): added a new internal bool which is used by draw() and
14730 (general): some cursor drawing problems fixed.
14732 2001-08-01 Juergen Vigna <jug@sad.it>
14734 * lyxfind.C (LyXFind): fixed
14735 (SearchForward): ditto
14736 (SearchBackward): ditto
14738 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14739 spurius drawing of the cursor in the main area.
14741 * text2.C (status): small fix which could lead to a segfault!
14742 (clearSelection): remove unneeded BufferView param.
14744 2001-08-01 André Pönitz <poenitz@gmx.net>
14746 * lyxfunc.C: small change due to changed mathed interface
14748 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14750 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14752 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14754 * lyxfunc.c: fail gracefully if file doesn't exist
14759 * BufferView_pimpl.C: IsDirWriteable() proto changed
14761 * LyXView.C: fix updateWindowTitle() to store the last title
14763 2001-07-31 Juergen Vigna <jug@sad.it>
14765 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14766 the font (wrong since using of Paragraph::highestFontInRange).
14768 * paragraph.C (highestFontInRange): added a default_size parameter.
14770 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14771 (setHeightOfRow): reformat
14773 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14775 * converter.[hC] + affected files: move to (inital-char)lowercase
14778 * ParagraphParameters.C (ParagraphParameters): remove commented code
14780 * PainterBase.[Ch]: remove commented code
14782 * LaTeXFeatures.h: add "bool floats" for float.sty
14784 * LaTeXFeatures.C (LaTeXFeatures): init floats
14785 (require): handle float
14786 (getPackages): do it with floats
14788 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * BufferView_pimpl.C (Dispatch): improve handling of
14791 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14793 * commandtags.h: #include lyxfont.h here temporarily to avoid
14796 * bufferlist.h: include LString.h here.
14798 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * text2.C (getStringToIndex): new method.
14802 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14804 * *: Reduced header file dependencies all over.
14806 2001-07-30 Baruch Even <baruch@lyx.org>
14808 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14810 2001-07-29 Baruch Even <baruch@lyx.org>
14812 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14814 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14816 * ParameterStruct.h (endif): add a default constructor to make
14817 sure that all variables is initialized.
14819 * ParagraphParameters.C (ParagraphParameters): adjust
14821 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14823 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14824 index; also, check that there is something to index, and that it
14825 does not span over several paragraphs.
14826 (doubleClick): use WHOLE_WORD_STRICT for double click.
14828 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14830 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14833 2001-07-26 Baruch Even <baruch@lyx.org>
14835 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14836 an InsetFig figure, backwards compatible reading of old figure code.
14838 2001-07-27 Juergen Vigna <jug@sad.it>
14840 * text2.C: font.realize function adaption.
14842 * text.C (draw): add a warnings lyxerr text if needed.
14844 * layout.C: font.realize function adaption.
14846 * language.C: add inherit_language and implement it's handlings
14848 * bufferview_funcs.C (StyleReset): remove language parameter from
14849 font creation (should be language_inherit now).
14851 * bufferparams.C (writeFile): handle ignore_language.
14853 * paragraph.C (getFontSettings): the language has to be resolved
14854 otherwise we have problems in LyXFont!
14856 * lyxfont.C (lyxWriteChanges): added document_language parameter
14857 (update): removed unneeded language parameter
14859 * paragraph.C (validate): fixed wrong output of color-package when
14860 using interface colors for certain fonts in certain environments,
14861 which should not seen as that on the final output.
14863 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14865 * BufferView_pimpl.C:
14870 * LyXAction.C: add thesaurus support
14873 * lyxfind.C: add "once" parameter, for thesaurus, to not
14874 move to the next match
14876 2001-07-26 Juergen Vigna <jug@sad.it>
14878 * lyxfont.C (realize): honor ignore_language too!
14881 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14883 * text.C (draw): one place more for ignore_language to not draw
14886 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14888 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14890 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14892 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14893 the minipage conversion problem.
14895 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14897 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14900 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14902 * BufferView.h: don't forward declare WorkArea
14904 * BufferView.C: don't include WorkArea.h
14906 2001-07-25 André Pönitz <poenitz@gmx.net>
14910 * lyxfunc.C: new LFUN 'math-space'
14912 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14914 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14916 * text2.C (toggleInset): call open/close
14918 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14920 * lyxfunc.C (dispatch): add debug for the disabled case
14922 * font.C (buttonText): make similar to rectText
14924 * buffer.C (readInset): comment out parsing of insetlist and
14927 * PainterBase.C (rectText): small correction
14929 * BufferView_pimpl.C: comment out insettheorem and insetlist
14930 * LyXAction.C: ditto
14931 * commandtags.h: ditto
14933 2001-07-24 Juergen Vigna <jug@sad.it>
14935 * text.C (draw): honor the ignore_language.
14937 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14939 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14941 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14944 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14946 * lyxtext.h: remove unused (and unimplemented) methods
14948 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14950 * text.C (getVisibleRow): honor background color
14953 * Painter.h: remove default color argument for fillRectangle
14955 * text.C (backgroundColor): new method
14957 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14959 * text.C (getVisibleRow): adjust
14961 * font.[Ch] (rectText): new method, metrics
14962 (buttonText): new method, metrics
14964 * PainterBase.[hC]: make rectText and buttonText always draw and take
14967 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14969 * ToolbarDefaults.C (read):
14970 * MenuBackend.C (read): allow escaping in all strings
14972 * BufferView_pimpl.C (insertAndEditInset): new method.
14973 (Dispatch): use insertAndEditInset whenever appropriate.
14975 * BufferView_pimpl.C (insertNote): removed
14977 * BufferView_pimpl.C (smartQuote): new method, moved from
14978 BufferView; if an insetquote cannot be inserted, insert a '"'
14981 * BufferView2.C: remove insertCorrectQuote();
14983 * lyxfunc.C (getStatus): Add support for all remaingin
14984 inset-insert lfuns.
14986 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14988 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14989 command (necessary to pass " as parameter of self-insert.
14991 * text.C (selectWordWhenUnderCursor):
14992 (selectWord): add word_location parameter
14993 (selectWordWhenUnderCursor): same + remove special code for word
14995 (selectNextWord): use kind() to guess type of insetspecialchar,
14998 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14999 (insertErtContents): create ert insets as collapsed.
15000 (readInset): better compatibility code for Info inset.
15002 2001-07-20 Juergen Vigna <jug@sad.it>
15004 * lyxfunc.C (dispatch): use always LyXFind now!
15006 * text2.C (init): add a reinit flag so that the LyXText can be
15007 reinited instead of deleted and reallocated (used in InsetText).
15009 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15015 2001-07-18 Juergen Vigna <jug@sad.it>
15017 * text.C (selectNextWord): handle insets inside inset by calling
15018 always the bv->text functions so that we can go up the_locking_inset!
15020 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15021 in strange locations when inside an inset!
15023 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15024 handling to include insets.
15026 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15028 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15030 * LyXAction.C (init):
15032 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15033 LIGATURE_BREAK, since the name is so stupid.
15035 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15037 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15040 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15042 * sp_form.[Ch]: remove.
15044 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15046 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15049 * src/buffer.C (readInset): ditto.
15051 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15053 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15054 menuSeparator(), endOfSentenceDot(), ldots() and
15055 hyphenationPoint(), which are therefore removed.
15056 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15058 * LyXAction.C (init):
15059 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15061 * paragraph.C (getWord): removed.
15063 * BufferView_pimpl.C (Dispatch): use last word or selection for
15064 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15066 * lyx_main.C (queryUserLyXDir): do not ask before creating
15067 user_dir, except if it has been named explicitely.
15069 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15071 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15072 a document of zero size.
15074 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15076 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15077 approriately in the c-tor and in require().
15078 (getPackages): output the appropriate LaTeX for natbib support.
15080 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15081 variables "use_natbib" and "use_numerical_citations" when reading the
15083 (readInset): read the various natbib cite commands.
15084 (validate): white-space change.
15086 * bufferparams.[Ch]: new variables "bool use_natbib" and
15087 "bool use_numerical_citations".
15088 (writeFile): output them in the LyX file.
15090 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15092 * lyxfunc.C (getStatus): add support for all the inset insertion
15095 * text2.C (insertInset):
15096 * paragraph.C (insetAllowed):
15097 * BufferView_pimpl.C (insertInset): update to take in account the
15098 renaming of insertInsetAllowed
15100 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15102 * text2.C (getInset): new method. returns inset at cursor position.
15104 * BufferView_pimpl.C (Dispatch): changes because of this.
15106 * LyXAction.C (init): rename open-stuff to inset-toggle.
15108 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15110 * text2.C (toggleInset): renamed from openStuff; use
15113 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15115 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15117 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15119 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15121 * buffer.C (readLyXformat2): Add filename to the error dialog
15123 2001-07-18 Juergen Vigna <jug@sad.it>
15125 * tabular.C (GetCellNumber): put an assert here instead of the check!
15127 2001-07-17 Juergen Vigna <jug@sad.it>
15129 * BufferView_pimpl.C (toggleSelection): adapted too.
15131 * text.C (selectNextWord): adapted for use with insets.
15132 (selectSelectedWord): ditto
15134 2001-07-17 Juergen Vigna <jug@sad.it>
15136 * sp_spell.C (PSpell): fix initialitation order.
15138 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15140 * paragraph.C: spacing
15142 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15144 * sp_spell.C: repair language selection for pspell
15146 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15148 * lyxfunc.h: change more methods to begin with lower char.
15150 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15152 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15153 for unknown layouts.
15155 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15157 * buffer.C (readLyXformat2): Generate an error dialog if there are
15160 2001-07-16 Juergen Vigna <jug@sad.it>
15162 * sp_spell.C: always compile ISpell part.
15164 * lyxrc.C: added use_pspell entry and it's handling.
15166 2001-07-13 Juergen Vigna <jug@sad.it>
15168 * sp_spell.C: removed double includes.
15170 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15172 Consistent use of Lsstream.h:
15173 * Lsstream.h: added using std::stringstream for consistencies sake.
15175 * buffer.C: removed using std::stringstream
15177 * lyxfont.C (stateText):
15178 * paragraph.C (asString):
15179 * text.C (selectNextWord, selectSelectedWord):
15180 * text2.C (setCounter):
15181 * vspace.C (asString, asLatexString):
15182 std::ostringstream -> ostringstream.
15184 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15186 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15187 * commandtags.h: add LFUN_HELP_ABOUTLYX
15188 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15190 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15192 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15194 * lyx_gui_misc.C: remove spellchecker
15195 * lyxfunc.C: showSpellchecker
15197 * sp_ispell.h: added
15198 * sp_pspell.h: added
15199 * sp_spell.C: added
15200 * sp_form.[Ch]: removed
15201 * spellchecker.[Ch]: removed
15203 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15205 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15207 (simpleTeXSpecialChars): Simply print the input character without
15208 any special translation if pass_thru is set.
15210 * layout.h: Added bool pass_thru to layout class for being able to
15211 implement pass through of a paragraph for Literate Programming.
15213 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15214 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15215 * layout.C (Read): add "passthru" to list of layout tags and add
15216 code to set the pass_thru boolean when it is read.
15218 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15220 * trans_decl.h: remove allowed from KmodInfo
15222 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15223 remove allowed code
15226 * paragraph_pimpl.C (erase): use boost::prior
15228 * Painter.C (text): use data() instead of c_str() when length is
15230 * WorkArea.C (putClipboard): ditto
15231 * font.h (width): ditto
15233 * BufferView2.C: use it-> instead of (*it). for iterators
15235 * paragraph_pimpl.C: ditto
15236 * paragraph.C: ditto
15237 * minibuffer.C: ditto
15238 * language.C: ditto
15240 * encoding.C: ditto
15241 * counters.C: ditto
15242 * converter.C: ditto
15244 * Variables.C: ditto
15245 * TextCache.C: ditto
15246 * MenuBackend.C: ditto
15247 * LyXAction.C: ditto
15249 * FloatList.C: ditto
15250 * DepTable.C: ditto
15251 * ColorHandler.C (LyXColorHandler): ditto
15253 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15255 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15257 * text2.C (openStuff): reintroduce this method (which had been
15258 nuked in NEW_INSETS frenzy).
15260 * lyxfunc.C (Dispatch): when an action has not been handled, use
15261 its name in the error message, not its number.
15263 * paragraph.C (inInset): change method name to begin with lowercase.
15266 * text2.C: updates because of this.
15268 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15270 * ToolbarDefaults.C (add): add spaces in error message
15272 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15274 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15275 (readLyXformat2): rename return_par to first_par, use lyxlex's
15276 pushToken and remove the manual push handling.
15277 (parseSingleLyXformat2Token): add another ert comp. variable:
15278 in_tabular, rename return_par to first_par. handle newlines better
15280 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15284 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15286 * text2.C (getParFromID): removed
15288 * buffer.C (getParFromID): new method moved form lyxtext.
15289 * BufferView2.C (insertErrors): adjust
15290 (setCursorFromRow): adjust
15291 * BufferView_pimpl.C (restorePosition): adjust
15292 * lyxfunc.C (Dispatch): adjust
15293 * undo_funcs.C (textUndo): adjust
15295 (textHandleUndo): adjust
15296 (textHandleUndo): adjust
15298 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15300 * buffer.C: up' the LYX_FORMAT
15302 * lyxfont.h: turn NO_LATEX on as default
15304 * buffer.C (insertErtContents): new methods of tex style compability.
15305 (parseSingleLyXformat2Token): use it several places.
15306 * tabular.C (OldFormatRead): and here
15308 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15310 * text2.C: remove some commented code.
15313 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15314 * trans.C: changes because of the above.
15316 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15318 * text2.C (setCounter): Fix counters bug with bibliography layout.
15320 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15322 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15323 own member functions
15324 (simpleTeXSpecialChars): ditto
15326 2001-07-06 Juergen Vigna <jug@sad.it>
15328 * a lot of files: changed the access to LyXText::status and the
15329 call of undo-functions.
15331 * undo.[Ch]: added a inset_id to the undo informations.
15333 * undo_funcs.[Ch]: added and moved here all undo functions.
15335 * lyxtext.h: give the status enum a weight, made status_ a private
15336 variable and made accessor functions for it, removed the whole bunch
15337 of undo-functions as they are now in their own file, make some
15338 functions publically available. Added function ownerParagraph with
15341 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15342 made InInset() a const function, added getParFromID() function.
15344 * buffer.[Ch]: added const version for inset_iterator functions,
15345 added getInsetFromID() function.
15347 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15348 changed undo functions for new version.
15350 2001-07-05 Juergen Vigna <jug@sad.it>
15352 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15353 unknow mechanism does not call the proper constructor but only this
15354 one also if I request the other!?
15356 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15358 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15360 * text2.C (LyXText): use initialization lists.
15362 * lyxtext.h (Selection): initialize set_ and mark_
15363 (init): remove method
15365 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15367 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15369 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15371 * screen.[Ch]: change method names to begin with lowercase
15373 * BufferView_pimpl.C (updateScrollbar): simplify further and
15374 hopefully make it a bit faster.
15376 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15378 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15379 calling directly xforms functions.
15381 * Painter.C (Painter):
15382 * lyx_cb.C (MenuWrite):
15383 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15386 * lyx_gui.C: remove bogus guiruntime extern declaration.
15388 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15390 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15392 (redoDrawingOfParagraph): ditto
15393 (redoParagraphs): ditto
15394 (cutSelection): don't create a object for CutAndPaste use the
15395 static method directly
15396 (pasteSelection): ditto
15398 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15401 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15403 * modifications to some other files because of this.
15405 * Makefile.am (lyx_SOURCES): add XFormsView
15407 * XFormsView.[Ch]: new files
15409 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15410 the main window. Move the gui dependent stuff to XFormsView
15412 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * tabular.C (GetCellInset): update cur_cell also in the row/col
15415 version of this function.
15417 * lyxfunc.C: no need to include figure_form.h here.
15423 * lyxvc.C: no need to include forms.h here.
15425 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15427 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15429 * lyxfunc.C (Dispatch):
15431 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15432 constructor argument.
15434 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15436 * paragraph.C (Paragraph): dont't clear, and just set layout.
15437 (makeSameLayout): use params's copy contructor.
15439 * ParagraphParameters.[Ch] (makeSame): delete method
15441 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15443 * Variables.[Ch]: fix indentation, rename set to isSet
15445 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15447 * lyxfunc.C (Dispatch): fix typo
15449 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15451 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15454 * bufferlist.C: include assert.h for emergencyWrite().
15456 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15458 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15459 give up at last (bug #425202) !
15461 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15467 * spellchecker.C: strip spellchecker options and bring up
15468 preferences tab instead
15470 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15472 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15473 the istringstream constructor
15475 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15477 * paragraph.C (getLayout): fix return value
15479 * paragraph.h: do not declare getLayout as inline.
15481 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15483 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15485 * lyxcursor.h (operator<): new func
15486 (operator>): new func
15487 (operator>=): new func
15488 (operator<=): new func
15490 * text.C (changeCase): use selection.start and selection.end
15491 (changeRegionCase): require from to be <= to. Require par to be a
15494 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15496 2001-06-27 Juergen Vigna <jug@sad.it>
15498 * text.C (cursorLeftOneWord): changed to return the cursor and added
15499 overlay with BufferView * parameter which calls this one.
15501 (selectWord): use new getWord function.
15502 (changeCase): renamed from changeWordCase as and extended to work
15503 also on selections.
15505 * lyxtext.h: added enum word_location
15507 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15508 changeCase as this operates now also on selections.
15510 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15512 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15514 * many files: send debug output to Debug::INFO instead of
15517 * converter.C (View):
15519 (Move): send debug output to Debug::FILES instead of console.
15521 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15523 * lyxfunc.C (getStatus): use func_status
15525 * func_status.h: new header, describing the results of
15526 LyXFunc::getStatus;
15528 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15531 2001-06-25 The LyX Project <jug@sad.it>
15533 * buffer.C (sgmlOpenTag):
15535 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15537 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15539 * text2.C: remove some dead code
15541 * tabular.C (GetCellInset): store the last cell checked (gotten)
15543 * tabular.h: add the helper for the speedup
15545 * lyxtext.h: remove some dead code
15547 2001-06-26 The LyX Project <Asger>
15549 * paragraph.C: Change export to LaTeX of alignment to
15550 \begin{center} and family for better roundtrip work with reLyX.
15552 * Tune the math drawing a bit.
15554 2001-06-25 The LyX Project <Asger>
15556 * LColor.C (LColor): New color for math background. New color
15559 2001-06-25 The LyX Project <jug@sad.it>
15561 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15563 * lyxfunc.C (Open):
15564 * bufferlist.C (newFile): do not restrict to files ending with
15567 * BufferView_pimpl.C (MenuInsertLyXFile):
15569 2001-06-24 The LyX Project <jug@sad.it>
15571 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15574 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15576 * lyxtext.h: rename most methods to begin with a small char.
15577 Lots of changes because of this.
15579 * paragraph.C (Paragraph): do not call fitToSize
15580 (erase): call Pimpl::erase
15581 (insertChar): call Pimpl::insertChar
15582 (insertInset): call Pipl::insertInset
15583 (breakParagraph): do not call fitToSize
15584 (breakParagraphConservative): do not call fitToSize
15585 (fitToSize): remove method
15587 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15589 2001-06-24 The LyX Project <Asger>
15591 * Fix Qt compilation^2
15593 2001-06-24 The LyX Project <jug@sad.it>
15595 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15596 depthHook(getDepth()-1).
15599 * ParagraphParameters.h:
15600 * ParameterStruct.h: change type of depth to unsigned int ==
15601 depth_type. Many adaptations to other files before of that.
15603 2001-06-24 The LyX Project <Asger>
15605 * Fix Qt compilation.
15607 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15609 * paragraph.h: renamed several methods to begin with small letter.
15610 several changes to many parts of the code because of this.
15612 2001-06-23 The LyX Project <jug@sad.it>
15614 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15615 rewritten to discard all double spaces when KeepEmpty is off
15616 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15617 to only handle newlines but not fiddle with spaces and friends.
15619 * lyxfunc.C (MenuNew): when doing 'new from template', use
15620 template_path as default directory
15622 2001-06-23 The LyX Project <Asger>
15624 * Clean-up of header file includes all over
15625 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15627 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15629 * paragraph.h: renamed from lyxparagraph.h
15631 2001-06-23 Asger <lyx@violet.home.sad.it>
15633 * Buffer.h: Removed Buffer::resize
15634 * BufferList.h: Removed BufferList::resize
15635 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15636 the document lazily when we change the width, or the font settings.
15638 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15640 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15642 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15644 * buffer.h: remove out of date comment
15646 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15649 * screen.C: fix "theoretical" GC leak
15651 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15653 * LaTeX.C (scanAuxFile):
15654 (deplog): remove trailing \r when reading stream (useful under
15657 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15659 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15660 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15661 and BufferView::theLockingInset(Inset*), so should use them and not
15662 access bv_->text->the_locking_inset directly.
15664 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15666 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15669 * tex-defs.h: remove old unused file
15671 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15673 * BufferView_pimpl.C: fix typo, remove minibuffer message
15674 when buffer has loaded
15676 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15678 * lyxfunc.C (Dispatch): use stringstream
15679 (MenuNew): use stringstream
15680 (Open): use stringstream
15682 * importer.C (Import): use stringstream
15684 * bufferview_funcs.C (CurrentState): use stringstream
15686 * LaTeX.C (run): use stringstream
15688 * BufferView_pimpl.C (savePosition): use stringstream
15689 (restorePosition): use stringstream
15690 (MenuInsertLyXFile): use stringstream
15692 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15705 * vspace.C: removed // -*- C++ -*- as first line.
15708 * version.h: added // -*- C++ -*- as first line.
15710 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15712 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15714 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15717 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15719 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15722 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15724 * gettext.C: include LString.h even when --disable-nls is on.
15726 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15728 * converter.h (Get): changed argument type from int to
15729 FormatList::size_type to avoid unnecessary conversion.
15731 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15734 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15736 * gettext.h: include LString.h even when --disable-nls is on.
15738 2001-06-07 Juergen Vigna <jug@sad.it>
15740 * text.C (BreakAgain): subst spaces with tabs.
15742 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15743 (resizeInsetsLyXText): set force on resizeLyXText.
15745 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15747 * gettext.h (gettext_init):
15748 (locale_init): use a real definition instead of a macro
15750 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15752 * Bufferview_pimpl.C:
15754 * LColor.C: further lcolor tidies
15756 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15758 * BufferView_pimpl.C (updateScrollbar): simplify.
15760 * BufferView2.C: don't include insets/insetinfo.h, change
15761 prototype for insertInset and call the Pimpl version. let
15762 updateInset call Pimpl version.
15764 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15765 gotoInset to BufferView::Pimpl
15767 2001-06-01 Juergen Vigna <jug@sad.it>
15769 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15770 inside a LockingInset (is the update needed at all?).
15772 2001-05-31 Juergen Vigna <jug@sad.it>
15774 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15775 here not the old one otherwise how should we compare it afterwards
15778 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15783 * FontInfo.C: bring C functions into global namespace when
15786 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15788 * LString.h: make sure config.h has been loaded before LString.h.
15790 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15791 (one for each char read by EatLine!).
15793 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15796 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15798 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15799 to the same as the par we break from
15801 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15803 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15805 * MenuBackend.C (expand): also create menu entries for wide
15806 versions of the floats.
15808 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15810 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15812 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15813 frontends/Makefile.am
15819 * tabular.C (getTokenValue): add std::
15821 * tabular-old.C (getTokenValue): add std::
15822 (getTokenValue): ditto
15823 (getTokenValue): ditto
15825 * screen.C (ToggleSelection): adjust
15827 * lyxtext.h: put selection cursors inside a Selection struct.
15829 * lyxfunc.C (moveCursorUpdate): adjust
15831 * lyxfont.C (latexWriteStartChanges): add std::
15833 * lyxfind.C: adjust
15835 * font.h: delete with(char const *, LyXFont const &)
15837 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15839 * FontInfo.C (getFontname): add std::
15841 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15842 (workAreaButtonPress): adjust
15843 (tripleClick): adjust
15845 (moveCursorUpdate): adjust
15848 * BufferView2.C (gotoInset): adjust
15850 2001-05-30 Juergen Vigna <jug@sad.it>
15852 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15853 to check pspell I add this as default as I now have new pspell
15854 libraries and they seem to use this.
15856 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15858 * text2.C (CutSelection): make the cursor valid before the call to
15861 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15863 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15864 relied on 0 terminated strings and other horrors. Bug found due to
15865 the new assert in lyxstring!
15867 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15870 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15872 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15875 * lyxfunc.C (processKeySym): change method of getting to the
15878 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15879 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15880 * BufferView_pimpl.[Ch]: here as private methods.
15882 2001-05-28 Juergen Vigna <jug@sad.it>
15884 * text.C (SetHeightOfRow): added the update() call again as it is
15885 needed to initialize inset dimensions!
15887 2001-05-16 Juergen Vigna <jug@sad.it>
15889 * text2.C (SetCharFont): Add new function with BufferView * and
15890 bool toggleall parameters for setting insets internal fonts.
15891 (SetFont): Freeze the undo as we may change fonts in Insets and
15892 all this change should be inside only one Undo!
15894 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15895 setting font's in insets as for them we have the SetFont function!
15897 2001-05-15 Juergen Vigna <jug@sad.it>
15899 * text2.C (ClearSelection): to be sure we REALLY don't have any
15902 * tabular.C (TeXCellPreamble): fixed the left border problem for
15905 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15907 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15910 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15912 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15913 LFUN_BREAKPARAGRAPH.
15915 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15916 help test to "internal only", similar for LFUN_INSERT_URL
15918 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15919 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15920 auto_region_delete and deadkeys.
15922 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15925 * LColor.C: remove some dead entries, tidy a little
15927 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15929 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15931 (Dispatch): implement LFUN_ESCAPE
15933 * commandtags.h: add LFUN_ESCAPE
15935 * LyXAction.C (init): add entry for LFUN_ESCAPE
15937 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15938 Remove commented code.
15939 (insertNote): moved here
15940 (open_new_inset): moved here
15942 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15945 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15947 * kbmap.C (findbinding): clean it up and make it work correctly.
15949 * lyx_main.C (init): do not pass argc and argv as parameters
15951 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15953 * buffer.C: fix path for OS/2 & Win32
15957 * lyx_main.C: Added os:: class.
15959 * os2_defines.h: update
15961 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15963 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15964 better by trying again with reduced state.
15966 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15968 * lyxrc.C (read): print error about invalid key sequence only when
15969 debugging (because not all latinX keysyms are known to some X
15972 * kbsequence.C (getiso): add a few std:: qualifiers
15973 (getiso): comment out extra return statement.
15975 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15977 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15979 (Dispatch): enhance the accent inset a bit. (not perfect)
15981 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15983 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15985 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15987 * bufferlist.C (emergencyWrite): fix assert() call
15989 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15991 * text.C (InsertChar): Added trivial patch to only send the "you
15992 can not do multiple spaces this way" message once during a
15995 2001-05-08 Baruch Even <baruch@lyx.org>
15997 * Makefile.am: Changed order of libraries to get LyX to link properly
15998 with the gnome frontend.
16000 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16002 * LaTeXFeatures.h: add a std:: qualifier
16004 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16006 * paragraph.C (String): use stringstream
16008 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16010 * paragraph.C (writeFile): remove footflag arg
16012 * buffer.C (makeLaTeXFile): use stringstream
16013 (latexParagraphs): remove footnot gurba
16015 * LaTeXFeatures.C (getPackages): use stringstream
16016 (getMacros): likewise
16017 (getTClassPreamble): likewise
16018 (getFloatDefinitions): new method
16020 * paragraph.C (writeFile): reindent
16023 * WorkArea.h: revert the xpos + etc changes.
16025 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16027 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16029 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16030 (pasteSelection): likewise
16031 * text2.C (CreateUndo): likewise
16033 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16035 * minibuffer.C (peek_event): temporarily reduce the functionality
16036 of the minibuffer (to allow args on lfuns)
16038 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16039 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16041 * buffer.C (readInset): add compability reading of old float
16042 lists, add reading of new style float list.
16043 (readInset): avoid reevaluation of inscmd.getCmdName()
16044 (getLists): reindent
16046 * MenuBackend.C (MenuItem): implement parsing of
16047 md_floatlistinsert and md_floatinsert.
16048 (expand::LastFiles): move initalizaton of iterators out of loop,
16049 avoid reevaluation.
16050 (expand::Documents): introduce typdedef vector<string> Strings,
16052 (expand::ExportFormats): introduce typedef vector<Format const *>
16053 Formats, and use it.
16054 (expand): implement FloatListInsert and FloatInsert.
16056 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16057 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16058 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16060 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16062 (Dispatch::LFUN_FLOAT_LIST): implement
16064 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16066 * LaTeX.C (run): Fix problem with --export code.
16068 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16070 * BufferView.[Ch] (workarea): removed.
16071 (getClipboard) new method; wrapper for workarea()->getClipboard()
16073 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16076 * WorkArea.h (width, height, xpos, ypos): These methods all
16077 returned the dimensions of the work_area sub-area of WorkArea,
16078 resulting in a position error if the WorkArea were resized. Now
16079 return the dimensions of the entire WorkArea.
16081 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16083 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16085 * LaTeX.C (deplog): correct the syntax of regex reg1
16087 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16089 * undo.C: remove !NEW_INSETS cruft
16091 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16093 * text2.C: remove !NEW_INSETS cruft
16095 * text.C: remove !NEW_INSETS cruft
16097 * tabular.C: remove !NEW_INSETS cruft
16099 * spellchecker.C: remove !NEW_INSETS cruft
16101 * lyxtext.h: remove !NEW_INSETS cruft
16103 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16105 * lyxfunc.C: remove !NEW_INSETS cruft
16107 * lyxfind.C: remove !NEW_INSETS cruft
16109 * lyx_cb.C: remove !NEW_INSETS cruft
16111 * figureForm.C: remove !NEW_INSETS cruft
16113 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16115 * buffer.[Ch]: remove !NEW_INSETS cruft
16117 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16119 * CutAndPaste.C: remove !NEW_INSETS cruft
16121 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16123 * BufferView2.C: remove !NEW_INSETS cruft
16125 * BufferView.h: remove !NEW_INSETS cruft
16127 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16129 * Lsstream.h: include LString.h before the sstream headers to
16130 fix problem with gcc 2.95.3 and lyxstring
16132 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16134 * lyx_main.C: add using directives when needed for C functions
16135 declared in std:: namespace.
16137 2001-04-27 Juergen Vigna <jug@sad.it>
16139 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16140 (SetHeightOfRow): comment out the update call should not be needed!
16142 2001-04-13 Juergen Vigna <jug@sad.it>
16144 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16145 (LyXTabular): tried to minimize operator= operations (and realized
16146 hopfully Lars wish).
16148 2001-04-27 Juergen Vigna <jug@sad.it>
16150 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16152 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16154 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16156 * buffer.C (readInset): hack to make listof algorithm work
16158 * BufferView_pimpl.C: hack to make listof algorithm work
16160 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16162 * LyXAction.C: removed all !NEW_INSETS cruft
16163 (init): moved lfun_item in method
16165 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16167 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16169 * BufferView2.C (theLockingInset): white space.
16171 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16173 * minibuffer.C: include <iostream>
16175 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16177 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16179 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16181 * text.[Ch] (TransposeChars): new method
16183 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16185 * call message directly through LyXView instead of through LyXFunc
16186 * BufferView2.C: adjust
16187 * BufferView_pimpl.C: adjust
16188 * FontLoader.C: adjust
16190 * bufferview_funcs.C: adjust
16191 * converter.C: adjust
16192 * figureForm.C: adjust
16193 * importer.C: adjust
16195 * lyx_gui_misc.C: adjust
16196 * lyxfunc.C: adjust
16199 + more files in subdirs
16201 * lyxparagraph.h (size): move up int file
16204 * adjust all uses of Assert to lyx::Assert.
16206 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16207 lyxfunctional in namespace lyx
16208 * layout.C (hasLayout): ditto
16211 (delete_layout): ditto
16212 (NumberOfClass): ditto
16213 * converter.C (GetFormat): ditto
16218 * bufferlist.C (getFileNames): ditto
16219 (emergencyWriteAll): ditto
16222 * MenuBackend.C (hasSubmenu): ditto
16225 * BufferView_pimpl.C (getInsetByCode): ditto
16227 2001-04-18 Juergen Vigna <jug@sad.it>
16229 * vspace.C (asLatexString): fixed the 100% problem.
16231 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16233 * lyxfunc.C (Dispatch):
16235 * minibuffer.h: add a few std:: qualifiers
16237 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16239 * minibuffer.[Ch]: reimplement so that commands is initiated and
16240 run from lyxfunc, simplified som handling, and made the completion
16241 and history code for complete. wip.
16243 * lyxfunc.C (processKeySym): call message
16244 (miniDispatch): new temporary method
16245 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16246 (LFUN_MESSAGE): implement
16247 (LFUN_MESSAGE_PUSH): implement
16248 (LFUN_MESSAGE_POP): implement
16249 (initMiniBuffer): the initial/defualt minibuffer message.
16251 * lyxfont.[Ch]: inline some more getters
16253 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16255 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16257 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16258 (AutoSave): use LFUN_MESSAGE
16259 (Reconfigure): ditto
16261 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16263 * figureForm.C: use LFUN_MESSAGE
16265 * converter.C (runLaTeX): use LFUN_MESSAGE
16267 * bufferview_funcs.C: use LFUN_MESSAGE
16269 (changeDepth): ditto
16271 * bufferparams.h: use boost::
16273 * bufferlist.h: inherit privately from noncopyable
16275 * bufferlist.C (loadLyXFile): remove some commented code.
16277 * buffer.C (runChktex): use LFUN_MESSAGE
16279 * ShareContainer.h: inherit privately from noncopyable
16281 * ParagraphParameters.[hC] (depth): inline it.
16283 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16285 (message): new method
16286 (messagePush): ditto
16287 (messagePop): ditto
16288 (show): init minibuffer
16289 (showState): direct call
16291 * LaTeX.[Ch]: inherit privately from noncopyable
16292 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16293 instead of WriteStatus.
16295 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16297 * BufferView_pimpl.C (buffer): don't init minibuffer
16298 (workAreaButtonPress): use LFUN_MESSAGE
16299 (workAreaButtonRelease): ditto
16300 (savePosition): ditto
16301 (restorePosition): ditto
16302 (MenuInsertLyXFile): ditto
16303 (workAreaExpose): don't init minibuffer
16304 (update): remove commented code, simplify
16306 * BufferView2.C (openStuff): use LFUN_MESSAGE
16307 (toggleFloat): ditto
16310 (copyEnvironment): ditto
16311 (pasteEnvironment): ditto
16316 (updateInset): remove some commented code
16318 * lastfiles.h: inherit privately from noncopyable
16321 * lyx_main.h: ditto
16323 * lyxlex_pimpl.h: ditto
16325 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16326 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16327 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16329 * LyXAction.h: inherit privately from noncopyable, add methods
16330 func_begin, func_end, returning iterators to the func map.
16332 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16333 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16334 (func_begin): new method
16335 (func_end): new method
16337 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16339 (copySelection): ditto
16340 (pasteSelection): ditto
16342 * BufferView.C: whitespace change
16343 * BufferView.h: inherit privately from noncopyable
16345 2001-04-16 Allan Rae <rae@lyx.org>
16347 * tabular-old.C (l_getline):
16348 * spellchecker.C (sc_check_word):
16349 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16350 an unrecognised preprocessor directive. So ensure they're wrapped.
16352 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16354 * src/exporter.C (Export): Give an error message when path to file
16357 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16359 * LaTeX.C (deplog): Always check that foundfile exists.
16361 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16364 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16366 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16368 * tabular.[Ch] (getLabelList): implement new method
16370 * minibuffer.h: comment ouf setTiimer
16372 * minibuffer.C (ExecutingCB): constify res
16373 (peek_event): constify s
16374 (Set): constify ntext
16375 (Init): constify nicename
16377 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16379 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16380 (savePosition): use two params to Minibuffer::Set
16381 (restorePosition): ditto
16383 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16385 * lyx_main.C: include language.h
16387 * Makefile.am (lyx_main.o): add language.h
16389 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16395 * CutAndPaste.C: include gettext.h
16397 * lyxfont.h: remove old hack with ON and OFF.
16400 * lyxfont.h: do not include language.h...
16405 * bufferview_funcs.C:
16411 * paragraph.C: ... but do it here instead
16413 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16417 * tabular.C: small reformat
16419 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16422 (BreakParagraph): ditto
16423 (SetOnlyLayout): ditto
16426 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16429 * lastfiles.C: removed most using decl, add std:: where needed
16431 * buffer.C: ws changes
16433 * MenuBackend.C (class compare_format): put into anon namespace
16434 (expand): constify label, names, action, action2
16437 * text.C (SingleWidth): constify font
16438 (IsBoundary): constify rtl2
16439 (GetVisibleRow): constify ww
16441 * LaTeX.C (deplog): constify logfile
16443 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16445 (workAreaExpose): constify widthChange, heightChange
16447 * lyxrow.C (par): moved
16450 * lyxrow.h: as inlines here
16452 * lyxfont.h (shape): moved from lyxfont.C
16453 (emph): moved from lyxfont.C
16455 * lyxfont.C (LyXFont): use initialization list for all
16457 (shape): move to lyxfont.h as inline
16458 (emph): move to lyxfont.h as inline
16461 2001-04-04 Juergen Vigna <jug@sad.it>
16463 * vspace.C: had to include stdio.h for use of sscanf
16465 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16468 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16469 independent of xforms.
16471 2001-04-02 Juergen Vigna <jug@sad.it>
16473 * spellchecker.C: fixed namespace placing!
16475 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16477 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16478 the LyXParagraph * is 0.
16480 2001-03-29 Juergen Vigna <jug@sad.it>
16482 * vspace.C: added support for %, c%, p%, l%.
16483 (stringFromUnit): added helper function.
16484 (asLatexString): changed to give right results for the %-values.
16486 * buffer.C: convert the widthp in a width%.
16488 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16490 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16493 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16494 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16496 * lyx_cb.[Ch]: see above.
16498 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16502 * lyx.[Ch]: replaced by figure_form.[Ch].
16506 * lyxfunc.C: changed headers associated with above changes.
16508 2001-03-27 Juergen Vigna <jug@sad.it>
16510 * BufferView_pimpl.C: set the temporary cursor right!
16512 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16514 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16516 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16518 * LString.h: removed "using std::getline"!
16520 * BufferView_pimpl.C (Dispatch): changes due to changes in
16521 InsetInclude::Params.
16523 * buffer.C (tag_name): removed redundant break statements as they were
16524 producing lots of warnings with my compiler.
16526 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16528 * LString.h: add "using std::getline" when using the real <string>.
16530 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16532 * buffer.C: removed bitset usage.
16533 PAR_TAG moved to an anonymous name space.
16534 (tag_name): new funtion, also in the anonymous namespace.
16535 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16536 (makeDocBookFile): clean code. Completed transition from string arrays
16538 (SimpleDocBookOnePar): code clean.
16540 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16542 * tabular.C: add some comments.
16544 2001-03-22 Juergen Vigna <jug@sad.it>
16546 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16547 compatibility read a bit and fixed bug with minipage in different
16550 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16552 * buffer.C (pop_tag): removed.
16553 (push_tag): removed.
16554 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16555 array replaced with vector. Added support for CDATA sections.
16556 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16558 (makeDocBookFile): XML conformant declaration of CDATA section,
16559 fixed bug related to <emphasis> in the first paragraph char.
16560 (sgmlOpenTag): exclude empty tags.
16561 (sgmlCloseTag): ditto.
16563 * buffer.h (pop_tag): removed.
16564 (push_tag): removed.
16566 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16568 * language.h (Languages): added size_type and size().
16570 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16572 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16573 response on compability reading of minipages. One probliem is that
16574 the old usage of minipages was «flertydig»
16576 * several files here and in subdirs: don't use static at file
16577 scope use anon namespaces instead.
16579 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16581 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16582 LaTeX output. This is necessary for Literate document
16585 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16587 * buffer.C: insert hfill when needed.
16589 * tabular.C (l_getline): use string::erase, small whitespace change.
16591 * BufferView_pimpl.C: try the anon namespace.
16592 * WorkArea.C: ditto
16594 2001-03-16 Juergen Vigna <jug@sad.it>
16596 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16597 otherwise it won't open options-dialogs.
16599 * buffer.C: honor pextraWidth(p) on converting minipages.
16601 * tabular.C (l_getline): changed the functions to strip trailing \r.
16603 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16605 * BufferView_pimpl.C:
16606 * minibuffer..C: added "using SigC::slot" declaration.
16608 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16610 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16616 * paragraph.C: ditto
16618 * lyxtext.h: NO_PEXTRA
16620 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16622 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16623 * ParameterStruct.h: ditto
16624 * ParagraphParameters.h: ditto
16625 * lyxparagraph.h: ditto
16627 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16629 * buffer.C: add compability for minipage alignment.
16630 (latexParagraphs): remove unwanted pextra check.
16632 * several files: remove CXX_WORKING_NAMESPACES
16634 * buffer.C (pop_tag): tie is in namespace boost
16636 * BufferView.h: noncopyable is in namespace boost
16638 * lyx_main.h: ditto
16641 * lastfiles.h: ditto
16642 * bufferlist.h: ditto
16643 * ShareContainer.h: ditto
16645 * LyXAction.h: ditto
16648 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16650 * Merging changes from BRANCH_MVC back into HEAD.
16652 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16654 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16656 * BufferView_pimpl.C: change from intl.C
16660 * Makefile.am: move combox.*
16666 * intl.C: remove dialog (covered by prefs)
16668 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16670 * lyxfunc.C (Dispatch): removed redundant break statement.
16672 2001-03-14 Juergen Vigna <jug@sad.it>
16674 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16676 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16678 * buffer.C: add hack to fix compability reading of minipages.
16680 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16682 * buffer.C (getLists): Cleanup.
16684 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16686 * lyxfont.C (update): don't honor toggleall on font size.
16688 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16692 * Makefile.am: moved to frontends/xforms/
16696 * BufferView_pimpl.C: changes for moved mathpanel
16698 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16700 * gettext.h: fix gettext_init() in --disable-nls
16702 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16704 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16706 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16709 * lyx.h: strip external form
16711 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16713 * BufferView_pimpl.C: add comment, destroySplash()
16715 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16717 * BufferView_pimpl.C:
16721 * lyxfunc.C: use re-worked insetinclude
16723 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16725 * buffer.C: add using std::stringstream.
16727 * lyx_cb.C: readd using std::ios.
16729 * buffer.C: add using std::map.
16731 * BufferView_pimpl.C: add using std::vector.
16733 * ShareContainer.h: add std:: to swap.
16735 * buffer.h: add some typedefs
16736 * buffer.C (getLists): use them
16737 (getLists): renamed from getTocList.
16738 add a counter for the different float types and use it in the
16740 (getLists): use the same counter for the NEW_INSETS and the "non"
16743 * lyx_cb.h: remove unused items, includes, using etc.
16745 * ShareContainer.h: remove some commented code, add more comments
16746 and "documentation".
16748 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16750 * buffer.C (getTocList): make the list also when NEW_INSETS is
16753 * buffer.h: remove TocType
16755 * buffer.C (getTocList): change to return a map<string,
16756 vector<TocItem> >, implement for dynamic number of list.
16758 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16759 * text2.C (PasteSelection): adjust
16760 * CutAndPaste.C (pasteSelection): adjust
16762 * FloatList.C (FloatList): update from the new_insets branch.
16763 * Floating.[Ch]: ditto
16764 * LaTeXFeatures.C: ditto
16766 * lyxlex_pimpl.C: ditto
16768 * paragraph.C (Last): remove when NEW_INSETS is defined.
16770 * other file: changes because of the above.
16772 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16774 * lyxparagraph.h: rename next to next_, previous to previous_,
16775 make them private for NEW_INSETS. Rename Next() to next(),
16776 Previous() to previous().
16778 * other files: changes because of the above.
16780 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16783 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16786 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16788 * main.C (main): pass lyx_localedir to gettext_init().
16790 * gettext.h: remove locale_init and gettext_init macros
16792 * gettext.C (locale_init): new function
16793 (gettext_init): new function
16795 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16798 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16800 * Moved credits to frontends:
16801 * credits.[Ch]: removed
16802 * credits_form.[Ch]: removed
16803 * lyx_gui_misc.C: remove credits stuff
16806 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16808 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16810 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16811 unneeded destructor.
16813 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16814 a standalone pointer again.
16816 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16818 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16824 * ToolbarDefaults.C:
16833 * BufferView_pimpl.C: use new file dialog in GUII
16836 * lyx_cb.C: remove LayoutsCB to Toolbar
16838 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16840 * ShareContainer.h (get): add std:: qualifier
16842 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16844 * ShareContainer.h: define a proper ShareContainer::value_type
16845 type (and use typename to please compaq cxx)
16847 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16849 * lyxparagraph.h: move serveral local vars to
16850 ParameterStruct/ParagraphParameters., use ShareContainer in
16851 FontTable., make vars in FontTable private and add getter and
16854 * paragraph.C: changes because of the above.
16856 * lyxfont.h: remove copy constructor and copy assignment. (the
16857 default ones is ok), move number inside FontBits. move inlines to
16860 * lyxfont.C: add number to initializaton of statics, move several
16861 inlines here. constify several local vars. some whitespace
16862 cleanup. Dont hide outerscope variables.
16864 * Spacing.h: add two new constructors to match the set methods.
16866 * ShareContainer.h: new file, will perhaps be moved to support
16868 * ParameterStruct.h: new file
16870 * ParagraphParameters.h: new file
16872 * ParagraphParameters.C: new file
16874 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16875 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16877 * BufferView_pimpl.C: ParagraphParameter changes.
16878 * buffer.C: Likewise.
16879 * bufferview_funcs.C: Likewise.
16880 * text.C: Likewise.
16881 * text2.C: Likewise.
16883 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16885 * lyxfind.C (LyXReplace): do not redefine default argument in
16887 (IsStringInText): ditto
16888 (SearchForward): ditto
16889 (SearchBackward): ditto
16891 2001-03-06 Juergen Vigna <jug@sad.it>
16893 * lyxfind.C (IsStringInText): put parentes around expressions.
16895 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16897 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16899 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16901 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16903 * stl_string_fwd.h: add comment
16905 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16908 * tabular.C: remove unused DocBook methods
16914 killed DO_USE_DEFAULT_LANGUAGE
16916 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16918 * lyx_gui.C: do not include language.h.
16920 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16921 arguments in function implementation.
16923 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16925 * BufferView_pimpl.C: add <ctime>
16927 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16929 * BufferView_pimpl.C: add using std::find_if
16931 2001-02-27 José Matos <jamatos@fep.up.pt>
16933 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16936 2001-02-11 José Matos <jamatos@fep.up.pt>
16938 * buffer.C (makeDocBookFile): command styles now have a parameter as
16939 "title" by default.
16941 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16943 * layout_forms.[Ch]: removed
16944 * lyx_cb.[Ch]: out character
16945 * lyx_gui.C: out character
16946 * lyx_gui_misc.C: out character
16947 * bufferview_funcs.C: : out character,
16948 added toggleall as parameter in ToggleAndShow
16950 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16952 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16954 * text2.C (SetCurrentFont): Disable number property at boundary.
16956 2001-02-26 Juergen Vigna <jug@sad.it>
16958 * lyxfunc.C (getStatus): added a string argument override function so
16959 that this is correctly called from LyXFunc::Dispatch if it contains a
16960 do_not_use_argument which is used!
16961 (Dispatch): added check for "custom" export and call appropriate func.
16963 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16965 * lyxrc.C: Add language_command_local, language_use_babel and
16966 language_global_options.
16968 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16970 * buffer.C (makeLaTeXFile): Use language_use_babel and
16971 language_global_options.
16973 2001-02-23 Juergen Vigna <jug@sad.it>
16975 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16976 which works with LyXText and putted it inside BufferView. Here now we
16977 only call for that part the BufferView::Dispatch() function.
16979 * BufferView.C (Dispatch): added.
16981 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16982 functions which needs to use a LyXText over from LyXFunc.
16983 (MenuInsertLyXFile): added
16984 (getInsetByCode): added
16985 (moveCursorUpdate): added
16986 (static TEXT): added
16988 2001-02-22 Juergen Vigna <jug@sad.it>
16990 * BufferView_pimpl.C (update): call a status update to see if LyXText
16993 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16995 * vc-backend.C (revert): implement for CVS
16996 (getLog): implement for CVS
16998 2001-02-20 Juergen Vigna <jug@sad.it>
17000 * text2.C (ClearSelection): added BufferView param for inset_owner call
17002 * lyxfunc.C (TEXT): added this function and use it instead of
17003 directly owner->view()-text of getLyXText().
17005 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17007 * src/layout_forms.C: out preamble
17008 * src/layout_forms.h: out preamble
17009 * src/lyx_cb.C: out preamble
17010 * src/lyx_cb.h: out preamble
17011 * src/lyx_gui.C: out preamble
17012 * src/lyx_gui_misc.C: out preamble
17013 * src/lyxfunc.C: connect with guii preamble
17015 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17017 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17019 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17021 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17022 whether to run bibtex.
17024 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17026 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17028 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17030 * Makefile.am (lyx_SOURCES): removed bibforms.h
17032 * vspace.h: doxygen
17034 * text.C (GetVisibleRow): make several local vars const
17036 * tabular.C: small cleanup.
17038 * lyxserver.C (callback): use compare instead of strncmp
17040 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17041 inlines to after class or to paragraph.C
17043 * lyxfont.h: remove friend operator!=
17045 * converter.h: move friend bool operator< to non friend and after
17048 * combox.h: small cleanup
17050 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17051 to inlines after class def.
17053 * buffer.C (pop_tag): use string operations instead of strcmp
17055 * bmtable.c: doxygen, small cleanup
17057 * LaTeX.h: remove friend operator==
17059 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17071 * BufferView_pimpl.C:
17072 * BufferView.[Ch]: remove cruft
17074 2001-02-14 Juergen Vigna <jug@sad.it>
17076 * lyxfunc.C: removed #if 0 unused code
17078 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17080 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17082 * text2.C (SetSelection): added a BufferView * parameter
17084 2001-02-13 Juergen Vigna <jug@sad.it>
17086 * lyxfunc.C (Dispatch): fixed protected blank problem.
17087 * BufferView2.C (protectedBlank): added LyxText * parameter.
17089 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17090 (AppendColumn): same as above for column_info.
17092 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17093 (moveCursorUpdate): use a LyXText param for support of InsetText.
17095 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17096 (tripleClick): ditto
17098 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17100 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17102 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17104 * text2.C (SetSelection): set correct update status if inset_owner
17105 (ToggleFree): ditto
17107 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17109 * tabular.C: remove some commented code.
17111 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17113 * BufferView_pimpl.C: call hideSplash()
17115 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17118 * bibforms.h: remove
17121 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17122 add LFUN_CHILD_CREATE
17124 * counters.h: fix tiny typo
17129 * lyx.C: move splash to frontends/xforms/
17131 * lyx_gui_misc.C: move Include and Bibform to frontends
17133 * lyxvc.h: clarify comment
17135 * vspace.C: tiny housekeeping
17137 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17139 * text.C (PrepareToPrint): RTL Fix.
17141 * paragraph.C (GetUChar): New method.
17142 (String): Use GetUChar.
17144 * buffer.C (asciiParagraph): Use GetUChar.
17146 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17148 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17150 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17153 * buffer.C: rename to getLogName(), handle
17154 build log / latex log nicely
17156 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17159 * MenuBackend.h: remove support for reference menuitem type.
17161 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17163 * BufferView_pimpl.C: housekeeping
17164 * BufferView_pimpl.h:
17169 * minibuffer.h: move Timeout GUI-I
17171 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17173 * lyxrc.C (read): Update converters data-structures.
17175 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17177 * LaTeX.h (operator!=): add operator != for Aux_Info
17179 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17181 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17183 * LaTeXLog.C: deleted, useful code moved to Buffer
17186 * buffer.C: new function getLatexLogName()
17192 * lyxfunc.C: use frontends for LaTeX and VC logs
17194 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17196 * LaTeX.h: yet another std:: that Allan forgot.
17198 * Variables.C (set): renamed from isset(), because this clashes
17199 with some HP-UX macros (grr).
17201 2001-02-06 Allan Rae <rae@lyx.org>
17203 * LaTeX.h: Another bug fix. Missing std:: this time.
17205 2001-02-04 Allan Rae <rae@lyx.org>
17207 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17208 floats problem. I've left it commented out because it's not quite
17209 correct. It should also test that the current object is a table or
17210 figure inset. But I haven't gotten around to figuring out how to do
17211 that. I *think* it'll be something like: "table" == inset.type()
17213 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17216 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17218 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17219 all the citation/databases/styles in the auxilary file.
17220 (run): Rerun latex if there was a babel language error.
17222 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17224 * text.C (Backspace): Preserve the font when changing newline char
17226 (BreakParagraph): If the cursor is before a space, delete the space.
17228 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17230 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17232 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17233 new argument (code).
17234 (ChangeCitationsIfUnique): New method.
17236 * paragraph.C (GetPositionOfInset): Handle bibkey.
17238 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17240 * BufferView_pimpl.h: change type of Position::par_pos to
17241 LyXParagraph::size_type.
17243 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17245 * BufferView_pimpl.C (savePosition, restorePosition): Write
17246 messages to minibuffer.
17248 2001-01-28 José Matos <jamatos@fep.up.pt>
17250 * buffer.C (makeDocBookFile): adds support for document language.
17251 A silly restriction on the name of LatexCommand types where removed.
17252 Added support for CDATA sections, allows to chars unescaped, used
17253 among others in code, to avoid escape < and >.
17255 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17257 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17258 saved positions instrad of a stack. Furthermore, a position is
17259 stored using paragraph id/paragraph position.
17261 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17262 Remove LFUN_REF_BACK.
17264 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17266 * converter.C (dvipdfm_options): New method.
17268 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17270 * vspace.C (isValidLength): Fix for empty input string.
17272 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17274 * LyXAction.C (init): change description of LFUN_FIGURE to
17277 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17279 * LaTeX.C: add using directive
17281 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17283 * MenuBackend.C (expand): Fix the sorting of the formats.
17285 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17287 * lyx_main.C: tiny error message fix
17289 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17291 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17292 calling fl_initialize(). This fixes the problem with ',' as
17293 decimal separator in text files.
17295 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17297 * trans.C (process): Fix the keymap bug.
17299 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17301 * LaTeX.C (scanAuxFiles): New method. Provides support for
17302 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17303 (scanLogFile) Scan for "run BibTeX" messages.
17305 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17306 OT1 font encoding. Also, load the aecompl package if the ae
17309 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17311 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17313 * texrow.C (increasePos): turn two error messages into debug
17316 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17318 * LaTeX.C (scanAux): Handle the \@input macro.
17319 (runBibTeX): Use scanAux().
17321 * language.C (latex_options_): New field.
17323 * LaTeXFeatures.C (getMacros): Add language macros.
17325 * buffer.C (makeLaTeXFile): Small fix.
17327 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17329 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17331 * text2.C: add a using directive.
17333 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17338 * lyxfunc.C: kill LyXBell.
17340 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17342 * text.C (IsBoundary): Remove the error message
17344 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17346 * lyxrc.C (setDefaults): Correct initialization value for
17349 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17351 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17354 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17355 and GotoNextNote().
17357 * src/LyXAction.C: Added reference-next.
17359 * text.C (InsertChar): Use contains instead of strchr.
17361 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17363 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17365 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17366 alignment commands (when needed).
17368 * text.C (InsertChar): Add ':' to number separator chars.