1 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
3 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
4 preventing inserted font, deco, delim insets jumping to start of
7 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * lyxfunc.C (dispatch): translate message before sending it to the
12 2005-03-29 Angus Leeming <leeming@lyx.org>
14 * lyx_main.C (priv_exec): call os::internal_path on each file passed
15 to LyX on the command line.
17 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
19 * vc-backend.C: use QuoteName to protect file names wherever
22 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
25 * BranchList.h: fix bugs 1844,1845: document settings don't
28 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * lyxrc.C (setDefaults, read, output, getDescription): add support
31 for tex_allows_spaces.
33 * exporter.C (Export): allows files in directory containing spaces
34 if tex_allows_spaces is true.
36 * buffer.C (makeLaTeXFile): if the document path contains spaces,
37 output it in double quotes.
39 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
41 * rowpainter.C: use default text height for drawing change tracker
44 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
46 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
48 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
50 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
53 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
55 * text2.C: fixed the fix, extended to other case.
57 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
59 * text2.C: fix for cursor up/down stuck in math [bug 1792]
61 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
63 * text2.C (cursorUp): get rid of a crash
64 * text.C (x2pos): add an assert
66 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * lyxfunc.C (getStatus): fix warning when assertions are disabled
72 * dociterator.C: include <boost/current_function.hpp>, which is
73 needed when assertions are disabled.
75 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
77 * text2.C: fix for stuck cursor when traversing two
78 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
80 2005-02-25 Andreas Vox <avox@arcor.de>
82 * output_docbook.C (makeParagraph): suppress trailing newline
83 after a run of paragraphs
85 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
87 * paragraph.C: fix for confused change tracker when pasting
88 text that begins with a lineseparator. [bug 1827]
89 (setChange(0, Change::INSERTED);)
91 * paragraph_funcs.C: fix for lost changes on triple-paste
92 in change tracking mode [bug 1827] (par.setChange()).
94 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * text2.C (updateCounters, setCounter, expandLabel): move to
99 * buffer_funcs.C (updateCounters): turn into a free standing
100 function and add a buffer parameter. Remove dead code for tracking
102 (setCounter): change into a free-standing function which gets a
103 dociterator as argument. Use this iterator to fix captions in a
104 simple way. When no float is found above the caption, use the
105 labelstring of the caption layout as default.
107 * text.C (breakParagraph, backspace):
108 * text2.C (init, setLayout, changeDepth):
109 * text3.C (dispatch):
110 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
113 * dociterator.C (forwardPar): make it much faster by calling
114 forwardPos() only when really necessary.
116 * output_docbook.C (makeCommand): adapt to expandLabel move.
118 * cursor.C: remove unused variable
120 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
122 * paragraph_funcs.C: fix crash when pasting insets in change
123 tracking mode [bug 1277] (honour change type in moveItem).
125 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
129 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * BufferView.C (setCursor): change to use a DocIterator.
132 (gotoLabel): use BufferView::setCursor (other part of bug 781).
133 (putSelectionAt): adapt to BufferView::setCursor change.
135 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
136 moved here from LyXText and rewritten to use proper cursor
137 methods. Fixes bug 1787, 616 and 835.
139 * BufferView_pimpl.C (restorePosition): set the cursor correctly
140 when inside an inset (part of bug 781).
141 (dispatch): adapt to change of BufferView::setCursor.
142 (getStatus, dispatch): handle LFUN_GOTOERROR,
143 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
145 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
146 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
147 * text3.C (gotoNextInset, gotoInset): removed.
149 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
153 2005-02-15 Angus Leeming <leeming@lyx.org>
155 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
156 can be used meaningfully in a comparison.
158 2005-02-13 André Pönitz <poenitz@gmx.net>
160 * bufferview_funcs.C (coordOffset): improve cursor drawing
162 2005-02-13 André Pönitz <poenitz@gmx.net>
164 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
165 * Cursor.C (dispatch): use fixIfBroken
166 * lyxfunc.C (getStatus): use fixIfBroken
168 2005-02-15 Angus Leeming <leeming@lyx.org>
170 * lyx_main.C (error_handler):
172 * lyxrc.C (setDefaults):
174 #include "environment.h".
176 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
178 2005-02-15 Angus Leeming <leeming@lyx.org>
180 * lyxserver.C (startPipe): squash MSVC warning "local variable
181 'fd' used without having been initialized".
183 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
185 * BufferView_pimpl.C: revert accidental commit.
187 2005-02-14 André Pönitz <poenitz@gmx.net>
189 * dociterator.[Ch]: new member forwardPosNoDescent(),
190 which doesn't enter nested insets.
191 * text2.C (setFont): use forwardPosNoDescent() instead
192 of ForwardPos() (fixes crash on font change).
194 2005-02-13 Angus Leeming <leeming@lyx.org>
196 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
197 only if lyxrc.path_prefix is not empty.
199 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
201 * bufferparams.C (readGraphicsDriver): prevent crash
203 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
205 * text2.C (setCounter): check for inInset() == 0
207 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
209 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
210 but use update() to get correct screen display; use convert
211 instead of istringstream.
212 (getStatus): handle LFUN_GOTO_PARAGRAPH
214 * lyxfunc.C (dispatch, getStatus): do not handle
215 LFUN_GOTO_PARAGRAPH here.
217 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
219 * text3.C (dispatch): size() -> depth()
221 * text2.C: remove some debug output
223 * paragraph.C: ws changes only
225 * lyxfunc.C (getStatus): size() -> depth()
227 * dociterator.h (clear, push_back, pop_back, internalData,
228 operator[], resize, empty): new functions
229 Make StableDocIterator and operator== be friends. Don't inherit
230 from std::vector use a privat class variable slices_ instead.
233 * dociterator.C: update because of not inheriting from std::vector
234 anymore. Call explictly to slices_ instead. Use depth() instead of
235 size() and top() instead of back()
237 * cursor.C: chagne size() -> depth and back() -> top(). Also
238 remove some direct operator[](i) calls in favour of foo[i]
239 (getFont): remove some dead code
241 * bufferview_funcs.C (coordOffset): size() -> depth()
243 * buffer.C: ws changes only
245 * CutAndPaste.C (eraseSelection): back() -> top()
247 * BufferView_pimpl.C (selectionRequested): back() -> top()
249 * BufferView.C (setCursor): size() -> depth()
251 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
253 * text3.C (cursorPrevious): return true if depm changed something
255 (dispatch): rename sl to oldTopSlice, remove moving use the new
256 NoUpdate func attrib instead. Make sure that needsUpdate is set
257 for function that have NoUpdate, but where depm might have changed
260 * text2.C (cursorLeft): make us return true if depm changed
263 (cursorUpParagraph): ditto
264 (curosrDownParagraph): ditto
265 (cursorUp, cursorDown): ditto, make sure to read comments in code
266 (deleteEmptyParagraphMechanism): remove an assert, also return
267 true if just a single char was deleted.
269 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
270 cursor that we modify, to avoid modifying an active cursor before
271 we call setCursor. This allows depm to run. Also return true if
272 depm deleted something.
274 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
275 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
276 cursorDownParagraph, cursorPrevious and cursorNext, return true if
277 something was changed in the buffer because of them (ie. depm run)
279 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
280 debug messages. Make update by default be false. Make sure that
281 the result of update is retained throught several calls down to
284 * LyXAction.h: add a new func_attrib: NoUpdate
286 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
287 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
288 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
290 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
292 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
295 bv_->owner(), bv_->buffer() by direct references to the private
297 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
298 (getStatus): isSavedPosition() is in BufferView::Pimpl.
299 (fitCursor): center() is in BufferView::Pimpl.
300 (getStatus, trackChanges, dispatch): no need for a temporary buf
302 (fitCursor, workAreaDispatch): use workarea().workheight()
304 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
306 * CutAndPaste.C (pasteSelectionHelper): fix a crash
308 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
310 * buffer.C: format up to 241.
311 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
312 break if pasting into ERT
313 * lyxfunc.C (getStatus): suppress mathpanel and
314 LFUN_DIALOG_SHOW_NEW_INSET in ERT
316 2005-02-01 Angus Leeming <leeming@lyx.org>
318 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
320 2005-02-01 Angus Leeming <leeming@lyx.org>
322 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
323 calling fs::is_directory().
325 2005-01-31 Angus Leeming <leeming@lyx.org>
327 * lyx_main.C (priv_exec): specify explicitly the relative location
328 of the top level build directory when run in-place.
330 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
333 LyXText containing the cursor, not the top-level one.
335 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
337 (insertStringAsLines): rename par to pit; use temporary variable
338 par to hold a Paragraph; do not store par.layout() in a variable,
339 since the pointer may die when breaking paragraphs; pass pars to
340 breakParagraph() instead of Buffer::paragraphs().
342 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
344 * lyxlex_pimpl.h: #include <fstream>.
346 * BufferView.[Ch] (getLyXText): add a const version.
348 * BufferView_pimpl.C: add debug aids.
353 * paragraph_funcs.h: add commentary explaining what the class does.
356 * coordcache.[Ch]: add lots of commentary.
357 (startUpdating, doneUpdating): debug aids.
358 (arrays, insets, parPos, getParPos): accessors to private data.
360 * cursor_slice.[Ch] (text): add a const version.
361 * dociterator.[Ch] (text, innerText): add const versions.
363 * lyxtext.h (breakParagraph): change the keep_layout arg to a
366 * paragraph.C (getRow, pos2ros): add asserts.
368 * paragraph.h: add commentary. Lots of.
370 * paragraph.[Ch] (metrucs, draw): removed.
373 * rowpainter.[Ch]: const-correct changes.
375 * text.C: various obvious clean-ups. Removal of ancient cruft.
378 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
380 * vc-backend.C (find_file): rewrite to use boost.filesystem
383 * main.C (main): set default name check for boost.filesystem to
386 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
389 (actOnUpdatedPrefs): ditto
391 * lyx_main.C (init): rewrite to use boost.filesystem
392 (queryUserLyXDir): ditto
394 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
395 (getContentsOfAsciiFile): ditto
397 * lastfiles.C (readFile): rewrite to use boost.filesystem
399 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
401 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
404 * buffer.C (Buffer): adjust for destroydir
405 (getLogName): rewrite to use boost.filesystem
407 (save): use fs::copy_file (from fs_extras)
409 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
411 * LaTeX.C (run): rewrite to use boost.filesystem
412 (scanAuxFiles): ditto
413 (handleFoundFile): ditto
415 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
417 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
419 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
421 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
423 * lyxlayout.[Ch]: change some vars from float to double
425 * buffer.C (readFile): make a local var const
427 * Several files: use convert<> instead of atoi,strToXXX and friends
429 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
431 * LaTeXFeatures.[Ch]: Add a static list packages_ that
432 holds the contents of packages.lst. New functions getAvailable
433 and isAvailable to parse and check that list, resp.
437 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
439 * bufferparams.[Ch]: new param output_changes.
441 * Buffer.C: increase file format to 240.
442 Use output_changes and isVailable.
446 * paragraph_pimpl.C: Use output_changes and isVailable.
448 2005-01-23 Angus Leeming <leeming@lyx.org>
450 * output_latex.C: #include "insetbibitem.h", rather than
451 forward declare function bibitemWidest.
453 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
455 * lyx_main.C (init): make it compile on the Mac.
457 2005-01-20 Angus Leeming <leeming@lyx.org>
459 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
460 (setLyXMisc): (char string literal) != (char string literal) is
461 performing a comparison on the addresses. Convert one operand
462 explicitly to string to guarantee expected behaviour.
465 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
468 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
470 * output_plaintext.C: remove unneeded #include gzstream.h.
472 2005-01-20 Angus Leeming <leeming@lyx.org>
474 * SpellBase.h: rename some of the elements of the Result enum.
481 * pspell.C (check): ditto
483 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
485 * buffer.C: add #include <fstream>.
487 * lyx_main.C (init): Compile fix.
489 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
491 2005-01-20 Angus Leeming <leeming@lyx.org>
493 * mover.h: change commentary to reflect the changed meaning of
496 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * output_linuxdoc.C (linuxdocParagraphs): silence warning
500 * lyxfind.C (MatchString::operator()): remove bogus semicolon
502 2005-01-20 Angus Leeming <leeming@lyx.org>
504 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
505 printing diagnostic data by not dereferecing an iterator past the
508 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
510 * buffer.C (readHeader): use "&&" rather than "and".
512 * lyxserver.h (inPipeName, outPipeName): make these const.
514 2005-01-19 Angus Leeming <leeming@lyx.org>
516 * lyx_main.C (error_handler, init): protect SIGHUP with
517 #ifdef SIGHUP guards.
519 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
521 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
523 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * text.C (setHeightOfRow): add a margin at the top and bottom of
526 the document (bug 1761)
528 2005-01-17 Angus Leeming <leeming@lyx.org>
530 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
531 with "python ". Workaround for a brain-dead Windows.
533 2005-01-16 Angus Leeming <leeming@lyx.org>
535 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
536 for MacOSX and Windows to use prependEnvPath.
537 Strip out the hard-coded block to add elements to the PATH for
538 MacOSX and replace it with a call to prependEnvPath using the
539 contents of LyXRC::path_prefix.
540 (queryUserLyXDir): strip out the code to run reconfigure, instead
541 returning a boolean indicating the necessity to do so.
542 (reconfigureUserLyXDir): contains the code to reconfigure the
543 user support directory. Is now called after the various LyXRC data
544 files have been read.
546 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
548 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
550 * converter.[Ch] (convert): take a new parameter try_default. Use
551 a default converter (imagemagick) if try_default is true.
553 2005-01-13 Angus Leeming <leeming@lyx.org>
555 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
557 (write): output LyXRC::cygwin_path_fix as necessary.
559 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
562 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
564 2005-01-12 Angus Leeming <leeming@lyx.org>
566 * lyx_main.C (init): set the PATH variable to include the
567 directory containing the LyX binary when running on Mac or Windows.
569 2005-01-12 Angus Leeming <leeming@lyx.org>
571 * lyx_main.C (init): remove cruft that purports to set the locale
572 dir. It doesn't and is not needed anyway.
574 2005-01-10 Angus Leeming <leeming@lyx.org>
576 * Makefile.am: remove the lyx_main.C special casing.
578 * BufferView_pimpl.C:
584 * messages.C: use support/package.h to provide the paths to the
585 various directories used by LyX.
587 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
589 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
590 layout if pasting into an empty paragraph)
592 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
594 * tex-accent.C: add <string>
596 2005-01-06 José Matos <jamatos@lyx.org>
598 * ParagraphParameters.C (write): put every parameter in its own line.
599 * paragraph.C (write): reduce number of consecutive empty lines exported.
600 * buffer.C (LYX_FORMAT): increase file format to 239.
602 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
604 * everywhere: change support/tostr.h -> support/convert.h
606 * tabular.C: make all write_attributes templates, tostr -> convert
608 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
609 (emptyTag): and -> &&, and fix type for ret from getChar
610 (getFirstWord): fix type for ret from getChar
611 (onlyText): and -> &&
612 (simpleDocBookOnePar): and not -> && !, fix type for ret from
615 * toc.C (goTo, action):
616 * text3.C (dispatch):
617 * text.C (currentState):
618 * tex-accent.C (DoAccent):
621 * lyxfunc.C (menuNew):
622 * lyxfinc.C (replace):
623 * counters.C (laberItem):
624 * bufferview_funcs.C (font2string):
625 * bufferparams.C (writeFile):
626 * buffer.C (readFile):
628 * MenuBackend.C: tostr -> convert
630 * LaTeX.C (runMessage): fix format
631 (scanAuxFiles): tostr -> convert
633 * BufferView_pimpl.C (savePosition): fix format
634 (restorePosition): ditto
637 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
639 * Spacing.[Ch]: New method getValueAsString().
643 * ParagraphParameters.C:
646 * text3.C: store/read spacing value as string.
648 * rowpainter.C: change float value (spacing_val) to double.
650 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
651 broken custom document spacing).
653 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
655 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
656 namespace, also more use of temp references and const
658 * cursor.[Ch] (getStatus): move to lyxfunc.C
660 * bufferparams.C: reformat slightly
662 * bufferview_funcs.C (font2string): constify arg
668 * buffer_funcs.C: (many funcs): constify arg on function
669 definitions, also make more local vars const, also add ASSERTS on
672 * buffer.C (LYX_FORMAT): put const in correct place
673 (many funcs): constify arg on function definitions, also make
674 more local vars const
676 * aspell_local.h: remove "struct" from typdef setup
678 * aspell.C (check): make word_ok const
679 (nextMiss): simplify slightly
682 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
684 * lyxrc.[Ch]: store all float values as strings.
685 use int (not float) for lyxrc.dpi.
687 2005-01-04 Angus Leeming <leeming@lyx.org>
689 * lyx_cb.C (Reconfigure):
690 * lyx_main.C (queryUserLyXDir):
691 to run the <system_lyxdir>/configure correctly on Windows, prefix
692 the path to the script with "sh " when generating the string that
693 is passed to system().
695 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
697 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
699 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
701 * lyxlength.C (asLatexString): get rid of setprecision
703 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
705 * text2.C (setLayout): remove unused variable endpit.
706 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
708 * paragraph.C (onlyText): remove unused variable style.
710 * cursor.C (bruteFind): remove unused variables beg and end.
712 * Makefile.am (dist_noinset_DATA): not needed anymore
714 * cheaders/*: remove.
716 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
718 * text3.C: fix LFUN_MATH_MODE.
720 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
722 * buffer_funcs.C (countWords): new function. Counts words between
725 * BufferView_pimpl.C (getStatus, dispatch): handle
728 * LyXAction.C (init):
729 * lfuns.h: add LFUN_WORDS_COUNT.
731 2004-12-19 Angus Leeming <leeming@lyx.org>
733 * buffer.C (save): s/slashify_path/internal_path/.
735 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
737 * lyxfind.C (findChange): do not search for end of pars, because
738 the change tracker cannot handle this (fixes bug 1719).
740 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
742 * paragraph.[Ch] (autoBreakRows): remove
744 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
746 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
747 avoid using the paragraph one
749 * text2.C (LyXText, insertStringAsLines): adjust
751 2004-12-16 Angus Leeming <leeming@lyx.org>
755 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
757 2004-12-14 Angus Leeming <leeming@lyx.org>
759 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
761 * bufferlist.C (emergencyWrite):
762 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
765 2004-12-14 Angus Leeming <leeming@lyx.org>
767 * main.C: (main): no longer pass pointers to os::init.
769 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
771 * undo.C (textUndoOrRedo): simplify logic, fix a crash
772 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
774 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
777 * text3.C: remove selection_possible global flag
779 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
781 * text2.C (getSelectionSpan): remove
782 (changeDepth, changeDepthAllowed): adjust
784 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
786 * Makefile.am (BOOST_LIBS): use boost variables
788 2004-12-03 José Matos <jamatos@lyx.org>
790 * buffer.C: format up to 238.
792 2004-12-03 José Matos <jamatos@lyx.org>
794 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
796 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
798 * cursor.C (goUpDown): remove call to idxUpDown2
800 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
802 * tabular.[Ch]: use size_t-like types for cell, row and column
805 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
807 * lyxfunc.C (getStatus): do not lose previous information when
808 calling BufferView::getStatus; do not set a default "Command
809 disabled" message at the beginning, but just before returning.
811 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
813 * cursor.h (getStatus): add better comment from src/cursor.C
815 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
817 * text3.C (getStatus): return false when the lfun is not handled
819 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
821 * broken_headers.h: remove
823 * Makefile.am (lyx_SOURCES): remove broken_headers.h
825 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
827 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
830 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
831 top_y_, merge fitcursor with update
832 (updateScrollbar, scrollDocView, fitCursor, center, update): new
835 (workAreaDispatch): adapt to new coord scheme
836 (redoCurrentBuffer): remove
838 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
840 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
843 * coordcache.[Ch]: add paragraph cache and helpers
845 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
848 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
849 (targetX, setTargetX): introduce
851 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
852 baseline -> ascent, as the rest of lyx
854 * lyxtext.h: remove redoParagraphs, updateParPositions,
855 fullRebreak, redoParagraphInternal. move dist to anon namespace in
856 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
857 have ascent/descent (ascent is ascent of first par)
859 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
862 * paragraph.[Ch]: unify dimension handling with the rest of lyx
864 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
866 * pariterator.C: fix infinite loop introduced in par->pit renaming
868 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
869 in insets and LyXText, draw two off-screen paragraphs using
870 NullPainter, and adapt to new coord scheme
874 * text3.C: adapt lfun handlers to the new coord scheme, which
875 means: there's only guaranteed coord information for onscreen pars
876 plus one above and one below. This implies that one can do search
877 from y coordinates in the range [-1,workHeight]
879 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
881 * rename a lot of InsetOld to InsetBase
883 2004-11-25 Angus Leeming <leeming@lyx.org>
885 * BufferView_pimpl.C:
887 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
889 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
891 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
892 call BufferView::getStatus if LCursor::getStatus did nothing
893 (setStatusMessage, getStatusMessage): removed.
895 * FuncStatus.C (message): new methods. Used to provide an error
896 message indicating why a command is disabled.
897 (clear, |=, FuncStatus): update for message.
899 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
901 * lyxfunc.C (dispatch): always call sendDispatchMessage
903 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
906 * BufferView_pimpl.C:
920 * undo.C: par->pit renaming
922 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
924 * tabular.C (cellstruct): use initialization, store a shared_ptr
925 to insettext instead of the insettext directly, adjust to fit.
926 (operator=): new function
928 (rowstruct): use initialization
929 (columnstruct): use initialization
930 (ltType): use initialization
933 * lyxlength.h (swap): new function
935 * LColor.[Ch] (operator=): use the common semantics
937 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * lyxfind.C (findNextChange): update the bufferview after setting
942 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
944 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
945 number of InsetOptArgs has already been inserted.
947 * output_latex.C (latexOptArgInsets): new method. This outputs all
948 the optarg insets, up to the limit defined in the layout file.
949 (optArgInset): removed
950 (TeXOnePar): call latexOptArgInsets; correctly update texrow
952 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
954 * paragraph.C (isLetter): remove special spellchecker-related
955 code; return true also for digits
956 (isWord, isKomma): remove
958 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
959 * lyxfind.C (MatchString()): use isLetter instead of isWord
961 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
963 * pariterator.h (operatir=): comment out un-implemented member
966 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
969 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
971 * lyxfont.h: include LColor.h to satisfy concept checks.
973 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
975 * pariterator.h: add typdefs for value_type, difference_type,
976 pointer and reference to satisfy concept checks. Also add default
977 constructor for same reason.
979 * pariterator.C (operator++): add post-increment operator to
980 satisfy concept checks.
982 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
985 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
987 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
988 checks. Also rename base_type to BaseType to follow naming
991 * FloatList.h: include Floating.h to satisfy concept checks.
993 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
995 * lyxfunc.C (getStatus): when the origin of the request is menu or
996 toolbar, and the LyXView does not have focus, do as if there was
999 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1000 FuncRequest to individual entries of LFUN_SEQUENCE
1002 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1004 * output_latex.C (TeXOnePar): override runparams.moving_arg
1005 according to the needprotect value of the current paragraph (bug
1008 * paragraph.C (simpleTeXOnePar): no need to override
1009 runparams.moving_args here
1011 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1013 * vspace.C: fix off-by-one-error, related to fix #1682
1015 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1017 * lengthcommon.C: a more general fix for bug 1682
1019 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1021 * text.C (backspace): fix crash
1023 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1025 * format.[Ch] (getFormatFromFile): new method
1026 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1028 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1030 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1032 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1034 * lyxfunc.C (dispatch): remove the verbose argument
1035 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1038 * kbmap.C (defkey): set the origin of func to KEYBOARD
1040 * MenuBackend.C (MenuItem):
1041 * ToolbarBackend.C (add): set the origin of func to UI
1043 * funcrequest.[Ch]: add origin member, which indicates which part
1044 of LyX requests an action
1046 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1048 * converter.C (move): don't lie in the error message
1049 * converter.h (isReachable, move): document
1051 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1053 * buffer.C: remove unused using lyx::support::atoi
1054 * paragraph_funcs.C: ditto
1056 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1058 * bufferlist.C (exists): use bind and equal_to instead of
1061 * lyxtextclasslist.C (NumberOfClass): ditto
1063 * cursor.C (insert): use for_each instead of explicit for loop
1065 * bufferlist.C (getFileNames): use std::transform and
1066 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1068 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1071 * buffer.C (changeLanguage): use for_each instead of explicit for
1073 (hasParWithID): implement using getParFromID
1075 * LaTeXFeatures.C: ws change only
1077 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1080 * BufferView_pimpl.C (trackChanges): use for_each instead of
1083 2004-11-04 André Pönitz <poenitz@gmx.net>
1086 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1088 * dociterator.C (asDocIterator): use hard assert again.
1090 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 * lyxlength.C (asLatexString): rewrite so that it does not use
1095 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1097 * text3.C (specialChar, dispatch): make sure cursor moves to the
1098 right after inserting an inset
1100 2004-11-02 José Matos <jamatos@lyx.org>
1102 * output_docbook.C (docbook):
1103 * paragraph.C (getID):
1104 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1105 garantee that the output is always legal.
1107 * tabular.C (docbook):
1108 * outputprams.[Ch]: remove mixed contents.
1110 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1112 * text2.C (setCounter): prevent endless loop
1114 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1116 * exporter.C (copyFile): use the mover instead of support::copy()
1117 * exporter.C (Export): pass format and latex name to copyFile()
1118 * exporter.h (addExternalFile): document
1119 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1121 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1123 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1125 2004-10-30 José Matos <jamatos@lyx.org>
1127 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1128 text and no inset or font change. This allows to use CDATA
1129 sections just for the whole paragraph.
1131 2004-10-30 José Matos <jamatos@lyx.org>
1133 * paragraph.C (getFirstWord): remove unused variable.
1135 2004-10-30 José Matos <jamatos@lyx.org>
1137 * paragraph.C (getFirstWord): the content should always be escaped
1139 (simpleDocBookOnePar):
1140 * output_docbook.C (makeEnvironment): replace reference to CDATA
1143 2004-10-30 José Matos <jamatos@lyx.org>
1145 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1147 2004-10-30 José Matos <jamatos@lyx.org>
1149 * output_docbook.C (makeParagraphs):
1150 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1151 standard paragraph has only a given type of content drop the wrapper.
1153 2004-10-29 José Matos <jamatos@lyx.org>
1155 * output_docbook.C (makeEnvironment):
1157 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1159 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1161 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1162 (cleanID): sanitize any id.
1164 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1166 * buffer.C, lyxlex_pimpl.C:
1167 * lyxlex_pimpl.C (setFile):
1168 s/getExtFromContents/getFormatFromContents/
1170 2004-10-28 José Matos <jamatos@lyx.org>
1172 * output_docbook.C (makeEnvironment): move id to broadest possible
1175 * sgml.C (openTag): apply substitution of <> for all attributes.
1177 2004-10-28 José Matos <jamatos@lyx.org>
1179 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1180 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1181 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1183 * sgml.[Ch]: new version for open and closeTag for paragraph and
1184 for strings. Now they handle the ids of paragraphs.
1186 2004-10-26 Angus Leeming <leeming@lyx.org>
1188 * Makefile.am: add mover.[Ch].
1190 * converter.C (convert, move): use the new Movers to move external
1191 files to the temp directory.
1193 * lyx_main.C (init): ensure that the global system_movers data
1196 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1199 * mover.[Ch]: new files, defining a Mover as a utility to move an
1200 external file between directories and, if necessary, manipulate this
1201 file using a helper script.
1203 2004-10-25 José Matos <jamatos@lyx.org>
1205 * output_docbook.C (makeCommand): merge two if's that tested the
1208 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1210 * sgml.C (escapeString): fix warning in a better way
1212 2004-10-25 José Matos <jamatos@lyx.org>
1214 * sgml.C (escapeString): import the require boosts header file for
1215 tie, and avoid a signed unsigned comparison.
1217 2004-10-25 José Matos <jamatos@lyx.org>
1219 * sgml.h: add #include <string>
1221 2004-10-25 José Matos <jamatos@lyx.org>
1223 * sgml.[Ch] (escapeString): new function to escape all the string.
1225 2004-10-24 José Matos <jamatos@lyx.org>
1227 * paragraph.[Ch] (getFirstWord): new function to get the first
1228 word. Useful for description.
1229 (simpleDocBookOnePar): remove depth argument, add another that
1230 says where to start the paragraph.
1232 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1233 use the new functions to fix cleanly the support for descriptions.
1235 2004-10-24 José Matos <jamatos@lyx.org>
1237 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1238 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1239 * output_linuxdoc.C (linuxdocParagraphs):
1240 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1241 add buffer as argument.
1243 2004-10-24 José Matos <jamatos@lyx.org>
1245 * output_docbook.C (makeEnvironment, searchEnvironment): place
1246 CDATA inside paragraphs and fix scope for listitems.
1248 2004-10-24 José Matos <jamatos@lyx.org>
1250 * output_docbook.C: remove using statement for stack.
1252 2004-10-23 José Matos <jamatos@lyx.org>
1254 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1255 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1256 docbook. The new scheme is recursive and makes use of iterators, the
1257 same as latex export works.
1258 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1259 directly with the paragraph contents. This code was moved up to
1260 output_docbook.C (docbookParagraphs).
1261 * sgml.C (openTag, closeTag): removed unneeded newlines.
1262 (closeEnvTags) removed.
1264 2004-10-23 André Pönitz <poenitz@gmx.net>
1266 * undo.C (textUndoOrRedo):
1267 * dociterator.C (asDocIterator): work around crash
1269 * cursor.C (getStatus): replace ASSERT by more verbose error message
1270 and manual correction of the problem. Should increase stability
1271 while providing more sensible information.
1273 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1275 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1277 * bufferlist.C (previous, next): new methods
1280 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1282 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1284 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1285 entities to preamble.
1287 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1289 * messages.C (Pimpl): strip off translation context information
1291 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1294 the cursor is correct (bug 1694)
1296 2004-10-13 José Matos <jamatos@lyx.org>
1298 * output_docbook.C (docbookParagraphs): fix closing tags in the
1299 end of the document.
1301 2004-10-09 José Matos <jamatos@lyx.org>
1303 * buffer.C: format up to 237.
1304 * bufferparams.C (write): use tostr to convert booleans to strings.
1306 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1308 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1310 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1312 * LaTeX.C: implement use of babel language in xindy.
1314 2004-10-05 José Matos <jamatos@lyx.org>
1316 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1317 Add new translators to help reading and writing the lyx file.
1319 2004-10-05 José Matos <jamatos@lyx.org>
1321 * ParagraphParameters.C (read):
1322 * text.C (readParToken): replace nexToken by more appropriate lex
1325 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1327 * LaTeX.C (runMakeIndex):
1328 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1329 (usually 'makeindex') configurable.
1331 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1332 with a variable rather than with a number.
1334 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1336 * output_latex.C (TeXOnePar): make sure font setting is the first
1337 thing that gets output (and the last at the end). Should fix bug
1340 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1342 * pch.h: use proper signal include
1344 * LaTeX.h: Use preferred calling of Boost.Signal
1347 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1349 * pch.h: dont include <boost/function/function0.hpp>
1351 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1353 * paragraph_pimpl.h: remove usage of ShareContainer
1355 * paragraph_pimpl.C: remove initialization of ShareContainer.
1357 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1361 * BufferView.C (putSelectionAt): change the semantics when
1362 backwards == true: now, this just swaps cursor and anchor wrt the
1365 * BufferView.h (putSelectionAt): add some documentation
1367 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1368 make sure backwardChar is done at least once (to avoid getting
1370 (findNextChange): use putSelectionAt in the forward direction
1371 (operator()): use Paragraph::isWord
1373 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1375 * Spacing.C (set): c_str fix
1377 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1379 * lyx_cb.C (Reconfigure): quote the name of configure script in
1380 case it contains spaces
1382 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1386 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1387 (BOOST_LIBS): use top_buildir when looking for the file
1389 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1391 * pch.h: do not use include boost/format.hpp, multiple symbols
1392 will result (gcc bug)
1395 2004-08-23 José Matos <jamatos@lyx.org>
1397 * bufferparams.C (readToken): fix reading of the author field.
1399 2004-08-20 José Matos <jamatos@lyx.org>
1401 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1403 2004-08-20 José Matos <jamatos@lyx.org>
1405 * lyxlex.[Ch] (findToken): remove function.
1407 * ParagraphParameters.C (findToken):
1408 * bufferparams.C (findToken): replace call for previous function
1409 with local copy. This local function has one more argument, the
1410 read string argument.
1412 2004-08-16 José Matos <jamatos@lyx.org>
1414 * ParagraphParameters.C (write):
1415 * Spacing.C (writeFile):
1416 * bufferparams.C (writeLaTeX):
1417 * lyx_cb.C (Reconfigure):
1418 * paragraph.C (write):
1419 * tabular.C (write): remove unnecessary space at end of line.
1422 2004-08-16 José Matos <jamatos@lyx.org>
1424 * text.C (readParagraph): remove debug message.
1426 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1428 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1431 * output_plaintext.C (asciiParagraph): set depth correctly
1433 * outputparams.h: add member depth
1435 * paragraph_funcs.C (ownerPar): remove.
1437 * text2.C (setCounter): remove first_pit; comment out some
1438 non-working code that uses ownerPar
1440 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1443 2004-08-16 José Matos <jamatos@lyx.org>
1445 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1446 For the same level of importance use the same chanel to report problems.
1447 (read): add code to deal with \begin_body and \end_body.
1450 2004-08-15 José Matos <jamatos@lyx.org>
1452 * lyxlex.C (getString): fix comment, buffer::readBody is now
1453 buffer:readDocument.
1455 * tex-strings.C (string_papersize): Default -> default,
1456 Custom -> custom, for consistency with other options.
1458 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1462 * Makefile.am: support pch
1464 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * text.C (readParToken): remove the static LyXFont variable and
1467 pass it as a parameter instead. This fixes a nasty bug where an
1468 inset will be inserted with a bad font in some situations
1469 (readParagraph): adapt
1471 * text2.C (setCounter): reduce number of calls to pars_[pit]
1473 * text.C (singleWidth): add an assert, fix a test
1475 * rowpainter.C (paintText): reduce number of calls to singleWidth
1477 * paragraph.C (isHfill):
1478 (isNewline): ws only
1480 2004-08-14 André Pönitz <poenitz@gmx.net>
1485 * lyxtext.h (several functions): use a Paragraph & argument
1488 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1492 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1494 * text.C (singleWidth): remove useless test
1496 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1498 * tabular.h: remove bogus comments
1500 * tabular.C (getDescentOfRow):
1501 (isPartOfMultiColumn): add assertions
1503 * lyxlength.C (inPixels): remove #warning
1505 2004-08-14 André Pönitz <poenitz@gmx.net>
1507 * paragraph.h: inline getChar()
1509 * BufferView.h: remove unused declarations
1511 2004-08-14 José Matos <jamatos@lyx.org>
1513 * Buffer.[Ch] (readDocument): new name for old readBody.
1514 * Buffer.C: new file format, new keywords: \begin_document,
1515 \begin_header, \begin_body, \end_body.
1517 * bufferparams.C (readToken): replace all calls to lex.nextToken
1518 by lex.next(). Do the same to eatLine except where really needed.
1520 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1521 line when writing to the lyx file.
1523 * output_plaintext.C (asciiParagraph): fix Bibliography style
1526 * text.C (read): fix end of file handling.
1528 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1530 * MenuBackend.C (Menu::operator[]): new method to access
1531 individual menu items
1532 (Menu::hasFunc): new method. search for an item that corresponds
1534 (MenuBackend::specialMenu): new method
1535 (MenuBackend::expand): if a special menu has been set, skip
1536 entries whose func() appears in this menu
1538 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1540 * text3.C: use Debug::DEBUG a bit more
1542 * text.C (leftMargin): try to simplify a tiny bit change var x to
1543 l_margin. Dont output the wide margins always.
1544 (rightMargin): no margin in inner texts
1546 * rowpainter.h (nestMargin): new func
1547 (changebarMargin): new func
1548 (rightMargin): new func
1550 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1554 * factory.C (createInset): modify setDrawFrame
1556 * cursor.C: use Debug::DEBUG a bit more
1558 2004-08-14 André Pönitz <poenitz@gmx.net>
1561 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1562 cache for all insets in (at least partially) visible (top-level)
1565 * BufferView_pimpl.C: reset external coord cache before every update.
1566 This means the coord cache only contains valid entries.
1568 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1571 * BufferView_pimpl.C (getInsetByCode): move function out of class
1572 and change in to a template in anon namespace. Also fix to do what
1575 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1578 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1580 (breakParagraph): rename par to par_offset and use a local
1581 reference. Add code to keep the language over a rebreak.
1582 (breakParagraphConservative): rename par to par_offset, use a
1584 (mergeParagraph): ditto
1586 (isFirstInSequence): ditto
1587 (outerFont): rename pit to par_offset
1589 * paragraph.C: ws change
1590 * paragraph.h: ditto
1594 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1596 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1599 * paragraph.C (simpleTeXOnePar): when we have a \item with
1600 optional argument, enclose the argument with curly brackets (in
1601 case it contains a closing square bracket)
1605 * text3.C (checkInsetHit): constify
1607 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1609 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1610 documents (bug 1629)
1612 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 Fix toggling of collapsable insets with the mouse (bug 1558)
1616 * lyxfunc.C (dispatch): adapt to LCursor changes
1618 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1619 make sure that dispatch is not invoked twice
1621 * cursor.C (needsUpdate): new method
1622 (dispatch): return void
1623 (result): new method, to access the DispatchResult of the cursor.
1625 2004-08-13 José Matos <jamatos@lyx.org>
1627 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1629 2004-08-13 André Pönitz <poenitz@gmx.net>
1631 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1633 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1636 2004-08-12 André Pönitz <poenitz@gmx.net>
1638 * text3.C: take out the 'cursor right' form insertInset and only
1639 do it in those places when it is really needed. Fixes crash on
1642 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1644 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1646 * BufferView_pimpl.C (setBuffer): initialize the current font of
1647 the underlying LyXText
1649 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1651 * kbsequence.C (print): use UI native formatting for menu
1654 * text.C (insertChar): call Paragraph::insertChar with a font
1657 * paragraph.C (insertInset, insertChar): the version that takes a
1658 LyXFont argument is now a wrapper around the other one (the
1659 opposite used to be true).
1661 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1662 argument. Font setting is done in Paragraph now.
1664 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1666 * outputparams.h: add new members intitle and lang.
1668 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1669 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1671 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1673 * text3.C (dispatch): remove special handling of button 4 and 5,
1674 it is now taken care of in the frontend code.
1676 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1678 * Spacing.h: add <string> (STLPort compile fix)
1680 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1682 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1684 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1686 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1689 * converter.C (showMessage): inherit from unary_function, make
1692 * buffer.C (writeFile): initialize retval
1694 * InsetList.h: rename private variable list to list_
1695 * InsetList.[Ch]: adjust accordingly.
1697 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1699 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1700 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1701 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1702 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1703 * ParagraphParameters.C, LaTeXFeatures.C: replace
1704 "support/std_sstream.h" with <sstream>
1706 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1708 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1709 * lyxsocket.C (LyXServerSocket): ditto
1710 (serverCallback): ditto
1712 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1714 * LaTeXFeatures.C: check release date when loading jurabib.
1716 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1718 * lyxserver.C (startPipe): call register_socket_callback
1719 (endPipe): call unregister_socket_callback
1721 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1723 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1724 (LyXServerSocket): register the callback
1725 (LyXServerSocket): unregister the callback
1726 (fd): delete function
1727 (serverCallback): improve error checking and setup the callbacks.
1728 (dataCallback): change arg to fd.
1729 (writeln): new func (copied fro the client socket) used for server
1731 (LyXDataSocket): simplify
1732 (~LyXDataSocket): close ann unregiser callback
1733 (server): delete function
1734 (fd): delete function
1735 (readln): small changes, improve some std::string usage
1736 (writeln): constify a bit
1738 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1740 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1743 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1745 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1746 after it has been populated
1748 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1750 * text2.C (insertInset): move cursor when inserting inset.
1752 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1754 * kbmap.C (findbindings): a couple of new methods. returns a
1755 container of kb_sequence objects. The real work is done by the
1756 private recursive version
1757 (printbindings): uses findbindings to print out a bracketed list
1758 of bindings (renamed from findbinding).
1760 * MenuBackend.C (binding): use kb_keymap::findbindings
1762 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1764 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1766 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1768 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1770 * paragraph.C (isWord): return true on insets that report
1773 * text.C (getWord): use Paragraph::isWord to decide what is in a
1774 word and what is not; fix bug 1609.
1776 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1778 * tex-strings.C: add "none" to string_paperpackages[], fixes
1779 off-by-one-error in the paperpackage selection.
1782 * tex-strings.[Ch]: char const * string[n]
1783 -> char const * const string[]
1785 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1787 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1788 command, return early.
1790 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1792 * debug.h: add DEBUG to enum and fix size of ANY.
1794 * debug.C: add support for Debug::DEBUG
1795 (showTags): cast errorTags.level to unsigned int
1797 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1798 (redoCurrentBuffer): ditto
1799 (updateScrollbar): ditto
1800 * cursor.C (dispatch): ditto
1801 * text2.C (setLayout): ditto
1803 (updateCounters): ditto
1805 (deleteEmptyParagraphMechanism): ditto
1807 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1809 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1810 annotations to cleanup the Makefile slightly.
1812 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1814 * lyxrc.C: do not set user_email to a default value but use empty
1815 instead. The entry used to be translated, which does not work
1816 since at the point where lyxrc is constructed there is no
1817 translation service available
1819 * messages.C (getLocaleDir): remove and use directly
1820 lyx_localedir() instead
1822 2004-06-02 Angus Leeming <leeming@lyx.org>
1824 Fix crash caused by dereferencing null pointer 'exportdata' in
1825 OutputParams by creating a new ExportData variable on the heap,
1826 storing it in a boost::shared_ptr.
1827 The crash was triggered when generating an Instant Preview
1828 of an external inset.
1830 * Makefile.am: add outputparams.C
1832 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1833 (c-tor): allocate memory to it.
1835 * exporter.C (c-tor): associated changes.
1837 2004-06-01 Angus Leeming <leeming@lyx.org>
1839 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1840 contains data before calling isInset(0). (Bug 1513.)
1842 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1844 * exporter.C (checkOverwrite): new method
1845 * exporter.C (copyFile): new method
1846 * exporter.C (Export): copy referenced files to the document dir
1847 * exporter.[Ch]: new class ExportedFile
1848 * exporter.[Ch]: new class ExportData. Contains currently the
1849 names of referenced external files
1850 * outputparams.h: add exportdata member.
1852 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1854 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1857 2004-05-19 Angus Leeming <leeming@lyx.org>
1862 * lyxfunc.C: small changes due to the introduction of namespace
1863 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1865 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1867 * text3.C (dispatch): supress update when only moving the cursor
1868 * cursor.C (selHandle): remove commented code
1870 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1872 * paragraph.C (startTeXParParams): correct column count
1873 * CutAndPaste.C (pasteSelection): remove const_cast
1874 * output_docbook.C (docbookParagraphs): remove const_cast
1875 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1876 const_cast and return ParagraphList::const_iterator
1877 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1878 * output_plaintext.C (writeFileAscii): remove const_cast
1879 * paragraph.[Ch] (simpleTeXOnePar): make const
1880 * paragraph_funcs.C (outerPar): use const iterators
1881 * paragraph_pimpl.C (validate): use const iterators
1882 * text.C (setHeightOfRow): use const iterators
1884 2004-05-17 Angus Leeming <leeming@lyx.org>
1887 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1889 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1890 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1891 if the citation engine has changed.
1893 2004-05-14 José Matos <jamatos@lyx.org>
1895 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1896 if the textclass does not provide it. Have it different for sgml and
1898 support the language of document.
1899 * output_docbook.C (docbookParagraphs):
1900 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1901 first anchor as the id of the paragraph, remove special case code.
1902 * sgml.C (escapeChar): escape only < & >.
1904 2004-05-14 Angus Leeming <leeming@lyx.org>
1906 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1907 dependencies on src/frontends/controllers/biblio.h. Define a
1908 CiteEngine_enum wrapper class to enable the enum to be forward
1911 2004-05-12 Angus Leeming <leeming@lyx.org>
1913 * buffer.C: up LYX_FORMAT to 234.
1914 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1915 use_numerical_citations with a single biblio::CiteEngine cite_engine
1917 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1919 2004-05-13 José Matos <jamatos@lyx.org>
1922 * converter.C (Converter, readFlags): add xml member.
1923 * outputparams.h: add XML flavor.
1924 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1926 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1928 * lyxfunc.C (dispatch):
1929 (getStatus): fix handling of LFUN_SEQUENCE
1931 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1933 * debug.C (showLevel): do not forget the end-of-line marker
1935 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1937 * kbmap.C (read): do not stop parsing a bind file when an error
1940 2004-04-29 Angus Leeming <leeming@lyx.org>
1945 * text2.C: wrap a bunch of #warning statements
1946 inside #ifdef WITH_WARNINGS blocks.
1948 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1950 * buffer.C: increment format to 233.
1952 2004-04-28 Angus Leeming <leeming@lyx.org>
1954 * BufferView_pimpl.C:
1957 s/updateToolbar()/updateToolbars()/
1958 s/Toolbar.h/Toolbars.h/
1960 2004-04-28 Angus Leeming <leeming@lyx.org>
1962 * BufferView.[Ch] (c-tor):
1963 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1964 No longer passes these data to the WorkArea generator.
1966 2004-04-28 Angus Leeming <leeming@lyx.org>
1968 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1970 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1972 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1974 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1976 * output_latex.C (TeXEnvironment): make sure that there is a line
1977 break before \end{foo} for the last paragraph of a document
1978 (TeXOnePar): if the paragraph is at the end of the document (or
1979 inset) and the language has to be reset, then make sure that the
1980 line break is _before_ the language command, not after (fixes bug
1981 1225); also make sure that the language reset command is the first
1982 thing after the paragraph (to ensure proper nesting of
1983 environments and thus fix bug 1404)
1985 2004-04-21 John Levon <levon@movementarian.org>
1988 * ToolbarBackend.C: make "name" be a programmatic name
1989 and a gui_name field.
1991 * lyxfunc.C: display the minibuffer on M-x
1993 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1995 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1998 2004-04-19 Angus Leeming <leeming@lyx.org>
2000 * BufferView_pimpl.C (setBuffer): changed preview interface.
2002 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2005 2004-04-19 John Levon <levon@movementarian.org>
2007 * BufferView_pimpl.C:
2008 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2010 2004-04-05 Angus Leeming <leeming@lyx.org>
2012 * text.C (redoParagraphs): add call to updateCounters(), thereby
2013 fixing the missing "Figure #:" label from the caption of a
2016 2004-04-13 Angus Leeming <leeming@lyx.org>
2018 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2019 cursor is clicked out of an inset.
2021 2004-04-13 Angus Leeming <leeming@lyx.org>
2023 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2024 than an InsetOld one.
2026 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2028 * format.[Ch]: add editor to Format
2029 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2030 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2032 2004-04-08 André Pönitz <poenitz@gmx.net>
2034 * metricsinfo.h: remove PainterInfo::width member
2036 2004-04-08 Angus Leeming <leeming@lyx.org>
2038 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2039 "\providecommand" rather than "\newcommand", thereby preventing
2040 clashes with packages that define "\boldsymbol" themselves.
2043 2004-04-08 Angus Leeming <leeming@lyx.org>
2045 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2046 thereby squashing an unnecessary warning.
2048 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2050 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2053 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2055 * BufferView.C (setCursor): call redoParagraph (some insets could
2057 (putSelectionAt): remove the 'double update' trick
2059 * BufferView_pimpl.C (fitCursor): call refreshPar
2060 (workAreaDispatch): remove an uneeded update call
2061 (dispatch): remove some manual update calls
2063 * cursor.[Ch]: remove cached_y_, updatePos
2064 (selHandle): set noUpdate when appropriate
2066 * lyxfunc.C (dispatch): track if we need an update
2068 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2070 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2071 (paintSelection): cheap optimization, do not call cursorX when not
2073 (paintPars): change signature
2076 (paintTextInset): adjust
2080 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2082 * lengthcommon.C: compilation fix: remove explicit array size from
2083 unit_name[] and friends
2085 2004-04-05 Angus Leeming <leeming@lyx.org>
2087 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2089 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2090 present only for the preferences dialog.
2091 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2093 2004-04-05 Angus Leeming <leeming@lyx.org>
2095 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2096 to enable the frontends to export changes to lyxrc correctly.
2098 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2100 2004-04-07 André Pönitz <poenitz@gmx.net>
2102 * cursor.[Ch] (selClear, adjust): remove math
2104 * cursor_slice.C: more agressive assert
2107 * BufferView_pimpl.C: rework mouse event dispatch
2114 2004-04-05 André Pönitz <poenitz@gmx.net>
2116 * cursor.[Ch] (valign, halign...): remove unneeded functions
2118 2004-04-05 Angus Leeming <leeming@lyx.org>
2120 * lyxlength.[Ch] (unit_name et al.): const-correct.
2122 2004-04-05 Angus Leeming <leeming@lyx.org>
2124 * BufferView_pimpl.C:
2133 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2135 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2137 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2139 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2141 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2142 * BufferView_pimpl.[Ch] (getStatus)
2143 * BufferView.[Ch] (getStatus): add
2144 * lyxfunc.C (getStatus): move lfuns handled in
2145 BufferView::dispatch to te function above
2146 * Cursor.C (setSelection): set selection() = true
2148 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2150 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2152 2004-03-31 Angus Leeming <leeming@lyx.org>
2154 * lyxfunc.C (dispatch): Fall through to the generic
2155 Dialogs::show("preamble").
2157 2004-03-31 Angus Leeming <leeming@lyx.org>
2159 * lyxfunc.C (dispatch): Fall through to the generic
2160 Dialogs::show("spellchecker").
2162 2004-03-31 Angus Leeming <leeming@lyx.org>
2164 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2167 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2172 * insetiterator.[Ch]:
2177 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2179 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2181 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2182 insets where we are putting the cursor.
2184 2004-03-31 Angus Leeming <leeming@lyx.org>
2187 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2189 * lyxrc.[Ch] (read, write): overloaded member functions taking
2190 a std::[io]stream arguments.
2192 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2194 2004-03-31 Angus Leeming <leeming@lyx.org>
2196 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2197 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2199 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2200 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2202 2004-03-31 Angus Leeming <leeming@lyx.org>
2204 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2205 the LFUN_ALL_INSETS_TOGGLE code.
2207 2004-03-30 Angus Leeming <leeming@lyx.org>
2209 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2210 has died. Fall through to the generic Dialogs::show("document").
2212 2004-03-30 Angus Leeming <leeming@lyx.org>
2215 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2216 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2218 * lyxfunc.C (getStatus, dispatch): define the actions for these
2219 lfuns. Little more than a cut and pste job from ControlDocument.C
2221 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2223 2004-03-30 Angus Leeming <leeming@lyx.org>
2226 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2227 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2229 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2230 open/closed state of ollapsable insets. Usage:
2232 all-inset-toggle <state> <name>, where
2233 <state> == "open" || "closed" || "toggle" and
2234 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2236 * lyxtext.h, text2.C (toggleInset): removed.
2238 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2239 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2240 now passes LFUN_INSET_TOGGLE to the found inset.
2242 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2243 is now invoked as "all-insets-toggle toggle branch".
2245 2004-03-30 Angus Leeming <leeming@lyx.org>
2249 * pariterator.[Ch]: added/corrected header blurb.
2251 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2253 * dociterator.[Ch]: add an inset_ member
2254 (backwardPos): implemented
2255 (backwardPos, forwardPos): use inset_ when the stack is empty.
2256 (doc_iterator_begin, doc_iterator_end): implemented
2257 * pariterator.[Ch]: adjust, add begin, end
2258 * insetiterator.[Ch]: adjust, add begin, end
2262 * BufferView_pimpl.C:
2263 * CutAndPaste.C: adjust
2265 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2267 * buffer.C: increment file format to 232.
2268 * LaTeXFeatures.C: add bibtopic package.
2269 * bufferparams.[Ch]: param \use_bibtopic.
2271 * lyxrc.[Ch]: add lyxrc bibtex_command
2272 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2274 * buffer.C: increment file format to 231.
2276 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2278 * dociterator.C: implement forwardPar
2279 * iterators.[Ch]: remove, replaced by
2280 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2282 * BufferView_pimpl.C:
2285 * bufferview_funcs.C:
2291 * Makefile.am: adjust
2293 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2295 * CutAndPaste.C (pasteSelection): fix 2 crashes
2296 (eraseSelection): fix a crash
2297 * paragraph_funcs.C: remove a warning
2299 2004-03-28 Angus Leeming <leeming@lyx.org>
2302 * LyXAction.C (init): new LFUN_PRINT.
2304 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2306 2004-03-27 Angus Leeming <leeming@lyx.org>
2309 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2311 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2313 2004-03-27 Angus Leeming <leeming@lyx.org>
2315 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2316 insetlist always contains non-null pointers to insets.
2318 2004-03-26 Angus Leeming <leeming@lyx.org>
2320 * src/BufferView_pimpl.C:
2321 * src/CutAndPaste.C:
2324 * src/output_plaintext.C:
2325 * src/outputparams.h:
2326 * src/paragraph_funcs.C:
2330 * src/frontends/controllers/ControlErrorList.C:
2331 * src/frontends/gtk/FileDialogPrivate.C:
2332 * src/frontends/gtk/GPainter.C:
2333 * src/frontends/gtk/GToolbar.C:
2334 * src/frontends/qt2/QRef.C:
2335 * src/mathed/math_scriptinset.C: squash compiler warnings.
2337 2004-03-26 Angus Leeming <leeming@lyx.org>
2339 * ispell.C (LaunchIspell::start):
2340 * lyx_cb.C (AutoSaveBuffer::start):
2341 invoke run(DontWait) rather than runNonBlocking().
2343 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2345 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2347 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2349 * kbsequence.C (print): adjust
2351 * kbmap.C (printKeySym): rename and change signature
2352 (printKey): use LyXKeySym::print()
2354 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2356 * undo.C: add using std::advance to compile for stlport
2358 2004-03-24 Angus Leeming <leeming@lyx.org>
2360 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2361 it leads to a crash when no buffer is present.
2363 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2364 Martin Vermeer <martin.vermeer@hut.fi>
2366 * lyxfunc.C (dispatch):
2367 * bufferparams.C (readToken): use the new LColor::setColor
2369 * LColor.[Ch] (setColor): new version that takes two strings as
2370 argument and creates a new color entry if necessary
2372 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2374 * buffer.C (makeLaTeXFile): if the main latex file that is
2375 processed is usually a subdocument of some master, then pretend
2376 for a while that it is actually the master
2378 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2380 * buffer.C (getLabelList):
2381 (getBibkeyList): use getMasterBuffer()
2382 (getMasterBuffer): new method. Returns the main document in the
2383 case where one is using included documents.
2385 2004-03-25 André Pönitz <poenitz@gmx.net>
2389 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2391 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2393 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2394 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2396 * ParameterStruct.h: merge with ParagraphParameters
2398 * lyxtext.h: remove LyXText::parOffset() and getPar()
2400 * text3.C: Remove all 'manual' update calls. We do now one per user
2401 interaction which is completely sufficient.
2405 * BufferView_pimpl.C:
2406 * FontIterator.[Ch]:
2408 * ParagraphParameters.[Ch]:
2413 * cursor_slice.[Ch]:
2420 * output_docbook.[Ch]:
2421 * output_latex.[Ch]:
2422 * output_linuxdoc.[Ch]:
2423 * output_plaintext.[Ch]:
2425 * paragraph_funcs.[Ch]:
2426 * paragraph_pimpl.[Ch]:
2434 * frontends/controllers/ControlDocument.C:
2435 * frontends/controllers/ControlErrorList.C:
2436 * frontends/controllers/ControlSpellchecker.C:
2439 * insets/insetbase.h:
2440 * insets/insetbibitem.C:
2441 * insets/insetbox.C:
2442 * insets/insetbranch.C:
2443 * insets/insetcaption.C:
2444 * insets/insetcharstyle.C:
2445 * insets/insetcharstyle.h:
2446 * insets/insetcollapsable.C:
2447 * insets/insetcollapsable.h:
2448 * insets/insetert.C:
2449 * insets/insetfloat.C:
2450 * insets/insetfoot.C:
2451 * insets/insetmarginal.C:
2452 * insets/insetnote.C:
2453 * insets/insetoptarg.C:
2454 * insets/insettabular.C:
2455 * insets/insettext.C:
2456 * insets/insettext.h:
2457 * insets/insetwrap.C:
2458 * mathed/math_mboxinset.C:
2459 * mathed/math_nestinset.C:
2460 * mathed/math_scriptinset.C:
2461 * mathed/math_scriptinset.h:
2464 2004-03-24 Angus Leeming <leeming@lyx.org>
2466 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2467 deal with any child processes that have finished but are waiting to
2468 communicate this fact to the rest of LyX.
2470 2004-03-24 Angus Leeming <leeming@lyx.org>
2472 64-bit compile fixes.
2474 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2475 (c-tor): pass lyx::pos_types rather than ints.
2477 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2480 * text.C (Delete): compile fix.
2481 (getPar): ensure that function declaration is the same as that in
2484 2004-03-23 Angus Leeming <leeming@lyx.org>
2486 * ispell.C (LaunchIspell):
2487 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2488 a boost::shred_ptr rather than a std::auto_ptr.
2490 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2492 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2493 handle LFUN_FILE_INSERT_*
2495 * lyxrc.C (setDefaults, getDescription, output, read):
2496 * lyxrc.h: remove ps_command
2498 2004-03-22 Angus Leeming <leeming@lyx.org>
2500 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2501 Ensure that error_handler is processed once only and that all data
2502 is saved before attempting to output any warning messages.
2504 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2506 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2508 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2510 2004-03-19 André Pönitz <poenitz@gmx.net>
2512 * cursor.[Ch] (reset): take main text inset as argument
2514 * BufferView: adjust
2515 * BufferView_pimpl.C: adjust
2517 * paragraph.[Ch]: fix completely broken operator=()
2519 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2521 * LColor.C (getFromLyXName): make sure that the color name is used
2524 2004-03-17 Angus Leeming <leeming@lyx.org>
2527 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2529 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2530 dialog and to kill a forked process.
2532 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2534 * text2.C (setCursorFromCoordinates): fix font problem
2536 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2538 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2539 bogus "rebuild cursor" code
2541 2004-03-11 André Pönitz <poenitz@gmx.net>
2543 * buffer.[Ch]: use InsetText instead of LyXText as container for
2546 * dociterator.[Ch]: drop the BufferView * member which is not needed
2547 anymore after the change to buffer.C
2549 * paragraph_funcs.C:
2553 * BufferView_pimpl.[Ch]:
2555 * cursor_slice.[Ch]: adjust
2557 * text3.C: fix bug in mathDispatch
2559 2004-03-08 André Pönitz <poenitz@gmx.net>
2561 * undo.[Ch]: use 'StableDocumentIterator' as base for
2564 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2567 * bufferparams.[Ch]: add jurabib support and param.
2569 * LaTeX.C: add FIXME/comment.
2571 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2573 * buffer.C: increment file format to 230.
2575 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2577 * cursor.C (dispatch): avoid infinite loops
2579 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2581 * rowpainter.C (paintSelection): fix x coordinates
2583 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2585 * text.C (rowBreakPoint): fix breaking before displayed insets
2587 2004-03-01 André Pönitz <poenitz@gmx.net>
2589 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2591 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2595 * BufferView_pimpl.C:
2603 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2609 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2610 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2612 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2614 * Bidi.[Ch] (computeTables): const correctness
2615 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2616 fill_hfill, fill_label_hfill and x from Row
2617 * lyxtext.h: prepareToPrint returns a RowMetrics
2618 * rowPainter.C: adjust
2619 * text.C (prepareToPrint): use width, not textWidth. adjust
2620 (redoParagraphInternal, cursorX): adjust
2621 * text2.C (getColumnNearX): adjust
2622 (init): put a default value to the top LyXText::width
2624 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2626 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2628 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2630 * lyxtext.h: add FontIterator class
2632 * text.C (FontIterator, operator*, operator->, operator++): add
2633 (rowBreakPoint, setRowWidth): adjust (fixing a
2636 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2638 * BufferView_pimpl.C (workAreaDispatch): allow also
2639 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2641 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2643 * text.C (rowBreakPoint): fix a bug showing with very large insets
2645 2004-02-25 André Pönitz <poenitz@gmx.net>
2648 * cursor.[Ch]: move some mathed specific code to mathed
2650 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2652 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2653 use_tempdir in preferences
2654 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2656 * lyx_main.C: ensure that tempdir is valid
2657 * lyxlex.h: correct typo
2658 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2659 * paragraph.[Ch] (isMultiLingual): make const
2660 * cursor.[Ch] (openable): make const
2662 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2664 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2666 2004-02-20 André Pönitz <poenitz@gmx.net>
2668 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2670 * cursor.[Ch]: prepare for localized getStatus()
2676 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2678 2004-02-20 André Pönitz <poenitz@gmx.net>
2680 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2682 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2684 * text2.C (setCursorFromCoordinates): switch to absolute coords
2686 (cursorDown): adjust
2687 * text3.C (dispatch): adjust
2689 2004-02-16 André Pönitz <poenitz@gmx.net>
2691 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2694 * cursor_slice.[Ch]: remove unneeded acessor function
2696 * lyxtext.h: rename rtl() to isRTL()
2704 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2706 * rowpainter.C (paintSelection): coord fix
2708 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2710 * Spacing.C: compile fix
2712 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2714 * cursor.C (dispatch): restore current_ before returning
2716 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2718 * text2.C (cursorUp, cursorDown): fix coords
2721 2004-02-12 André Pönitz <poenitz@gmx.net>
2726 * text3.C: add LCursor & parameter to most cursor movement functions
2727 remove usage of LyXText::cursorRow() and cursorPar()
2729 * cursor.[Ch]: add textRow() needed members
2732 * BufferView_pimpl.C:
2735 * BufferView_pimpl.C: adjust
2737 2004-02-11 André Pönitz <poenitz@gmx.net>
2741 * BufferView_pimpl.C: shift undo/redo handling
2743 * cursor.[Ch]: fix mathed crash
2746 * lyxtext.h: move selectionAsText to LCursor
2754 * rowpainter.C: fix excessive drawing
2756 2004-02-06 André Pönitz <poenitz@gmx.net>
2759 * BufferView_pimpl.[Ch]:
2760 * text3.C: move some text specific LFUN handling
2762 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2764 * text3.C (checkInsetHit): adjust coords
2765 * text2.C (getColumnNearX): adjust coords
2766 (edit): adjust coords
2767 * text.C (getRowNearY): add two asserts
2769 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2772 * format.C: add using std::distance to compile on gcc 2.95/stlport
2774 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2776 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2778 2004-02-04 André Pönitz <poenitz@gmx.net>
2780 * BufferView.[Ch] (insertInset):
2781 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2786 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2788 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2789 on the default clause of the switch
2790 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2791 wasn't catched by LCursor::dispatch
2793 2004-02-03 André Pönitz <poenitz@gmx.net>
2796 * cursor.[Ch]: some additional asserts
2798 * undo.[Ch]: remove LyXText dependency in interface
2802 * lyxtext.h (firstPar, lastPar): remove dead functions
2807 * paragraph.[Ch]: adjust
2809 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2811 * lyxfind.C (find): fix argument order in call to ::find
2813 2004-02-02 André Pönitz <poenitz@gmx.net>
2815 * cursor.[Ch]: remove direct access to anchor
2817 * text.C: remove findText() hack
2819 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2821 * iterators.[Ch] (lockPath): remove in favour of...
2822 * BufferView.[Ch] (setCursor): this addition
2823 * BufferView.C (putSelectionAt): adjust
2824 * undo.C (performUndoOrRedo): adjust
2825 * lyxfunc.C (dispatch): adjust
2827 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2829 * iterators.C (lockPath): add a missing slice
2830 * undo.C (performUndoOrRedo): remove redundant positioning code
2832 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2834 * vc-backend.C (scanMaster): ";" -> ';'
2836 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2838 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2839 std::binary_function
2841 * lyxtextclass.C (compare_name): rename to...
2842 (LayoutNamesEqual): ...this
2844 * lyxlex_pimpl.C (compare_tags): inherit from
2845 std::binary_function, put back into anon namespace
2847 * lyxfind.C (MatchString): inherig from std::binary_function
2848 (findChange): use empty() istead of !size()
2850 * format.C (FormatNamesEqual): new functor
2857 * converter.C (compare_Converter): rename to...
2858 (ConverterEqual): ...this, and fixup a bit.
2859 (getConverter): use it, and make function const
2860 (getNumber): use it, and make function const
2864 * bufferlist.C: add using boost::bind
2866 * MenuBackend.C (MenuNamesEqual): new functor
2867 (hasMenu): use it, and make function const
2868 (hasSubmenu): use nested bind to get rid of compare_memfun.
2870 2004-01-30 André Pönitz <poenitz@gmx.net>
2872 * BufferView_pimpl.C:
2875 * cursor_slice.[Ch]:
2878 * paragraph_funcs.C:
2879 * paragraph_funcs.h:
2883 * text3.C: move some of the edit(x,y) handling to the insets
2884 some coordinate changes.
2886 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2888 * text.C: add using statements for std::advance and std::distance
2890 * paragraph.C: add using statement for std::distance
2892 * lyxfind.C: add using statement for std::advance
2894 * cursor.C (region): remove std:: from swap
2895 (openable): use nucleus in stead of operator->
2897 * BufferView.C: add using statements for std::distance and std::swap
2899 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2901 * iterators.C: Remove the pimple, move the needed structures to
2902 the header file. Create accessor for the positions stack.
2903 (asPosIterator): remove function
2905 * PosIterator.C (PosIterator): move constructors to top of file
2906 (PosIterator): reimplement the constructor taking a ParIterator in
2908 (setFrom): new function
2909 (operator!=): inline it
2911 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2913 * lyxfind.C (replaceAll): use std::advance
2915 * iterators.h: inherit from std::iterator.
2917 * PosIterator.C (advance, distance): remove
2918 * PosIterator.h: interit from std::iterator.
2920 2004-01-26 André Pönitz <poenitz@gmx.net>
2923 * BufferView_pimpl.[Ch]:
2927 * bufferview_funcs.C:
2937 * output_linuxdoc.C:
2938 * output_plaintext.C:
2940 * paragraph_funcs.[Ch]:
2941 * paragraph_pimpl.[Ch]:
2947 * text3.C: more IU: dumps most of the rest of the mathcursor
2948 implementation into cursor.[Ch]; "globalize" a bit of it.
2950 2004-01-25 Angus Leeming <leeming@lyx.org>
2952 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2954 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2956 * LaTeXFeatures.h: add nice_ and nice() const
2957 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2959 2004-01-20 André Pönitz <poenitz@gmx.net>
2962 * BufferView_pimpl.C:
2964 * bufferview_funcs.C:
2966 * cursor_slice.[Ch]:
2977 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2978 LCursor and mathcursor parts to LCursor and InsetBase.
2980 2004-01-15 André Pönitz <poenitz@gmx.net>
2982 * cursor_slice.[Ch]: add a few covienience functions
2984 * funcrequest.[Ch]: remove BufferView * member
2986 * BufferView_pimpl.C:
2993 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2995 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2997 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2998 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3000 2004-01-13 André Pönitz <poenitz@gmx.net>
3003 * lyxtext.h: hide cursor and selection anchor behind accessor function
3006 * BufferView_pimpl.[Ch]:
3008 * bufferview_funcs.C:
3018 * cursor_slice.[Ch]: some integer type changes for inset unification
3020 * lyxcursor.[hC]: remove, it's CursorSlice now.
3023 * BufferView_pimpl.[Ch]:
3024 * bufferview_funcs.C:
3030 * textcursor.[Ch]: adjust
3032 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3034 * text2.C (undoSpan): add and use
3035 * text.C (breakParagraph): use undoSpan (fix bug 578)
3038 2004-01-08 Angus Leeming <leeming@lyx.org>
3040 * BufferView_pimpl.C (MenuInsertLyXFile):
3041 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3042 * lyxfunc.C (menuNew, open, doImport):
3043 FileFilterList change to the FileDialog open and save functions.
3045 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3047 * ShareContainer.h: make isEqual and isUnique adaptable
3049 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3051 2004-01-07 Angus Leeming <leeming@lyx.org>
3054 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3056 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3058 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3059 functions replacing find, replace and replaceAll.
3061 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3062 LFUN_WORDFIND(FORWARD|BACKWARD).
3064 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3066 * text.C (breakParagraph): remove an outdated #warning
3068 2004-01-07 André Pönitz <poenitz@gmx.net>
3070 * lyxfind.C: somewhat clearer logic
3072 * text.C: prevent crash in cursorX on unitialized row cache
3074 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3076 * lyxcursor.[Ch] (operator>): add
3077 * textcursor.C (selStart, selEnd): use std::min and std::max
3079 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3081 * Chktex.C: include boost/format.hpp
3083 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3085 * InsetList.C: replace functor MathcIt with adaptable functor
3087 (insetIterator): modify accordingly
3089 * BranchList.h: move the BranchNamesEqual functor here from...
3090 * BranchList.C: ... to here
3092 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3094 (add): replace a finding loop with std::find_if.
3096 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3098 * output_docbook.C: moving LatexParam functionality into
3101 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3103 * buffer.C: increment format to 229.
3105 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3108 * lyx_sty.[Ch]: remove minipageindent_def
3114 * text3.C: remove LFUN_INSET_MINIPAGE
3116 2003-12-28 Angus Leeming <leeming@lyx.org>
3118 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3120 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3122 * text2.C (setParagraph): fix off-by-one crash
3124 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3126 * output_docbook.C: header stuff for AGU
3128 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3130 * text2.C (redoCursor): remove
3133 * BufferView_pimpl.C: remove calls to redoCursor and
3134 setCursor(cursor.par(), cursor.pos()) all around
3136 2003-12-15 Angus Leeming <leeming@lyx.org>
3138 * buffer.C: up the format to 228.
3140 2003-12-15 André Pönitz <poenitz@gmx.net>
3142 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3147 * BufferView_pimpl.C:
3156 2003-12-15 Angus Leeming <leeming@lyx.org>
3158 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3159 than getFromGUIName to manipulate the color.
3161 2003-12-14 Angus Leeming <leeming@lyx.org>
3163 * BranchList.[Ch]: minimize the API.
3164 (Branch::getBranch, getColor): now return a 'const &'.
3165 (Branch::setSelected) now returns a bool set to true if the
3166 selection status changes.
3167 (BranchList::clear, size, getColor, setColor, setSelected,
3168 allBranches, allSelected, separator): removed.
3169 (BranchList::find): new functions, returning the Branch with
3171 (BranchList::add, remove): return a bool indicating that
3172 the operation was successful.
3174 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3175 new InsetBranch::isBranchSlected member function.
3177 * LColor.[Ch]: mimimize the API.
3178 (fill): renamed as addColor and made private.
3179 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3180 versions of these functions taking a string arg have been removed.
3182 * bufferparams.C (readToken):
3183 * lyxfunc.C (dispatch):
3184 * lyxrc.C (read): changes due to the altered BranchList and
3187 * factory.C (createInset, readInset): changes due to altered
3190 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3193 * lyxfunc.C: remove insetminipage. "minipage-insert"
3194 now produces a frameless minipage box inset.
3196 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3198 * textcursor.[Ch] (selStart,selEnd): add new methods
3199 remove selection::start, end, use LyXCursor::operator<
3200 * lyxcursor.[Ch] (operator<): add
3201 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3202 * BufferView.[Ch] (unsetXSel): add
3203 * text2.C (clearSelection): use unsetXSel,adjust
3206 * rowpainter.C: adjust
3207 * bufferview_funcs.C (put_selection_at): adjust
3209 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3211 * BufferView_pimpl.C: small coord. correction
3213 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3215 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3216 dragging over the splash screen.
3218 2003-12-11 Angus Leeming <leeming@lyx.org>
3220 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3221 as it is now handled in LyXText::dispatch.
3223 * text3.C (doInsertInset): remove a level of nesting.
3225 2003-12-11 Angus Leeming <leeming@lyx.org>
3227 * factory.C (createInset): changes due to the changed interface to
3228 InsetCommandMailer::string2params.
3230 2003-12-10 Angus Leeming <leeming@lyx.org>
3232 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3233 'dialog-show-new-inset <inset name>'
3235 2003-12-10 Angus Leeming <leeming@lyx.org>
3237 * buffer.C: up the format to 227.
3239 * factory.C: the box inset is now identified simply by 'Box'.
3241 2003-12-10 Angus Leeming <leeming@lyx.org>
3243 * buffer.C: up the format to 226.
3245 * factory.C: the note inset is now identified simply by 'Note'.
3247 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3249 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3250 when a pit is enough. Standarize a couple of loops.
3252 2003-12-05 Angus Leeming <leeming@lyx.org>
3254 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3255 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3256 data to the re-worked "log" dialog.
3258 2003-12-03 André Pönitz <poenitz@gmx.net>
3264 * paragraph_funcs.C:
3266 * text2.C: use Inset::getText instead of Inset::getParagraph
3268 2003-12-03 André Pönitz <poenitz@gmx.net>
3272 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3273 InsetText::read() as LyXText::read()
3275 2003-12-02 Angus Leeming <leeming@lyx.org>
3277 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3278 type. Add a comment in the implementation that the function uses
3279 the stream's bad() function rather than fail() as the std::streams
3282 2003-12-02 André Pönitz <poenitz@gmx.net>
3284 * lyxlex.[Ch]: make interface more similar to std::stream
3286 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3288 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3290 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3292 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3294 * vspace.[Ch]: remove VSpace::NONE
3296 2003-12-01 André Pönitz <poenitz@gmx.net>
3299 * lyxtext.h: move ParagraphList member to LyXText
3300 rename LyXText::ownerParagraphs to LyXText::paragraph
3303 * bufferview_funcs.C:
3313 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3315 * undo.C: fix cursor positioning
3317 2003-12-01 John Levon <levon@movementarian.org>
3319 * BufferView_pimpl.C: fix a crash on exit with
3322 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3324 * BranchList.C: fix setSelected() method.
3326 2003-11-28 André Pönitz <poenitz@gmx.net>
3328 * ParagraphParameters.[Ch]:
3329 * ParameterStruct.h: remove space above/below from Paragraph to
3332 * BufferView_pimpl.C:
3338 * paragraph_funcs.C:
3344 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3346 * factory.C: Syntax change for CharStyles
3348 2003-11-28 André Pönitz <poenitz@gmx.net>
3353 * buffer.[Ch]: move LyXText member
3355 2003-11-28 André Pönitz <poenitz@gmx.net>
3357 * BufferView.[Ch]: make LyXText * text a private member
3359 * BufferView_pimpl.C:
3370 * output_plaintext.C: cleanup
3372 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3375 * lyxtextclass.[Ch]: parametrize SGML document header
3377 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3380 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3383 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3385 * text2.C (setFont): rework using PosIterator (no more recursive)
3386 (setCharFont): no more needed
3387 (setLayout): no more selection cursors fiddling (done by redoCursor)
3388 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3389 destroy remaining ones)
3391 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3393 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3395 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3398 * text3.C: adjust + re-allow multi par depth changes
3399 * textcursor.C: simplify a bit
3401 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3407 * src/output_docbook.C:
3408 * src/output_latex.C:
3413 * src/text2.C: Introducing a number of tags parametrizing various
3414 XML formats that we may want to support
3416 2003-11-25 André Pönitz <poenitz@gmx.net>
3418 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3420 * lyxtext.h (leftMargin/rightMargin): simplify interface
3427 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3429 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3430 master file to any child files. Fixes bug 546.
3432 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3434 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3436 2003-11-24 André Pönitz <poenitz@gmx.net>
3438 * rowpainter.C: simplification
3440 * text2.C (updateCounters): remove call to redoParagraph on
3441 changed labels as this is far too expensive.
3443 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3445 * converter.C (convert): fix a crash: this function gets
3446 called with buffer == 0 from importer code.
3448 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3450 * text3.C (cursorPrevious): make sure that we do not compare
3451 iterators form different containers.
3454 * rowpainter.C (paintSelection): make sure that we do not compare
3455 iterators from different containers.
3457 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3458 iterators from different ParagraphList containers.
3461 * text2.C (LyXText): change order of initialization slightly
3462 (operator=): new function. copy all variables except cache_par_
3463 (moveUp): make sure that we do not compare iterators from
3464 different ParagraphList constainers.
3467 * text.C (firstPar): new function
3468 (lastPar): new function
3469 (endPar): new function
3471 * lyxtext.h: move things around and group public functions, public
3472 variables, private functions, private variables
3474 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3476 * factory.C: change call to InsetERT constructor to avoid
3477 additional invocation of method status
3478 * text2.C (toggleInset): remove redundant update() call
3479 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3480 instead of a Bufferview pointer
3482 2003-11-21 André Pönitz <poenitz@gmx.net>
3484 * rowpainter.C: simplification
3486 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3488 * text3.C (dispatch): make possible to extend a word/row selection
3491 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3493 * lyxtext.h: x0_,y0_ -> xo_,yo_
3494 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3495 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3496 * rowpainter.C (paintRows): paint full paragraphs
3498 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3500 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3503 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3505 * lyxtext.h: add x0_, y0_
3506 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3507 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3509 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3511 * text2.C (setCursorIntern): move the x_target update here *
3512 * text3.C: change some bv() to true/false in calls to
3513 cursorUp/Down/Right/Left
3514 * cursor.C: use helper function.
3516 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3518 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3519 * paragraph_funcs.[Ch]: correct comment
3520 * rowpainter.C: do not paint selections away from bv->cursor()
3521 Fix a long standing selection painting bug.
3522 * text3.C: generalize mouse-selection code to LyXTexts other that
3524 * textcursor.C: do not use y coords if we can use par offsets
3526 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3528 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3529 cursor position after e.g. inset insert)
3531 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3533 * lyxfind.C (replace): adjust to locking removal + some
3536 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3538 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3541 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3544 * output_docbook.C: XML sanitation: new layout
3545 parameters InnerTag and CommandDepth
3547 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3549 * BufferView_pimpl.C:
3551 * text3.C: Fix the insertion and modification of button-style
3554 2003-11-13 André Pönitz <poenitz@gmx.net>
3556 * InsetList.[Ch]: remove deleteLyXText
3558 * paragraph.[Ch]: cache beginOfBody position
3563 * text3.C: remove superfluous update() calls
3567 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3569 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3570 * BufferView.C (fitLockedInsetCursor): remove
3571 * cursor.[Ch] (getDim): add
3572 * text.C (getRowNearY): add faster version
3573 * text3.C: remove some update calls
3575 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3587 * text3.C: The Character Style /XML short element patch.
3589 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3592 * factory.C: Small step to solving 'unable to insert some insets'
3595 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3597 * cursor.[Ch] (updatePos): new function for updating the y
3598 position of the tip inset
3599 * bufferview_funcs.C (put_selection_at):
3600 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3602 2003-11-11 André Pönitz <poenitz@gmx.net>
3604 * text.C: remove big comment on invalid Paragraph pointers as it is
3607 2003-11-11 André Pönitz <poenitz@gmx.net>
3609 * text_funcs.[Ch]: merge with ...
3617 * Makefile.am: remove text_funcs.[Ch]
3619 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3621 * cursor.C (getPos): return absolute cached y coord
3623 * BufferView_pimpl.C (fitCursor): new simplistic code
3624 (workAreaDispatch): add a fitCursor call
3626 2003-11-10 André Pönitz <poenitz@gmx.net>
3629 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3631 2003-11-10 André Pönitz <poenitz@gmx.net>
3633 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3634 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3635 indicate that the cursor needs to leave an inset
3637 * lyxtext.h: remove inset locking
3639 * cursor.[Ch]: re-implement functionality provided by inset locking
3642 * BufferView_pimpl.[Ch]:
3644 * bufferview_funcs.[Ch]:
3656 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3658 * PosIterator.[Ch]: replace the stack with a vector, add inset
3660 * iterators.[C]: adjust
3662 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3664 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3666 * paragraph_funcs.C (readParToken): put the correct id in the
3667 error item, not the id of the top paragraph
3669 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3671 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3672 * bufferview_funcs.C (put_selection_at): use the above
3674 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3676 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3678 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3680 * output_linuxdoc.h:
3681 * output_plaintext.h:
3683 * output_docbook.h: add #include statements
3685 2003-11-05 José Matos <jamatos@lyx.org>
3687 * output_docbook.[Ch]:
3688 * output_latex.[Ch]:
3689 * output_linuxdoc.[Ch]:
3690 * output_plaintext.[Ch]: New files for output formats.
3691 * output.[Ch]: New file for helper functions.
3694 * paragraph_funcs.[Ch]: output functions moved to new files.
3696 * outputparams.h: rename of latexrunparams.h
3704 * paragraph_funcs.[Ch]:
3705 * paragraph_pimpl.[Ch]:
3706 * tabular.[Ch]: rename ascii to plaintext
3707 and LatexRunParams to OutputParams.
3709 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3711 * iterators.[Ch] (text): require bv argument
3712 * undo.C (recordUndo):
3713 * lyxfunc.C (dispatch):
3714 * bufferview_funcs.C (put_selection_at): adjust
3716 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3718 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3720 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3722 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3725 2003-11-04 André Pönitz <poenitz@gmx.net>
3727 * cursor.[Ch]: restructure
3730 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3732 * iterators.[Ch] (asCursor): remove
3734 * lfuns.h: remove LFUN_INSET_EDIT
3740 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3742 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3744 * lyxfind.[Ch]: complete overhaul
3745 * BufferView_pimpl.C:
3747 * paragraph.[Ch] (insert): add
3749 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3753 * text.C: remove dead spellcheck code
3755 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3757 * dispatchresult.h: add a val setter
3759 * cursor.C (dispatch): use a tempvar for data_[i]
3761 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3763 * PosIterator.[Ch]: compile fix
3765 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3767 * text.C (cursorPar): deactivate the cursor cache
3769 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3771 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3773 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * text3.C (dispatch): adjust for new DisptchResult semantics.
3777 * lyxfunc.C (dispatch): handle update when return from
3778 Cursor::dispatch, adjust for new DispatchResult semantics.
3780 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3781 DispatchResult(true) mean to not update. Add class functions for
3782 setting dispatched and update, as well as reading.
3784 * cursor.C (dispatch): don't handle update here
3786 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3789 * trans_mgr.C: adjust
3791 * paragraph_funcs.C (readParToken): exception safety
3793 * lyxvc.h: store the vcs pointer in a scoped_ptr
3796 * lyxsocket.C (serverCallback): exception safety
3798 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3800 * ispell.C (clone): make it return a auto_ptr
3802 * factory.C (createInset): exception safety
3803 (readInset): exception safety
3805 * bufferlist.C (newBuffer): exception safety
3807 * Thesaurus.C (Thesaurus): use initialization for aik_
3809 * MenuBackend.C (expandToc): exception safety.
3811 2003-11-03 André Pönitz <poenitz@gmx.net>
3815 * bufferview_funcs.C: remove getInsetFromId()
3818 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3824 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3826 * PosIterator.C (distance, advance): new
3827 * bufferview_funcs.[Ch] (put_selection_at): new
3828 * iterators.[Ch] (lockPath): new
3830 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3832 * iterators.[Ch] (asPosIterator): added
3833 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3834 * PosIterator.[Ch]: added
3836 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * cursor.C (dispatch):
3841 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3843 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3844 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3845 contructor, add a class function dispatched. Remove operator>=
3847 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * debug.C: only use the default constructor for debugstream
3852 * main.C (main): include debug.h and setup the lyxerr streambuf
3855 2003-10-31 José Matos <jamatos@lyx.org>
3857 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3859 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3860 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3861 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3862 * paragraph_pimpl.C (simpleTeXSpecialC):
3863 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3864 add LatexRunParams argument.
3866 * exporter.C (Export): change call accordingly.
3868 * latexrunparams.h: add new member to take care of the other backends.
3869 2003-10-30 José Matos <jamatos@lyx.org>
3871 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3872 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3873 factorise code for paragraph output.
3875 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3878 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3880 * text3.C (dispatch):
3881 * lyxfunc.C (dispatch):
3882 * cursor.C (dispatch):
3883 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3885 * dispatchresult.h: make the dispatch_result_t ctor explicit
3887 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3890 * buffer.C: small refactoring of docbook stuff
3892 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3897 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3900 operator dispatch_result_t, and operators for == != and >=
3902 * cursor.C (dispatch): adjust for operator dispatch_result_t
3903 removal. comment out call to update
3905 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3907 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3918 * dispatchresult.h: new file, DispatchResult broken out of
3921 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3923 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3925 * text.C (rowBreakPoint): put a hack inside #if 0
3927 2003-10-28 André Pönitz <poenitz@gmx.net>
3931 * paragraph_funcs.C:
3934 * text2.C: general cleanup (lots of small stuff)
3936 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3938 * text2.C (cursorEnd): simple fix to the "end key goes to one
3939 before the end on last row" bug
3941 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3943 * text.C (backspace): fix the "zombie characters"
3945 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3947 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3949 2003-10-27 André Pönitz <poenitz@gmx.net>
3951 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3953 * factory.C: handle new InsetPagebreak, InsetLine
3955 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3956 and move handling into new InsetPagebreak, InsetLine
3958 * BufferView_pimpl.C:
3960 * ParagraphParameters.C:
3961 * ParameterStruct.h:
3966 * paragraph_funcs.C:
3967 * paragraph_pimpl.C:
3973 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3976 * lyxrow_funcs.[Ch]:
3982 * text3.C: remove lastPos uses in favour of Row::endpos
3984 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3986 * undo.C (performUndoOrRedo): fix two crashes by setting a
3987 cursor by hand and reordering some calls. Use bv->lockInset instead
3988 of inset->edit because the latter loses cursor information
3990 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3992 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3994 (rowBreakPoint): fix width. change point to point + 1.
3995 Add a missing check.
3997 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4000 * lyxfunc.C: fix (at least partly) the problems
4001 with the Nav menu and headers inside branch insets
4004 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4006 * paragraph.C (getChar): add strong asserts
4008 * lyxrow_funcs.C (lastPos): remove hideous hack
4010 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4011 (fill): adjust to that (avoid an infinite loop)
4013 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4015 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4017 2003-10-23 André Pönitz <poenitz@gmx.net>
4019 * RowList_fwd.h: change list<> to vector<> to gain speed
4020 after suggestion from Alfredo
4022 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4024 * lyxtext.h: move the bidi stuff from here...
4027 * Bidi.[Ch]: ... to here
4029 2003-10-23 André Pönitz <poenitz@gmx.net>
4032 * text.C (isLastRow, isFirstRow): new functions
4034 * paragraph.h: new width cache member
4036 * rowpainter.C: replace RowList::iterator with Row & where possible
4038 * lyxfunc.C: replace several view()->text with a single call
4040 * toc.C: fix 'unused' warning
4042 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4045 when woring with stream::pos_type
4046 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4048 2003-10-22 André Pönitz <poenitz@gmx.net>
4051 * text.C: use Row & instead of RowList::iterator
4053 * lyxrow.h: rename end() to endpos()
4059 2003-10-22 Angus Leeming <leeming@lyx.org>
4061 * buffer.[Ch] (fully_loaded): new member function, returning true
4062 only when the file has been loaded fully.
4063 Used to prevent the premature generation of previews and by the
4064 citation inset to prevent computation of the natbib-style label.
4066 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4067 templates are all set up.
4069 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4071 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4073 * text.C: fixed an "oops" in the "is a bit silly"
4076 2003-10-21 André Pönitz <poenitz@gmx.net>
4078 * FuncStatus.[Ch]: small stuff, whitespace
4080 * lyxfont.[Ch]: operator<<() for debug reasons
4084 * lyxtext.h: whitespace, spelling
4086 * paragraph.C: naming of variables
4089 * text2.C: small stuff
4092 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4094 * text.C: (1) finish off the inset display() work;
4095 (2) fix the "is a bit silly" bug (accessing char
4098 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4100 * text.C: re-introduce display() for insets, fixing the
4101 various bugs (stretch of line above, math inset
4104 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4106 * text.C (rightMargin): remove spurious semicolon
4108 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4111 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4113 * text3.C: fix one crash due to wrong cursor def
4115 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4117 * vc-backend.C (scanMaster): make the regex static
4119 * LaTeX.C (scanAuxFile): make the regexs static
4121 * text3.C (doInsertInset, dispatch, dispatch):
4122 * text2.C (cursorUp, cursorDown):
4123 * text.C (selectNextWordToSpellcheck):
4124 * BufferView_pimpl.C (dispatch):
4125 * lyxfunc.C (dispatch): localDispatch -> dispatch
4127 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4129 * lyxsocket.C: include <cerrno>
4131 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * lyxfunc.C (dispatch): remove textcache stuff
4135 * bufferlist.C (release): remove textcache stuff
4138 * TextCache.C: delete file
4139 * TextCache.h: delete file
4141 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4143 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4144 delete of the bv_->text.
4145 (resizeCurrentBuffer): remove texcache stuff
4146 (workAreaResize): ditto
4148 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4153 2003-10-16 André Pönitz <poenitz@gmx.net>
4160 * text3.C: speed up by storing y positions per paragraph plus per-row
4161 offset instead of having a 'full' y position in the row.
4163 2003-10-15 André Pönitz <poenitz@gmx.net>
4167 * undo.[Ch]: make undo aware of inner insets
4169 2003-10-14 Angus Leeming <leeming@lyx.org>
4171 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4172 static member functions LyX::ref() and LyX::cref.
4173 (lastfiles): new accessor functions for the new lastfiles_ member var.
4174 (addLyXView, views_): add a new LyXView to the list of views_.
4175 (updateInset): loop over all LyXViews to call their own updateInset
4176 member function, returning a pointer to the Buffer owning the inset.
4178 * BufferView_pimpl.C (loadLyXFile):
4179 * MenuBackend.C (expandLastfiles):
4180 * bufferlist.C (MenuWrite, QuitLyX):
4181 lastfiles is no longer a global variable.
4182 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4184 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4185 static function. Access through LyX::cref().emergencyCleanup().
4187 2003-10-14 André Pönitz <poenitz@gmx.net>
4189 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4191 * undo.[Ch]: restoring part of 'undo in insets'
4194 * undo_funcs.[Ch]: merge with undo.[Ch]
4196 * tabular.C: small cleansing stuff
4198 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4200 * paragraph_funcs.C (readParToken): report unknown insets as error
4201 boxes. Use the outer paragraph as location (also for unknown
4204 * factory.C (readInset): do not abort on reading an unknown inset.
4205 Eat it and return 0.
4207 2003-10-13 Angus Leeming <leeming@lyx.org>
4209 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4211 * lyxrc.C: displayTranslator is now a function,
4212 declared in GraphicsTypes.h.
4214 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4216 * format.C: new placeholder $$a to pass the socket address.
4218 * bufferlist.[Ch]: new function getBufferFromTmp.
4220 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4221 files in the temporary dir.
4223 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4225 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4227 * Makefile.am: add lyxsocket.[Ch].
4229 * lyx_main.C (error_handler): handle SIGPIPE.
4231 2003-10-13 André Pönitz <poenitz@gmx.net>
4233 * BufferView_pimpl.C:
4238 * undo_funcs.[Ch]: use paroffset_type instead of
4239 ParagraphList::iterators to prevent multiple conversion
4240 (and get a more robust interface)
4242 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4246 * text3.C (dispatch): ditto
4248 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4251 move the onlyfile, use onlyfile instead of foundfile in a couple
4254 * DepTable.C (update): flush the error stream a bit more
4256 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * lyxserver.C (callback): adjust
4260 * lyxfunc.C (getStatus): add a missing brace in commented code
4261 (ensureBufferClean): reindent
4262 (dispatch): delete version taking a string
4264 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * LaTeX.C (deplog): move found file handlig from here...
4267 (handleFoundFile): .. to new function here.
4268 (deplog): make sure to discover several files mentioned on the
4271 2003-10-10 André Pönitz <poenitz@gmx.net>
4278 * text3.C: fix some of the tabular crashes
4280 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4282 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4284 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4286 2003-10-09 André Pönitz <poenitz@gmx.net>
4288 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4291 * BufferView_pimpl.C:
4292 * bufferview_funcs.C:
4303 * undo_funcs.C: adjust
4305 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * text2.C (incrementItemDepth): new function, use a backtracking
4308 algorithm to discover the correct item depth.
4309 (resetEnumCounterIfNeeded): new function, use a backtracking
4310 algorithm to discover if counter reset is needed.
4311 (setCounter): use them. Simplify a bit. Add different labels for
4312 different item depths for itemize.
4314 * paragraph.C (Paragraph): remove initialization of enumdepth
4317 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4318 enumerate and itemize. Change the type of itemdepth to signed char.
4320 2003-10-08 André Pönitz <poenitz@gmx.net>
4322 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4327 * tabular.[Ch]: fix crash after 'row-insert'
4329 2003-10-08 Angus Leeming <leeming@lyx.org>
4331 Fix doxygen warnings.
4333 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4334 Remove CutAndPaste:: prefix from header file declaration.
4336 * LColor.h (fill): remove LColor:: prefix from declaration.
4338 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4339 use lyx::depth_type rather than Paragraph::depth_type so that
4340 header file and .C file match.
4342 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4344 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4345 * aspell.C: \file aspell_local.C -> \file aspell.C
4346 * gettext.C: \file gettext.C -> \file src/gettext.C
4347 * gettext.h: \file gettext.h -> \file src/gettext.h
4348 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4349 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4350 * text.C: \file text.C -> \file src/text.C
4352 * toc.C: move comment so that doxygen is not confused.
4354 2003-10-07 Angus Leeming <leeming@lyx.org>
4356 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4358 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4361 * aspell_local.h: add forgotten std::string's.
4363 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4370 * text3.C: The Box patch. Fancybox support, minipage, parbox
4372 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4378 * ParagraphParameters.h:
4388 * lyxtextclasslist.h:
4391 * paragraph_pimpl.C:
4392 * textcursor.h: add <string> and other small fixes to make Lars'
4393 std::string patch compile with STLport.
4395 2003-10-06 Angus Leeming <leeming@lyx.org>
4397 * LColor.h: Add missing #include <string>.
4399 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * All most all file in all subdirs: Make <string> be the prefered
4402 way of getting to std::string, add using declarations.
4404 2003-10-06 André Pönitz <poenitz@gmx.net>
4406 * metricsinfo.C: initialize LyXFont before changing attribute.
4407 (fixes the 'math in \emph is upright' bug)
4409 2003-10-06 André Pönitz <poenitz@gmx.net>
4411 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4413 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4416 * paragraph_pimpl.C: Small fixes to build using STLport
4418 2003-10-02 André Pönitz <poenitz@gmx.net>
4421 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4423 2003-10-01 André Pönitz <poenitz@gmx.net>
4425 * factory.C: assert early
4427 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * lyx_main.C: remove the global debug object
4431 * debug.h: adjust for new debugstream
4433 * debug.C: adjust for new debugstream and keep the global debug
4436 2003-09-22 Angus Leeming <leeming@lyx.org>
4438 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4439 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4440 an incomplete class LyXFont.
4442 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4444 * factory.C: bug fix in branches
4446 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * lyxfunc.C (processKeySym): adjust
4450 (dispatch): change arg name from ev to func, adjust
4451 (sendDispatchMessage): ditto
4453 * lyx_main.C (defaultKeyBindings): adjust keybindings
4454 (deadKeyBindings): ditto
4456 * kbsequence.C (addkey): return a FuncRequest
4458 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4460 * kbmap.C (bind): take a FuncRequest as arg, adjust
4463 (defkey): change to take a FuncRequest as arg, adjust
4464 (findbinding): take a FuncRequest as arg, adjust.
4466 * funcrequest.h (operator=): added
4468 * funcrequest.C (FuncRequest): default kb_action changed from
4469 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4471 * buffer.C (dispatch): simplify
4472 (dispatch): adjust to take a FuncRequest as arg, adjust
4474 * boost.C (assertion_failed): change assertion message slightly
4476 * ToolbarBackend.C (read): simplify
4478 * MenuBackend.C (binding): adjust call to findbinding, add a
4479 message if no binding is found.
4481 (expandToc): correct by adding a empty FuncRequest
4483 * LyXAction.C: include <boost/assert.hpp>
4484 (isPseudoAction): delete function
4485 (LookupFunc): change name to...
4486 (lookupFunc): this. change return type to FuncRequest.
4487 (getActionName): take kb_action as arg, simplify
4488 (funcHasFlag): add an assert, simplify.
4490 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * toc.C (action): return a FuncRequest, simplify
4494 * lyxfunc.C (processKeySym): adjust
4495 (getStatus): delete version that takes an int.
4497 (dispatch): delete version that takes action as int
4499 (sendDispatchMessage): simplify and adjust
4501 * funcrequest.C (getArg): take unsigned int as arg
4503 * ToolbarBackend.C (read): adjust
4504 (add): delete version that takes func as a string.
4505 (getIton): take a FuncRequest as arg
4507 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4510 * MenuBackend.C (MenuItem): add a new construct that only takes a
4511 Kind, simplify the constructor use for submenus.
4513 (expandLastfiles): adjust
4514 (expandDocuments): adjust
4515 (expandFormats): adjust
4516 (expandFloatListInsert): adjust
4517 (expandFloatInsert): adjust
4518 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4520 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4521 Remove class variables lyx_pseudo_map and lyx_arg_map
4523 * LyXAction.C (searchActionArg): delete function
4524 (getPseudoAction): delete function
4525 (retrieveActionArg): delete function
4526 (LookupFunc): make it return kb_action, simplify.
4527 (getActionName): simplify
4529 * factory.C (createInset): fix new bug
4531 2003-09-19 Angus Leeming <leeming@lyx.org>
4533 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4534 masterFilename_ parameter in the include inset.
4536 * factory.C (createInset): changes due to the changes to InsetInclude.
4538 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4540 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4542 2003-09-18 Angus Leeming <leeming@lyx.org>
4545 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4546 Inset::fillWithBibKeys.
4547 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4549 2003-09-18 Angus Leeming <leeming@lyx.org>
4551 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4553 (ctor): pass and store a 'Buffer const &'
4554 (buffer): new member function.
4556 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4557 '*this' to the LaTeXFeatures ctor.
4559 2003-09-18 Angus Leeming <leeming@lyx.org>
4565 * text.C: rename EnumLColor as LColor_color.
4567 2003-09-18 Angus Leeming <leeming@lyx.org>
4569 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4570 remove #include "insets/insetbase.h" from cursor.h.
4572 2003-09-18 Angus Leeming <leeming@lyx.org>
4574 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4575 InsetOld_code to remove #include "inset.h".
4577 * iterators.C: add #include "insets/inset.h"
4579 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4581 * BufferView.C: remove more locking stuff that apparently doesn't
4582 do anything sensible.
4584 2003-09-16 André Pönitz <poenitz@gmx.net>
4587 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4590 2003-09-16 Angus Leeming <leeming@lyx.org>
4592 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4594 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4597 * paragraph.h: remove #include "lyxfont.h". Forward declare
4600 2003-09-16 Angus Leeming <leeming@lyx.org>
4602 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4603 of support/textutils.h.
4604 (isWord): move the contents of support/textutils.h's IsWordChar here.
4610 * text2.C: add #include "paragraph.h".
4613 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4615 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * LaTeX.C: use namespace alias for lyx::support::os
4623 2003-09-16 Angus Leeming <leeming@lyx.org>
4626 * bufferview_funcs.C:
4629 * paragraph_pimpl.C:
4631 * text.C: add #include "LColor.h".
4633 2003-09-16 Angus Leeming <leeming@lyx.org>
4635 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4636 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4638 Store the FontBits::color variable as an int rather than as an
4639 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4642 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4643 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4644 string calls together.
4646 * lyxrc.C: add #include "LColor.h".
4648 2003-09-15 Angus Leeming <leeming@lyx.org>
4650 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4653 2003-09-15 Angus Leeming <leeming@lyx.org>
4655 * LColor.h: add an EnumLColor wrapper for LColor::color.
4657 * lyxfont.[Ch] (color, setColor, realColor):
4658 * lyxtext.h, text.C (backgroundColor):
4659 pass EnumLColor args to/from the functions, rather than LColor::color
4663 * lyxtext.h: forward declare EnumLColor.
4665 * lyx_main.C: add #include "LColor.h".
4667 2003-09-15 Angus Leeming <leeming@lyx.org>
4669 * .cvsignore: add lyx-gtk.
4671 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * ParagraphParameters.C
4680 * bufferview_funcs.C
4690 * vc-backend.C: remove usage of STRCONV
4692 2003-09-15 Angus Leeming <leeming@lyx.org>
4694 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4695 explicitly define the color passed to the painter.
4697 2003-09-15 Angus Leeming <leeming@lyx.org>
4699 * bufferparams.C (BufferParams): reorder member initializers to avoid
4702 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4704 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4705 * text.C (updateRowPositions): remove an unusual nop
4707 2003-09-12 André Pönitz <poenitz@gmx.net>
4709 * BufferView_pimpl.C:
4718 * Counters.[Ch]: finish the 'automatic counters' job
4720 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4722 * aspell.C: include <boost/assert.cpp> (compile fix)
4724 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4726 * boost.C (assertion_failed): use lyx::support::abort instead of
4729 2003-09-10 Angus Leeming <leeming@lyx.org>
4731 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4732 with their _fwd progeny.
4734 2003-09-09 Angus Leeming <leeming@lyx.org>
4736 134 files throughtout the source tree: replace 'using namespace abc;'
4737 directives with the appropriate 'using abc::xyz;' declarations.
4739 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4741 * boost.C (emergencyCleanup): moved here from LAssert.c
4742 (assertion_failed): new function, called by BOOST_ASSERT
4744 * several files: change Assert to BOOST_ASSERT
4746 2003-09-09 Angus Leeming <leeming@lyx.org>
4748 * buffer.[Ch]: Add an Impl class and move Buffer's member
4749 variables into it. As a result move several header files out of
4752 Add header files to lots of .C files all over the tree as a result.
4754 2003-09-09 Angus Leeming <leeming@lyx.org>
4756 * buffer.[Ch]: make Buffer's member variables private. Add
4759 Lots of changes all over the tree as a result.
4761 2003-09-08 Angus Leeming <leeming@lyx.org>
4763 * graph.C: #include <config.h>.
4765 2003-09-08 Angus Leeming <leeming@lyx.org>
4769 * BufferView_pimpl.C:
4798 * toc.C: remove redundant using directives.
4800 2003-09-07 Angus Leeming <leeming@lyx.org>
4802 * LaTeXFeatures.h: remove #include "support/types.h".
4803 * ToolbarBackend.h: remove #include <algorithm>.
4804 * changes.h: remove #include <ctime>.
4805 * debug.h: remove #include <iosfwd>.
4806 * graph.h: remove #include "support/std_string.h".
4807 * lyx_main.h: remove #include <csignal>.
4808 * lyxlex_pimpl.h: remove #include <fstream>.
4809 * sgml.h: remove #include <algorithm>, <utility>.
4810 * toc.h: remove #include "support/std_ostream.h".
4811 Add #include <iosfwd>.
4813 2003-09-07 Angus Leeming <leeming@lyx.org>
4815 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4817 * converter.h: forward declare LatexRunParams.
4818 * encoding.h: remove #include "lyxrc.h".
4819 * lyxtext.h: remove #include "LColor.h".
4820 * lyxtextclass.h: remove #include "support/types.h".
4821 * trans.h: remove #include "tex-accent.h".
4822 * trans_mgr.h: remove #include "tex-accent.h".
4823 * insets/inset.h: remove #include "support/types.h", <vector>.
4824 * insets/insetcollapsable.h: remove #include "LColor.h".
4825 * insets/insetinclude.h: remove #include "dimension.h".
4826 * insets/insetlatexaccent.h: remove #include "dimension.h".
4827 * insets/insetoptarg.h:: remove #include "insettext.h".
4828 * insets/insettext.h: remove #include "dimension.h",
4829 <boost/shared_ptr.hpp>
4831 * insets/renderers.h: add #include "dimension.h".
4832 * insets/updatableinset.h: add #include "support/types.h".
4834 * many .C files: Associated changes.
4836 2003-09-06 Angus Leeming <leeming@lyx.org>
4838 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4839 one, inside testInvariant.
4841 * PrinterParams.C: new file.
4842 * PrinterParams.[Ch]: move the function bodies out of line.
4844 2003-09-06 Angus Leeming <leeming@lyx.org>
4846 * ParagraphParameters.h: forward declare ParameterStruct rather than
4847 including its header file.
4848 (depth): moved out-of-line.
4850 2003-09-06 Angus Leeming <leeming@lyx.org>
4852 * BufferView_pimpl.h:
4855 * lyxfunc.h: forward declare LyXKeySym rather than
4856 #include "frontends/LyXKeySym.h".
4858 * BufferView_pimpl.C:
4861 * lyxfunc.C: associated changes.
4863 2003-09-06 Angus Leeming <leeming@lyx.org>
4865 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4866 As a result, can remove the #include "insets/inset.h" from BufferView.h
4868 2003-09-06 Angus Leeming <leeming@lyx.org>
4870 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4871 As a result, can remove the #include "insets/inset.h" from BufferView.h
4873 2003-09-06 Angus Leeming <leeming@lyx.org>
4879 * bufferview_funcs.C:
4880 * BufferView_pimpl.C:
4885 * ParagraphParameters.C:
4890 * frontends/controllers/ControlDocument.C:
4891 * insets/insetcaption.C: rearrange the #includes into some sort of
4894 * buffer.h: remove #includes ErrorList.h, undo.h
4896 2003-09-06 Angus Leeming <leeming@lyx.org>
4898 * support/types.h: add a 'depth_type' typedef, used to store the
4899 nesting depth of a paragraph.
4902 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4903 defining explicitly.
4906 * paragraph_funcs.h:
4907 * ParagraphParameters.h:
4908 * sgml.h: use lyx::depth_type rather than Paragraph or
4909 ParameterStruct's depth_type.
4912 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4915 * BufferView_pimpl.C:
4917 * ParagraphParameters.C:
4920 * bufferview_funcs.C:
4927 * frontends/LyXView.C:
4928 * frontends/controllers/ControlDocument.C:
4929 * frontends/controllers/ControlErrorList.C:
4930 * insets/insetbibitem.C:
4931 * insets/insetbranch.C:
4932 * insets/insetcaption.C:
4933 * insets/insetcollapsable.C:
4934 * insets/insetenv.C:
4935 * insets/insetert.C:
4936 * insets/insetfloat.C:
4937 * insets/insetfoot.C:
4938 * insets/insetfootlike.C:
4939 * insets/insetnewline.C:
4940 * insets/insetquotes.C:
4941 * insets/insettabular.C:
4942 * insets/insettext.C:
4943 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4945 * frontends/controllers/ControlChanges.C: #include "changes.h".
4947 2003-09-06 Angus Leeming <leeming@lyx.org>
4949 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4950 than #including paragraph.h.
4953 * RowList.h: deleted. Superfluous.
4963 * insets/insettext.h: use ParagraphList_fwd.h rather than
4966 * paragraph.h: don't forward declare ParagraphList.
4969 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4970 rather than ParagraphList.h. paragraph.h is still needed for the
4971 Paragraph::depth_type parameters.
4973 * textcursor.h: enable it to compile stand-alone in light of the
4976 * bufferview_funcs.C:
4988 * frontends/controllers/ControlParagraph.C:
4989 * frontends/controllers/ControlTabular.C:
4990 * insets/insetmarginal.C:
4991 * insets/insetminipage.C:
4992 * insets/insetnote.C:
4993 * insets/insetoptarg.C: add header files needed to compile again.
4995 2003-09-06 Angus Leeming <leeming@lyx.org>
4997 * RowList_fwd.h: new file, forward-declaring Row rather than
4998 #including lyxrow.h.
5003 * insets/insettext.h: use it instead of RowList.h
5005 * bufferview_funcs.C:
5012 * text3.C: #include "RowList.h".
5014 2003-09-05 Angus Leeming <leeming@lyx.org>
5016 * factory.C (createInset):
5017 * vspace.C (c-tor): replace sscanf call with an istringstream.
5018 * ispell.C: re-add missing HP/UX headers.
5019 * lyxserver.C: re-add missing os2 headers.
5021 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5030 * text3.C: re-add missing system headers, needed for 2.95.2.
5032 2003-09-05 Angus Leeming <leeming@lyx.org>
5034 Changes most place everywhere due to the removal of using directives
5035 from support/std_sstream.h.
5037 2003-09-05 Angus Leeming <leeming@lyx.org>
5039 Replace LString.h with support/std_string.h,
5040 Lsstream.h with support/std_sstream.h,
5041 support/LIstream.h with support/std_istream.h,
5042 support/LOstream.h with support/std_ostream.h.
5044 Changes resulting throughout the tree.
5046 2003-09-05 Angus Leeming <leeming@lyx.org>
5048 * sgml.h: ensure that the header file can be compiled stand-alone.
5049 * *.C: strip out redundant #includes. (320 in total.)
5051 2003-09-04 Angus Leeming <leeming@lyx.org>
5053 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5054 here (from getPackages).
5056 * debug.[Ch]: add a new EXTERNAL tag.
5058 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5060 * text2.C (cursorEnd): simplify
5062 (getColumnNearX): adjust
5064 * text.C (computeBidiTables): adjust
5067 * rowpainter.C (paintChars): adjust
5068 (paintSelection): adjust
5069 (paintChangeBar): adjust
5072 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5074 (numberOfSeparators): adjust
5076 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5082 * text3.C: Restricts the mouse click functionality
5083 of insets like bibtex, include, toc and floatlist to the visible
5084 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5085 up the dialogs. Cursor has to be in front of the inset (i.e.
5086 start of row) for this to function.
5088 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5090 * bufferview_funcs.C (currentState): output row information
5092 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5094 * bufferview_funcs.C (currentState): output paragraph position
5096 2003-09-04 Angus Leeming <leeming@lyx.org>
5098 * FloatList.h: move out #include "Floating.h".
5099 * LaTeX.h: move out #include "DepTable.h".
5100 * LyXAction.h: move out #include "funcrequest.h".
5101 * buffer.h: move out #include "author.h", "iterators.h".
5102 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5103 * lyx_main.h: move out #include "errorlist.h".
5104 * lyxfunc.h: move out #include "FuncStatus.h".
5105 * lyxtext: move out #include "lyxcursor.h".
5106 * paragraph_pimpl.h: move out #include "counters.h".
5108 2003-09-03 Angus Leeming <leeming@lyx.org>
5110 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5111 preamble_snippets list, enabling us to add snippets to the preamble
5112 only if the snippet was not there already.
5114 2003-09-04 Angus Leeming <leeming@lyx.org>
5116 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5118 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5123 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5125 * BranchList.C: point fix, earlier forgotten
5127 2003-09-02 Angus Leeming <leeming@lyx.org>
5129 * box.C (contains): renamed from 'contained' after a fantastic
5132 2003-09-02 John Levon <levon@movementarian.org>
5138 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5140 2003-09-02 John Levon <levon@movementarian.org>
5142 * text2.C: simplification of cursorEnd(), including partial
5145 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * buffer.C (readFile): add a space
5149 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5151 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5153 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5155 * buffer.C (readFile): new function, take a filename and a
5156 ParagraphList::iterator
5158 (readFile): adjust, make it private. don't use setStream, make
5159 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5160 always contain the filename.
5162 * BufferView.C (insertLyXFile): simplify and make it work for
5165 2003-08-30 John Levon <levon@movementarian.org>
5167 * Makefile.am: fix dist (from Kayvan)
5169 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * most files: change to use const Buffer refs
5173 2003-08-27 André Pönitz <poenitz@gmx.net>
5175 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5176 on top of ownerPar().
5178 2003-08-27 John Levon <levon@movementarian.org>
5180 * funcrequest.C: properly initialise POD members
5182 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5184 * lyxtext.h (top_y): move top_y from here
5189 * BufferView_pimpl.[Ch]: to here
5190 * frontends/screen.C:
5191 * insets/insettabular.C:
5192 * insets/insettext.C: adjust
5193 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5195 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5198 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5200 2003-08-26 André Pönitz <poenitz@gmx.net>
5202 * paragraph_func.[Ch] (outerPar): new function
5205 * paragraph_funcs.C:
5206 * paragraph_funcs.h:
5207 * paragraph_pimpl.C:
5208 * text2.C: remove Inset::par_owner
5210 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5215 * text2.C: eliminates the needFullRow/display() stuff
5216 altogether, putting the logic in metrics/draw in the insets.
5218 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5220 * text2.C (redoParagraphInternal, redoParagraphs):
5221 * text.C (redoParagraph): add a call to updateRowPositions at the
5222 end of each 'metrics-like' call. Remove all others.
5223 (getRow): remove the 'y-computing' version.
5224 (getRowNearY): do not compute nor return the real y. Solve the
5225 'y < 0' problem and simplify.
5227 2003-08-22 Angus Leeming <leeming@lyx.org>
5229 * *.[Ch]: clean-up of licence and author blurbs.
5230 Also move config.h out of a few .h files and into a few .C files.
5232 2003-08-22 André Pönitz <poenitz@gmx.net>
5234 * lyxrow.[Ch]: add x_ and *fill_ members
5239 * text2.C: adjust/remove prepareToPrint() calls
5241 2003-08-22 André Pönitz <poenitz@gmx.net>
5243 * lyxrow.[Ch]: add end_ member
5245 * lyxrow_funcs.C: use LyXRow::end_
5247 * lyxtext.h (singleWidth): add LyXFont parameter
5250 * text2.C: adjust LyXText::singleWidth() calls
5252 * text.C (redoParagraph): simplify row breaking logic
5255 2003-08-19 André Pönitz <poenitz@gmx.net>
5257 * funcrequest.C: initialize button_ member
5260 * rowpainter.[Ch]: interface consolidation
5262 2003-08-18 André Pönitz <poenitz@gmx.net>
5265 * BufferView_pimpl.C:
5267 * paragraph_funcs.C:
5269 * text3.C: remove LyXScreen::draw() and fitCursor calls
5271 * BranchList.h: remove spurious semicolons
5273 * MenuBackend.C: fix branchlist related crash
5275 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5283 * bufferparams.[Ch]:
5287 * text3.C: implements the 'branch inset'
5288 idea. This allows the output of various versions of a document
5289 from a single source version, selectively outputing or suppressing
5290 output of parts of the text.
5291 This implementation contains a 'branch list editor' in a separate
5292 tab of the document settings dialog. Branches are user definable
5293 and have a "display colour" to distinguish them on-screen.
5295 ColorHandler was somewhat cleaned up.
5296 (1) make possible a dynamically growing LColor list by allowing
5297 the graphic context cache to grow along (vector);
5298 (2) eliminate an IMHO unnecessary step in colour allocation.
5300 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5302 * BufferView_pimpl.C: compile fix
5304 2003-08-15 André Pönitz <poenitz@gmx.net>
5306 * rowpainter.C: remove extra metrics calls
5308 * lyxtext.h: merge the two constructors into a single one,
5309 pass reference to owner's par list
5311 * BufferView_pimpl.C:
5315 2003-08-15 André Pönitz <poenitz@gmx.net>
5317 * lyxrow_funcs.[Ch]:
5320 * paragraph_funcs.C:
5325 * text_funcs.C: split LyXText::rowlist_ into individual
5326 Paragraph::rows_ chunks
5329 * BufferView_pimpl.[Ch]:
5332 * text3.C: remove toggleSelection()
5334 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5336 * bufferlist.C: beautify two alerts (shorter text of buttons)
5337 * buffer.C: Remove redundant ' ' from message
5339 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5340 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5341 rename VALIGN_CENTER to VALIGN_MIDDLE
5343 2003-08-11 André Pönitz <poenitz@gmx.net>
5345 * lyxtext.h (getPar):
5346 * text.C: new function
5348 2003-08-11 André Pönitz <poenitz@gmx.net>
5351 * tracer.[Ch]: remove unneeded files
5353 * InsetList.[Ch]: remove resizeInsetsLyXText()
5358 * text3.C: merge insertParagraphs() and appendParagraph()
5359 remove breakAgain(), update()
5361 * BufferView_pimpl.[Ch]:
5362 * bufferview_funcs.[Ch]:
5366 * tabular.C: adjust after text & InsetList changes.
5368 2003-08-08 André Pönitz <poenitz@gmx.net>
5370 * text.C (insertChar, backspace): replace rowlist fiddling
5371 with rebreak of full par
5374 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5375 checkParagraph, updateInset): removed
5377 2003-08-07 André Pönitz <poenitz@gmx.net>
5380 * text3.C: merge some LFUN handlers, remove dead code
5382 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5384 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5386 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5388 * text2.C (DEPM): fix part of bug 1255 and 1256
5390 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5392 * BufferView_pimpl.C (workAreaDispatch): change to use
5393 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5394 that are no mouse related.
5396 2003-08-05 André Pönitz <poenitz@gmx.net>
5399 * BufferView_pimpl.[Ch]:
5400 * bufferview_funcs.C:
5402 * text3.C: rip out "deep update"
5404 * textcursor.[Ch] (last_sel_cursor): remove unused member
5406 2003-08-04 André Pönitz <poenitz@gmx.net>
5409 * BufferView_pimpl.[Ch]:
5410 * ParagraphParameters.C:
5411 * bufferview_funcs.C:
5417 * text3.C: replace "complicated" BufferView::update(...) calls with
5420 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5422 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5424 * Makefile.am (lyx_SOURCES): add paper.h
5426 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5428 * Makefile.am: move things around so that both lyx-qt and
5429 lyx-xforms can be built (according to --with-frontend). Then lyx
5430 is a symbolic link to lyx-[firstfrontend]
5432 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5434 * Always use std::endl with lyxerr
5436 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5438 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5440 2003-08-01 André Pönitz <poenitz@gmx.net>
5443 * BufferView_pimpl.[Ch]:
5445 * text3.C: merge BufferView::repaint() and BufferView::update()
5447 2003-08-01 José Matos <jamatos@lyx.org>
5449 * buffer.[Ch]: file_format is no longer a buffer data element.
5451 2003-08-01 André Pönitz <poenitz@gmx.net>
5456 * text2.C: make redoParagraph more independent of current cursor
5458 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5460 * text2.C: remove unneeded members
5462 2003-07-30 André Pönitz <poenitz@gmx.net>
5464 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5466 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5467 create a single function...
5469 * paragraph_funcs.C (moveItem): ... here.
5472 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5474 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5476 * LColor.[Ch]: Add comment and greyedout logical colors.
5478 2003-07-30 André Pönitz <poenitz@gmx.net>
5480 * tabular.C: don't use Assert too heavily. This crashes where it
5483 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5485 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5486 is disabled (bug 1232)
5488 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5490 * factory.C: limited 'arg' scope
5492 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5494 * factory.C: fixed Note submenu issues
5496 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5498 * factory.C: submenu for Note/Comment/Greyedout
5500 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5503 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5505 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5508 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5509 greyedout. Patch provided by Jürgen Spitzmüller.
5511 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5513 * kbmap.C (read): fix error message when reading bind files
5515 2003-07-29 Angus Leeming <leeming@lyx.org>
5517 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5518 certainly does not do what it purports to do. I am doing it, and
5519 us, a favour by killing it.
5521 2003-07-28 José Matos <jamatos@lyx.org>
5523 * buffer.C (readBody, do_writeFile):
5524 * paragraph.C(readParagraph): \end_document replaces \the_end.
5526 2003-07-29 André Pönitz <poenitz@gmx.net>
5529 * BufferView_pimpl.[Ch]:
5533 * textcursor.[Ch]: remove toggleToggle & Co
5535 2003-07-28 José Matos <jamatos@fep.up.pt>
5537 * buffer.C (readParagraph):
5538 * params_func (readParToken, readParagraph):
5539 * paragraph.C (write): \layout -> \begin_layout.
5541 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5543 * lyxlex_pimpl.C (setFile): clean up slightly.
5545 * bufferparams.h: add compressed var
5547 * buffer_funcs.C (readFile): adjust for LyXLex change
5548 (newFile): ditto + simplify
5550 * buffer.C (writeFile): handle writing of compressed files
5552 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5553 Check if the file is compressed and set a bufferparm if so.
5555 * Makefile.am (lyx_LDADD): remove explicit -lz
5557 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5559 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5560 makeDocBookFile): put the real LyX version in the first line of
5564 * version.C.in: remove lyx_docversion
5566 * tabular.C (write_attribute): add a template-based version to
5567 write enums properly
5569 2003-07-28 André Pönitz <poenitz@gmx.net>
5574 * text3.C: use doubles again for x-coordinates. They are needed.
5576 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5578 * messages.C (getLocaleDir): use lyx_localedir()
5580 * lyxlex_pimpl.C (setFile): compress stuff
5582 * buffer.C (writeFile): add some compression stuff
5583 (do_writeFile): new func, dont call expliti close... will this
5586 * Makefile.am (lyx_LDADD): add -lz
5588 2003-07-28 José Matos <jamatos@fep.up.pt>
5590 * buffer.C: increment file format.
5591 * paragraph_funcs (readParagraph, readParToken):
5592 * paragraph.C (readParagraph): add \end_layout.
5594 2003-07-27 Angus Leeming <leeming@lyx.org>
5596 * Makefile.am: remove special casing for configure-time setting of
5597 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5599 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5600 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5602 2003-07-26 André Pönitz <poenitz@gmx.net>
5604 * paragraph_func.[Ch]:
5605 * paragraph.C (realizeFont): inline it whereever it is used
5610 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5613 2003-07-26 André Pönitz <poenitz@gmx.net>
5617 * text2.C: get rid of LyXText::need_break_row
5619 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5621 * toc.[Ch]: put namespace toc inside namespace lyx
5623 * MenuBackend.C (expandToc2): adjust for lyx::toc
5626 * lyxfunc.C (dispatch): adjust for lyx::find
5628 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5629 lyx::find instead. Reorganize a bit.
5630 (LyXReplace): rename to replace
5631 (LyXFind): rename to find
5633 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5636 2003-07-26 André Pönitz <poenitz@gmx.net>
5638 * text.C (setHeightOfRow): restrict scope of temporary variable
5640 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5641 code (never has been used?)
5643 2003-07-27 Asger Alstrup <alstrup@local>
5645 * text.C (fill): Optimise algorithm to exploit that we can reuse
5646 the LyXFont for many characters.
5647 (setHeightOfRow): Same thing.
5648 (rowBreakPoint): Same thing.
5650 2003-07-26 Asger Alstrup <alstrup@local>
5652 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5654 * text.C (singleWidth): Spurious font copying in hot-spot
5655 singleWidth avoided. Reorder tests for arabic for efficiency.
5657 * text.C (fill): handle empty paragraphs better.
5659 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5662 * encoding.h: add includes
5664 * lyxrc.C: remove reading of bind files
5666 * lyx_main.C (init): setup bindings and menus only if we have a
5669 * kbmap.C (read): new method. Do the actual reading of bind
5672 * converter.C (dvipdfm_options):
5675 (output): adapt PAPER_* enums.
5677 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5679 * bufferparams.h: remove paper-related enums from there
5681 * paper.h: New file. A trivial header file to hold paper-related
5682 enums. It should later expand to contain many paper-related
5685 * lyxrc.C: declare extern displayTranslator
5687 2003-07-27 José Matos <jamatos@fep.up.pt>
5689 * tabular.[Ch] (linuxdoc): add support for tables and figures
5692 2003-07-27 José Matos <jamatos@fep.up.pt>
5694 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5695 consistency in both functions.
5696 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5698 2003-07-26 Asger Alstrup <alstrup@local>
5700 * rowpainter.C (paintRows): Change algorithm to work directly on
5701 the insets rather than asking every character in the document
5702 whether its an inset.
5704 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5706 * buffer.C (openFileWrite): factorize some code
5708 2003-07-26 Angus Leeming <leeming@lyx.org>
5711 * lyx_main.[Ch]: replace occurances of system_tempdir with
5714 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * rename Inset to InsetOld
5718 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5720 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5721 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5722 which I think is a bit clearer. EDIT is gone, since it was
5723 premature optimisation, and broken for mathed anyway.
5724 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5725 with cursor positioning in insets as well (math insets still do not
5726 work, but that's a different story anyway.) It mysteriously
5727 crashes sometimes with undo in the first paragraph, but I'm fairly
5728 confident that this is a compiler bug.
5730 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5732 * paragraph.C (Paragraph): adjust for new clone return type
5734 (copyIntoMinibuffer): ditto
5736 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5738 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5739 by not having a special case, and always doing a full rebreak of
5740 the document after undo.
5742 2003-07-23 Angus Leeming <leeming@lyx.org>
5744 * factory.C (createInset): InsetExternal::setParams now takes a
5747 2003-07-23 Angus Leeming <leeming@lyx.org>
5749 * factory.C (createInset): changed interface to the external and
5750 graphics mailers' string2params functions.
5752 2003-07-23 Angus Leeming <leeming@lyx.org>
5754 * factory.C (createInset): pass a
5755 Buffer const * parameter to InsetExternalMailer's string2params.
5757 2003-07-22 John Levon <levon@movementarian.org>
5759 * Thesaurus.h: include the right aiksaurus header
5761 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5763 * MenuBackend.C (expand): check menu shortcuts unconditionally
5765 2003-07-21 Angus Leeming <leeming@lyx.org>
5767 * factory.C (createInset): pass a
5768 buffer_path parameter to InsetGraphicsMailer's string2params.
5770 2003-07-21 Angus Leeming <leeming@lyx.org>
5772 * BufferView_pimpl.C (buffer):
5775 * lyxfunc.C (dispatch):
5776 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5777 rather than the grfx shortcut.
5779 2003-07-21 André Pönitz <poenitz@gmx.net>
5781 * rowpainter.C: remove unused variables
5784 * tabular_funcs.h: move to tabular.C
5785 * Makefile.am: adjust
5787 * tabular.[Ch]: basic optical cleaning
5789 * author.h: pass references, not values
5791 2003-07-18 André Pönitz <poenitz@gmx.net>
5799 * text3.C: two-phase drawing for InsetText and InsetTabular
5800 some float -> int changes.
5802 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5804 * lyx_main.C: fix the fix
5806 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5808 * lyx_main.C: fix a crash in batch mode if no files specified
5811 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5813 * format.[Ch] (papersize): moved to BufferParams
5814 * converter.[Ch] (dvips_options): moved to BufferParams
5815 (dvipdfm_options): moved to anon namespace
5816 * bufferparams.[Ch]: added above functions.
5818 2003-07-17 André Pönitz <poenitz@gmx.net>
5822 * text2.C: don't call inset->update() anymore
5824 * metricsinfo.[Ch]: add convenience constructor
5826 2003-07-16 André Pönitz <poenitz@gmx.net>
5831 * text2.C: replace the LyXCursor::irow_ member with
5832 on-demand computation of the value
5834 2003-07-16 John Levon <levon@movementarian.org>
5836 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5838 2003-07-15 André Pönitz <poenitz@gmx.net>
5841 * text2.C: remove no more needed refresh_row
5843 2003-07-15 André Pönitz <poenitz@gmx.net>
5848 * text3.C: refresh_status tristate -> need_update bool
5850 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5852 * lyxtext.h (init): remove reinit argument (act as if always true)
5853 * text2.C: adjust to that
5855 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5857 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5858 * text3.C: use it to delete selections in some cases
5859 (bugs 441, 673, 702, 954).
5861 2003-07-14 André Pönitz <poenitz@gmx.net>
5863 * rowpainter.[Ch]: reduce interface
5865 2003-07-14 André Pönitz <poenitz@gmx.net>
5867 * BufferView_pimpl.C:
5868 * text2.C: adjust after removing unused BufferView * argument
5870 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5872 * text2.C (init): fix a crash fired on resize
5874 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5876 * buffer.[Ch]: added new closing signal
5877 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5878 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5879 BufferView::Pimpl via the closing the signal
5881 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5883 * buffer.[Ch]: take out all bv-related from buffer
5885 * BufferView_pimpl.[Ch]: connect to new signals
5886 * CutAndPaste.C: removed useless asserts
5887 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5890 * lyxfunc.C: moved view-related funciontality from vc here
5891 * paragraph.C: removed outdated comments
5894 2003-07-10 André Pönitz <poenitz@gmx.net>
5896 * BufferView_pimpl.C:
5900 * text2.C: remove InsetText::InnerCache, clean up consequences
5902 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5904 * ispell.C: fix two typos in error messages
5906 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5908 * Extend Note inset to other forms of annotation like Comment
5909 and Greyedout. Right button click gives dialog.
5911 Files modified or added (+):
5915 * ControlNote.[Ch] +
5917 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5918 frontends/controllers
5922 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5924 * aspell.C: add missing namespace lyx::support
5926 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5928 * BufferView.[Ch] (newFile): Add
5929 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5930 * LaTeX.[Ch] (message): added this signal and use it
5931 * buffer.[Ch] (busy, message): added these signals and use them
5932 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5936 * importer.C: use buffer signals instead of direct bv calling
5937 * lyx_cb.[Ch] (ShowMessage): removed
5940 * paragraph_funcs.C:
5941 * text2.C: use buffer signals
5943 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * introduce namespace lyx::graphics
5947 2003-07-02 André Pönitz <poenitz@gmx.net>
5949 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5951 2003-07-01 André Pönitz <poenitz@gmx.net>
5958 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5959 text*.C to text_func.C
5961 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * introduce namespace lyx::support
5965 2003-06-30 André Pönitz <poenitz@gmx.net>
5970 * text.C: re-enable --with-included-string
5972 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5974 * textcursor.C: add <config.h>
5976 * text.C (getWord): remove const from word_location arg
5978 * lyxvc.C (getLogFile): fix const type order
5980 * lyxtext.h: remove const from word_location arg, add arg name
5982 * lyxlayout.h: currect type on labeltype.
5984 * importer.C: correct \file
5986 * converter.C (intToFormat): use std:: on ret val, ws changes
5988 * bufferlist.h: correct \file
5990 * buffer.C (makeLinuxDocFile): fix const type order
5991 (makeDocBookFile): ditto
5992 (fillWithBibKeys): use std:: on stdlib args.
5994 * CutAndPaste.C: fix authors.
5995 (availableSelections): use std:: on return vector
5997 2003-06-27 André Pönitz <poenitz@gmx.net>
5999 * BufferView_pimpl.C:
6000 * bufferview_funcs.C:
6008 * text3.C: remove LyXCursor::row_ member
6011 * text.C: rename fullRebreak() to partialRebreak() and implement
6012 a fullRebreak() that really bereks fully
6014 * textcursor.h: new struct for cursor-related data
6016 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6018 * lyx_main.C (LyX): get full path of document loaded on the
6021 2003-06-26 André Pönitz <poenitz@gmx.net>
6023 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6024 remove unused/broken operator>,<,>=.
6026 * text.C: remove only use of broken operator<= in an Assert().
6028 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6030 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6031 moved errorlist_.clear to showErrorList
6033 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6035 * converter.C (scanLog, runLaTeX):
6036 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6037 move the bv->showErrorList call to the callers
6038 * lyxfunc.C: i.e. here...
6040 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6041 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6042 namespace, the second to...
6043 * buffer_funcs (BufferFormat, parseErrors): added
6044 * errorlist.C (ErrorList(TeXErrors const &)): removed
6046 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6048 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6050 2003-06-24 "Garst R. Reese" <reese@isn.net>
6054 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6056 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6058 * version.C.in: change docversion to 1.4
6060 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6062 * buffer.C: fix a bug just introduced
6064 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6066 * buffer.[Ch]: added the parseError signal and use it, removed
6068 * BufferView.[Ch] (addError): moved to ...
6069 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6070 to the Buffer::parseError signal to catch (guess what) parse errors
6071 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6073 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6075 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6076 ability to create a buffer and to return an existing one from
6077 the list. Moved these functions to...
6078 * buffer_funcs.[Ch]: added
6079 * BufferView.[Ch] (loadLyXFile): added
6080 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6081 job removed from bufferlist::loadLyXFile.
6082 * buffer.C (setReadOnly): make it work without view
6083 (i.e added an if (users))
6085 2003-06-19 Angus Leeming <leeming@lyx.org>
6088 * LyXAction.C (init):
6089 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6090 with LFUN_DIALOG_SHOW <name> <data>.
6092 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6094 * CutAndPaste.C (availableSelections): small compilation fix for
6095 ancient (gcc 2.9x) compilers
6097 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * text3.C (cursorNext): add tmp var
6101 * text2.C (updateCounters): for function calling out of for clause
6102 (replaceSelectionWithString): ditto
6103 (insertStringAsParagraphs): ditto
6104 (getColumnNearX): add tmp var
6105 (setCursorFromCoordinates): add tmp var
6106 (cursorDownParagraph): add tmp var
6107 (deleteEmptyParagraphMechanism): add tmp var
6109 * text.C (insertChar): add tmp var
6111 * rowpainter.C (paintDepthBar): add tmp var
6113 * CutAndPaste.C (availableSelections): potentially check all
6114 paragraphs in a cut to fill the shown strings.
6116 2003-06-18 André Pönitz <poenitz@gmx.net>
6118 * kbmap.[Ch]: use vector<> instead of list<>
6120 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6122 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6123 pasteSelection with index
6125 * text2.C (pasteSelection): modify, call pasteSelection with index
6127 * paragraph.C (asString): reimplement version with no interval to
6128 call the one with interval.
6130 * lyxtext.h: add index arg to pasteSelection
6132 * MenuBackend.C (MenuItem): handle PasteRecent
6133 (Menu::read::Menutags): add md_pasterecent
6135 (expandPasteRecent): new function
6138 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6140 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6142 (availableSelections): new function
6144 2003-06-17 Angus Leeming <leeming@lyx.org>
6146 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6148 2003-06-17 Angus Leeming <leeming@lyx.org>
6151 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6153 * lyxfunc.C (dispatch): invoke it.
6155 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6157 * iterators.C (operator++, ParPosition): reintroduce some
6158 const_cast for the benefit of older compilers.
6160 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6162 * text3.C (dispatch): do not modify clipboard when doing
6163 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6164 LFUN_DELETE_SKIP on a selection selection
6166 2003-06-16 André Pönitz <poenitz@gmx.net>
6172 * tabular.[Ch]: IU of clone() and getLabelList();
6174 2003-06-13 André Pönitz <poenitz@gmx.net>
6176 * tabular.h: compactification
6178 2003-06-12 André Pönitz <poenitz@gmx.net>
6182 * tabular_funcs.h: some renaming plus whitespace
6184 2003-06-12 André Pönitz <poenitz@gmx.net>
6187 * BufferView_pimpl.C:
6193 * toc.C: Return a Paragraph & for ParIterator::operator*()
6195 2003-06-11 John Levon <levon@movementarian.org>
6199 * ToolbarBackend.C: add "Toolbars" section and
6202 2003-06-10 Angus Leeming <leeming@lyx.org>
6205 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6207 * lyxfunc.C (dispatch): invoke it.
6209 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6211 * main.C: protect <ios> with HAVE_IOS
6212 (main): protect sync_with_stdio with HAVE_IOS
6214 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6216 * text2.C (cutSelection): adjust
6217 (pasteSelection): adjust
6219 * messages.C: handle get of empty string
6221 * main.C (main): use sync_with_stdio(false)
6223 * lyxfunc.C (dispatch): adjust
6225 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6226 (WriteAs): remove unneeded BufferView arg.
6228 * bufferparams.h: use correct types on papersize, papersize2 and
6231 * bufferparams.C (readToken): adjust for type
6232 (writeLaTeX): add missing cases to switch.
6234 * bufferlist.C (quitWriteBuffer): adjust
6237 * buffer.C (asciiParagraph): remove some commented code.
6239 * CutAndPaste.C: remove current_view extern variable.
6240 (cutSelection): add BufferParams arg.
6241 (eraseSelection): add BufferParams arg.
6242 (pasteSelection): add Buffer const & arg
6244 2003-06-07 John Levon <levon@movementarian.org>
6247 * paragraph_funcs.C:
6248 * paragraph_pimpl.C:
6252 * paragraph.C: allow InsetERT to freely space lines,
6253 and some consolidation of code
6255 2003-06-06 José Matos <jamatos@fep.up.pt>
6257 * buffer.C (makeDocBookFile): fix bug #821
6259 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6261 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6263 2003-06-04 Angus Leeming <leeming@lyx.org>
6265 * buffer.C: bump format to 224.
6267 2003-06-05 André Pönitz <poenitz@gmx.net>
6269 * text2.C (redoParagraphs): remove two const_cast<>
6271 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6273 * ParagraphList.h: remove last remnants of NO_STD_LIST
6275 2003-06-03 Angus Leeming <leeming@lyx.org>
6277 * factory.C (createInset): small change to the way InsetExternal's params
6280 2003-06-04 André Pönitz <poenitz@gmx.net>
6282 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6284 * paragraph_pimpl.h:
6285 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6287 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6289 * undo_funcs.C: make some simple cases of undo work again
6291 2003-06-03 John Levon <levon@movementarian.org>
6293 * ispell.C: HPUX doesn't have sys/select.h
6296 2003-06-03 John Levon <levon@movementarian.org>
6298 * CutAndPaste.C: update tabular and include inset
6303 * paragraph.C: remove owningBuffer(), don't pass Buffer
6306 * factory.C: insetGraphicsParams changed
6308 2003-06-02 John Levon <levon@movementarian.org>
6314 * text3.C: remove insetparent
6316 2003-06-02 John Levon <levon@movementarian.org>
6319 * buffer.C: fix inset_iterator.end(), move out of line
6322 2003-06-01 John Levon <levon@movementarian.org>
6324 * text3.C: use a proper cut/paste when doing inset
6325 insert (from Jürgen Spitzmüller)
6327 2003-06-01 John Levon <levon@movementarian.org>
6329 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6331 2003-05-30 André Pönitz <poenitz@gmx.net>
6333 * rowpainter.C: unify second drawing phase
6335 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6337 * trans_mgr.C: remove one case of current_view
6339 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6341 * paragraph_funcs.h: remove paragraph.h include
6343 * paragraph.h: delete NO_STD_LIST stuff
6345 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6347 * buffer.h: remove paragraph.h include
6349 * ParagraphList.C: delete file
6351 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6353 * toc.C (getTocList): adjust
6355 * paragraph_pimpl.C (validate): adjust
6357 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6359 * paragraph.C (Paragraph): adjust
6360 (getPositionOfInset): use const_iterator, adjust
6361 (bibitem): use const_iterator, adjust
6362 (setInsetOwner): adjust
6364 * iterators.C (operator++): adjust
6366 * InsetList.[Ch]: Replace selfmade iterator with standard
6367 vector::iterator also introduce const_iterator. Remove getPos,
6368 getInset and setInset from InsetTable. Adjust accordingly.
6370 * BufferView.C (lockInset): adjust
6371 (ChangeInsets): adjust
6373 * tabular.[Ch]: delete commented same_id functions
6375 2003-05-28 John Levon <levon@movementarian.org>
6377 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6379 2003-05-28 André Pönitz <poenitz@gmx.net>
6381 * metricsinfo.[Ch]: remove 'fullredraw' member
6383 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6385 * lyxtextclass.C (operator): remove caching.
6387 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6391 * text2.C (cursorBottom): adjust
6392 (setCounter): use ParagraphList::find, adjust
6394 * text.C (workWidth): use ParagraphList::find, adjust
6396 * lyxcursor.C (LyXCursor): adjust
6398 * buffer.C (inset_iterator): adjust
6400 * ParagraphList.h: make iterator(value_type) private, make
6401 ParagraphList a friend of iterator.
6403 * ParagraphList.C (find): new function
6405 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6407 2003-05-27 André Pönitz <poenitz@gmx.net>
6409 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6411 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6413 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6415 2003-05-26 John Levon <levon@movementarian.org>
6417 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6419 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6421 * remove same_id from function signatures, adjust.
6423 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6425 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6427 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6429 * paragraph.C (Paragraph): get rid of same_ids parameter
6431 * ParagraphList.C (insert): adjust
6434 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6436 * paragraph_funcs.C (breakParagraph): adjust
6437 (breakParagraphConservative): adjust
6439 * buffer.C (readParagraph): adjust
6441 * ParagraphList.C (insert): take a reference instead of a pointer
6444 * paragraph.[Ch] (id): new function
6446 * bufferlist.C (newFile): adjust
6448 * ParagraphList.C (ParagraphList): adjust
6450 (push_back): take a reference instead of a pointer.
6452 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6454 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6457 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6458 set else use old code.
6460 * ParagraphList.C: remove all NO_NEXT code and only compile this
6461 code of NO_STD_LIST is set.
6463 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6465 * BufferView_pimpl.C:
6475 * graphics/GraphicsConverter.C:
6476 * graphics/PreviewLoader.C: header adjustment
6478 2003-05-23 Angus Leeming <leeming@lyx.org>
6480 * LaTeXFeatures.[Ch] (useBabel): new method.
6481 * bufferparams.C (writeLaTeX): use it.
6483 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6485 * ParagraphList.h (set): remove unused function.
6487 2003-05-23 André Pönitz <poenitz@gmx.net>
6490 * BufferView_pimpl.C:
6494 * undo_funcs.C: setUndo reworked
6496 * iterators.[Ch]: add access to topmost ParagraphList
6498 * lyxtext.[Ch] (workWidth): add a const
6500 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6502 * texrow.[Ch] (increasePos): remove function
6503 * exporter.C (export): removed unused var and outdated comment
6505 2003-05-23 Angus Leeming <leeming@lyx.org>
6507 * latexrunparams.h: rename fragile as moving_arg.
6508 * paragraph.C (simpleTeXOnePar): ditto.
6509 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6511 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6515 (textUndoOrRedo): comment out a currently unused var.
6517 * paragraph.h (NO_NEXT): enable NO_NEXT
6519 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6521 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6523 * exporter.C (Export): adjust for removeAutoInsets removal.
6525 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6527 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6529 * BufferView.[Ch] (removeAutoInsets): delete function
6531 2003-05-22 Angus Leeming <leeming@lyx.org>
6533 * latexrunparams.h: add a free_spacing variable.
6535 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6536 to pass moving_arg, as the data is stored in runparams.fragile.
6538 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6539 to Inset::latexOptional or to simpleTeXOnePar.
6541 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6542 free_spacing arg to Inset::latexOptional.
6544 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6547 2003-05-22 Angus Leeming <leeming@lyx.org>
6549 * latexrunparams.h: add fragile and use_babel variables.
6551 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6552 * buffer.C (makeLaTeXFile): store this returned value in
6553 runparams.use_babel, thus passing it to the inset::latex methods.
6555 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6556 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6558 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6559 longer has a fragile arg, as it is stored in runparams.fragile.
6561 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6562 moving_arg parameter as the data is stored in runparams.fragile.
6564 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6565 a fragile parameter as the data is stored in runparams.fragile.
6567 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6569 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6571 2003-05-22 Angus Leeming <leeming@lyx.org>
6573 * latexrunparams.h: add a 'bool nice' which defaults to false.
6575 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6576 now encapsulated within runparams.
6578 * bufferlist.C (updateIncludedTeXfiles):
6579 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6581 2003-05-22 Angus Leeming <leeming@lyx.org>
6583 * latexrunparams.h: new file containing struct LatexRunParams.
6584 * Makefile.am: add new file.
6586 * LaTeX.[Ch] (c-tor, run):
6587 * buffer.[Ch] (makeLaTeXFile):
6588 * bufferlist.[Ch] (updateIncludedTeXfiles):
6589 * converter.C (convert, scanLog):
6590 * converter.[Ch] (runLaTeX):
6591 * exporter.C (Export):
6592 * paragraph.[Ch] (simpleTeXOnePar):
6593 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6594 * paragraph_funcs.[Ch] (latexParagraphs):
6595 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6596 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6597 pass around a LatexRunParams parameter.
6599 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6601 * paragraph.[Ch]: remove unused constructor
6603 * ParagraphList.C (erase): new function, taking two iterators
6605 2003-05-22 André Pönitz <poenitz@gmx.net>
6607 * undo_funcs.C: remove duplicated code
6609 * iterator.[Ch]: operator=
6611 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6613 * tabular.C (SetMultiColumn): ws changes
6615 * rowpainter.C (paintFirst): get rid of a ->previous
6617 * lyx_cb.C (getPossibleLabel): parlist simplification
6619 * BufferView.C (ChangeInsets): simplify slightly.
6621 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6623 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6624 * lfuns.h: new LFUN_SPACE
6625 * lyxfunc.C: protected space has a new lfun
6626 * paragraph_funcs.C: read new space insets
6628 * factory.C: handle new space insets
6630 2003-05-22 André Pönitz <poenitz@gmx.net>
6633 * BufferView_pimpl.C:
6636 * undo_funcs.C: return a ParIterator from getParFromID.
6638 * iterators.[Ch]: add two const's
6640 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6642 * toc.C (getTocList): adjust
6644 * iterators.[Ch]: rework for parlist
6646 * buffer.C (par_iterator_begin): adjust
6647 (par_iterator_end): adjust
6649 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6651 * BufferView.C (removeAutoInsets): adjust
6652 (ChangeInsets): adjust
6654 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6656 * text.C (top_y): fix bug 1110
6658 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6660 * errorlist.[Ch]: added
6663 * BufferView_pimpl.C:
6664 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6667 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6669 * Makefile.am: ensure that lyx is relinked upon changes to the
6670 various "convenience" libs.
6672 2003-05-20 Angus Leeming <leeming@lyx.org>
6674 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6675 files are compiled in alphabetical order again.
6677 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6679 2003-05-19 Angus Leeming <leeming@lyx.org>
6681 * gettext.[Ch]: remove "char const * _(char const *)".
6683 2003-05-19 André Pönitz <poenitz@gmx.net>
6685 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6694 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6696 2003-05-19 André Pönitz <poenitz@gmx.net>
6700 * lyxtextclass.[Ch]:
6702 * paragraph_funcs.[Ch]:
6704 * text3.C: more insetenv work
6706 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6708 * ParagraphParameters.C (params2string): small bug fixed
6710 2003-05-16 André Pönitz <poenitz@gmx.net>
6713 * bufferview_funcs.C: patch from Kornel Benko to prevent
6714 crash when _(...) is called twice in a statement
6716 2003-05-16 André Pönitz <poenitz@gmx.net>
6723 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6725 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6727 * lyx_main.C (init): remove spurious static_cast
6729 2003-05-14 André Pönitz <poenitz@gmx.net>
6731 * BufferView.C: fix format string
6733 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6735 * BufferView.[Ch] (insertErrors): removed
6736 * BufferView.[Ch] (showErrorList): added
6737 * buffer.C (runChkTeX):
6738 * converter.C (scanLog): call showErrorList instead of inserterrors
6740 2003-05-13 André Pönitz <poenitz@gmx.net>
6742 * BufferView_pimpl.C:
6744 * bufferview_func.C:
6751 * tabular_funcs.h: tostr() from its own header
6753 * ParagraphParameters.C:
6758 * text3.C: STRCONV()
6760 2003-05-12 André Pönitz <poenitz@gmx.net>
6763 * BufferView_pimpl.C:
6767 * ParagraphParameters.C:
6771 * bufferview_funcs.C:
6784 * paragraph_funcs.C:
6788 * text3.C: boost::format -> bformat all over the place
6791 2003-05-09 André Pönitz <poenitz@gmx.net>
6793 * LColor.[Ch]: Pimpl the #include <map> away
6795 2003-05-09 John Levon <levon@movementarian.org>
6797 * bufferlist.C: never remove emergency saves
6799 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6801 * Makefile.am: better lib building
6803 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6805 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6807 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6808 (simpleTeXSpecialChars): adjust
6809 (simpleTeXSpecialChars): adjust
6810 * paragraph.C (simpleTeXOnePar): adjust
6811 * buffer.C (makeLaTeXFile): adjust
6813 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6815 * text2.C (changeDepth): parlist cleanup
6816 (getColumnNearX): ditto
6818 * rowpainter.C (getLabelFont): parlist cleanup
6820 * bufferlist.C (newFile): parlist cleanup
6822 * CutAndPaste.C (eraseSelection): parlist cleanup
6824 * BufferView_pimpl.C (trackChanges): parlist cleanup
6827 * BufferView.C (lockInset): parlist cleanup.
6828 (ChangeInsets): ditto
6830 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * CutAndPaste.h: Update file header.
6834 * CutAndPaste.C: Update file header.
6835 Store the parts cut out of the Document in a limited_stack.
6836 (copySelection): adjust
6837 (pasteSelection): new function, takes the index in the limited stack.
6838 (nrOfParagraphs): adjust
6839 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6840 simplify error inset insertion.
6841 (checkPastePossible): adjust
6843 2003-05-06 John Levon <levon@movementarian.org>
6845 * text2.C: don't cast wrap inset to float
6847 2003-05-05 André Pönitz <poenitz@gmx.net>
6850 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6852 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6853 few naked Paragraph *.
6855 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6857 * bufferparams.C: Output warning if a document with missing
6858 TeX document class is loaded
6859 * exporter.C: Disable TeX exports if the document class is missing
6862 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6863 isTeXClassAvailable()
6865 2003-05-03 John Levon <levon@movementarian.org>
6868 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6869 explicit cursor show/hide
6871 * BufferView_pimpl.h:
6872 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6873 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6875 * lyxfunc.C: hide cursor before dispatching.
6880 * text3.C: remove explicit cursor hides
6882 2003-05-02 André Pönitz <poenitz@gmx.net>
6884 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6887 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6890 * text2.C: tiny whitespace
6892 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6894 * undo_funcs.C: almost only ws changes.
6896 * ParagraphList.C (splice): just return if pl is empty.
6898 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6900 * ParagraphList.C (splice): new function.
6902 * CutAndPaste.C (pasteSelection): use it
6904 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6906 * CutAndPaste.C (pasteSelection): remove the last next and
6907 previous from this file.
6909 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6911 * CutAndPaste.C (pasteSelection): more clean up, user proper
6912 ParagraphList functions for pasteing.
6914 * ParagraphList.C (insert): new function, three arg insert
6916 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * ParagraphList.C (insert): new function, three arg insert
6920 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6923 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6927 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6931 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6933 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6934 (copySelection): clean up a bit.
6935 (pasteSelection): use make_pair
6937 * ParagraphList.C (ParagraphList): implement copy constructor
6938 (operator=): implement, base on copy constructor.
6941 * paragraph.C (erase): return a bool
6943 * paragraph_pimpl.C (erasePos): remove function, move contents...
6944 (erase): ... here. Return a bool.
6945 (erase): call erase instead of erasePos.
6947 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6949 * ParagraphList.h: define PitPosPair
6950 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6951 ParagraphList, fix a bug on pasting multiple pars
6952 * text2.C: change interface to C&P
6954 2003-04-30 André Pönitz <poenitz@gmx.net>
6956 * undo_func.C: revert part of yesterday's patch 2
6958 2003-04-30 John Levon <levon@movementarian.org>
6960 * LColor.C: s/tabular/table/
6962 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6964 * text3.C (dispatch): do not convert iterator -> pointer
6965 * undo_funcs.C (setCursorParUndo): ditto
6966 * text_funcs.C (transposeChars): ditto
6968 * text2.C (setLayout): ws changes only
6970 * text.C (breakParagraph): do not convert iterator -> pointer
6972 (acceptChange): ditto
6973 (rejectChange): ditto
6978 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6981 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6983 * text3.C (gotoInset): YABG (yet another bad getChar)
6985 2003-04-29 André Pönitz <poenitz@gmx.net>
6987 * paragraph.h: make operator= private unimplemented as long as
6990 * ParagraphList.C: whitespace
6993 * paragraph_pimpl.[Ch]:
6994 * paragraph_funcs.C:
6996 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6999 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7001 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7003 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7004 * paragraph.[Ch] (erase):
7005 * paragraph_pimpl.[Ch] (erase): change return type and value
7006 * text2.C (cutSelection): some rework
7008 2003-04-28 John Levon <levon@movementarian.org>
7010 * bufferlist.C: changes for unsaved changes dialog
7012 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7014 * bufferlist.C (newFile): set language (messages_) for new
7017 * buffer.C (readFile): ws changes only.
7019 2003-04-28 André Pönitz <poenitz@gmx.net>
7024 * BufferView_pimpl.C:
7025 * BufferView.C: getParFromID related ParagraphList::iterator changes
7027 2003-04-28 André Pönitz <poenitz@gmx.net>
7029 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7032 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7034 * messages.C: remove one more localedir class variable.
7036 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7038 * messages.C (getLocaleDir): singleton generation function
7040 (Messages): add a default constructor.
7042 * main.C (main): do not setup localedir here, do not call
7045 * gettext.C (_): use it.
7046 (gettext_init): delete funciton
7048 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * gettext.C (getLyXMessages): new singleton generating function.
7052 * buffer.C (updateDocLang): adjust
7054 * Makefile.am (messages.o): add target
7055 (main.o): remove target
7057 2003-04-27 John Levon <levon@movementarian.org>
7062 * lyxvc.C: specify cancel button in Alert::prompt
7064 2003-04-26 John Levon <levon@movementarian.org>
7069 * LyXAction.C: add LFUN_INSET_SETTINGS
7071 * lyxfunc.C: don't enable tabular-feature when there's
7072 just any locking inset
7074 2003-04-26 John Levon <levon@movementarian.org>
7076 * bufferlist.C: re-add Cancel to buffer close question
7078 * lyxfunc.C: fix import UI a bit
7080 2003-04-25 John Levon <levon@movementarian.org>
7082 * gettext.C: remove the broken asserts for now
7084 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * messages.C: make case where setlocale cannot comply work better.
7088 * buffer.C (updateDocLang): new function
7089 (changeLanguage): use it
7092 * text2.C (setCounter): use B_ a bit.
7094 * lyxlayout.C (Read): be sure to trim the label strings.
7096 * messages.C (Messages): fix typo in comment
7098 * buffer.C (readFile): set message_ after file is loaded.
7099 (makeDocBookFile): remove double return
7100 (changeLanguage): reset message_ upon language change.
7101 (B_): new func, use this to get translated buffer strings.
7103 * main.C: add myself and Jean Marc as authors.
7105 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * messages.[hC]: pimplify Messages, and three different pimpls to be
7108 used in different circumstances.
7110 * gettext.[Ch]: change for use with new message code.
7112 2003-04-24 André Pönitz <poenitz@gmx.net>
7114 * factory.C: support for eqref
7116 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * messages.[Ch]: add missing char
7120 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7122 * messages.[Ch]: New files
7124 2003-04-18 John Levon <levon@movementarian.org>
7128 * BufferView_pimpl.C:
7132 * text2.C: remove layout-copy/paste (bug 778)
7134 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7136 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7138 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7140 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7141 if they succeed. Act accordingly.
7143 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7145 * text2.C (setCharFont): adjust
7146 (setCounter): adjust
7147 (insertStringAsLines): adjust
7149 * text.C (leftMargin): adjust
7150 (setHeightOfRow): adjust
7152 * rowpainter.C (paintFirst): adjust
7155 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7157 (isFirstInSequence): ditto
7158 (getEndLabel): ditto
7161 * paragraph.C (getParLanguage): comment out some hard stuff.
7163 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7165 (simpleDocBookOnePar): ditto
7166 (makeDocBookFile): use ParagraphList::iterator
7168 * CutAndPaste.C (pasteSelection): adjust
7170 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7172 * text2.C (getFont): adjust
7173 (getLayoutFont): adjust
7174 (getLabelFont): adjust
7176 * paragraph_funcs.C (TeXOnePar): adjust
7178 * buffer.C (simpleLinuxDocOnePar): adjust
7179 (simpleDocBookOnePar): adjust
7181 * CutAndPaste.C (pasteSelection): adjust
7183 * BufferView.C (getEncoding): adjust
7185 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7187 2003-04-16 John Levon <levon@movementarian.org>
7189 * lyxfind.C: use parlist stuff for search/changes
7191 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7193 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7195 * text2.C (deleteEmptyParagraphMechanism): adjust
7197 * text2.[Ch] (ownerParagraph): delete func (both of them
7199 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7203 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7205 * ParagraphList.C: prepare for NO_NEXT
7207 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7209 * text2.C (getFont): adjust
7210 (getLayoutFont): adjust
7211 (getLabelFont): adjust
7213 * paragraph.C (getFont): adjust
7214 (getLabelFont): adjust
7215 (getLayoutFont): adjust
7217 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7219 2003-04-15 John Levon <levon@movementarian.org>
7223 * lyx_main.C: handle Include in .ui files
7225 2003-04-15 John Levon <levon@movementarian.org>
7227 * MenuBackend.C: make the doc files length shorter
7230 * ToolbarBackend.C: handle toolbar placement flags,
7233 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7235 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7238 * paragraph_funcs.C (TeXOnePar): adjust
7240 * paragraph.C (getLabelFont): add outerfont arg, adjust
7241 (getLayoutFont): ditto
7242 (simpleTeXOnePar): adjust
7244 * paragraph_pimpl.C (realizeFont): delete func
7246 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7248 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7249 row argument, constify cur argument.
7251 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7253 * text2.C (getFont): adjust
7254 (getLayoutFont): adjust
7255 (getLabelFont): adjust
7257 * paragraph_funcs.C (TeXOnePar): adjust
7258 (outerFont): new func...
7259 (realizeFont): ...moved out from here, changed this to facilitate
7262 * paragraph.C (getFont): take outerfont as arg, adjust
7263 (simpleTeXOnePar): add outerfont arg, adjust
7265 * buffer.C (simpleLinuxDocOnePar): adjust
7266 (simpleDocBookOnePar): adjust
7268 * CutAndPaste.C (pasteSelection): adjust
7270 * BufferView.C (getEncoding): adjust
7272 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * text2.C (setCharFont): adjust
7275 (setCounter): adjust
7277 * text.C (leftMargin): adjust
7278 (setHeightOfRow): adjust
7280 * rowpainter.C (paintFirst): adjust
7283 * paragraph_pimpl.C (realizeFont): adjust
7285 * paragraph.C (isFirstInSequence): move from here...
7286 * paragraph_funcs.C (isFirstInSequence): ...to here
7288 * paragraph.C (outerHook): move from here...
7289 * paragraph_funcs.C (outerHook): ...to here
7291 * paragraph.C (depthHook): move from here...
7292 * paragraph_funcs.C (depthHook): ...to here
7294 * paragraph.C (getEndLabel): move from here...
7295 * paragraph_funcs.C (getEndLabel): ...to here
7297 * text2.C (realizeFont): move from here...
7298 * paragraph_funcs.C (realizeFont): ...to here
7300 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7304 2003-04-14 Angus Leeming <leeming@lyx.org>
7306 * LColor.[Ch]: scrap LColor mathcursor.
7308 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * lyxlex.[Ch] (text): delete function
7311 * trans.C (Load): adjust
7312 * paragraph_funcs.C (readParToken): adjust
7314 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7316 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7317 vector<char> instead of a char[].
7319 * lyxlex_pimpl.C (getString): adjust
7321 (lex): use getString
7325 * lyxlex.C (text): use pimpl_->getString()
7329 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7332 (makeFontEntriesLayoutSpecific): temp var for par.size()
7333 (setLayout): temp var for ownerParagraphs().end()
7334 (fullRebreak): temp var for rows().end()
7335 (selectionAsString): temp var for boost::next(startpit), realize
7336 that the while really is a regular for loop.
7337 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7338 setCursor in one place.
7339 (setParagraph): temp vr for ownerParagraphs().end()
7340 (updateCounters): make the while loop a for loop
7341 (cutSelection): temp var for ownerParagraphs().end()
7342 (updateInset): make the do {} while() a regular for loop
7343 (getCursorX): use temp vars
7344 (setCurrentFont): use temp vars
7345 (getColumnNearX): use temp vars
7347 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * text.C (transformChar): use temp var for getChar
7350 (computeBidiTables): use temp var for row->par()
7351 (fill): move temp vars for row->par() and pit->layout() earlier in
7353 (labelFill): use temp var for row->par()
7354 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7355 asc and desc, realize that pit never changes and that firstpit is
7356 just a duplicate and not needed. Exchange rit->par() with pit in a
7358 (breakAgain): use a temp var for boost::next(rit)
7359 (breakAgainOneRow): ditto
7360 (breakParagraph): use a temp var for rows().begin()
7361 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7362 (cursorRightOneWord): use temp var for cursor.par() and
7363 cursor.pos(), remove usage of tmpcursor.
7364 (cursorLeftOneWord): use temp var for cursor.par() and
7365 cursor.pos() only set cur at end of function.
7367 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7369 * text.C, text2.C: exchange all usage of Paragraph::next with
7370 boost::next(ParagraphList::iterator)
7372 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7374 * text2.C (cursorTop): simplify implementation
7375 (cursorBottom): ditto
7376 (setParagraph): use ParagraphList::iterator
7377 (setCurrentFont): adjust
7378 (getColumnNearX): adjust
7379 (cursorRight): adjust
7380 (cursorLeft): remove usage of Paragraph::previous
7381 (cursorUpParagraph): ditto
7382 (deleteEmptyParagraphMechanism): slight cleanup
7384 * text.C (isBoundary): take a Paragraph const & instead of a
7386 (addressBreakPoint): ditto
7387 (leftMargin): remove usage of Paragraph::previous.
7388 (setHeightOfRow): ditto
7389 (cursorLeftOneWord): ditto
7390 (selectNextWordToSpellcheck): ditto
7393 (breakParagraph): remove one usage of Paragraph::next
7394 (redoParagraph): ditto
7395 (acceptChange): ditto
7396 (insertChar): adjust
7397 (rowBreakPoint): adjust
7399 * bufferview_funcs.C (toggleAndShow): adjust
7401 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7403 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7404 methods to access it.
7406 * text.C: Added updateRowPositions to compute all row positions.
7407 Make top_y and getRowNearY() to use the cached y position
7409 2003-04-11 John Levon <levon@movementarian.org>
7411 * text.C (rowBreakPoint): reintroduce the labelEnd
7412 checks, code copied from the row fill stuff. Deep voodoo.
7414 * text.C (fill): add a comment and debugging for the
7417 2003-04-11 John Levon <levon@movementarian.org>
7419 * text.C: make sure fullrow insets get wrapped to the next line,
7420 even when they're in a manual label
7422 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7424 * text2.C (insertParagraph): make it take ParagraphList::iterator
7426 (setLayout): make it return ParagraphList::iterator
7427 (redoParagraphs): ditto
7429 (checkParagraph): ditto
7431 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7433 * text2.C: adjust several funcs.
7434 (realizeFont): take a ParagraphList::iterator as arg.
7435 (getLayoutFont): ditto
7436 (getLabelFont): ditto
7437 (setCharFont): ditto
7439 * text.C: adjust several funcs.
7441 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7443 * text.C (selectNextWordToSpellcheck): don't accidentally
7446 2003-04-10 John Levon <levon@movementarian.org>
7448 * ToolbarBackend.C (getIcon): special handling for
7451 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7453 * text2.C (cursorRight): a getChar assert fixed
7455 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7457 * text2.C (getFont): change to take a ParagraphList::iterator
7458 instead of Paragraph*
7459 Adjust several functions.
7461 * text.C (transformChar): change to take a ParagraphList::iterator
7462 instead of Paragraph*
7463 (singleWidth): ditto
7464 Adjust several functions.
7466 * rowpainter.C: adjust several functions
7467 * rowpainter.h:store a ParagraphList::iterator and not a
7471 2003-04-09 John Levon <levon@movementarian.org>
7476 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7477 and the "help" bits as well
7479 2003-04-09 John Levon <levon@movementarian.org>
7482 * ToolbarBackend.C: allow multiple toolbars
7484 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * undo_funcs.C (setCursorParUndo): adjust
7488 * text_funcs.C (transposeChars): adjust
7490 * text3.C (gotoNextInset): adjust
7493 * text2.C (setLayout): adjust
7494 (changeDepth): adjust
7496 (redoParagraphs): adjust
7497 (selectionAsString): adjust
7498 (setParagraph): adjust
7499 (insertInset): adjust
7500 (cutSelection): adjust
7501 (copySelection): adjust
7502 (pasteSelection): adjust
7503 (insertStringAsLines): adjust
7504 (updateInset): adjust
7505 (setCursor): change to take a ParagraphList::iterator parameter
7506 (setCursorIntern): change to take a ParagraphList::iterator parameter
7507 (setCurrentFont): adjust
7508 (cursorLeft): adjust
7509 (cursorRight): adjust
7510 (deleteEmptyParagraphMechanism): adjust
7512 * text.C (breakParagraph): adjust
7513 (insertChar): adjust
7514 (acceptChange): adjust
7515 (rejectChange): adjust
7516 (selectNextWordToSpellcheck): adjust
7517 (changeCase): adjust
7521 * lyxfind.C (SearchForward): adjust
7522 (SearchBackward): adjust
7523 (nextChange): adjust
7525 * lyxcursor.C (par): adjust
7527 * lyxcursor.h: store a ParagraphList::iterator instead of a
7530 * lyx_cb.C (getPossibleLabel): adjust
7532 * bufferview_funcs.C (toggleAndShow): adjust
7534 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7537 * BufferView.C (removeAutoInsets): adjust
7538 (lockedInsetStoreUndo): adjust
7540 2003-04-09 John Levon <levon@movementarian.org>
7542 * ToolbarBackend.C: try icon without argument
7543 if with argument fails
7545 2003-04-08 John Levon <levon@movementarian.org>
7548 * ToolbarBackend.C: add getIcon(), handle tooltip,
7549 and change from "Icon" to "Item".
7551 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7553 * BufferView.C (lockInset): another bad getchar crunched
7555 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7557 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7560 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7562 * lyxfind.C (searchForward, searchBackwards): bug 782
7564 2003-04-07 John Levon <levon@movementarian.org>
7566 * paragraph.C: remove dead comment
7568 * text.C: remove troublesome depth-fiddling code
7569 in leftMargin() and rightMargin() (bug 1017)
7571 * text.C: fix breaking of rows in nested lists
7574 * text2.C (updateCounters): fix up depth values
7577 2003-04-07 John Levon <levon@movementarian.org>
7579 * BufferView_pimpl.C: clear message when doc finishes resizing,
7580 and after a mouse event
7582 * lyxfunc.C: clear message after exiting inset
7584 2003-04-07 John Levon <levon@movementarian.org>
7586 * bufferview_funcs.C: show math status not outside
7587 status in the statusbar
7589 2003-04-07 John Levon <levon@movementarian.org>
7591 * lyxfunc.C: note status changed after a depth change
7593 2003-04-04 Angus Leeming <leeming@lyx.org>
7595 * LaTeX.h: move AuxInfo operator==, != out of line.
7596 Remove LaTeX virtual destructor; nothing derives from it.
7597 Move operator()() out of public area and rename it startscript().
7598 Change protected for private.
7600 2003-04-04 Angus Leeming <leeming@lyx.org>
7603 * text2.C: remove unneeded #includes.
7605 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7607 * text2.C (dEPM): fix the heigth of the next row
7609 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7611 * text.C: squashed an invalid getChar requester + some ws changes
7613 2003-04-03 John Levon <levon@movementarian.org>
7615 * bufferview_funcs.h:
7616 * bufferview_funcs.C:
7619 * text2.C: make getStatus work for the env depth lfuns
7621 2003-04-03 John Levon <levon@movementarian.org>
7623 * bufferview_funcs.h:
7624 * bufferview_funcs.C:
7627 * text2.C: parlistize decDepth(), by merging it with incDepth()
7629 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7631 * lyxrow.h: store a ParagraphList::iterator instead of a
7632 Paragraph* and adjust other class functions to suit.
7634 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7637 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7639 * text2.C (setCursor): do not anchor to cursor row for the time being
7641 2003-04-02 John Levon <levon@movementarian.org>
7648 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7650 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7652 * paragraph.h: make ParagraphList and ParagraphList::iterator
7653 friends of Paragraph.
7655 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7657 * ParagraphList.C: Use the private next_ and previous_ from
7660 2003-04-01 John Levon <levon@movementarian.org>
7664 * Makefile.am: rename, remove defaults gunk
7667 * MenuBackend.C: remove defaults gunk
7670 * Languages.C: remove defaults gunk
7673 * lyx_main.C: error out if files couldn't be found.
7675 2003-04-02 John Levon <levon@movementarian.org>
7677 * text2.C: make incDepth() use parlist
7679 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7681 * undo_funcs.C (firstUndoParagraph): adjust
7683 * text3.C (gotoInset): adjust
7684 (dispatch): adjust, and rewrite loop.
7686 * text2.C (init): adjust, and rewrite loop.
7687 (redoParagraphs): adjust
7688 (updateInset): adjust, and rewrite loop.
7689 (deleteEmptyParagraphMechanism): adjust
7691 * tabular.C (LyXTabular): adjust
7692 (SetMultiColumn): adjust
7695 * lyxtext.[Ch] (ownerParagraph): delete function
7696 (ownerParagraphs): new function returns a ParagraphList.
7698 * BufferView.C (removeAutoInsets): adjust
7699 (insertErrors): adjust
7700 (setCursorFromRow): adjust
7702 2003-04-01 Angus Leeming <leeming@lyx.org>
7704 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7707 2003-04-02 John Levon <levon@movementarian.org>
7713 * text_funcs.C: make transposeChars a free function
7715 * lyxrow_funcs.C: remove wrong comment
7717 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7720 * rowpainter.C: adjust
7725 * lyxrow_funcs. [Ch]: new files
7727 * lyxrow.[Ch]: remove next and previous pointers
7728 (next,previous): remove accessor functions
7729 (isParEnd): move to lyxrow_funcs
7730 (lastPos): move to lyxrow_funcs
7731 (nextRowIsAllInset): move to lyxrow_funcs
7732 (lastPrintablePos): move to lyxrow_funcs
7733 (numberOfSeparators): move to lyxrow_funcs
7734 (numberOfHfills): move to lyxrow_funcs
7735 (numberOfLabelHfills): move to lyxrow_funcs
7736 (hfillExpansion): move to lyxrow_funcs
7740 * bufferview_funcs.C (toggleAndShow): adjust
7742 * RowList.h: Remove class RowList from file leave just a
7745 * RowList.C: delete file
7747 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7750 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * text3.C (cursorPrevious): adjust
7753 (cursorNext): adjust
7756 * text2.C (redoHeightOfParagraph): adjust
7757 (redoDrawingOfParagraph): adjust
7760 * text.C (breakParagraph): adjust
7761 (insertChar): adjust
7764 * rowpainter.C (RowPainter): adjust
7765 (leftMargin): simplify and adjust
7766 (most rowpainter functions): adjust.
7768 * rowpainter.h: store the row as RowList::iterator not as Row*
7770 * lyxcursor.C (row): taka RowList::iterator as arg
7773 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7776 2003-04-01 Angus Leeming <leeming@lyx.org>
7778 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7779 stuff like bool Bool.
7781 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7783 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7786 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7788 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7791 * lyxtext.h (rows): drop one version and leve a const variant that
7792 returns a RowList::iterator.
7794 2003-03-31 Angus Leeming <leeming@lyx.org>
7796 * text.C (fill): ensure that the signature is the same as that in the
7799 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7801 * text2.C (redoParagraphs): adjust
7802 (updateCounters): adjust
7803 (checkParagraph): adjust
7804 (getColumnNearX): adjust and reformat a bit.
7806 * text.C (top_y): adjust
7808 (leftMargin): adjust
7809 (prepareToPrint): adjust
7811 (getRowNearY): adjust
7813 * lyxtext.h: make rowlist_ mutable.
7815 * RowList.h: add const_iterator
7816 * RowList.C: adjust for RowList::const_iterator.
7818 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7821 2003-03-31 John Levon <levon@movementarian.org>
7824 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7826 * lyx_main.C: set default fonts from using lyx_gui funcs
7828 * exporter.C: pdf_mode moved from lyxrc
7831 * lyxfunc.C: changes from above
7833 2003-03-31 John Levon <levon@movementarian.org>
7835 * lyx_main.C: fix to the last fix
7837 2003-03-31 John Levon <levon@movementarian.org>
7839 * bufferlist.C: "Load original" -> "Load Original"
7845 * format.C: more Alert cleanups
7847 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7849 * text2.C (removeParagraph): make it take a RowList::iterator as
7851 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7852 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7854 * text.C (anchor_row): make it take a RowList::iterator as arg,
7856 (computeBidiTables): make it take a const reference to Row instead
7857 of Row pointer, adjust.
7858 (leftMargin): make it take a RowList::iterator as arg, adjust.
7859 (rowBreakPoint): adjust
7860 (breakAgainOneRow): make it take a RowList::iterator as arg,
7862 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7864 * bufferview_funcs.C (toggleAndShow): adjust
7866 2003-03-30 John Levon <levon@movementarian.org>
7870 * boost-inst.C: moved to support
7872 * several files: changes as a result
7874 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7876 * text2.C (LyXText): adjust.
7878 (removeRow): make it take a RowList::iterator as arg, adjust.
7879 (fullRebreak): adjust
7880 (deleteEmptyParagraphMechanism): adjust
7881 (clearPaint): adjust
7884 * text.C (top_y): adjust
7885 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7886 (breakAgain): make it take a RowList::iterator as arg, adjust.
7887 (breakParagraph): adjust
7888 (insertChar): adjust
7891 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7892 need_break_row, and refresh_row.
7894 * text3.C (dispatch): adjust
7896 * text2.C (checkParagraph): adjust
7898 (setCursorFromCoordinates): adjust
7900 * text.C (top_y): adjust
7902 (getRow): make it return a RowList::iterator, adjust
7903 (getRowNearY): make it return a RowList::iterator, adjust
7905 * text2.C (init): adjust
7906 (insertRow): remove function
7907 (insertParagraph): adjust
7908 (redoParagraphs): adjust
7909 (fullRebreak): adjust
7910 (updateCounters): adjust
7912 * text.C (top_y): rewrite to use RowList iterators.
7914 (setHeightOfRow): rewrite to sue RowList iterators.
7915 (appendParagraph): adjust
7916 (breakAgain): adjust
7917 (breakAgainOneRow): adjust
7918 (breakParagraph): adjust
7920 (getRowNearY): adjust, and remove commented code.
7922 * lyxtext.h (firstRow): delete function
7923 (lastRow): delete function
7924 (rows): new function (const and non-const versions.)
7925 (insertRow): delete function
7927 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7929 2003-03-29 John Levon <levon@movementarian.org>
7931 * BufferView_pimpl.C: always update scrollbar top
7932 because pasting text when we're anchored could mean we
7933 miss an update altogether
7935 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7937 * text2.C (init): use rowlist_.end() and not 0.
7938 (insertRow): change to take a RowList::iterator as arg, adjust
7940 (insertParagraph): change to take a RowList::iterator as arg,
7942 (redoParagraphs): remove some debug msgs.
7944 * text.C (appendParagraph): change to take a RowList::iterator
7945 arg, adjust for this.
7946 (breakAgain): add an assert
7947 (breakAgainOneRow): ditto
7949 2003-03-29 John Levon <levon@movementarian.org>
7951 * text2.C: do not clear selection after inc/decDepth
7954 2003-03-29 John Levon <levon@movementarian.org>
7957 * buffer.C: fix broken strerrors according to Lars
7959 2003-03-29 John Levon <levon@movementarian.org>
7961 * converters.C: more Alert cleanups
7963 2003-03-29 John Levon <levon@movementarian.org>
7965 * bufferview_funcs.C: remove pointless Alert
7967 * buffer.C: fix confusing error message when
7968 a template is chmoded 000
7970 2003-03-29 John Levon <levon@movementarian.org>
7974 * BufferView_pimpl.C: Alert fixes
7978 * tabular-old.C: remove unused table compat reading
7980 2003-03-29 John Levon <levon@movementarian.org>
7985 * lyx_cb.C: more Alert cleanups
7987 * lyxfunc.C: don't allow chktex if not latex document
7989 2003-03-29 John Levon <levon@movementarian.org>
7993 * buffer.C: warnings pushed down from support/,
7996 2003-03-29 John Levon <levon@movementarian.org>
7998 * lyxfunc.C: safety check for C-r (revert)
8000 2003-03-29 John Levon <levon@movementarian.org>
8003 * bufferlist.C: several UI fixes using Alert::prompt.
8004 Fix the pointless looping quit code. Fix stupid revert
8009 * lyx_cb.C: use Alert::prompt
8011 * lyx_main.C: remove a silly question
8013 * lyxfunc.C: remove a couple of silly questions,
8016 2003-03-28 John Levon <levon@movementarian.org>
8018 * text2.C: fix bug 974 (End on empty par)
8020 2003-03-28 John Levon <levon@movementarian.org>
8022 * BufferView_pimpl.C:
8024 * lfuns.h: remove do-nothing math greek lfuns
8026 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * lyxgluelength.h (isValidGlueLength): add default arg on
8029 parameter 2. Remove default arg from friend in class.
8031 * lyxlength.h (isValidLength): add default arg on parameter 2.
8032 Remove default arg from friend in class.
8034 * text2.C (LyXText): adjust, initialize refresh_row.
8038 (insertParagraph): adjst
8039 (redoParagraphs): adjust
8040 (fullRebreak): adjust
8041 (updateCounters): adjust
8042 (deleteEmptyParagraphMechanism): first attempt at fixing a
8045 * text.C (top_y): adjust
8046 (setHeightOfRow): adjust
8048 (getRowNearY): adjust
8050 * lyxtext.h: include RowList.h
8051 (~LyXText): not needed anymore, deleted.
8052 (firstRow): modify for RowList
8053 (lastRow): new function
8054 Delete firstrow and lastrow class variables, add a Rowlist
8055 rowlist_ class variable.
8057 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8060 * RowList.C (insert): fix case where it == begin().
8062 2003-03-26 Angus Leeming <leeming@lyx.org>
8064 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8065 the thesaurus dialog.
8067 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8071 * RowList.[Ch]: new files
8073 * ParagraphList.C (erase): handle the case where it == begin
8076 2003-03-25 John Levon <levon@movementarian.org>
8080 * aspell.C: add new aspell support
8083 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8086 2003-03-25 Angus Leeming <leeming@lyx.org>
8089 * LyXAction.C (init): new LFUN_INSET_INSERT.
8091 * BufferView_pimpl.C (dispatch): split out part of the
8092 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8094 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8097 2003-03-25 Angus Leeming <leeming@lyx.org>
8099 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8101 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8104 * text3.C: remove useless row->height(0)
8106 2003-03-25 John Levon <levon@movementarian.org>
8110 * text3.C: rename the refreshing stuff to better names
8112 2003-03-24 John Levon <levon@movementarian.org>
8114 * BufferView_pimpl.h:
8115 * BufferView_pimpl.C: update layout choice on a mouse
8118 2003-03-23 John Levon <levon@movementarian.org>
8120 * Makefile.am: fix commandtags.h reference
8122 2003-03-22 John Levon <levon@movementarian.org>
8124 * BufferView_pimpl.C:
8129 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8131 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8134 * text.C: take the rtl methods out of line
8136 2003-03-21 André Pönitz <poenitz@gmx.net>
8138 * metricsinfo.[Ch]: new files containing structures to be passed around
8139 during the two-phase-drawing...
8141 2003-03-21 André Pönitz <poenitz@gmx.net>
8143 * lyxtextclass.C: read 'environment' tag.
8145 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8147 * text2.C (removeRow): fix bug 964
8149 2003-03-20 John Levon <levon@movementarian.org>
8153 * text2.C: paint cleanups. Inset::update() dropped font
8156 2003-03-19 John Levon <levon@movementarian.org>
8158 * lyxfunc.C: only fitcursor/markDirty if available()
8160 2003-03-19 John Levon <levon@movementarian.org>
8162 * commandtags.h: rename to ...
8164 * lfuns.h: ... this, and renumber / cleanup
8166 2003-03-19 John Levon <levon@movementarian.org>
8168 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8169 fit the cursor after an lfun
8173 * BufferView_pimpl.h:
8174 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8176 * LyXAction.C: layout-character should have ReadOnly
8178 * ParagraphParameters.C:
8180 * bufferview_funcs.C:
8187 * undo_funcs.C: changes from above
8189 2003-03-18 John Levon <levon@movementarian.org>
8191 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8192 remove it from update()
8194 * lyxfunc.C: update layout choice after an lfun
8196 * text3.C: remove extra updateLayoutChoice()s
8198 2003-03-18 John Levon <levon@movementarian.org>
8200 * text.C: top_y change means full repaint, fix
8201 a drawing bug with cursor movement
8203 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8207 * text2.C: anchor row on setCursor
8209 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8211 * lyxtext.h: remove almost all mutable keywords
8214 * text3.C: remove const keywords accordingly
8216 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8220 (TeXEnvironment): ditto
8223 2003-03-17 John Levon <levon@movementarian.org>
8225 * text.C (rowBreakPoint): remove attempt to fix displayed
8226 math insets inside a manual label
8228 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8230 * lyxtext.h: remove BufferView* as first arg from almost all class
8232 * other files: adjust.
8234 2003-03-17 John Levon <levon@movementarian.org>
8238 * text2.C: more paint cleanups
8240 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8243 * rowpainter.C: remove "smart" background painting code
8245 2003-03-16 John Levon <levon@movementarian.org>
8250 * text3.C: add helper functions for setting refresh_row/y
8252 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8254 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8255 newline inset which *can* get inserted in the pass_thru layouts.
8256 This is primarily for literate documents.
8258 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8260 * buffer.C: increment LYX_FORMAT to 223
8262 2003-03-14 André Pönitz <poenitz@gmx.net>
8264 * textclass.h: prepare for environment handling, ws changes
8265 * lyxlayout.C: read latexheader and latexfooter tags
8267 2003-03-14 John Levon <levon@movementarian.org>
8269 * text2.C: rewrite ::status() a bit
8271 2003-03-13 John Levon <levon@movementarian.org>
8273 * lyxtext.h: add some docs
8275 2003-03-13 John Levon <levon@movementarian.org>
8280 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8282 2003-03-13 John Levon <levon@movementarian.org>
8284 * text3.C: fix appendix redrawing
8286 2003-03-13 John Levon <levon@movementarian.org>
8288 * text.C (setHeightOfRow):
8290 * rowpainter.C: make appendix mark have the text
8291 "Appendix" so the user knows what it is
8294 * LColor.C: s/appendixline/appendix/ from above
8296 2003-03-13 John Levon <levon@movementarian.org>
8298 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8300 * text.C: fix a getChar(pos) bug properly
8302 2003-03-13 Angus Leeming <leeming@lyx.org>
8305 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8306 Probably only temporary. Let's see how things pan out.
8308 * BufferView.C (unlockInset):
8309 * BufferView_pimpl.C (fitCursor):
8310 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8312 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8313 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8315 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8316 new functions that convert ParagraphParameters to and from a string.
8318 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8319 BufferView::Pimpl's dispatch.
8320 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8322 2003-03-13 André Pönitz <poenitz@gmx.net>
8326 * factory.C: make it aware of InsetEnv
8328 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8330 * text2.C (setCursor): never ask for one past last
8331 (setCursor): add some debugging messages.
8333 * text.C (singleWidth): never ask for one past last
8334 (singleWidth): ditto
8336 (rightMargin): ditto
8337 (rowBreakPoint): ditto
8338 (setHeightOfRow): ditto
8339 (prepareToPrint): ditto
8341 * rowpainter.C (paintBackground): never ask for one past last
8342 (paintText): never ask for one past last
8344 * paragraph_pimpl.C (getChar): make the assert stricter, never
8345 allow the one past last pos to be taken
8347 * paragraph.C (getChar): ws changes only
8349 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8350 (numberOfSeparators): ditto
8351 (numberOfHfills): ditto
8353 2003-03-12 John Levon <levon@movementarian.org>
8359 * paragraph_funcs.C: fix per-buffer authorlists
8361 2003-03-12 John Levon <levon@movementarian.org>
8363 * text.C: fix newline in right address
8365 2003-03-12 Angus Leeming <leeming@lyx.org>
8367 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8368 duplicate those in LyXFunc::dispatch.
8372 * ToolbarDefaults.C:
8373 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8374 Add LFUN_FONTFREE_UPDATE.
8376 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8377 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8379 * bufferview_func.[Ch]: several new functions to facilliate
8380 transfer of data to and from the character dialog.
8382 2003-03-12 John Levon <levon@movementarian.org>
8387 * paragraph_funcs.C:
8388 * paragraph_pimpl.C:
8392 * text3.C: remove META_NEWLINE in favour of an inset
8395 * rowpainter.C: remove paintNewline (done by inset)
8397 2003-03-12 John Levon <levon@movementarian.org>
8399 * paragraph_pimpl.C: complain about bad getChar()s
8400 for a while at least
8402 2003-03-12 John Levon <levon@movementarian.org>
8405 * buffer.C: move paragraph read into a separate function,
8406 a little renaming to reflect that.
8409 * bufferparams.C: remove the author_ids map, not necessary now
8412 * factory.C: moved Buffer::readInset to here
8414 * paragraph_funcs.h:
8415 * paragraph_funcs.C: readParagraph free function moved from
8418 * tabular.C: name change
8420 2003-03-12 John Levon <levon@movementarian.org>
8423 * ParagraphParameters.C: move par params input to
8426 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8427 behave like a normal read from the stream wrt reading
8428 a line vs. a \\token
8430 2003-03-12 John Levon <levon@movementarian.org>
8433 * ParagraphParameters.h:
8434 * ParagraphParameters.C: move output code to a
8437 2003-03-12 John Levon <levon@movementarian.org>
8439 * BufferView.C (insertLyXFile):
8442 * tabular.C: use a parlist iterator for creating the
8445 2003-03-12 John Levon <levon@movementarian.org>
8447 * buffer.C: make current_change static local not
8450 2003-03-12 John Levon <levon@movementarian.org>
8452 * buffer.C: fix insertStringAsLines for change tracking
8454 2003-03-12 John Levon <levon@movementarian.org>
8461 * bufferparams.C: move author list into params. Rename some
8462 functions. Move the header reading into a separate token
8463 loop. Move the header token reading into BufferParams.
8465 2003-03-12 John Levon <levon@movementarian.org>
8467 * changes.C: put debug inside lyxerr.debugging() checks
8469 2003-03-11 André Pönitz <poenitz@gmx.net>
8471 * factory.C: make it aware of InsetHFill
8473 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8475 * buffer.C (latexParagraphs): move function from here...
8476 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8479 2003-03-10 Angus Leeming <leeming@lyx.org>
8481 * LyXAction.C (init): fix bug in poplating array with multiple entries
8482 with the same LFUN (spotted by JMarc).
8484 2003-03-10 John Levon <levon@movementarian.org>
8487 * text2.C: move getColumnNearX() near its
8490 2003-03-10 John Levon <levon@movementarian.org>
8492 * text.C: fix break before a minipage
8494 2003-03-10 John Levon <levon@movementarian.org>
8496 * text.C: fix the last commit
8498 2003-03-09 John Levon <levon@movementarian.org>
8502 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8503 bug 365 (don't break before insets unless needed). Don't
8504 return a value > last under any circumstances.
8506 2003-03-09 Angus Leeming <leeming@lyx.org>
8508 * BufferView_pimpl.C (trackChanges, dispatch): call
8509 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8511 2003-03-09 Angus Leeming <leeming@lyx.org>
8513 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8514 than Dialogs::showAboutlyx().
8516 2003-03-09 Angus Leeming <leeming@lyx.org>
8518 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8519 than Dialogs::showTabularCreate().
8521 2003-03-09 John Levon <levon@movementarian.org>
8525 * text2.C: 3rd arg to nextBreakPoint was always the same.
8528 2003-03-08 John Levon <levon@movementarian.org>
8535 * text2.C: Remove the "main" bit from the "main body"
8538 2003-03-08 John Levon <levon@movementarian.org>
8540 * text.C (leftMargin): The left margin of an empty
8541 manual label paragraph should not include the label width
8544 * text.C (prepareToPrint): don't attempt to measure hfills
8545 for empty manual label paragraphs - the answer should be 0
8547 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8549 * CutAndPaste.C: remove commented code and reindent.
8551 2003-03-08 John Levon <levon@movementarian.org>
8554 * lyxfunc.C: move reloadBuffer()
8557 * BufferView.C: to here
8559 * lyxvc.C: add comment
8562 * vc-backend.C: call bv->reload() to avoid
8563 getStatus() check on MENURELOAD
8565 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8567 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8568 to an old format .dep file.
8570 2003-03-07 Angus Leeming <leeming@lyx.org>
8572 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8573 when the LFUN_MOUSE_RELEASE should have been handled by
8574 inset->localDispatch.
8576 2003-03-07 Angus Leeming <leeming@lyx.org>
8578 * BufferView_pimpl.C (dispatch):
8579 * LyXAction.C (init):
8580 * ToolbarDefaults.C (init):
8582 * lyxfunc.C (getStatus):
8583 remove LFUN_INSET_GRAPHICS.
8585 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8587 2003-03-07 Angus Leeming <leeming@lyx.org>
8590 * LyXAction.C (init):
8591 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8593 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8596 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8598 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8599 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8601 2003-03-07 Angus Leeming <leeming@lyx.org>
8603 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8606 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * ParagraphList.C (front): new function
8611 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8613 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8614 and top_row_offset_. removed var first_y.
8616 * text2.C (LyXText, removeRow):
8618 * BufferView_pimpl.C:
8619 use these methods instead of using first_y
8621 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8623 * text2.C (pasteSelection): adjust for checkPastePossible
8625 * CutAndPaste.C: remove Paragraph * buf and replace with
8626 ParagraphList paragraphs.
8627 (DeleteBuffer): delete
8628 (cutSelection): change the tc type to textclass_type
8629 (copySelection): change the tc type to textclass_type
8630 (copySelection): adjust for ParagraphList
8631 (pasteSelection): change the tc type to textclass_type
8632 (pasteSelection): adjust for Paragraphlist
8633 (nrOfParagraphs): simplify for ParagraphList
8634 (checkPastePossible): simplify for ParagraphList
8635 (checkPastePossible): remove unused arg
8637 * ParagraphList.C (insert): handle the case where there are no
8640 * CutAndPaste.h: make CutAndPaste a namespace.
8642 * text3.C (dispatch): adjust
8644 * text.C (breakParagraph): add a ParagraphList as arg
8646 * paragraph_funcs.C (breakParagraph): change to take a
8647 BufferParams and a ParagraphList as args.
8648 (breakParagraphConservative): ditto
8649 (mergeParagraph): ditto
8650 (TeXDeeper): add a ParagraphList arg
8651 (TeXEnvironment): ditto
8654 * buffer.C (readLyXformat2): adjust
8655 (insertStringAsLines): adjust
8656 (latexParagraphs): adjust
8658 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8659 (cutSelection): adjust
8660 (pasteSelection): adjust
8662 * BufferView_pimpl.C (insertInset): adjust
8664 2003-03-05 Angus Leeming <leeming@lyx.org>
8667 * LyXAction.C (init):
8668 * BufferView_pimpl.C (dispatch):
8669 * lyxfunc.C (getStatus):
8670 remove LFUN_CHILD_INSERT.
8672 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8674 2003-03-05 Angus Leeming <leeming@lyx.org>
8677 * LyXAction.C (init):
8678 * src/factory.C (createInset):
8679 * lyxfunc.C (getStatus):
8680 * text3.C (dispatch):
8681 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8683 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8685 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8687 * ParagraphList.C (insert): handle insert right before end()
8688 (erase): fix cases where it can be first or last paragraph.
8690 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8692 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8693 Paragraph::next and Paragraph::previous
8696 * text.C (breakParagraph): adjust
8698 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8699 BufferParams& as arg.
8700 (breakParagraph): use ParagraphList::insert
8701 (breakParagraphConservative): take a Buffer* instead of a
8702 BufferParams& as arg.
8703 (breakParagraphConservative): use ParagraphList::insert.
8705 * buffer.C (insertStringAsLines): un-const it
8706 (insertStringAsLines): adjust
8708 * ParagraphList.C (insert): new function
8710 * CutAndPaste.C (pasteSelection): adjust
8712 * text.C (backspace): adjust
8714 * tabular.C (SetMultiColumn): adjust
8716 * CutAndPaste.C (cutSelection): adjust
8717 (pasteSelection): adjust
8719 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8720 Buffer const * as arg
8722 * ParagraphList.C (erase): new function
8723 * paragraph_funcs.C (mergeParagraph): use it
8724 (mergeParagraph): make it take a Buffer* instead of a
8725 BufferParams* as arg
8727 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8729 (breakParagraphConservative): ditto
8731 * paragraph.h: remove the breakParagraph friend
8733 * paragraph.C (eraseIntern): new function
8734 (setChange): new function
8736 * paragraph_funcs.C (mergeParagraph): make it take a
8737 ParagraphList::iterator instead of a Paragraph *, adjust
8740 * paragraph.h: move an #endif so that the change tracking stuff
8741 also works in the NO_NEXT case.
8743 2003-03-04 Angus Leeming <leeming@lyx.org>
8746 * LyXAction.C: new LFUN_INSET_MODIFY.
8748 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8749 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8751 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8753 * several files: ws changes only
8755 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8756 (TeXEnvironment): ditto
8759 * buffer.C (makeLaTeXFile): adjust
8760 (latexParagraphs): make it take ParagraphList::iterator as args
8762 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * buffer.C (latexParagraphs): adjust
8766 * paragraph.C (TeXOnePar): move function...
8767 (optArgInset): move function...
8768 (TeXEnvironment): move function...
8769 * paragraph_pimpl.C (TeXDeeper): move function...
8770 * paragraph_funcs.C: ...here
8772 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8774 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8776 * buffer.C (readInset): remove compability code for old Figure and
8779 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8781 * buffer.C: ws changes
8784 * BufferView_pimpl.C: ditto
8787 * bufferlist.h: ditto
8791 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8793 * converter.[Ch]: split into itself +
8796 * Makefile.am: += graph.[Ch] + format.[Ch]
8803 * lyxrc.C: added #include "format.h"
8805 2003-02-27 Angus Leeming <leeming@lyx.org>
8807 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8810 * factory.C (createInset): add "label" to the factory.
8812 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8813 string and do no more.
8815 2003-02-27 Angus Leeming <leeming@lyx.org>
8818 * LyXAction.C (init):
8819 * factory.C (createInset):
8820 * BufferView_pimpl.C (dispatch):
8821 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8823 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8825 * lyxfunc.C (dispatch):
8826 * text3.C (dispatch): pass name to params2string.
8828 2003-02-26 Angus Leeming <leeming@lyx.org>
8830 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8832 Rearrange the ~includes. Strip out the unnecessary ones.
8834 * factory.C (createInset): reformat.
8835 create new insets for the various LFUN_XYZ_APPLY lfuns.
8837 2003-02-26 John Levon <levon@movementarian.org>
8840 * lyxrow.C: add isParStart,isParEnd helpers
8842 * paragraph.h: make isInserted/DeletedText take refs
8844 * paragraph_funcs.h:
8845 * paragraph_funcs.C: remove #if 0'd code
8850 * text.C: use lyxrow helpers above.
8851 Move draw and paint routines to RowPainter.
8852 Make several methods use refs not pointers.
8853 Make backgroundColor() const.
8854 Add markChangeInDraw(), isInInset().
8855 Merge changeRegionCase into changeCase.
8856 Make workWidth() shouldn't-happen code into an Assert.
8859 * rowpainter.C: new class for painting a row.
8862 * vspace.C: make inPixels take a ref
8864 2003-02-26 Angus Leeming <leeming@lyx.org>
8866 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8869 2003-02-25 John Levon <levon@movementarian.org>
8871 * ispell.C: give the forked command a more accurate name
8873 2003-02-22 John Levon <levon@movementarian.org>
8876 * toc.C: make TocItem store an id not a Paragraph *
8879 2003-02-21 Angus Leeming <leeming@lyx.org>
8881 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8882 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8883 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8884 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8885 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8886 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8888 * BufferView_pimpl.C (dispatch):
8889 * LyXAction.C (init):
8890 * factory.C (createInset):
8891 * lyxfunc.C (getStatus, dispatch):
8892 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8894 2003-02-21 Angus Leeming <leeming@lyx.org>
8896 * BufferView_pimpl.C (MenuInsertLyXFile):
8897 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8898 * lyxfunc.C (menuNew, open, doImport):
8899 no longer pass a LyXView & to fileDlg.
8901 2003-02-21 Angus Leeming <leeming@lyx.org>
8903 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8904 * LyXAction.C: change, BIBKEY to BIBITEM.
8905 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8906 Change InsetBibKey to InsetBibitem.
8907 Change BIBKEY_CODE to BIBITEM_CODE.
8908 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8909 * factory.C: replace insetbib.h with insetbibitem.h.
8910 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8911 * paragraph.C: replace insetbib.h with insetbibitem.h.
8912 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8913 Change bibkey() to bibitem().
8914 * text.C: remove insetbib.h.
8915 * text2.C: replace insetbib.h with insetbibitem.h.
8916 change bibkey() to bibitem().
8917 * text3.C: remove insetbib.h.
8918 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8920 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8922 * lyxrc.C (output): enclose user email in quotes (in case there are
8925 2003-02-18 John Levon <levon@movementarian.org>
8927 * buffer.h: add std::
8929 2003-02-17 John Levon <levon@movementarian.org>
8935 * pspell.C: reworking. Especially in ispell, a large
8936 number of clean ups and bug fixes.
8938 * lyxfunc.C: fix revert to behave sensibly
8940 2003-02-17 André Pönitz <poenitz@gmx.net>
8943 * commandtags.h: new LFUN_INSERT_BIBKEY
8953 * paragraph_func.C: remove special bibkey handling
8955 2003-02-17 John Levon <levon@movementarian.org>
8957 * text.C (Delete): fix case where delete at the end of
8958 the very first paragraph would not merge the pars
8960 2003-02-17 John Levon <levon@movementarian.org>
8962 * lyxrow.C: fix lastPrintablePos()
8964 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * bufferparams.C (writeLaTeX): add a std:here
8968 * buffer.C: and remove a using directive there
8970 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8972 * buffer.C (makeLaTeXFile): move the code that generates the
8975 * bufferparams.C (writeLaTeX): ... in this new method
8977 * LaTeXFeatures.C (getEncodingSet): make const
8978 (getLanguages): make const
8980 * MenuBackend.C (binding): returns the binding associated to this
8982 (add): sets the status of each item by calling getStatus. Adds
8984 (read): add support for OptSubMenu
8985 (expand): remove extra separator at the end of expanded menu
8987 2003-02-15 John Levon <levon@movementarian.org>
8990 * BufferView_pimpl.C:
8992 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8993 inset code that had no actual effect. Remove unneeded status
8996 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8998 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9001 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9003 * text.C (drawLengthMarker): also draw an arrow marker for
9004 symbolic lengths (medskip...)
9006 2003-02-14 John Levon <levon@movementarian.org>
9009 * tabular.C: better method names
9011 2003-02-14 John Levon <levon@movementarian.org>
9013 * BufferView_pimpl.C:
9018 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9019 it's a more accurate name. Remove some pointless uses.
9021 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9023 * text2.C (LyXText): change order of initilizers to shut off
9026 2003-02-14 John Levon <levon@movementarian.org>
9028 * buffer.C: use ParIterator for getParFromID()
9032 * paragraph_pimpl.h:
9033 * paragraph_pimpl.C: remove unused getParFromID()
9035 2003-02-14 John Levon <levon@movementarian.org>
9037 * buffer.C: remove some very old #if 0'd parse code
9039 2003-02-13 John Levon <levon@movementarian.org>
9043 * text2.C: move hfillExpansion(), numberOfSeparators(),
9044 rowLast(), rowLastPrintable(), numberofHfills(),
9045 numberOfLabelHfills() ...
9048 * lyxrow.C: ... to member functions here.
9053 * text.C: remove LyXText::beginningOfMainBody(), and call
9054 p->beginningOfMainBody() directly. Move the check for
9055 LABEL_MANUAL into the latter.
9062 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9068 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9069 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9071 2003-02-13 John Levon <levon@movementarian.org>
9073 * CutAndPaste.C: remove debug
9075 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9077 * paragraph.C (asString): remove two unused variables
9079 * lyxtextclass.C (readTitleType):
9081 (LyXTextClass): handle new members titletype_ and titlename_
9083 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9085 2003-02-09 John Levon <levon@movementarian.org>
9088 * buffer.C: replace hand-coded list with a map for the dep clean
9090 2003-02-08 John Levon <levon@movementarian.org>
9092 * LaTeX.C: consolidate code into showRunMessage() helper
9094 2003-02-08 John Levon <levon@movementarian.org>
9099 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9100 and pass the size in explicitly
9102 * BufferView_pimpl.h:
9103 * BufferView_pimpl.C:
9105 * BufferView.C: add getCurrentChange()
9107 * BufferView_pimpl.h:
9108 * BufferView_pimpl.C: handle change lfuns
9110 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9111 for changes. Mark pasted paragraphs as new.
9113 * support/lyxtime.h:
9114 * support/lyxtime.C:
9115 * DepTable.C: abstract time_t as lyx::time_type
9118 * LColor.C: add colours for new text, deleted text, changebars
9120 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9121 package use "usenames" option.
9125 * LyXAction.C: add change lfuns
9129 * author.C: author handling
9132 * buffer.C: add a per-buffer author list, with first entry as
9133 current author. Handle new .lyx tokens for change tracking. Output
9134 author list to .lyx file. Output dvipost stuff to .tex preamble.
9135 Bump lyx format to 222.
9138 * bufferlist.C: add setCurrentAuthor() to reset current author details
9142 * bufferparams.C: add param for tracking
9144 * bufferview_funcs.C: output change info in minibuffer
9148 * changes.C: add change-tracking structure
9151 * debug.C: add CHANGES debug flag
9154 * lyxfind.C: add code for finding the next change piece
9157 * lyxrc.C: add user_name and user_email
9160 * lyxrow.C: add a metric for the top of the text line
9163 * text.C: implement accept/rejectChange()
9166 * text.C: paint changebars. Paint new/deleted text in the chosen
9167 colours. Strike through deleted text.
9171 * paragraph_pimpl.h:
9172 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9173 in the current change to the insert functions. Rework erase to
9174 mark text as deleted, adding an eraseIntern() and a range-based
9175 erase(). Implement per-paragraph change lookup and
9178 * paragraph_funcs.C: Fixup paste for change tracking.
9180 * tabular.C: mark added row/columns as new.
9182 * text.C: fix rowLast() to never return -1. Don't allow
9183 spellchecking of deleted text. Track transpose changes. Don't
9184 allow paragraph break or merge where appropriate.
9186 * text2.C: leave cursor at end of selection after a cut.
9188 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9190 * text.C (getLengthMarkerHeight):
9191 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9192 visible on screen too.
9194 2003-02-07 John Levon <levon@movementarian.org>
9196 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9198 2003-02-05 Angus Leeming <leeming@lyx.org>
9200 * lyxserver.C (read_ready): revert my patch of 11 September last year
9201 as it sends PC cpu through the roof. Presumably this means that
9202 the lyxserver will no longer run on an Alpha...
9204 2003-01-30 Angus Leeming <leeming@lyx.org>
9206 * factory.C (createInset): create an InsetCommandParam of type "index"
9207 and use it to 'do the right thing'.
9209 * text2.C (getStringToIndex): ensure that cursor position is always
9210 reset to the reset_cursor position.
9212 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9214 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9217 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9221 * lyxfunc.C: Output messages with identical spelling, punctuation,
9224 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9226 * MenuBackend.C (expandFormats): List only viewable export formats
9229 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9232 * lyxfunc.C (getStatus): Make sure that formats other than
9233 "fax" can also be disabled
9235 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9237 * text3.C (dispatch): put the lfuns that insert insets in 3
9238 groups, and call doInsertInset with appropriate arguments.
9239 (doInsertInset): new function, that creates an inset and inserts
9240 it according to some boolean parameters.
9242 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9244 * buffer.C (readFile): remember to pass on 'par' when calling
9245 readFile recursively.
9247 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9249 * MenuBackend.C (expandFormats): add "..." to import formats.
9251 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9253 * paragraph.C (asString): Remove XForms RTL hacks.
9255 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9256 * buffer.C: fix typo
9258 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9260 * Makefile.am (LIBS): delete var
9261 (lyx_LDADD): add @LIBS@ here instead.
9263 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9265 * Clarify the meaning of "wheel mouse jump"
9267 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9269 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9272 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9274 * importer.C (Loaders): do not preallocate 3 elements in the
9275 vector, since one ends up with 6 elements otherwise
9277 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9279 * DepTable.C (write): write the file name as last element of the
9280 .dep file (because it may contain spaces)
9281 (read): read info in the right order
9283 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9285 * paragraph_pimpl.C (simpleTeXBlanks):
9286 (simpleTeXSpecialChars):
9287 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9289 * tabular.C (latex): add some missing case statements. Reindent.
9291 * MenuBackend.C (expandToc): remove unused variable.
9293 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9302 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9305 2003-01-05 John Levon <levon@movementarian.org>
9308 * BufferView.C: add getEncoding()
9311 * kbsequence.C: do not store last keypress
9314 * lyxfunc.C: store last keypress here instead. Pass encoding
9317 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9319 * lyx_main.C (init): remove annoying error message when following
9320 symbolic links (bug #780)
9322 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9324 * text.C (insertChar):
9325 * lyxrc.C (getDescription): remove extra spaces
9327 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9329 * lyxrc.C (getDescription): remove extra spaces
9331 2002-12-20 John Levon <levon@movementarian.org>
9333 * text3.C: hack fix for page up/down across tall rows
9335 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9337 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9340 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9342 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9343 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9344 thesaurus is not compiled in
9346 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9348 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9350 2002-12-16 Angus Leeming <leeming@lyx.org>
9353 * lyx_main.C (init): remove override_x_deadkeys stuff.
9355 2002-12-12 John Levon <levon@movementarian.org>
9357 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9358 insert. Only remove shift modifier under strict
9361 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9363 * MenuBackend.C (expandToc): fix crash.
9365 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9367 * MenuBackend.C (expandToc): gettext on float names.
9369 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9371 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9372 implement bool empty() [bug 490]
9374 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9376 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9378 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9380 * several files: ws changes
9382 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9384 * text2.C (setCounter): clean up a bit, use boost.format.
9385 (updateCounters): initialize par upon declaration.
9387 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9388 if the layout exists. We do not just store the layout any more.
9389 (SwitchLayoutsBetweenClasses): use boost.format
9391 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9393 * converter.C (convert): if from and to files are the same, use a
9394 temporary files as intermediary
9396 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9399 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9401 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9403 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9405 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9407 * tabular.C (asciiPrintCell): use string(size, char) instead of
9410 * sgml.C (openTag): fix order of arguments to string constructor
9413 * lyxfunc.C (dispatch): use boost.format
9415 * lots of files: change "c" -> 'c'
9417 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9419 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9421 2002-11-25 Angus Leeming <leeming@lyx.org>
9423 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9425 * lyx_main.C (init): compile fix.
9427 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9429 * lyx_cb.C (start): boost.formatify
9430 do not include <iostream>
9432 * lengthcommon.C: ws only
9434 * boost-inst.C,BoostFormat.h: add more explict instantations
9436 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9438 * lots of files: handle USE_BOOST_FORMAT
9440 2002-11-21 John Levon <levon@movementarian.org>
9442 * pspell.C: fix compile
9444 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9446 * lyxfunc.C (dispatch): use boost::format
9450 * lyxfont.C (stateText): use boost::format
9452 * lyx_main.C (LyX): use boost::format
9454 (queryUserLyXDir): ditto
9457 (typedef boost::function): use the recommened syntax.
9459 * importer.C (Import): use boost::format
9461 * debug.C (showLevel): use boost::format
9463 * converter.C (view): use boost::format
9468 * bufferview_funcs.C (currentState): use boost::format
9470 * bufferlist.C (emergencyWrite): use boost::format
9472 * buffer.C (readLyXformat2): use boost::format
9473 (parseSingleLyXformat2Token): ditto
9475 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9477 * LaTeX.C (run): use boost::format
9479 * Chktex.C (scanLogFile): use boost::format
9481 * BufferView_pimpl.C (savePosition): use boost::format
9482 (restorePosition): ditto
9483 (MenuInsertLyXFile): ditto
9485 * BoostFormat.h: help file for explicit instation.
9487 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9489 * tabular.C (latex): Support for block alignment in fixed width
9492 2002-11-17 John Levon <levon@movementarian.org>
9494 * BufferView_pimpl.C:
9496 * lyxfunc.C: split filedialog into open/save
9498 2002-11-08 Juergen Vigna <jug@sad.it>
9500 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9501 by my last patch (hopefully).
9503 2002-11-08 John Levon <levon@movementarian.org>
9512 * toc.C: ParConstIterator, and use it (from Lars)
9514 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9516 * lyxtextclass.[Ch]: revise and add doxygen comments
9518 2002-11-07 John Levon <levon@movementarian.org>
9520 * text.C: fix progress value for spellchecker
9522 * toc.C: fix navigate menu for insetwrap inside minipage
9524 * paragraph_funcs.C: added FIXME for suspect code
9526 2002-11-07 John Levon <levon@movementarian.org>
9528 * BufferView_pimpl.C: fix redrawing of insets
9531 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9533 * text2.C (updateCounters): fix bug 668
9535 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9537 * text3.C (dispatch): Do not make the buffer dirty when moving the
9540 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9542 * vc-backend.C: STRCONV
9545 * text2.C (setCounter): STRCONV
9547 * paragraph.C (asString): STRCONV
9549 * lyxlength.C (asString): STRCONV
9550 (asLatexString): ditto
9552 * lyxgluelength.C (asString): STRCONV
9553 (asLatexString): ditto
9555 * lyxfunc.C (dispatch): STRCONV
9558 * lyxfont.C (stateText): STRCONV
9560 * importer.C (Import): STRCONV
9562 * counters.C (labelItem): STRCONV
9563 (numberLabel): ditto
9564 (numberLabel): remove unused ostringstream o
9569 * bufferview_funcs.C (currentState): STRCONV
9571 * buffer.C (readFile): STRCONV
9572 (asciiParagraph): ditto
9573 (makeLaTeXFile): ditto
9575 * Spacing.C (writeEnvirBegin): STRCONV
9577 * LaTeXFeatures.C (getLanguages): STRCONV
9578 (getPackages): ditto
9580 (getBabelOptions): ditto
9581 (getTClassPreamble): ditto
9582 (getLyXSGMLEntities): ditto
9583 (getIncludedFiles): ditto
9587 (scanAuxFile): ditto
9590 * LString.h: add the STRCONV macros
9592 * BufferView_pimpl.C (savePosition): STRCONV
9593 (restorePosition): ditto
9594 (MenuInsertLyXFile): ditto
9596 * vc-backend.C (scanMaster): change from submatch[...] to
9599 * funcrequest.C: include config.h
9601 * factory.C: include config.h
9603 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9605 * box.C: include config.h
9607 * LaTeX.C (scanAuxFile): change from submatch[...] to
9611 2002-10-25 Angus Leeming <leeming@lyx.org>
9613 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9615 * ispell.[Ch] (setError): new method.
9616 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9617 Use setError() insetead of goto END.
9619 * lyx_cb.C (AutoSave): move out child process into new class
9622 2002-10-30 John Levon <levon@movementarian.org>
9624 * text3.C: make start appendix undoable
9626 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9628 * lyxlength.C (inPixels): Fix returned value.
9630 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9633 2002-10-24 Angus Leeming <leeming@lyx.org>
9635 * lyxgluelength.h: no need to forward declare BufferParams
9636 or BufferView, so don't.
9638 2002-10-21 John Levon <levon@movementarian.org>
9640 * BufferView.C: menuUndo ->undo, redo
9642 * BufferView.h: document, remove dead, make some methods private
9644 * paragraph_funcs.h:
9645 * paragraph_funcs.C:
9646 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9651 * sgml.C: move sgml open/close tag into sgml.C
9653 * bufferview_funcs.h: unused prototype
9656 * lyxfunc.C: remove unused
9659 * text.C: remove unused
9661 2002-10-21 John Levon <levon@movementarian.org>
9665 * BufferView_pimpl.h:
9666 * BufferView_pimpl.C: fix mouse wheel handling based on
9667 patch from Darren Freeman
9669 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9671 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9673 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9675 * lyxlength.C (inPixels): Fix hanfling of negative length.
9676 Fix LyXLength::MU case.
9678 2002-10-16 John Levon <levon@movementarian.org>
9680 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9682 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9684 * converter.C (view): add support for $$i (file name) and $$p
9685 (file path) for the viewer command. If $$i is not specified, then
9686 it is appended to the command (for compatibility with old syntax)
9688 2002-10-14 Juergen Vigna <jug@sad.it>
9690 * undo_funcs.C (textHandleUndo): alter the order in which the
9691 new undopar is added to the LyXText, as we have to set first
9692 the right prev/next and then add it as otherwise the rebuild of
9693 LyXText is not correct. Also reset the cursor to the right paragraph,
9694 with this IMO we could remove the hack in "redoParagraphs()".
9696 2002-10-09 Angus Leeming <leeming@lyx.org>
9698 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9699 to turn off an optimisation if a new inset is to be inserted.
9701 2002-10-11 André Pönitz <poenitz@gmx.net>
9703 * lyxtext.h: make some functions public to allow access
9704 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9706 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9708 * text3.C (dispatch): when changing layout, avoid an infinite loop
9711 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9713 * lyxrc.C (read): treat a viewer or converter command of "none" as
9716 * MenuBackend.C (expandFormats): for an update, also allow the
9717 formats that are not viewable
9719 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9720 script if it is newer than the lyxrc.defaults in user directory
9722 2002-10-07 André Pönitz <poenitz@gmx.net>
9724 * text.C: Vitaly Lipatov's small i18n fix
9726 2002-09-25 Angus Leeming <leeming@lyx.org>
9728 * ispell.h: doxygen fix.
9730 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9732 * buffer.h (readFile): Add a new argument to the method, to allow
9733 reading of old-format templates.
9735 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9737 * toc.C (getTocList): Get TOC from InsetWrap.
9739 2002-09-16 John Levon <levon@movementarian.org>
9741 * lyxfunc.C: check tabular for cut/copy too
9743 2002-09-12 John Levon <levon@movementarian.org>
9748 * factory.C: add header
9750 * paragraph_funcs.h:
9751 * paragraph_funcs.C: cleanup
9753 2002-09-11 John Levon <levon@movementarian.org>
9755 * PrinterParams.h: odd/even default to true
9757 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9759 * PrinterParams.h: update printer parameters for new xforms dialog
9761 2002-09-11 Angus Leeming <leeming@lyx.org>
9763 * lyxserver.C (read_ready): re-write to make it more transparent
9764 and to make it work in coherent fashion under Tru64 Unix.
9766 2002-09-11 André Pönitz <poenitz@gmx.net>
9770 * text3.C: implement LFUN_WORDSEL
9772 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9774 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9775 make floatlist_ a boost::shared_ptr<FloatList>
9777 * lyxtextclass.C: include FloatList.h
9778 (LyXTextClass): initialize floatlist_
9779 (TextClassTags): add TC_NOFLOAT
9780 (Read): match "nofloat" to TC_NOFLOAT and use it.
9781 (readFloat): modify call to floatlist_
9785 * FloatList.[Ch] (FloatList): remove commented out float
9787 (erase): new function
9789 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9791 * MenuBackend.C (expandToc): fix crash when there is no document
9794 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9796 * many files: Add insetwrap.
9798 2002-09-09 John Levon <levon@movementarian.org>
9800 * text2.C: remove confusing and awkward depth wraparound
9802 2002-09-09 John Levon <levon@movementarian.org>
9804 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9807 * buffer.C: remove getIncludeonlyList()
9810 * lyxfunc.C: remove headers
9812 2002-09-09 Juergen Vigna <jug@sad.it>
9814 * text.C (getColumnNearX): fix form Michael this is most
9815 probably a cut&paste bug.
9817 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9819 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9821 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9822 references, ws changes.
9824 * text2.C (init): update counters after init
9825 (insertParagraph): no need to set counter on idividual paragraphs.
9826 (setCounter): access the counters object in the textclass object
9827 on in the buffer object.
9828 (updateCounters): ditto
9830 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9831 shared_ptr<Counters> to avoid loading counters.h in all
9833 (LyXTextClass): initialize ctrs_
9834 (TextClassTags): add TC_COUNTER, and ...
9835 (Read): use it here.
9836 (CounterTags): new tags
9837 (readCounter): new function
9838 (counters): new funtion
9839 (defaultLayoutName): return a const reference
9841 * counters.C (Counters): remove contructor
9842 (newCounter): remove a couple of unneeded statements.
9843 (newCounter): simplify a bit.
9844 (numberLabel): some small formatting changes.
9846 * buffer.[Ch]: remove all traces of counters, move the Counters
9847 object to the LyXTextClass.
9849 2002-09-06 Alain Castera <castera@in2p3.fr>
9851 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9852 package to set the horizontal alignment on fixed width columns.
9855 * lyx_sty.h: added tabularnewline macro def.
9857 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9859 2002-09-06 John Levon <levon@movementarian.org>
9861 * LyXAction.C: tooltips for sub/superscript
9863 * MenuBackend.C: a bit more verbose
9865 * lyxfunc.C: tiny clean
9867 * undo_funcs.C: document undo_frozen
9869 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9871 * counters.C (Counters): add missing algorithm counter.
9873 * text2.C (setCounter): lookup the counter with layouts latexname
9874 instead of by section number.
9875 (setCounter): use a hackish way to lookup the correct enum
9877 a float name->type change
9878 reset enum couners with counter name directly instead of depth value.
9880 * counters.C (Counters): remove the push_backs, change to use the
9881 float type not the float name.
9882 (labelItem): remove unused string, float name->type change
9884 * counters.h: don't include vector, loose the enums and sects vectors
9886 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9888 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9889 (Read): add float->TC_FLOAT to textclassTags
9890 (Read): and handle it in the switch
9891 (readFloat): new function
9893 * FloatList.C (FloatList): comment out the hardcoded float
9896 * lyxlayout.h: ws change.
9898 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9900 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9902 2002-09-03 Angus Leeming <leeming@lyx.org>
9904 * BufferView_pimpl.h: qualified name is not allowed in member
9905 declaration: WorkArea & Pimpl::workarea() const;
9907 * factory.C: added using std::endl directive.
9909 * text3.C: added using std::find and std::vector directives.
9911 2002-08-29 André Pönitz <poenitz@gmx.net>
9914 * text2.C: remove unused member number_of_rows
9917 * BufferView2.C: remove file, move contents to...
9918 * BufferView.C: ... here
9920 * BufferView_pimpl.C:
9921 * factory.C: move more inset creation to factory
9923 * vspace.C: avoid direct usage of LyXText, ws changes
9926 don't provide direct access to WorkArea, use two simple
9927 acessors haveSelction() and workHeight() instead
9930 2002-08-29 John Levon <levon@movementarian.org>
9932 * BufferView_pimpl.C (dispatch): do not continue when
9935 2002-08-28 André Pönitz <poenitz@gmx.net>
9937 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9940 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9942 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9944 * buffer.C: increment LYX_FORMAT to 221
9946 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9947 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9949 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9951 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9953 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9955 * factory.C (createInset): use LyXTextClass::floats
9957 * MenuBackend.C (expandFloatListInsert):
9958 (expandFloatInsert):
9961 * text2.C (setCounter):
9963 * LaTeXFeatures.C (useFloat):
9964 (getFloatDefinitions):
9966 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9968 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9969 floatlist_, with accessor floats().
9971 * FloatList.h: remove global FloatList
9973 2002-08-26 André Pönitz <poenitz@gmx.net>
9975 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9979 * BufferView_pimpl.C:
9980 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9982 2002-08-25 John Levon <levon@movementarian.org>
9984 * LyXAction.C: fix margin note description
9986 2002-08-24 John Levon <levon@movementarian.org>
9990 * bufferview_funcs.C:
9992 * undo_funcs.C: cleanups
9994 * lyxfunc.C: disable CUT/COPY when no selection
9996 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9998 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9999 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10001 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10002 Add backward compatibility to "mono", "gray" and "no".
10004 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10006 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10007 (and file_format >= 200).
10009 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10011 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10013 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10015 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10017 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10019 * BufferView_pimpl.C:
10026 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10027 inset and code to make it work with the paragraph code. The inset
10028 can be anywhere in the paragraph, but will only do the expected
10029 thing in LaTeX if the layout file contains the parameter line
10031 (or more generally, a nonzero value) for that layout.
10033 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10035 * paragraph.h: remove the declaration of undefined counters class
10038 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10040 * text2.C (setCounter): fixed enumeration mis-count as reported by
10041 Dr. Richard Hawkins.
10043 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10045 * paragraph_funcs.h: remove some unneeded includes
10047 * text.C (backspace): pasteParagraph now in global scipe
10049 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10050 (pasteSelection): ditto
10052 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10053 * paragraph_funcs.C (pasteParagraph): ... here
10055 2002-08-20 André Pönitz <poenitz@gmx.net>
10057 * commandtags.h: new LFUNs for swapping/copying table row/colums
10060 * lyxfunc.C: support for new lfuns
10062 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10065 * buffer.[Ch]: remove NO_COMPABILITY stuff
10067 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10069 * boost.C (throw_exception): new file, with helper function for
10070 boost compiled without exceptions.
10075 * ParameterStruct.h:
10076 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10078 * bufferlist.C (emergencyWriteAll): use boost bind
10080 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10082 * text.C: include paragraph_funcs.h
10083 (breakParagraph): breakParagraph is now in global scope
10085 * paragraph_funcs.[Ch]: new files
10087 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10090 * buffer.C: include paragraph_funcs.h
10091 (insertStringAsLines): breakParagraph is now in global scope
10093 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10096 * CutAndPaste.C: include paragraph_funcs.h
10097 (cutSelection): breakParagraphConservative is now in global scope
10098 (pasteSelection): ditto
10100 * buffer.h: declare oprator== and operator!= for
10101 Buffer::inset_iterator
10103 * bufferlist.C (emergencyWrite): don't use fmt(...)
10105 * text3.C: add using std::endl
10107 * BufferView.C (moveCursorUpdate): remove default arg
10109 2002-08-20 André Pönitz <poenitz@gmx.net>
10111 * buffer.[Ch]: move inline functions to .C
10114 * BufferView_pimpl.C:
10116 * buffer.[Ch]: use improved inset_iterator
10119 * paragraph.[Ch]: write one paragraph at a time
10121 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10123 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10124 style if style is not specified.
10126 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10128 * text2.C (setCounter): when searching for right label for a
10129 caption, make sure to recurse to parent insets (so that a caption
10130 in a minipage in a figure float works) (bug #568)
10132 2002-08-20 André Pönitz <poenitz@gmx.net>
10134 * text3.C: new file for LyXText::dispatch() and helpers
10136 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10138 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10140 2002-08-19 André Pönitz <poenitz@gmx.net>
10143 * text.C: new LyXText::dispatch()
10145 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10147 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10149 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10151 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10154 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10156 * Makefile.am: use $(variables) instead of @substitutions@
10158 2002-08-15 André Pönitz <poenitz@gmx.net>
10161 * BufferView_pimpl.C: streamlining mathed <-> outer world
10165 * LyXAction.C: remove unused LFUN_MATH
10167 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10169 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10171 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10173 * paragraph.C (Paragraph): reformat a bit
10174 (cutIntoMinibuffer): use builtin InsetList function instad of
10178 * buffer.C: include boost/bind.hpp, add using std::for_each
10179 (writeFileAscii): use ParagraphList iterators
10180 (validate): use for_each for validate traversal of paragraphs
10181 (getBibkeyList): use ParagraphList iterators
10182 (resizeInsets): use for_each to resizeInsetsLyXText for all
10184 (getParFromID): use ParagraphList iterators
10186 * BufferView2.C (lockInset): use paragraph list and iterators
10188 2002-08-14 John Levon <levon@movementarian.org>
10190 * lyxserver.C: remove spurious xforms include
10192 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10194 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10196 2002-08-13 André Pönitz <poenitz@gmx.net>
10199 * lyxfunc.C: further cleaning
10201 2002-08-13 André Pönitz <poenitz@gmx.net>
10203 * funcrequest.h: new constructor
10205 * funcrequest.C: move stuff here from .h
10208 * BufferView_pimpl.C:
10211 * lyxfunc.C: subsequent changes
10213 * lyxfunc.h: new view() member function
10215 * lyxfunc.C: subsequent changes
10217 2002-08-13 Angus Leeming <leeming@lyx.org>
10220 * BufferView_pimpl.C:
10228 changes due to the changed LyXView interface that now returns references
10229 to member variables not pointers.
10231 2002-08-13 Angus Leeming <leeming@lyx.org>
10233 * WordLangTuple (word, lang_code): return references to strings,
10238 * lyxtext.h: forward-declare WordLangTuple.
10243 * text.C: #include "WordLangTuple.h".
10246 * text.C: (selectNextWordToSpellcheck): constify return type.
10248 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10254 * paragraph_pimpl.h:
10257 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10258 suggested by Angus.
10259 Made updateCounter always count from start of buffer, and removed
10260 second argument (par).
10261 Reverted floats number display to '#'. Perhaps I'll try again when the
10262 code base is sanitized a bit.
10264 2002-08-12 Angus Leeming <leeming@lyx.org>
10266 * buffer.[Ch] (getLabelList): constify.
10268 2002-08-07 André Pönitz <poenitz@gmx.net>
10270 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10272 * funcrequest.h: extension to keep mouse (x,y) position
10274 2002-08-12 Juergen Vigna <jug@sad.it>
10276 * BufferView2.C (insertErrors): forbid undo when inserting error
10279 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10281 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10283 * ParagraphList.[Ch]: new files
10285 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10287 * BufferView2.C (lockInset): ParagraphList changes
10290 * bufferlist.C: ditto
10294 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10296 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10297 unused class variable counter_,
10299 * paragraph.[Ch] (getFirstCounter): delete unused function
10301 * counters.C: include LAssert.h
10302 (reset): add a new function with no arg, change other version to
10303 not have def. arg and to not allow empty arg.
10305 * text2.C (setCounter): remove empty arg from call to Counters::reset
10307 2002-08-11 John Levon <levon@movementarian.org>
10309 * Makefile.am: add WordLangTuple.h
10311 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10313 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10314 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10316 * insets/insettext.C: InsetList changes
10318 * graphics/GraphicsSupport.C (operator()): InsetList changes
10320 * toc.C (getTocList): InsetList changes
10322 * paragraph_pimpl.[Ch]: InsetList changes
10324 * paragraph.[Ch]: InsetList changes
10326 * buffer.C (inset_iterator): InsetList changes
10327 (setParagraph): ditto
10328 * buffer.h (inset_iterator): ditto
10329 * iterators.C (operator++): ditto
10330 * iterators.h: ditto
10332 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10334 * InsetList.[Ch]: new files, most InsetList handling moved out of
10337 * BufferView2.C (removeAutoInsets): InsetList changes
10339 (ChangeInsets): ditto
10341 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10343 * paragraph_pimpl.h (empty): new function
10345 * paragraph.[Ch] (empty): new function
10347 * other files: use the new Paragraph::empty function
10349 2002-08-09 John Levon <levon@movementarian.org>
10351 * lyxtext.h: remove unused refresh_height
10353 2002-08-09 John Levon <levon@movementarian.org>
10360 * paragraph.C: move sgml char escaping out of paragraph
10363 * paragraph.C: remove id setter
10367 * paragraph_pimpl.C: remove dead tex_code_break_column
10369 * bufferview_funcs.C: small cleanup
10371 * lyxfunc.C: remove dead proto
10373 * lyxtext.h: make some stuff private. Remove some dead stuff.
10375 * lyxgluelength.C: make as[LyX]String() readable
10377 2002-08-08 John Levon <levon@movementarian.org>
10382 * ToolbarDefaults.C:
10385 * toc.C: lyxaction cleanup
10387 2002-08-08 John Levon <levon@movementarian.org>
10389 * BufferView2.C: small cleanup
10392 * lyxfind.C: move unnecessary header into the .C
10394 2002-08-08 John Levon <levon@movementarian.org>
10396 * funcrequest.h: just tedious nonsense
10399 * lyx_main.C: cleanups
10402 * vspace.C: remove dead header lyx_main.h
10404 2002-08-07 Angus Leeming <leeming@lyx.org>
10407 * paragraph_pimpl.h:
10408 Forward declare class Counters in paragraph.h by moving the ctrs member
10409 variable into Paragraph::Pimpl.
10410 (counters): new method, returning a reference to pimpl_->ctrs.
10412 * text2.C: ensuing changes.
10414 2002-08-07 John Levon <levon@movementarian.org>
10416 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10418 * BufferView_pimpl.C: announce X selection on double/triple
10421 * lyx_main.C: use correct bool in batch dispatch
10423 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10425 2002-08-07 André Pönitz <poenitz@gmx.net>
10427 * funcrequest.h: new class to wrap a kb_action and its argument
10430 * BufferView_pimpl[Ch]:
10434 * lyxrc.C: subsequent changes
10437 2002-08-07 John Levon <levon@movementarian.org>
10439 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10440 document options change.
10442 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10447 * makefile.am: move counters functionality over from
10448 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10450 2002-08-06 John Levon <levon@movementarian.org>
10452 * WordLangTuple.h: new file for word + language code tuple
10463 * BufferView2.C: use WordLangTuple
10466 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10468 2002-08-06 John Levon <levon@movementarian.org>
10470 * lyx_main.C: fix cmdline batch handling
10472 2002-08-06 André Pönitz <poenitz@gmx.net>
10474 * lyxrc.C: set default for show_banner to true
10476 2002-08-06 John Levon <levon@movementarian.org>
10478 * pspell.C: fix a crash, and allow new aspell to work
10480 2002-08-06 John Levon <levon@movementarian.org>
10483 * kbmap.C: small cleanup
10486 * vspace.C: add const
10488 2002-08-05 John Levon <levon@movementarian.org>
10490 * LyXAction.C: back to tabular-insert
10492 2002-08-04 John Levon <levon@movementarian.org>
10495 * BufferView.C: cosmetic change
10497 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10507 * BufferView2.C: purge all "Lyx" not "LyX" strings
10510 * lyxcursor.C: attempt to add some documentation
10515 * ToolbarDefaults.C:
10516 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10517 merge with LFUN_TABULAR_INSERT
10524 * pspell.C: split up i/pspell implementations into separate
10525 files, many cleanups
10527 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10529 * text2.C: some cleanup
10531 * lyxfunc.C: don't check for isp_command == "none" any more, it
10532 didn't make any sense
10534 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10539 * makefile.am: move counters functionality over
10540 from text2.C/paragraph.[Ch] to counters.[Ch], and
10542 2002-08-02 John Levon <levon@movementarian.org>
10544 * buffer.C: s/lyxconvert/lyx2lyx/
10546 2002-08-02 Angus Leeming <leeming@lyx.org>
10548 * lyxlex.C: revert John's change as it breaks reading of the user
10551 2002-08-02 Angus Leeming <leeming@lyx.org>
10553 * importer.C (Import):
10554 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10555 changes due to LyXView::view() now returning a boost::shared_ptr.
10557 2002-08-02 John Levon <levon@movementarian.org>
10559 * lyxlex.C: small cleanup
10561 2002-08-02 John Levon <levon@movementarian.org>
10563 * text2.C (status): small cleanup, no logic change
10565 2002-08-01 John Levon <levon@movementarian.org>
10568 * buffer.C (writeFile): don't output alerts, caller
10572 * lyx_cb.C: from above
10574 * lyxfunc.C: allow to open non-existent files
10576 2002-07-31 John Levon <levon@movementarian.org>
10578 * lyxserver.C: don't let incidental errors get
10581 2002-07-30 John Levon <levon@movementarian.org>
10583 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10585 2002-07-30 John Levon <levon@movementarian.org>
10588 * lyxserver.C: remove I/O callback too
10590 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10595 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10597 * many files: strip,frontStrip -> trim,ltrim,rtrim
10599 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10601 * PrinterParams.h: remove extern containsOnly, and include
10602 support/lstrings.h instead.
10604 * LaTeX.C (scanAuxFile): modify because of strip changes
10606 * buffer.C (makeLaTeXFile): ditto
10607 * bufferparams.C (writeFile): ditt
10608 * lyxfont.C (stateText): ditto
10609 * lyxserver.C (read_ready): ditto
10610 * vc-backend.C (scanMaster): ditto
10612 * BufferView_pimpl.h: ws changes
10614 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10616 2002-07-26 André Pönitz <poenitz@gmx.net>
10618 * kb_sequence.C: remove unnedred usings
10620 2002-07-26 Juergen Vigna <jug@sad.it>
10622 * lyxfind.C (LyXReplace): we have to check better if the returned
10623 text is not of theLockingInset()->getLockingInset().
10625 2002-07-25 Juergen Vigna <jug@sad.it>
10627 * lyxfind.C (LyXReplace): don't replace if we don't get the
10630 * undo_funcs.C (createUndo): remove debugging code.
10632 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10634 * buffer.C (parseSingleLyXformat2Token): Use default placement
10635 when reading old floats.
10637 * FloatList.C (FloatList): Change the default placement of figure
10638 and tables to "tbp".
10640 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10642 * MenuBackend.C: using std::max
10644 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10646 * MenuBackend.C (expandToc):
10647 (expandToc2): code moved from xforms menu frontend. It is now
10648 generic and TOCs are transparent to menu frontends.
10650 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10652 * toc.C (getTocList): protect against buf=0
10654 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10655 Menu as first parameter. Now, this calls itself recursively to
10656 expand a whole tree (this will be useful for TOC handling)
10657 (expandFloatInsert): remove 'wide' version of floats
10659 * MenuBackend.h (submenuname): returns the name of the submenu.
10660 (submenu): returns the submenu itself, provided it has been
10661 created by MenuBackend::expand
10663 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10666 insets which have noFontChange == true. (bug #172)
10668 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10670 * BufferView_pimpl.C: add connection objects and use them...
10673 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10675 * MenuBackend.C (expandLastfiles):
10678 (expandFloatListInsert):
10679 (expandFloatInsert):
10680 (expand): split expand in parts
10682 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10684 * lyx_gui.C: use lyx_gui::exit()
10686 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10688 * LyXAction.C: show the failing pseudo action
10690 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10692 * buffer.C (readFile): Run the lyxconvert script in order to read
10695 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10699 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10701 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10705 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10707 2002-07-22 Herbert Voss <voss@lyx.org>
10710 * lyxlength.[Ch]: add support for the vertical lengths
10712 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10714 * toc.[Ch]: std:: fixes
10716 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10718 * lyxrc.C: do not include lyx_main.h
10720 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10726 * BufferView2.C: include "lyxlex.h"
10729 * bufferparams.h: do not #include "lyxlex.h"
10731 * lyxtextclasslist.C (Add): remove method
10732 (classlist): renamed to classlist_
10734 * paragraph_pimpl.C:
10738 * bufferview_funcs.C:
10743 * toc.C (getTocList): use BufferParams::getLyXTextClass
10745 * toc.C (getTocList): use InsetFloat::addToToc
10747 * toc.[Ch]: new files, containing helper functions to handle table
10750 * lyxfunc.C (dispatch): no need to remove spaces around command
10752 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10753 first command of the sequence; it is not very clever, but I do not
10754 have a better idea, actually
10756 * LyXAction.C (LookupFunc): make sure to remove space at the
10757 beginning and end of the command
10759 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10761 * MenuBackend.C (getMenubar): new method: return the menubar of
10763 (read): treat differently reading of menu and menubar (in
10764 particular, the menubar has no name now)
10765 (Menu::menubar): remove
10767 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10770 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10772 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10773 a bibitem inset in a RTL paragraph.
10775 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10777 * paragraph_pimpl.C: constify
10779 * BufferView_pimpl.C:
10781 * lyxfunc.C: fix dispatch in a nicer way
10783 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10785 * lyxfunc.C (dispatch):
10786 * BufferView_pimpl.C:
10787 * BufferView_pimpl.h:
10789 * BufferView.h: rename Dispatch() to dispatch()
10791 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10793 * lyxlayout.C (Read): honor DependsOn tag
10795 * lyxlayout.[Ch] (depends_on): new method
10797 * version.C.in: update lyx_docversion
10799 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10801 * paragraph.C (validate): remove from here...
10802 * paragraph_pimpl.C (validate): ... and move here
10803 (isTextAt): make it const
10805 * buffer.C (getLists): ws cleanup
10807 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10809 * language.C (read): Use iso8859-1 encoding in latex_lang
10810 (this prevents LyX from crashing when using iso10646-1 encoding).
10812 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10814 * text2.C (toggleInset): if cursor is inside an inset, close the
10815 inset and leave cursor _after_ it
10817 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10819 * lyxfunc.C: move minibuffer completion handling out of here
10821 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10823 * BufferView_pimpl.C:
10824 * LaTeX.C: fix dispatch calls
10826 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10828 * text.C (drawChars): Fix Arabic text rendering.
10830 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10834 * lyxfunc.C: remove message-push/pop
10838 * lyxfunc.C: rationalise some code by removing verboseDispatch
10839 in favour of a bool argument to dispatch()
10841 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10843 * lyx_main.C (init): make sure to read symlinks as absolute paths
10845 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10848 * lyxfunc.C: no need for commandshortcut to be a member
10850 2002-07-15 André Pönitz <poenitz@gmx.net>
10852 * converter.C: add support for $$s (scripts from lib/scripts dir)
10853 * lyx_main.C: white space
10855 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10859 * lyxrc.C: remove second exit confirmation
10861 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10866 * BufferView_pimpl.h:
10867 * BufferView_pimpl.C:
10868 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10870 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * MenuBackend.C (expand): add numeric shortcuts to document menu
10874 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10876 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10878 * lyxfont.C (setLyXFamily):
10885 * buffer.C (asciiParagraph): use ascii_lowercase
10887 2002-07-15 Mike Fabian <mfabian@suse.de>
10889 * lyxlex_pimpl.C (search_kw):
10890 * lyxlex.C (getLongString):
10891 * converter.h (operator<):
10892 * converter.C (operator<):
10893 * buffer.C (parseSingleLyXformat2Token):
10895 * ToolbarDefaults.C (read):
10896 * MenuBackend.C (checkShortcuts):
10898 * LColor.C (getFromGUIName):
10899 (getFromLyXName): use the compare_ascii_no_case instead of
10900 compare_no_case, because in turkish, 'i' is not the lowercase
10901 version of 'I', and thus turkish locale breaks parsing of tags.
10903 2002-07-16 Angus Leeming <leeming@lyx.org>
10905 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10906 now takes a Buffer const & argument.
10908 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10910 * BufferView.C (resize): check there's a buffer to resize
10912 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10914 * lyxfunc.C: remove dead code
10917 * lyxserver.C: use lyx_guii::set_read_callback
10919 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10921 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10922 an inset in a RTL paragraph.
10924 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10926 * lyxfunc.C: repaint after a font size update
10928 2002-07-15 André Pönitz <poenitz@gmx.net>
10930 * lyxlength.C: inBP should be able to return negative values
10932 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10934 * lyxfunc.C: use lyx_gui::update_fonts()
10936 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10938 * lyxfunc.C: use lyx_gui::update_color()
10940 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10946 * lyxrc.C: remove file->new asks for name option, and let
10947 buffer-new take an argument
10949 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10951 * BufferView_pimpl.C: remove unneeded extra repaint()
10953 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10955 * LyXAction.C: allow command-sequence with NoBuffer
10957 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10959 2002-07-10 Angus Leeming <leeming@lyx.org>
10961 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10963 2002-07-09 Angus Leeming <leeming@lyx.org>
10965 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10967 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10969 * lengthcommon.h: whitespace
10971 * lyxfunc.C: update scrollbar after goto paragraph
10973 * lyxtext.h: factor out page break drawing, and fix it so
10974 page break/added space paints as selected nicely
10976 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10978 * BufferView_pimpl.C: add FIXMEs, clean up a little
10980 2002-07-09 André Pönitz <poenitz@gmx.net>
10982 * lyxfont.[Ch]: support for wasy symbols
10984 2002-07-08 André Pönitz <poenitz@gmx.net>
10986 * BufferView_pimpl.C: apply John's patch for #93.
10988 2002-07-05 Angus Leeming <leeming@lyx.org>
10990 * BufferView_pimpl.C (buffer): generate previews if desired.
10992 * LColor.h: add "preview" to the color enum.
10994 * LColor.C (LColor): add a corresponding entry to the items array.
10996 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10999 2002-07-05 Angus Leeming <leeming@lyx.org>
11001 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11002 The body of the code is now in the method that is passed an ostream &
11003 rather than a file name.
11004 Pass an additional only_preamble parameter, useful for the forthcoming
11007 2002-07-03 André Pönitz <poenitz@gmx.net>
11009 * lyxfunc.C: simplify getStatus() a bit for math stuff
11011 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11013 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11015 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11017 * text.C (changeRegionCase): do not change case of all the
11018 document when region ends at paragraph end (bug #461)
11020 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11022 * paragraph.C (startTeXParParams):
11023 (endTeXParParams): add \protect when necessary
11025 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11027 * BufferView_pimpl.C (workAreaExpose): remove warning
11029 2002-06-27 Angus Leeming <leeming@lyx.org>
11031 * Makefile.am: add lyxlayout_ptr_fwd.h.
11033 2002-06-26 André Pönitz <poenitz@gmx.net>
11035 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11037 2002-06-25 Angus Leeming <leeming@lyx.org>
11039 * lyxfunc.C (dispatch): Comment out the call to
11040 grfx::GCache::changeDisplay. The method no longer exists now that the
11041 pixmap generation part of the graphics loader has been moved into
11044 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11046 * text2.C: layout as layout
11048 * text.C: layout as layout
11050 * tabular.C (OldFormatRead): layout as layout
11052 * paragraph_pimpl.C (TeXDeeper): layout as layout
11053 (realizeFont): layout as layout
11055 * paragraph.C (writeFile): layout as layout
11056 (validate): layout as layout
11057 (getFont): layout as layout
11058 (getLabelFont): layout as layout
11059 (getLayoutFont): layout as layout
11060 (breakParagraph): layout as layout
11061 (stripLeadingSpaces): layout as layout
11062 (getEndLabel): layout as layout
11063 (getMaxDepthAfter): layout as layout
11064 (applyLayout): layout as layout
11065 (TeXOnePar): layout as layout
11066 (simpleTeXOnePar): layout as layout
11067 (TeXEnvironment): layout as layout
11068 (layout): layout as layout
11069 (layout): layout as layout
11071 * lyxtextclass.C (compare_name): new functor to work with
11072 shared_ptr, layout as layout
11073 (Read): layout as layout
11074 (hasLayout): layout as layout
11075 (operator): layout as layout
11076 (delete_layout): layout as layout
11077 (defaultLayout): layout as layout
11079 * lyxlayout_ptr_fwd.h: new file
11081 * lyxlayout.C (Read): layout as layout
11083 * lyx_cb.C (MenuInsertLabel): layout as layout
11085 * bufferlist.C (newFile): layout as layout
11087 * buffer.C (readLyXformat2): layout as layout
11088 (parseSingleLyXformat2Token): layout as layout
11089 (insertStringAsLines): layout as layout
11090 (asciiParagraph): layout as layout
11091 (latexParagraphs): layout as layout
11092 (makeLinuxDocFile): layout as layout
11093 (simpleLinuxDocOnePar): layout as layout
11094 (makeDocBookFile): layout as layout
11095 (simpleDocBookOnePar): layout as layout
11096 (getLists): layout as layout
11098 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11100 * CutAndPaste.C (cutSelection): layout as layout
11101 (pasteSelection): layout as layout
11102 (SwitchLayoutsBetweenClasses): layout as layout
11104 * BufferView_pimpl.C (Dispatch): layout as layout
11105 (smartQuote): layout as layout
11107 * BufferView2.C (unlockInset): layout as layout
11109 2002-06-24 André Pönitz <poenitz@gmx.net>
11111 * lyxfunc.C: fix #487
11113 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11117 * lyxfunc.C: remove display_shortcuts, show_banner
11119 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11121 * Buffer_pimpl.C: oops, update on resize
11123 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11130 * BufferView.C: use repaint()
11132 * BufferView_pimpl.h:
11133 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11134 as it's a clearer description. Remove superfluous
11137 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11139 * text.C: fix bug 488. Not ideal, but getting
11140 getWord() to work properly for the insets that
11141 matter is more difficult ...
11143 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11145 * BufferView_pimpl.C:
11148 * lyxfunc.C: remove the six million index lyxfuncs to just
11149 one, and DTRT (bug 458)
11151 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11155 * BufferView_pimpl.h:
11156 * BufferView_pimpl.C: clean up resize() stuff,
11157 and unnecessary updateScreen()s
11159 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11163 * BufferView_pimpl.h:
11164 * BufferView_pimpl.C:
11167 * minibuffer.C: remove focus management of workarea,
11168 not needed. Use screen's greyOut()
11170 2002-06-17 Herbert Voss <voss@lyx.org>
11172 * converter.C: (convert) do not post a message, when converting
11173 fails, let the calling function decide what to do in this case
11175 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11177 * lyxfunc.C: tidy up a little
11179 2002-06-16 <alstrup@diku.dk>
11181 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11182 Got rid of FORMS_H_LOCATION include. Now we are
11185 2002-06-15 LyX Development team <lyx@rilke>
11187 * buffer.[Ch] (sgmlOpenTag):
11188 (sgmlCloseTag): Added support for avoiding pernicious mixed
11189 content. Return number of lines written.
11191 (makeLinuxDocFile):
11192 (makeDocBookFile): Fixed calls to sgml*Tag.
11193 Simple white space clean.
11195 (simpleDocBookOnePar): Simple white space clean.
11197 * tabular.[Ch] (docBook): Renamed to docbook and got another
11198 argument to related with the pernicious mixed content.
11200 (docbookRow): Fixed calls for docbook inset method.
11202 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11204 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11205 so it's X11 independent.
11209 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11211 2002-06-15 Lyx Development team <lyx@electronia>
11213 * intl.h: Renamed getTrans to getTransManager.
11215 2002-06-14 Angus Leeming <leeming@lyx.org>
11217 * Makefile.am: nuke forgotten stl_string_fwd.h.
11219 2002-06-12 Angus Leeming <leeming@lyx.org>
11221 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11223 2002-06-13 Angus Leeming <leeming@lyx.org>
11226 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11228 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11230 * kbmap.C (getiso): add support for cyrillic and greek
11232 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11236 * BufferView_pimpl.h:
11237 * BufferView_pimpl.C: move bogus scrolling logic
11240 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11243 * BufferView_pimpl.C: view->resize() change
11245 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11247 * BufferView_pimpl.C: topCursorVisible
11250 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11254 * lyx_gui.C: move to frontends/
11258 * lyx_main.C: changes from above
11260 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11267 * lyx_main.C: minor tidy
11269 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11271 * BufferView_pimpl.h:
11272 * BufferView_pimpl.C:
11274 * BufferView.C: make painter() const,
11277 * BufferView2.C: use screen() accessor
11280 * lyx_main.C: some minor cleanup
11282 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11284 * BufferView_pimpl.h:
11285 * BufferView_pimpl.C: remove enter/leaveView,
11288 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11293 * BufferView_pimpl.h:
11294 * BufferView_pimpl.C: only construct screen once,
11297 * lyxrc.C: remove pointless comment
11299 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11302 * BufferView.C: remove active() and belowMouse()
11304 * BufferView_pimpl.h:
11305 * BufferView_pimpl.C: use workarea() not workarea_,
11306 and make it use a scoped_ptr instead
11308 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11310 * lyx_gui.C: add debug message on BadWindow
11312 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11314 * sp_spell.C: fdopen is not part of the C++ standard.
11316 * paragraph.C (InsetIterator): use >= instead of ==
11318 2002-06-07 Angus Leeming <leeming@lyx.org>
11320 Fixes needed to compile with Compaq cxx 6.5.
11321 * BufferView_pimpl.C:
11328 * lyxtextclasslist.C:
11333 all c-library variables have been moved into namespace std. Wrap
11334 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11339 Add a using std::abs declaration.
11341 * kbmap.h (modifier_pair):
11342 * paragraph.h (InsetTable, InsetList):
11343 * lyxfont.h (FontBits):
11344 type definition made public.
11346 * bufferlist.C (emergencyWriteAll): the compiler complains that
11347 there is more than one possible lyx::class_fun template to choose from.
11348 I re-named the void specialisation as lyx::void_class_fun.
11350 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11352 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11353 the compiler is is unable to find tostr in write_attribute.
11355 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11357 * buffer.C (sgmlError): hide #warning
11359 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11361 * xtl/*: get rid of xtl, which is not in use anyway
11363 * LyXAction.C (init):
11364 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11365 were unimplemented xtl experimentation
11367 2002-06-04 André Pönitz <poenitz@gmx.net>
11369 * lyxfunc.C: disable array operation on simple formulae
11371 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11373 * converter.C: constify a bit
11375 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11377 * lyx_gui.C: check xforms version correctly
11379 2002-04-30 Herbert Voss <voss@lyx.org>
11381 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11384 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11386 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11387 attempt to register it with a VCS)
11389 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11391 * lyx_main.C (init): honor variables LYX_DIR_13x and
11394 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11398 * lyx_main.C: fix a crash on bad command line,
11399 and give a useful exit status on error
11401 * lyxfunc.C (doImport): allow -i lyx to work
11403 2002-03-30 André Pönitz <poenitz@gmx.net>
11405 * lyxfunc.C: mathed font changes
11407 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11422 * trans_mgr.h: srcdocs, and some minor cleanups
11424 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11426 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11427 call getFont all the time)
11429 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11431 * switch from SigC signals to boost::signals
11433 2002-05-29 André Pönitz <poenitz@gmx.net>
11435 * paragraph_pimpl.C (getChar): don't call size() too often...
11437 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * paragraph_pimpl.C (insertChar): do not try to update tables when
11440 appending (pos == size())
11442 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11443 in order to reduce drastically the number of comparisons needed to
11444 parse a large document
11446 2002-05-29 André Pönitz <poenitz@gmx.net>
11452 * textclasslist.[Ch]:
11453 * sp_ispell.h: whitespace change
11455 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11457 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11458 lyxaction directly now.
11460 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11464 * lyxvc.C: remove unused headers
11466 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11473 * undo_funcs.C: some cleanups. Use shared_ptr
11474 and a template for the undo stacks.
11476 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11478 * BufferView_pimpl.h:
11479 * BufferView_pimpl.C:
11486 * text2.C: use key_state/mouse_state
11488 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11490 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11493 * chset.C: change include order
11494 (loadFile): use boost regex and get rid of LRegex and LSubstring
11496 * Makefile.am (BOOST_LIBS): new variable
11497 (lyx_LDADD): use it
11499 * LaTeX.C: change include order.
11500 (scanAuxFile): use boost regex and get rid of LRegex and
11504 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11509 * FontInfo.C: moved to frontends/xforms/
11512 * FontLoader.C: moved into frontends for GUIIzation
11517 * lyxfunc.C: changes from above
11519 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11521 * LColor.C: remove spurious X include
11523 * BufferView_pimpl.C:
11528 * text2.C: move font metrics to frontends/
11530 2002-05-24 Juergen Vigna <jug@sad.it>
11532 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11533 setting the undo_cursor.
11535 * ParagraphParameters.h: include local includes first.
11537 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11539 * BufferView_pimpl.C:
11540 * BufferView_pimpl.h:
11544 * screen.C: move WorkArea into frontends/
11550 * BufferView2.C: move LyXScreen into frontends/
11554 * lyx_gui.C: move lyxlookup into frontends/xforms/
11556 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11559 * BufferView_pimpl.C:
11569 * bufferview_funcs.C:
11582 * vc-backend.C: move LyX/XFormsView into frontends/
11584 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11596 * text2.C: move Painter to frontends/
11598 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11600 * buffer.C: comment out some some code that depend upon lyx_format
11603 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11604 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11606 * buffer.h (NO_COMPABILITY): turn off compability
11608 * ColorHandler.C: include scoped_array.hpp
11610 * font.C: Use more specific smart_ptr header.
11613 * ShareContainer.h: ditto
11614 * lyx_main.h: ditto
11616 * FontInfo.h: ditto
11617 * BufferView_pimpl.h: ditto
11618 * ColorHandler.h: ditto
11620 * kbmap.C (defkey): change call to shared_ptr::reset
11622 2002-05-21 Juergen Vigna <jug@sad.it>
11624 * buffer.C (insertErtContents): fix to insert ert asis if it is
11625 non empty. Skip it completely if it contains only whitespaces.
11627 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11629 * BufferView_pimpl.C:
11630 * BufferView2.C: clear selection on paste (bug 393)
11632 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11634 * DepTable.C: include ctime
11636 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11638 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11640 2002-05-14 Juergen Vigna <jug@sad.it>
11642 * text.C (breakParagraph): fixed function to honor the keepempty
11643 layout in the right maner and also to permit the right breaking
11644 algorithm on empty or non empyt keepempty paragraphs.
11646 * paragraph.C (breakParagraph): we have to check also if the par
11647 is really empty (!size()) for isempty otherwise we do the wrong
11650 2002-05-10 Juergen Vigna <jug@sad.it>
11652 * buffer.[Ch] : The following are only changes to the ert
11653 compatibility read reading old LaTeX layout and font stuff and
11654 convert it to ERTInsets.
11656 * buffer.h: added isErtInset().
11658 * buffer.C (struct ErtComp): add a fromlayout bool to check
11659 if we're inside a LaTeX layout.
11660 (isErtInset): new helper function.
11661 (insertErtContents): look for other ert insets before this one
11662 and insert the contents there, so that we don't have subsequent
11663 ERT insets with nothing between them. This way we create only one
11664 inset with multiple paragraphs. Also check if we don't insert only
11665 spaces ' ' as they are ignored anyway afterwards in the .tex file
11666 so if we have only spaces we will ignore this latex part in the
11668 (parseSingleLyXformat2Token \\layout): better compatibility when
11669 reading layout-latex stuff.
11670 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11672 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11673 stuff after reading the inset only get the information back from
11676 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11678 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11680 * LaTeXFeatures.C (getBabelOptions): New method.
11682 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11684 * BufferView_pimpl.C (Dispatch): work around missing argument for
11687 2002-05-08 Juergen Vigna <jug@sad.it>
11689 * text.C (leftMargin): handle paragraph leftindent.
11691 * paragraph.C (writeFile): write the new \\leftindent tag.
11692 (validate): handle leftindent code.
11693 (TeXEnvironment): handle paragraphleftindent code again.
11695 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11697 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11698 for paragrap_extra indent code and new token \\leftindent.
11699 (latexParagraphs): handle the leftindent as environment.
11701 * ParameterStruct.h: added leftindent support.
11703 * ParagraphParameters.C (leftIndent): added support functions for
11704 the paragraph left indent.
11706 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11709 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11711 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11714 * text.C (computeBidiTables): No bidi in insetERT.
11716 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11719 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11721 * version.C.in: pre 5
11723 2002-05-02 José Matos <jamatos@fep.up.pt>
11724 * buffer.C (makeDocBookFile): white space changes, add newline to
11726 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11728 * tabular.C (docBook): fix typo.
11730 2002-05-03 Juergen Vigna <jug@sad.it>
11732 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11733 change in LyXText as we can not be sure it was not freed.
11734 (drawOneRow): remove unused code.
11736 * text.C (drawInset): redo the calculation of the need_break_row as
11737 it could have a row which was already freed.
11738 (draw): look at the return value of drawInset and return false if
11739 it also returned false.
11740 (paintRowText): look at the return value of draw and return false if
11741 it also returned false.
11743 * lyxtext.h: added bool return type to drawInset() and draw() so that
11744 if we have a change in the row so that the rowbreak has to be redone
11745 we abort drawing as it will be called again.
11747 2002-05-02 Juergen Vigna <jug@sad.it>
11749 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11750 a change in the maintext also if we're inside an inset.
11751 (Dispatch): set the cursor again after a break line and after the
11752 screen has been updated as it could be we're in a different row.
11754 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11755 to set the cursor behind the pargraph with > size().
11756 (setCursor): check also for the same paragraph when checking where
11757 to put the cursor if we have a NFR inset.
11759 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11760 parts of layout read further up as it still was in the wrong
11763 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11765 * screen.C (drawFromTo): change sine fullRebreak always return
11768 * buffer.C (parseSingleLyXformat2Token): reindent some
11770 * BufferView_pimpl.C (update): change since fullRebreak always
11772 (Dispatch): git rid of the last hardcoded "Standard"s.
11774 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * text2.[Ch] (fullRebreak): make it return void now that we always
11779 2002-04-30 Juergen Vigna <jug@sad.it>
11781 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11782 ert compatibility check for "latex" layout.
11784 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11786 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11787 minipages: use col% instead of p%, and also use the current font.
11788 (makeLaTeXFile): Fix use babel condition.
11789 (parseSingleLyXformat2Token): Correct font when reading old floats.
11791 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11793 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11794 inserting list of floats.
11796 2002-04-25 Herbert Voss <voss@lyx.org>
11798 * MenuBackend.C (expand): don't add the graphics extensions to the
11801 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11803 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11804 non-existing layout, do not complain if it was the default layout
11805 of the original class (bug #342)
11807 2002-04-24 Juergen Vigna <jug@sad.it>
11809 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11810 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11812 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11814 * buffer.C (getBibkeyList): If using \bibliography, return the
11815 option field with the reference itself. Enables us to provide natbib
11816 support when using \bibliography.
11818 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11820 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11822 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11823 natbib is provided by the LaTeX class.
11825 2002-04-23 Juergen Vigna <jug@sad.it>
11827 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11830 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11832 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11834 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11836 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11837 ensuremath around textordmasculine, textordfeminine and
11840 2002-04-19 Juergen Vigna <jug@sad.it>
11842 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11843 reinitializing the buffer otherwise row-dimensions may be wrong.
11844 (update): reset also the selection cursors if they do exits otherwise
11845 their x/y positions may be wrong.
11847 * text2.C (cursorDown): don't enter the inset if we came from a row
11848 above and are one row over the inset.
11850 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11851 really leaving an inset.
11853 2002-04-18 Juergen Vigna <jug@sad.it>
11855 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11856 of the selected paragraph does not have the selected layout also if
11859 * text2.C (setLayout): fixed bug which did not change last selected
11862 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11863 changed the read and substituted \\end_float with \\end_inset!
11865 * BufferView_pimpl.C (cursorPrevious):
11866 (cursorNext): fixed to make it work with rows heigher than the work
11867 area without moving the cursor only the draw of the row.
11868 (workAreaMotionNotify): fix jumping over high rows.
11870 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11872 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11875 2002-04-16 Juergen Vigna <jug@sad.it>
11877 * text2.C (setCursor): set also the irow().
11878 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11880 (cursorDown): support for locking an inset if the x_fix value goes
11881 inside it. That way I can transverse insets too with cursor up/down.
11883 * lyxrow.h: added irow helper function same as other (i) functions.
11885 * BufferView_pimpl.C (cursorPrevious):
11886 (cursorNext): fixed for insets!
11888 2002-04-15 Juergen Vigna <jug@sad.it>
11890 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11891 position otherwise it is wrong in some cases.
11893 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11894 inside the inset before the call.
11896 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11898 * buffer.[Ch] (getBibkeyList): make it const.
11900 2002-04-12 Juergen Vigna <jug@sad.it>
11902 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11904 * text2.C (getCursorX): new helper function
11905 (setCursor): compute also ix_
11906 (setCursorFromCoordinates): set also ix.
11908 * lyxcursor.h: added ix_ and helper functions.
11910 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11912 * buffer.C (insertStringAsLines): dont break paragraph if the this
11913 paragraph is inside an inset which does not permit it!
11915 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11916 also with no chars on this paragraph.
11917 (paintRowText): only paint stuff if it's inside the workarea!
11919 * paragraph.C (breakParagraph): honor keepempty flag and break the
11920 paragraph always below not above.
11922 * BufferView2.C (unlockInset): update the paragraph layout on inset
11923 unlock as we changed paragraph in such a case.
11925 * lyxfind.C (LyXFind): clear the former selection if not found!
11927 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11928 again called in insertChar().
11930 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11931 an inset which uses the whole row!
11932 (rightMargin): ditto.
11933 (insertChar): force a rebreak if we inserted an inset!
11935 2002-03-28 Herbert Voss <voss@lyx.org>
11937 * lyxlength.[Ch]: add inBP() to get the right PS-point
11938 units (BigPoint). With inPixels we have rounding errors
11940 2002-04-11 Juergen Vigna <jug@sad.it>
11942 * text2.C (setCursorFromCoordinates): set iy to the right value.
11943 (setCursor): add check if row->previous exists!
11945 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11946 an old float_type as this was the case in the old code!
11948 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11950 * BufferView2.C (showLockedInsetCursor): use iy
11951 (fitLockedInsetCursor): ditto
11953 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11954 locked insets as there we have the right value now.
11956 * lyxcursor.C: added iy_ variable and iy functions to set to the
11957 baseline of cursor-y of the locked inset.
11959 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11960 (setCursor): fixed for insets which need a full row.
11962 * text.C (rowLastPrintable): don't ignore the last space when before
11963 an inset which needs a full row.
11964 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11965 as last character of a row when before a inset which needs a full row.
11967 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11969 * version.C.in: update date
11971 * text2.C (fullRebreak): try to always return true and see what
11974 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11976 * MenuBackend.C (expand): use Floating::listName
11978 * FloatList.C (FloatList): add listName argument to the built-in
11981 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11982 text associated with the float.
11984 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11986 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11988 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11990 * ShareContainer.h: add a couple of missing typenames.
11992 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11994 * lyxrc.C (getDescription): use _() correctly rather than N_().
11996 2002-03-28 Herbert Voss <voss@lyx.org>
11998 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11999 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12001 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12003 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12004 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12006 2002-03-29 Juergen Vigna <jug@sad.it>
12008 * lyxfunc.C (dispatch): add a missing fitCursor call.
12010 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12011 it was scrolled by a cursor move, so return the bool status.
12013 * BufferView.C (fitCursor): return the bool flag also to the outside
12014 world as this is needed.
12016 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12018 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12019 call the edit() as it is not needed (and wrong) IMO.
12020 (workAreaButtonPress): set the screen_first variable before evt.
12021 unlock the inset as this may change screen_first and then we have
12022 a wrong y position for the click!
12024 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12026 * MenuBackend.C (expand): another translation that I missed
12028 2002-03-28 Juergen Vigna <jug@sad.it>
12030 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12032 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12034 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12036 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12038 * MenuBackend.C (expand): fix export/view/update when there is no
12041 2002-03-27 Herbert Voss <voss@lyx.org>
12043 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12046 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12048 * bufferview_funcs.C (currentState): only show paragraph number
12049 for is DEVEL_VERSION is set.
12051 * lyxfunc.C (dispatch): put warning in INFO channel
12053 * MenuBackend.C (expand): translate the name of floats
12055 * FloatList.C (FloatList): mark the float names for translation
12057 * converter.C (convert): use LibScriptSearch
12059 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12061 * MenuBackend.C (defaults): fix default menu (we might as well get
12064 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12066 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12069 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12071 * lyxvc.C: reorder includes.
12073 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12075 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12078 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12080 * CutAndPaste.C: change layouts earlier on paste
12081 to avoid crashing when calling getFont()
12083 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12085 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12088 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12090 * WorkArea.C: remove 'Pending' debug message.
12092 * most files: ws cleanup
12094 * buffer.[Ch]: ws changes
12096 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12098 2002-03-21 Juergen Vigna <jug@sad.it>
12100 * tabular.C (SetMultiColumn): collapse also the contents of the
12101 cells and set the last border right. Added a Buffer const * param.
12103 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12108 2002-03-19 Juergen Vigna <jug@sad.it>
12110 * text2.C (clearSelection): reset also xsel_cache.
12112 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12113 where it needs to be called (John tells us to do so too :)
12114 (selectionLost): reset sel_cache.
12116 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12118 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12120 * text2.C (setCursorIntern): put debuging code in INSETS channel
12122 2002-03-19 André Pönitz <poenitz@gmx.net>
12124 * lyxfunc.C: tiny whitespace change
12126 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12128 * ToolbarDefaults.C (init):
12129 * LyXAction.C (init):
12131 * BufferView_pimpl.C (Dispatch):
12132 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12134 2002-03-19 Allan Rae <rae@lyx.org>
12136 * exporter.C (Export): removeAutoInsets before doing anything else.
12137 While I've just introduced a dependency on BufferView this really is
12138 the best place to clean the buffer otherwise you need to cleanup in
12139 a dozen places before calling export or cleanup in a dozen functions
12142 * converter.C (runLaTeX):
12143 (scanLog): Better handling of removeAutoInsets and screen updates.
12145 * lyxfunc.C (dispatch): small whitespace changes
12147 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12149 * WorkArea.C (C_WorkAreaEvent): return a value.
12150 (event_cb): return 1 if we handled the event, 0 otherwise.
12152 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12154 2002-03-18 Juergen Vigna <jug@sad.it>
12156 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12157 (GetAdditionalWidth): ditto.
12158 (RightLine): ditto.
12161 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12162 inset if we're there actually (probably not used right now but this
12163 is the direction to go for unifying code).
12164 (paste): disable code to clear the selection.
12166 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12167 inside an InsetText and move the check further up as it is in the
12170 * text2.C (pasteSelection): set a selection over the pasted text.
12172 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12174 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12175 and libgraphics to build on Cygwin.
12177 2002-03-15 Juergen Vigna <jug@sad.it>
12179 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12180 inserting an Inset into the paragraph. I know this is not the best
12181 fix but we already use current_view in CutAndPaste so we will remove
12182 all of it's using at the same time.
12184 * buffer.C (sgmlError): deactivated function till it is rewritten in
12185 the right mode, now it can create problems.
12187 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12188 before accessing it.
12190 2002-03-14 Juergen Vigna <jug@sad.it>
12192 * undo_funcs.C (textHandleUndo): do the right thing when updating
12193 the inset after the undo/redo.
12195 * text2.C (setCursor): just some testcode for #44 not ready yet.
12197 * undo_funcs.C (textHandleUndo): set the next() and previous()
12198 pointers of the paragraph to 0 before deleting otherwise we have
12199 problems with the Paragraph::[destructor].
12201 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12202 on a paragraph insertion.
12204 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * buffer.C (asciiParagraph): use += operator for char append to
12209 * paragraph.C (getFontSettings): compare >= not just >
12210 (highestFontInRange): ditto
12213 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12215 * paragraph.C: change several algorithm to be more appripriate for
12216 the problem domain. This is lookip in FontList and in the InsetList.
12218 2002-03-13 André Pönitz <poenitz@gmx.net>
12221 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12223 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12228 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12230 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12232 * Painter.C (display): anon helper function, adjust code for this
12234 (pixmap): remove function.
12236 * Painter.h: remove private display variable.
12238 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12240 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12242 * WorkArea.[Ch]: remove figinset_canvas cruft.
12244 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * lyxtextclass.C (operator): add one item cache optimization.
12248 * bufferlist.h: doxy changes
12250 * bufferlist.C: ws changes
12252 * DepTable.[Ch] (ext_exist): place const in the right spot.
12254 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12256 (workAreaExpose): call resizeInsets when the with BufferView changes.
12257 (Dispatch): adjust for protectedBlank removal
12258 (specialChar): call updateInset if the insert went ok.
12260 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12261 specialChar instead.
12263 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12265 * BufferView.h: doxy change
12267 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12269 * lyxtextclass.C (operator[]): remove non-const version
12270 (defaultLayout): remove non-const version
12272 2002-03-12 Juergen Vigna <jug@sad.it>
12274 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12275 did resize the LyXText too.
12277 * buffer.C (readLyXformat2): set layout information on newly allocated
12280 * tabular.C (OldFormatRead): set layout information on the paragraph.
12282 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12284 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12286 2002-03-11 Juergen Vigna <jug@sad.it>
12288 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12290 (resizeCurrentBuffer): force also the insets to resize themselfes.
12291 (moveCursorUpdate): fixed up for InsetText.
12293 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12296 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12297 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12298 value of Dialogs::tooltipsEnabled().
12299 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12301 2002-03-08 Juergen Vigna <jug@sad.it>
12303 * BufferView_pimpl.C (updateInset): update inset inside inset also
12304 if it isn't inside theLockingInset().
12306 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * buffer.C (asciiParagraph): redo some of the word and line length
12310 (getLists): look for Caption instead of caption.
12312 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12314 * buffer.C (Buffer): initialize niceFile to true
12316 (makeLinuxDocFile):
12317 (makeDocBookFile): make sure niceFile is true on exit
12319 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12321 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12323 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12325 * LyXSendto.C: remove.
12326 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12327 * lyx_gui.C: remove now-redundant comment.
12328 * ColorHandler.h: remove forward declaration of class WorkArea.
12329 * lyxfunc.C: remove #include "WorkArea.h".
12331 2002-03-07 Juergen Vigna <jug@sad.it>
12333 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12334 got moved away with the DEPM and also set the inset_owner always
12335 right which before could have been omitted.
12337 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12339 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12340 wanted layout is not found.
12342 2002-03-07 Juergen Vigna <jug@sad.it>
12344 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12346 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12348 * paragraph.C (breakParagraph): use default layout not layout of
12350 (Paragraph): clear ParagraphParameters.
12352 2002-03-06 Juergen Vigna <jug@sad.it>
12354 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12355 otherwise it would not be a valid lenght. Fixed a special case in
12356 the minipage compatibility read where we end the document with a
12359 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12360 was set as it could be 0 for InsetTexts first entry.
12362 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * paragraph.C (writeFile): if layout is empty write out
12365 defaultLayoutName().
12367 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12368 file without named layout we set layout to defaultLayoutName().
12370 2002-03-06 Juergen Vigna <jug@sad.it>
12372 * CutAndPaste.C (copySelection): set layout for new paragraph.
12374 * text.C (prepareToPrint): leave ERT inset left aligned
12375 (leftMargin): don't indent paragraphs inside ERT insets
12377 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12379 * paragraph.C (breakParagraph): dont call clear do the work manually
12381 * paragraph.[Ch] (clear): remove function
12383 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * paragraph.C (Paragraph): dont call clear, the work has already
12388 * lyxtextclass.C (operator): assert if n is empty
12390 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12391 work manually instead.
12393 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12395 * BufferView_pimpl.C: protect selectionLost against text == 0
12397 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12399 * text.C (breakParagraph): fix a setting layout to '0' problem.
12401 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12403 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12404 final location of file, for the included files, and graphics.
12406 2002-03-05 Juergen Vigna <jug@sad.it>
12408 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12410 2002-03-04 Juergen Vigna <jug@sad.it>
12412 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12414 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12415 last column of multicolumn cells.
12416 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12418 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12420 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12421 file if it doesn't go to a temporary file.
12423 * buffer.C (sgmlOpenTag):
12424 (sgmlCloseTag): remove extra newline insertion.
12426 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12428 * text.C (getRowNearY): comment out debug msg
12430 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12432 * text2.C: first -> first_y
12434 * text.C (getRowNearY): add some attemts at a possible
12435 optimization, not working.
12437 * tabular.[Ch]: add BufferParams to several function so that newly
12438 created paragraph can be initialized to he default layotu for the
12441 * tabular-old.C (ReadOld): add buf->params to call of Init
12443 * screen.C: rename text->first to text->first_y
12445 * paragraph.C (breakParagraph): always set layout in the broken
12448 * lyxtextclass.C (Read): remove lowercase
12451 (delete_layout): ditto
12453 * lyxtext.h: rename first -> first_y
12455 * lyxlayout.C (Read): remove lowercase
12458 (obsoleted_by): ditto
12460 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12462 * buffer.C (insertErtContents): add params are to InsetERT
12463 (parseSingleLyXformat2Token): add code to check if a paragraphs
12464 layout really exist.
12465 (parseSingleLyXformat2Token): add params to several inset
12467 (asciiParagraph): remove lowercase, do the layout comparisons with
12470 * BufferView_pimpl.C (cursorNext): first -> first_y
12471 (resizeCurrentBuffer): first -> first_y
12472 (updateScrollbar): first -> first_y
12473 (scrollCB): first -> first_y
12474 (workAreaMotionNotify): first -> first_y
12475 (workAreaButtonPress): first -> first_y
12476 (checkInsetHit): first -> first_y
12477 (cursorPrevious): first -> first_y
12478 (cursorNext): first -> first_y
12479 (Dispatch): add buffer_->params to severl inset contructors
12481 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12483 * lyxlayout.C (Read): remove some debug info that I forgot.
12485 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12486 clean up the code slightly.
12487 (makeLinuxDocFile): ditto
12488 (makeDocBookFile): ditto
12490 * text2.C: layout as string
12492 * text.C: layout as string
12494 * paragraph_pimpl.C: layout as string
12496 * paragraph.[Ch]: layout as string
12498 * lyxtextclasslist.[Ch]: layout as string
12500 * lyxtextclass.[Ch]: layout as string
12502 * lyxtext.h: layout as string
12504 * lyxlayout.[Ch]: layout as string
12506 * lyx_cb.C: layout as string
12508 * bufferview_funcs.C: layout as string
12510 * bufferparams.C: layout as string
12512 * buffer.C: layout as string
12514 * LyXView.[Ch]: layout as string
12516 * LaTeXFeatures.[Ch]: layout as string
12518 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12520 * BufferView_pimpl.C: change current_layout to string, remove
12525 (workAreaButtonRelease): layout as string
12527 * BufferView2.C (unlockInset): adjust
12529 * vspace.C (asLatexCommand): use an explict temp variable.
12531 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12533 * Makefile.am: use FRONTEND_*
12535 2002-03-01 Juergen Vigna <jug@sad.it>
12537 * tabular.C (SetWidthOfMulticolCell): changed to something better
12538 I hope but still work in progress.
12539 (recalculateMulticolumnsOfColumn): renamed function from
12540 recalculateMulticolCells as it is more appropriate now.
12541 (SetWidthOfCell): calculate multicols better.
12543 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12545 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12547 * lyxfunc.C (processKeySym): print sequence also if it is
12548 `deleted' (complete)
12550 * kbsequence.C (print): print sequence even if it is deleted
12551 (complete would be a better word, actually).
12553 * lyxfunc.C (dispatch): print complete options after a prefix key
12555 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12557 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12559 * text2.C (setCharFont): eliminate setCharFont code duplication.
12561 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12563 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12564 LFUN_TABULAR_FEATURE (bug #177)
12566 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12568 * Makefile.am: remove figure.h
12570 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12572 * Bufferview_pimpl.C:
12584 * text2.C: remove #include "lyx_gui_misc.h".
12586 * LaTeX.C: added #include <cstdio>
12588 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12590 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12591 that the paragraph following this one can have.
12593 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12595 * vspace.C (asLatexCommand): fix bogus gcc warning
12597 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12599 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12601 * text2.C (setLayout): get rid of redundant code
12603 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12605 * text2.C (incDepth): make sure depth cannot be increased beyond
12608 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12610 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12611 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12613 * PainterBase.h (image):
12614 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12615 a LyXImage const *.
12617 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12621 * BufferView_pimpl.C:
12622 * BufferView_pimpl.h:
12642 * sp_spell.C: remove fig inset, and the crap house of
12643 cards that follows it
12645 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12650 * os2_errortable.h:
12651 * nt_defines.h: move .h into support/
12653 * vms_defines.h: remove
12655 * WorkArea.C: add space in debug output
12659 * buffer.C: add WITH_WARNINGS
12663 * bufferlist.C: s/retrive/retrieve/, add docs
12672 * chset.C: add docs
12674 * lyxgui.C: add ID to X error handler
12676 * lyxtestclass.c: fix typo
12678 2002-02-26 Juergen Vigna <jug@sad.it>
12680 * tabular_funcs.C (write_attribute): changed so that some default
12681 attributes are not written at all.
12682 (getTokenValue): set default values before trying to read the
12683 value so we have the return value always set as default if we don't
12684 find the token we search for.
12686 * tabular.C (Write): write bools as bools not as strings!
12688 2002-02-22 Juergen Vigna <jug@sad.it>
12690 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12691 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12693 * text.C (leftMargin): don't add an indent for paragraphs inside
12694 tabular cells (fix #208).
12696 2002-02-21 José Matos <jamatos@fep.up.pt>
12698 * tabular.C (docBook): fixed support for long tables.
12700 2002-02-20 Juergen Vigna <jug@sad.it>
12702 * text2.C (getFont): get the drawing font of the Inset if this
12703 paragraph is inside an inset (only important for InsetERT for now).
12705 * buffer.C (insertErtContents): use new lanugage params in ERT
12708 * CutAndPaste.C: commenting out seemingly uneeded code.
12710 2002-02-19 Allan Rae <rae@lyx.org>
12712 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12713 Iterators might be simple to use but they also get invalidated.
12714 (removeAutoInsets): renamed saved cursor tracking variables and added
12715 some comments to clarify what everything does.
12717 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12724 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12725 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12728 * vc-backend.h: remove #include "support/syscall.h"
12732 * converter.C: rearrange #includes in Lars' approved fashion.
12734 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12735 forward declare class Timeout in the header file.
12737 * XFormsView.C: changes due to the above.
12739 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12740 similar to LyXView.
12742 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12743 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12745 2002-02-18 José Matos <jamatos@fep.up.pt>
12747 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12750 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12752 * a lot of small ws changes
12753 * add a lot of using std::XXX
12754 * use std construcs some places where approp.
12755 * use some exisint stuff from lyxfunctional where approp.
12756 * Make file changes to use partial linking (lets test this now...)
12758 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12762 remove #include "support/syscontr.h" as it's redundant. Always has been.
12770 change Systemcalls::System to Systemcalls::Wait and
12771 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12772 No change of functionality, just reflects the stripped down Systemcalls
12775 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12777 * debug.[Ch]: add a GRAPHICS type to the enum.
12779 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12781 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12783 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12786 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12788 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12789 match the changes below.
12791 * text2.C (toggleInset): if there is not editable inset at cursor
12792 position, try to see if cursor is _inside_ a collapsable inset
12795 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12797 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12798 document menu has a nice checkbox
12800 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12802 * lyxlength.C (asLatexString): change PW to output as percent of
12805 * lengthcommon.C: change '%' to 't%'
12807 * lyxfunc.C (dispatch): a few comments from Martin
12809 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12813 * BufferView_pimpl.h:
12814 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12817 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12819 * vspace.C (inPixels): fix compiler warning
12821 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12823 * lyxfunc.C (getStatus): fix status message for disabled commands.
12825 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12827 * BufferView_pimpl.C: fix crash on close buffer
12828 during selection (#227)
12830 2002-01-27 Herbert Voss <voss@lyx.org>
12832 * buffer.C: link old Figure to new graphic inset
12834 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12836 * FontLoader.C (getFontinfo): Change the latex font names in order
12837 to match the names of type1inst.
12839 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12843 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12844 (extchanged): ditto
12846 (remove_files_with_extension): ditto
12847 (remove_file): ditto
12850 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12851 document is smaller than the work area height. Do not initialize
12852 static variables to 0.
12854 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12856 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12858 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12859 LFUN_LAYOUT_PARAGRAPHS.
12861 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12862 tabular. It is possible to provide a possible cell, which will
12863 typically be the actcell from the corresponding insettabular
12865 * lyxfunc.C (getStatus): small cleanup; disable
12866 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12869 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12871 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12873 * paragraph.C (startTeXParParams):
12874 (endTeXParParams): new methods. The LaTeX code to
12875 start/end paragraph formatting
12876 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12877 empty (fixes bug #200)
12879 * vspace.C (inPixels): adapt to the change below
12880 (inPixels): [later] more cleanups (remove unused variables)
12882 * lyxlength.C (inPixels): change to use a width and a height as
12885 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12887 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12888 Replaced with \paperwidth
12890 * DepTable.C (insert): add std:: qualifier
12892 2002-01-18 Allan Rae <rae@lyx.org>
12894 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12897 * text.C (drawInset): Turned out I didn't know enough about how
12898 rebreaking worked. This fixes most of the redraw problems. I see
12899 an occasional cursor trail when a line is broken now and the cursor
12900 placement can seem out by a few pixels also after a rebreak.
12902 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12904 * buffer.C (parseSingleLyXformat2Token): update because minipage
12905 width is now a LyXLength
12907 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12909 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12912 2002-01-17 Juergen Vigna <jug@sad.it>
12914 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12916 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12917 is set correctly and the inset is updated correctly.
12919 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12921 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12922 the beginning of the loop.
12924 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12926 * lyxrc.C: improve help for use_scalable_fonts
12928 2002-01-17 Allan Rae <rae@lyx.org>
12930 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12932 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12934 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12935 make sure to set their inset_owner to the right value (bug #171)
12937 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12940 * DepTable.C: Implement mtime checking to reduce time spent doing
12943 2002-01-16 Juergen Vigna <jug@sad.it>
12945 * tabular.C (GetAdditionalHeight): one of error fixed.
12947 * lyxrc.C (output): small fix in writing use_pspell.
12949 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12951 * sp_base.h: #include LString.h
12953 2002-01-16 Allan Rae <rae@lyx.org>
12955 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12956 Can someone check this please?
12958 * text.C (drawInset): It was possible that p.row would be removed by
12959 breakAgainOneRow upsetting a few other settings. There may be another
12960 small tweak possible by setting need_break_row = 0 when p.row has been
12961 removed but I don't know enough about the logic here.
12963 2002-01-15 Allan Rae <rae@lyx.org>
12965 * text.C (insertChar): removed conditional truism.
12967 * BufferView2.C (removeAutoInsets): More tweaks.
12968 cur_par_prev could be a stray pointer. Check for trailing empty line
12969 in case last line was cur_par and only had an error inset on it.
12971 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12973 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12976 * vc-backend.C (most methods):
12977 * exporter.C (Export):
12978 * converter.C (convert):
12980 * LyXSendto.C (SendtoApplyCB):
12981 * lyxfunc.C (dispatch):
12985 * lyx_cb.C (AutoSave):
12987 * BufferView_pimpl.C (MenuInsertLyXFile):
12988 * buffer.C (runChktex): use Buffer::filePath().
12990 * buffer.h: rename filename to filename_; rename filepath to
12991 filepath_ and make it private
12992 (filePath): new method
12994 * buffer.C (writeFile): use fileName()
12997 * lyx_main.C (init): fix starting of LyX when the binary is a
12998 link from so,ewhere else.
13000 * minibuffer.C: include <cctype> for isprint
13002 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13004 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13005 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13006 name clash with InsetCollapsable's width function.
13008 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * lastfiles.C: include <iterator>
13012 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13014 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13017 * buffer.C (makeLaTeXFile): ditto.
13018 Also make loop operation more transparent.
13020 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13022 * ToolbarDefaults.C: remove trailing comma closing namespace.
13024 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13026 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13029 * trans.C (Load): comment out unused variable, allowed.
13031 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13033 * minibuffer.[Ch] (append_char): new method to recieve input from the
13034 drop-down completion browser. If a key was pressed, then recieve this
13035 char and append it to the existing string.
13036 (peek_event): modify the positioning data passed to the completion
13037 browser so that it can be placed above the minibuffer rather than below.
13038 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13040 * LyXAction.C (init): alloe error-next for readonly documents.
13042 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13045 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13047 * bufferlist.C (readFile): create the buffer _after_ checking that
13050 * lyxfunc.C (verboseDispatch): fix handling of arguments
13052 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13054 * lyxrc.C: use string::erase() instead of initializing to "".
13057 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13059 * BufferView_pimpl.h:
13060 * BufferView_pimpl.C:
13063 * text2.C: tell X when we have made a selection for copying
13065 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13067 * BufferView_pimpl.C (MenuInsertLyXFile):
13068 * lyxfunc.C (menuNew):
13070 (doImport): add shortcuts to directory buttons
13072 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13075 * lyxfunc.C (setStatusMessage):
13076 (getStatusMessage): new methods
13077 (getStatus):use setStatusMessage instead of setErrorMessage
13078 (dispatch): when function is disabled, set error message here
13079 [instead of in getStatus previously]
13081 * BufferView_pimpl.C (workAreaButtonRelease): update
13082 toolbar/menubar here too.
13084 2002-01-13 Allan Rae <rae@lyx.org>
13086 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13087 Now seems indestructible. Remaining task is to audit all other
13088 code affected by deleteEmptyParagraphMechanism. One small quirk
13089 left is that an empty document with an error in the preamble can
13090 be made to report an error but no error box appears. I don't know
13092 (removeAutoInsets): Improved comments.
13094 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13097 * Thesaurus.C: update for Aiksaurus 0.14
13099 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13101 * text2.C (firstParagraph): removed member function, all uses
13102 replaces with ownerParagraph
13103 (redoParagraphs): here
13104 (updateInset): here
13105 (toggleAppendix): here
13106 * BufferView2.C (insertErrors): here
13107 (setCursorFromRow): here
13109 2002-01-13 Allan Rae <rae@lyx.org>
13111 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13112 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13113 There is still a way to segfault this although you may have to do this
13114 multiple times: Have an InsetERT with an unknown command in it.
13115 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13116 <down-arrow>, <Enter> again, View->DVI, BANG!
13118 * text2.C (setCursor):
13119 (deleteEmptyParagraphMechanism):
13120 * lyxtext.h (setCursor):
13121 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13122 Making use of the return value may help fix other bugs.
13124 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13126 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13128 * LyXView.C (updateMenubar): call MenuBar::update here
13129 (updateToolbar): but not here
13130 (showState): do not update toolbar/menubar
13132 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13133 should need to care about that.
13135 * lyxfunc.C (verboseDispatch): simplify a bit
13136 (getStatus): have a version which takes a pseudoaction, and
13137 another which requires a (kb_action,string).
13139 * LyXAction.C (retrieveActionArg): make it work also when action
13140 is not a pseudo-action.
13141 (getActionName): simplify a bit
13144 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13146 * lyxfunc.C (verboseDispatch): new families of methods with
13147 several ways to specify a command and a bool to indicate whether
13148 the command name and shortcut should be displayed in minibuffer
13149 (eventually, we could extend that to a finer bitmask like
13150 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13151 (dispatch): the pristine dispatch command which just, well,
13152 dispatchs! Note it still sets its result to minibuffer; I'm not
13155 * lyxfunc.h: remove setHintMessage
13157 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13159 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13161 * BufferView_pimpl.C (specialChar): delete new inset if we have
13162 not been able to insert it.
13164 * kbmap.C: revert to using int instead of kb_action, since all we
13165 are dealing with is pseudo-actions.
13167 * LyXAction.C (searchActionArg): change to return int instead of
13168 kb_action, since the result is a pseudoaction.
13170 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13172 * buffer.C (insertErtContents): Fix (partially) the font bug.
13174 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13176 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13177 as the other one is broken on my machine!
13179 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13182 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13184 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13186 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13187 reflect their actual use. Provide compatibility code for older lyxrc
13190 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13192 change names of popup font variables in line with the changes to lyxrc.C
13194 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13196 * buffer.C (asciiParagraph): avoid outputing a word twice after
13199 * lyxrc.C (getDescription): document that document_path and
13200 template_path can be empty.
13202 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13204 * LaTeXFeatures.C (getMacros):
13205 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13207 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13209 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13211 (getPackages): rename feature "floats" to "float". Use an array to
13212 iterate over 'simple' features (i.e. just a \usepackage). Add
13213 handling of "amsmath" (renamed from "amsstyle").
13215 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13217 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13220 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13222 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13223 FuncStaus::FuncStatus & FuncStaus::some_method().
13225 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13227 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13228 of the func_satus stuff. Edited and massaged in various ways by
13231 * lyxfunc.C (getStatus): use FuncStatus
13233 2002-01-08 Juergen Vigna <jug@sad.it>
13235 * text.C (nextBreakPoint): use function Inset::isChar().
13237 * paragraph.C (TeXOnePar): use function
13238 Inset::forceDefaultParagraphs.
13240 * buffer.C (latexParagraphs): use function
13241 Inset::forceDefaultParagraphs.
13243 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13245 * lyx_gui.C (init): set the style of the menu popups to
13246 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13248 2002-01-07 Juergen Vigna <jug@sad.it>
13250 * text.C (setHeightOfRow): small fix
13251 (prepareToPrint): don't look at alignment if we don't have the place
13254 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13256 * box.C: New file. Move the Box methods and functions out of box.h,
13257 following Lars' suggestion.
13259 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13261 * box.h: #include "support/LOstream.h", needed for inlined function.
13264 * lyxtextclasslist.C: added some using std declarations.
13266 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13268 * box.h: make signed dimensions to allow insets wider than
13269 the screen (bug #162)
13271 * BufferView_pimpl.C: add some insetHit debug
13273 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13275 * vc-backend.C: add FIXME
13277 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13279 * lyxfunc.C (getStatus): enable code for showing math font status
13282 2002-01-07 Juergen Vigna <jug@sad.it>
13284 * text.C (nextBreakPoint): removed debug output not needed anymore.
13286 2002-01-06 Juergen Vigna <jug@sad.it>
13288 * text.C (nextBreakPoint): fixed up this function we had this bug
13289 since ever but now hopefully we break row better.
13290 (insertChar): we have to check if an inset is the next char as it
13291 could now happen that a large inset is causing a break.
13293 2002-01-05 Juergen Vigna <jug@sad.it>
13295 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13296 if it doesn't like to be drawed.
13298 2002-01-04 Juergen Vigna <jug@sad.it>
13300 * BufferView2.C (lockInset): forgot to set a cursor.
13302 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13304 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13306 * FormMathsPanel.C:
13309 * form_maths_panel.C:
13310 * form_maths_panel.h:
13311 * form_maths_panel.fd: implemented sub- and super- buttons in math
13314 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13315 (or ^ space) to be used as in TeX (req'd by André).
13317 * lyxfunc.C: Allow ^ and _ again to be used both as
13318 super/subscript (mathed) and as themselves (in text).
13320 2002-01-03 Allan Rae <rae@lyx.org>
13322 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13323 "LyX" or the filename of the current buffer if it has one. This is a
13324 modified form of John Levon's patch.
13326 * XFormsView.C (setWindowTitle): also set icon title.
13328 * LyXView.h (setWindowTitle): signature changed.
13329 * XFormsView.h (setWindowTitle): ditto.
13331 2002-01-02 Juergen Vigna <jug@sad.it>
13333 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13335 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * screen.C (topCursorVisible): introduce a temp var for
13338 text->cursor.row(), handle the case where this row is null. (kindo
13341 * text2.C (setCursor): add a couple of asserts.
13343 * paragraph.h (inset_iterator): add -> operator
13345 * paragraph.[Ch] (autoDeleteInsets): remove member function
13347 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13348 cursor pos correctly and handle inset deletion by itself.
13349 (insertErrors): move iterator declaration out of for expression
13351 * lyxtextclass.C: add <algorithm>
13353 * Makefile.am: added the new files to sources, removed layout.C
13355 * layout.C: removed file
13357 * layout.h: remove LYX_DUMMY_LAYOUT
13359 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13363 * lyxtextclass.[Ch]:
13364 * lyxtextclasslist.[Ch]: new files
13366 * include order changes to a lot of files, also changes because of
13369 2001-12-27 Juergen Vigna <jug@sad.it>
13371 * buffer.C (asciiParagraph): more fixes.
13373 * tabular.C (ascii): make ascii export support export of only the
13374 data separated by a column-delimiter.
13375 (ascii): better support for ascii export.
13377 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13379 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13381 * tabular_funcs.C: use a "using std::getline" instead of the
13382 previous fix from Angus (necessary for cxx + lyxstring)
13384 2001-12-24 Juergen Vigna <jug@sad.it>
13386 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13388 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13389 problems. First check a minipage also if we have some ert-contents
13390 (not only on par->size(), second set the right depth of the paragraph
13391 on the relink to the root-paragraph-list!
13393 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13394 which then did not anymore update the main paragraphs on undo/redo!
13396 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13398 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13399 code. Support all font-changing funcs (even those which are not in
13400 menu currently). Support for reporting font settings in
13401 mathed (disabled until Andre provides a function on mathed's side).
13403 * func_status.h (toggle): small helper function to set toggle
13406 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13408 * tabular_funcs.C: getline -> std::getline
13410 2001-12-21 Juergen Vigna <jug@sad.it>
13412 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13413 accessed and could be 0 (I couldn't generate this but it seems
13416 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13418 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13419 * tabular_funcs.h: here and include iosfwd
13421 2001-12-20 Juergen Vigna <jug@sad.it>
13423 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13424 inside inset but undo_par was.
13426 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13428 * Thesaurus.C: always include <config.h> in sources.
13432 * box.h: do not include <config.h> in header files
13434 * text.C (paintLastRow): remove unused variable
13436 * text.C (transformChar):
13438 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13440 * Painter.C (text):
13441 * font.C (width): rewrite to use uppercase() instead of
13444 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13446 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13448 * lyxfind.C: clean up of find failure position change
13450 2001-12-20 Juergen Vigna <jug@sad.it>
13452 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13454 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13455 (TeXRow): added to LaTeX a single tabular row.
13456 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13457 (Latex): simplified and finally good LT-h/f support.
13458 (various_functions): just small adaptions for LT-h/f support.
13460 * tabular_funcs.[hC]: added and moved here all not classfunctions
13463 2001-12-19 Juergen Vigna <jug@sad.it>
13465 * tabular.[Ch]: better support for longtabular options (not finished
13468 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13470 * text.C (paintLastRow): use the label font instead of the font of
13471 the last character to compute the size of *_BOX. This makes more
13472 sense and avoids a crash with empty paragraphs.
13473 Use Painter::rectangle to draw EMPTY_BOX.
13475 2001-12-19 Juergen Vigna <jug@sad.it>
13477 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13478 the paragraphs if the replaced paragraph is not the first one!
13479 Tried to delete not used paragraphs but does not work yet so for
13480 now it's inside #ifdef's and by default off!
13482 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * MenuBackend.C: include "lyx_main.h" instead of declaring
13485 lastfiles (actually was declared as LastFiles* instead of a
13488 2001-12-17 Juergen Vigna <jug@sad.it>
13490 * tabular.C (AppendColumn): applied John's fix
13492 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13496 * BufferView_pimpl.h:
13497 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13500 * box.h: new start of class for above
13502 * lyxfunc.C: ignore space-only minibuffer dispatches.
13503 Show the command name when it doesn't exist
13505 * minibuffer.C: don't add empty lines to the history
13507 * minibuffer.C: add a space on dropdown completion
13509 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13511 * text.C: fix line above/below drawing in insets
13513 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13515 * lyxlength.C (LyXLength): Initialize private variables.
13517 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13519 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13520 when inserting error insets.
13522 2001-12-13 Juergen Vigna <jug@sad.it>
13524 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13525 actually sometimes the before-paragraph.
13526 (setUndo): don't clear the redostack if we're not actually undoing!
13528 2001-12-06 Juergen Vigna <jug@sad.it>
13530 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13531 and fixed redoing of main paragraph, so we can use it now ;)
13533 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13535 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13537 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13540 2001-12-13 André Pönitz <poenitz@gmx.net>
13543 * undo_func.C: minor cleanup
13545 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13547 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13548 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13549 font in urw-fonts package which is marked as -urw-fontspecific and
13550 does not work (incidentally, changing the encoding in the
13551 fonts.dir of this package to -adobe-fontspecific fixes the
13554 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13555 is a crash when undoing first paragraph (Juergen, please take a
13556 look). THis does not mean the undo fix is wrong, just that it
13559 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13560 the (Paragraph*) version when needed instead of duplicating the
13563 * text.C (workWidth): use Inset::parOwner to find out where the
13564 inset has been inserted. This is a huge performance gain for large
13565 documents with lots of insets. If Inset::parOwner is not set, fall
13566 back on the brute force method
13568 * paragraph_pimpl.C (insertInset):
13569 * paragraph.C (Paragraph):
13570 (cutIntoMinibuffer): set parOwner of insets when
13571 inserting/removing them
13573 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13575 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13581 * mathed/formulabase.C:
13582 * mathed/math_cursor.[Ch]:
13583 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13586 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13588 * lyxlength.[Ch] (operator!=): new function
13590 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13592 * text.C (workWidth): use Inset::parOwner to find out where the
13593 inset has been inserted. This is a huge performance gain for large
13594 documents with lots of insets. If Inset::parOwner is not set, fall
13595 back on the brute force method
13597 * paragraph_pimpl.C (insertInset):
13598 * paragraph.C (Paragraph):
13599 (cutIntoMinibuffer): set parOwner of insets when
13600 inserting/removing them
13602 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13604 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13606 * tabular-old.C (getTokenValue):
13607 * tabular.C (getTokenValue):
13608 (write_attribute): new versions for LyXLength
13609 (everywhere): adjust the use of widths
13611 * tabular.h: change the type of widths from string to LyXLength
13613 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13615 * paragraph.C: fixed missing line number count when exporting
13616 Environments to LaTeX file
13618 * buffer.C: added informational message for checking line numbers.
13620 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13622 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13623 paragraph, do the 'double space' part, but not the 'empty
13626 * text.C (workWidth): small optimization
13627 (getLengthMarkerHeight): use minimal size for negative lengths.
13629 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13631 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13633 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13635 2001-12-11 André Pönitz <poenitz@gmx.net>
13638 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13640 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13642 * text2.C: keep selection on a setFont()
13644 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13646 * lyx_cb.C: another bv->text misuse, from insert label
13648 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13651 * kbsequence.C: re-instate nmodifier mask
13653 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13655 * lyx_main.h: make lyxGUI private.
13657 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13659 * lyxfind.C: place the cursor correctly on failed search
13661 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13663 * text.C (getLengthMarkerHeight): for small heights, the arrows
13664 are not always on top/bottom of the text
13665 (drawLengthMarker): smaller arrows; take the left margin in
13666 account; draw also vfills.
13668 (paintLastRow): remove special code for vfill and standard spaces,
13669 since everything is handled in drawLengthMarker now.
13671 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13673 * buffer.C (insertErtContents): try to handle font and language
13674 interaction a bit better.g
13676 * ColorHandler.C (updateColor): change the hash to cover the whole
13677 LColor enum, ws cleanup
13678 (getGCLinepars): ditto
13679 (getGCLinepars): only lookup in the linecache once.
13681 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13683 * iterators.C (operator++): Make the iterator more robust
13685 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13687 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13689 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13692 * text.C: better added space drawing
13694 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13697 * BufferView2.C: fix layout combo update on inset unlock
13699 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13701 * Makefile.am: don't compile unused files
13703 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13707 * LyXAction.C: remove old LFUN_LAYOUTNO
13709 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13711 * paragraph_pimpl.h:
13712 * paragraph_pimpl.C: isTextAt() doesn't need font param
13714 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13717 * lyxlex.C: little cleanup
13719 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13721 * BufferView_pimpl.C: fix insertAscii for insets
13723 2001-12-05 Juergen Vigna <jug@sad.it>
13725 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13726 set the right font on the "multi" paragraph paste!
13728 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13734 * lyxlength.C: remove out-commented code.
13736 * BufferView_pimpl:
13750 * vc-backend.C: change "while(" to "while ("
13752 * lyxlength.[Ch]: add zero function to check if length is zero or
13754 * lyxgluelength.C: use it
13756 2001-12-05 Allan Rae <rae@lyx.org>
13758 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13759 Works for 2.95.3, from what I understand of Garst's reports this should
13760 work for other g++ versions. We're screwed if the abs(int) definition
13761 changed between bugfix releases of gcc.
13763 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13765 * text.C: fix chapter label offset !
13767 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13770 * text.C: fix hfill at end of line, clean up
13772 2001-12-04 Juergen Vigna <jug@sad.it>
13774 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13775 that we force an update of the inset and it's owners if neccessary.
13777 2001-12-03 Juergen Vigna <jug@sad.it>
13779 * text.C (rowLast): simplified code
13781 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13783 * lyxfunc.C: fix show options on timeout
13785 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13787 * screen.C (topCursorVisible): scroll half a page when the cursor
13788 reached top of bottom of screen
13790 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13792 * minibuffer.C: deactivate on loss of focus
13794 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13796 * vspace.[Ch] (operator!=): add operator.
13798 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13800 * BufferView_pimpl.C: refuse to open an inset when
13801 there's a selection.
13803 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13805 * BufferView_pimpl.C: allow to click on RHS of full row insets
13807 2001-11-30 Juergen Vigna <jug@sad.it>
13809 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13810 insets for undo reasons.
13812 2001-11-28 André Pönitz <poenitz@gmx.net>
13814 * vspace.[Ch]: cosmetical changes
13816 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13826 * kbsequence.C: part re-write of old kb code
13829 * WorkArea.C: remove Lgb_bug_find_hack
13831 2001-11-30 José Matos <jamatos@fep.up.pt>
13833 * buffer.C (makeDocBookFile): add a comment to point a hack.
13834 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13835 Fixed a double write of labels.
13837 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13840 * LaTeX.h Fixed bug in LaTeX class where it would not
13841 re-run latex if no depfiles were changed, but the .dvi was removed.
13843 2001-11-28 André Pönitz <poenitz@gmx.net>
13845 * all the files from the change on 2001/11/26:
13846 use lyx::layout_type instead of LyXTextClass::size_type
13847 use lyx::textclass_type instead of LyXTextClassList::size_type
13849 2001-11-29 Juergen Vigna <jug@sad.it>
13851 * text.C: added support for paragraph::isFreeSpacing()
13853 * buffer.C: same as above
13855 * paragraph.h: inserted isFreeSpacing() function to enable
13856 FreeSpacing inside InsetERT.
13858 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13859 of the paragraph's in the cut/copy buffer to 0!
13861 * text2.C (removeRow): remove the assert as it can!
13863 * lyxtext.h: added helper function firstRow returning firstrow and
13864 made firstrow private again.
13866 * BufferView2.C (lockInset): don't relock if we're already locked!
13868 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13869 the only paragraph.
13870 (removeRow): added Assert::(firstrow)
13872 * debug.C: forgot to add INSETTEXT here.
13874 2001-11-28 Juergen Vigna <jug@sad.it>
13876 * sp_spell.C (initialize): changed error text to more general
13877 spellchecker command use (not only ispell!)
13879 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13881 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13883 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13885 * vspace.C: initialise lyxgluelength on failure
13887 2001-11-28 Allan Rae <rae@lyx.org>
13889 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13890 declaration & definition that looks like a function declaration.
13892 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13894 * BufferView2.C (copy):
13895 (copyEnvironment): do not clear the selection when doing a copy.
13897 * text.C (paintFirstRow): compilation fix
13899 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13901 * tabular.C (Latex): correct line count when writing latex.
13903 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13905 * paragraph_pimpl.h:
13906 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13909 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13913 * LColor.C: change vfillline->added_space
13915 * text.C: add markers and text for added space
13917 * vspace.C: fix comment
13919 2001-11-28 André Pönitz <poenitz@gmx.net>
13921 * paragraph.C: whitespace changes
13922 * all the other files from the change on 2001/11/26:
13923 change *::pos_type into lyx::pos_type
13925 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13927 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13928 language of the document when inserting error insets.
13930 2001-11-26 André Pönitz <poenitz@gmx.net>
13932 * BufferView_pimpl.[Ch]:
13940 * paragraph_pimpl.[Ch]:
13943 * text2.C: reduce header dependencies, introduce type for positions
13945 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13947 * <various>: change to use Alert.h
13949 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13951 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13952 when encountering an unknown token.
13953 (readLyXformat2): Show an error message if there were unknown tokens.
13955 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13958 * BufferView_pimpl.C:
13962 * text2.C: use par->isInset()
13964 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13966 * paragraph_pimpl.h:
13967 * paragraph_pimpl.C: cleanup
13969 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13971 * text2.C (removeRow):
13972 * text.C (setHeightOfRow): remove useless (and costly) call to
13975 2001-11-20 Allan Rae <rae@lyx.org>
13977 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13978 Now need Inset*::checkInsertChar() to return true for appropriate
13979 cases so that the characters in the minibuffer will actually be
13982 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13984 * text.C: change the order of the includes.
13985 (workWidth): initialize it at once.
13986 (workWidth): make maxw unsigned
13987 (setHeightOfRow): remove unused variable (inset)
13988 (selectSelectedWord): remove unused variable (inset)
13989 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13991 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13993 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13994 server is not running.
13996 (closeConnection): add debug info when server is disabled.
13998 * ColorHandler.C (getGCForeground): send debug message to GUI
14001 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14003 * kbmap.C (bind): modify because return conventions of
14004 kb_sequence::parse have changed.
14006 * kbsequence.C (parse): only ignore spaces and not any stupid
14007 control character. This avoids tests like s[i] <= ' ', which are
14008 guaranteed to fail with 8bit characters and signed chars.
14009 Change return code to string::npos when there have been no error
14010 (0 was a bad idea when error is at first character)
14012 2001-11-14 José Matos <jamatos@fep.up.pt>
14015 * buffer.C (simpleDocBookOnePar): removed unused argument.
14017 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14019 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14020 insets which are part of a word. Paragraph::isLetter takes care of
14021 that now. Use Paragraph::isInset to identify insets.
14022 (selectSelectedWord): do not test for hyphenation break.
14024 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14025 that protected spaces are considered as spaces.
14027 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14030 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14033 * lyxserver.C: fix it. and small cleanup.
14035 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14037 * BufferView_pimpl.C: use inline helpers
14040 * LaTeXFeatures.C: fix typos
14043 * Spacing.C: move spacing_string into class
14045 * ToolbarDefaults.C: move stuff into namespace anon
14047 * layout.h: update enum
14049 * lyxfunc.C: use better debug
14051 * minibuffer.h: fix typo
14055 * WorkArea.C: add and use Debug::WORKAREA
14059 * text2.C: code re-organisation, inline helpers
14061 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14063 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14064 std::vector.empty().
14066 2001-11-09 Allan Rae <rae@lyx.org>
14068 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14069 '\n's after tables. Tabular and ERT inset work now makes this no
14072 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14075 * minibuffer.C: fix crash, improve drop-down completion
14077 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14080 * lyxserver.C: invalidate fd's when doing endPipe()
14082 2001-11-08 José Matos <jamatos@fep.up.pt>
14084 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14085 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14088 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14090 2001-11-07 José Matos <jamatos@fep.up.pt>
14093 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14096 * buffer.C (sgmlOpenTag):
14097 * buffer.C (sgmlCloseTag): removed debug info.
14099 * buffer.h (sgmlOpenTag):
14100 * buffer.h (sgmlCloseTag): made public.
14102 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14104 * buffer.C (saveParamsAsDefaults):
14105 * lyx_cb.C (MenuLayoutSave): remove
14107 * LyXAction.C (init):
14109 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14111 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14113 * buffer.C (setPaperStuff): removed from here...
14115 * bufferparams.C (setPaperStuff): ... and moved there.
14117 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14121 * XFormsView.C: add support for drop-down completion
14123 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14125 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14128 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14130 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14133 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14135 * lyx_main.C: change ref to known bugs
14137 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14139 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14140 to work around older babel problems.
14142 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14144 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14146 2001-10-24 Juergen Vigna <jug@sad.it>
14148 * tabular-old.C (ReadOld): below variable changes reflected.
14150 * tabular.[Ch]: added ltType struct for longtable header/footer
14151 defines and changed all instances where they are used. Added
14152 future support for double top/bottom rows.
14154 2001-10-24 José Matos <jamatos@fep.up.pt>
14156 * buffer.h (docbookHandleCaption):
14157 * buffer.C (docbookHandleCaption): removed unused function.
14158 (makeDocBookFile): moved docbook supported version to v4.1.
14160 2001-10-24 José Matos <jamatos@fep.up.pt>
14163 * tabular.C (docbookRow): new function to export docbook code of a row.
14164 (DocBook): now honors the longtable flags.
14166 2001-10-23 José Matos <jamatos@fep.up.pt>
14169 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14170 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14172 * buffer.C (makeLinuxDocFile):
14173 (makeDocBookFile): reworked the preamble, more clean, and with
14174 support for lyx defined entities. Changed the document declaration
14175 to be more XML friendly.
14177 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14178 if we need to output XML that should be done with a filter.
14180 2001-10-22 Juergen Vigna <jug@sad.it>
14182 * sp_pspell.h (class PSpell): add alive function needed in the
14183 controller to see if the spellchecker could be started.
14185 2001-10-22 Juergen Vigna <jug@sad.it>
14187 * buffer.C (insertStringAsLines): modify the font for inserting
14188 chars in certain conditions by calling checkInsertChar(font).
14190 2001-10-19 Juergen Vigna <jug@sad.it>
14192 * text.C (workWidth): use getRow instead of wrong algorithm.
14193 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14195 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14200 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14202 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14204 * text.C (workWidth): do not search for the exact row when
14205 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14206 optimization for big documents.
14208 2001-10-18 Juergen Vigna <jug@sad.it>
14210 * text.C (workWidth): new function with added Inset * parameter.
14212 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14214 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14216 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14217 change return type of getColumnNearX.
14220 * text.C (changeRegionCase): use uppercase/lowercase instead of
14223 (rightMargin): simplify code by factoring out the uses of
14228 (appendParagraph): use Paragraph::size_type
14230 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * vspace.C (asLatexString): add a missing break
14234 2001-10-15 Herbert Voss <voss@perce.de>
14236 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14238 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14240 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14243 2001-10-10 André Pönitz <poenitz@gmx.net>
14245 * lyxfunc.C: removed greek_kb_flag.
14247 2001-10-10 Herbert Voss <voss@perce.de>
14249 * lyx_main.C: delete global string help_lyxdir.
14251 2001-10-09 Herbert Voss <voss@perce.de>
14253 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14255 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14257 * lyx_main.C: added global string help_lyxdir.
14259 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14261 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14263 * lyxrc.C (set_font_norm_type): support iso8859-4
14265 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14267 * LaTeX.C (deplog): add another regex for MikTeX
14269 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14271 * lyxrc.C (set_font_norm_type): support iso8859-3
14273 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14275 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14277 * LaTeXFeatures.C: remove special case of french and index
14279 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14280 before \begin{document}). This solves several incompatibilities.
14282 2001-10-03 Garst Reese <reese@isn.net>
14284 * lyx_cb.C: change CheckTex error msg.
14286 2001-10-03 José Matos <jamatos@fep.up.pt>
14288 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14290 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * .cvsignore: update
14294 * lyx_main.C (commandLineVersionInfo): use new style version info.
14296 * buffer.C (writeFile):
14298 (makeLinuxDocFile):
14299 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14301 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14303 * version.h: update to use stuff in version.C
14305 * version.C.in: new file. Contains version information determined
14306 at compile time. This is a merging of version.h and
14309 2001-10-03 Juergen Vigna <jug@sad.it>
14311 * BufferView_pimpl.C (update): don't change "dirty" status in
14314 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14316 * WorkArea.C (c-tor): re-position version string slightly.
14318 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14320 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14321 revert to previous code.
14323 WorkArea.[Ch]: (show, destroySplash): methods removed.
14325 WorkArea.C: rework code so that it's an amalgam of the codes before and
14326 after the splash screen was moved to WorkArea.
14328 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * vspace.C (inPixels):
14334 * buffer.C (insertStringAsLines):
14335 (asciiParagraph): fix types to be large enough
14337 * lyxlex_pimpl.h: change member status from short to int
14339 * layout.h: fix type of endlabeltype
14342 * kbsequence.C (parse): change return type to string::size_type
14344 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14347 * Bullet.C (bulletSize):
14348 (bulletEntry): do not use short ints as parameters
14350 * BufferView2.C (insertLyXFile): change a char to an int.
14352 * WorkArea.C (WorkArea): remove unneeded floats in computation
14354 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14356 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14358 * paragraph.C (asString): Do not ignore newline/hfill chars when
14359 copying to the clipboard.
14361 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14363 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14364 after a multi-line inset.
14366 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14368 * paragraph.C (validate): Set NeedLyXFootnoteCode
14370 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14372 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14373 and decrease-error to decrease.
14375 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14377 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14378 it more readable (should be equivalent)
14380 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14382 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14384 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14386 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14387 of a cursor (row, etc.) after a character has been deleted
14388 (deleteEmptyParagraphMechanism): call the method above on _all_
14389 cursors held by the LyXText when a double space has been
14392 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14394 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14396 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14398 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14399 background. Use greyOut() and the new show() methods to toggle between
14400 the foreground and background. Add code to remove the splash after
14401 its initial showing.
14403 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14404 (create_forms): no longer call Dialogs::showSplash.
14406 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14408 * .cvsignore: add version_info.h
14410 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14412 * version_info.h.in: new file
14414 * Makefile.am: add version_info.h.in
14416 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14417 version_info.h instead of VERSION_INFO
14419 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14421 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14422 The ERT inset now returns string().
14424 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14426 * lyxtext.h, text.C (selectNextWord): renamed as
14427 selectNextWordToSpellcheck.
14429 * text.C (selectNextWordToSpellcheck): Modified to not select
14430 words inside an ERT inset.
14432 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14434 * lyx_cb.C (MenuLayoutSave): change a bit the question
14436 * sp_base.h: include <sys/types.h>
14438 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14440 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14442 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14444 * several files: fix typos in user-visible strings
14446 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14448 * text2.C (pasteSelection): do not set the selection, since it
14449 will be cleared later. Actually, the intent was to fix the way the
14450 selection was set, but I figured rmoving the code was just as good.
14452 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14454 * FontLoader.C (available): Check if font is available without
14457 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14459 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14461 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14463 * lyxrc.[Ch]: added display_graphics variable and associated code.
14465 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14467 * bufferparams.C (hasClassDefaults): new method. Returns true if
14468 the buffer parameters correspond to known class defaults
14470 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14472 * XFormsView.C (show): set minimum size to the main window.
14474 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14476 * text2.C (copySelection):
14478 * lyxfind.C (LyXReplace):
14479 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14480 LyXText::selectionAsString.
14482 * paragraph.C (asString): add "label" argument to the second form
14484 * text2.C (selectionAsString): add "label" argument and pass it to
14485 Paragraph::asString.
14487 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14489 * lyx_main.C (commandLineHelp): remove version information
14491 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14493 * lyx_main.C: add -version commandline option
14495 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14497 * paragraph.h: make the optional constructor arg required instead.
14498 some modifications to other files because of this.
14500 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14502 * lyxserver.C (C_LyXComm_callback): make it static
14504 * lyx_main.C (error_handler): make it static
14506 * lyx_gui.C (LyX_XErrHandler): make it static
14508 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14510 * WorkArea.C: make the extern "C" methods static.
14512 * Makefile.am (lyx_LDADD): simplify
14514 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14516 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14517 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14519 * LyXAction.C (init):
14520 * lyxfunc.C (dispatch): associated code removal.
14522 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14524 * lyxfont.h (isSymbolFont): shut off warning
14526 * text.C (setHeightOfRow):
14527 (getVisibleRow): fix crash with empty paragraphs which have a
14530 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14532 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14535 2001-09-04 José Matos <jamatos@fep.up.pt>
14538 * tabular.C (docbook): rename docBook method to docbook.
14540 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14542 * Makefile.am: add dependencies to main.o.
14544 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14546 * FontLoader.C (available): Return false if !lyxrc.use_gui
14548 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14550 * FontInfo.C (query):
14551 * converter.C (view):
14552 * importer.C (Import):
14553 * exporter.C (Export): Can not -> cannot.
14555 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14557 * BufferView_pimpl.C: allow to create index inset even if
14560 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14562 * buffer.C (getLists): replace boost::tie code with an explicit pair
14563 as boost::tie can break some compilers.
14565 * iterators.h: Added a std:: declaration to the return type of
14568 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14570 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14573 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14575 * iterators.[Ch]: New files. Provide paragraph iterators.
14577 * buffer.C (changeLanguage): Use paragraph iterators.
14578 (isMultiLingual): ditto
14580 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14582 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14584 * FontLoader.C: Support for cmr font.
14586 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14588 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14589 (available): New method.
14591 * FontInfo.C (getFontname): Use scalable fonts even when
14592 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14595 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14597 * converter.C (Formats::view): reverted! Incorrect fix.
14599 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14601 * converter.C (Formats::view): only output the -paper option
14602 if the dvi viewer is xdvi, thereby fixing bug #233429.
14604 2001-08-23 Herbert Voss <voss@perce>
14606 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14608 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14610 * Spacing.h (Spacing): Set space to Default on in the default
14613 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14615 * vc-backend.h (RCS::versionString): add RCS to version
14616 (CVS::versionString): add CVS to version
14618 * vc-backend.C (scanMaster): do not add CVS to version.
14619 (scanMaster): do not add RCS to version
14621 * lyxvc.C (versionString): new method
14623 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14625 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14627 * Spacing.C (set): initialize fval
14629 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14631 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14634 2001-08-16 Juergen Vigna <jug@sad.it>
14636 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14638 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14640 * BufferView_pimpl.C:
14643 * text2.C: setParagraph takes linespacing now
14645 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14647 * LyxAction.C: add internal LFUN_CITATION_INSERT
14649 * LyXView.C: actually apply fix
14651 * bufferlist.C: fix open non-existent file
14653 * lyxfind.C: fix indentation
14655 * lyxfunc.C: remove unneeded assert, fix typo
14657 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14659 * MenuBackend.C: use "Floatname List"
14661 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14663 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14664 when converting LaTeX layout to insetERT.
14665 Generate a non-collapsed float when reading old float
14667 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14669 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14672 2001-08-13 Juergen Vigna <jug@sad.it>
14674 * text.C (fill): return 0 instead of 20 as this seems to be the more
14677 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14679 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14682 2001-08-13 Juergen Vigna <jug@sad.it>
14684 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14686 (SearchBackward): comment out the unlocking of the inset_owner this
14687 should not be needed!
14689 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14691 * Many files: Remove inherit_language, and add latex_language
14693 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14694 collapsible insets.
14696 2001-08-10 Juergen Vigna <jug@sad.it>
14698 * text.C (prepareToPrint): fixed hfill-width in draw!
14700 * BufferView2.C (selectLastWord): save the selection cursor as this
14701 now is cleared in the function LyXText::clearSelection!
14703 2001-08-08 Juergen Vigna <jug@sad.it>
14705 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14706 BACKSPACE type functions.
14708 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14709 is only cutted from the document but not put in the cut-buffer, where
14710 still the old stuff should be.
14712 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14714 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14716 * tabular.C (SetWidthOfCell): fixed special case where the width
14718 (LeftLine): handle '|' in align_special.
14720 (LeftAlreadyDrawed): ditto
14721 (SetWidthOfCell): ditto
14723 2001-08-07 Juergen Vigna <jug@sad.it>
14725 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14727 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14730 * lyxlex.[hC]: ditto
14732 2001-08-06 Juergen Vigna <jug@sad.it>
14734 * text.C (getVisibleRow): fix up row clearing a bit.
14736 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * minibuffer.C: make sure the X server sees the changes in the input.
14740 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14742 * paragraph.C (getFont): split into...
14743 (getLabelFont): this
14744 (getLayoutFont): and this
14745 * paragraph_pimpl.C (realizeFont): calling this
14747 * text2.C (getFont): split into...
14748 (getLayoutFont): this
14749 (getLabelFont): and this
14750 (realizeFont): all three calling this
14752 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14755 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14757 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14759 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14761 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14762 layouts from the Quote inset insertion.
14764 2001-08-03 Juergen Vigna <jug@sad.it>
14766 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14768 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14769 only if status not is already CHANGED_IN_DRAW (second level).
14771 * text.C (draw): don't set the need_break_row when inside an
14774 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14776 * buffer.C (parseSingleLyXformat2Token): handle more latex
14779 * bufferview_funcs.[hC]: change function names to
14780 begin with small char, adjust other files.
14782 2001-08-02 André Pönitz <poenitz@gmx.net>
14785 BufferView_pimpl.C: remove broken special code for math-greek
14787 2001-08-02 Juergen Vigna <jug@sad.it>
14789 * BufferView_pimpl.C (update): redone this function so that we
14790 update the text again if there was a CHANGE_IN_DRAW.
14792 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14793 (drawFromTo): added a new internal bool which is used by draw() and
14795 (general): some cursor drawing problems fixed.
14797 2001-08-01 Juergen Vigna <jug@sad.it>
14799 * lyxfind.C (LyXFind): fixed
14800 (SearchForward): ditto
14801 (SearchBackward): ditto
14803 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14804 spurius drawing of the cursor in the main area.
14806 * text2.C (status): small fix which could lead to a segfault!
14807 (clearSelection): remove unneeded BufferView param.
14809 2001-08-01 André Pönitz <poenitz@gmx.net>
14811 * lyxfunc.C: small change due to changed mathed interface
14813 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14815 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14817 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14819 * lyxfunc.c: fail gracefully if file doesn't exist
14824 * BufferView_pimpl.C: IsDirWriteable() proto changed
14826 * LyXView.C: fix updateWindowTitle() to store the last title
14828 2001-07-31 Juergen Vigna <jug@sad.it>
14830 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14831 the font (wrong since using of Paragraph::highestFontInRange).
14833 * paragraph.C (highestFontInRange): added a default_size parameter.
14835 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14836 (setHeightOfRow): reformat
14838 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14840 * converter.[hC] + affected files: move to (inital-char)lowercase
14843 * ParagraphParameters.C (ParagraphParameters): remove commented code
14845 * PainterBase.[Ch]: remove commented code
14847 * LaTeXFeatures.h: add "bool floats" for float.sty
14849 * LaTeXFeatures.C (LaTeXFeatures): init floats
14850 (require): handle float
14851 (getPackages): do it with floats
14853 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14855 * BufferView_pimpl.C (Dispatch): improve handling of
14856 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14858 * commandtags.h: #include lyxfont.h here temporarily to avoid
14861 * bufferlist.h: include LString.h here.
14863 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14865 * text2.C (getStringToIndex): new method.
14867 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14869 * *: Reduced header file dependencies all over.
14871 2001-07-30 Baruch Even <baruch@lyx.org>
14873 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14875 2001-07-29 Baruch Even <baruch@lyx.org>
14877 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14879 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14881 * ParameterStruct.h (endif): add a default constructor to make
14882 sure that all variables is initialized.
14884 * ParagraphParameters.C (ParagraphParameters): adjust
14886 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14889 index; also, check that there is something to index, and that it
14890 does not span over several paragraphs.
14891 (doubleClick): use WHOLE_WORD_STRICT for double click.
14893 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14895 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14898 2001-07-26 Baruch Even <baruch@lyx.org>
14900 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14901 an InsetFig figure, backwards compatible reading of old figure code.
14903 2001-07-27 Juergen Vigna <jug@sad.it>
14905 * text2.C: font.realize function adaption.
14907 * text.C (draw): add a warnings lyxerr text if needed.
14909 * layout.C: font.realize function adaption.
14911 * language.C: add inherit_language and implement it's handlings
14913 * bufferview_funcs.C (StyleReset): remove language parameter from
14914 font creation (should be language_inherit now).
14916 * bufferparams.C (writeFile): handle ignore_language.
14918 * paragraph.C (getFontSettings): the language has to be resolved
14919 otherwise we have problems in LyXFont!
14921 * lyxfont.C (lyxWriteChanges): added document_language parameter
14922 (update): removed unneeded language parameter
14924 * paragraph.C (validate): fixed wrong output of color-package when
14925 using interface colors for certain fonts in certain environments,
14926 which should not seen as that on the final output.
14928 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14930 * BufferView_pimpl.C:
14935 * LyXAction.C: add thesaurus support
14938 * lyxfind.C: add "once" parameter, for thesaurus, to not
14939 move to the next match
14941 2001-07-26 Juergen Vigna <jug@sad.it>
14943 * lyxfont.C (realize): honor ignore_language too!
14946 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14948 * text.C (draw): one place more for ignore_language to not draw
14951 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14953 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14955 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14957 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14958 the minipage conversion problem.
14960 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14962 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14965 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14967 * BufferView.h: don't forward declare WorkArea
14969 * BufferView.C: don't include WorkArea.h
14971 2001-07-25 André Pönitz <poenitz@gmx.net>
14975 * lyxfunc.C: new LFUN 'math-space'
14977 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14979 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14981 * text2.C (toggleInset): call open/close
14983 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14985 * lyxfunc.C (dispatch): add debug for the disabled case
14987 * font.C (buttonText): make similar to rectText
14989 * buffer.C (readInset): comment out parsing of insetlist and
14992 * PainterBase.C (rectText): small correction
14994 * BufferView_pimpl.C: comment out insettheorem and insetlist
14995 * LyXAction.C: ditto
14996 * commandtags.h: ditto
14998 2001-07-24 Juergen Vigna <jug@sad.it>
15000 * text.C (draw): honor the ignore_language.
15002 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15004 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15006 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15009 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15011 * lyxtext.h: remove unused (and unimplemented) methods
15013 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15015 * text.C (getVisibleRow): honor background color
15018 * Painter.h: remove default color argument for fillRectangle
15020 * text.C (backgroundColor): new method
15022 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15024 * text.C (getVisibleRow): adjust
15026 * font.[Ch] (rectText): new method, metrics
15027 (buttonText): new method, metrics
15029 * PainterBase.[hC]: make rectText and buttonText always draw and take
15032 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15034 * ToolbarDefaults.C (read):
15035 * MenuBackend.C (read): allow escaping in all strings
15037 * BufferView_pimpl.C (insertAndEditInset): new method.
15038 (Dispatch): use insertAndEditInset whenever appropriate.
15040 * BufferView_pimpl.C (insertNote): removed
15042 * BufferView_pimpl.C (smartQuote): new method, moved from
15043 BufferView; if an insetquote cannot be inserted, insert a '"'
15046 * BufferView2.C: remove insertCorrectQuote();
15048 * lyxfunc.C (getStatus): Add support for all remaingin
15049 inset-insert lfuns.
15051 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15053 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15054 command (necessary to pass " as parameter of self-insert.
15056 * text.C (selectWordWhenUnderCursor):
15057 (selectWord): add word_location parameter
15058 (selectWordWhenUnderCursor): same + remove special code for word
15060 (selectNextWord): use kind() to guess type of insetspecialchar,
15063 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15064 (insertErtContents): create ert insets as collapsed.
15065 (readInset): better compatibility code for Info inset.
15067 2001-07-20 Juergen Vigna <jug@sad.it>
15069 * lyxfunc.C (dispatch): use always LyXFind now!
15071 * text2.C (init): add a reinit flag so that the LyXText can be
15072 reinited instead of deleted and reallocated (used in InsetText).
15074 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15080 2001-07-18 Juergen Vigna <jug@sad.it>
15082 * text.C (selectNextWord): handle insets inside inset by calling
15083 always the bv->text functions so that we can go up the_locking_inset!
15085 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15086 in strange locations when inside an inset!
15088 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15089 handling to include insets.
15091 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15093 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * LyXAction.C (init):
15097 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15098 LIGATURE_BREAK, since the name is so stupid.
15100 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15102 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15105 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15107 * sp_form.[Ch]: remove.
15109 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15111 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15114 * src/buffer.C (readInset): ditto.
15116 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15118 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15119 menuSeparator(), endOfSentenceDot(), ldots() and
15120 hyphenationPoint(), which are therefore removed.
15121 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15123 * LyXAction.C (init):
15124 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15126 * paragraph.C (getWord): removed.
15128 * BufferView_pimpl.C (Dispatch): use last word or selection for
15129 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15131 * lyx_main.C (queryUserLyXDir): do not ask before creating
15132 user_dir, except if it has been named explicitely.
15134 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15136 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15137 a document of zero size.
15139 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15141 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15142 approriately in the c-tor and in require().
15143 (getPackages): output the appropriate LaTeX for natbib support.
15145 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15146 variables "use_natbib" and "use_numerical_citations" when reading the
15148 (readInset): read the various natbib cite commands.
15149 (validate): white-space change.
15151 * bufferparams.[Ch]: new variables "bool use_natbib" and
15152 "bool use_numerical_citations".
15153 (writeFile): output them in the LyX file.
15155 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15157 * lyxfunc.C (getStatus): add support for all the inset insertion
15160 * text2.C (insertInset):
15161 * paragraph.C (insetAllowed):
15162 * BufferView_pimpl.C (insertInset): update to take in account the
15163 renaming of insertInsetAllowed
15165 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15167 * text2.C (getInset): new method. returns inset at cursor position.
15169 * BufferView_pimpl.C (Dispatch): changes because of this.
15171 * LyXAction.C (init): rename open-stuff to inset-toggle.
15173 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15175 * text2.C (toggleInset): renamed from openStuff; use
15178 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15180 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15182 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15184 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15186 * buffer.C (readLyXformat2): Add filename to the error dialog
15188 2001-07-18 Juergen Vigna <jug@sad.it>
15190 * tabular.C (GetCellNumber): put an assert here instead of the check!
15192 2001-07-17 Juergen Vigna <jug@sad.it>
15194 * BufferView_pimpl.C (toggleSelection): adapted too.
15196 * text.C (selectNextWord): adapted for use with insets.
15197 (selectSelectedWord): ditto
15199 2001-07-17 Juergen Vigna <jug@sad.it>
15201 * sp_spell.C (PSpell): fix initialitation order.
15203 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15205 * paragraph.C: spacing
15207 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15209 * sp_spell.C: repair language selection for pspell
15211 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * lyxfunc.h: change more methods to begin with lower char.
15215 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15217 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15218 for unknown layouts.
15220 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15222 * buffer.C (readLyXformat2): Generate an error dialog if there are
15225 2001-07-16 Juergen Vigna <jug@sad.it>
15227 * sp_spell.C: always compile ISpell part.
15229 * lyxrc.C: added use_pspell entry and it's handling.
15231 2001-07-13 Juergen Vigna <jug@sad.it>
15233 * sp_spell.C: removed double includes.
15235 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15237 Consistent use of Lsstream.h:
15238 * Lsstream.h: added using std::stringstream for consistencies sake.
15240 * buffer.C: removed using std::stringstream
15242 * lyxfont.C (stateText):
15243 * paragraph.C (asString):
15244 * text.C (selectNextWord, selectSelectedWord):
15245 * text2.C (setCounter):
15246 * vspace.C (asString, asLatexString):
15247 std::ostringstream -> ostringstream.
15249 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15251 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15252 * commandtags.h: add LFUN_HELP_ABOUTLYX
15253 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15255 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15257 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15259 * lyx_gui_misc.C: remove spellchecker
15260 * lyxfunc.C: showSpellchecker
15262 * sp_ispell.h: added
15263 * sp_pspell.h: added
15264 * sp_spell.C: added
15265 * sp_form.[Ch]: removed
15266 * spellchecker.[Ch]: removed
15268 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15270 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15272 (simpleTeXSpecialChars): Simply print the input character without
15273 any special translation if pass_thru is set.
15275 * layout.h: Added bool pass_thru to layout class for being able to
15276 implement pass through of a paragraph for Literate Programming.
15278 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15279 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15280 * layout.C (Read): add "passthru" to list of layout tags and add
15281 code to set the pass_thru boolean when it is read.
15283 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15285 * trans_decl.h: remove allowed from KmodInfo
15287 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15288 remove allowed code
15291 * paragraph_pimpl.C (erase): use boost::prior
15293 * Painter.C (text): use data() instead of c_str() when length is
15295 * WorkArea.C (putClipboard): ditto
15296 * font.h (width): ditto
15298 * BufferView2.C: use it-> instead of (*it). for iterators
15300 * paragraph_pimpl.C: ditto
15301 * paragraph.C: ditto
15302 * minibuffer.C: ditto
15303 * language.C: ditto
15305 * encoding.C: ditto
15306 * counters.C: ditto
15307 * converter.C: ditto
15309 * Variables.C: ditto
15310 * TextCache.C: ditto
15311 * MenuBackend.C: ditto
15312 * LyXAction.C: ditto
15314 * FloatList.C: ditto
15315 * DepTable.C: ditto
15316 * ColorHandler.C (LyXColorHandler): ditto
15318 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15320 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15322 * text2.C (openStuff): reintroduce this method (which had been
15323 nuked in NEW_INSETS frenzy).
15325 * lyxfunc.C (Dispatch): when an action has not been handled, use
15326 its name in the error message, not its number.
15328 * paragraph.C (inInset): change method name to begin with lowercase.
15331 * text2.C: updates because of this.
15333 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15335 * ToolbarDefaults.C (add): add spaces in error message
15337 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15339 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15340 (readLyXformat2): rename return_par to first_par, use lyxlex's
15341 pushToken and remove the manual push handling.
15342 (parseSingleLyXformat2Token): add another ert comp. variable:
15343 in_tabular, rename return_par to first_par. handle newlines better
15345 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15349 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15351 * text2.C (getParFromID): removed
15353 * buffer.C (getParFromID): new method moved form lyxtext.
15354 * BufferView2.C (insertErrors): adjust
15355 (setCursorFromRow): adjust
15356 * BufferView_pimpl.C (restorePosition): adjust
15357 * lyxfunc.C (Dispatch): adjust
15358 * undo_funcs.C (textUndo): adjust
15360 (textHandleUndo): adjust
15361 (textHandleUndo): adjust
15363 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15365 * buffer.C: up' the LYX_FORMAT
15367 * lyxfont.h: turn NO_LATEX on as default
15369 * buffer.C (insertErtContents): new methods of tex style compability.
15370 (parseSingleLyXformat2Token): use it several places.
15371 * tabular.C (OldFormatRead): and here
15373 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15375 * text2.C: remove some commented code.
15378 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15379 * trans.C: changes because of the above.
15381 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15383 * text2.C (setCounter): Fix counters bug with bibliography layout.
15385 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15387 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15388 own member functions
15389 (simpleTeXSpecialChars): ditto
15391 2001-07-06 Juergen Vigna <jug@sad.it>
15393 * a lot of files: changed the access to LyXText::status and the
15394 call of undo-functions.
15396 * undo.[Ch]: added a inset_id to the undo informations.
15398 * undo_funcs.[Ch]: added and moved here all undo functions.
15400 * lyxtext.h: give the status enum a weight, made status_ a private
15401 variable and made accessor functions for it, removed the whole bunch
15402 of undo-functions as they are now in their own file, make some
15403 functions publically available. Added function ownerParagraph with
15406 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15407 made InInset() a const function, added getParFromID() function.
15409 * buffer.[Ch]: added const version for inset_iterator functions,
15410 added getInsetFromID() function.
15412 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15413 changed undo functions for new version.
15415 2001-07-05 Juergen Vigna <jug@sad.it>
15417 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15418 unknow mechanism does not call the proper constructor but only this
15419 one also if I request the other!?
15421 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15423 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15425 * text2.C (LyXText): use initialization lists.
15427 * lyxtext.h (Selection): initialize set_ and mark_
15428 (init): remove method
15430 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15432 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15434 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15436 * screen.[Ch]: change method names to begin with lowercase
15438 * BufferView_pimpl.C (updateScrollbar): simplify further and
15439 hopefully make it a bit faster.
15441 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15443 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15444 calling directly xforms functions.
15446 * Painter.C (Painter):
15447 * lyx_cb.C (MenuWrite):
15448 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15451 * lyx_gui.C: remove bogus guiruntime extern declaration.
15453 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15455 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15457 (redoDrawingOfParagraph): ditto
15458 (redoParagraphs): ditto
15459 (cutSelection): don't create a object for CutAndPaste use the
15460 static method directly
15461 (pasteSelection): ditto
15463 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15466 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15468 * modifications to some other files because of this.
15470 * Makefile.am (lyx_SOURCES): add XFormsView
15472 * XFormsView.[Ch]: new files
15474 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15475 the main window. Move the gui dependent stuff to XFormsView
15477 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15479 * tabular.C (GetCellInset): update cur_cell also in the row/col
15480 version of this function.
15482 * lyxfunc.C: no need to include figure_form.h here.
15488 * lyxvc.C: no need to include forms.h here.
15490 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15492 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15494 * lyxfunc.C (Dispatch):
15496 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15497 constructor argument.
15499 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15501 * paragraph.C (Paragraph): dont't clear, and just set layout.
15502 (makeSameLayout): use params's copy contructor.
15504 * ParagraphParameters.[Ch] (makeSame): delete method
15506 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15508 * Variables.[Ch]: fix indentation, rename set to isSet
15510 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * lyxfunc.C (Dispatch): fix typo
15514 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15516 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15519 * bufferlist.C: include assert.h for emergencyWrite().
15521 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15523 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15524 give up at last (bug #425202) !
15526 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15532 * spellchecker.C: strip spellchecker options and bring up
15533 preferences tab instead
15535 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15537 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15538 the istringstream constructor
15540 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15542 * paragraph.C (getLayout): fix return value
15544 * paragraph.h: do not declare getLayout as inline.
15546 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15548 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15550 * lyxcursor.h (operator<): new func
15551 (operator>): new func
15552 (operator>=): new func
15553 (operator<=): new func
15555 * text.C (changeCase): use selection.start and selection.end
15556 (changeRegionCase): require from to be <= to. Require par to be a
15559 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15561 2001-06-27 Juergen Vigna <jug@sad.it>
15563 * text.C (cursorLeftOneWord): changed to return the cursor and added
15564 overlay with BufferView * parameter which calls this one.
15566 (selectWord): use new getWord function.
15567 (changeCase): renamed from changeWordCase as and extended to work
15568 also on selections.
15570 * lyxtext.h: added enum word_location
15572 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15573 changeCase as this operates now also on selections.
15575 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15577 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15579 * many files: send debug output to Debug::INFO instead of
15582 * converter.C (View):
15584 (Move): send debug output to Debug::FILES instead of console.
15586 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15588 * lyxfunc.C (getStatus): use func_status
15590 * func_status.h: new header, describing the results of
15591 LyXFunc::getStatus;
15593 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15596 2001-06-25 The LyX Project <jug@sad.it>
15598 * buffer.C (sgmlOpenTag):
15600 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15602 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15604 * text2.C: remove some dead code
15606 * tabular.C (GetCellInset): store the last cell checked (gotten)
15608 * tabular.h: add the helper for the speedup
15610 * lyxtext.h: remove some dead code
15612 2001-06-26 The LyX Project <Asger>
15614 * paragraph.C: Change export to LaTeX of alignment to
15615 \begin{center} and family for better roundtrip work with reLyX.
15617 * Tune the math drawing a bit.
15619 2001-06-25 The LyX Project <Asger>
15621 * LColor.C (LColor): New color for math background. New color
15624 2001-06-25 The LyX Project <jug@sad.it>
15626 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15628 * lyxfunc.C (Open):
15629 * bufferlist.C (newFile): do not restrict to files ending with
15632 * BufferView_pimpl.C (MenuInsertLyXFile):
15634 2001-06-24 The LyX Project <jug@sad.it>
15636 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15639 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15641 * lyxtext.h: rename most methods to begin with a small char.
15642 Lots of changes because of this.
15644 * paragraph.C (Paragraph): do not call fitToSize
15645 (erase): call Pimpl::erase
15646 (insertChar): call Pimpl::insertChar
15647 (insertInset): call Pipl::insertInset
15648 (breakParagraph): do not call fitToSize
15649 (breakParagraphConservative): do not call fitToSize
15650 (fitToSize): remove method
15652 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15654 2001-06-24 The LyX Project <Asger>
15656 * Fix Qt compilation^2
15658 2001-06-24 The LyX Project <jug@sad.it>
15660 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15661 depthHook(getDepth()-1).
15664 * ParagraphParameters.h:
15665 * ParameterStruct.h: change type of depth to unsigned int ==
15666 depth_type. Many adaptations to other files before of that.
15668 2001-06-24 The LyX Project <Asger>
15670 * Fix Qt compilation.
15672 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15674 * paragraph.h: renamed several methods to begin with small letter.
15675 several changes to many parts of the code because of this.
15677 2001-06-23 The LyX Project <jug@sad.it>
15679 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15680 rewritten to discard all double spaces when KeepEmpty is off
15681 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15682 to only handle newlines but not fiddle with spaces and friends.
15684 * lyxfunc.C (MenuNew): when doing 'new from template', use
15685 template_path as default directory
15687 2001-06-23 The LyX Project <Asger>
15689 * Clean-up of header file includes all over
15690 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15692 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15694 * paragraph.h: renamed from lyxparagraph.h
15696 2001-06-23 Asger <lyx@violet.home.sad.it>
15698 * Buffer.h: Removed Buffer::resize
15699 * BufferList.h: Removed BufferList::resize
15700 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15701 the document lazily when we change the width, or the font settings.
15703 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15705 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15707 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15709 * buffer.h: remove out of date comment
15711 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15714 * screen.C: fix "theoretical" GC leak
15716 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15718 * LaTeX.C (scanAuxFile):
15719 (deplog): remove trailing \r when reading stream (useful under
15722 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15724 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15725 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15726 and BufferView::theLockingInset(Inset*), so should use them and not
15727 access bv_->text->the_locking_inset directly.
15729 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15731 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15734 * tex-defs.h: remove old unused file
15736 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15738 * BufferView_pimpl.C: fix typo, remove minibuffer message
15739 when buffer has loaded
15741 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15743 * lyxfunc.C (Dispatch): use stringstream
15744 (MenuNew): use stringstream
15745 (Open): use stringstream
15747 * importer.C (Import): use stringstream
15749 * bufferview_funcs.C (CurrentState): use stringstream
15751 * LaTeX.C (run): use stringstream
15753 * BufferView_pimpl.C (savePosition): use stringstream
15754 (restorePosition): use stringstream
15755 (MenuInsertLyXFile): use stringstream
15757 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15770 * vspace.C: removed // -*- C++ -*- as first line.
15773 * version.h: added // -*- C++ -*- as first line.
15775 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15777 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15779 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15782 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15784 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15787 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15789 * gettext.C: include LString.h even when --disable-nls is on.
15791 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15793 * converter.h (Get): changed argument type from int to
15794 FormatList::size_type to avoid unnecessary conversion.
15796 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15799 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15801 * gettext.h: include LString.h even when --disable-nls is on.
15803 2001-06-07 Juergen Vigna <jug@sad.it>
15805 * text.C (BreakAgain): subst spaces with tabs.
15807 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15808 (resizeInsetsLyXText): set force on resizeLyXText.
15810 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15812 * gettext.h (gettext_init):
15813 (locale_init): use a real definition instead of a macro
15815 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15817 * Bufferview_pimpl.C:
15819 * LColor.C: further lcolor tidies
15821 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15823 * BufferView_pimpl.C (updateScrollbar): simplify.
15825 * BufferView2.C: don't include insets/insetinfo.h, change
15826 prototype for insertInset and call the Pimpl version. let
15827 updateInset call Pimpl version.
15829 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15830 gotoInset to BufferView::Pimpl
15832 2001-06-01 Juergen Vigna <jug@sad.it>
15834 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15835 inside a LockingInset (is the update needed at all?).
15837 2001-05-31 Juergen Vigna <jug@sad.it>
15839 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15840 here not the old one otherwise how should we compare it afterwards
15843 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15848 * FontInfo.C: bring C functions into global namespace when
15851 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15853 * LString.h: make sure config.h has been loaded before LString.h.
15855 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15856 (one for each char read by EatLine!).
15858 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15861 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15863 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15864 to the same as the par we break from
15866 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15868 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15870 * MenuBackend.C (expand): also create menu entries for wide
15871 versions of the floats.
15873 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15875 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15877 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15878 frontends/Makefile.am
15884 * tabular.C (getTokenValue): add std::
15886 * tabular-old.C (getTokenValue): add std::
15887 (getTokenValue): ditto
15888 (getTokenValue): ditto
15890 * screen.C (ToggleSelection): adjust
15892 * lyxtext.h: put selection cursors inside a Selection struct.
15894 * lyxfunc.C (moveCursorUpdate): adjust
15896 * lyxfont.C (latexWriteStartChanges): add std::
15898 * lyxfind.C: adjust
15900 * font.h: delete with(char const *, LyXFont const &)
15902 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15904 * FontInfo.C (getFontname): add std::
15906 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15907 (workAreaButtonPress): adjust
15908 (tripleClick): adjust
15910 (moveCursorUpdate): adjust
15913 * BufferView2.C (gotoInset): adjust
15915 2001-05-30 Juergen Vigna <jug@sad.it>
15917 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15918 to check pspell I add this as default as I now have new pspell
15919 libraries and they seem to use this.
15921 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15923 * text2.C (CutSelection): make the cursor valid before the call to
15926 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15929 relied on 0 terminated strings and other horrors. Bug found due to
15930 the new assert in lyxstring!
15932 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15935 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15937 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15940 * lyxfunc.C (processKeySym): change method of getting to the
15943 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15944 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15945 * BufferView_pimpl.[Ch]: here as private methods.
15947 2001-05-28 Juergen Vigna <jug@sad.it>
15949 * text.C (SetHeightOfRow): added the update() call again as it is
15950 needed to initialize inset dimensions!
15952 2001-05-16 Juergen Vigna <jug@sad.it>
15954 * text2.C (SetCharFont): Add new function with BufferView * and
15955 bool toggleall parameters for setting insets internal fonts.
15956 (SetFont): Freeze the undo as we may change fonts in Insets and
15957 all this change should be inside only one Undo!
15959 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15960 setting font's in insets as for them we have the SetFont function!
15962 2001-05-15 Juergen Vigna <jug@sad.it>
15964 * text2.C (ClearSelection): to be sure we REALLY don't have any
15967 * tabular.C (TeXCellPreamble): fixed the left border problem for
15970 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15972 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15975 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15977 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15978 LFUN_BREAKPARAGRAPH.
15980 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15981 help test to "internal only", similar for LFUN_INSERT_URL
15983 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15984 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15985 auto_region_delete and deadkeys.
15987 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15990 * LColor.C: remove some dead entries, tidy a little
15992 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15994 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15996 (Dispatch): implement LFUN_ESCAPE
15998 * commandtags.h: add LFUN_ESCAPE
16000 * LyXAction.C (init): add entry for LFUN_ESCAPE
16002 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16003 Remove commented code.
16004 (insertNote): moved here
16005 (open_new_inset): moved here
16007 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16010 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16012 * kbmap.C (findbinding): clean it up and make it work correctly.
16014 * lyx_main.C (init): do not pass argc and argv as parameters
16016 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16018 * buffer.C: fix path for OS/2 & Win32
16022 * lyx_main.C: Added os:: class.
16024 * os2_defines.h: update
16026 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16028 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16029 better by trying again with reduced state.
16031 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16033 * lyxrc.C (read): print error about invalid key sequence only when
16034 debugging (because not all latinX keysyms are known to some X
16037 * kbsequence.C (getiso): add a few std:: qualifiers
16038 (getiso): comment out extra return statement.
16040 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16042 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16044 (Dispatch): enhance the accent inset a bit. (not perfect)
16046 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16048 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16050 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16052 * bufferlist.C (emergencyWrite): fix assert() call
16054 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16056 * text.C (InsertChar): Added trivial patch to only send the "you
16057 can not do multiple spaces this way" message once during a
16060 2001-05-08 Baruch Even <baruch@lyx.org>
16062 * Makefile.am: Changed order of libraries to get LyX to link properly
16063 with the gnome frontend.
16065 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16067 * LaTeXFeatures.h: add a std:: qualifier
16069 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16071 * paragraph.C (String): use stringstream
16073 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16075 * paragraph.C (writeFile): remove footflag arg
16077 * buffer.C (makeLaTeXFile): use stringstream
16078 (latexParagraphs): remove footnot gurba
16080 * LaTeXFeatures.C (getPackages): use stringstream
16081 (getMacros): likewise
16082 (getTClassPreamble): likewise
16083 (getFloatDefinitions): new method
16085 * paragraph.C (writeFile): reindent
16088 * WorkArea.h: revert the xpos + etc changes.
16090 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16092 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16094 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16095 (pasteSelection): likewise
16096 * text2.C (CreateUndo): likewise
16098 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16100 * minibuffer.C (peek_event): temporarily reduce the functionality
16101 of the minibuffer (to allow args on lfuns)
16103 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16104 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16106 * buffer.C (readInset): add compability reading of old float
16107 lists, add reading of new style float list.
16108 (readInset): avoid reevaluation of inscmd.getCmdName()
16109 (getLists): reindent
16111 * MenuBackend.C (MenuItem): implement parsing of
16112 md_floatlistinsert and md_floatinsert.
16113 (expand::LastFiles): move initalizaton of iterators out of loop,
16114 avoid reevaluation.
16115 (expand::Documents): introduce typdedef vector<string> Strings,
16117 (expand::ExportFormats): introduce typedef vector<Format const *>
16118 Formats, and use it.
16119 (expand): implement FloatListInsert and FloatInsert.
16121 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16122 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16123 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16125 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16127 (Dispatch::LFUN_FLOAT_LIST): implement
16129 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16131 * LaTeX.C (run): Fix problem with --export code.
16133 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16135 * BufferView.[Ch] (workarea): removed.
16136 (getClipboard) new method; wrapper for workarea()->getClipboard()
16138 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16141 * WorkArea.h (width, height, xpos, ypos): These methods all
16142 returned the dimensions of the work_area sub-area of WorkArea,
16143 resulting in a position error if the WorkArea were resized. Now
16144 return the dimensions of the entire WorkArea.
16146 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16148 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16150 * LaTeX.C (deplog): correct the syntax of regex reg1
16152 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16154 * undo.C: remove !NEW_INSETS cruft
16156 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16158 * text2.C: remove !NEW_INSETS cruft
16160 * text.C: remove !NEW_INSETS cruft
16162 * tabular.C: remove !NEW_INSETS cruft
16164 * spellchecker.C: remove !NEW_INSETS cruft
16166 * lyxtext.h: remove !NEW_INSETS cruft
16168 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16170 * lyxfunc.C: remove !NEW_INSETS cruft
16172 * lyxfind.C: remove !NEW_INSETS cruft
16174 * lyx_cb.C: remove !NEW_INSETS cruft
16176 * figureForm.C: remove !NEW_INSETS cruft
16178 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16180 * buffer.[Ch]: remove !NEW_INSETS cruft
16182 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16184 * CutAndPaste.C: remove !NEW_INSETS cruft
16186 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16188 * BufferView2.C: remove !NEW_INSETS cruft
16190 * BufferView.h: remove !NEW_INSETS cruft
16192 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16194 * Lsstream.h: include LString.h before the sstream headers to
16195 fix problem with gcc 2.95.3 and lyxstring
16197 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16199 * lyx_main.C: add using directives when needed for C functions
16200 declared in std:: namespace.
16202 2001-04-27 Juergen Vigna <jug@sad.it>
16204 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16205 (SetHeightOfRow): comment out the update call should not be needed!
16207 2001-04-13 Juergen Vigna <jug@sad.it>
16209 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16210 (LyXTabular): tried to minimize operator= operations (and realized
16211 hopfully Lars wish).
16213 2001-04-27 Juergen Vigna <jug@sad.it>
16215 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16217 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16219 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16221 * buffer.C (readInset): hack to make listof algorithm work
16223 * BufferView_pimpl.C: hack to make listof algorithm work
16225 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16227 * LyXAction.C: removed all !NEW_INSETS cruft
16228 (init): moved lfun_item in method
16230 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16232 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16234 * BufferView2.C (theLockingInset): white space.
16236 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16238 * minibuffer.C: include <iostream>
16240 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16242 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16244 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16246 * text.[Ch] (TransposeChars): new method
16248 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16250 * call message directly through LyXView instead of through LyXFunc
16251 * BufferView2.C: adjust
16252 * BufferView_pimpl.C: adjust
16253 * FontLoader.C: adjust
16255 * bufferview_funcs.C: adjust
16256 * converter.C: adjust
16257 * figureForm.C: adjust
16258 * importer.C: adjust
16260 * lyx_gui_misc.C: adjust
16261 * lyxfunc.C: adjust
16264 + more files in subdirs
16266 * lyxparagraph.h (size): move up int file
16269 * adjust all uses of Assert to lyx::Assert.
16271 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16272 lyxfunctional in namespace lyx
16273 * layout.C (hasLayout): ditto
16276 (delete_layout): ditto
16277 (NumberOfClass): ditto
16278 * converter.C (GetFormat): ditto
16283 * bufferlist.C (getFileNames): ditto
16284 (emergencyWriteAll): ditto
16287 * MenuBackend.C (hasSubmenu): ditto
16290 * BufferView_pimpl.C (getInsetByCode): ditto
16292 2001-04-18 Juergen Vigna <jug@sad.it>
16294 * vspace.C (asLatexString): fixed the 100% problem.
16296 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16298 * lyxfunc.C (Dispatch):
16300 * minibuffer.h: add a few std:: qualifiers
16302 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16304 * minibuffer.[Ch]: reimplement so that commands is initiated and
16305 run from lyxfunc, simplified som handling, and made the completion
16306 and history code for complete. wip.
16308 * lyxfunc.C (processKeySym): call message
16309 (miniDispatch): new temporary method
16310 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16311 (LFUN_MESSAGE): implement
16312 (LFUN_MESSAGE_PUSH): implement
16313 (LFUN_MESSAGE_POP): implement
16314 (initMiniBuffer): the initial/defualt minibuffer message.
16316 * lyxfont.[Ch]: inline some more getters
16318 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16320 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16322 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16323 (AutoSave): use LFUN_MESSAGE
16324 (Reconfigure): ditto
16326 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16328 * figureForm.C: use LFUN_MESSAGE
16330 * converter.C (runLaTeX): use LFUN_MESSAGE
16332 * bufferview_funcs.C: use LFUN_MESSAGE
16334 (changeDepth): ditto
16336 * bufferparams.h: use boost::
16338 * bufferlist.h: inherit privately from noncopyable
16340 * bufferlist.C (loadLyXFile): remove some commented code.
16342 * buffer.C (runChktex): use LFUN_MESSAGE
16344 * ShareContainer.h: inherit privately from noncopyable
16346 * ParagraphParameters.[hC] (depth): inline it.
16348 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16350 (message): new method
16351 (messagePush): ditto
16352 (messagePop): ditto
16353 (show): init minibuffer
16354 (showState): direct call
16356 * LaTeX.[Ch]: inherit privately from noncopyable
16357 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16358 instead of WriteStatus.
16360 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16362 * BufferView_pimpl.C (buffer): don't init minibuffer
16363 (workAreaButtonPress): use LFUN_MESSAGE
16364 (workAreaButtonRelease): ditto
16365 (savePosition): ditto
16366 (restorePosition): ditto
16367 (MenuInsertLyXFile): ditto
16368 (workAreaExpose): don't init minibuffer
16369 (update): remove commented code, simplify
16371 * BufferView2.C (openStuff): use LFUN_MESSAGE
16372 (toggleFloat): ditto
16375 (copyEnvironment): ditto
16376 (pasteEnvironment): ditto
16381 (updateInset): remove some commented code
16383 * lastfiles.h: inherit privately from noncopyable
16386 * lyx_main.h: ditto
16388 * lyxlex_pimpl.h: ditto
16390 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16391 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16392 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16394 * LyXAction.h: inherit privately from noncopyable, add methods
16395 func_begin, func_end, returning iterators to the func map.
16397 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16398 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16399 (func_begin): new method
16400 (func_end): new method
16402 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16404 (copySelection): ditto
16405 (pasteSelection): ditto
16407 * BufferView.C: whitespace change
16408 * BufferView.h: inherit privately from noncopyable
16410 2001-04-16 Allan Rae <rae@lyx.org>
16412 * tabular-old.C (l_getline):
16413 * spellchecker.C (sc_check_word):
16414 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16415 an unrecognised preprocessor directive. So ensure they're wrapped.
16417 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16419 * src/exporter.C (Export): Give an error message when path to file
16422 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16424 * LaTeX.C (deplog): Always check that foundfile exists.
16426 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16429 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16431 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16433 * tabular.[Ch] (getLabelList): implement new method
16435 * minibuffer.h: comment ouf setTiimer
16437 * minibuffer.C (ExecutingCB): constify res
16438 (peek_event): constify s
16439 (Set): constify ntext
16440 (Init): constify nicename
16442 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16444 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16445 (savePosition): use two params to Minibuffer::Set
16446 (restorePosition): ditto
16448 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16450 * lyx_main.C: include language.h
16452 * Makefile.am (lyx_main.o): add language.h
16454 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16460 * CutAndPaste.C: include gettext.h
16462 * lyxfont.h: remove old hack with ON and OFF.
16465 * lyxfont.h: do not include language.h...
16470 * bufferview_funcs.C:
16476 * paragraph.C: ... but do it here instead
16478 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16480 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16482 * tabular.C: small reformat
16484 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16487 (BreakParagraph): ditto
16488 (SetOnlyLayout): ditto
16491 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16494 * lastfiles.C: removed most using decl, add std:: where needed
16496 * buffer.C: ws changes
16498 * MenuBackend.C (class compare_format): put into anon namespace
16499 (expand): constify label, names, action, action2
16502 * text.C (SingleWidth): constify font
16503 (IsBoundary): constify rtl2
16504 (GetVisibleRow): constify ww
16506 * LaTeX.C (deplog): constify logfile
16508 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16510 (workAreaExpose): constify widthChange, heightChange
16512 * lyxrow.C (par): moved
16515 * lyxrow.h: as inlines here
16517 * lyxfont.h (shape): moved from lyxfont.C
16518 (emph): moved from lyxfont.C
16520 * lyxfont.C (LyXFont): use initialization list for all
16522 (shape): move to lyxfont.h as inline
16523 (emph): move to lyxfont.h as inline
16526 2001-04-04 Juergen Vigna <jug@sad.it>
16528 * vspace.C: had to include stdio.h for use of sscanf
16530 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16533 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16534 independent of xforms.
16536 2001-04-02 Juergen Vigna <jug@sad.it>
16538 * spellchecker.C: fixed namespace placing!
16540 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16542 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16543 the LyXParagraph * is 0.
16545 2001-03-29 Juergen Vigna <jug@sad.it>
16547 * vspace.C: added support for %, c%, p%, l%.
16548 (stringFromUnit): added helper function.
16549 (asLatexString): changed to give right results for the %-values.
16551 * buffer.C: convert the widthp in a width%.
16553 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16555 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16558 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16559 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16561 * lyx_cb.[Ch]: see above.
16563 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16567 * lyx.[Ch]: replaced by figure_form.[Ch].
16571 * lyxfunc.C: changed headers associated with above changes.
16573 2001-03-27 Juergen Vigna <jug@sad.it>
16575 * BufferView_pimpl.C: set the temporary cursor right!
16577 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16579 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16581 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16583 * LString.h: removed "using std::getline"!
16585 * BufferView_pimpl.C (Dispatch): changes due to changes in
16586 InsetInclude::Params.
16588 * buffer.C (tag_name): removed redundant break statements as they were
16589 producing lots of warnings with my compiler.
16591 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16593 * LString.h: add "using std::getline" when using the real <string>.
16595 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16597 * buffer.C: removed bitset usage.
16598 PAR_TAG moved to an anonymous name space.
16599 (tag_name): new funtion, also in the anonymous namespace.
16600 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16601 (makeDocBookFile): clean code. Completed transition from string arrays
16603 (SimpleDocBookOnePar): code clean.
16605 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16607 * tabular.C: add some comments.
16609 2001-03-22 Juergen Vigna <jug@sad.it>
16611 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16612 compatibility read a bit and fixed bug with minipage in different
16615 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16617 * buffer.C (pop_tag): removed.
16618 (push_tag): removed.
16619 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16620 array replaced with vector. Added support for CDATA sections.
16621 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16623 (makeDocBookFile): XML conformant declaration of CDATA section,
16624 fixed bug related to <emphasis> in the first paragraph char.
16625 (sgmlOpenTag): exclude empty tags.
16626 (sgmlCloseTag): ditto.
16628 * buffer.h (pop_tag): removed.
16629 (push_tag): removed.
16631 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16633 * language.h (Languages): added size_type and size().
16635 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16637 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16638 response on compability reading of minipages. One probliem is that
16639 the old usage of minipages was «flertydig»
16641 * several files here and in subdirs: don't use static at file
16642 scope use anon namespaces instead.
16644 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16646 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16647 LaTeX output. This is necessary for Literate document
16650 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16652 * buffer.C: insert hfill when needed.
16654 * tabular.C (l_getline): use string::erase, small whitespace change.
16656 * BufferView_pimpl.C: try the anon namespace.
16657 * WorkArea.C: ditto
16659 2001-03-16 Juergen Vigna <jug@sad.it>
16661 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16662 otherwise it won't open options-dialogs.
16664 * buffer.C: honor pextraWidth(p) on converting minipages.
16666 * tabular.C (l_getline): changed the functions to strip trailing \r.
16668 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16670 * BufferView_pimpl.C:
16671 * minibuffer..C: added "using SigC::slot" declaration.
16673 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16675 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16681 * paragraph.C: ditto
16683 * lyxtext.h: NO_PEXTRA
16685 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16687 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16688 * ParameterStruct.h: ditto
16689 * ParagraphParameters.h: ditto
16690 * lyxparagraph.h: ditto
16692 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16694 * buffer.C: add compability for minipage alignment.
16695 (latexParagraphs): remove unwanted pextra check.
16697 * several files: remove CXX_WORKING_NAMESPACES
16699 * buffer.C (pop_tag): tie is in namespace boost
16701 * BufferView.h: noncopyable is in namespace boost
16703 * lyx_main.h: ditto
16706 * lastfiles.h: ditto
16707 * bufferlist.h: ditto
16708 * ShareContainer.h: ditto
16710 * LyXAction.h: ditto
16713 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16715 * Merging changes from BRANCH_MVC back into HEAD.
16717 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16719 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16721 * BufferView_pimpl.C: change from intl.C
16725 * Makefile.am: move combox.*
16731 * intl.C: remove dialog (covered by prefs)
16733 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16735 * lyxfunc.C (Dispatch): removed redundant break statement.
16737 2001-03-14 Juergen Vigna <jug@sad.it>
16739 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16741 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16743 * buffer.C: add hack to fix compability reading of minipages.
16745 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16747 * buffer.C (getLists): Cleanup.
16749 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16751 * lyxfont.C (update): don't honor toggleall on font size.
16753 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16757 * Makefile.am: moved to frontends/xforms/
16761 * BufferView_pimpl.C: changes for moved mathpanel
16763 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16765 * gettext.h: fix gettext_init() in --disable-nls
16767 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16769 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16771 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16774 * lyx.h: strip external form
16776 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16778 * BufferView_pimpl.C: add comment, destroySplash()
16780 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16782 * BufferView_pimpl.C:
16786 * lyxfunc.C: use re-worked insetinclude
16788 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16790 * buffer.C: add using std::stringstream.
16792 * lyx_cb.C: readd using std::ios.
16794 * buffer.C: add using std::map.
16796 * BufferView_pimpl.C: add using std::vector.
16798 * ShareContainer.h: add std:: to swap.
16800 * buffer.h: add some typedefs
16801 * buffer.C (getLists): use them
16802 (getLists): renamed from getTocList.
16803 add a counter for the different float types and use it in the
16805 (getLists): use the same counter for the NEW_INSETS and the "non"
16808 * lyx_cb.h: remove unused items, includes, using etc.
16810 * ShareContainer.h: remove some commented code, add more comments
16811 and "documentation".
16813 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16815 * buffer.C (getTocList): make the list also when NEW_INSETS is
16818 * buffer.h: remove TocType
16820 * buffer.C (getTocList): change to return a map<string,
16821 vector<TocItem> >, implement for dynamic number of list.
16823 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16824 * text2.C (PasteSelection): adjust
16825 * CutAndPaste.C (pasteSelection): adjust
16827 * FloatList.C (FloatList): update from the new_insets branch.
16828 * Floating.[Ch]: ditto
16829 * LaTeXFeatures.C: ditto
16831 * lyxlex_pimpl.C: ditto
16833 * paragraph.C (Last): remove when NEW_INSETS is defined.
16835 * other file: changes because of the above.
16837 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16839 * lyxparagraph.h: rename next to next_, previous to previous_,
16840 make them private for NEW_INSETS. Rename Next() to next(),
16841 Previous() to previous().
16843 * other files: changes because of the above.
16845 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16848 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16851 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16853 * main.C (main): pass lyx_localedir to gettext_init().
16855 * gettext.h: remove locale_init and gettext_init macros
16857 * gettext.C (locale_init): new function
16858 (gettext_init): new function
16860 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16863 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16865 * Moved credits to frontends:
16866 * credits.[Ch]: removed
16867 * credits_form.[Ch]: removed
16868 * lyx_gui_misc.C: remove credits stuff
16871 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16873 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16875 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16876 unneeded destructor.
16878 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16879 a standalone pointer again.
16881 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16883 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16889 * ToolbarDefaults.C:
16898 * BufferView_pimpl.C: use new file dialog in GUII
16901 * lyx_cb.C: remove LayoutsCB to Toolbar
16903 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16905 * ShareContainer.h (get): add std:: qualifier
16907 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16909 * ShareContainer.h: define a proper ShareContainer::value_type
16910 type (and use typename to please compaq cxx)
16912 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16914 * lyxparagraph.h: move serveral local vars to
16915 ParameterStruct/ParagraphParameters., use ShareContainer in
16916 FontTable., make vars in FontTable private and add getter and
16919 * paragraph.C: changes because of the above.
16921 * lyxfont.h: remove copy constructor and copy assignment. (the
16922 default ones is ok), move number inside FontBits. move inlines to
16925 * lyxfont.C: add number to initializaton of statics, move several
16926 inlines here. constify several local vars. some whitespace
16927 cleanup. Dont hide outerscope variables.
16929 * Spacing.h: add two new constructors to match the set methods.
16931 * ShareContainer.h: new file, will perhaps be moved to support
16933 * ParameterStruct.h: new file
16935 * ParagraphParameters.h: new file
16937 * ParagraphParameters.C: new file
16939 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16940 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16942 * BufferView_pimpl.C: ParagraphParameter changes.
16943 * buffer.C: Likewise.
16944 * bufferview_funcs.C: Likewise.
16945 * text.C: Likewise.
16946 * text2.C: Likewise.
16948 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16950 * lyxfind.C (LyXReplace): do not redefine default argument in
16952 (IsStringInText): ditto
16953 (SearchForward): ditto
16954 (SearchBackward): ditto
16956 2001-03-06 Juergen Vigna <jug@sad.it>
16958 * lyxfind.C (IsStringInText): put parentes around expressions.
16960 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16962 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16964 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16966 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16968 * stl_string_fwd.h: add comment
16970 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16973 * tabular.C: remove unused DocBook methods
16979 killed DO_USE_DEFAULT_LANGUAGE
16981 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16983 * lyx_gui.C: do not include language.h.
16985 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16986 arguments in function implementation.
16988 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16990 * BufferView_pimpl.C: add <ctime>
16992 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16994 * BufferView_pimpl.C: add using std::find_if
16996 2001-02-27 José Matos <jamatos@fep.up.pt>
16998 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17001 2001-02-11 José Matos <jamatos@fep.up.pt>
17003 * buffer.C (makeDocBookFile): command styles now have a parameter as
17004 "title" by default.
17006 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17008 * layout_forms.[Ch]: removed
17009 * lyx_cb.[Ch]: out character
17010 * lyx_gui.C: out character
17011 * lyx_gui_misc.C: out character
17012 * bufferview_funcs.C: : out character,
17013 added toggleall as parameter in ToggleAndShow
17015 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17017 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17019 * text2.C (SetCurrentFont): Disable number property at boundary.
17021 2001-02-26 Juergen Vigna <jug@sad.it>
17023 * lyxfunc.C (getStatus): added a string argument override function so
17024 that this is correctly called from LyXFunc::Dispatch if it contains a
17025 do_not_use_argument which is used!
17026 (Dispatch): added check for "custom" export and call appropriate func.
17028 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17030 * lyxrc.C: Add language_command_local, language_use_babel and
17031 language_global_options.
17033 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17035 * buffer.C (makeLaTeXFile): Use language_use_babel and
17036 language_global_options.
17038 2001-02-23 Juergen Vigna <jug@sad.it>
17040 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17041 which works with LyXText and putted it inside BufferView. Here now we
17042 only call for that part the BufferView::Dispatch() function.
17044 * BufferView.C (Dispatch): added.
17046 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17047 functions which needs to use a LyXText over from LyXFunc.
17048 (MenuInsertLyXFile): added
17049 (getInsetByCode): added
17050 (moveCursorUpdate): added
17051 (static TEXT): added
17053 2001-02-22 Juergen Vigna <jug@sad.it>
17055 * BufferView_pimpl.C (update): call a status update to see if LyXText
17058 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17060 * vc-backend.C (revert): implement for CVS
17061 (getLog): implement for CVS
17063 2001-02-20 Juergen Vigna <jug@sad.it>
17065 * text2.C (ClearSelection): added BufferView param for inset_owner call
17067 * lyxfunc.C (TEXT): added this function and use it instead of
17068 directly owner->view()-text of getLyXText().
17070 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17072 * src/layout_forms.C: out preamble
17073 * src/layout_forms.h: out preamble
17074 * src/lyx_cb.C: out preamble
17075 * src/lyx_cb.h: out preamble
17076 * src/lyx_gui.C: out preamble
17077 * src/lyx_gui_misc.C: out preamble
17078 * src/lyxfunc.C: connect with guii preamble
17080 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17082 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17084 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17086 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17087 whether to run bibtex.
17089 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17091 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17093 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17095 * Makefile.am (lyx_SOURCES): removed bibforms.h
17097 * vspace.h: doxygen
17099 * text.C (GetVisibleRow): make several local vars const
17101 * tabular.C: small cleanup.
17103 * lyxserver.C (callback): use compare instead of strncmp
17105 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17106 inlines to after class or to paragraph.C
17108 * lyxfont.h: remove friend operator!=
17110 * converter.h: move friend bool operator< to non friend and after
17113 * combox.h: small cleanup
17115 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17116 to inlines after class def.
17118 * buffer.C (pop_tag): use string operations instead of strcmp
17120 * bmtable.c: doxygen, small cleanup
17122 * LaTeX.h: remove friend operator==
17124 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17136 * BufferView_pimpl.C:
17137 * BufferView.[Ch]: remove cruft
17139 2001-02-14 Juergen Vigna <jug@sad.it>
17141 * lyxfunc.C: removed #if 0 unused code
17143 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17145 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17147 * text2.C (SetSelection): added a BufferView * parameter
17149 2001-02-13 Juergen Vigna <jug@sad.it>
17151 * lyxfunc.C (Dispatch): fixed protected blank problem.
17152 * BufferView2.C (protectedBlank): added LyxText * parameter.
17154 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17155 (AppendColumn): same as above for column_info.
17157 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17158 (moveCursorUpdate): use a LyXText param for support of InsetText.
17160 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17161 (tripleClick): ditto
17163 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17165 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17167 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17169 * text2.C (SetSelection): set correct update status if inset_owner
17170 (ToggleFree): ditto
17172 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17174 * tabular.C: remove some commented code.
17176 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17178 * BufferView_pimpl.C: call hideSplash()
17180 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17183 * bibforms.h: remove
17186 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17187 add LFUN_CHILD_CREATE
17189 * counters.h: fix tiny typo
17194 * lyx.C: move splash to frontends/xforms/
17196 * lyx_gui_misc.C: move Include and Bibform to frontends
17198 * lyxvc.h: clarify comment
17200 * vspace.C: tiny housekeeping
17202 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17204 * text.C (PrepareToPrint): RTL Fix.
17206 * paragraph.C (GetUChar): New method.
17207 (String): Use GetUChar.
17209 * buffer.C (asciiParagraph): Use GetUChar.
17211 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17213 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17215 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17218 * buffer.C: rename to getLogName(), handle
17219 build log / latex log nicely
17221 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17224 * MenuBackend.h: remove support for reference menuitem type.
17226 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17228 * BufferView_pimpl.C: housekeeping
17229 * BufferView_pimpl.h:
17234 * minibuffer.h: move Timeout GUI-I
17236 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17238 * lyxrc.C (read): Update converters data-structures.
17240 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17242 * LaTeX.h (operator!=): add operator != for Aux_Info
17244 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17246 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17248 * LaTeXLog.C: deleted, useful code moved to Buffer
17251 * buffer.C: new function getLatexLogName()
17257 * lyxfunc.C: use frontends for LaTeX and VC logs
17259 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17261 * LaTeX.h: yet another std:: that Allan forgot.
17263 * Variables.C (set): renamed from isset(), because this clashes
17264 with some HP-UX macros (grr).
17266 2001-02-06 Allan Rae <rae@lyx.org>
17268 * LaTeX.h: Another bug fix. Missing std:: this time.
17270 2001-02-04 Allan Rae <rae@lyx.org>
17272 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17273 floats problem. I've left it commented out because it's not quite
17274 correct. It should also test that the current object is a table or
17275 figure inset. But I haven't gotten around to figuring out how to do
17276 that. I *think* it'll be something like: "table" == inset.type()
17278 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17281 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17283 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17284 all the citation/databases/styles in the auxilary file.
17285 (run): Rerun latex if there was a babel language error.
17287 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17289 * text.C (Backspace): Preserve the font when changing newline char
17291 (BreakParagraph): If the cursor is before a space, delete the space.
17293 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17295 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17297 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17298 new argument (code).
17299 (ChangeCitationsIfUnique): New method.
17301 * paragraph.C (GetPositionOfInset): Handle bibkey.
17303 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17305 * BufferView_pimpl.h: change type of Position::par_pos to
17306 LyXParagraph::size_type.
17308 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17310 * BufferView_pimpl.C (savePosition, restorePosition): Write
17311 messages to minibuffer.
17313 2001-01-28 José Matos <jamatos@fep.up.pt>
17315 * buffer.C (makeDocBookFile): adds support for document language.
17316 A silly restriction on the name of LatexCommand types where removed.
17317 Added support for CDATA sections, allows to chars unescaped, used
17318 among others in code, to avoid escape < and >.
17320 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17322 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17323 saved positions instrad of a stack. Furthermore, a position is
17324 stored using paragraph id/paragraph position.
17326 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17327 Remove LFUN_REF_BACK.
17329 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17331 * converter.C (dvipdfm_options): New method.
17333 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17335 * vspace.C (isValidLength): Fix for empty input string.
17337 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17339 * LyXAction.C (init): change description of LFUN_FIGURE to
17342 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17344 * LaTeX.C: add using directive
17346 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17348 * MenuBackend.C (expand): Fix the sorting of the formats.
17350 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17352 * lyx_main.C: tiny error message fix
17354 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17356 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17357 calling fl_initialize(). This fixes the problem with ',' as
17358 decimal separator in text files.
17360 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17362 * trans.C (process): Fix the keymap bug.
17364 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17366 * LaTeX.C (scanAuxFiles): New method. Provides support for
17367 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17368 (scanLogFile) Scan for "run BibTeX" messages.
17370 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17371 OT1 font encoding. Also, load the aecompl package if the ae
17374 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17376 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17378 * texrow.C (increasePos): turn two error messages into debug
17381 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17383 * LaTeX.C (scanAux): Handle the \@input macro.
17384 (runBibTeX): Use scanAux().
17386 * language.C (latex_options_): New field.
17388 * LaTeXFeatures.C (getMacros): Add language macros.
17390 * buffer.C (makeLaTeXFile): Small fix.
17392 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17394 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17396 * text2.C: add a using directive.
17398 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17403 * lyxfunc.C: kill LyXBell.
17405 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17407 * text.C (IsBoundary): Remove the error message
17409 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17411 * lyxrc.C (setDefaults): Correct initialization value for
17414 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17416 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17419 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17420 and GotoNextNote().
17422 * src/LyXAction.C: Added reference-next.
17424 * text.C (InsertChar): Use contains instead of strchr.
17426 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17428 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17430 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17431 alignment commands (when needed).
17433 * text.C (InsertChar): Add ':' to number separator chars.