1 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
3 * paragraph_funcs.C: fix crash when pasting insets in change
4 tracking mode [bug 1277] (honour change type in moveItem).
6 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
10 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * BufferView.C (setCursor): change to use a DocIterator.
13 (gotoLabel): use BufferView::setCursor (other part of bug 781).
14 (putSelectionAt): adapt to BufferView::setCursor change.
16 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
17 moved here from LyXText and rewritten to use proper cursor
18 methods. Fixes bug 1787, 616 and 835.
20 * BufferView_pimpl.C (restorePosition): set the cursor correctly
21 when inside an inset (part of bug 781).
22 (dispatch): adapt to change of BufferView::setCursor.
23 (getStatus, dispatch): handle LFUN_GOTOERROR,
24 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
26 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
27 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
28 * text3.C (gotoNextInset, gotoInset): removed.
30 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
34 2005-02-15 Angus Leeming <leeming@lyx.org>
36 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
37 can be used meaningfully in a comparison.
39 2005-02-13 André Pönitz <poenitz@gmx.net>
41 * bufferview_funcs.C (coordOffset): improve cursor drawing
43 2005-02-13 André Pönitz <poenitz@gmx.net>
45 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
46 * Cursor.C (dispatch): use fixIfBroken
47 * lyxfunc.C (getStatus): use fixIfBroken
49 2005-02-15 Angus Leeming <leeming@lyx.org>
51 * lyx_main.C (error_handler):
53 * lyxrc.C (setDefaults):
55 #include "environment.h".
57 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
59 2005-02-15 Angus Leeming <leeming@lyx.org>
61 * lyxserver.C (startPipe): squash MSVC warning "local variable
62 'fd' used without having been initialized".
64 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
66 * BufferView_pimpl.C: revert accidental commit.
68 2005-02-14 André Pönitz <poenitz@gmx.net>
70 * dociterator.[Ch]: new member forwardPosNoDescent(),
71 which doesn't enter nested insets.
72 * text2.C (setFont): use forwardPosNoDescent() instead
73 of ForwardPos() (fixes crash on font change).
75 2005-02-13 Angus Leeming <leeming@lyx.org>
77 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
78 only if lyxrc.path_prefix is not empty.
80 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * bufferparams.C (readGraphicsDriver): prevent crash
84 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
86 * text2.C (setCounter): check for inInset() == 0
88 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
90 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
91 but use update() to get correct screen display; use convert
92 instead of istringstream.
93 (getStatus): handle LFUN_GOTO_PARAGRAPH
95 * lyxfunc.C (dispatch, getStatus): do not handle
96 LFUN_GOTO_PARAGRAPH here.
98 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
100 * text3.C (dispatch): size() -> depth()
102 * text2.C: remove some debug output
104 * paragraph.C: ws changes only
106 * lyxfunc.C (getStatus): size() -> depth()
108 * dociterator.h (clear, push_back, pop_back, internalData,
109 operator[], resize, empty): new functions
110 Make StableDocIterator and operator== be friends. Don't inherit
111 from std::vector use a privat class variable slices_ instead.
114 * dociterator.C: update because of not inheriting from std::vector
115 anymore. Call explictly to slices_ instead. Use depth() instead of
116 size() and top() instead of back()
118 * cursor.C: chagne size() -> depth and back() -> top(). Also
119 remove some direct operator[](i) calls in favour of foo[i]
120 (getFont): remove some dead code
122 * bufferview_funcs.C (coordOffset): size() -> depth()
124 * buffer.C: ws changes only
126 * CutAndPaste.C (eraseSelection): back() -> top()
128 * BufferView_pimpl.C (selectionRequested): back() -> top()
130 * BufferView.C (setCursor): size() -> depth()
132 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
134 * text3.C (cursorPrevious): return true if depm changed something
136 (dispatch): rename sl to oldTopSlice, remove moving use the new
137 NoUpdate func attrib instead. Make sure that needsUpdate is set
138 for function that have NoUpdate, but where depm might have changed
141 * text2.C (cursorLeft): make us return true if depm changed
144 (cursorUpParagraph): ditto
145 (curosrDownParagraph): ditto
146 (cursorUp, cursorDown): ditto, make sure to read comments in code
147 (deleteEmptyParagraphMechanism): remove an assert, also return
148 true if just a single char was deleted.
150 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
151 cursor that we modify, to avoid modifying an active cursor before
152 we call setCursor. This allows depm to run. Also return true if
153 depm deleted something.
155 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
156 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
157 cursorDownParagraph, cursorPrevious and cursorNext, return true if
158 something was changed in the buffer because of them (ie. depm run)
160 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
161 debug messages. Make update by default be false. Make sure that
162 the result of update is retained throught several calls down to
165 * LyXAction.h: add a new func_attrib: NoUpdate
167 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
168 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
169 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
171 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
173 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
176 bv_->owner(), bv_->buffer() by direct references to the private
178 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
179 (getStatus): isSavedPosition() is in BufferView::Pimpl.
180 (fitCursor): center() is in BufferView::Pimpl.
181 (getStatus, trackChanges, dispatch): no need for a temporary buf
183 (fitCursor, workAreaDispatch): use workarea().workheight()
185 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
187 * CutAndPaste.C (pasteSelectionHelper): fix a crash
189 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
191 * buffer.C: format up to 241.
192 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
193 break if pasting into ERT
194 * lyxfunc.C (getStatus): suppress mathpanel and
195 LFUN_DIALOG_SHOW_NEW_INSET in ERT
197 2005-02-01 Angus Leeming <leeming@lyx.org>
199 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
201 2005-02-01 Angus Leeming <leeming@lyx.org>
203 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
204 calling fs::is_directory().
206 2005-01-31 Angus Leeming <leeming@lyx.org>
208 * lyx_main.C (priv_exec): specify explicitly the relative location
209 of the top level build directory when run in-place.
211 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
214 LyXText containing the cursor, not the top-level one.
216 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
218 (insertStringAsLines): rename par to pit; use temporary variable
219 par to hold a Paragraph; do not store par.layout() in a variable,
220 since the pointer may die when breaking paragraphs; pass pars to
221 breakParagraph() instead of Buffer::paragraphs().
223 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
225 * lyxlex_pimpl.h: #include <fstream>.
227 * BufferView.[Ch] (getLyXText): add a const version.
229 * BufferView_pimpl.C: add debug aids.
234 * paragraph_funcs.h: add commentary explaining what the class does.
237 * coordcache.[Ch]: add lots of commentary.
238 (startUpdating, doneUpdating): debug aids.
239 (arrays, insets, parPos, getParPos): accessors to private data.
241 * cursor_slice.[Ch] (text): add a const version.
242 * dociterator.[Ch] (text, innerText): add const versions.
244 * lyxtext.h (breakParagraph): change the keep_layout arg to a
247 * paragraph.C (getRow, pos2ros): add asserts.
249 * paragraph.h: add commentary. Lots of.
251 * paragraph.[Ch] (metrucs, draw): removed.
254 * rowpainter.[Ch]: const-correct changes.
256 * text.C: various obvious clean-ups. Removal of ancient cruft.
259 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
261 * vc-backend.C (find_file): rewrite to use boost.filesystem
264 * main.C (main): set default name check for boost.filesystem to
267 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
270 (actOnUpdatedPrefs): ditto
272 * lyx_main.C (init): rewrite to use boost.filesystem
273 (queryUserLyXDir): ditto
275 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
276 (getContentsOfAsciiFile): ditto
278 * lastfiles.C (readFile): rewrite to use boost.filesystem
280 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
282 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
285 * buffer.C (Buffer): adjust for destroydir
286 (getLogName): rewrite to use boost.filesystem
288 (save): use fs::copy_file (from fs_extras)
290 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
292 * LaTeX.C (run): rewrite to use boost.filesystem
293 (scanAuxFiles): ditto
294 (handleFoundFile): ditto
296 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
298 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
300 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
302 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
304 * lyxlayout.[Ch]: change some vars from float to double
306 * buffer.C (readFile): make a local var const
308 * Several files: use convert<> instead of atoi,strToXXX and friends
310 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
312 * LaTeXFeatures.[Ch]: Add a static list packages_ that
313 holds the contents of packages.lst. New functions getAvailable
314 and isAvailable to parse and check that list, resp.
318 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
320 * bufferparams.[Ch]: new param output_changes.
322 * Buffer.C: increase file format to 240.
323 Use output_changes and isVailable.
327 * paragraph_pimpl.C: Use output_changes and isVailable.
329 2005-01-23 Angus Leeming <leeming@lyx.org>
331 * output_latex.C: #include "insetbibitem.h", rather than
332 forward declare function bibitemWidest.
334 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
336 * lyx_main.C (init): make it compile on the Mac.
338 2005-01-20 Angus Leeming <leeming@lyx.org>
340 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
341 (setLyXMisc): (char string literal) != (char string literal) is
342 performing a comparison on the addresses. Convert one operand
343 explicitly to string to guarantee expected behaviour.
346 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
349 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
351 * output_plaintext.C: remove unneeded #include gzstream.h.
353 2005-01-20 Angus Leeming <leeming@lyx.org>
355 * SpellBase.h: rename some of the elements of the Result enum.
362 * pspell.C (check): ditto
364 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
366 * buffer.C: add #include <fstream>.
368 * lyx_main.C (init): Compile fix.
370 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
372 2005-01-20 Angus Leeming <leeming@lyx.org>
374 * mover.h: change commentary to reflect the changed meaning of
377 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
379 * output_linuxdoc.C (linuxdocParagraphs): silence warning
381 * lyxfind.C (MatchString::operator()): remove bogus semicolon
383 2005-01-20 Angus Leeming <leeming@lyx.org>
385 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
386 printing diagnostic data by not dereferecing an iterator past the
389 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
391 * buffer.C (readHeader): use "&&" rather than "and".
393 * lyxserver.h (inPipeName, outPipeName): make these const.
395 2005-01-19 Angus Leeming <leeming@lyx.org>
397 * lyx_main.C (error_handler, init): protect SIGHUP with
398 #ifdef SIGHUP guards.
400 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
402 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
404 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * text.C (setHeightOfRow): add a margin at the top and bottom of
407 the document (bug 1761)
409 2005-01-17 Angus Leeming <leeming@lyx.org>
411 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
412 with "python ". Workaround for a brain-dead Windows.
414 2005-01-16 Angus Leeming <leeming@lyx.org>
416 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
417 for MacOSX and Windows to use prependEnvPath.
418 Strip out the hard-coded block to add elements to the PATH for
419 MacOSX and replace it with a call to prependEnvPath using the
420 contents of LyXRC::path_prefix.
421 (queryUserLyXDir): strip out the code to run reconfigure, instead
422 returning a boolean indicating the necessity to do so.
423 (reconfigureUserLyXDir): contains the code to reconfigure the
424 user support directory. Is now called after the various LyXRC data
425 files have been read.
427 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
429 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
431 * converter.[Ch] (convert): take a new parameter try_default. Use
432 a default converter (imagemagick) if try_default is true.
434 2005-01-13 Angus Leeming <leeming@lyx.org>
436 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
438 (write): output LyXRC::cygwin_path_fix as necessary.
440 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
443 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
445 2005-01-12 Angus Leeming <leeming@lyx.org>
447 * lyx_main.C (init): set the PATH variable to include the
448 directory containing the LyX binary when running on Mac or Windows.
450 2005-01-12 Angus Leeming <leeming@lyx.org>
452 * lyx_main.C (init): remove cruft that purports to set the locale
453 dir. It doesn't and is not needed anyway.
455 2005-01-10 Angus Leeming <leeming@lyx.org>
457 * Makefile.am: remove the lyx_main.C special casing.
459 * BufferView_pimpl.C:
465 * messages.C: use support/package.h to provide the paths to the
466 various directories used by LyX.
468 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
470 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
471 layout if pasting into an empty paragraph)
473 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
475 * tex-accent.C: add <string>
477 2005-01-06 José Matos <jamatos@lyx.org>
479 * ParagraphParameters.C (write): put every parameter in its own line.
480 * paragraph.C (write): reduce number of consecutive empty lines exported.
481 * buffer.C (LYX_FORMAT): increase file format to 239.
483 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
485 * everywhere: change support/tostr.h -> support/convert.h
487 * tabular.C: make all write_attributes templates, tostr -> convert
489 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
490 (emptyTag): and -> &&, and fix type for ret from getChar
491 (getFirstWord): fix type for ret from getChar
492 (onlyText): and -> &&
493 (simpleDocBookOnePar): and not -> && !, fix type for ret from
496 * toc.C (goTo, action):
497 * text3.C (dispatch):
498 * text.C (currentState):
499 * tex-accent.C (DoAccent):
502 * lyxfunc.C (menuNew):
503 * lyxfinc.C (replace):
504 * counters.C (laberItem):
505 * bufferview_funcs.C (font2string):
506 * bufferparams.C (writeFile):
507 * buffer.C (readFile):
509 * MenuBackend.C: tostr -> convert
511 * LaTeX.C (runMessage): fix format
512 (scanAuxFiles): tostr -> convert
514 * BufferView_pimpl.C (savePosition): fix format
515 (restorePosition): ditto
518 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
520 * Spacing.[Ch]: New method getValueAsString().
524 * ParagraphParameters.C:
527 * text3.C: store/read spacing value as string.
529 * rowpainter.C: change float value (spacing_val) to double.
531 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
532 broken custom document spacing).
534 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
536 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
537 namespace, also more use of temp references and const
539 * cursor.[Ch] (getStatus): move to lyxfunc.C
541 * bufferparams.C: reformat slightly
543 * bufferview_funcs.C (font2string): constify arg
549 * buffer_funcs.C: (many funcs): constify arg on function
550 definitions, also make more local vars const, also add ASSERTS on
553 * buffer.C (LYX_FORMAT): put const in correct place
554 (many funcs): constify arg on function definitions, also make
555 more local vars const
557 * aspell_local.h: remove "struct" from typdef setup
559 * aspell.C (check): make word_ok const
560 (nextMiss): simplify slightly
563 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
565 * lyxrc.[Ch]: store all float values as strings.
566 use int (not float) for lyxrc.dpi.
568 2005-01-04 Angus Leeming <leeming@lyx.org>
570 * lyx_cb.C (Reconfigure):
571 * lyx_main.C (queryUserLyXDir):
572 to run the <system_lyxdir>/configure correctly on Windows, prefix
573 the path to the script with "sh " when generating the string that
574 is passed to system().
576 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
578 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
580 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
582 * lyxlength.C (asLatexString): get rid of setprecision
584 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * text2.C (setLayout): remove unused variable endpit.
587 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
589 * paragraph.C (onlyText): remove unused variable style.
591 * cursor.C (bruteFind): remove unused variables beg and end.
593 * Makefile.am (dist_noinset_DATA): not needed anymore
595 * cheaders/*: remove.
597 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
599 * text3.C: fix LFUN_MATH_MODE.
601 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * buffer_funcs.C (countWords): new function. Counts words between
606 * BufferView_pimpl.C (getStatus, dispatch): handle
609 * LyXAction.C (init):
610 * lfuns.h: add LFUN_WORDS_COUNT.
612 2004-12-19 Angus Leeming <leeming@lyx.org>
614 * buffer.C (save): s/slashify_path/internal_path/.
616 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
618 * lyxfind.C (findChange): do not search for end of pars, because
619 the change tracker cannot handle this (fixes bug 1719).
621 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
623 * paragraph.[Ch] (autoBreakRows): remove
625 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
627 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
628 avoid using the paragraph one
630 * text2.C (LyXText, insertStringAsLines): adjust
632 2004-12-16 Angus Leeming <leeming@lyx.org>
636 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
638 2004-12-14 Angus Leeming <leeming@lyx.org>
640 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
642 * bufferlist.C (emergencyWrite):
643 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
646 2004-12-14 Angus Leeming <leeming@lyx.org>
648 * main.C: (main): no longer pass pointers to os::init.
650 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
652 * undo.C (textUndoOrRedo): simplify logic, fix a crash
653 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
655 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
658 * text3.C: remove selection_possible global flag
660 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
662 * text2.C (getSelectionSpan): remove
663 (changeDepth, changeDepthAllowed): adjust
665 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
667 * Makefile.am (BOOST_LIBS): use boost variables
669 2004-12-03 José Matos <jamatos@lyx.org>
671 * buffer.C: format up to 238.
673 2004-12-03 José Matos <jamatos@lyx.org>
675 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
677 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
679 * cursor.C (goUpDown): remove call to idxUpDown2
681 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
683 * tabular.[Ch]: use size_t-like types for cell, row and column
686 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
688 * lyxfunc.C (getStatus): do not lose previous information when
689 calling BufferView::getStatus; do not set a default "Command
690 disabled" message at the beginning, but just before returning.
692 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
694 * cursor.h (getStatus): add better comment from src/cursor.C
696 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * text3.C (getStatus): return false when the lfun is not handled
700 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
702 * broken_headers.h: remove
704 * Makefile.am (lyx_SOURCES): remove broken_headers.h
706 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
708 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
711 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
712 top_y_, merge fitcursor with update
713 (updateScrollbar, scrollDocView, fitCursor, center, update): new
716 (workAreaDispatch): adapt to new coord scheme
717 (redoCurrentBuffer): remove
719 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
721 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
724 * coordcache.[Ch]: add paragraph cache and helpers
726 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
729 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
730 (targetX, setTargetX): introduce
732 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
733 baseline -> ascent, as the rest of lyx
735 * lyxtext.h: remove redoParagraphs, updateParPositions,
736 fullRebreak, redoParagraphInternal. move dist to anon namespace in
737 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
738 have ascent/descent (ascent is ascent of first par)
740 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
743 * paragraph.[Ch]: unify dimension handling with the rest of lyx
745 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
747 * pariterator.C: fix infinite loop introduced in par->pit renaming
749 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
750 in insets and LyXText, draw two off-screen paragraphs using
751 NullPainter, and adapt to new coord scheme
755 * text3.C: adapt lfun handlers to the new coord scheme, which
756 means: there's only guaranteed coord information for onscreen pars
757 plus one above and one below. This implies that one can do search
758 from y coordinates in the range [-1,workHeight]
760 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
762 * rename a lot of InsetOld to InsetBase
764 2004-11-25 Angus Leeming <leeming@lyx.org>
766 * BufferView_pimpl.C:
768 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
770 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
772 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
773 call BufferView::getStatus if LCursor::getStatus did nothing
774 (setStatusMessage, getStatusMessage): removed.
776 * FuncStatus.C (message): new methods. Used to provide an error
777 message indicating why a command is disabled.
778 (clear, |=, FuncStatus): update for message.
780 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
782 * lyxfunc.C (dispatch): always call sendDispatchMessage
784 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
787 * BufferView_pimpl.C:
801 * undo.C: par->pit renaming
803 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
805 * tabular.C (cellstruct): use initialization, store a shared_ptr
806 to insettext instead of the insettext directly, adjust to fit.
807 (operator=): new function
809 (rowstruct): use initialization
810 (columnstruct): use initialization
811 (ltType): use initialization
814 * lyxlength.h (swap): new function
816 * LColor.[Ch] (operator=): use the common semantics
818 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
820 * lyxfind.C (findNextChange): update the bufferview after setting
823 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
825 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
826 number of InsetOptArgs has already been inserted.
828 * output_latex.C (latexOptArgInsets): new method. This outputs all
829 the optarg insets, up to the limit defined in the layout file.
830 (optArgInset): removed
831 (TeXOnePar): call latexOptArgInsets; correctly update texrow
833 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
835 * paragraph.C (isLetter): remove special spellchecker-related
836 code; return true also for digits
837 (isWord, isKomma): remove
839 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
840 * lyxfind.C (MatchString()): use isLetter instead of isWord
842 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
844 * pariterator.h (operatir=): comment out un-implemented member
847 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
850 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
852 * lyxfont.h: include LColor.h to satisfy concept checks.
854 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
856 * pariterator.h: add typdefs for value_type, difference_type,
857 pointer and reference to satisfy concept checks. Also add default
858 constructor for same reason.
860 * pariterator.C (operator++): add post-increment operator to
861 satisfy concept checks.
863 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
866 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
868 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
869 checks. Also rename base_type to BaseType to follow naming
872 * FloatList.h: include Floating.h to satisfy concept checks.
874 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
876 * lyxfunc.C (getStatus): when the origin of the request is menu or
877 toolbar, and the LyXView does not have focus, do as if there was
880 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
881 FuncRequest to individual entries of LFUN_SEQUENCE
883 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
885 * output_latex.C (TeXOnePar): override runparams.moving_arg
886 according to the needprotect value of the current paragraph (bug
889 * paragraph.C (simpleTeXOnePar): no need to override
890 runparams.moving_args here
892 2004-11-14 John Spray <spray_john@users.sourceforge.net>
894 * vspace.C: fix off-by-one-error, related to fix #1682
896 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
898 * lengthcommon.C: a more general fix for bug 1682
900 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
902 * text.C (backspace): fix crash
904 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
906 * format.[Ch] (getFormatFromFile): new method
907 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
909 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
911 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
913 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * lyxfunc.C (dispatch): remove the verbose argument
916 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
919 * kbmap.C (defkey): set the origin of func to KEYBOARD
921 * MenuBackend.C (MenuItem):
922 * ToolbarBackend.C (add): set the origin of func to UI
924 * funcrequest.[Ch]: add origin member, which indicates which part
925 of LyX requests an action
927 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
929 * converter.C (move): don't lie in the error message
930 * converter.h (isReachable, move): document
932 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
934 * buffer.C: remove unused using lyx::support::atoi
935 * paragraph_funcs.C: ditto
937 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
939 * bufferlist.C (exists): use bind and equal_to instead of
942 * lyxtextclasslist.C (NumberOfClass): ditto
944 * cursor.C (insert): use for_each instead of explicit for loop
946 * bufferlist.C (getFileNames): use std::transform and
947 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
949 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
952 * buffer.C (changeLanguage): use for_each instead of explicit for
954 (hasParWithID): implement using getParFromID
956 * LaTeXFeatures.C: ws change only
958 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
961 * BufferView_pimpl.C (trackChanges): use for_each instead of
964 2004-11-04 André Pönitz <poenitz@gmx.net>
967 * undo.C (textUndoOrRedo): fix crash when creating undo information.
969 * dociterator.C (asDocIterator): use hard assert again.
971 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
973 * lyxlength.C (asLatexString): rewrite so that it does not use
976 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
978 * text3.C (specialChar, dispatch): make sure cursor moves to the
979 right after inserting an inset
981 2004-11-02 José Matos <jamatos@lyx.org>
983 * output_docbook.C (docbook):
984 * paragraph.C (getID):
985 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
986 garantee that the output is always legal.
988 * tabular.C (docbook):
989 * outputprams.[Ch]: remove mixed contents.
991 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
993 * text2.C (setCounter): prevent endless loop
995 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
997 * exporter.C (copyFile): use the mover instead of support::copy()
998 * exporter.C (Export): pass format and latex name to copyFile()
999 * exporter.h (addExternalFile): document
1000 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1002 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1004 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1006 2004-10-30 José Matos <jamatos@lyx.org>
1008 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1009 text and no inset or font change. This allows to use CDATA
1010 sections just for the whole paragraph.
1012 2004-10-30 José Matos <jamatos@lyx.org>
1014 * paragraph.C (getFirstWord): remove unused variable.
1016 2004-10-30 José Matos <jamatos@lyx.org>
1018 * paragraph.C (getFirstWord): the content should always be escaped
1020 (simpleDocBookOnePar):
1021 * output_docbook.C (makeEnvironment): replace reference to CDATA
1024 2004-10-30 José Matos <jamatos@lyx.org>
1026 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1028 2004-10-30 José Matos <jamatos@lyx.org>
1030 * output_docbook.C (makeParagraphs):
1031 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1032 standard paragraph has only a given type of content drop the wrapper.
1034 2004-10-29 José Matos <jamatos@lyx.org>
1036 * output_docbook.C (makeEnvironment):
1038 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1040 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1042 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1043 (cleanID): sanitize any id.
1045 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1047 * buffer.C, lyxlex_pimpl.C:
1048 * lyxlex_pimpl.C (setFile):
1049 s/getExtFromContents/getFormatFromContents/
1051 2004-10-28 José Matos <jamatos@lyx.org>
1053 * output_docbook.C (makeEnvironment): move id to broadest possible
1056 * sgml.C (openTag): apply substitution of <> for all attributes.
1058 2004-10-28 José Matos <jamatos@lyx.org>
1060 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1061 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1062 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1064 * sgml.[Ch]: new version for open and closeTag for paragraph and
1065 for strings. Now they handle the ids of paragraphs.
1067 2004-10-26 Angus Leeming <leeming@lyx.org>
1069 * Makefile.am: add mover.[Ch].
1071 * converter.C (convert, move): use the new Movers to move external
1072 files to the temp directory.
1074 * lyx_main.C (init): ensure that the global system_movers data
1077 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1080 * mover.[Ch]: new files, defining a Mover as a utility to move an
1081 external file between directories and, if necessary, manipulate this
1082 file using a helper script.
1084 2004-10-25 José Matos <jamatos@lyx.org>
1086 * output_docbook.C (makeCommand): merge two if's that tested the
1089 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1091 * sgml.C (escapeString): fix warning in a better way
1093 2004-10-25 José Matos <jamatos@lyx.org>
1095 * sgml.C (escapeString): import the require boosts header file for
1096 tie, and avoid a signed unsigned comparison.
1098 2004-10-25 José Matos <jamatos@lyx.org>
1100 * sgml.h: add #include <string>
1102 2004-10-25 José Matos <jamatos@lyx.org>
1104 * sgml.[Ch] (escapeString): new function to escape all the string.
1106 2004-10-24 José Matos <jamatos@lyx.org>
1108 * paragraph.[Ch] (getFirstWord): new function to get the first
1109 word. Useful for description.
1110 (simpleDocBookOnePar): remove depth argument, add another that
1111 says where to start the paragraph.
1113 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1114 use the new functions to fix cleanly the support for descriptions.
1116 2004-10-24 José Matos <jamatos@lyx.org>
1118 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1119 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1120 * output_linuxdoc.C (linuxdocParagraphs):
1121 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1122 add buffer as argument.
1124 2004-10-24 José Matos <jamatos@lyx.org>
1126 * output_docbook.C (makeEnvironment, searchEnvironment): place
1127 CDATA inside paragraphs and fix scope for listitems.
1129 2004-10-24 José Matos <jamatos@lyx.org>
1131 * output_docbook.C: remove using statement for stack.
1133 2004-10-23 José Matos <jamatos@lyx.org>
1135 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1136 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1137 docbook. The new scheme is recursive and makes use of iterators, the
1138 same as latex export works.
1139 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1140 directly with the paragraph contents. This code was moved up to
1141 output_docbook.C (docbookParagraphs).
1142 * sgml.C (openTag, closeTag): removed unneeded newlines.
1143 (closeEnvTags) removed.
1145 2004-10-23 André Pönitz <poenitz@gmx.net>
1147 * undo.C (textUndoOrRedo):
1148 * dociterator.C (asDocIterator): work around crash
1150 * cursor.C (getStatus): replace ASSERT by more verbose error message
1151 and manual correction of the problem. Should increase stability
1152 while providing more sensible information.
1154 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1156 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1158 * bufferlist.C (previous, next): new methods
1161 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1163 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1165 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1166 entities to preamble.
1168 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1170 * messages.C (Pimpl): strip off translation context information
1172 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1174 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1175 the cursor is correct (bug 1694)
1177 2004-10-13 José Matos <jamatos@lyx.org>
1179 * output_docbook.C (docbookParagraphs): fix closing tags in the
1180 end of the document.
1182 2004-10-09 José Matos <jamatos@lyx.org>
1184 * buffer.C: format up to 237.
1185 * bufferparams.C (write): use tostr to convert booleans to strings.
1187 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1189 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1191 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1193 * LaTeX.C: implement use of babel language in xindy.
1195 2004-10-05 José Matos <jamatos@lyx.org>
1197 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1198 Add new translators to help reading and writing the lyx file.
1200 2004-10-05 José Matos <jamatos@lyx.org>
1202 * ParagraphParameters.C (read):
1203 * text.C (readParToken): replace nexToken by more appropriate lex
1206 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1208 * LaTeX.C (runMakeIndex):
1209 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1210 (usually 'makeindex') configurable.
1212 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1213 with a variable rather than with a number.
1215 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1217 * output_latex.C (TeXOnePar): make sure font setting is the first
1218 thing that gets output (and the last at the end). Should fix bug
1221 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1223 * pch.h: use proper signal include
1225 * LaTeX.h: Use preferred calling of Boost.Signal
1228 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1230 * pch.h: dont include <boost/function/function0.hpp>
1232 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1234 * paragraph_pimpl.h: remove usage of ShareContainer
1236 * paragraph_pimpl.C: remove initialization of ShareContainer.
1238 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1242 * BufferView.C (putSelectionAt): change the semantics when
1243 backwards == true: now, this just swaps cursor and anchor wrt the
1246 * BufferView.h (putSelectionAt): add some documentation
1248 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1249 make sure backwardChar is done at least once (to avoid getting
1251 (findNextChange): use putSelectionAt in the forward direction
1252 (operator()): use Paragraph::isWord
1254 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1256 * Spacing.C (set): c_str fix
1258 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1260 * lyx_cb.C (Reconfigure): quote the name of configure script in
1261 case it contains spaces
1263 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1267 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1268 (BOOST_LIBS): use top_buildir when looking for the file
1270 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1272 * pch.h: do not use include boost/format.hpp, multiple symbols
1273 will result (gcc bug)
1276 2004-08-23 José Matos <jamatos@lyx.org>
1278 * bufferparams.C (readToken): fix reading of the author field.
1280 2004-08-20 José Matos <jamatos@lyx.org>
1282 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1284 2004-08-20 José Matos <jamatos@lyx.org>
1286 * lyxlex.[Ch] (findToken): remove function.
1288 * ParagraphParameters.C (findToken):
1289 * bufferparams.C (findToken): replace call for previous function
1290 with local copy. This local function has one more argument, the
1291 read string argument.
1293 2004-08-16 José Matos <jamatos@lyx.org>
1295 * ParagraphParameters.C (write):
1296 * Spacing.C (writeFile):
1297 * bufferparams.C (writeLaTeX):
1298 * lyx_cb.C (Reconfigure):
1299 * paragraph.C (write):
1300 * tabular.C (write): remove unnecessary space at end of line.
1303 2004-08-16 José Matos <jamatos@lyx.org>
1305 * text.C (readParagraph): remove debug message.
1307 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1309 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1312 * output_plaintext.C (asciiParagraph): set depth correctly
1314 * outputparams.h: add member depth
1316 * paragraph_funcs.C (ownerPar): remove.
1318 * text2.C (setCounter): remove first_pit; comment out some
1319 non-working code that uses ownerPar
1321 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1324 2004-08-16 José Matos <jamatos@lyx.org>
1326 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1327 For the same level of importance use the same chanel to report problems.
1328 (read): add code to deal with \begin_body and \end_body.
1331 2004-08-15 José Matos <jamatos@lyx.org>
1333 * lyxlex.C (getString): fix comment, buffer::readBody is now
1334 buffer:readDocument.
1336 * tex-strings.C (string_papersize): Default -> default,
1337 Custom -> custom, for consistency with other options.
1339 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1343 * Makefile.am: support pch
1345 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 * text.C (readParToken): remove the static LyXFont variable and
1348 pass it as a parameter instead. This fixes a nasty bug where an
1349 inset will be inserted with a bad font in some situations
1350 (readParagraph): adapt
1352 * text2.C (setCounter): reduce number of calls to pars_[pit]
1354 * text.C (singleWidth): add an assert, fix a test
1356 * rowpainter.C (paintText): reduce number of calls to singleWidth
1358 * paragraph.C (isHfill):
1359 (isNewline): ws only
1361 2004-08-14 André Pönitz <poenitz@gmx.net>
1366 * lyxtext.h (several functions): use a Paragraph & argument
1369 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1371 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1373 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1375 * text.C (singleWidth): remove useless test
1377 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1379 * tabular.h: remove bogus comments
1381 * tabular.C (getDescentOfRow):
1382 (isPartOfMultiColumn): add assertions
1384 * lyxlength.C (inPixels): remove #warning
1386 2004-08-14 André Pönitz <poenitz@gmx.net>
1388 * paragraph.h: inline getChar()
1390 * BufferView.h: remove unused declarations
1392 2004-08-14 José Matos <jamatos@lyx.org>
1394 * Buffer.[Ch] (readDocument): new name for old readBody.
1395 * Buffer.C: new file format, new keywords: \begin_document,
1396 \begin_header, \begin_body, \end_body.
1398 * bufferparams.C (readToken): replace all calls to lex.nextToken
1399 by lex.next(). Do the same to eatLine except where really needed.
1401 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1402 line when writing to the lyx file.
1404 * output_plaintext.C (asciiParagraph): fix Bibliography style
1407 * text.C (read): fix end of file handling.
1409 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1411 * MenuBackend.C (Menu::operator[]): new method to access
1412 individual menu items
1413 (Menu::hasFunc): new method. search for an item that corresponds
1415 (MenuBackend::specialMenu): new method
1416 (MenuBackend::expand): if a special menu has been set, skip
1417 entries whose func() appears in this menu
1419 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1421 * text3.C: use Debug::DEBUG a bit more
1423 * text.C (leftMargin): try to simplify a tiny bit change var x to
1424 l_margin. Dont output the wide margins always.
1425 (rightMargin): no margin in inner texts
1427 * rowpainter.h (nestMargin): new func
1428 (changebarMargin): new func
1429 (rightMargin): new func
1431 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1435 * factory.C (createInset): modify setDrawFrame
1437 * cursor.C: use Debug::DEBUG a bit more
1439 2004-08-14 André Pönitz <poenitz@gmx.net>
1442 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1443 cache for all insets in (at least partially) visible (top-level)
1446 * BufferView_pimpl.C: reset external coord cache before every update.
1447 This means the coord cache only contains valid entries.
1449 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1452 * BufferView_pimpl.C (getInsetByCode): move function out of class
1453 and change in to a template in anon namespace. Also fix to do what
1456 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1459 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1461 (breakParagraph): rename par to par_offset and use a local
1462 reference. Add code to keep the language over a rebreak.
1463 (breakParagraphConservative): rename par to par_offset, use a
1465 (mergeParagraph): ditto
1467 (isFirstInSequence): ditto
1468 (outerFont): rename pit to par_offset
1470 * paragraph.C: ws change
1471 * paragraph.h: ditto
1475 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1477 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1480 * paragraph.C (simpleTeXOnePar): when we have a \item with
1481 optional argument, enclose the argument with curly brackets (in
1482 case it contains a closing square bracket)
1486 * text3.C (checkInsetHit): constify
1488 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1491 documents (bug 1629)
1493 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1495 Fix toggling of collapsable insets with the mouse (bug 1558)
1497 * lyxfunc.C (dispatch): adapt to LCursor changes
1499 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1500 make sure that dispatch is not invoked twice
1502 * cursor.C (needsUpdate): new method
1503 (dispatch): return void
1504 (result): new method, to access the DispatchResult of the cursor.
1506 2004-08-13 José Matos <jamatos@lyx.org>
1508 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1510 2004-08-13 André Pönitz <poenitz@gmx.net>
1512 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1514 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1517 2004-08-12 André Pönitz <poenitz@gmx.net>
1519 * text3.C: take out the 'cursor right' form insertInset and only
1520 do it in those places when it is really needed. Fixes crash on
1523 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1525 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1527 * BufferView_pimpl.C (setBuffer): initialize the current font of
1528 the underlying LyXText
1530 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1532 * kbsequence.C (print): use UI native formatting for menu
1535 * text.C (insertChar): call Paragraph::insertChar with a font
1538 * paragraph.C (insertInset, insertChar): the version that takes a
1539 LyXFont argument is now a wrapper around the other one (the
1540 opposite used to be true).
1542 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1543 argument. Font setting is done in Paragraph now.
1545 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1547 * outputparams.h: add new members intitle and lang.
1549 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1550 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1552 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1554 * text3.C (dispatch): remove special handling of button 4 and 5,
1555 it is now taken care of in the frontend code.
1557 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1559 * Spacing.h: add <string> (STLPort compile fix)
1561 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1563 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1565 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1567 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1570 * converter.C (showMessage): inherit from unary_function, make
1573 * buffer.C (writeFile): initialize retval
1575 * InsetList.h: rename private variable list to list_
1576 * InsetList.[Ch]: adjust accordingly.
1578 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1580 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1581 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1582 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1583 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1584 * ParagraphParameters.C, LaTeXFeatures.C: replace
1585 "support/std_sstream.h" with <sstream>
1587 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1589 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1590 * lyxsocket.C (LyXServerSocket): ditto
1591 (serverCallback): ditto
1593 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1595 * LaTeXFeatures.C: check release date when loading jurabib.
1597 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1599 * lyxserver.C (startPipe): call register_socket_callback
1600 (endPipe): call unregister_socket_callback
1602 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1604 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1605 (LyXServerSocket): register the callback
1606 (LyXServerSocket): unregister the callback
1607 (fd): delete function
1608 (serverCallback): improve error checking and setup the callbacks.
1609 (dataCallback): change arg to fd.
1610 (writeln): new func (copied fro the client socket) used for server
1612 (LyXDataSocket): simplify
1613 (~LyXDataSocket): close ann unregiser callback
1614 (server): delete function
1615 (fd): delete function
1616 (readln): small changes, improve some std::string usage
1617 (writeln): constify a bit
1619 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1621 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1624 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1626 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1627 after it has been populated
1629 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1631 * text2.C (insertInset): move cursor when inserting inset.
1633 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1635 * kbmap.C (findbindings): a couple of new methods. returns a
1636 container of kb_sequence objects. The real work is done by the
1637 private recursive version
1638 (printbindings): uses findbindings to print out a bracketed list
1639 of bindings (renamed from findbinding).
1641 * MenuBackend.C (binding): use kb_keymap::findbindings
1643 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1645 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1647 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1649 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1651 * paragraph.C (isWord): return true on insets that report
1654 * text.C (getWord): use Paragraph::isWord to decide what is in a
1655 word and what is not; fix bug 1609.
1657 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1659 * tex-strings.C: add "none" to string_paperpackages[], fixes
1660 off-by-one-error in the paperpackage selection.
1663 * tex-strings.[Ch]: char const * string[n]
1664 -> char const * const string[]
1666 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1668 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1669 command, return early.
1671 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1673 * debug.h: add DEBUG to enum and fix size of ANY.
1675 * debug.C: add support for Debug::DEBUG
1676 (showTags): cast errorTags.level to unsigned int
1678 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1679 (redoCurrentBuffer): ditto
1680 (updateScrollbar): ditto
1681 * cursor.C (dispatch): ditto
1682 * text2.C (setLayout): ditto
1684 (updateCounters): ditto
1686 (deleteEmptyParagraphMechanism): ditto
1688 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1690 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1691 annotations to cleanup the Makefile slightly.
1693 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1695 * lyxrc.C: do not set user_email to a default value but use empty
1696 instead. The entry used to be translated, which does not work
1697 since at the point where lyxrc is constructed there is no
1698 translation service available
1700 * messages.C (getLocaleDir): remove and use directly
1701 lyx_localedir() instead
1703 2004-06-02 Angus Leeming <leeming@lyx.org>
1705 Fix crash caused by dereferencing null pointer 'exportdata' in
1706 OutputParams by creating a new ExportData variable on the heap,
1707 storing it in a boost::shared_ptr.
1708 The crash was triggered when generating an Instant Preview
1709 of an external inset.
1711 * Makefile.am: add outputparams.C
1713 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1714 (c-tor): allocate memory to it.
1716 * exporter.C (c-tor): associated changes.
1718 2004-06-01 Angus Leeming <leeming@lyx.org>
1720 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1721 contains data before calling isInset(0). (Bug 1513.)
1723 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1725 * exporter.C (checkOverwrite): new method
1726 * exporter.C (copyFile): new method
1727 * exporter.C (Export): copy referenced files to the document dir
1728 * exporter.[Ch]: new class ExportedFile
1729 * exporter.[Ch]: new class ExportData. Contains currently the
1730 names of referenced external files
1731 * outputparams.h: add exportdata member.
1733 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1735 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1738 2004-05-19 Angus Leeming <leeming@lyx.org>
1743 * lyxfunc.C: small changes due to the introduction of namespace
1744 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1746 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1748 * text3.C (dispatch): supress update when only moving the cursor
1749 * cursor.C (selHandle): remove commented code
1751 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1753 * paragraph.C (startTeXParParams): correct column count
1754 * CutAndPaste.C (pasteSelection): remove const_cast
1755 * output_docbook.C (docbookParagraphs): remove const_cast
1756 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1757 const_cast and return ParagraphList::const_iterator
1758 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1759 * output_plaintext.C (writeFileAscii): remove const_cast
1760 * paragraph.[Ch] (simpleTeXOnePar): make const
1761 * paragraph_funcs.C (outerPar): use const iterators
1762 * paragraph_pimpl.C (validate): use const iterators
1763 * text.C (setHeightOfRow): use const iterators
1765 2004-05-17 Angus Leeming <leeming@lyx.org>
1768 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1770 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1771 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1772 if the citation engine has changed.
1774 2004-05-14 José Matos <jamatos@lyx.org>
1776 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1777 if the textclass does not provide it. Have it different for sgml and
1779 support the language of document.
1780 * output_docbook.C (docbookParagraphs):
1781 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1782 first anchor as the id of the paragraph, remove special case code.
1783 * sgml.C (escapeChar): escape only < & >.
1785 2004-05-14 Angus Leeming <leeming@lyx.org>
1787 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1788 dependencies on src/frontends/controllers/biblio.h. Define a
1789 CiteEngine_enum wrapper class to enable the enum to be forward
1792 2004-05-12 Angus Leeming <leeming@lyx.org>
1794 * buffer.C: up LYX_FORMAT to 234.
1795 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1796 use_numerical_citations with a single biblio::CiteEngine cite_engine
1798 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1800 2004-05-13 José Matos <jamatos@lyx.org>
1803 * converter.C (Converter, readFlags): add xml member.
1804 * outputparams.h: add XML flavor.
1805 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1807 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1809 * lyxfunc.C (dispatch):
1810 (getStatus): fix handling of LFUN_SEQUENCE
1812 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1814 * debug.C (showLevel): do not forget the end-of-line marker
1816 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1818 * kbmap.C (read): do not stop parsing a bind file when an error
1821 2004-04-29 Angus Leeming <leeming@lyx.org>
1826 * text2.C: wrap a bunch of #warning statements
1827 inside #ifdef WITH_WARNINGS blocks.
1829 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1831 * buffer.C: increment format to 233.
1833 2004-04-28 Angus Leeming <leeming@lyx.org>
1835 * BufferView_pimpl.C:
1838 s/updateToolbar()/updateToolbars()/
1839 s/Toolbar.h/Toolbars.h/
1841 2004-04-28 Angus Leeming <leeming@lyx.org>
1843 * BufferView.[Ch] (c-tor):
1844 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1845 No longer passes these data to the WorkArea generator.
1847 2004-04-28 Angus Leeming <leeming@lyx.org>
1849 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1851 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1853 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1855 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1857 * output_latex.C (TeXEnvironment): make sure that there is a line
1858 break before \end{foo} for the last paragraph of a document
1859 (TeXOnePar): if the paragraph is at the end of the document (or
1860 inset) and the language has to be reset, then make sure that the
1861 line break is _before_ the language command, not after (fixes bug
1862 1225); also make sure that the language reset command is the first
1863 thing after the paragraph (to ensure proper nesting of
1864 environments and thus fix bug 1404)
1866 2004-04-21 John Levon <levon@movementarian.org>
1869 * ToolbarBackend.C: make "name" be a programmatic name
1870 and a gui_name field.
1872 * lyxfunc.C: display the minibuffer on M-x
1874 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1876 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1879 2004-04-19 Angus Leeming <leeming@lyx.org>
1881 * BufferView_pimpl.C (setBuffer): changed preview interface.
1883 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1886 2004-04-19 John Levon <levon@movementarian.org>
1888 * BufferView_pimpl.C:
1889 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1891 2004-04-05 Angus Leeming <leeming@lyx.org>
1893 * text.C (redoParagraphs): add call to updateCounters(), thereby
1894 fixing the missing "Figure #:" label from the caption of a
1897 2004-04-13 Angus Leeming <leeming@lyx.org>
1899 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1900 cursor is clicked out of an inset.
1902 2004-04-13 Angus Leeming <leeming@lyx.org>
1904 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1905 than an InsetOld one.
1907 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1909 * format.[Ch]: add editor to Format
1910 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1911 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1913 2004-04-08 André Pönitz <poenitz@gmx.net>
1915 * metricsinfo.h: remove PainterInfo::width member
1917 2004-04-08 Angus Leeming <leeming@lyx.org>
1919 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1920 "\providecommand" rather than "\newcommand", thereby preventing
1921 clashes with packages that define "\boldsymbol" themselves.
1924 2004-04-08 Angus Leeming <leeming@lyx.org>
1926 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1927 thereby squashing an unnecessary warning.
1929 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1931 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1934 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1936 * BufferView.C (setCursor): call redoParagraph (some insets could
1938 (putSelectionAt): remove the 'double update' trick
1940 * BufferView_pimpl.C (fitCursor): call refreshPar
1941 (workAreaDispatch): remove an uneeded update call
1942 (dispatch): remove some manual update calls
1944 * cursor.[Ch]: remove cached_y_, updatePos
1945 (selHandle): set noUpdate when appropriate
1947 * lyxfunc.C (dispatch): track if we need an update
1949 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1951 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1952 (paintSelection): cheap optimization, do not call cursorX when not
1954 (paintPars): change signature
1957 (paintTextInset): adjust
1961 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1963 * lengthcommon.C: compilation fix: remove explicit array size from
1964 unit_name[] and friends
1966 2004-04-05 Angus Leeming <leeming@lyx.org>
1968 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1970 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1971 present only for the preferences dialog.
1972 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1974 2004-04-05 Angus Leeming <leeming@lyx.org>
1976 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1977 to enable the frontends to export changes to lyxrc correctly.
1979 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1981 2004-04-07 André Pönitz <poenitz@gmx.net>
1983 * cursor.[Ch] (selClear, adjust): remove math
1985 * cursor_slice.C: more agressive assert
1988 * BufferView_pimpl.C: rework mouse event dispatch
1995 2004-04-05 André Pönitz <poenitz@gmx.net>
1997 * cursor.[Ch] (valign, halign...): remove unneeded functions
1999 2004-04-05 Angus Leeming <leeming@lyx.org>
2001 * lyxlength.[Ch] (unit_name et al.): const-correct.
2003 2004-04-05 Angus Leeming <leeming@lyx.org>
2005 * BufferView_pimpl.C:
2014 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2016 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2018 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2020 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2022 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2023 * BufferView_pimpl.[Ch] (getStatus)
2024 * BufferView.[Ch] (getStatus): add
2025 * lyxfunc.C (getStatus): move lfuns handled in
2026 BufferView::dispatch to te function above
2027 * Cursor.C (setSelection): set selection() = true
2029 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2031 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2033 2004-03-31 Angus Leeming <leeming@lyx.org>
2035 * lyxfunc.C (dispatch): Fall through to the generic
2036 Dialogs::show("preamble").
2038 2004-03-31 Angus Leeming <leeming@lyx.org>
2040 * lyxfunc.C (dispatch): Fall through to the generic
2041 Dialogs::show("spellchecker").
2043 2004-03-31 Angus Leeming <leeming@lyx.org>
2045 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2048 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2053 * insetiterator.[Ch]:
2058 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2060 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2062 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2063 insets where we are putting the cursor.
2065 2004-03-31 Angus Leeming <leeming@lyx.org>
2068 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2070 * lyxrc.[Ch] (read, write): overloaded member functions taking
2071 a std::[io]stream arguments.
2073 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2075 2004-03-31 Angus Leeming <leeming@lyx.org>
2077 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2078 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2080 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2081 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2083 2004-03-31 Angus Leeming <leeming@lyx.org>
2085 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2086 the LFUN_ALL_INSETS_TOGGLE code.
2088 2004-03-30 Angus Leeming <leeming@lyx.org>
2090 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2091 has died. Fall through to the generic Dialogs::show("document").
2093 2004-03-30 Angus Leeming <leeming@lyx.org>
2096 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2097 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2099 * lyxfunc.C (getStatus, dispatch): define the actions for these
2100 lfuns. Little more than a cut and pste job from ControlDocument.C
2102 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2104 2004-03-30 Angus Leeming <leeming@lyx.org>
2107 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2108 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2110 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2111 open/closed state of ollapsable insets. Usage:
2113 all-inset-toggle <state> <name>, where
2114 <state> == "open" || "closed" || "toggle" and
2115 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2117 * lyxtext.h, text2.C (toggleInset): removed.
2119 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2120 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2121 now passes LFUN_INSET_TOGGLE to the found inset.
2123 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2124 is now invoked as "all-insets-toggle toggle branch".
2126 2004-03-30 Angus Leeming <leeming@lyx.org>
2130 * pariterator.[Ch]: added/corrected header blurb.
2132 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2134 * dociterator.[Ch]: add an inset_ member
2135 (backwardPos): implemented
2136 (backwardPos, forwardPos): use inset_ when the stack is empty.
2137 (doc_iterator_begin, doc_iterator_end): implemented
2138 * pariterator.[Ch]: adjust, add begin, end
2139 * insetiterator.[Ch]: adjust, add begin, end
2143 * BufferView_pimpl.C:
2144 * CutAndPaste.C: adjust
2146 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2148 * buffer.C: increment file format to 232.
2149 * LaTeXFeatures.C: add bibtopic package.
2150 * bufferparams.[Ch]: param \use_bibtopic.
2152 * lyxrc.[Ch]: add lyxrc bibtex_command
2153 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2155 * buffer.C: increment file format to 231.
2157 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2159 * dociterator.C: implement forwardPar
2160 * iterators.[Ch]: remove, replaced by
2161 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2163 * BufferView_pimpl.C:
2166 * bufferview_funcs.C:
2172 * Makefile.am: adjust
2174 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2176 * CutAndPaste.C (pasteSelection): fix 2 crashes
2177 (eraseSelection): fix a crash
2178 * paragraph_funcs.C: remove a warning
2180 2004-03-28 Angus Leeming <leeming@lyx.org>
2183 * LyXAction.C (init): new LFUN_PRINT.
2185 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2187 2004-03-27 Angus Leeming <leeming@lyx.org>
2190 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2192 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2194 2004-03-27 Angus Leeming <leeming@lyx.org>
2196 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2197 insetlist always contains non-null pointers to insets.
2199 2004-03-26 Angus Leeming <leeming@lyx.org>
2201 * src/BufferView_pimpl.C:
2202 * src/CutAndPaste.C:
2205 * src/output_plaintext.C:
2206 * src/outputparams.h:
2207 * src/paragraph_funcs.C:
2211 * src/frontends/controllers/ControlErrorList.C:
2212 * src/frontends/gtk/FileDialogPrivate.C:
2213 * src/frontends/gtk/GPainter.C:
2214 * src/frontends/gtk/GToolbar.C:
2215 * src/frontends/qt2/QRef.C:
2216 * src/mathed/math_scriptinset.C: squash compiler warnings.
2218 2004-03-26 Angus Leeming <leeming@lyx.org>
2220 * ispell.C (LaunchIspell::start):
2221 * lyx_cb.C (AutoSaveBuffer::start):
2222 invoke run(DontWait) rather than runNonBlocking().
2224 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2226 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2228 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2230 * kbsequence.C (print): adjust
2232 * kbmap.C (printKeySym): rename and change signature
2233 (printKey): use LyXKeySym::print()
2235 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2237 * undo.C: add using std::advance to compile for stlport
2239 2004-03-24 Angus Leeming <leeming@lyx.org>
2241 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2242 it leads to a crash when no buffer is present.
2244 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2245 Martin Vermeer <martin.vermeer@hut.fi>
2247 * lyxfunc.C (dispatch):
2248 * bufferparams.C (readToken): use the new LColor::setColor
2250 * LColor.[Ch] (setColor): new version that takes two strings as
2251 argument and creates a new color entry if necessary
2253 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2255 * buffer.C (makeLaTeXFile): if the main latex file that is
2256 processed is usually a subdocument of some master, then pretend
2257 for a while that it is actually the master
2259 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2261 * buffer.C (getLabelList):
2262 (getBibkeyList): use getMasterBuffer()
2263 (getMasterBuffer): new method. Returns the main document in the
2264 case where one is using included documents.
2266 2004-03-25 André Pönitz <poenitz@gmx.net>
2270 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2272 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2274 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2275 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2277 * ParameterStruct.h: merge with ParagraphParameters
2279 * lyxtext.h: remove LyXText::parOffset() and getPar()
2281 * text3.C: Remove all 'manual' update calls. We do now one per user
2282 interaction which is completely sufficient.
2286 * BufferView_pimpl.C:
2287 * FontIterator.[Ch]:
2289 * ParagraphParameters.[Ch]:
2294 * cursor_slice.[Ch]:
2301 * output_docbook.[Ch]:
2302 * output_latex.[Ch]:
2303 * output_linuxdoc.[Ch]:
2304 * output_plaintext.[Ch]:
2306 * paragraph_funcs.[Ch]:
2307 * paragraph_pimpl.[Ch]:
2315 * frontends/controllers/ControlDocument.C:
2316 * frontends/controllers/ControlErrorList.C:
2317 * frontends/controllers/ControlSpellchecker.C:
2320 * insets/insetbase.h:
2321 * insets/insetbibitem.C:
2322 * insets/insetbox.C:
2323 * insets/insetbranch.C:
2324 * insets/insetcaption.C:
2325 * insets/insetcharstyle.C:
2326 * insets/insetcharstyle.h:
2327 * insets/insetcollapsable.C:
2328 * insets/insetcollapsable.h:
2329 * insets/insetert.C:
2330 * insets/insetfloat.C:
2331 * insets/insetfoot.C:
2332 * insets/insetmarginal.C:
2333 * insets/insetnote.C:
2334 * insets/insetoptarg.C:
2335 * insets/insettabular.C:
2336 * insets/insettext.C:
2337 * insets/insettext.h:
2338 * insets/insetwrap.C:
2339 * mathed/math_mboxinset.C:
2340 * mathed/math_nestinset.C:
2341 * mathed/math_scriptinset.C:
2342 * mathed/math_scriptinset.h:
2345 2004-03-24 Angus Leeming <leeming@lyx.org>
2347 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2348 deal with any child processes that have finished but are waiting to
2349 communicate this fact to the rest of LyX.
2351 2004-03-24 Angus Leeming <leeming@lyx.org>
2353 64-bit compile fixes.
2355 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2356 (c-tor): pass lyx::pos_types rather than ints.
2358 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2361 * text.C (Delete): compile fix.
2362 (getPar): ensure that function declaration is the same as that in
2365 2004-03-23 Angus Leeming <leeming@lyx.org>
2367 * ispell.C (LaunchIspell):
2368 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2369 a boost::shred_ptr rather than a std::auto_ptr.
2371 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2373 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2374 handle LFUN_FILE_INSERT_*
2376 * lyxrc.C (setDefaults, getDescription, output, read):
2377 * lyxrc.h: remove ps_command
2379 2004-03-22 Angus Leeming <leeming@lyx.org>
2381 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2382 Ensure that error_handler is processed once only and that all data
2383 is saved before attempting to output any warning messages.
2385 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2387 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2389 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2391 2004-03-19 André Pönitz <poenitz@gmx.net>
2393 * cursor.[Ch] (reset): take main text inset as argument
2395 * BufferView: adjust
2396 * BufferView_pimpl.C: adjust
2398 * paragraph.[Ch]: fix completely broken operator=()
2400 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2402 * LColor.C (getFromLyXName): make sure that the color name is used
2405 2004-03-17 Angus Leeming <leeming@lyx.org>
2408 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2410 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2411 dialog and to kill a forked process.
2413 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2415 * text2.C (setCursorFromCoordinates): fix font problem
2417 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2419 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2420 bogus "rebuild cursor" code
2422 2004-03-11 André Pönitz <poenitz@gmx.net>
2424 * buffer.[Ch]: use InsetText instead of LyXText as container for
2427 * dociterator.[Ch]: drop the BufferView * member which is not needed
2428 anymore after the change to buffer.C
2430 * paragraph_funcs.C:
2434 * BufferView_pimpl.[Ch]:
2436 * cursor_slice.[Ch]: adjust
2438 * text3.C: fix bug in mathDispatch
2440 2004-03-08 André Pönitz <poenitz@gmx.net>
2442 * undo.[Ch]: use 'StableDocumentIterator' as base for
2445 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2448 * bufferparams.[Ch]: add jurabib support and param.
2450 * LaTeX.C: add FIXME/comment.
2452 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2454 * buffer.C: increment file format to 230.
2456 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2458 * cursor.C (dispatch): avoid infinite loops
2460 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2462 * rowpainter.C (paintSelection): fix x coordinates
2464 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2466 * text.C (rowBreakPoint): fix breaking before displayed insets
2468 2004-03-01 André Pönitz <poenitz@gmx.net>
2470 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2472 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2476 * BufferView_pimpl.C:
2484 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2490 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2491 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2493 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2495 * Bidi.[Ch] (computeTables): const correctness
2496 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2497 fill_hfill, fill_label_hfill and x from Row
2498 * lyxtext.h: prepareToPrint returns a RowMetrics
2499 * rowPainter.C: adjust
2500 * text.C (prepareToPrint): use width, not textWidth. adjust
2501 (redoParagraphInternal, cursorX): adjust
2502 * text2.C (getColumnNearX): adjust
2503 (init): put a default value to the top LyXText::width
2505 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2507 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2509 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2511 * lyxtext.h: add FontIterator class
2513 * text.C (FontIterator, operator*, operator->, operator++): add
2514 (rowBreakPoint, setRowWidth): adjust (fixing a
2517 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2519 * BufferView_pimpl.C (workAreaDispatch): allow also
2520 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2522 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2524 * text.C (rowBreakPoint): fix a bug showing with very large insets
2526 2004-02-25 André Pönitz <poenitz@gmx.net>
2529 * cursor.[Ch]: move some mathed specific code to mathed
2531 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2533 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2534 use_tempdir in preferences
2535 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2537 * lyx_main.C: ensure that tempdir is valid
2538 * lyxlex.h: correct typo
2539 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2540 * paragraph.[Ch] (isMultiLingual): make const
2541 * cursor.[Ch] (openable): make const
2543 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2545 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2547 2004-02-20 André Pönitz <poenitz@gmx.net>
2549 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2551 * cursor.[Ch]: prepare for localized getStatus()
2557 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2559 2004-02-20 André Pönitz <poenitz@gmx.net>
2561 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2563 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2565 * text2.C (setCursorFromCoordinates): switch to absolute coords
2567 (cursorDown): adjust
2568 * text3.C (dispatch): adjust
2570 2004-02-16 André Pönitz <poenitz@gmx.net>
2572 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2575 * cursor_slice.[Ch]: remove unneeded acessor function
2577 * lyxtext.h: rename rtl() to isRTL()
2585 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2587 * rowpainter.C (paintSelection): coord fix
2589 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2591 * Spacing.C: compile fix
2593 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2595 * cursor.C (dispatch): restore current_ before returning
2597 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2599 * text2.C (cursorUp, cursorDown): fix coords
2602 2004-02-12 André Pönitz <poenitz@gmx.net>
2607 * text3.C: add LCursor & parameter to most cursor movement functions
2608 remove usage of LyXText::cursorRow() and cursorPar()
2610 * cursor.[Ch]: add textRow() needed members
2613 * BufferView_pimpl.C:
2616 * BufferView_pimpl.C: adjust
2618 2004-02-11 André Pönitz <poenitz@gmx.net>
2622 * BufferView_pimpl.C: shift undo/redo handling
2624 * cursor.[Ch]: fix mathed crash
2627 * lyxtext.h: move selectionAsText to LCursor
2635 * rowpainter.C: fix excessive drawing
2637 2004-02-06 André Pönitz <poenitz@gmx.net>
2640 * BufferView_pimpl.[Ch]:
2641 * text3.C: move some text specific LFUN handling
2643 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2645 * text3.C (checkInsetHit): adjust coords
2646 * text2.C (getColumnNearX): adjust coords
2647 (edit): adjust coords
2648 * text.C (getRowNearY): add two asserts
2650 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2653 * format.C: add using std::distance to compile on gcc 2.95/stlport
2655 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2657 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2659 2004-02-04 André Pönitz <poenitz@gmx.net>
2661 * BufferView.[Ch] (insertInset):
2662 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2667 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2669 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2670 on the default clause of the switch
2671 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2672 wasn't catched by LCursor::dispatch
2674 2004-02-03 André Pönitz <poenitz@gmx.net>
2677 * cursor.[Ch]: some additional asserts
2679 * undo.[Ch]: remove LyXText dependency in interface
2683 * lyxtext.h (firstPar, lastPar): remove dead functions
2688 * paragraph.[Ch]: adjust
2690 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2692 * lyxfind.C (find): fix argument order in call to ::find
2694 2004-02-02 André Pönitz <poenitz@gmx.net>
2696 * cursor.[Ch]: remove direct access to anchor
2698 * text.C: remove findText() hack
2700 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2702 * iterators.[Ch] (lockPath): remove in favour of...
2703 * BufferView.[Ch] (setCursor): this addition
2704 * BufferView.C (putSelectionAt): adjust
2705 * undo.C (performUndoOrRedo): adjust
2706 * lyxfunc.C (dispatch): adjust
2708 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2710 * iterators.C (lockPath): add a missing slice
2711 * undo.C (performUndoOrRedo): remove redundant positioning code
2713 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2715 * vc-backend.C (scanMaster): ";" -> ';'
2717 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2719 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2720 std::binary_function
2722 * lyxtextclass.C (compare_name): rename to...
2723 (LayoutNamesEqual): ...this
2725 * lyxlex_pimpl.C (compare_tags): inherit from
2726 std::binary_function, put back into anon namespace
2728 * lyxfind.C (MatchString): inherig from std::binary_function
2729 (findChange): use empty() istead of !size()
2731 * format.C (FormatNamesEqual): new functor
2738 * converter.C (compare_Converter): rename to...
2739 (ConverterEqual): ...this, and fixup a bit.
2740 (getConverter): use it, and make function const
2741 (getNumber): use it, and make function const
2745 * bufferlist.C: add using boost::bind
2747 * MenuBackend.C (MenuNamesEqual): new functor
2748 (hasMenu): use it, and make function const
2749 (hasSubmenu): use nested bind to get rid of compare_memfun.
2751 2004-01-30 André Pönitz <poenitz@gmx.net>
2753 * BufferView_pimpl.C:
2756 * cursor_slice.[Ch]:
2759 * paragraph_funcs.C:
2760 * paragraph_funcs.h:
2764 * text3.C: move some of the edit(x,y) handling to the insets
2765 some coordinate changes.
2767 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2769 * text.C: add using statements for std::advance and std::distance
2771 * paragraph.C: add using statement for std::distance
2773 * lyxfind.C: add using statement for std::advance
2775 * cursor.C (region): remove std:: from swap
2776 (openable): use nucleus in stead of operator->
2778 * BufferView.C: add using statements for std::distance and std::swap
2780 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2782 * iterators.C: Remove the pimple, move the needed structures to
2783 the header file. Create accessor for the positions stack.
2784 (asPosIterator): remove function
2786 * PosIterator.C (PosIterator): move constructors to top of file
2787 (PosIterator): reimplement the constructor taking a ParIterator in
2789 (setFrom): new function
2790 (operator!=): inline it
2792 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2794 * lyxfind.C (replaceAll): use std::advance
2796 * iterators.h: inherit from std::iterator.
2798 * PosIterator.C (advance, distance): remove
2799 * PosIterator.h: interit from std::iterator.
2801 2004-01-26 André Pönitz <poenitz@gmx.net>
2804 * BufferView_pimpl.[Ch]:
2808 * bufferview_funcs.C:
2818 * output_linuxdoc.C:
2819 * output_plaintext.C:
2821 * paragraph_funcs.[Ch]:
2822 * paragraph_pimpl.[Ch]:
2828 * text3.C: more IU: dumps most of the rest of the mathcursor
2829 implementation into cursor.[Ch]; "globalize" a bit of it.
2831 2004-01-25 Angus Leeming <leeming@lyx.org>
2833 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2835 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2837 * LaTeXFeatures.h: add nice_ and nice() const
2838 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2840 2004-01-20 André Pönitz <poenitz@gmx.net>
2843 * BufferView_pimpl.C:
2845 * bufferview_funcs.C:
2847 * cursor_slice.[Ch]:
2858 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2859 LCursor and mathcursor parts to LCursor and InsetBase.
2861 2004-01-15 André Pönitz <poenitz@gmx.net>
2863 * cursor_slice.[Ch]: add a few covienience functions
2865 * funcrequest.[Ch]: remove BufferView * member
2867 * BufferView_pimpl.C:
2874 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2876 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2878 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2879 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2881 2004-01-13 André Pönitz <poenitz@gmx.net>
2884 * lyxtext.h: hide cursor and selection anchor behind accessor function
2887 * BufferView_pimpl.[Ch]:
2889 * bufferview_funcs.C:
2899 * cursor_slice.[Ch]: some integer type changes for inset unification
2901 * lyxcursor.[hC]: remove, it's CursorSlice now.
2904 * BufferView_pimpl.[Ch]:
2905 * bufferview_funcs.C:
2911 * textcursor.[Ch]: adjust
2913 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2915 * text2.C (undoSpan): add and use
2916 * text.C (breakParagraph): use undoSpan (fix bug 578)
2919 2004-01-08 Angus Leeming <leeming@lyx.org>
2921 * BufferView_pimpl.C (MenuInsertLyXFile):
2922 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2923 * lyxfunc.C (menuNew, open, doImport):
2924 FileFilterList change to the FileDialog open and save functions.
2926 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2928 * ShareContainer.h: make isEqual and isUnique adaptable
2930 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2932 2004-01-07 Angus Leeming <leeming@lyx.org>
2935 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2937 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2939 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2940 functions replacing find, replace and replaceAll.
2942 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2943 LFUN_WORDFIND(FORWARD|BACKWARD).
2945 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2947 * text.C (breakParagraph): remove an outdated #warning
2949 2004-01-07 André Pönitz <poenitz@gmx.net>
2951 * lyxfind.C: somewhat clearer logic
2953 * text.C: prevent crash in cursorX on unitialized row cache
2955 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2957 * lyxcursor.[Ch] (operator>): add
2958 * textcursor.C (selStart, selEnd): use std::min and std::max
2960 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2962 * Chktex.C: include boost/format.hpp
2964 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2966 * InsetList.C: replace functor MathcIt with adaptable functor
2968 (insetIterator): modify accordingly
2970 * BranchList.h: move the BranchNamesEqual functor here from...
2971 * BranchList.C: ... to here
2973 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2975 (add): replace a finding loop with std::find_if.
2977 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2979 * output_docbook.C: moving LatexParam functionality into
2982 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2984 * buffer.C: increment format to 229.
2986 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2989 * lyx_sty.[Ch]: remove minipageindent_def
2995 * text3.C: remove LFUN_INSET_MINIPAGE
2997 2003-12-28 Angus Leeming <leeming@lyx.org>
2999 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3001 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3003 * text2.C (setParagraph): fix off-by-one crash
3005 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3007 * output_docbook.C: header stuff for AGU
3009 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3011 * text2.C (redoCursor): remove
3014 * BufferView_pimpl.C: remove calls to redoCursor and
3015 setCursor(cursor.par(), cursor.pos()) all around
3017 2003-12-15 Angus Leeming <leeming@lyx.org>
3019 * buffer.C: up the format to 228.
3021 2003-12-15 André Pönitz <poenitz@gmx.net>
3023 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3028 * BufferView_pimpl.C:
3037 2003-12-15 Angus Leeming <leeming@lyx.org>
3039 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3040 than getFromGUIName to manipulate the color.
3042 2003-12-14 Angus Leeming <leeming@lyx.org>
3044 * BranchList.[Ch]: minimize the API.
3045 (Branch::getBranch, getColor): now return a 'const &'.
3046 (Branch::setSelected) now returns a bool set to true if the
3047 selection status changes.
3048 (BranchList::clear, size, getColor, setColor, setSelected,
3049 allBranches, allSelected, separator): removed.
3050 (BranchList::find): new functions, returning the Branch with
3052 (BranchList::add, remove): return a bool indicating that
3053 the operation was successful.
3055 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3056 new InsetBranch::isBranchSlected member function.
3058 * LColor.[Ch]: mimimize the API.
3059 (fill): renamed as addColor and made private.
3060 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3061 versions of these functions taking a string arg have been removed.
3063 * bufferparams.C (readToken):
3064 * lyxfunc.C (dispatch):
3065 * lyxrc.C (read): changes due to the altered BranchList and
3068 * factory.C (createInset, readInset): changes due to altered
3071 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3074 * lyxfunc.C: remove insetminipage. "minipage-insert"
3075 now produces a frameless minipage box inset.
3077 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3079 * textcursor.[Ch] (selStart,selEnd): add new methods
3080 remove selection::start, end, use LyXCursor::operator<
3081 * lyxcursor.[Ch] (operator<): add
3082 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3083 * BufferView.[Ch] (unsetXSel): add
3084 * text2.C (clearSelection): use unsetXSel,adjust
3087 * rowpainter.C: adjust
3088 * bufferview_funcs.C (put_selection_at): adjust
3090 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3092 * BufferView_pimpl.C: small coord. correction
3094 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3096 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3097 dragging over the splash screen.
3099 2003-12-11 Angus Leeming <leeming@lyx.org>
3101 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3102 as it is now handled in LyXText::dispatch.
3104 * text3.C (doInsertInset): remove a level of nesting.
3106 2003-12-11 Angus Leeming <leeming@lyx.org>
3108 * factory.C (createInset): changes due to the changed interface to
3109 InsetCommandMailer::string2params.
3111 2003-12-10 Angus Leeming <leeming@lyx.org>
3113 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3114 'dialog-show-new-inset <inset name>'
3116 2003-12-10 Angus Leeming <leeming@lyx.org>
3118 * buffer.C: up the format to 227.
3120 * factory.C: the box inset is now identified simply by 'Box'.
3122 2003-12-10 Angus Leeming <leeming@lyx.org>
3124 * buffer.C: up the format to 226.
3126 * factory.C: the note inset is now identified simply by 'Note'.
3128 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3130 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3131 when a pit is enough. Standarize a couple of loops.
3133 2003-12-05 Angus Leeming <leeming@lyx.org>
3135 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3136 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3137 data to the re-worked "log" dialog.
3139 2003-12-03 André Pönitz <poenitz@gmx.net>
3145 * paragraph_funcs.C:
3147 * text2.C: use Inset::getText instead of Inset::getParagraph
3149 2003-12-03 André Pönitz <poenitz@gmx.net>
3153 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3154 InsetText::read() as LyXText::read()
3156 2003-12-02 Angus Leeming <leeming@lyx.org>
3158 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3159 type. Add a comment in the implementation that the function uses
3160 the stream's bad() function rather than fail() as the std::streams
3163 2003-12-02 André Pönitz <poenitz@gmx.net>
3165 * lyxlex.[Ch]: make interface more similar to std::stream
3167 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3169 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3171 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3173 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3175 * vspace.[Ch]: remove VSpace::NONE
3177 2003-12-01 André Pönitz <poenitz@gmx.net>
3180 * lyxtext.h: move ParagraphList member to LyXText
3181 rename LyXText::ownerParagraphs to LyXText::paragraph
3184 * bufferview_funcs.C:
3194 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3196 * undo.C: fix cursor positioning
3198 2003-12-01 John Levon <levon@movementarian.org>
3200 * BufferView_pimpl.C: fix a crash on exit with
3203 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3205 * BranchList.C: fix setSelected() method.
3207 2003-11-28 André Pönitz <poenitz@gmx.net>
3209 * ParagraphParameters.[Ch]:
3210 * ParameterStruct.h: remove space above/below from Paragraph to
3213 * BufferView_pimpl.C:
3219 * paragraph_funcs.C:
3225 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3227 * factory.C: Syntax change for CharStyles
3229 2003-11-28 André Pönitz <poenitz@gmx.net>
3234 * buffer.[Ch]: move LyXText member
3236 2003-11-28 André Pönitz <poenitz@gmx.net>
3238 * BufferView.[Ch]: make LyXText * text a private member
3240 * BufferView_pimpl.C:
3251 * output_plaintext.C: cleanup
3253 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3256 * lyxtextclass.[Ch]: parametrize SGML document header
3258 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3261 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3264 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3266 * text2.C (setFont): rework using PosIterator (no more recursive)
3267 (setCharFont): no more needed
3268 (setLayout): no more selection cursors fiddling (done by redoCursor)
3269 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3270 destroy remaining ones)
3272 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3274 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3276 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3279 * text3.C: adjust + re-allow multi par depth changes
3280 * textcursor.C: simplify a bit
3282 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3288 * src/output_docbook.C:
3289 * src/output_latex.C:
3294 * src/text2.C: Introducing a number of tags parametrizing various
3295 XML formats that we may want to support
3297 2003-11-25 André Pönitz <poenitz@gmx.net>
3299 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3301 * lyxtext.h (leftMargin/rightMargin): simplify interface
3308 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3310 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3311 master file to any child files. Fixes bug 546.
3313 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3315 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3317 2003-11-24 André Pönitz <poenitz@gmx.net>
3319 * rowpainter.C: simplification
3321 * text2.C (updateCounters): remove call to redoParagraph on
3322 changed labels as this is far too expensive.
3324 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3326 * converter.C (convert): fix a crash: this function gets
3327 called with buffer == 0 from importer code.
3329 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3331 * text3.C (cursorPrevious): make sure that we do not compare
3332 iterators form different containers.
3335 * rowpainter.C (paintSelection): make sure that we do not compare
3336 iterators from different containers.
3338 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3339 iterators from different ParagraphList containers.
3342 * text2.C (LyXText): change order of initialization slightly
3343 (operator=): new function. copy all variables except cache_par_
3344 (moveUp): make sure that we do not compare iterators from
3345 different ParagraphList constainers.
3348 * text.C (firstPar): new function
3349 (lastPar): new function
3350 (endPar): new function
3352 * lyxtext.h: move things around and group public functions, public
3353 variables, private functions, private variables
3355 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3357 * factory.C: change call to InsetERT constructor to avoid
3358 additional invocation of method status
3359 * text2.C (toggleInset): remove redundant update() call
3360 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3361 instead of a Bufferview pointer
3363 2003-11-21 André Pönitz <poenitz@gmx.net>
3365 * rowpainter.C: simplification
3367 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3369 * text3.C (dispatch): make possible to extend a word/row selection
3372 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3374 * lyxtext.h: x0_,y0_ -> xo_,yo_
3375 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3376 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3377 * rowpainter.C (paintRows): paint full paragraphs
3379 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3381 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3384 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3386 * lyxtext.h: add x0_, y0_
3387 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3388 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3390 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3392 * text2.C (setCursorIntern): move the x_target update here *
3393 * text3.C: change some bv() to true/false in calls to
3394 cursorUp/Down/Right/Left
3395 * cursor.C: use helper function.
3397 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3399 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3400 * paragraph_funcs.[Ch]: correct comment
3401 * rowpainter.C: do not paint selections away from bv->cursor()
3402 Fix a long standing selection painting bug.
3403 * text3.C: generalize mouse-selection code to LyXTexts other that
3405 * textcursor.C: do not use y coords if we can use par offsets
3407 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3409 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3410 cursor position after e.g. inset insert)
3412 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3414 * lyxfind.C (replace): adjust to locking removal + some
3417 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3419 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3422 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3425 * output_docbook.C: XML sanitation: new layout
3426 parameters InnerTag and CommandDepth
3428 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3430 * BufferView_pimpl.C:
3432 * text3.C: Fix the insertion and modification of button-style
3435 2003-11-13 André Pönitz <poenitz@gmx.net>
3437 * InsetList.[Ch]: remove deleteLyXText
3439 * paragraph.[Ch]: cache beginOfBody position
3444 * text3.C: remove superfluous update() calls
3448 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3450 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3451 * BufferView.C (fitLockedInsetCursor): remove
3452 * cursor.[Ch] (getDim): add
3453 * text.C (getRowNearY): add faster version
3454 * text3.C: remove some update calls
3456 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3468 * text3.C: The Character Style /XML short element patch.
3470 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3473 * factory.C: Small step to solving 'unable to insert some insets'
3476 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3478 * cursor.[Ch] (updatePos): new function for updating the y
3479 position of the tip inset
3480 * bufferview_funcs.C (put_selection_at):
3481 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3483 2003-11-11 André Pönitz <poenitz@gmx.net>
3485 * text.C: remove big comment on invalid Paragraph pointers as it is
3488 2003-11-11 André Pönitz <poenitz@gmx.net>
3490 * text_funcs.[Ch]: merge with ...
3498 * Makefile.am: remove text_funcs.[Ch]
3500 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3502 * cursor.C (getPos): return absolute cached y coord
3504 * BufferView_pimpl.C (fitCursor): new simplistic code
3505 (workAreaDispatch): add a fitCursor call
3507 2003-11-10 André Pönitz <poenitz@gmx.net>
3510 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3512 2003-11-10 André Pönitz <poenitz@gmx.net>
3514 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3515 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3516 indicate that the cursor needs to leave an inset
3518 * lyxtext.h: remove inset locking
3520 * cursor.[Ch]: re-implement functionality provided by inset locking
3523 * BufferView_pimpl.[Ch]:
3525 * bufferview_funcs.[Ch]:
3537 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3539 * PosIterator.[Ch]: replace the stack with a vector, add inset
3541 * iterators.[C]: adjust
3543 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3545 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3547 * paragraph_funcs.C (readParToken): put the correct id in the
3548 error item, not the id of the top paragraph
3550 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3552 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3553 * bufferview_funcs.C (put_selection_at): use the above
3555 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3557 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3559 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3561 * output_linuxdoc.h:
3562 * output_plaintext.h:
3564 * output_docbook.h: add #include statements
3566 2003-11-05 José Matos <jamatos@lyx.org>
3568 * output_docbook.[Ch]:
3569 * output_latex.[Ch]:
3570 * output_linuxdoc.[Ch]:
3571 * output_plaintext.[Ch]: New files for output formats.
3572 * output.[Ch]: New file for helper functions.
3575 * paragraph_funcs.[Ch]: output functions moved to new files.
3577 * outputparams.h: rename of latexrunparams.h
3585 * paragraph_funcs.[Ch]:
3586 * paragraph_pimpl.[Ch]:
3587 * tabular.[Ch]: rename ascii to plaintext
3588 and LatexRunParams to OutputParams.
3590 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3592 * iterators.[Ch] (text): require bv argument
3593 * undo.C (recordUndo):
3594 * lyxfunc.C (dispatch):
3595 * bufferview_funcs.C (put_selection_at): adjust
3597 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3599 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3601 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3603 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3606 2003-11-04 André Pönitz <poenitz@gmx.net>
3608 * cursor.[Ch]: restructure
3611 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3613 * iterators.[Ch] (asCursor): remove
3615 * lfuns.h: remove LFUN_INSET_EDIT
3621 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3623 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3625 * lyxfind.[Ch]: complete overhaul
3626 * BufferView_pimpl.C:
3628 * paragraph.[Ch] (insert): add
3630 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3634 * text.C: remove dead spellcheck code
3636 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * dispatchresult.h: add a val setter
3640 * cursor.C (dispatch): use a tempvar for data_[i]
3642 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3644 * PosIterator.[Ch]: compile fix
3646 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3648 * text.C (cursorPar): deactivate the cursor cache
3650 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3652 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3654 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3656 * text3.C (dispatch): adjust for new DisptchResult semantics.
3658 * lyxfunc.C (dispatch): handle update when return from
3659 Cursor::dispatch, adjust for new DispatchResult semantics.
3661 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3662 DispatchResult(true) mean to not update. Add class functions for
3663 setting dispatched and update, as well as reading.
3665 * cursor.C (dispatch): don't handle update here
3667 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3669 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3670 * trans_mgr.C: adjust
3672 * paragraph_funcs.C (readParToken): exception safety
3674 * lyxvc.h: store the vcs pointer in a scoped_ptr
3677 * lyxsocket.C (serverCallback): exception safety
3679 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3681 * ispell.C (clone): make it return a auto_ptr
3683 * factory.C (createInset): exception safety
3684 (readInset): exception safety
3686 * bufferlist.C (newBuffer): exception safety
3688 * Thesaurus.C (Thesaurus): use initialization for aik_
3690 * MenuBackend.C (expandToc): exception safety.
3692 2003-11-03 André Pönitz <poenitz@gmx.net>
3696 * bufferview_funcs.C: remove getInsetFromId()
3699 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3705 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3707 * PosIterator.C (distance, advance): new
3708 * bufferview_funcs.[Ch] (put_selection_at): new
3709 * iterators.[Ch] (lockPath): new
3711 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3713 * iterators.[Ch] (asPosIterator): added
3714 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3715 * PosIterator.[Ch]: added
3717 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3721 * cursor.C (dispatch):
3722 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3724 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3725 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3726 contructor, add a class function dispatched. Remove operator>=
3728 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3730 * debug.C: only use the default constructor for debugstream
3733 * main.C (main): include debug.h and setup the lyxerr streambuf
3736 2003-10-31 José Matos <jamatos@lyx.org>
3738 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3740 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3741 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3742 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3743 * paragraph_pimpl.C (simpleTeXSpecialC):
3744 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3745 add LatexRunParams argument.
3747 * exporter.C (Export): change call accordingly.
3749 * latexrunparams.h: add new member to take care of the other backends.
3750 2003-10-30 José Matos <jamatos@lyx.org>
3752 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3753 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3754 factorise code for paragraph output.
3756 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3759 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * text3.C (dispatch):
3762 * lyxfunc.C (dispatch):
3763 * cursor.C (dispatch):
3764 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3766 * dispatchresult.h: make the dispatch_result_t ctor explicit
3768 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3771 * buffer.C: small refactoring of docbook stuff
3773 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3778 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3781 operator dispatch_result_t, and operators for == != and >=
3783 * cursor.C (dispatch): adjust for operator dispatch_result_t
3784 removal. comment out call to update
3786 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3788 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3799 * dispatchresult.h: new file, DispatchResult broken out of
3802 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3804 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3806 * text.C (rowBreakPoint): put a hack inside #if 0
3808 2003-10-28 André Pönitz <poenitz@gmx.net>
3812 * paragraph_funcs.C:
3815 * text2.C: general cleanup (lots of small stuff)
3817 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3819 * text2.C (cursorEnd): simple fix to the "end key goes to one
3820 before the end on last row" bug
3822 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3824 * text.C (backspace): fix the "zombie characters"
3826 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3828 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3830 2003-10-27 André Pönitz <poenitz@gmx.net>
3832 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3834 * factory.C: handle new InsetPagebreak, InsetLine
3836 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3837 and move handling into new InsetPagebreak, InsetLine
3839 * BufferView_pimpl.C:
3841 * ParagraphParameters.C:
3842 * ParameterStruct.h:
3847 * paragraph_funcs.C:
3848 * paragraph_pimpl.C:
3854 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3857 * lyxrow_funcs.[Ch]:
3863 * text3.C: remove lastPos uses in favour of Row::endpos
3865 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3867 * undo.C (performUndoOrRedo): fix two crashes by setting a
3868 cursor by hand and reordering some calls. Use bv->lockInset instead
3869 of inset->edit because the latter loses cursor information
3871 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3873 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3875 (rowBreakPoint): fix width. change point to point + 1.
3876 Add a missing check.
3878 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3881 * lyxfunc.C: fix (at least partly) the problems
3882 with the Nav menu and headers inside branch insets
3885 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3887 * paragraph.C (getChar): add strong asserts
3889 * lyxrow_funcs.C (lastPos): remove hideous hack
3891 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3892 (fill): adjust to that (avoid an infinite loop)
3894 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3896 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3898 2003-10-23 André Pönitz <poenitz@gmx.net>
3900 * RowList_fwd.h: change list<> to vector<> to gain speed
3901 after suggestion from Alfredo
3903 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3905 * lyxtext.h: move the bidi stuff from here...
3908 * Bidi.[Ch]: ... to here
3910 2003-10-23 André Pönitz <poenitz@gmx.net>
3913 * text.C (isLastRow, isFirstRow): new functions
3915 * paragraph.h: new width cache member
3917 * rowpainter.C: replace RowList::iterator with Row & where possible
3919 * lyxfunc.C: replace several view()->text with a single call
3921 * toc.C: fix 'unused' warning
3923 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3926 when woring with stream::pos_type
3927 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3929 2003-10-22 André Pönitz <poenitz@gmx.net>
3932 * text.C: use Row & instead of RowList::iterator
3934 * lyxrow.h: rename end() to endpos()
3940 2003-10-22 Angus Leeming <leeming@lyx.org>
3942 * buffer.[Ch] (fully_loaded): new member function, returning true
3943 only when the file has been loaded fully.
3944 Used to prevent the premature generation of previews and by the
3945 citation inset to prevent computation of the natbib-style label.
3947 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3948 templates are all set up.
3950 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3952 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3954 * text.C: fixed an "oops" in the "is a bit silly"
3957 2003-10-21 André Pönitz <poenitz@gmx.net>
3959 * FuncStatus.[Ch]: small stuff, whitespace
3961 * lyxfont.[Ch]: operator<<() for debug reasons
3965 * lyxtext.h: whitespace, spelling
3967 * paragraph.C: naming of variables
3970 * text2.C: small stuff
3973 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3975 * text.C: (1) finish off the inset display() work;
3976 (2) fix the "is a bit silly" bug (accessing char
3979 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3981 * text.C: re-introduce display() for insets, fixing the
3982 various bugs (stretch of line above, math inset
3985 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3987 * text.C (rightMargin): remove spurious semicolon
3989 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3992 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3994 * text3.C: fix one crash due to wrong cursor def
3996 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * vc-backend.C (scanMaster): make the regex static
4000 * LaTeX.C (scanAuxFile): make the regexs static
4002 * text3.C (doInsertInset, dispatch, dispatch):
4003 * text2.C (cursorUp, cursorDown):
4004 * text.C (selectNextWordToSpellcheck):
4005 * BufferView_pimpl.C (dispatch):
4006 * lyxfunc.C (dispatch): localDispatch -> dispatch
4008 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4010 * lyxsocket.C: include <cerrno>
4012 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4014 * lyxfunc.C (dispatch): remove textcache stuff
4016 * bufferlist.C (release): remove textcache stuff
4019 * TextCache.C: delete file
4020 * TextCache.h: delete file
4022 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4024 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4025 delete of the bv_->text.
4026 (resizeCurrentBuffer): remove texcache stuff
4027 (workAreaResize): ditto
4029 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4031 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4034 2003-10-16 André Pönitz <poenitz@gmx.net>
4041 * text3.C: speed up by storing y positions per paragraph plus per-row
4042 offset instead of having a 'full' y position in the row.
4044 2003-10-15 André Pönitz <poenitz@gmx.net>
4048 * undo.[Ch]: make undo aware of inner insets
4050 2003-10-14 Angus Leeming <leeming@lyx.org>
4052 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4053 static member functions LyX::ref() and LyX::cref.
4054 (lastfiles): new accessor functions for the new lastfiles_ member var.
4055 (addLyXView, views_): add a new LyXView to the list of views_.
4056 (updateInset): loop over all LyXViews to call their own updateInset
4057 member function, returning a pointer to the Buffer owning the inset.
4059 * BufferView_pimpl.C (loadLyXFile):
4060 * MenuBackend.C (expandLastfiles):
4061 * bufferlist.C (MenuWrite, QuitLyX):
4062 lastfiles is no longer a global variable.
4063 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4065 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4066 static function. Access through LyX::cref().emergencyCleanup().
4068 2003-10-14 André Pönitz <poenitz@gmx.net>
4070 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4072 * undo.[Ch]: restoring part of 'undo in insets'
4075 * undo_funcs.[Ch]: merge with undo.[Ch]
4077 * tabular.C: small cleansing stuff
4079 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4081 * paragraph_funcs.C (readParToken): report unknown insets as error
4082 boxes. Use the outer paragraph as location (also for unknown
4085 * factory.C (readInset): do not abort on reading an unknown inset.
4086 Eat it and return 0.
4088 2003-10-13 Angus Leeming <leeming@lyx.org>
4090 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4092 * lyxrc.C: displayTranslator is now a function,
4093 declared in GraphicsTypes.h.
4095 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4097 * format.C: new placeholder $$a to pass the socket address.
4099 * bufferlist.[Ch]: new function getBufferFromTmp.
4101 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4102 files in the temporary dir.
4104 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4106 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4108 * Makefile.am: add lyxsocket.[Ch].
4110 * lyx_main.C (error_handler): handle SIGPIPE.
4112 2003-10-13 André Pönitz <poenitz@gmx.net>
4114 * BufferView_pimpl.C:
4119 * undo_funcs.[Ch]: use paroffset_type instead of
4120 ParagraphList::iterators to prevent multiple conversion
4121 (and get a more robust interface)
4123 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4127 * text3.C (dispatch): ditto
4129 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4131 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4132 move the onlyfile, use onlyfile instead of foundfile in a couple
4135 * DepTable.C (update): flush the error stream a bit more
4137 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4139 * lyxserver.C (callback): adjust
4141 * lyxfunc.C (getStatus): add a missing brace in commented code
4142 (ensureBufferClean): reindent
4143 (dispatch): delete version taking a string
4145 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4147 * LaTeX.C (deplog): move found file handlig from here...
4148 (handleFoundFile): .. to new function here.
4149 (deplog): make sure to discover several files mentioned on the
4152 2003-10-10 André Pönitz <poenitz@gmx.net>
4159 * text3.C: fix some of the tabular crashes
4161 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4163 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4165 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4167 2003-10-09 André Pönitz <poenitz@gmx.net>
4169 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4172 * BufferView_pimpl.C:
4173 * bufferview_funcs.C:
4184 * undo_funcs.C: adjust
4186 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * text2.C (incrementItemDepth): new function, use a backtracking
4189 algorithm to discover the correct item depth.
4190 (resetEnumCounterIfNeeded): new function, use a backtracking
4191 algorithm to discover if counter reset is needed.
4192 (setCounter): use them. Simplify a bit. Add different labels for
4193 different item depths for itemize.
4195 * paragraph.C (Paragraph): remove initialization of enumdepth
4198 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4199 enumerate and itemize. Change the type of itemdepth to signed char.
4201 2003-10-08 André Pönitz <poenitz@gmx.net>
4203 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4208 * tabular.[Ch]: fix crash after 'row-insert'
4210 2003-10-08 Angus Leeming <leeming@lyx.org>
4212 Fix doxygen warnings.
4214 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4215 Remove CutAndPaste:: prefix from header file declaration.
4217 * LColor.h (fill): remove LColor:: prefix from declaration.
4219 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4220 use lyx::depth_type rather than Paragraph::depth_type so that
4221 header file and .C file match.
4223 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4225 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4226 * aspell.C: \file aspell_local.C -> \file aspell.C
4227 * gettext.C: \file gettext.C -> \file src/gettext.C
4228 * gettext.h: \file gettext.h -> \file src/gettext.h
4229 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4230 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4231 * text.C: \file text.C -> \file src/text.C
4233 * toc.C: move comment so that doxygen is not confused.
4235 2003-10-07 Angus Leeming <leeming@lyx.org>
4237 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4239 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4242 * aspell_local.h: add forgotten std::string's.
4244 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4251 * text3.C: The Box patch. Fancybox support, minipage, parbox
4253 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4259 * ParagraphParameters.h:
4269 * lyxtextclasslist.h:
4272 * paragraph_pimpl.C:
4273 * textcursor.h: add <string> and other small fixes to make Lars'
4274 std::string patch compile with STLport.
4276 2003-10-06 Angus Leeming <leeming@lyx.org>
4278 * LColor.h: Add missing #include <string>.
4280 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * All most all file in all subdirs: Make <string> be the prefered
4283 way of getting to std::string, add using declarations.
4285 2003-10-06 André Pönitz <poenitz@gmx.net>
4287 * metricsinfo.C: initialize LyXFont before changing attribute.
4288 (fixes the 'math in \emph is upright' bug)
4290 2003-10-06 André Pönitz <poenitz@gmx.net>
4292 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4294 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4297 * paragraph_pimpl.C: Small fixes to build using STLport
4299 2003-10-02 André Pönitz <poenitz@gmx.net>
4302 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4304 2003-10-01 André Pönitz <poenitz@gmx.net>
4306 * factory.C: assert early
4308 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * lyx_main.C: remove the global debug object
4312 * debug.h: adjust for new debugstream
4314 * debug.C: adjust for new debugstream and keep the global debug
4317 2003-09-22 Angus Leeming <leeming@lyx.org>
4319 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4320 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4321 an incomplete class LyXFont.
4323 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4325 * factory.C: bug fix in branches
4327 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * lyxfunc.C (processKeySym): adjust
4331 (dispatch): change arg name from ev to func, adjust
4332 (sendDispatchMessage): ditto
4334 * lyx_main.C (defaultKeyBindings): adjust keybindings
4335 (deadKeyBindings): ditto
4337 * kbsequence.C (addkey): return a FuncRequest
4339 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4341 * kbmap.C (bind): take a FuncRequest as arg, adjust
4344 (defkey): change to take a FuncRequest as arg, adjust
4345 (findbinding): take a FuncRequest as arg, adjust.
4347 * funcrequest.h (operator=): added
4349 * funcrequest.C (FuncRequest): default kb_action changed from
4350 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4352 * buffer.C (dispatch): simplify
4353 (dispatch): adjust to take a FuncRequest as arg, adjust
4355 * boost.C (assertion_failed): change assertion message slightly
4357 * ToolbarBackend.C (read): simplify
4359 * MenuBackend.C (binding): adjust call to findbinding, add a
4360 message if no binding is found.
4362 (expandToc): correct by adding a empty FuncRequest
4364 * LyXAction.C: include <boost/assert.hpp>
4365 (isPseudoAction): delete function
4366 (LookupFunc): change name to...
4367 (lookupFunc): this. change return type to FuncRequest.
4368 (getActionName): take kb_action as arg, simplify
4369 (funcHasFlag): add an assert, simplify.
4371 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4373 * toc.C (action): return a FuncRequest, simplify
4375 * lyxfunc.C (processKeySym): adjust
4376 (getStatus): delete version that takes an int.
4378 (dispatch): delete version that takes action as int
4380 (sendDispatchMessage): simplify and adjust
4382 * funcrequest.C (getArg): take unsigned int as arg
4384 * ToolbarBackend.C (read): adjust
4385 (add): delete version that takes func as a string.
4386 (getIton): take a FuncRequest as arg
4388 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4391 * MenuBackend.C (MenuItem): add a new construct that only takes a
4392 Kind, simplify the constructor use for submenus.
4394 (expandLastfiles): adjust
4395 (expandDocuments): adjust
4396 (expandFormats): adjust
4397 (expandFloatListInsert): adjust
4398 (expandFloatInsert): adjust
4399 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4401 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4402 Remove class variables lyx_pseudo_map and lyx_arg_map
4404 * LyXAction.C (searchActionArg): delete function
4405 (getPseudoAction): delete function
4406 (retrieveActionArg): delete function
4407 (LookupFunc): make it return kb_action, simplify.
4408 (getActionName): simplify
4410 * factory.C (createInset): fix new bug
4412 2003-09-19 Angus Leeming <leeming@lyx.org>
4414 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4415 masterFilename_ parameter in the include inset.
4417 * factory.C (createInset): changes due to the changes to InsetInclude.
4419 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4421 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4423 2003-09-18 Angus Leeming <leeming@lyx.org>
4426 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4427 Inset::fillWithBibKeys.
4428 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4430 2003-09-18 Angus Leeming <leeming@lyx.org>
4432 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4434 (ctor): pass and store a 'Buffer const &'
4435 (buffer): new member function.
4437 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4438 '*this' to the LaTeXFeatures ctor.
4440 2003-09-18 Angus Leeming <leeming@lyx.org>
4446 * text.C: rename EnumLColor as LColor_color.
4448 2003-09-18 Angus Leeming <leeming@lyx.org>
4450 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4451 remove #include "insets/insetbase.h" from cursor.h.
4453 2003-09-18 Angus Leeming <leeming@lyx.org>
4455 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4456 InsetOld_code to remove #include "inset.h".
4458 * iterators.C: add #include "insets/inset.h"
4460 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4462 * BufferView.C: remove more locking stuff that apparently doesn't
4463 do anything sensible.
4465 2003-09-16 André Pönitz <poenitz@gmx.net>
4468 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4471 2003-09-16 Angus Leeming <leeming@lyx.org>
4473 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4475 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4478 * paragraph.h: remove #include "lyxfont.h". Forward declare
4481 2003-09-16 Angus Leeming <leeming@lyx.org>
4483 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4484 of support/textutils.h.
4485 (isWord): move the contents of support/textutils.h's IsWordChar here.
4491 * text2.C: add #include "paragraph.h".
4494 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4496 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4502 * LaTeX.C: use namespace alias for lyx::support::os
4504 2003-09-16 Angus Leeming <leeming@lyx.org>
4507 * bufferview_funcs.C:
4510 * paragraph_pimpl.C:
4512 * text.C: add #include "LColor.h".
4514 2003-09-16 Angus Leeming <leeming@lyx.org>
4516 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4517 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4519 Store the FontBits::color variable as an int rather than as an
4520 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4523 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4524 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4525 string calls together.
4527 * lyxrc.C: add #include "LColor.h".
4529 2003-09-15 Angus Leeming <leeming@lyx.org>
4531 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4534 2003-09-15 Angus Leeming <leeming@lyx.org>
4536 * LColor.h: add an EnumLColor wrapper for LColor::color.
4538 * lyxfont.[Ch] (color, setColor, realColor):
4539 * lyxtext.h, text.C (backgroundColor):
4540 pass EnumLColor args to/from the functions, rather than LColor::color
4544 * lyxtext.h: forward declare EnumLColor.
4546 * lyx_main.C: add #include "LColor.h".
4548 2003-09-15 Angus Leeming <leeming@lyx.org>
4550 * .cvsignore: add lyx-gtk.
4552 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * ParagraphParameters.C
4561 * bufferview_funcs.C
4571 * vc-backend.C: remove usage of STRCONV
4573 2003-09-15 Angus Leeming <leeming@lyx.org>
4575 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4576 explicitly define the color passed to the painter.
4578 2003-09-15 Angus Leeming <leeming@lyx.org>
4580 * bufferparams.C (BufferParams): reorder member initializers to avoid
4583 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4585 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4586 * text.C (updateRowPositions): remove an unusual nop
4588 2003-09-12 André Pönitz <poenitz@gmx.net>
4590 * BufferView_pimpl.C:
4599 * Counters.[Ch]: finish the 'automatic counters' job
4601 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4603 * aspell.C: include <boost/assert.cpp> (compile fix)
4605 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4607 * boost.C (assertion_failed): use lyx::support::abort instead of
4610 2003-09-10 Angus Leeming <leeming@lyx.org>
4612 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4613 with their _fwd progeny.
4615 2003-09-09 Angus Leeming <leeming@lyx.org>
4617 134 files throughtout the source tree: replace 'using namespace abc;'
4618 directives with the appropriate 'using abc::xyz;' declarations.
4620 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4622 * boost.C (emergencyCleanup): moved here from LAssert.c
4623 (assertion_failed): new function, called by BOOST_ASSERT
4625 * several files: change Assert to BOOST_ASSERT
4627 2003-09-09 Angus Leeming <leeming@lyx.org>
4629 * buffer.[Ch]: Add an Impl class and move Buffer's member
4630 variables into it. As a result move several header files out of
4633 Add header files to lots of .C files all over the tree as a result.
4635 2003-09-09 Angus Leeming <leeming@lyx.org>
4637 * buffer.[Ch]: make Buffer's member variables private. Add
4640 Lots of changes all over the tree as a result.
4642 2003-09-08 Angus Leeming <leeming@lyx.org>
4644 * graph.C: #include <config.h>.
4646 2003-09-08 Angus Leeming <leeming@lyx.org>
4650 * BufferView_pimpl.C:
4679 * toc.C: remove redundant using directives.
4681 2003-09-07 Angus Leeming <leeming@lyx.org>
4683 * LaTeXFeatures.h: remove #include "support/types.h".
4684 * ToolbarBackend.h: remove #include <algorithm>.
4685 * changes.h: remove #include <ctime>.
4686 * debug.h: remove #include <iosfwd>.
4687 * graph.h: remove #include "support/std_string.h".
4688 * lyx_main.h: remove #include <csignal>.
4689 * lyxlex_pimpl.h: remove #include <fstream>.
4690 * sgml.h: remove #include <algorithm>, <utility>.
4691 * toc.h: remove #include "support/std_ostream.h".
4692 Add #include <iosfwd>.
4694 2003-09-07 Angus Leeming <leeming@lyx.org>
4696 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4698 * converter.h: forward declare LatexRunParams.
4699 * encoding.h: remove #include "lyxrc.h".
4700 * lyxtext.h: remove #include "LColor.h".
4701 * lyxtextclass.h: remove #include "support/types.h".
4702 * trans.h: remove #include "tex-accent.h".
4703 * trans_mgr.h: remove #include "tex-accent.h".
4704 * insets/inset.h: remove #include "support/types.h", <vector>.
4705 * insets/insetcollapsable.h: remove #include "LColor.h".
4706 * insets/insetinclude.h: remove #include "dimension.h".
4707 * insets/insetlatexaccent.h: remove #include "dimension.h".
4708 * insets/insetoptarg.h:: remove #include "insettext.h".
4709 * insets/insettext.h: remove #include "dimension.h",
4710 <boost/shared_ptr.hpp>
4712 * insets/renderers.h: add #include "dimension.h".
4713 * insets/updatableinset.h: add #include "support/types.h".
4715 * many .C files: Associated changes.
4717 2003-09-06 Angus Leeming <leeming@lyx.org>
4719 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4720 one, inside testInvariant.
4722 * PrinterParams.C: new file.
4723 * PrinterParams.[Ch]: move the function bodies out of line.
4725 2003-09-06 Angus Leeming <leeming@lyx.org>
4727 * ParagraphParameters.h: forward declare ParameterStruct rather than
4728 including its header file.
4729 (depth): moved out-of-line.
4731 2003-09-06 Angus Leeming <leeming@lyx.org>
4733 * BufferView_pimpl.h:
4736 * lyxfunc.h: forward declare LyXKeySym rather than
4737 #include "frontends/LyXKeySym.h".
4739 * BufferView_pimpl.C:
4742 * lyxfunc.C: associated changes.
4744 2003-09-06 Angus Leeming <leeming@lyx.org>
4746 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4747 As a result, can remove the #include "insets/inset.h" from BufferView.h
4749 2003-09-06 Angus Leeming <leeming@lyx.org>
4751 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4752 As a result, can remove the #include "insets/inset.h" from BufferView.h
4754 2003-09-06 Angus Leeming <leeming@lyx.org>
4760 * bufferview_funcs.C:
4761 * BufferView_pimpl.C:
4766 * ParagraphParameters.C:
4771 * frontends/controllers/ControlDocument.C:
4772 * insets/insetcaption.C: rearrange the #includes into some sort of
4775 * buffer.h: remove #includes ErrorList.h, undo.h
4777 2003-09-06 Angus Leeming <leeming@lyx.org>
4779 * support/types.h: add a 'depth_type' typedef, used to store the
4780 nesting depth of a paragraph.
4783 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4784 defining explicitly.
4787 * paragraph_funcs.h:
4788 * ParagraphParameters.h:
4789 * sgml.h: use lyx::depth_type rather than Paragraph or
4790 ParameterStruct's depth_type.
4793 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4796 * BufferView_pimpl.C:
4798 * ParagraphParameters.C:
4801 * bufferview_funcs.C:
4808 * frontends/LyXView.C:
4809 * frontends/controllers/ControlDocument.C:
4810 * frontends/controllers/ControlErrorList.C:
4811 * insets/insetbibitem.C:
4812 * insets/insetbranch.C:
4813 * insets/insetcaption.C:
4814 * insets/insetcollapsable.C:
4815 * insets/insetenv.C:
4816 * insets/insetert.C:
4817 * insets/insetfloat.C:
4818 * insets/insetfoot.C:
4819 * insets/insetfootlike.C:
4820 * insets/insetnewline.C:
4821 * insets/insetquotes.C:
4822 * insets/insettabular.C:
4823 * insets/insettext.C:
4824 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4826 * frontends/controllers/ControlChanges.C: #include "changes.h".
4828 2003-09-06 Angus Leeming <leeming@lyx.org>
4830 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4831 than #including paragraph.h.
4834 * RowList.h: deleted. Superfluous.
4844 * insets/insettext.h: use ParagraphList_fwd.h rather than
4847 * paragraph.h: don't forward declare ParagraphList.
4850 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4851 rather than ParagraphList.h. paragraph.h is still needed for the
4852 Paragraph::depth_type parameters.
4854 * textcursor.h: enable it to compile stand-alone in light of the
4857 * bufferview_funcs.C:
4869 * frontends/controllers/ControlParagraph.C:
4870 * frontends/controllers/ControlTabular.C:
4871 * insets/insetmarginal.C:
4872 * insets/insetminipage.C:
4873 * insets/insetnote.C:
4874 * insets/insetoptarg.C: add header files needed to compile again.
4876 2003-09-06 Angus Leeming <leeming@lyx.org>
4878 * RowList_fwd.h: new file, forward-declaring Row rather than
4879 #including lyxrow.h.
4884 * insets/insettext.h: use it instead of RowList.h
4886 * bufferview_funcs.C:
4893 * text3.C: #include "RowList.h".
4895 2003-09-05 Angus Leeming <leeming@lyx.org>
4897 * factory.C (createInset):
4898 * vspace.C (c-tor): replace sscanf call with an istringstream.
4899 * ispell.C: re-add missing HP/UX headers.
4900 * lyxserver.C: re-add missing os2 headers.
4902 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4911 * text3.C: re-add missing system headers, needed for 2.95.2.
4913 2003-09-05 Angus Leeming <leeming@lyx.org>
4915 Changes most place everywhere due to the removal of using directives
4916 from support/std_sstream.h.
4918 2003-09-05 Angus Leeming <leeming@lyx.org>
4920 Replace LString.h with support/std_string.h,
4921 Lsstream.h with support/std_sstream.h,
4922 support/LIstream.h with support/std_istream.h,
4923 support/LOstream.h with support/std_ostream.h.
4925 Changes resulting throughout the tree.
4927 2003-09-05 Angus Leeming <leeming@lyx.org>
4929 * sgml.h: ensure that the header file can be compiled stand-alone.
4930 * *.C: strip out redundant #includes. (320 in total.)
4932 2003-09-04 Angus Leeming <leeming@lyx.org>
4934 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4935 here (from getPackages).
4937 * debug.[Ch]: add a new EXTERNAL tag.
4939 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4941 * text2.C (cursorEnd): simplify
4943 (getColumnNearX): adjust
4945 * text.C (computeBidiTables): adjust
4948 * rowpainter.C (paintChars): adjust
4949 (paintSelection): adjust
4950 (paintChangeBar): adjust
4953 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4955 (numberOfSeparators): adjust
4957 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4963 * text3.C: Restricts the mouse click functionality
4964 of insets like bibtex, include, toc and floatlist to the visible
4965 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4966 up the dialogs. Cursor has to be in front of the inset (i.e.
4967 start of row) for this to function.
4969 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4971 * bufferview_funcs.C (currentState): output row information
4973 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4975 * bufferview_funcs.C (currentState): output paragraph position
4977 2003-09-04 Angus Leeming <leeming@lyx.org>
4979 * FloatList.h: move out #include "Floating.h".
4980 * LaTeX.h: move out #include "DepTable.h".
4981 * LyXAction.h: move out #include "funcrequest.h".
4982 * buffer.h: move out #include "author.h", "iterators.h".
4983 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4984 * lyx_main.h: move out #include "errorlist.h".
4985 * lyxfunc.h: move out #include "FuncStatus.h".
4986 * lyxtext: move out #include "lyxcursor.h".
4987 * paragraph_pimpl.h: move out #include "counters.h".
4989 2003-09-03 Angus Leeming <leeming@lyx.org>
4991 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4992 preamble_snippets list, enabling us to add snippets to the preamble
4993 only if the snippet was not there already.
4995 2003-09-04 Angus Leeming <leeming@lyx.org>
4997 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4999 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5001 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5004 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5006 * BranchList.C: point fix, earlier forgotten
5008 2003-09-02 Angus Leeming <leeming@lyx.org>
5010 * box.C (contains): renamed from 'contained' after a fantastic
5013 2003-09-02 John Levon <levon@movementarian.org>
5019 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5021 2003-09-02 John Levon <levon@movementarian.org>
5023 * text2.C: simplification of cursorEnd(), including partial
5026 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5028 * buffer.C (readFile): add a space
5030 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5032 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5034 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5036 * buffer.C (readFile): new function, take a filename and a
5037 ParagraphList::iterator
5039 (readFile): adjust, make it private. don't use setStream, make
5040 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5041 always contain the filename.
5043 * BufferView.C (insertLyXFile): simplify and make it work for
5046 2003-08-30 John Levon <levon@movementarian.org>
5048 * Makefile.am: fix dist (from Kayvan)
5050 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5052 * most files: change to use const Buffer refs
5054 2003-08-27 André Pönitz <poenitz@gmx.net>
5056 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5057 on top of ownerPar().
5059 2003-08-27 John Levon <levon@movementarian.org>
5061 * funcrequest.C: properly initialise POD members
5063 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5065 * lyxtext.h (top_y): move top_y from here
5070 * BufferView_pimpl.[Ch]: to here
5071 * frontends/screen.C:
5072 * insets/insettabular.C:
5073 * insets/insettext.C: adjust
5074 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5076 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5079 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5081 2003-08-26 André Pönitz <poenitz@gmx.net>
5083 * paragraph_func.[Ch] (outerPar): new function
5086 * paragraph_funcs.C:
5087 * paragraph_funcs.h:
5088 * paragraph_pimpl.C:
5089 * text2.C: remove Inset::par_owner
5091 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5096 * text2.C: eliminates the needFullRow/display() stuff
5097 altogether, putting the logic in metrics/draw in the insets.
5099 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5101 * text2.C (redoParagraphInternal, redoParagraphs):
5102 * text.C (redoParagraph): add a call to updateRowPositions at the
5103 end of each 'metrics-like' call. Remove all others.
5104 (getRow): remove the 'y-computing' version.
5105 (getRowNearY): do not compute nor return the real y. Solve the
5106 'y < 0' problem and simplify.
5108 2003-08-22 Angus Leeming <leeming@lyx.org>
5110 * *.[Ch]: clean-up of licence and author blurbs.
5111 Also move config.h out of a few .h files and into a few .C files.
5113 2003-08-22 André Pönitz <poenitz@gmx.net>
5115 * lyxrow.[Ch]: add x_ and *fill_ members
5120 * text2.C: adjust/remove prepareToPrint() calls
5122 2003-08-22 André Pönitz <poenitz@gmx.net>
5124 * lyxrow.[Ch]: add end_ member
5126 * lyxrow_funcs.C: use LyXRow::end_
5128 * lyxtext.h (singleWidth): add LyXFont parameter
5131 * text2.C: adjust LyXText::singleWidth() calls
5133 * text.C (redoParagraph): simplify row breaking logic
5136 2003-08-19 André Pönitz <poenitz@gmx.net>
5138 * funcrequest.C: initialize button_ member
5141 * rowpainter.[Ch]: interface consolidation
5143 2003-08-18 André Pönitz <poenitz@gmx.net>
5146 * BufferView_pimpl.C:
5148 * paragraph_funcs.C:
5150 * text3.C: remove LyXScreen::draw() and fitCursor calls
5152 * BranchList.h: remove spurious semicolons
5154 * MenuBackend.C: fix branchlist related crash
5156 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5164 * bufferparams.[Ch]:
5168 * text3.C: implements the 'branch inset'
5169 idea. This allows the output of various versions of a document
5170 from a single source version, selectively outputing or suppressing
5171 output of parts of the text.
5172 This implementation contains a 'branch list editor' in a separate
5173 tab of the document settings dialog. Branches are user definable
5174 and have a "display colour" to distinguish them on-screen.
5176 ColorHandler was somewhat cleaned up.
5177 (1) make possible a dynamically growing LColor list by allowing
5178 the graphic context cache to grow along (vector);
5179 (2) eliminate an IMHO unnecessary step in colour allocation.
5181 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5183 * BufferView_pimpl.C: compile fix
5185 2003-08-15 André Pönitz <poenitz@gmx.net>
5187 * rowpainter.C: remove extra metrics calls
5189 * lyxtext.h: merge the two constructors into a single one,
5190 pass reference to owner's par list
5192 * BufferView_pimpl.C:
5196 2003-08-15 André Pönitz <poenitz@gmx.net>
5198 * lyxrow_funcs.[Ch]:
5201 * paragraph_funcs.C:
5206 * text_funcs.C: split LyXText::rowlist_ into individual
5207 Paragraph::rows_ chunks
5210 * BufferView_pimpl.[Ch]:
5213 * text3.C: remove toggleSelection()
5215 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5217 * bufferlist.C: beautify two alerts (shorter text of buttons)
5218 * buffer.C: Remove redundant ' ' from message
5220 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5221 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5222 rename VALIGN_CENTER to VALIGN_MIDDLE
5224 2003-08-11 André Pönitz <poenitz@gmx.net>
5226 * lyxtext.h (getPar):
5227 * text.C: new function
5229 2003-08-11 André Pönitz <poenitz@gmx.net>
5232 * tracer.[Ch]: remove unneeded files
5234 * InsetList.[Ch]: remove resizeInsetsLyXText()
5239 * text3.C: merge insertParagraphs() and appendParagraph()
5240 remove breakAgain(), update()
5242 * BufferView_pimpl.[Ch]:
5243 * bufferview_funcs.[Ch]:
5247 * tabular.C: adjust after text & InsetList changes.
5249 2003-08-08 André Pönitz <poenitz@gmx.net>
5251 * text.C (insertChar, backspace): replace rowlist fiddling
5252 with rebreak of full par
5255 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5256 checkParagraph, updateInset): removed
5258 2003-08-07 André Pönitz <poenitz@gmx.net>
5261 * text3.C: merge some LFUN handlers, remove dead code
5263 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5265 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5267 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5269 * text2.C (DEPM): fix part of bug 1255 and 1256
5271 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5273 * BufferView_pimpl.C (workAreaDispatch): change to use
5274 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5275 that are no mouse related.
5277 2003-08-05 André Pönitz <poenitz@gmx.net>
5280 * BufferView_pimpl.[Ch]:
5281 * bufferview_funcs.C:
5283 * text3.C: rip out "deep update"
5285 * textcursor.[Ch] (last_sel_cursor): remove unused member
5287 2003-08-04 André Pönitz <poenitz@gmx.net>
5290 * BufferView_pimpl.[Ch]:
5291 * ParagraphParameters.C:
5292 * bufferview_funcs.C:
5298 * text3.C: replace "complicated" BufferView::update(...) calls with
5301 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5303 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5305 * Makefile.am (lyx_SOURCES): add paper.h
5307 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5309 * Makefile.am: move things around so that both lyx-qt and
5310 lyx-xforms can be built (according to --with-frontend). Then lyx
5311 is a symbolic link to lyx-[firstfrontend]
5313 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5315 * Always use std::endl with lyxerr
5317 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5319 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5321 2003-08-01 André Pönitz <poenitz@gmx.net>
5324 * BufferView_pimpl.[Ch]:
5326 * text3.C: merge BufferView::repaint() and BufferView::update()
5328 2003-08-01 José Matos <jamatos@lyx.org>
5330 * buffer.[Ch]: file_format is no longer a buffer data element.
5332 2003-08-01 André Pönitz <poenitz@gmx.net>
5337 * text2.C: make redoParagraph more independent of current cursor
5339 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5341 * text2.C: remove unneeded members
5343 2003-07-30 André Pönitz <poenitz@gmx.net>
5345 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5347 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5348 create a single function...
5350 * paragraph_funcs.C (moveItem): ... here.
5353 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5355 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5357 * LColor.[Ch]: Add comment and greyedout logical colors.
5359 2003-07-30 André Pönitz <poenitz@gmx.net>
5361 * tabular.C: don't use Assert too heavily. This crashes where it
5364 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5366 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5367 is disabled (bug 1232)
5369 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5371 * factory.C: limited 'arg' scope
5373 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5375 * factory.C: fixed Note submenu issues
5377 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5379 * factory.C: submenu for Note/Comment/Greyedout
5381 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5384 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5386 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5389 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5390 greyedout. Patch provided by Jürgen Spitzmüller.
5392 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5394 * kbmap.C (read): fix error message when reading bind files
5396 2003-07-29 Angus Leeming <leeming@lyx.org>
5398 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5399 certainly does not do what it purports to do. I am doing it, and
5400 us, a favour by killing it.
5402 2003-07-28 José Matos <jamatos@lyx.org>
5404 * buffer.C (readBody, do_writeFile):
5405 * paragraph.C(readParagraph): \end_document replaces \the_end.
5407 2003-07-29 André Pönitz <poenitz@gmx.net>
5410 * BufferView_pimpl.[Ch]:
5414 * textcursor.[Ch]: remove toggleToggle & Co
5416 2003-07-28 José Matos <jamatos@fep.up.pt>
5418 * buffer.C (readParagraph):
5419 * params_func (readParToken, readParagraph):
5420 * paragraph.C (write): \layout -> \begin_layout.
5422 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5424 * lyxlex_pimpl.C (setFile): clean up slightly.
5426 * bufferparams.h: add compressed var
5428 * buffer_funcs.C (readFile): adjust for LyXLex change
5429 (newFile): ditto + simplify
5431 * buffer.C (writeFile): handle writing of compressed files
5433 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5434 Check if the file is compressed and set a bufferparm if so.
5436 * Makefile.am (lyx_LDADD): remove explicit -lz
5438 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5440 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5441 makeDocBookFile): put the real LyX version in the first line of
5445 * version.C.in: remove lyx_docversion
5447 * tabular.C (write_attribute): add a template-based version to
5448 write enums properly
5450 2003-07-28 André Pönitz <poenitz@gmx.net>
5455 * text3.C: use doubles again for x-coordinates. They are needed.
5457 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * messages.C (getLocaleDir): use lyx_localedir()
5461 * lyxlex_pimpl.C (setFile): compress stuff
5463 * buffer.C (writeFile): add some compression stuff
5464 (do_writeFile): new func, dont call expliti close... will this
5467 * Makefile.am (lyx_LDADD): add -lz
5469 2003-07-28 José Matos <jamatos@fep.up.pt>
5471 * buffer.C: increment file format.
5472 * paragraph_funcs (readParagraph, readParToken):
5473 * paragraph.C (readParagraph): add \end_layout.
5475 2003-07-27 Angus Leeming <leeming@lyx.org>
5477 * Makefile.am: remove special casing for configure-time setting of
5478 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5480 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5481 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5483 2003-07-26 André Pönitz <poenitz@gmx.net>
5485 * paragraph_func.[Ch]:
5486 * paragraph.C (realizeFont): inline it whereever it is used
5491 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5494 2003-07-26 André Pönitz <poenitz@gmx.net>
5498 * text2.C: get rid of LyXText::need_break_row
5500 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5502 * toc.[Ch]: put namespace toc inside namespace lyx
5504 * MenuBackend.C (expandToc2): adjust for lyx::toc
5507 * lyxfunc.C (dispatch): adjust for lyx::find
5509 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5510 lyx::find instead. Reorganize a bit.
5511 (LyXReplace): rename to replace
5512 (LyXFind): rename to find
5514 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5517 2003-07-26 André Pönitz <poenitz@gmx.net>
5519 * text.C (setHeightOfRow): restrict scope of temporary variable
5521 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5522 code (never has been used?)
5524 2003-07-27 Asger Alstrup <alstrup@local>
5526 * text.C (fill): Optimise algorithm to exploit that we can reuse
5527 the LyXFont for many characters.
5528 (setHeightOfRow): Same thing.
5529 (rowBreakPoint): Same thing.
5531 2003-07-26 Asger Alstrup <alstrup@local>
5533 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5535 * text.C (singleWidth): Spurious font copying in hot-spot
5536 singleWidth avoided. Reorder tests for arabic for efficiency.
5538 * text.C (fill): handle empty paragraphs better.
5540 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5543 * encoding.h: add includes
5545 * lyxrc.C: remove reading of bind files
5547 * lyx_main.C (init): setup bindings and menus only if we have a
5550 * kbmap.C (read): new method. Do the actual reading of bind
5553 * converter.C (dvipdfm_options):
5556 (output): adapt PAPER_* enums.
5558 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5560 * bufferparams.h: remove paper-related enums from there
5562 * paper.h: New file. A trivial header file to hold paper-related
5563 enums. It should later expand to contain many paper-related
5566 * lyxrc.C: declare extern displayTranslator
5568 2003-07-27 José Matos <jamatos@fep.up.pt>
5570 * tabular.[Ch] (linuxdoc): add support for tables and figures
5573 2003-07-27 José Matos <jamatos@fep.up.pt>
5575 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5576 consistency in both functions.
5577 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5579 2003-07-26 Asger Alstrup <alstrup@local>
5581 * rowpainter.C (paintRows): Change algorithm to work directly on
5582 the insets rather than asking every character in the document
5583 whether its an inset.
5585 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5587 * buffer.C (openFileWrite): factorize some code
5589 2003-07-26 Angus Leeming <leeming@lyx.org>
5592 * lyx_main.[Ch]: replace occurances of system_tempdir with
5595 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * rename Inset to InsetOld
5599 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5601 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5602 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5603 which I think is a bit clearer. EDIT is gone, since it was
5604 premature optimisation, and broken for mathed anyway.
5605 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5606 with cursor positioning in insets as well (math insets still do not
5607 work, but that's a different story anyway.) It mysteriously
5608 crashes sometimes with undo in the first paragraph, but I'm fairly
5609 confident that this is a compiler bug.
5611 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * paragraph.C (Paragraph): adjust for new clone return type
5615 (copyIntoMinibuffer): ditto
5617 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5619 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5620 by not having a special case, and always doing a full rebreak of
5621 the document after undo.
5623 2003-07-23 Angus Leeming <leeming@lyx.org>
5625 * factory.C (createInset): InsetExternal::setParams now takes a
5628 2003-07-23 Angus Leeming <leeming@lyx.org>
5630 * factory.C (createInset): changed interface to the external and
5631 graphics mailers' string2params functions.
5633 2003-07-23 Angus Leeming <leeming@lyx.org>
5635 * factory.C (createInset): pass a
5636 Buffer const * parameter to InsetExternalMailer's string2params.
5638 2003-07-22 John Levon <levon@movementarian.org>
5640 * Thesaurus.h: include the right aiksaurus header
5642 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5644 * MenuBackend.C (expand): check menu shortcuts unconditionally
5646 2003-07-21 Angus Leeming <leeming@lyx.org>
5648 * factory.C (createInset): pass a
5649 buffer_path parameter to InsetGraphicsMailer's string2params.
5651 2003-07-21 Angus Leeming <leeming@lyx.org>
5653 * BufferView_pimpl.C (buffer):
5656 * lyxfunc.C (dispatch):
5657 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5658 rather than the grfx shortcut.
5660 2003-07-21 André Pönitz <poenitz@gmx.net>
5662 * rowpainter.C: remove unused variables
5665 * tabular_funcs.h: move to tabular.C
5666 * Makefile.am: adjust
5668 * tabular.[Ch]: basic optical cleaning
5670 * author.h: pass references, not values
5672 2003-07-18 André Pönitz <poenitz@gmx.net>
5680 * text3.C: two-phase drawing for InsetText and InsetTabular
5681 some float -> int changes.
5683 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5685 * lyx_main.C: fix the fix
5687 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5689 * lyx_main.C: fix a crash in batch mode if no files specified
5692 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5694 * format.[Ch] (papersize): moved to BufferParams
5695 * converter.[Ch] (dvips_options): moved to BufferParams
5696 (dvipdfm_options): moved to anon namespace
5697 * bufferparams.[Ch]: added above functions.
5699 2003-07-17 André Pönitz <poenitz@gmx.net>
5703 * text2.C: don't call inset->update() anymore
5705 * metricsinfo.[Ch]: add convenience constructor
5707 2003-07-16 André Pönitz <poenitz@gmx.net>
5712 * text2.C: replace the LyXCursor::irow_ member with
5713 on-demand computation of the value
5715 2003-07-16 John Levon <levon@movementarian.org>
5717 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5719 2003-07-15 André Pönitz <poenitz@gmx.net>
5722 * text2.C: remove no more needed refresh_row
5724 2003-07-15 André Pönitz <poenitz@gmx.net>
5729 * text3.C: refresh_status tristate -> need_update bool
5731 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5733 * lyxtext.h (init): remove reinit argument (act as if always true)
5734 * text2.C: adjust to that
5736 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5738 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5739 * text3.C: use it to delete selections in some cases
5740 (bugs 441, 673, 702, 954).
5742 2003-07-14 André Pönitz <poenitz@gmx.net>
5744 * rowpainter.[Ch]: reduce interface
5746 2003-07-14 André Pönitz <poenitz@gmx.net>
5748 * BufferView_pimpl.C:
5749 * text2.C: adjust after removing unused BufferView * argument
5751 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5753 * text2.C (init): fix a crash fired on resize
5755 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5757 * buffer.[Ch]: added new closing signal
5758 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5759 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5760 BufferView::Pimpl via the closing the signal
5762 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5764 * buffer.[Ch]: take out all bv-related from buffer
5766 * BufferView_pimpl.[Ch]: connect to new signals
5767 * CutAndPaste.C: removed useless asserts
5768 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5771 * lyxfunc.C: moved view-related funciontality from vc here
5772 * paragraph.C: removed outdated comments
5775 2003-07-10 André Pönitz <poenitz@gmx.net>
5777 * BufferView_pimpl.C:
5781 * text2.C: remove InsetText::InnerCache, clean up consequences
5783 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5785 * ispell.C: fix two typos in error messages
5787 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5789 * Extend Note inset to other forms of annotation like Comment
5790 and Greyedout. Right button click gives dialog.
5792 Files modified or added (+):
5796 * ControlNote.[Ch] +
5798 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5799 frontends/controllers
5803 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5805 * aspell.C: add missing namespace lyx::support
5807 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5809 * BufferView.[Ch] (newFile): Add
5810 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5811 * LaTeX.[Ch] (message): added this signal and use it
5812 * buffer.[Ch] (busy, message): added these signals and use them
5813 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5817 * importer.C: use buffer signals instead of direct bv calling
5818 * lyx_cb.[Ch] (ShowMessage): removed
5821 * paragraph_funcs.C:
5822 * text2.C: use buffer signals
5824 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * introduce namespace lyx::graphics
5828 2003-07-02 André Pönitz <poenitz@gmx.net>
5830 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5832 2003-07-01 André Pönitz <poenitz@gmx.net>
5839 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5840 text*.C to text_func.C
5842 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5844 * introduce namespace lyx::support
5846 2003-06-30 André Pönitz <poenitz@gmx.net>
5851 * text.C: re-enable --with-included-string
5853 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5855 * textcursor.C: add <config.h>
5857 * text.C (getWord): remove const from word_location arg
5859 * lyxvc.C (getLogFile): fix const type order
5861 * lyxtext.h: remove const from word_location arg, add arg name
5863 * lyxlayout.h: currect type on labeltype.
5865 * importer.C: correct \file
5867 * converter.C (intToFormat): use std:: on ret val, ws changes
5869 * bufferlist.h: correct \file
5871 * buffer.C (makeLinuxDocFile): fix const type order
5872 (makeDocBookFile): ditto
5873 (fillWithBibKeys): use std:: on stdlib args.
5875 * CutAndPaste.C: fix authors.
5876 (availableSelections): use std:: on return vector
5878 2003-06-27 André Pönitz <poenitz@gmx.net>
5880 * BufferView_pimpl.C:
5881 * bufferview_funcs.C:
5889 * text3.C: remove LyXCursor::row_ member
5892 * text.C: rename fullRebreak() to partialRebreak() and implement
5893 a fullRebreak() that really bereks fully
5895 * textcursor.h: new struct for cursor-related data
5897 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5899 * lyx_main.C (LyX): get full path of document loaded on the
5902 2003-06-26 André Pönitz <poenitz@gmx.net>
5904 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5905 remove unused/broken operator>,<,>=.
5907 * text.C: remove only use of broken operator<= in an Assert().
5909 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5911 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5912 moved errorlist_.clear to showErrorList
5914 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5916 * converter.C (scanLog, runLaTeX):
5917 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5918 move the bv->showErrorList call to the callers
5919 * lyxfunc.C: i.e. here...
5921 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5922 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5923 namespace, the second to...
5924 * buffer_funcs (BufferFormat, parseErrors): added
5925 * errorlist.C (ErrorList(TeXErrors const &)): removed
5927 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5929 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5931 2003-06-24 "Garst R. Reese" <reese@isn.net>
5935 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5937 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5939 * version.C.in: change docversion to 1.4
5941 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5943 * buffer.C: fix a bug just introduced
5945 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5947 * buffer.[Ch]: added the parseError signal and use it, removed
5949 * BufferView.[Ch] (addError): moved to ...
5950 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5951 to the Buffer::parseError signal to catch (guess what) parse errors
5952 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5954 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5956 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5957 ability to create a buffer and to return an existing one from
5958 the list. Moved these functions to...
5959 * buffer_funcs.[Ch]: added
5960 * BufferView.[Ch] (loadLyXFile): added
5961 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5962 job removed from bufferlist::loadLyXFile.
5963 * buffer.C (setReadOnly): make it work without view
5964 (i.e added an if (users))
5966 2003-06-19 Angus Leeming <leeming@lyx.org>
5969 * LyXAction.C (init):
5970 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5971 with LFUN_DIALOG_SHOW <name> <data>.
5973 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5975 * CutAndPaste.C (availableSelections): small compilation fix for
5976 ancient (gcc 2.9x) compilers
5978 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5980 * text3.C (cursorNext): add tmp var
5982 * text2.C (updateCounters): for function calling out of for clause
5983 (replaceSelectionWithString): ditto
5984 (insertStringAsParagraphs): ditto
5985 (getColumnNearX): add tmp var
5986 (setCursorFromCoordinates): add tmp var
5987 (cursorDownParagraph): add tmp var
5988 (deleteEmptyParagraphMechanism): add tmp var
5990 * text.C (insertChar): add tmp var
5992 * rowpainter.C (paintDepthBar): add tmp var
5994 * CutAndPaste.C (availableSelections): potentially check all
5995 paragraphs in a cut to fill the shown strings.
5997 2003-06-18 André Pönitz <poenitz@gmx.net>
5999 * kbmap.[Ch]: use vector<> instead of list<>
6001 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6003 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6004 pasteSelection with index
6006 * text2.C (pasteSelection): modify, call pasteSelection with index
6008 * paragraph.C (asString): reimplement version with no interval to
6009 call the one with interval.
6011 * lyxtext.h: add index arg to pasteSelection
6013 * MenuBackend.C (MenuItem): handle PasteRecent
6014 (Menu::read::Menutags): add md_pasterecent
6016 (expandPasteRecent): new function
6019 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6021 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6023 (availableSelections): new function
6025 2003-06-17 Angus Leeming <leeming@lyx.org>
6027 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6029 2003-06-17 Angus Leeming <leeming@lyx.org>
6032 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6034 * lyxfunc.C (dispatch): invoke it.
6036 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6038 * iterators.C (operator++, ParPosition): reintroduce some
6039 const_cast for the benefit of older compilers.
6041 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6043 * text3.C (dispatch): do not modify clipboard when doing
6044 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6045 LFUN_DELETE_SKIP on a selection selection
6047 2003-06-16 André Pönitz <poenitz@gmx.net>
6053 * tabular.[Ch]: IU of clone() and getLabelList();
6055 2003-06-13 André Pönitz <poenitz@gmx.net>
6057 * tabular.h: compactification
6059 2003-06-12 André Pönitz <poenitz@gmx.net>
6063 * tabular_funcs.h: some renaming plus whitespace
6065 2003-06-12 André Pönitz <poenitz@gmx.net>
6068 * BufferView_pimpl.C:
6074 * toc.C: Return a Paragraph & for ParIterator::operator*()
6076 2003-06-11 John Levon <levon@movementarian.org>
6080 * ToolbarBackend.C: add "Toolbars" section and
6083 2003-06-10 Angus Leeming <leeming@lyx.org>
6086 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6088 * lyxfunc.C (dispatch): invoke it.
6090 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6092 * main.C: protect <ios> with HAVE_IOS
6093 (main): protect sync_with_stdio with HAVE_IOS
6095 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6097 * text2.C (cutSelection): adjust
6098 (pasteSelection): adjust
6100 * messages.C: handle get of empty string
6102 * main.C (main): use sync_with_stdio(false)
6104 * lyxfunc.C (dispatch): adjust
6106 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6107 (WriteAs): remove unneeded BufferView arg.
6109 * bufferparams.h: use correct types on papersize, papersize2 and
6112 * bufferparams.C (readToken): adjust for type
6113 (writeLaTeX): add missing cases to switch.
6115 * bufferlist.C (quitWriteBuffer): adjust
6118 * buffer.C (asciiParagraph): remove some commented code.
6120 * CutAndPaste.C: remove current_view extern variable.
6121 (cutSelection): add BufferParams arg.
6122 (eraseSelection): add BufferParams arg.
6123 (pasteSelection): add Buffer const & arg
6125 2003-06-07 John Levon <levon@movementarian.org>
6128 * paragraph_funcs.C:
6129 * paragraph_pimpl.C:
6133 * paragraph.C: allow InsetERT to freely space lines,
6134 and some consolidation of code
6136 2003-06-06 José Matos <jamatos@fep.up.pt>
6138 * buffer.C (makeDocBookFile): fix bug #821
6140 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6142 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6144 2003-06-04 Angus Leeming <leeming@lyx.org>
6146 * buffer.C: bump format to 224.
6148 2003-06-05 André Pönitz <poenitz@gmx.net>
6150 * text2.C (redoParagraphs): remove two const_cast<>
6152 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6154 * ParagraphList.h: remove last remnants of NO_STD_LIST
6156 2003-06-03 Angus Leeming <leeming@lyx.org>
6158 * factory.C (createInset): small change to the way InsetExternal's params
6161 2003-06-04 André Pönitz <poenitz@gmx.net>
6163 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6165 * paragraph_pimpl.h:
6166 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6168 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6170 * undo_funcs.C: make some simple cases of undo work again
6172 2003-06-03 John Levon <levon@movementarian.org>
6174 * ispell.C: HPUX doesn't have sys/select.h
6177 2003-06-03 John Levon <levon@movementarian.org>
6179 * CutAndPaste.C: update tabular and include inset
6184 * paragraph.C: remove owningBuffer(), don't pass Buffer
6187 * factory.C: insetGraphicsParams changed
6189 2003-06-02 John Levon <levon@movementarian.org>
6195 * text3.C: remove insetparent
6197 2003-06-02 John Levon <levon@movementarian.org>
6200 * buffer.C: fix inset_iterator.end(), move out of line
6203 2003-06-01 John Levon <levon@movementarian.org>
6205 * text3.C: use a proper cut/paste when doing inset
6206 insert (from Jürgen Spitzmüller)
6208 2003-06-01 John Levon <levon@movementarian.org>
6210 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6212 2003-05-30 André Pönitz <poenitz@gmx.net>
6214 * rowpainter.C: unify second drawing phase
6216 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6218 * trans_mgr.C: remove one case of current_view
6220 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6222 * paragraph_funcs.h: remove paragraph.h include
6224 * paragraph.h: delete NO_STD_LIST stuff
6226 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6228 * buffer.h: remove paragraph.h include
6230 * ParagraphList.C: delete file
6232 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6234 * toc.C (getTocList): adjust
6236 * paragraph_pimpl.C (validate): adjust
6238 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6240 * paragraph.C (Paragraph): adjust
6241 (getPositionOfInset): use const_iterator, adjust
6242 (bibitem): use const_iterator, adjust
6243 (setInsetOwner): adjust
6245 * iterators.C (operator++): adjust
6247 * InsetList.[Ch]: Replace selfmade iterator with standard
6248 vector::iterator also introduce const_iterator. Remove getPos,
6249 getInset and setInset from InsetTable. Adjust accordingly.
6251 * BufferView.C (lockInset): adjust
6252 (ChangeInsets): adjust
6254 * tabular.[Ch]: delete commented same_id functions
6256 2003-05-28 John Levon <levon@movementarian.org>
6258 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6260 2003-05-28 André Pönitz <poenitz@gmx.net>
6262 * metricsinfo.[Ch]: remove 'fullredraw' member
6264 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6266 * lyxtextclass.C (operator): remove caching.
6268 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * text2.C (cursorBottom): adjust
6273 (setCounter): use ParagraphList::find, adjust
6275 * text.C (workWidth): use ParagraphList::find, adjust
6277 * lyxcursor.C (LyXCursor): adjust
6279 * buffer.C (inset_iterator): adjust
6281 * ParagraphList.h: make iterator(value_type) private, make
6282 ParagraphList a friend of iterator.
6284 * ParagraphList.C (find): new function
6286 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6288 2003-05-27 André Pönitz <poenitz@gmx.net>
6290 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6292 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6294 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6296 2003-05-26 John Levon <levon@movementarian.org>
6298 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6300 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * remove same_id from function signatures, adjust.
6304 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6308 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6310 * paragraph.C (Paragraph): get rid of same_ids parameter
6312 * ParagraphList.C (insert): adjust
6315 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * paragraph_funcs.C (breakParagraph): adjust
6318 (breakParagraphConservative): adjust
6320 * buffer.C (readParagraph): adjust
6322 * ParagraphList.C (insert): take a reference instead of a pointer
6325 * paragraph.[Ch] (id): new function
6327 * bufferlist.C (newFile): adjust
6329 * ParagraphList.C (ParagraphList): adjust
6331 (push_back): take a reference instead of a pointer.
6333 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6335 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6338 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6339 set else use old code.
6341 * ParagraphList.C: remove all NO_NEXT code and only compile this
6342 code of NO_STD_LIST is set.
6344 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6346 * BufferView_pimpl.C:
6356 * graphics/GraphicsConverter.C:
6357 * graphics/PreviewLoader.C: header adjustment
6359 2003-05-23 Angus Leeming <leeming@lyx.org>
6361 * LaTeXFeatures.[Ch] (useBabel): new method.
6362 * bufferparams.C (writeLaTeX): use it.
6364 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * ParagraphList.h (set): remove unused function.
6368 2003-05-23 André Pönitz <poenitz@gmx.net>
6371 * BufferView_pimpl.C:
6375 * undo_funcs.C: setUndo reworked
6377 * iterators.[Ch]: add access to topmost ParagraphList
6379 * lyxtext.[Ch] (workWidth): add a const
6381 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6383 * texrow.[Ch] (increasePos): remove function
6384 * exporter.C (export): removed unused var and outdated comment
6386 2003-05-23 Angus Leeming <leeming@lyx.org>
6388 * latexrunparams.h: rename fragile as moving_arg.
6389 * paragraph.C (simpleTeXOnePar): ditto.
6390 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6392 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6394 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6396 (textUndoOrRedo): comment out a currently unused var.
6398 * paragraph.h (NO_NEXT): enable NO_NEXT
6400 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6402 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6404 * exporter.C (Export): adjust for removeAutoInsets removal.
6406 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6408 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6410 * BufferView.[Ch] (removeAutoInsets): delete function
6412 2003-05-22 Angus Leeming <leeming@lyx.org>
6414 * latexrunparams.h: add a free_spacing variable.
6416 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6417 to pass moving_arg, as the data is stored in runparams.fragile.
6419 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6420 to Inset::latexOptional or to simpleTeXOnePar.
6422 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6423 free_spacing arg to Inset::latexOptional.
6425 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6428 2003-05-22 Angus Leeming <leeming@lyx.org>
6430 * latexrunparams.h: add fragile and use_babel variables.
6432 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6433 * buffer.C (makeLaTeXFile): store this returned value in
6434 runparams.use_babel, thus passing it to the inset::latex methods.
6436 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6437 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6439 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6440 longer has a fragile arg, as it is stored in runparams.fragile.
6442 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6443 moving_arg parameter as the data is stored in runparams.fragile.
6445 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6446 a fragile parameter as the data is stored in runparams.fragile.
6448 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6450 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6452 2003-05-22 Angus Leeming <leeming@lyx.org>
6454 * latexrunparams.h: add a 'bool nice' which defaults to false.
6456 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6457 now encapsulated within runparams.
6459 * bufferlist.C (updateIncludedTeXfiles):
6460 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6462 2003-05-22 Angus Leeming <leeming@lyx.org>
6464 * latexrunparams.h: new file containing struct LatexRunParams.
6465 * Makefile.am: add new file.
6467 * LaTeX.[Ch] (c-tor, run):
6468 * buffer.[Ch] (makeLaTeXFile):
6469 * bufferlist.[Ch] (updateIncludedTeXfiles):
6470 * converter.C (convert, scanLog):
6471 * converter.[Ch] (runLaTeX):
6472 * exporter.C (Export):
6473 * paragraph.[Ch] (simpleTeXOnePar):
6474 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6475 * paragraph_funcs.[Ch] (latexParagraphs):
6476 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6477 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6478 pass around a LatexRunParams parameter.
6480 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * paragraph.[Ch]: remove unused constructor
6484 * ParagraphList.C (erase): new function, taking two iterators
6486 2003-05-22 André Pönitz <poenitz@gmx.net>
6488 * undo_funcs.C: remove duplicated code
6490 * iterator.[Ch]: operator=
6492 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6494 * tabular.C (SetMultiColumn): ws changes
6496 * rowpainter.C (paintFirst): get rid of a ->previous
6498 * lyx_cb.C (getPossibleLabel): parlist simplification
6500 * BufferView.C (ChangeInsets): simplify slightly.
6502 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6504 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6505 * lfuns.h: new LFUN_SPACE
6506 * lyxfunc.C: protected space has a new lfun
6507 * paragraph_funcs.C: read new space insets
6509 * factory.C: handle new space insets
6511 2003-05-22 André Pönitz <poenitz@gmx.net>
6514 * BufferView_pimpl.C:
6517 * undo_funcs.C: return a ParIterator from getParFromID.
6519 * iterators.[Ch]: add two const's
6521 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * toc.C (getTocList): adjust
6525 * iterators.[Ch]: rework for parlist
6527 * buffer.C (par_iterator_begin): adjust
6528 (par_iterator_end): adjust
6530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6532 * BufferView.C (removeAutoInsets): adjust
6533 (ChangeInsets): adjust
6535 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6537 * text.C (top_y): fix bug 1110
6539 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6541 * errorlist.[Ch]: added
6544 * BufferView_pimpl.C:
6545 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6548 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * Makefile.am: ensure that lyx is relinked upon changes to the
6551 various "convenience" libs.
6553 2003-05-20 Angus Leeming <leeming@lyx.org>
6555 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6556 files are compiled in alphabetical order again.
6558 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6560 2003-05-19 Angus Leeming <leeming@lyx.org>
6562 * gettext.[Ch]: remove "char const * _(char const *)".
6564 2003-05-19 André Pönitz <poenitz@gmx.net>
6566 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6575 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6577 2003-05-19 André Pönitz <poenitz@gmx.net>
6581 * lyxtextclass.[Ch]:
6583 * paragraph_funcs.[Ch]:
6585 * text3.C: more insetenv work
6587 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6589 * ParagraphParameters.C (params2string): small bug fixed
6591 2003-05-16 André Pönitz <poenitz@gmx.net>
6594 * bufferview_funcs.C: patch from Kornel Benko to prevent
6595 crash when _(...) is called twice in a statement
6597 2003-05-16 André Pönitz <poenitz@gmx.net>
6604 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6606 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6608 * lyx_main.C (init): remove spurious static_cast
6610 2003-05-14 André Pönitz <poenitz@gmx.net>
6612 * BufferView.C: fix format string
6614 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6616 * BufferView.[Ch] (insertErrors): removed
6617 * BufferView.[Ch] (showErrorList): added
6618 * buffer.C (runChkTeX):
6619 * converter.C (scanLog): call showErrorList instead of inserterrors
6621 2003-05-13 André Pönitz <poenitz@gmx.net>
6623 * BufferView_pimpl.C:
6625 * bufferview_func.C:
6632 * tabular_funcs.h: tostr() from its own header
6634 * ParagraphParameters.C:
6639 * text3.C: STRCONV()
6641 2003-05-12 André Pönitz <poenitz@gmx.net>
6644 * BufferView_pimpl.C:
6648 * ParagraphParameters.C:
6652 * bufferview_funcs.C:
6665 * paragraph_funcs.C:
6669 * text3.C: boost::format -> bformat all over the place
6672 2003-05-09 André Pönitz <poenitz@gmx.net>
6674 * LColor.[Ch]: Pimpl the #include <map> away
6676 2003-05-09 John Levon <levon@movementarian.org>
6678 * bufferlist.C: never remove emergency saves
6680 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6682 * Makefile.am: better lib building
6684 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6686 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6688 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6689 (simpleTeXSpecialChars): adjust
6690 (simpleTeXSpecialChars): adjust
6691 * paragraph.C (simpleTeXOnePar): adjust
6692 * buffer.C (makeLaTeXFile): adjust
6694 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6696 * text2.C (changeDepth): parlist cleanup
6697 (getColumnNearX): ditto
6699 * rowpainter.C (getLabelFont): parlist cleanup
6701 * bufferlist.C (newFile): parlist cleanup
6703 * CutAndPaste.C (eraseSelection): parlist cleanup
6705 * BufferView_pimpl.C (trackChanges): parlist cleanup
6708 * BufferView.C (lockInset): parlist cleanup.
6709 (ChangeInsets): ditto
6711 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * CutAndPaste.h: Update file header.
6715 * CutAndPaste.C: Update file header.
6716 Store the parts cut out of the Document in a limited_stack.
6717 (copySelection): adjust
6718 (pasteSelection): new function, takes the index in the limited stack.
6719 (nrOfParagraphs): adjust
6720 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6721 simplify error inset insertion.
6722 (checkPastePossible): adjust
6724 2003-05-06 John Levon <levon@movementarian.org>
6726 * text2.C: don't cast wrap inset to float
6728 2003-05-05 André Pönitz <poenitz@gmx.net>
6731 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6733 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6734 few naked Paragraph *.
6736 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6738 * bufferparams.C: Output warning if a document with missing
6739 TeX document class is loaded
6740 * exporter.C: Disable TeX exports if the document class is missing
6743 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6744 isTeXClassAvailable()
6746 2003-05-03 John Levon <levon@movementarian.org>
6749 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6750 explicit cursor show/hide
6752 * BufferView_pimpl.h:
6753 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6754 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6756 * lyxfunc.C: hide cursor before dispatching.
6761 * text3.C: remove explicit cursor hides
6763 2003-05-02 André Pönitz <poenitz@gmx.net>
6765 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6768 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6771 * text2.C: tiny whitespace
6773 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6775 * undo_funcs.C: almost only ws changes.
6777 * ParagraphList.C (splice): just return if pl is empty.
6779 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * ParagraphList.C (splice): new function.
6783 * CutAndPaste.C (pasteSelection): use it
6785 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6787 * CutAndPaste.C (pasteSelection): remove the last next and
6788 previous from this file.
6790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6792 * CutAndPaste.C (pasteSelection): more clean up, user proper
6793 ParagraphList functions for pasteing.
6795 * ParagraphList.C (insert): new function, three arg insert
6797 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * ParagraphList.C (insert): new function, three arg insert
6801 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6804 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6808 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6810 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6812 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6814 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6815 (copySelection): clean up a bit.
6816 (pasteSelection): use make_pair
6818 * ParagraphList.C (ParagraphList): implement copy constructor
6819 (operator=): implement, base on copy constructor.
6822 * paragraph.C (erase): return a bool
6824 * paragraph_pimpl.C (erasePos): remove function, move contents...
6825 (erase): ... here. Return a bool.
6826 (erase): call erase instead of erasePos.
6828 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6830 * ParagraphList.h: define PitPosPair
6831 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6832 ParagraphList, fix a bug on pasting multiple pars
6833 * text2.C: change interface to C&P
6835 2003-04-30 André Pönitz <poenitz@gmx.net>
6837 * undo_func.C: revert part of yesterday's patch 2
6839 2003-04-30 John Levon <levon@movementarian.org>
6841 * LColor.C: s/tabular/table/
6843 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * text3.C (dispatch): do not convert iterator -> pointer
6846 * undo_funcs.C (setCursorParUndo): ditto
6847 * text_funcs.C (transposeChars): ditto
6849 * text2.C (setLayout): ws changes only
6851 * text.C (breakParagraph): do not convert iterator -> pointer
6853 (acceptChange): ditto
6854 (rejectChange): ditto
6859 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6862 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6864 * text3.C (gotoInset): YABG (yet another bad getChar)
6866 2003-04-29 André Pönitz <poenitz@gmx.net>
6868 * paragraph.h: make operator= private unimplemented as long as
6871 * ParagraphList.C: whitespace
6874 * paragraph_pimpl.[Ch]:
6875 * paragraph_funcs.C:
6877 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6880 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6882 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6884 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6885 * paragraph.[Ch] (erase):
6886 * paragraph_pimpl.[Ch] (erase): change return type and value
6887 * text2.C (cutSelection): some rework
6889 2003-04-28 John Levon <levon@movementarian.org>
6891 * bufferlist.C: changes for unsaved changes dialog
6893 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6895 * bufferlist.C (newFile): set language (messages_) for new
6898 * buffer.C (readFile): ws changes only.
6900 2003-04-28 André Pönitz <poenitz@gmx.net>
6905 * BufferView_pimpl.C:
6906 * BufferView.C: getParFromID related ParagraphList::iterator changes
6908 2003-04-28 André Pönitz <poenitz@gmx.net>
6910 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6913 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6915 * messages.C: remove one more localedir class variable.
6917 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6919 * messages.C (getLocaleDir): singleton generation function
6921 (Messages): add a default constructor.
6923 * main.C (main): do not setup localedir here, do not call
6926 * gettext.C (_): use it.
6927 (gettext_init): delete funciton
6929 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6931 * gettext.C (getLyXMessages): new singleton generating function.
6933 * buffer.C (updateDocLang): adjust
6935 * Makefile.am (messages.o): add target
6936 (main.o): remove target
6938 2003-04-27 John Levon <levon@movementarian.org>
6943 * lyxvc.C: specify cancel button in Alert::prompt
6945 2003-04-26 John Levon <levon@movementarian.org>
6950 * LyXAction.C: add LFUN_INSET_SETTINGS
6952 * lyxfunc.C: don't enable tabular-feature when there's
6953 just any locking inset
6955 2003-04-26 John Levon <levon@movementarian.org>
6957 * bufferlist.C: re-add Cancel to buffer close question
6959 * lyxfunc.C: fix import UI a bit
6961 2003-04-25 John Levon <levon@movementarian.org>
6963 * gettext.C: remove the broken asserts for now
6965 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6967 * messages.C: make case where setlocale cannot comply work better.
6969 * buffer.C (updateDocLang): new function
6970 (changeLanguage): use it
6973 * text2.C (setCounter): use B_ a bit.
6975 * lyxlayout.C (Read): be sure to trim the label strings.
6977 * messages.C (Messages): fix typo in comment
6979 * buffer.C (readFile): set message_ after file is loaded.
6980 (makeDocBookFile): remove double return
6981 (changeLanguage): reset message_ upon language change.
6982 (B_): new func, use this to get translated buffer strings.
6984 * main.C: add myself and Jean Marc as authors.
6986 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6988 * messages.[hC]: pimplify Messages, and three different pimpls to be
6989 used in different circumstances.
6991 * gettext.[Ch]: change for use with new message code.
6993 2003-04-24 André Pönitz <poenitz@gmx.net>
6995 * factory.C: support for eqref
6997 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6999 * messages.[Ch]: add missing char
7001 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7003 * messages.[Ch]: New files
7005 2003-04-18 John Levon <levon@movementarian.org>
7009 * BufferView_pimpl.C:
7013 * text2.C: remove layout-copy/paste (bug 778)
7015 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7017 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7019 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7021 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7022 if they succeed. Act accordingly.
7024 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7026 * text2.C (setCharFont): adjust
7027 (setCounter): adjust
7028 (insertStringAsLines): adjust
7030 * text.C (leftMargin): adjust
7031 (setHeightOfRow): adjust
7033 * rowpainter.C (paintFirst): adjust
7036 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7038 (isFirstInSequence): ditto
7039 (getEndLabel): ditto
7042 * paragraph.C (getParLanguage): comment out some hard stuff.
7044 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7046 (simpleDocBookOnePar): ditto
7047 (makeDocBookFile): use ParagraphList::iterator
7049 * CutAndPaste.C (pasteSelection): adjust
7051 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7053 * text2.C (getFont): adjust
7054 (getLayoutFont): adjust
7055 (getLabelFont): adjust
7057 * paragraph_funcs.C (TeXOnePar): adjust
7059 * buffer.C (simpleLinuxDocOnePar): adjust
7060 (simpleDocBookOnePar): adjust
7062 * CutAndPaste.C (pasteSelection): adjust
7064 * BufferView.C (getEncoding): adjust
7066 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7068 2003-04-16 John Levon <levon@movementarian.org>
7070 * lyxfind.C: use parlist stuff for search/changes
7072 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7074 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7076 * text2.C (deleteEmptyParagraphMechanism): adjust
7078 * text2.[Ch] (ownerParagraph): delete func (both of them
7080 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7082 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7084 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * ParagraphList.C: prepare for NO_NEXT
7088 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7090 * text2.C (getFont): adjust
7091 (getLayoutFont): adjust
7092 (getLabelFont): adjust
7094 * paragraph.C (getFont): adjust
7095 (getLabelFont): adjust
7096 (getLayoutFont): adjust
7098 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7100 2003-04-15 John Levon <levon@movementarian.org>
7104 * lyx_main.C: handle Include in .ui files
7106 2003-04-15 John Levon <levon@movementarian.org>
7108 * MenuBackend.C: make the doc files length shorter
7111 * ToolbarBackend.C: handle toolbar placement flags,
7114 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7119 * paragraph_funcs.C (TeXOnePar): adjust
7121 * paragraph.C (getLabelFont): add outerfont arg, adjust
7122 (getLayoutFont): ditto
7123 (simpleTeXOnePar): adjust
7125 * paragraph_pimpl.C (realizeFont): delete func
7127 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7129 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7130 row argument, constify cur argument.
7132 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7134 * text2.C (getFont): adjust
7135 (getLayoutFont): adjust
7136 (getLabelFont): adjust
7138 * paragraph_funcs.C (TeXOnePar): adjust
7139 (outerFont): new func...
7140 (realizeFont): ...moved out from here, changed this to facilitate
7143 * paragraph.C (getFont): take outerfont as arg, adjust
7144 (simpleTeXOnePar): add outerfont arg, adjust
7146 * buffer.C (simpleLinuxDocOnePar): adjust
7147 (simpleDocBookOnePar): adjust
7149 * CutAndPaste.C (pasteSelection): adjust
7151 * BufferView.C (getEncoding): adjust
7153 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7155 * text2.C (setCharFont): adjust
7156 (setCounter): adjust
7158 * text.C (leftMargin): adjust
7159 (setHeightOfRow): adjust
7161 * rowpainter.C (paintFirst): adjust
7164 * paragraph_pimpl.C (realizeFont): adjust
7166 * paragraph.C (isFirstInSequence): move from here...
7167 * paragraph_funcs.C (isFirstInSequence): ...to here
7169 * paragraph.C (outerHook): move from here...
7170 * paragraph_funcs.C (outerHook): ...to here
7172 * paragraph.C (depthHook): move from here...
7173 * paragraph_funcs.C (depthHook): ...to here
7175 * paragraph.C (getEndLabel): move from here...
7176 * paragraph_funcs.C (getEndLabel): ...to here
7178 * text2.C (realizeFont): move from here...
7179 * paragraph_funcs.C (realizeFont): ...to here
7181 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7185 2003-04-14 Angus Leeming <leeming@lyx.org>
7187 * LColor.[Ch]: scrap LColor mathcursor.
7189 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7191 * lyxlex.[Ch] (text): delete function
7192 * trans.C (Load): adjust
7193 * paragraph_funcs.C (readParToken): adjust
7195 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7198 vector<char> instead of a char[].
7200 * lyxlex_pimpl.C (getString): adjust
7202 (lex): use getString
7206 * lyxlex.C (text): use pimpl_->getString()
7210 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7212 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7213 (makeFontEntriesLayoutSpecific): temp var for par.size()
7214 (setLayout): temp var for ownerParagraphs().end()
7215 (fullRebreak): temp var for rows().end()
7216 (selectionAsString): temp var for boost::next(startpit), realize
7217 that the while really is a regular for loop.
7218 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7219 setCursor in one place.
7220 (setParagraph): temp vr for ownerParagraphs().end()
7221 (updateCounters): make the while loop a for loop
7222 (cutSelection): temp var for ownerParagraphs().end()
7223 (updateInset): make the do {} while() a regular for loop
7224 (getCursorX): use temp vars
7225 (setCurrentFont): use temp vars
7226 (getColumnNearX): use temp vars
7228 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * text.C (transformChar): use temp var for getChar
7231 (computeBidiTables): use temp var for row->par()
7232 (fill): move temp vars for row->par() and pit->layout() earlier in
7234 (labelFill): use temp var for row->par()
7235 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7236 asc and desc, realize that pit never changes and that firstpit is
7237 just a duplicate and not needed. Exchange rit->par() with pit in a
7239 (breakAgain): use a temp var for boost::next(rit)
7240 (breakAgainOneRow): ditto
7241 (breakParagraph): use a temp var for rows().begin()
7242 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7243 (cursorRightOneWord): use temp var for cursor.par() and
7244 cursor.pos(), remove usage of tmpcursor.
7245 (cursorLeftOneWord): use temp var for cursor.par() and
7246 cursor.pos() only set cur at end of function.
7248 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * text.C, text2.C: exchange all usage of Paragraph::next with
7251 boost::next(ParagraphList::iterator)
7253 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7255 * text2.C (cursorTop): simplify implementation
7256 (cursorBottom): ditto
7257 (setParagraph): use ParagraphList::iterator
7258 (setCurrentFont): adjust
7259 (getColumnNearX): adjust
7260 (cursorRight): adjust
7261 (cursorLeft): remove usage of Paragraph::previous
7262 (cursorUpParagraph): ditto
7263 (deleteEmptyParagraphMechanism): slight cleanup
7265 * text.C (isBoundary): take a Paragraph const & instead of a
7267 (addressBreakPoint): ditto
7268 (leftMargin): remove usage of Paragraph::previous.
7269 (setHeightOfRow): ditto
7270 (cursorLeftOneWord): ditto
7271 (selectNextWordToSpellcheck): ditto
7274 (breakParagraph): remove one usage of Paragraph::next
7275 (redoParagraph): ditto
7276 (acceptChange): ditto
7277 (insertChar): adjust
7278 (rowBreakPoint): adjust
7280 * bufferview_funcs.C (toggleAndShow): adjust
7282 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7284 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7285 methods to access it.
7287 * text.C: Added updateRowPositions to compute all row positions.
7288 Make top_y and getRowNearY() to use the cached y position
7290 2003-04-11 John Levon <levon@movementarian.org>
7292 * text.C (rowBreakPoint): reintroduce the labelEnd
7293 checks, code copied from the row fill stuff. Deep voodoo.
7295 * text.C (fill): add a comment and debugging for the
7298 2003-04-11 John Levon <levon@movementarian.org>
7300 * text.C: make sure fullrow insets get wrapped to the next line,
7301 even when they're in a manual label
7303 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * text2.C (insertParagraph): make it take ParagraphList::iterator
7307 (setLayout): make it return ParagraphList::iterator
7308 (redoParagraphs): ditto
7310 (checkParagraph): ditto
7312 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7314 * text2.C: adjust several funcs.
7315 (realizeFont): take a ParagraphList::iterator as arg.
7316 (getLayoutFont): ditto
7317 (getLabelFont): ditto
7318 (setCharFont): ditto
7320 * text.C: adjust several funcs.
7322 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7324 * text.C (selectNextWordToSpellcheck): don't accidentally
7327 2003-04-10 John Levon <levon@movementarian.org>
7329 * ToolbarBackend.C (getIcon): special handling for
7332 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7334 * text2.C (cursorRight): a getChar assert fixed
7336 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * text2.C (getFont): change to take a ParagraphList::iterator
7339 instead of Paragraph*
7340 Adjust several functions.
7342 * text.C (transformChar): change to take a ParagraphList::iterator
7343 instead of Paragraph*
7344 (singleWidth): ditto
7345 Adjust several functions.
7347 * rowpainter.C: adjust several functions
7348 * rowpainter.h:store a ParagraphList::iterator and not a
7352 2003-04-09 John Levon <levon@movementarian.org>
7357 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7358 and the "help" bits as well
7360 2003-04-09 John Levon <levon@movementarian.org>
7363 * ToolbarBackend.C: allow multiple toolbars
7365 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7367 * undo_funcs.C (setCursorParUndo): adjust
7369 * text_funcs.C (transposeChars): adjust
7371 * text3.C (gotoNextInset): adjust
7374 * text2.C (setLayout): adjust
7375 (changeDepth): adjust
7377 (redoParagraphs): adjust
7378 (selectionAsString): adjust
7379 (setParagraph): adjust
7380 (insertInset): adjust
7381 (cutSelection): adjust
7382 (copySelection): adjust
7383 (pasteSelection): adjust
7384 (insertStringAsLines): adjust
7385 (updateInset): adjust
7386 (setCursor): change to take a ParagraphList::iterator parameter
7387 (setCursorIntern): change to take a ParagraphList::iterator parameter
7388 (setCurrentFont): adjust
7389 (cursorLeft): adjust
7390 (cursorRight): adjust
7391 (deleteEmptyParagraphMechanism): adjust
7393 * text.C (breakParagraph): adjust
7394 (insertChar): adjust
7395 (acceptChange): adjust
7396 (rejectChange): adjust
7397 (selectNextWordToSpellcheck): adjust
7398 (changeCase): adjust
7402 * lyxfind.C (SearchForward): adjust
7403 (SearchBackward): adjust
7404 (nextChange): adjust
7406 * lyxcursor.C (par): adjust
7408 * lyxcursor.h: store a ParagraphList::iterator instead of a
7411 * lyx_cb.C (getPossibleLabel): adjust
7413 * bufferview_funcs.C (toggleAndShow): adjust
7415 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7418 * BufferView.C (removeAutoInsets): adjust
7419 (lockedInsetStoreUndo): adjust
7421 2003-04-09 John Levon <levon@movementarian.org>
7423 * ToolbarBackend.C: try icon without argument
7424 if with argument fails
7426 2003-04-08 John Levon <levon@movementarian.org>
7429 * ToolbarBackend.C: add getIcon(), handle tooltip,
7430 and change from "Icon" to "Item".
7432 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7434 * BufferView.C (lockInset): another bad getchar crunched
7436 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7438 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7441 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7443 * lyxfind.C (searchForward, searchBackwards): bug 782
7445 2003-04-07 John Levon <levon@movementarian.org>
7447 * paragraph.C: remove dead comment
7449 * text.C: remove troublesome depth-fiddling code
7450 in leftMargin() and rightMargin() (bug 1017)
7452 * text.C: fix breaking of rows in nested lists
7455 * text2.C (updateCounters): fix up depth values
7458 2003-04-07 John Levon <levon@movementarian.org>
7460 * BufferView_pimpl.C: clear message when doc finishes resizing,
7461 and after a mouse event
7463 * lyxfunc.C: clear message after exiting inset
7465 2003-04-07 John Levon <levon@movementarian.org>
7467 * bufferview_funcs.C: show math status not outside
7468 status in the statusbar
7470 2003-04-07 John Levon <levon@movementarian.org>
7472 * lyxfunc.C: note status changed after a depth change
7474 2003-04-04 Angus Leeming <leeming@lyx.org>
7476 * LaTeX.h: move AuxInfo operator==, != out of line.
7477 Remove LaTeX virtual destructor; nothing derives from it.
7478 Move operator()() out of public area and rename it startscript().
7479 Change protected for private.
7481 2003-04-04 Angus Leeming <leeming@lyx.org>
7484 * text2.C: remove unneeded #includes.
7486 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7488 * text2.C (dEPM): fix the heigth of the next row
7490 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7492 * text.C: squashed an invalid getChar requester + some ws changes
7494 2003-04-03 John Levon <levon@movementarian.org>
7496 * bufferview_funcs.h:
7497 * bufferview_funcs.C:
7500 * text2.C: make getStatus work for the env depth lfuns
7502 2003-04-03 John Levon <levon@movementarian.org>
7504 * bufferview_funcs.h:
7505 * bufferview_funcs.C:
7508 * text2.C: parlistize decDepth(), by merging it with incDepth()
7510 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * lyxrow.h: store a ParagraphList::iterator instead of a
7513 Paragraph* and adjust other class functions to suit.
7515 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7518 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7520 * text2.C (setCursor): do not anchor to cursor row for the time being
7522 2003-04-02 John Levon <levon@movementarian.org>
7529 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7531 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7533 * paragraph.h: make ParagraphList and ParagraphList::iterator
7534 friends of Paragraph.
7536 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7538 * ParagraphList.C: Use the private next_ and previous_ from
7541 2003-04-01 John Levon <levon@movementarian.org>
7545 * Makefile.am: rename, remove defaults gunk
7548 * MenuBackend.C: remove defaults gunk
7551 * Languages.C: remove defaults gunk
7554 * lyx_main.C: error out if files couldn't be found.
7556 2003-04-02 John Levon <levon@movementarian.org>
7558 * text2.C: make incDepth() use parlist
7560 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7562 * undo_funcs.C (firstUndoParagraph): adjust
7564 * text3.C (gotoInset): adjust
7565 (dispatch): adjust, and rewrite loop.
7567 * text2.C (init): adjust, and rewrite loop.
7568 (redoParagraphs): adjust
7569 (updateInset): adjust, and rewrite loop.
7570 (deleteEmptyParagraphMechanism): adjust
7572 * tabular.C (LyXTabular): adjust
7573 (SetMultiColumn): adjust
7576 * lyxtext.[Ch] (ownerParagraph): delete function
7577 (ownerParagraphs): new function returns a ParagraphList.
7579 * BufferView.C (removeAutoInsets): adjust
7580 (insertErrors): adjust
7581 (setCursorFromRow): adjust
7583 2003-04-01 Angus Leeming <leeming@lyx.org>
7585 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7588 2003-04-02 John Levon <levon@movementarian.org>
7594 * text_funcs.C: make transposeChars a free function
7596 * lyxrow_funcs.C: remove wrong comment
7598 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7601 * rowpainter.C: adjust
7606 * lyxrow_funcs. [Ch]: new files
7608 * lyxrow.[Ch]: remove next and previous pointers
7609 (next,previous): remove accessor functions
7610 (isParEnd): move to lyxrow_funcs
7611 (lastPos): move to lyxrow_funcs
7612 (nextRowIsAllInset): move to lyxrow_funcs
7613 (lastPrintablePos): move to lyxrow_funcs
7614 (numberOfSeparators): move to lyxrow_funcs
7615 (numberOfHfills): move to lyxrow_funcs
7616 (numberOfLabelHfills): move to lyxrow_funcs
7617 (hfillExpansion): move to lyxrow_funcs
7621 * bufferview_funcs.C (toggleAndShow): adjust
7623 * RowList.h: Remove class RowList from file leave just a
7626 * RowList.C: delete file
7628 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7631 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7633 * text3.C (cursorPrevious): adjust
7634 (cursorNext): adjust
7637 * text2.C (redoHeightOfParagraph): adjust
7638 (redoDrawingOfParagraph): adjust
7641 * text.C (breakParagraph): adjust
7642 (insertChar): adjust
7645 * rowpainter.C (RowPainter): adjust
7646 (leftMargin): simplify and adjust
7647 (most rowpainter functions): adjust.
7649 * rowpainter.h: store the row as RowList::iterator not as Row*
7651 * lyxcursor.C (row): taka RowList::iterator as arg
7654 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7657 2003-04-01 Angus Leeming <leeming@lyx.org>
7659 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7660 stuff like bool Bool.
7662 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7664 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7667 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7669 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7672 * lyxtext.h (rows): drop one version and leve a const variant that
7673 returns a RowList::iterator.
7675 2003-03-31 Angus Leeming <leeming@lyx.org>
7677 * text.C (fill): ensure that the signature is the same as that in the
7680 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * text2.C (redoParagraphs): adjust
7683 (updateCounters): adjust
7684 (checkParagraph): adjust
7685 (getColumnNearX): adjust and reformat a bit.
7687 * text.C (top_y): adjust
7689 (leftMargin): adjust
7690 (prepareToPrint): adjust
7692 (getRowNearY): adjust
7694 * lyxtext.h: make rowlist_ mutable.
7696 * RowList.h: add const_iterator
7697 * RowList.C: adjust for RowList::const_iterator.
7699 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7702 2003-03-31 John Levon <levon@movementarian.org>
7705 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7707 * lyx_main.C: set default fonts from using lyx_gui funcs
7709 * exporter.C: pdf_mode moved from lyxrc
7712 * lyxfunc.C: changes from above
7714 2003-03-31 John Levon <levon@movementarian.org>
7716 * lyx_main.C: fix to the last fix
7718 2003-03-31 John Levon <levon@movementarian.org>
7720 * bufferlist.C: "Load original" -> "Load Original"
7726 * format.C: more Alert cleanups
7728 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7730 * text2.C (removeParagraph): make it take a RowList::iterator as
7732 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7733 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7735 * text.C (anchor_row): make it take a RowList::iterator as arg,
7737 (computeBidiTables): make it take a const reference to Row instead
7738 of Row pointer, adjust.
7739 (leftMargin): make it take a RowList::iterator as arg, adjust.
7740 (rowBreakPoint): adjust
7741 (breakAgainOneRow): make it take a RowList::iterator as arg,
7743 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7745 * bufferview_funcs.C (toggleAndShow): adjust
7747 2003-03-30 John Levon <levon@movementarian.org>
7751 * boost-inst.C: moved to support
7753 * several files: changes as a result
7755 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7757 * text2.C (LyXText): adjust.
7759 (removeRow): make it take a RowList::iterator as arg, adjust.
7760 (fullRebreak): adjust
7761 (deleteEmptyParagraphMechanism): adjust
7762 (clearPaint): adjust
7765 * text.C (top_y): adjust
7766 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7767 (breakAgain): make it take a RowList::iterator as arg, adjust.
7768 (breakParagraph): adjust
7769 (insertChar): adjust
7772 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7773 need_break_row, and refresh_row.
7775 * text3.C (dispatch): adjust
7777 * text2.C (checkParagraph): adjust
7779 (setCursorFromCoordinates): adjust
7781 * text.C (top_y): adjust
7783 (getRow): make it return a RowList::iterator, adjust
7784 (getRowNearY): make it return a RowList::iterator, adjust
7786 * text2.C (init): adjust
7787 (insertRow): remove function
7788 (insertParagraph): adjust
7789 (redoParagraphs): adjust
7790 (fullRebreak): adjust
7791 (updateCounters): adjust
7793 * text.C (top_y): rewrite to use RowList iterators.
7795 (setHeightOfRow): rewrite to sue RowList iterators.
7796 (appendParagraph): adjust
7797 (breakAgain): adjust
7798 (breakAgainOneRow): adjust
7799 (breakParagraph): adjust
7801 (getRowNearY): adjust, and remove commented code.
7803 * lyxtext.h (firstRow): delete function
7804 (lastRow): delete function
7805 (rows): new function (const and non-const versions.)
7806 (insertRow): delete function
7808 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7810 2003-03-29 John Levon <levon@movementarian.org>
7812 * BufferView_pimpl.C: always update scrollbar top
7813 because pasting text when we're anchored could mean we
7814 miss an update altogether
7816 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * text2.C (init): use rowlist_.end() and not 0.
7819 (insertRow): change to take a RowList::iterator as arg, adjust
7821 (insertParagraph): change to take a RowList::iterator as arg,
7823 (redoParagraphs): remove some debug msgs.
7825 * text.C (appendParagraph): change to take a RowList::iterator
7826 arg, adjust for this.
7827 (breakAgain): add an assert
7828 (breakAgainOneRow): ditto
7830 2003-03-29 John Levon <levon@movementarian.org>
7832 * text2.C: do not clear selection after inc/decDepth
7835 2003-03-29 John Levon <levon@movementarian.org>
7838 * buffer.C: fix broken strerrors according to Lars
7840 2003-03-29 John Levon <levon@movementarian.org>
7842 * converters.C: more Alert cleanups
7844 2003-03-29 John Levon <levon@movementarian.org>
7846 * bufferview_funcs.C: remove pointless Alert
7848 * buffer.C: fix confusing error message when
7849 a template is chmoded 000
7851 2003-03-29 John Levon <levon@movementarian.org>
7855 * BufferView_pimpl.C: Alert fixes
7859 * tabular-old.C: remove unused table compat reading
7861 2003-03-29 John Levon <levon@movementarian.org>
7866 * lyx_cb.C: more Alert cleanups
7868 * lyxfunc.C: don't allow chktex if not latex document
7870 2003-03-29 John Levon <levon@movementarian.org>
7874 * buffer.C: warnings pushed down from support/,
7877 2003-03-29 John Levon <levon@movementarian.org>
7879 * lyxfunc.C: safety check for C-r (revert)
7881 2003-03-29 John Levon <levon@movementarian.org>
7884 * bufferlist.C: several UI fixes using Alert::prompt.
7885 Fix the pointless looping quit code. Fix stupid revert
7890 * lyx_cb.C: use Alert::prompt
7892 * lyx_main.C: remove a silly question
7894 * lyxfunc.C: remove a couple of silly questions,
7897 2003-03-28 John Levon <levon@movementarian.org>
7899 * text2.C: fix bug 974 (End on empty par)
7901 2003-03-28 John Levon <levon@movementarian.org>
7903 * BufferView_pimpl.C:
7905 * lfuns.h: remove do-nothing math greek lfuns
7907 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7909 * lyxgluelength.h (isValidGlueLength): add default arg on
7910 parameter 2. Remove default arg from friend in class.
7912 * lyxlength.h (isValidLength): add default arg on parameter 2.
7913 Remove default arg from friend in class.
7915 * text2.C (LyXText): adjust, initialize refresh_row.
7919 (insertParagraph): adjst
7920 (redoParagraphs): adjust
7921 (fullRebreak): adjust
7922 (updateCounters): adjust
7923 (deleteEmptyParagraphMechanism): first attempt at fixing a
7926 * text.C (top_y): adjust
7927 (setHeightOfRow): adjust
7929 (getRowNearY): adjust
7931 * lyxtext.h: include RowList.h
7932 (~LyXText): not needed anymore, deleted.
7933 (firstRow): modify for RowList
7934 (lastRow): new function
7935 Delete firstrow and lastrow class variables, add a Rowlist
7936 rowlist_ class variable.
7938 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7941 * RowList.C (insert): fix case where it == begin().
7943 2003-03-26 Angus Leeming <leeming@lyx.org>
7945 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7946 the thesaurus dialog.
7948 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7950 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7952 * RowList.[Ch]: new files
7954 * ParagraphList.C (erase): handle the case where it == begin
7957 2003-03-25 John Levon <levon@movementarian.org>
7961 * aspell.C: add new aspell support
7964 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7967 2003-03-25 Angus Leeming <leeming@lyx.org>
7970 * LyXAction.C (init): new LFUN_INSET_INSERT.
7972 * BufferView_pimpl.C (dispatch): split out part of the
7973 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7975 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7978 2003-03-25 Angus Leeming <leeming@lyx.org>
7980 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7982 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7985 * text3.C: remove useless row->height(0)
7987 2003-03-25 John Levon <levon@movementarian.org>
7991 * text3.C: rename the refreshing stuff to better names
7993 2003-03-24 John Levon <levon@movementarian.org>
7995 * BufferView_pimpl.h:
7996 * BufferView_pimpl.C: update layout choice on a mouse
7999 2003-03-23 John Levon <levon@movementarian.org>
8001 * Makefile.am: fix commandtags.h reference
8003 2003-03-22 John Levon <levon@movementarian.org>
8005 * BufferView_pimpl.C:
8010 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8012 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8015 * text.C: take the rtl methods out of line
8017 2003-03-21 André Pönitz <poenitz@gmx.net>
8019 * metricsinfo.[Ch]: new files containing structures to be passed around
8020 during the two-phase-drawing...
8022 2003-03-21 André Pönitz <poenitz@gmx.net>
8024 * lyxtextclass.C: read 'environment' tag.
8026 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8028 * text2.C (removeRow): fix bug 964
8030 2003-03-20 John Levon <levon@movementarian.org>
8034 * text2.C: paint cleanups. Inset::update() dropped font
8037 2003-03-19 John Levon <levon@movementarian.org>
8039 * lyxfunc.C: only fitcursor/markDirty if available()
8041 2003-03-19 John Levon <levon@movementarian.org>
8043 * commandtags.h: rename to ...
8045 * lfuns.h: ... this, and renumber / cleanup
8047 2003-03-19 John Levon <levon@movementarian.org>
8049 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8050 fit the cursor after an lfun
8054 * BufferView_pimpl.h:
8055 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8057 * LyXAction.C: layout-character should have ReadOnly
8059 * ParagraphParameters.C:
8061 * bufferview_funcs.C:
8068 * undo_funcs.C: changes from above
8070 2003-03-18 John Levon <levon@movementarian.org>
8072 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8073 remove it from update()
8075 * lyxfunc.C: update layout choice after an lfun
8077 * text3.C: remove extra updateLayoutChoice()s
8079 2003-03-18 John Levon <levon@movementarian.org>
8081 * text.C: top_y change means full repaint, fix
8082 a drawing bug with cursor movement
8084 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8088 * text2.C: anchor row on setCursor
8090 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8092 * lyxtext.h: remove almost all mutable keywords
8095 * text3.C: remove const keywords accordingly
8097 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8099 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8101 (TeXEnvironment): ditto
8104 2003-03-17 John Levon <levon@movementarian.org>
8106 * text.C (rowBreakPoint): remove attempt to fix displayed
8107 math insets inside a manual label
8109 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * lyxtext.h: remove BufferView* as first arg from almost all class
8113 * other files: adjust.
8115 2003-03-17 John Levon <levon@movementarian.org>
8119 * text2.C: more paint cleanups
8121 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8124 * rowpainter.C: remove "smart" background painting code
8126 2003-03-16 John Levon <levon@movementarian.org>
8131 * text3.C: add helper functions for setting refresh_row/y
8133 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8135 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8136 newline inset which *can* get inserted in the pass_thru layouts.
8137 This is primarily for literate documents.
8139 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8141 * buffer.C: increment LYX_FORMAT to 223
8143 2003-03-14 André Pönitz <poenitz@gmx.net>
8145 * textclass.h: prepare for environment handling, ws changes
8146 * lyxlayout.C: read latexheader and latexfooter tags
8148 2003-03-14 John Levon <levon@movementarian.org>
8150 * text2.C: rewrite ::status() a bit
8152 2003-03-13 John Levon <levon@movementarian.org>
8154 * lyxtext.h: add some docs
8156 2003-03-13 John Levon <levon@movementarian.org>
8161 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8163 2003-03-13 John Levon <levon@movementarian.org>
8165 * text3.C: fix appendix redrawing
8167 2003-03-13 John Levon <levon@movementarian.org>
8169 * text.C (setHeightOfRow):
8171 * rowpainter.C: make appendix mark have the text
8172 "Appendix" so the user knows what it is
8175 * LColor.C: s/appendixline/appendix/ from above
8177 2003-03-13 John Levon <levon@movementarian.org>
8179 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8181 * text.C: fix a getChar(pos) bug properly
8183 2003-03-13 Angus Leeming <leeming@lyx.org>
8186 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8187 Probably only temporary. Let's see how things pan out.
8189 * BufferView.C (unlockInset):
8190 * BufferView_pimpl.C (fitCursor):
8191 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8193 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8194 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8196 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8197 new functions that convert ParagraphParameters to and from a string.
8199 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8200 BufferView::Pimpl's dispatch.
8201 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8203 2003-03-13 André Pönitz <poenitz@gmx.net>
8207 * factory.C: make it aware of InsetEnv
8209 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8211 * text2.C (setCursor): never ask for one past last
8212 (setCursor): add some debugging messages.
8214 * text.C (singleWidth): never ask for one past last
8215 (singleWidth): ditto
8217 (rightMargin): ditto
8218 (rowBreakPoint): ditto
8219 (setHeightOfRow): ditto
8220 (prepareToPrint): ditto
8222 * rowpainter.C (paintBackground): never ask for one past last
8223 (paintText): never ask for one past last
8225 * paragraph_pimpl.C (getChar): make the assert stricter, never
8226 allow the one past last pos to be taken
8228 * paragraph.C (getChar): ws changes only
8230 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8231 (numberOfSeparators): ditto
8232 (numberOfHfills): ditto
8234 2003-03-12 John Levon <levon@movementarian.org>
8240 * paragraph_funcs.C: fix per-buffer authorlists
8242 2003-03-12 John Levon <levon@movementarian.org>
8244 * text.C: fix newline in right address
8246 2003-03-12 Angus Leeming <leeming@lyx.org>
8248 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8249 duplicate those in LyXFunc::dispatch.
8253 * ToolbarDefaults.C:
8254 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8255 Add LFUN_FONTFREE_UPDATE.
8257 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8258 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8260 * bufferview_func.[Ch]: several new functions to facilliate
8261 transfer of data to and from the character dialog.
8263 2003-03-12 John Levon <levon@movementarian.org>
8268 * paragraph_funcs.C:
8269 * paragraph_pimpl.C:
8273 * text3.C: remove META_NEWLINE in favour of an inset
8276 * rowpainter.C: remove paintNewline (done by inset)
8278 2003-03-12 John Levon <levon@movementarian.org>
8280 * paragraph_pimpl.C: complain about bad getChar()s
8281 for a while at least
8283 2003-03-12 John Levon <levon@movementarian.org>
8286 * buffer.C: move paragraph read into a separate function,
8287 a little renaming to reflect that.
8290 * bufferparams.C: remove the author_ids map, not necessary now
8293 * factory.C: moved Buffer::readInset to here
8295 * paragraph_funcs.h:
8296 * paragraph_funcs.C: readParagraph free function moved from
8299 * tabular.C: name change
8301 2003-03-12 John Levon <levon@movementarian.org>
8304 * ParagraphParameters.C: move par params input to
8307 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8308 behave like a normal read from the stream wrt reading
8309 a line vs. a \\token
8311 2003-03-12 John Levon <levon@movementarian.org>
8314 * ParagraphParameters.h:
8315 * ParagraphParameters.C: move output code to a
8318 2003-03-12 John Levon <levon@movementarian.org>
8320 * BufferView.C (insertLyXFile):
8323 * tabular.C: use a parlist iterator for creating the
8326 2003-03-12 John Levon <levon@movementarian.org>
8328 * buffer.C: make current_change static local not
8331 2003-03-12 John Levon <levon@movementarian.org>
8333 * buffer.C: fix insertStringAsLines for change tracking
8335 2003-03-12 John Levon <levon@movementarian.org>
8342 * bufferparams.C: move author list into params. Rename some
8343 functions. Move the header reading into a separate token
8344 loop. Move the header token reading into BufferParams.
8346 2003-03-12 John Levon <levon@movementarian.org>
8348 * changes.C: put debug inside lyxerr.debugging() checks
8350 2003-03-11 André Pönitz <poenitz@gmx.net>
8352 * factory.C: make it aware of InsetHFill
8354 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8356 * buffer.C (latexParagraphs): move function from here...
8357 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8360 2003-03-10 Angus Leeming <leeming@lyx.org>
8362 * LyXAction.C (init): fix bug in poplating array with multiple entries
8363 with the same LFUN (spotted by JMarc).
8365 2003-03-10 John Levon <levon@movementarian.org>
8368 * text2.C: move getColumnNearX() near its
8371 2003-03-10 John Levon <levon@movementarian.org>
8373 * text.C: fix break before a minipage
8375 2003-03-10 John Levon <levon@movementarian.org>
8377 * text.C: fix the last commit
8379 2003-03-09 John Levon <levon@movementarian.org>
8383 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8384 bug 365 (don't break before insets unless needed). Don't
8385 return a value > last under any circumstances.
8387 2003-03-09 Angus Leeming <leeming@lyx.org>
8389 * BufferView_pimpl.C (trackChanges, dispatch): call
8390 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8392 2003-03-09 Angus Leeming <leeming@lyx.org>
8394 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8395 than Dialogs::showAboutlyx().
8397 2003-03-09 Angus Leeming <leeming@lyx.org>
8399 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8400 than Dialogs::showTabularCreate().
8402 2003-03-09 John Levon <levon@movementarian.org>
8406 * text2.C: 3rd arg to nextBreakPoint was always the same.
8409 2003-03-08 John Levon <levon@movementarian.org>
8416 * text2.C: Remove the "main" bit from the "main body"
8419 2003-03-08 John Levon <levon@movementarian.org>
8421 * text.C (leftMargin): The left margin of an empty
8422 manual label paragraph should not include the label width
8425 * text.C (prepareToPrint): don't attempt to measure hfills
8426 for empty manual label paragraphs - the answer should be 0
8428 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8430 * CutAndPaste.C: remove commented code and reindent.
8432 2003-03-08 John Levon <levon@movementarian.org>
8435 * lyxfunc.C: move reloadBuffer()
8438 * BufferView.C: to here
8440 * lyxvc.C: add comment
8443 * vc-backend.C: call bv->reload() to avoid
8444 getStatus() check on MENURELOAD
8446 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8448 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8449 to an old format .dep file.
8451 2003-03-07 Angus Leeming <leeming@lyx.org>
8453 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8454 when the LFUN_MOUSE_RELEASE should have been handled by
8455 inset->localDispatch.
8457 2003-03-07 Angus Leeming <leeming@lyx.org>
8459 * BufferView_pimpl.C (dispatch):
8460 * LyXAction.C (init):
8461 * ToolbarDefaults.C (init):
8463 * lyxfunc.C (getStatus):
8464 remove LFUN_INSET_GRAPHICS.
8466 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8468 2003-03-07 Angus Leeming <leeming@lyx.org>
8471 * LyXAction.C (init):
8472 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8474 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8477 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8479 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8480 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8482 2003-03-07 Angus Leeming <leeming@lyx.org>
8484 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8487 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8489 * ParagraphList.C (front): new function
8492 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8494 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8495 and top_row_offset_. removed var first_y.
8497 * text2.C (LyXText, removeRow):
8499 * BufferView_pimpl.C:
8500 use these methods instead of using first_y
8502 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8504 * text2.C (pasteSelection): adjust for checkPastePossible
8506 * CutAndPaste.C: remove Paragraph * buf and replace with
8507 ParagraphList paragraphs.
8508 (DeleteBuffer): delete
8509 (cutSelection): change the tc type to textclass_type
8510 (copySelection): change the tc type to textclass_type
8511 (copySelection): adjust for ParagraphList
8512 (pasteSelection): change the tc type to textclass_type
8513 (pasteSelection): adjust for Paragraphlist
8514 (nrOfParagraphs): simplify for ParagraphList
8515 (checkPastePossible): simplify for ParagraphList
8516 (checkPastePossible): remove unused arg
8518 * ParagraphList.C (insert): handle the case where there are no
8521 * CutAndPaste.h: make CutAndPaste a namespace.
8523 * text3.C (dispatch): adjust
8525 * text.C (breakParagraph): add a ParagraphList as arg
8527 * paragraph_funcs.C (breakParagraph): change to take a
8528 BufferParams and a ParagraphList as args.
8529 (breakParagraphConservative): ditto
8530 (mergeParagraph): ditto
8531 (TeXDeeper): add a ParagraphList arg
8532 (TeXEnvironment): ditto
8535 * buffer.C (readLyXformat2): adjust
8536 (insertStringAsLines): adjust
8537 (latexParagraphs): adjust
8539 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8540 (cutSelection): adjust
8541 (pasteSelection): adjust
8543 * BufferView_pimpl.C (insertInset): adjust
8545 2003-03-05 Angus Leeming <leeming@lyx.org>
8548 * LyXAction.C (init):
8549 * BufferView_pimpl.C (dispatch):
8550 * lyxfunc.C (getStatus):
8551 remove LFUN_CHILD_INSERT.
8553 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8555 2003-03-05 Angus Leeming <leeming@lyx.org>
8558 * LyXAction.C (init):
8559 * src/factory.C (createInset):
8560 * lyxfunc.C (getStatus):
8561 * text3.C (dispatch):
8562 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8564 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8566 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8568 * ParagraphList.C (insert): handle insert right before end()
8569 (erase): fix cases where it can be first or last paragraph.
8571 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8573 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8574 Paragraph::next and Paragraph::previous
8577 * text.C (breakParagraph): adjust
8579 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8580 BufferParams& as arg.
8581 (breakParagraph): use ParagraphList::insert
8582 (breakParagraphConservative): take a Buffer* instead of a
8583 BufferParams& as arg.
8584 (breakParagraphConservative): use ParagraphList::insert.
8586 * buffer.C (insertStringAsLines): un-const it
8587 (insertStringAsLines): adjust
8589 * ParagraphList.C (insert): new function
8591 * CutAndPaste.C (pasteSelection): adjust
8593 * text.C (backspace): adjust
8595 * tabular.C (SetMultiColumn): adjust
8597 * CutAndPaste.C (cutSelection): adjust
8598 (pasteSelection): adjust
8600 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8601 Buffer const * as arg
8603 * ParagraphList.C (erase): new function
8604 * paragraph_funcs.C (mergeParagraph): use it
8605 (mergeParagraph): make it take a Buffer* instead of a
8606 BufferParams* as arg
8608 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8610 (breakParagraphConservative): ditto
8612 * paragraph.h: remove the breakParagraph friend
8614 * paragraph.C (eraseIntern): new function
8615 (setChange): new function
8617 * paragraph_funcs.C (mergeParagraph): make it take a
8618 ParagraphList::iterator instead of a Paragraph *, adjust
8621 * paragraph.h: move an #endif so that the change tracking stuff
8622 also works in the NO_NEXT case.
8624 2003-03-04 Angus Leeming <leeming@lyx.org>
8627 * LyXAction.C: new LFUN_INSET_MODIFY.
8629 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8630 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8632 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8634 * several files: ws changes only
8636 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8637 (TeXEnvironment): ditto
8640 * buffer.C (makeLaTeXFile): adjust
8641 (latexParagraphs): make it take ParagraphList::iterator as args
8643 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8645 * buffer.C (latexParagraphs): adjust
8647 * paragraph.C (TeXOnePar): move function...
8648 (optArgInset): move function...
8649 (TeXEnvironment): move function...
8650 * paragraph_pimpl.C (TeXDeeper): move function...
8651 * paragraph_funcs.C: ...here
8653 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8655 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8657 * buffer.C (readInset): remove compability code for old Figure and
8660 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8662 * buffer.C: ws changes
8665 * BufferView_pimpl.C: ditto
8668 * bufferlist.h: ditto
8672 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8674 * converter.[Ch]: split into itself +
8677 * Makefile.am: += graph.[Ch] + format.[Ch]
8684 * lyxrc.C: added #include "format.h"
8686 2003-02-27 Angus Leeming <leeming@lyx.org>
8688 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8691 * factory.C (createInset): add "label" to the factory.
8693 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8694 string and do no more.
8696 2003-02-27 Angus Leeming <leeming@lyx.org>
8699 * LyXAction.C (init):
8700 * factory.C (createInset):
8701 * BufferView_pimpl.C (dispatch):
8702 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8704 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8706 * lyxfunc.C (dispatch):
8707 * text3.C (dispatch): pass name to params2string.
8709 2003-02-26 Angus Leeming <leeming@lyx.org>
8711 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8713 Rearrange the ~includes. Strip out the unnecessary ones.
8715 * factory.C (createInset): reformat.
8716 create new insets for the various LFUN_XYZ_APPLY lfuns.
8718 2003-02-26 John Levon <levon@movementarian.org>
8721 * lyxrow.C: add isParStart,isParEnd helpers
8723 * paragraph.h: make isInserted/DeletedText take refs
8725 * paragraph_funcs.h:
8726 * paragraph_funcs.C: remove #if 0'd code
8731 * text.C: use lyxrow helpers above.
8732 Move draw and paint routines to RowPainter.
8733 Make several methods use refs not pointers.
8734 Make backgroundColor() const.
8735 Add markChangeInDraw(), isInInset().
8736 Merge changeRegionCase into changeCase.
8737 Make workWidth() shouldn't-happen code into an Assert.
8740 * rowpainter.C: new class for painting a row.
8743 * vspace.C: make inPixels take a ref
8745 2003-02-26 Angus Leeming <leeming@lyx.org>
8747 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8750 2003-02-25 John Levon <levon@movementarian.org>
8752 * ispell.C: give the forked command a more accurate name
8754 2003-02-22 John Levon <levon@movementarian.org>
8757 * toc.C: make TocItem store an id not a Paragraph *
8760 2003-02-21 Angus Leeming <leeming@lyx.org>
8762 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8763 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8764 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8765 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8766 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8767 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8769 * BufferView_pimpl.C (dispatch):
8770 * LyXAction.C (init):
8771 * factory.C (createInset):
8772 * lyxfunc.C (getStatus, dispatch):
8773 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8775 2003-02-21 Angus Leeming <leeming@lyx.org>
8777 * BufferView_pimpl.C (MenuInsertLyXFile):
8778 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8779 * lyxfunc.C (menuNew, open, doImport):
8780 no longer pass a LyXView & to fileDlg.
8782 2003-02-21 Angus Leeming <leeming@lyx.org>
8784 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8785 * LyXAction.C: change, BIBKEY to BIBITEM.
8786 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8787 Change InsetBibKey to InsetBibitem.
8788 Change BIBKEY_CODE to BIBITEM_CODE.
8789 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8790 * factory.C: replace insetbib.h with insetbibitem.h.
8791 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8792 * paragraph.C: replace insetbib.h with insetbibitem.h.
8793 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8794 Change bibkey() to bibitem().
8795 * text.C: remove insetbib.h.
8796 * text2.C: replace insetbib.h with insetbibitem.h.
8797 change bibkey() to bibitem().
8798 * text3.C: remove insetbib.h.
8799 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8801 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8803 * lyxrc.C (output): enclose user email in quotes (in case there are
8806 2003-02-18 John Levon <levon@movementarian.org>
8808 * buffer.h: add std::
8810 2003-02-17 John Levon <levon@movementarian.org>
8816 * pspell.C: reworking. Especially in ispell, a large
8817 number of clean ups and bug fixes.
8819 * lyxfunc.C: fix revert to behave sensibly
8821 2003-02-17 André Pönitz <poenitz@gmx.net>
8824 * commandtags.h: new LFUN_INSERT_BIBKEY
8834 * paragraph_func.C: remove special bibkey handling
8836 2003-02-17 John Levon <levon@movementarian.org>
8838 * text.C (Delete): fix case where delete at the end of
8839 the very first paragraph would not merge the pars
8841 2003-02-17 John Levon <levon@movementarian.org>
8843 * lyxrow.C: fix lastPrintablePos()
8845 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8847 * bufferparams.C (writeLaTeX): add a std:here
8849 * buffer.C: and remove a using directive there
8851 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8853 * buffer.C (makeLaTeXFile): move the code that generates the
8856 * bufferparams.C (writeLaTeX): ... in this new method
8858 * LaTeXFeatures.C (getEncodingSet): make const
8859 (getLanguages): make const
8861 * MenuBackend.C (binding): returns the binding associated to this
8863 (add): sets the status of each item by calling getStatus. Adds
8865 (read): add support for OptSubMenu
8866 (expand): remove extra separator at the end of expanded menu
8868 2003-02-15 John Levon <levon@movementarian.org>
8871 * BufferView_pimpl.C:
8873 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8874 inset code that had no actual effect. Remove unneeded status
8877 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8879 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8882 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8884 * text.C (drawLengthMarker): also draw an arrow marker for
8885 symbolic lengths (medskip...)
8887 2003-02-14 John Levon <levon@movementarian.org>
8890 * tabular.C: better method names
8892 2003-02-14 John Levon <levon@movementarian.org>
8894 * BufferView_pimpl.C:
8899 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8900 it's a more accurate name. Remove some pointless uses.
8902 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8904 * text2.C (LyXText): change order of initilizers to shut off
8907 2003-02-14 John Levon <levon@movementarian.org>
8909 * buffer.C: use ParIterator for getParFromID()
8913 * paragraph_pimpl.h:
8914 * paragraph_pimpl.C: remove unused getParFromID()
8916 2003-02-14 John Levon <levon@movementarian.org>
8918 * buffer.C: remove some very old #if 0'd parse code
8920 2003-02-13 John Levon <levon@movementarian.org>
8924 * text2.C: move hfillExpansion(), numberOfSeparators(),
8925 rowLast(), rowLastPrintable(), numberofHfills(),
8926 numberOfLabelHfills() ...
8929 * lyxrow.C: ... to member functions here.
8934 * text.C: remove LyXText::beginningOfMainBody(), and call
8935 p->beginningOfMainBody() directly. Move the check for
8936 LABEL_MANUAL into the latter.
8943 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8949 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8950 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8952 2003-02-13 John Levon <levon@movementarian.org>
8954 * CutAndPaste.C: remove debug
8956 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8958 * paragraph.C (asString): remove two unused variables
8960 * lyxtextclass.C (readTitleType):
8962 (LyXTextClass): handle new members titletype_ and titlename_
8964 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8966 2003-02-09 John Levon <levon@movementarian.org>
8969 * buffer.C: replace hand-coded list with a map for the dep clean
8971 2003-02-08 John Levon <levon@movementarian.org>
8973 * LaTeX.C: consolidate code into showRunMessage() helper
8975 2003-02-08 John Levon <levon@movementarian.org>
8980 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8981 and pass the size in explicitly
8983 * BufferView_pimpl.h:
8984 * BufferView_pimpl.C:
8986 * BufferView.C: add getCurrentChange()
8988 * BufferView_pimpl.h:
8989 * BufferView_pimpl.C: handle change lfuns
8991 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8992 for changes. Mark pasted paragraphs as new.
8994 * support/lyxtime.h:
8995 * support/lyxtime.C:
8996 * DepTable.C: abstract time_t as lyx::time_type
8999 * LColor.C: add colours for new text, deleted text, changebars
9001 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9002 package use "usenames" option.
9006 * LyXAction.C: add change lfuns
9010 * author.C: author handling
9013 * buffer.C: add a per-buffer author list, with first entry as
9014 current author. Handle new .lyx tokens for change tracking. Output
9015 author list to .lyx file. Output dvipost stuff to .tex preamble.
9016 Bump lyx format to 222.
9019 * bufferlist.C: add setCurrentAuthor() to reset current author details
9023 * bufferparams.C: add param for tracking
9025 * bufferview_funcs.C: output change info in minibuffer
9029 * changes.C: add change-tracking structure
9032 * debug.C: add CHANGES debug flag
9035 * lyxfind.C: add code for finding the next change piece
9038 * lyxrc.C: add user_name and user_email
9041 * lyxrow.C: add a metric for the top of the text line
9044 * text.C: implement accept/rejectChange()
9047 * text.C: paint changebars. Paint new/deleted text in the chosen
9048 colours. Strike through deleted text.
9052 * paragraph_pimpl.h:
9053 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9054 in the current change to the insert functions. Rework erase to
9055 mark text as deleted, adding an eraseIntern() and a range-based
9056 erase(). Implement per-paragraph change lookup and
9059 * paragraph_funcs.C: Fixup paste for change tracking.
9061 * tabular.C: mark added row/columns as new.
9063 * text.C: fix rowLast() to never return -1. Don't allow
9064 spellchecking of deleted text. Track transpose changes. Don't
9065 allow paragraph break or merge where appropriate.
9067 * text2.C: leave cursor at end of selection after a cut.
9069 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9071 * text.C (getLengthMarkerHeight):
9072 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9073 visible on screen too.
9075 2003-02-07 John Levon <levon@movementarian.org>
9077 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9079 2003-02-05 Angus Leeming <leeming@lyx.org>
9081 * lyxserver.C (read_ready): revert my patch of 11 September last year
9082 as it sends PC cpu through the roof. Presumably this means that
9083 the lyxserver will no longer run on an Alpha...
9085 2003-01-30 Angus Leeming <leeming@lyx.org>
9087 * factory.C (createInset): create an InsetCommandParam of type "index"
9088 and use it to 'do the right thing'.
9090 * text2.C (getStringToIndex): ensure that cursor position is always
9091 reset to the reset_cursor position.
9093 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9095 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9098 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9102 * lyxfunc.C: Output messages with identical spelling, punctuation,
9105 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9107 * MenuBackend.C (expandFormats): List only viewable export formats
9110 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9113 * lyxfunc.C (getStatus): Make sure that formats other than
9114 "fax" can also be disabled
9116 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9118 * text3.C (dispatch): put the lfuns that insert insets in 3
9119 groups, and call doInsertInset with appropriate arguments.
9120 (doInsertInset): new function, that creates an inset and inserts
9121 it according to some boolean parameters.
9123 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9125 * buffer.C (readFile): remember to pass on 'par' when calling
9126 readFile recursively.
9128 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9130 * MenuBackend.C (expandFormats): add "..." to import formats.
9132 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9134 * paragraph.C (asString): Remove XForms RTL hacks.
9136 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9137 * buffer.C: fix typo
9139 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9141 * Makefile.am (LIBS): delete var
9142 (lyx_LDADD): add @LIBS@ here instead.
9144 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9146 * Clarify the meaning of "wheel mouse jump"
9148 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9150 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9153 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9155 * importer.C (Loaders): do not preallocate 3 elements in the
9156 vector, since one ends up with 6 elements otherwise
9158 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9160 * DepTable.C (write): write the file name as last element of the
9161 .dep file (because it may contain spaces)
9162 (read): read info in the right order
9164 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9166 * paragraph_pimpl.C (simpleTeXBlanks):
9167 (simpleTeXSpecialChars):
9168 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9170 * tabular.C (latex): add some missing case statements. Reindent.
9172 * MenuBackend.C (expandToc): remove unused variable.
9174 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9183 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9186 2003-01-05 John Levon <levon@movementarian.org>
9189 * BufferView.C: add getEncoding()
9192 * kbsequence.C: do not store last keypress
9195 * lyxfunc.C: store last keypress here instead. Pass encoding
9198 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * lyx_main.C (init): remove annoying error message when following
9201 symbolic links (bug #780)
9203 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9205 * text.C (insertChar):
9206 * lyxrc.C (getDescription): remove extra spaces
9208 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9210 * lyxrc.C (getDescription): remove extra spaces
9212 2002-12-20 John Levon <levon@movementarian.org>
9214 * text3.C: hack fix for page up/down across tall rows
9216 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9218 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9221 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9223 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9224 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9225 thesaurus is not compiled in
9227 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9229 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9231 2002-12-16 Angus Leeming <leeming@lyx.org>
9234 * lyx_main.C (init): remove override_x_deadkeys stuff.
9236 2002-12-12 John Levon <levon@movementarian.org>
9238 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9239 insert. Only remove shift modifier under strict
9242 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9244 * MenuBackend.C (expandToc): fix crash.
9246 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9248 * MenuBackend.C (expandToc): gettext on float names.
9250 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9252 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9253 implement bool empty() [bug 490]
9255 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9257 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9259 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9261 * several files: ws changes
9263 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9265 * text2.C (setCounter): clean up a bit, use boost.format.
9266 (updateCounters): initialize par upon declaration.
9268 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9269 if the layout exists. We do not just store the layout any more.
9270 (SwitchLayoutsBetweenClasses): use boost.format
9272 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9274 * converter.C (convert): if from and to files are the same, use a
9275 temporary files as intermediary
9277 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9280 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9282 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9284 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9286 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9288 * tabular.C (asciiPrintCell): use string(size, char) instead of
9291 * sgml.C (openTag): fix order of arguments to string constructor
9294 * lyxfunc.C (dispatch): use boost.format
9296 * lots of files: change "c" -> 'c'
9298 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9300 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9302 2002-11-25 Angus Leeming <leeming@lyx.org>
9304 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9306 * lyx_main.C (init): compile fix.
9308 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9310 * lyx_cb.C (start): boost.formatify
9311 do not include <iostream>
9313 * lengthcommon.C: ws only
9315 * boost-inst.C,BoostFormat.h: add more explict instantations
9317 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9319 * lots of files: handle USE_BOOST_FORMAT
9321 2002-11-21 John Levon <levon@movementarian.org>
9323 * pspell.C: fix compile
9325 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9327 * lyxfunc.C (dispatch): use boost::format
9331 * lyxfont.C (stateText): use boost::format
9333 * lyx_main.C (LyX): use boost::format
9335 (queryUserLyXDir): ditto
9338 (typedef boost::function): use the recommened syntax.
9340 * importer.C (Import): use boost::format
9342 * debug.C (showLevel): use boost::format
9344 * converter.C (view): use boost::format
9349 * bufferview_funcs.C (currentState): use boost::format
9351 * bufferlist.C (emergencyWrite): use boost::format
9353 * buffer.C (readLyXformat2): use boost::format
9354 (parseSingleLyXformat2Token): ditto
9356 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9358 * LaTeX.C (run): use boost::format
9360 * Chktex.C (scanLogFile): use boost::format
9362 * BufferView_pimpl.C (savePosition): use boost::format
9363 (restorePosition): ditto
9364 (MenuInsertLyXFile): ditto
9366 * BoostFormat.h: help file for explicit instation.
9368 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9370 * tabular.C (latex): Support for block alignment in fixed width
9373 2002-11-17 John Levon <levon@movementarian.org>
9375 * BufferView_pimpl.C:
9377 * lyxfunc.C: split filedialog into open/save
9379 2002-11-08 Juergen Vigna <jug@sad.it>
9381 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9382 by my last patch (hopefully).
9384 2002-11-08 John Levon <levon@movementarian.org>
9393 * toc.C: ParConstIterator, and use it (from Lars)
9395 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9397 * lyxtextclass.[Ch]: revise and add doxygen comments
9399 2002-11-07 John Levon <levon@movementarian.org>
9401 * text.C: fix progress value for spellchecker
9403 * toc.C: fix navigate menu for insetwrap inside minipage
9405 * paragraph_funcs.C: added FIXME for suspect code
9407 2002-11-07 John Levon <levon@movementarian.org>
9409 * BufferView_pimpl.C: fix redrawing of insets
9412 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9414 * text2.C (updateCounters): fix bug 668
9416 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9418 * text3.C (dispatch): Do not make the buffer dirty when moving the
9421 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9423 * vc-backend.C: STRCONV
9426 * text2.C (setCounter): STRCONV
9428 * paragraph.C (asString): STRCONV
9430 * lyxlength.C (asString): STRCONV
9431 (asLatexString): ditto
9433 * lyxgluelength.C (asString): STRCONV
9434 (asLatexString): ditto
9436 * lyxfunc.C (dispatch): STRCONV
9439 * lyxfont.C (stateText): STRCONV
9441 * importer.C (Import): STRCONV
9443 * counters.C (labelItem): STRCONV
9444 (numberLabel): ditto
9445 (numberLabel): remove unused ostringstream o
9450 * bufferview_funcs.C (currentState): STRCONV
9452 * buffer.C (readFile): STRCONV
9453 (asciiParagraph): ditto
9454 (makeLaTeXFile): ditto
9456 * Spacing.C (writeEnvirBegin): STRCONV
9458 * LaTeXFeatures.C (getLanguages): STRCONV
9459 (getPackages): ditto
9461 (getBabelOptions): ditto
9462 (getTClassPreamble): ditto
9463 (getLyXSGMLEntities): ditto
9464 (getIncludedFiles): ditto
9468 (scanAuxFile): ditto
9471 * LString.h: add the STRCONV macros
9473 * BufferView_pimpl.C (savePosition): STRCONV
9474 (restorePosition): ditto
9475 (MenuInsertLyXFile): ditto
9477 * vc-backend.C (scanMaster): change from submatch[...] to
9480 * funcrequest.C: include config.h
9482 * factory.C: include config.h
9484 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9486 * box.C: include config.h
9488 * LaTeX.C (scanAuxFile): change from submatch[...] to
9492 2002-10-25 Angus Leeming <leeming@lyx.org>
9494 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9496 * ispell.[Ch] (setError): new method.
9497 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9498 Use setError() insetead of goto END.
9500 * lyx_cb.C (AutoSave): move out child process into new class
9503 2002-10-30 John Levon <levon@movementarian.org>
9505 * text3.C: make start appendix undoable
9507 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9509 * lyxlength.C (inPixels): Fix returned value.
9511 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9514 2002-10-24 Angus Leeming <leeming@lyx.org>
9516 * lyxgluelength.h: no need to forward declare BufferParams
9517 or BufferView, so don't.
9519 2002-10-21 John Levon <levon@movementarian.org>
9521 * BufferView.C: menuUndo ->undo, redo
9523 * BufferView.h: document, remove dead, make some methods private
9525 * paragraph_funcs.h:
9526 * paragraph_funcs.C:
9527 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9532 * sgml.C: move sgml open/close tag into sgml.C
9534 * bufferview_funcs.h: unused prototype
9537 * lyxfunc.C: remove unused
9540 * text.C: remove unused
9542 2002-10-21 John Levon <levon@movementarian.org>
9546 * BufferView_pimpl.h:
9547 * BufferView_pimpl.C: fix mouse wheel handling based on
9548 patch from Darren Freeman
9550 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9552 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9554 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9556 * lyxlength.C (inPixels): Fix hanfling of negative length.
9557 Fix LyXLength::MU case.
9559 2002-10-16 John Levon <levon@movementarian.org>
9561 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9563 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9565 * converter.C (view): add support for $$i (file name) and $$p
9566 (file path) for the viewer command. If $$i is not specified, then
9567 it is appended to the command (for compatibility with old syntax)
9569 2002-10-14 Juergen Vigna <jug@sad.it>
9571 * undo_funcs.C (textHandleUndo): alter the order in which the
9572 new undopar is added to the LyXText, as we have to set first
9573 the right prev/next and then add it as otherwise the rebuild of
9574 LyXText is not correct. Also reset the cursor to the right paragraph,
9575 with this IMO we could remove the hack in "redoParagraphs()".
9577 2002-10-09 Angus Leeming <leeming@lyx.org>
9579 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9580 to turn off an optimisation if a new inset is to be inserted.
9582 2002-10-11 André Pönitz <poenitz@gmx.net>
9584 * lyxtext.h: make some functions public to allow access
9585 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9587 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9589 * text3.C (dispatch): when changing layout, avoid an infinite loop
9592 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9594 * lyxrc.C (read): treat a viewer or converter command of "none" as
9597 * MenuBackend.C (expandFormats): for an update, also allow the
9598 formats that are not viewable
9600 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9601 script if it is newer than the lyxrc.defaults in user directory
9603 2002-10-07 André Pönitz <poenitz@gmx.net>
9605 * text.C: Vitaly Lipatov's small i18n fix
9607 2002-09-25 Angus Leeming <leeming@lyx.org>
9609 * ispell.h: doxygen fix.
9611 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9613 * buffer.h (readFile): Add a new argument to the method, to allow
9614 reading of old-format templates.
9616 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9618 * toc.C (getTocList): Get TOC from InsetWrap.
9620 2002-09-16 John Levon <levon@movementarian.org>
9622 * lyxfunc.C: check tabular for cut/copy too
9624 2002-09-12 John Levon <levon@movementarian.org>
9629 * factory.C: add header
9631 * paragraph_funcs.h:
9632 * paragraph_funcs.C: cleanup
9634 2002-09-11 John Levon <levon@movementarian.org>
9636 * PrinterParams.h: odd/even default to true
9638 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9640 * PrinterParams.h: update printer parameters for new xforms dialog
9642 2002-09-11 Angus Leeming <leeming@lyx.org>
9644 * lyxserver.C (read_ready): re-write to make it more transparent
9645 and to make it work in coherent fashion under Tru64 Unix.
9647 2002-09-11 André Pönitz <poenitz@gmx.net>
9651 * text3.C: implement LFUN_WORDSEL
9653 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9655 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9656 make floatlist_ a boost::shared_ptr<FloatList>
9658 * lyxtextclass.C: include FloatList.h
9659 (LyXTextClass): initialize floatlist_
9660 (TextClassTags): add TC_NOFLOAT
9661 (Read): match "nofloat" to TC_NOFLOAT and use it.
9662 (readFloat): modify call to floatlist_
9666 * FloatList.[Ch] (FloatList): remove commented out float
9668 (erase): new function
9670 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9672 * MenuBackend.C (expandToc): fix crash when there is no document
9675 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9677 * many files: Add insetwrap.
9679 2002-09-09 John Levon <levon@movementarian.org>
9681 * text2.C: remove confusing and awkward depth wraparound
9683 2002-09-09 John Levon <levon@movementarian.org>
9685 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9688 * buffer.C: remove getIncludeonlyList()
9691 * lyxfunc.C: remove headers
9693 2002-09-09 Juergen Vigna <jug@sad.it>
9695 * text.C (getColumnNearX): fix form Michael this is most
9696 probably a cut&paste bug.
9698 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9700 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9702 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9703 references, ws changes.
9705 * text2.C (init): update counters after init
9706 (insertParagraph): no need to set counter on idividual paragraphs.
9707 (setCounter): access the counters object in the textclass object
9708 on in the buffer object.
9709 (updateCounters): ditto
9711 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9712 shared_ptr<Counters> to avoid loading counters.h in all
9714 (LyXTextClass): initialize ctrs_
9715 (TextClassTags): add TC_COUNTER, and ...
9716 (Read): use it here.
9717 (CounterTags): new tags
9718 (readCounter): new function
9719 (counters): new funtion
9720 (defaultLayoutName): return a const reference
9722 * counters.C (Counters): remove contructor
9723 (newCounter): remove a couple of unneeded statements.
9724 (newCounter): simplify a bit.
9725 (numberLabel): some small formatting changes.
9727 * buffer.[Ch]: remove all traces of counters, move the Counters
9728 object to the LyXTextClass.
9730 2002-09-06 Alain Castera <castera@in2p3.fr>
9732 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9733 package to set the horizontal alignment on fixed width columns.
9736 * lyx_sty.h: added tabularnewline macro def.
9738 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9740 2002-09-06 John Levon <levon@movementarian.org>
9742 * LyXAction.C: tooltips for sub/superscript
9744 * MenuBackend.C: a bit more verbose
9746 * lyxfunc.C: tiny clean
9748 * undo_funcs.C: document undo_frozen
9750 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9752 * counters.C (Counters): add missing algorithm counter.
9754 * text2.C (setCounter): lookup the counter with layouts latexname
9755 instead of by section number.
9756 (setCounter): use a hackish way to lookup the correct enum
9758 a float name->type change
9759 reset enum couners with counter name directly instead of depth value.
9761 * counters.C (Counters): remove the push_backs, change to use the
9762 float type not the float name.
9763 (labelItem): remove unused string, float name->type change
9765 * counters.h: don't include vector, loose the enums and sects vectors
9767 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9769 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9770 (Read): add float->TC_FLOAT to textclassTags
9771 (Read): and handle it in the switch
9772 (readFloat): new function
9774 * FloatList.C (FloatList): comment out the hardcoded float
9777 * lyxlayout.h: ws change.
9779 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9781 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9783 2002-09-03 Angus Leeming <leeming@lyx.org>
9785 * BufferView_pimpl.h: qualified name is not allowed in member
9786 declaration: WorkArea & Pimpl::workarea() const;
9788 * factory.C: added using std::endl directive.
9790 * text3.C: added using std::find and std::vector directives.
9792 2002-08-29 André Pönitz <poenitz@gmx.net>
9795 * text2.C: remove unused member number_of_rows
9798 * BufferView2.C: remove file, move contents to...
9799 * BufferView.C: ... here
9801 * BufferView_pimpl.C:
9802 * factory.C: move more inset creation to factory
9804 * vspace.C: avoid direct usage of LyXText, ws changes
9807 don't provide direct access to WorkArea, use two simple
9808 acessors haveSelction() and workHeight() instead
9811 2002-08-29 John Levon <levon@movementarian.org>
9813 * BufferView_pimpl.C (dispatch): do not continue when
9816 2002-08-28 André Pönitz <poenitz@gmx.net>
9818 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9821 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9823 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9825 * buffer.C: increment LYX_FORMAT to 221
9827 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9828 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9830 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9832 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9834 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9836 * factory.C (createInset): use LyXTextClass::floats
9838 * MenuBackend.C (expandFloatListInsert):
9839 (expandFloatInsert):
9842 * text2.C (setCounter):
9844 * LaTeXFeatures.C (useFloat):
9845 (getFloatDefinitions):
9847 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9849 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9850 floatlist_, with accessor floats().
9852 * FloatList.h: remove global FloatList
9854 2002-08-26 André Pönitz <poenitz@gmx.net>
9856 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9860 * BufferView_pimpl.C:
9861 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9863 2002-08-25 John Levon <levon@movementarian.org>
9865 * LyXAction.C: fix margin note description
9867 2002-08-24 John Levon <levon@movementarian.org>
9871 * bufferview_funcs.C:
9873 * undo_funcs.C: cleanups
9875 * lyxfunc.C: disable CUT/COPY when no selection
9877 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9879 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9880 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9882 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9883 Add backward compatibility to "mono", "gray" and "no".
9885 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9887 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9888 (and file_format >= 200).
9890 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9892 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9894 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9896 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9898 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9900 * BufferView_pimpl.C:
9907 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9908 inset and code to make it work with the paragraph code. The inset
9909 can be anywhere in the paragraph, but will only do the expected
9910 thing in LaTeX if the layout file contains the parameter line
9912 (or more generally, a nonzero value) for that layout.
9914 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9916 * paragraph.h: remove the declaration of undefined counters class
9919 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9921 * text2.C (setCounter): fixed enumeration mis-count as reported by
9922 Dr. Richard Hawkins.
9924 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9926 * paragraph_funcs.h: remove some unneeded includes
9928 * text.C (backspace): pasteParagraph now in global scipe
9930 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9931 (pasteSelection): ditto
9933 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9934 * paragraph_funcs.C (pasteParagraph): ... here
9936 2002-08-20 André Pönitz <poenitz@gmx.net>
9938 * commandtags.h: new LFUNs for swapping/copying table row/colums
9941 * lyxfunc.C: support for new lfuns
9943 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9946 * buffer.[Ch]: remove NO_COMPABILITY stuff
9948 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9950 * boost.C (throw_exception): new file, with helper function for
9951 boost compiled without exceptions.
9956 * ParameterStruct.h:
9957 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9959 * bufferlist.C (emergencyWriteAll): use boost bind
9961 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9963 * text.C: include paragraph_funcs.h
9964 (breakParagraph): breakParagraph is now in global scope
9966 * paragraph_funcs.[Ch]: new files
9968 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9971 * buffer.C: include paragraph_funcs.h
9972 (insertStringAsLines): breakParagraph is now in global scope
9974 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9977 * CutAndPaste.C: include paragraph_funcs.h
9978 (cutSelection): breakParagraphConservative is now in global scope
9979 (pasteSelection): ditto
9981 * buffer.h: declare oprator== and operator!= for
9982 Buffer::inset_iterator
9984 * bufferlist.C (emergencyWrite): don't use fmt(...)
9986 * text3.C: add using std::endl
9988 * BufferView.C (moveCursorUpdate): remove default arg
9990 2002-08-20 André Pönitz <poenitz@gmx.net>
9992 * buffer.[Ch]: move inline functions to .C
9995 * BufferView_pimpl.C:
9997 * buffer.[Ch]: use improved inset_iterator
10000 * paragraph.[Ch]: write one paragraph at a time
10002 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10004 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10005 style if style is not specified.
10007 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10009 * text2.C (setCounter): when searching for right label for a
10010 caption, make sure to recurse to parent insets (so that a caption
10011 in a minipage in a figure float works) (bug #568)
10013 2002-08-20 André Pönitz <poenitz@gmx.net>
10015 * text3.C: new file for LyXText::dispatch() and helpers
10017 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10019 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10021 2002-08-19 André Pönitz <poenitz@gmx.net>
10024 * text.C: new LyXText::dispatch()
10026 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10028 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10030 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10032 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10035 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10037 * Makefile.am: use $(variables) instead of @substitutions@
10039 2002-08-15 André Pönitz <poenitz@gmx.net>
10042 * BufferView_pimpl.C: streamlining mathed <-> outer world
10046 * LyXAction.C: remove unused LFUN_MATH
10048 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10050 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10052 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10054 * paragraph.C (Paragraph): reformat a bit
10055 (cutIntoMinibuffer): use builtin InsetList function instad of
10059 * buffer.C: include boost/bind.hpp, add using std::for_each
10060 (writeFileAscii): use ParagraphList iterators
10061 (validate): use for_each for validate traversal of paragraphs
10062 (getBibkeyList): use ParagraphList iterators
10063 (resizeInsets): use for_each to resizeInsetsLyXText for all
10065 (getParFromID): use ParagraphList iterators
10067 * BufferView2.C (lockInset): use paragraph list and iterators
10069 2002-08-14 John Levon <levon@movementarian.org>
10071 * lyxserver.C: remove spurious xforms include
10073 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10075 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10077 2002-08-13 André Pönitz <poenitz@gmx.net>
10080 * lyxfunc.C: further cleaning
10082 2002-08-13 André Pönitz <poenitz@gmx.net>
10084 * funcrequest.h: new constructor
10086 * funcrequest.C: move stuff here from .h
10089 * BufferView_pimpl.C:
10092 * lyxfunc.C: subsequent changes
10094 * lyxfunc.h: new view() member function
10096 * lyxfunc.C: subsequent changes
10098 2002-08-13 Angus Leeming <leeming@lyx.org>
10101 * BufferView_pimpl.C:
10109 changes due to the changed LyXView interface that now returns references
10110 to member variables not pointers.
10112 2002-08-13 Angus Leeming <leeming@lyx.org>
10114 * WordLangTuple (word, lang_code): return references to strings,
10119 * lyxtext.h: forward-declare WordLangTuple.
10124 * text.C: #include "WordLangTuple.h".
10127 * text.C: (selectNextWordToSpellcheck): constify return type.
10129 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10135 * paragraph_pimpl.h:
10138 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10139 suggested by Angus.
10140 Made updateCounter always count from start of buffer, and removed
10141 second argument (par).
10142 Reverted floats number display to '#'. Perhaps I'll try again when the
10143 code base is sanitized a bit.
10145 2002-08-12 Angus Leeming <leeming@lyx.org>
10147 * buffer.[Ch] (getLabelList): constify.
10149 2002-08-07 André Pönitz <poenitz@gmx.net>
10151 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10153 * funcrequest.h: extension to keep mouse (x,y) position
10155 2002-08-12 Juergen Vigna <jug@sad.it>
10157 * BufferView2.C (insertErrors): forbid undo when inserting error
10160 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10162 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10164 * ParagraphList.[Ch]: new files
10166 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10168 * BufferView2.C (lockInset): ParagraphList changes
10171 * bufferlist.C: ditto
10175 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10177 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10178 unused class variable counter_,
10180 * paragraph.[Ch] (getFirstCounter): delete unused function
10182 * counters.C: include LAssert.h
10183 (reset): add a new function with no arg, change other version to
10184 not have def. arg and to not allow empty arg.
10186 * text2.C (setCounter): remove empty arg from call to Counters::reset
10188 2002-08-11 John Levon <levon@movementarian.org>
10190 * Makefile.am: add WordLangTuple.h
10192 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10194 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10195 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10197 * insets/insettext.C: InsetList changes
10199 * graphics/GraphicsSupport.C (operator()): InsetList changes
10201 * toc.C (getTocList): InsetList changes
10203 * paragraph_pimpl.[Ch]: InsetList changes
10205 * paragraph.[Ch]: InsetList changes
10207 * buffer.C (inset_iterator): InsetList changes
10208 (setParagraph): ditto
10209 * buffer.h (inset_iterator): ditto
10210 * iterators.C (operator++): ditto
10211 * iterators.h: ditto
10213 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10215 * InsetList.[Ch]: new files, most InsetList handling moved out of
10218 * BufferView2.C (removeAutoInsets): InsetList changes
10220 (ChangeInsets): ditto
10222 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10224 * paragraph_pimpl.h (empty): new function
10226 * paragraph.[Ch] (empty): new function
10228 * other files: use the new Paragraph::empty function
10230 2002-08-09 John Levon <levon@movementarian.org>
10232 * lyxtext.h: remove unused refresh_height
10234 2002-08-09 John Levon <levon@movementarian.org>
10241 * paragraph.C: move sgml char escaping out of paragraph
10244 * paragraph.C: remove id setter
10248 * paragraph_pimpl.C: remove dead tex_code_break_column
10250 * bufferview_funcs.C: small cleanup
10252 * lyxfunc.C: remove dead proto
10254 * lyxtext.h: make some stuff private. Remove some dead stuff.
10256 * lyxgluelength.C: make as[LyX]String() readable
10258 2002-08-08 John Levon <levon@movementarian.org>
10263 * ToolbarDefaults.C:
10266 * toc.C: lyxaction cleanup
10268 2002-08-08 John Levon <levon@movementarian.org>
10270 * BufferView2.C: small cleanup
10273 * lyxfind.C: move unnecessary header into the .C
10275 2002-08-08 John Levon <levon@movementarian.org>
10277 * funcrequest.h: just tedious nonsense
10280 * lyx_main.C: cleanups
10283 * vspace.C: remove dead header lyx_main.h
10285 2002-08-07 Angus Leeming <leeming@lyx.org>
10288 * paragraph_pimpl.h:
10289 Forward declare class Counters in paragraph.h by moving the ctrs member
10290 variable into Paragraph::Pimpl.
10291 (counters): new method, returning a reference to pimpl_->ctrs.
10293 * text2.C: ensuing changes.
10295 2002-08-07 John Levon <levon@movementarian.org>
10297 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10299 * BufferView_pimpl.C: announce X selection on double/triple
10302 * lyx_main.C: use correct bool in batch dispatch
10304 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10306 2002-08-07 André Pönitz <poenitz@gmx.net>
10308 * funcrequest.h: new class to wrap a kb_action and its argument
10311 * BufferView_pimpl[Ch]:
10315 * lyxrc.C: subsequent changes
10318 2002-08-07 John Levon <levon@movementarian.org>
10320 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10321 document options change.
10323 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10328 * makefile.am: move counters functionality over from
10329 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10331 2002-08-06 John Levon <levon@movementarian.org>
10333 * WordLangTuple.h: new file for word + language code tuple
10344 * BufferView2.C: use WordLangTuple
10347 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10349 2002-08-06 John Levon <levon@movementarian.org>
10351 * lyx_main.C: fix cmdline batch handling
10353 2002-08-06 André Pönitz <poenitz@gmx.net>
10355 * lyxrc.C: set default for show_banner to true
10357 2002-08-06 John Levon <levon@movementarian.org>
10359 * pspell.C: fix a crash, and allow new aspell to work
10361 2002-08-06 John Levon <levon@movementarian.org>
10364 * kbmap.C: small cleanup
10367 * vspace.C: add const
10369 2002-08-05 John Levon <levon@movementarian.org>
10371 * LyXAction.C: back to tabular-insert
10373 2002-08-04 John Levon <levon@movementarian.org>
10376 * BufferView.C: cosmetic change
10378 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10388 * BufferView2.C: purge all "Lyx" not "LyX" strings
10391 * lyxcursor.C: attempt to add some documentation
10396 * ToolbarDefaults.C:
10397 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10398 merge with LFUN_TABULAR_INSERT
10405 * pspell.C: split up i/pspell implementations into separate
10406 files, many cleanups
10408 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10410 * text2.C: some cleanup
10412 * lyxfunc.C: don't check for isp_command == "none" any more, it
10413 didn't make any sense
10415 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10420 * makefile.am: move counters functionality over
10421 from text2.C/paragraph.[Ch] to counters.[Ch], and
10423 2002-08-02 John Levon <levon@movementarian.org>
10425 * buffer.C: s/lyxconvert/lyx2lyx/
10427 2002-08-02 Angus Leeming <leeming@lyx.org>
10429 * lyxlex.C: revert John's change as it breaks reading of the user
10432 2002-08-02 Angus Leeming <leeming@lyx.org>
10434 * importer.C (Import):
10435 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10436 changes due to LyXView::view() now returning a boost::shared_ptr.
10438 2002-08-02 John Levon <levon@movementarian.org>
10440 * lyxlex.C: small cleanup
10442 2002-08-02 John Levon <levon@movementarian.org>
10444 * text2.C (status): small cleanup, no logic change
10446 2002-08-01 John Levon <levon@movementarian.org>
10449 * buffer.C (writeFile): don't output alerts, caller
10453 * lyx_cb.C: from above
10455 * lyxfunc.C: allow to open non-existent files
10457 2002-07-31 John Levon <levon@movementarian.org>
10459 * lyxserver.C: don't let incidental errors get
10462 2002-07-30 John Levon <levon@movementarian.org>
10464 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10466 2002-07-30 John Levon <levon@movementarian.org>
10469 * lyxserver.C: remove I/O callback too
10471 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10473 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10476 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10478 * many files: strip,frontStrip -> trim,ltrim,rtrim
10480 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10482 * PrinterParams.h: remove extern containsOnly, and include
10483 support/lstrings.h instead.
10485 * LaTeX.C (scanAuxFile): modify because of strip changes
10487 * buffer.C (makeLaTeXFile): ditto
10488 * bufferparams.C (writeFile): ditt
10489 * lyxfont.C (stateText): ditto
10490 * lyxserver.C (read_ready): ditto
10491 * vc-backend.C (scanMaster): ditto
10493 * BufferView_pimpl.h: ws changes
10495 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10497 2002-07-26 André Pönitz <poenitz@gmx.net>
10499 * kb_sequence.C: remove unnedred usings
10501 2002-07-26 Juergen Vigna <jug@sad.it>
10503 * lyxfind.C (LyXReplace): we have to check better if the returned
10504 text is not of theLockingInset()->getLockingInset().
10506 2002-07-25 Juergen Vigna <jug@sad.it>
10508 * lyxfind.C (LyXReplace): don't replace if we don't get the
10511 * undo_funcs.C (createUndo): remove debugging code.
10513 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10515 * buffer.C (parseSingleLyXformat2Token): Use default placement
10516 when reading old floats.
10518 * FloatList.C (FloatList): Change the default placement of figure
10519 and tables to "tbp".
10521 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10523 * MenuBackend.C: using std::max
10525 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * MenuBackend.C (expandToc):
10528 (expandToc2): code moved from xforms menu frontend. It is now
10529 generic and TOCs are transparent to menu frontends.
10531 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * toc.C (getTocList): protect against buf=0
10535 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10536 Menu as first parameter. Now, this calls itself recursively to
10537 expand a whole tree (this will be useful for TOC handling)
10538 (expandFloatInsert): remove 'wide' version of floats
10540 * MenuBackend.h (submenuname): returns the name of the submenu.
10541 (submenu): returns the submenu itself, provided it has been
10542 created by MenuBackend::expand
10544 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10546 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10547 insets which have noFontChange == true. (bug #172)
10549 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10551 * BufferView_pimpl.C: add connection objects and use them...
10554 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10556 * MenuBackend.C (expandLastfiles):
10559 (expandFloatListInsert):
10560 (expandFloatInsert):
10561 (expand): split expand in parts
10563 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10565 * lyx_gui.C: use lyx_gui::exit()
10567 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10569 * LyXAction.C: show the failing pseudo action
10571 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10573 * buffer.C (readFile): Run the lyxconvert script in order to read
10576 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10580 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10582 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10586 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10588 2002-07-22 Herbert Voss <voss@lyx.org>
10591 * lyxlength.[Ch]: add support for the vertical lengths
10593 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10595 * toc.[Ch]: std:: fixes
10597 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10599 * lyxrc.C: do not include lyx_main.h
10601 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10607 * BufferView2.C: include "lyxlex.h"
10610 * bufferparams.h: do not #include "lyxlex.h"
10612 * lyxtextclasslist.C (Add): remove method
10613 (classlist): renamed to classlist_
10615 * paragraph_pimpl.C:
10619 * bufferview_funcs.C:
10624 * toc.C (getTocList): use BufferParams::getLyXTextClass
10626 * toc.C (getTocList): use InsetFloat::addToToc
10628 * toc.[Ch]: new files, containing helper functions to handle table
10631 * lyxfunc.C (dispatch): no need to remove spaces around command
10633 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10634 first command of the sequence; it is not very clever, but I do not
10635 have a better idea, actually
10637 * LyXAction.C (LookupFunc): make sure to remove space at the
10638 beginning and end of the command
10640 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10642 * MenuBackend.C (getMenubar): new method: return the menubar of
10644 (read): treat differently reading of menu and menubar (in
10645 particular, the menubar has no name now)
10646 (Menu::menubar): remove
10648 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10651 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10653 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10654 a bibitem inset in a RTL paragraph.
10656 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10658 * paragraph_pimpl.C: constify
10660 * BufferView_pimpl.C:
10662 * lyxfunc.C: fix dispatch in a nicer way
10664 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10666 * lyxfunc.C (dispatch):
10667 * BufferView_pimpl.C:
10668 * BufferView_pimpl.h:
10670 * BufferView.h: rename Dispatch() to dispatch()
10672 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10674 * lyxlayout.C (Read): honor DependsOn tag
10676 * lyxlayout.[Ch] (depends_on): new method
10678 * version.C.in: update lyx_docversion
10680 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10682 * paragraph.C (validate): remove from here...
10683 * paragraph_pimpl.C (validate): ... and move here
10684 (isTextAt): make it const
10686 * buffer.C (getLists): ws cleanup
10688 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10690 * language.C (read): Use iso8859-1 encoding in latex_lang
10691 (this prevents LyX from crashing when using iso10646-1 encoding).
10693 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10695 * text2.C (toggleInset): if cursor is inside an inset, close the
10696 inset and leave cursor _after_ it
10698 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10700 * lyxfunc.C: move minibuffer completion handling out of here
10702 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10704 * BufferView_pimpl.C:
10705 * LaTeX.C: fix dispatch calls
10707 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10709 * text.C (drawChars): Fix Arabic text rendering.
10711 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10715 * lyxfunc.C: remove message-push/pop
10719 * lyxfunc.C: rationalise some code by removing verboseDispatch
10720 in favour of a bool argument to dispatch()
10722 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10724 * lyx_main.C (init): make sure to read symlinks as absolute paths
10726 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10729 * lyxfunc.C: no need for commandshortcut to be a member
10731 2002-07-15 André Pönitz <poenitz@gmx.net>
10733 * converter.C: add support for $$s (scripts from lib/scripts dir)
10734 * lyx_main.C: white space
10736 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10740 * lyxrc.C: remove second exit confirmation
10742 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10747 * BufferView_pimpl.h:
10748 * BufferView_pimpl.C:
10749 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10751 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10753 * MenuBackend.C (expand): add numeric shortcuts to document menu
10755 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10757 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10759 * lyxfont.C (setLyXFamily):
10766 * buffer.C (asciiParagraph): use ascii_lowercase
10768 2002-07-15 Mike Fabian <mfabian@suse.de>
10770 * lyxlex_pimpl.C (search_kw):
10771 * lyxlex.C (getLongString):
10772 * converter.h (operator<):
10773 * converter.C (operator<):
10774 * buffer.C (parseSingleLyXformat2Token):
10776 * ToolbarDefaults.C (read):
10777 * MenuBackend.C (checkShortcuts):
10779 * LColor.C (getFromGUIName):
10780 (getFromLyXName): use the compare_ascii_no_case instead of
10781 compare_no_case, because in turkish, 'i' is not the lowercase
10782 version of 'I', and thus turkish locale breaks parsing of tags.
10784 2002-07-16 Angus Leeming <leeming@lyx.org>
10786 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10787 now takes a Buffer const & argument.
10789 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10791 * BufferView.C (resize): check there's a buffer to resize
10793 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10795 * lyxfunc.C: remove dead code
10798 * lyxserver.C: use lyx_guii::set_read_callback
10800 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10802 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10803 an inset in a RTL paragraph.
10805 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10807 * lyxfunc.C: repaint after a font size update
10809 2002-07-15 André Pönitz <poenitz@gmx.net>
10811 * lyxlength.C: inBP should be able to return negative values
10813 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10815 * lyxfunc.C: use lyx_gui::update_fonts()
10817 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10819 * lyxfunc.C: use lyx_gui::update_color()
10821 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10827 * lyxrc.C: remove file->new asks for name option, and let
10828 buffer-new take an argument
10830 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10832 * BufferView_pimpl.C: remove unneeded extra repaint()
10834 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10836 * LyXAction.C: allow command-sequence with NoBuffer
10838 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10840 2002-07-10 Angus Leeming <leeming@lyx.org>
10842 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10844 2002-07-09 Angus Leeming <leeming@lyx.org>
10846 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10848 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10850 * lengthcommon.h: whitespace
10852 * lyxfunc.C: update scrollbar after goto paragraph
10854 * lyxtext.h: factor out page break drawing, and fix it so
10855 page break/added space paints as selected nicely
10857 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10859 * BufferView_pimpl.C: add FIXMEs, clean up a little
10861 2002-07-09 André Pönitz <poenitz@gmx.net>
10863 * lyxfont.[Ch]: support for wasy symbols
10865 2002-07-08 André Pönitz <poenitz@gmx.net>
10867 * BufferView_pimpl.C: apply John's patch for #93.
10869 2002-07-05 Angus Leeming <leeming@lyx.org>
10871 * BufferView_pimpl.C (buffer): generate previews if desired.
10873 * LColor.h: add "preview" to the color enum.
10875 * LColor.C (LColor): add a corresponding entry to the items array.
10877 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10880 2002-07-05 Angus Leeming <leeming@lyx.org>
10882 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10883 The body of the code is now in the method that is passed an ostream &
10884 rather than a file name.
10885 Pass an additional only_preamble parameter, useful for the forthcoming
10888 2002-07-03 André Pönitz <poenitz@gmx.net>
10890 * lyxfunc.C: simplify getStatus() a bit for math stuff
10892 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10896 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10898 * text.C (changeRegionCase): do not change case of all the
10899 document when region ends at paragraph end (bug #461)
10901 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10903 * paragraph.C (startTeXParParams):
10904 (endTeXParParams): add \protect when necessary
10906 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10908 * BufferView_pimpl.C (workAreaExpose): remove warning
10910 2002-06-27 Angus Leeming <leeming@lyx.org>
10912 * Makefile.am: add lyxlayout_ptr_fwd.h.
10914 2002-06-26 André Pönitz <poenitz@gmx.net>
10916 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10918 2002-06-25 Angus Leeming <leeming@lyx.org>
10920 * lyxfunc.C (dispatch): Comment out the call to
10921 grfx::GCache::changeDisplay. The method no longer exists now that the
10922 pixmap generation part of the graphics loader has been moved into
10925 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10927 * text2.C: layout as layout
10929 * text.C: layout as layout
10931 * tabular.C (OldFormatRead): layout as layout
10933 * paragraph_pimpl.C (TeXDeeper): layout as layout
10934 (realizeFont): layout as layout
10936 * paragraph.C (writeFile): layout as layout
10937 (validate): layout as layout
10938 (getFont): layout as layout
10939 (getLabelFont): layout as layout
10940 (getLayoutFont): layout as layout
10941 (breakParagraph): layout as layout
10942 (stripLeadingSpaces): layout as layout
10943 (getEndLabel): layout as layout
10944 (getMaxDepthAfter): layout as layout
10945 (applyLayout): layout as layout
10946 (TeXOnePar): layout as layout
10947 (simpleTeXOnePar): layout as layout
10948 (TeXEnvironment): layout as layout
10949 (layout): layout as layout
10950 (layout): layout as layout
10952 * lyxtextclass.C (compare_name): new functor to work with
10953 shared_ptr, layout as layout
10954 (Read): layout as layout
10955 (hasLayout): layout as layout
10956 (operator): layout as layout
10957 (delete_layout): layout as layout
10958 (defaultLayout): layout as layout
10960 * lyxlayout_ptr_fwd.h: new file
10962 * lyxlayout.C (Read): layout as layout
10964 * lyx_cb.C (MenuInsertLabel): layout as layout
10966 * bufferlist.C (newFile): layout as layout
10968 * buffer.C (readLyXformat2): layout as layout
10969 (parseSingleLyXformat2Token): layout as layout
10970 (insertStringAsLines): layout as layout
10971 (asciiParagraph): layout as layout
10972 (latexParagraphs): layout as layout
10973 (makeLinuxDocFile): layout as layout
10974 (simpleLinuxDocOnePar): layout as layout
10975 (makeDocBookFile): layout as layout
10976 (simpleDocBookOnePar): layout as layout
10977 (getLists): layout as layout
10979 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10981 * CutAndPaste.C (cutSelection): layout as layout
10982 (pasteSelection): layout as layout
10983 (SwitchLayoutsBetweenClasses): layout as layout
10985 * BufferView_pimpl.C (Dispatch): layout as layout
10986 (smartQuote): layout as layout
10988 * BufferView2.C (unlockInset): layout as layout
10990 2002-06-24 André Pönitz <poenitz@gmx.net>
10992 * lyxfunc.C: fix #487
10994 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10998 * lyxfunc.C: remove display_shortcuts, show_banner
11000 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11002 * Buffer_pimpl.C: oops, update on resize
11004 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11011 * BufferView.C: use repaint()
11013 * BufferView_pimpl.h:
11014 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11015 as it's a clearer description. Remove superfluous
11018 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11020 * text.C: fix bug 488. Not ideal, but getting
11021 getWord() to work properly for the insets that
11022 matter is more difficult ...
11024 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11026 * BufferView_pimpl.C:
11029 * lyxfunc.C: remove the six million index lyxfuncs to just
11030 one, and DTRT (bug 458)
11032 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11036 * BufferView_pimpl.h:
11037 * BufferView_pimpl.C: clean up resize() stuff,
11038 and unnecessary updateScreen()s
11040 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11044 * BufferView_pimpl.h:
11045 * BufferView_pimpl.C:
11048 * minibuffer.C: remove focus management of workarea,
11049 not needed. Use screen's greyOut()
11051 2002-06-17 Herbert Voss <voss@lyx.org>
11053 * converter.C: (convert) do not post a message, when converting
11054 fails, let the calling function decide what to do in this case
11056 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11058 * lyxfunc.C: tidy up a little
11060 2002-06-16 <alstrup@diku.dk>
11062 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11063 Got rid of FORMS_H_LOCATION include. Now we are
11066 2002-06-15 LyX Development team <lyx@rilke>
11068 * buffer.[Ch] (sgmlOpenTag):
11069 (sgmlCloseTag): Added support for avoiding pernicious mixed
11070 content. Return number of lines written.
11072 (makeLinuxDocFile):
11073 (makeDocBookFile): Fixed calls to sgml*Tag.
11074 Simple white space clean.
11076 (simpleDocBookOnePar): Simple white space clean.
11078 * tabular.[Ch] (docBook): Renamed to docbook and got another
11079 argument to related with the pernicious mixed content.
11081 (docbookRow): Fixed calls for docbook inset method.
11083 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11085 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11086 so it's X11 independent.
11090 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11092 2002-06-15 Lyx Development team <lyx@electronia>
11094 * intl.h: Renamed getTrans to getTransManager.
11096 2002-06-14 Angus Leeming <leeming@lyx.org>
11098 * Makefile.am: nuke forgotten stl_string_fwd.h.
11100 2002-06-12 Angus Leeming <leeming@lyx.org>
11102 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11104 2002-06-13 Angus Leeming <leeming@lyx.org>
11107 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11109 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11111 * kbmap.C (getiso): add support for cyrillic and greek
11113 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11117 * BufferView_pimpl.h:
11118 * BufferView_pimpl.C: move bogus scrolling logic
11121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11124 * BufferView_pimpl.C: view->resize() change
11126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11128 * BufferView_pimpl.C: topCursorVisible
11131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11135 * lyx_gui.C: move to frontends/
11139 * lyx_main.C: changes from above
11141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11148 * lyx_main.C: minor tidy
11150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11152 * BufferView_pimpl.h:
11153 * BufferView_pimpl.C:
11155 * BufferView.C: make painter() const,
11158 * BufferView2.C: use screen() accessor
11161 * lyx_main.C: some minor cleanup
11163 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11165 * BufferView_pimpl.h:
11166 * BufferView_pimpl.C: remove enter/leaveView,
11169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11174 * BufferView_pimpl.h:
11175 * BufferView_pimpl.C: only construct screen once,
11178 * lyxrc.C: remove pointless comment
11180 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11183 * BufferView.C: remove active() and belowMouse()
11185 * BufferView_pimpl.h:
11186 * BufferView_pimpl.C: use workarea() not workarea_,
11187 and make it use a scoped_ptr instead
11189 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11191 * lyx_gui.C: add debug message on BadWindow
11193 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11195 * sp_spell.C: fdopen is not part of the C++ standard.
11197 * paragraph.C (InsetIterator): use >= instead of ==
11199 2002-06-07 Angus Leeming <leeming@lyx.org>
11201 Fixes needed to compile with Compaq cxx 6.5.
11202 * BufferView_pimpl.C:
11209 * lyxtextclasslist.C:
11214 all c-library variables have been moved into namespace std. Wrap
11215 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11220 Add a using std::abs declaration.
11222 * kbmap.h (modifier_pair):
11223 * paragraph.h (InsetTable, InsetList):
11224 * lyxfont.h (FontBits):
11225 type definition made public.
11227 * bufferlist.C (emergencyWriteAll): the compiler complains that
11228 there is more than one possible lyx::class_fun template to choose from.
11229 I re-named the void specialisation as lyx::void_class_fun.
11231 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11233 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11234 the compiler is is unable to find tostr in write_attribute.
11236 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11238 * buffer.C (sgmlError): hide #warning
11240 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11242 * xtl/*: get rid of xtl, which is not in use anyway
11244 * LyXAction.C (init):
11245 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11246 were unimplemented xtl experimentation
11248 2002-06-04 André Pönitz <poenitz@gmx.net>
11250 * lyxfunc.C: disable array operation on simple formulae
11252 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11254 * converter.C: constify a bit
11256 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11258 * lyx_gui.C: check xforms version correctly
11260 2002-04-30 Herbert Voss <voss@lyx.org>
11262 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11265 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11267 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11268 attempt to register it with a VCS)
11270 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11272 * lyx_main.C (init): honor variables LYX_DIR_13x and
11275 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11279 * lyx_main.C: fix a crash on bad command line,
11280 and give a useful exit status on error
11282 * lyxfunc.C (doImport): allow -i lyx to work
11284 2002-03-30 André Pönitz <poenitz@gmx.net>
11286 * lyxfunc.C: mathed font changes
11288 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11303 * trans_mgr.h: srcdocs, and some minor cleanups
11305 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11307 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11308 call getFont all the time)
11310 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11312 * switch from SigC signals to boost::signals
11314 2002-05-29 André Pönitz <poenitz@gmx.net>
11316 * paragraph_pimpl.C (getChar): don't call size() too often...
11318 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11320 * paragraph_pimpl.C (insertChar): do not try to update tables when
11321 appending (pos == size())
11323 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11324 in order to reduce drastically the number of comparisons needed to
11325 parse a large document
11327 2002-05-29 André Pönitz <poenitz@gmx.net>
11333 * textclasslist.[Ch]:
11334 * sp_ispell.h: whitespace change
11336 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11338 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11339 lyxaction directly now.
11341 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11345 * lyxvc.C: remove unused headers
11347 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11354 * undo_funcs.C: some cleanups. Use shared_ptr
11355 and a template for the undo stacks.
11357 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11359 * BufferView_pimpl.h:
11360 * BufferView_pimpl.C:
11367 * text2.C: use key_state/mouse_state
11369 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11371 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11374 * chset.C: change include order
11375 (loadFile): use boost regex and get rid of LRegex and LSubstring
11377 * Makefile.am (BOOST_LIBS): new variable
11378 (lyx_LDADD): use it
11380 * LaTeX.C: change include order.
11381 (scanAuxFile): use boost regex and get rid of LRegex and
11385 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11390 * FontInfo.C: moved to frontends/xforms/
11393 * FontLoader.C: moved into frontends for GUIIzation
11398 * lyxfunc.C: changes from above
11400 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11402 * LColor.C: remove spurious X include
11404 * BufferView_pimpl.C:
11409 * text2.C: move font metrics to frontends/
11411 2002-05-24 Juergen Vigna <jug@sad.it>
11413 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11414 setting the undo_cursor.
11416 * ParagraphParameters.h: include local includes first.
11418 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11420 * BufferView_pimpl.C:
11421 * BufferView_pimpl.h:
11425 * screen.C: move WorkArea into frontends/
11431 * BufferView2.C: move LyXScreen into frontends/
11435 * lyx_gui.C: move lyxlookup into frontends/xforms/
11437 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11440 * BufferView_pimpl.C:
11450 * bufferview_funcs.C:
11463 * vc-backend.C: move LyX/XFormsView into frontends/
11465 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11477 * text2.C: move Painter to frontends/
11479 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11481 * buffer.C: comment out some some code that depend upon lyx_format
11484 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11485 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11487 * buffer.h (NO_COMPABILITY): turn off compability
11489 * ColorHandler.C: include scoped_array.hpp
11491 * font.C: Use more specific smart_ptr header.
11494 * ShareContainer.h: ditto
11495 * lyx_main.h: ditto
11497 * FontInfo.h: ditto
11498 * BufferView_pimpl.h: ditto
11499 * ColorHandler.h: ditto
11501 * kbmap.C (defkey): change call to shared_ptr::reset
11503 2002-05-21 Juergen Vigna <jug@sad.it>
11505 * buffer.C (insertErtContents): fix to insert ert asis if it is
11506 non empty. Skip it completely if it contains only whitespaces.
11508 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11510 * BufferView_pimpl.C:
11511 * BufferView2.C: clear selection on paste (bug 393)
11513 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11515 * DepTable.C: include ctime
11517 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11519 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11521 2002-05-14 Juergen Vigna <jug@sad.it>
11523 * text.C (breakParagraph): fixed function to honor the keepempty
11524 layout in the right maner and also to permit the right breaking
11525 algorithm on empty or non empyt keepempty paragraphs.
11527 * paragraph.C (breakParagraph): we have to check also if the par
11528 is really empty (!size()) for isempty otherwise we do the wrong
11531 2002-05-10 Juergen Vigna <jug@sad.it>
11533 * buffer.[Ch] : The following are only changes to the ert
11534 compatibility read reading old LaTeX layout and font stuff and
11535 convert it to ERTInsets.
11537 * buffer.h: added isErtInset().
11539 * buffer.C (struct ErtComp): add a fromlayout bool to check
11540 if we're inside a LaTeX layout.
11541 (isErtInset): new helper function.
11542 (insertErtContents): look for other ert insets before this one
11543 and insert the contents there, so that we don't have subsequent
11544 ERT insets with nothing between them. This way we create only one
11545 inset with multiple paragraphs. Also check if we don't insert only
11546 spaces ' ' as they are ignored anyway afterwards in the .tex file
11547 so if we have only spaces we will ignore this latex part in the
11549 (parseSingleLyXformat2Token \\layout): better compatibility when
11550 reading layout-latex stuff.
11551 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11553 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11554 stuff after reading the inset only get the information back from
11557 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11559 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11561 * LaTeXFeatures.C (getBabelOptions): New method.
11563 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11565 * BufferView_pimpl.C (Dispatch): work around missing argument for
11568 2002-05-08 Juergen Vigna <jug@sad.it>
11570 * text.C (leftMargin): handle paragraph leftindent.
11572 * paragraph.C (writeFile): write the new \\leftindent tag.
11573 (validate): handle leftindent code.
11574 (TeXEnvironment): handle paragraphleftindent code again.
11576 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11578 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11579 for paragrap_extra indent code and new token \\leftindent.
11580 (latexParagraphs): handle the leftindent as environment.
11582 * ParameterStruct.h: added leftindent support.
11584 * ParagraphParameters.C (leftIndent): added support functions for
11585 the paragraph left indent.
11587 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11590 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11592 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11595 * text.C (computeBidiTables): No bidi in insetERT.
11597 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11600 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11602 * version.C.in: pre 5
11604 2002-05-02 José Matos <jamatos@fep.up.pt>
11605 * buffer.C (makeDocBookFile): white space changes, add newline to
11607 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11609 * tabular.C (docBook): fix typo.
11611 2002-05-03 Juergen Vigna <jug@sad.it>
11613 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11614 change in LyXText as we can not be sure it was not freed.
11615 (drawOneRow): remove unused code.
11617 * text.C (drawInset): redo the calculation of the need_break_row as
11618 it could have a row which was already freed.
11619 (draw): look at the return value of drawInset and return false if
11620 it also returned false.
11621 (paintRowText): look at the return value of draw and return false if
11622 it also returned false.
11624 * lyxtext.h: added bool return type to drawInset() and draw() so that
11625 if we have a change in the row so that the rowbreak has to be redone
11626 we abort drawing as it will be called again.
11628 2002-05-02 Juergen Vigna <jug@sad.it>
11630 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11631 a change in the maintext also if we're inside an inset.
11632 (Dispatch): set the cursor again after a break line and after the
11633 screen has been updated as it could be we're in a different row.
11635 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11636 to set the cursor behind the pargraph with > size().
11637 (setCursor): check also for the same paragraph when checking where
11638 to put the cursor if we have a NFR inset.
11640 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11641 parts of layout read further up as it still was in the wrong
11644 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11646 * screen.C (drawFromTo): change sine fullRebreak always return
11649 * buffer.C (parseSingleLyXformat2Token): reindent some
11651 * BufferView_pimpl.C (update): change since fullRebreak always
11653 (Dispatch): git rid of the last hardcoded "Standard"s.
11655 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11657 * text2.[Ch] (fullRebreak): make it return void now that we always
11660 2002-04-30 Juergen Vigna <jug@sad.it>
11662 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11663 ert compatibility check for "latex" layout.
11665 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11667 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11668 minipages: use col% instead of p%, and also use the current font.
11669 (makeLaTeXFile): Fix use babel condition.
11670 (parseSingleLyXformat2Token): Correct font when reading old floats.
11672 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11674 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11675 inserting list of floats.
11677 2002-04-25 Herbert Voss <voss@lyx.org>
11679 * MenuBackend.C (expand): don't add the graphics extensions to the
11682 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11685 non-existing layout, do not complain if it was the default layout
11686 of the original class (bug #342)
11688 2002-04-24 Juergen Vigna <jug@sad.it>
11690 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11691 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11693 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11695 * buffer.C (getBibkeyList): If using \bibliography, return the
11696 option field with the reference itself. Enables us to provide natbib
11697 support when using \bibliography.
11699 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11701 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11703 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11704 natbib is provided by the LaTeX class.
11706 2002-04-23 Juergen Vigna <jug@sad.it>
11708 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11711 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11713 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11715 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11717 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11718 ensuremath around textordmasculine, textordfeminine and
11721 2002-04-19 Juergen Vigna <jug@sad.it>
11723 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11724 reinitializing the buffer otherwise row-dimensions may be wrong.
11725 (update): reset also the selection cursors if they do exits otherwise
11726 their x/y positions may be wrong.
11728 * text2.C (cursorDown): don't enter the inset if we came from a row
11729 above and are one row over the inset.
11731 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11732 really leaving an inset.
11734 2002-04-18 Juergen Vigna <jug@sad.it>
11736 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11737 of the selected paragraph does not have the selected layout also if
11740 * text2.C (setLayout): fixed bug which did not change last selected
11743 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11744 changed the read and substituted \\end_float with \\end_inset!
11746 * BufferView_pimpl.C (cursorPrevious):
11747 (cursorNext): fixed to make it work with rows heigher than the work
11748 area without moving the cursor only the draw of the row.
11749 (workAreaMotionNotify): fix jumping over high rows.
11751 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11753 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11756 2002-04-16 Juergen Vigna <jug@sad.it>
11758 * text2.C (setCursor): set also the irow().
11759 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11761 (cursorDown): support for locking an inset if the x_fix value goes
11762 inside it. That way I can transverse insets too with cursor up/down.
11764 * lyxrow.h: added irow helper function same as other (i) functions.
11766 * BufferView_pimpl.C (cursorPrevious):
11767 (cursorNext): fixed for insets!
11769 2002-04-15 Juergen Vigna <jug@sad.it>
11771 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11772 position otherwise it is wrong in some cases.
11774 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11775 inside the inset before the call.
11777 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11779 * buffer.[Ch] (getBibkeyList): make it const.
11781 2002-04-12 Juergen Vigna <jug@sad.it>
11783 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11785 * text2.C (getCursorX): new helper function
11786 (setCursor): compute also ix_
11787 (setCursorFromCoordinates): set also ix.
11789 * lyxcursor.h: added ix_ and helper functions.
11791 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11793 * buffer.C (insertStringAsLines): dont break paragraph if the this
11794 paragraph is inside an inset which does not permit it!
11796 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11797 also with no chars on this paragraph.
11798 (paintRowText): only paint stuff if it's inside the workarea!
11800 * paragraph.C (breakParagraph): honor keepempty flag and break the
11801 paragraph always below not above.
11803 * BufferView2.C (unlockInset): update the paragraph layout on inset
11804 unlock as we changed paragraph in such a case.
11806 * lyxfind.C (LyXFind): clear the former selection if not found!
11808 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11809 again called in insertChar().
11811 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11812 an inset which uses the whole row!
11813 (rightMargin): ditto.
11814 (insertChar): force a rebreak if we inserted an inset!
11816 2002-03-28 Herbert Voss <voss@lyx.org>
11818 * lyxlength.[Ch]: add inBP() to get the right PS-point
11819 units (BigPoint). With inPixels we have rounding errors
11821 2002-04-11 Juergen Vigna <jug@sad.it>
11823 * text2.C (setCursorFromCoordinates): set iy to the right value.
11824 (setCursor): add check if row->previous exists!
11826 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11827 an old float_type as this was the case in the old code!
11829 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11831 * BufferView2.C (showLockedInsetCursor): use iy
11832 (fitLockedInsetCursor): ditto
11834 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11835 locked insets as there we have the right value now.
11837 * lyxcursor.C: added iy_ variable and iy functions to set to the
11838 baseline of cursor-y of the locked inset.
11840 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11841 (setCursor): fixed for insets which need a full row.
11843 * text.C (rowLastPrintable): don't ignore the last space when before
11844 an inset which needs a full row.
11845 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11846 as last character of a row when before a inset which needs a full row.
11848 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11850 * version.C.in: update date
11852 * text2.C (fullRebreak): try to always return true and see what
11855 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11857 * MenuBackend.C (expand): use Floating::listName
11859 * FloatList.C (FloatList): add listName argument to the built-in
11862 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11863 text associated with the float.
11865 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11867 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11869 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * ShareContainer.h: add a couple of missing typenames.
11873 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11875 * lyxrc.C (getDescription): use _() correctly rather than N_().
11877 2002-03-28 Herbert Voss <voss@lyx.org>
11879 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11880 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11882 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11884 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11885 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11887 2002-03-29 Juergen Vigna <jug@sad.it>
11889 * lyxfunc.C (dispatch): add a missing fitCursor call.
11891 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11892 it was scrolled by a cursor move, so return the bool status.
11894 * BufferView.C (fitCursor): return the bool flag also to the outside
11895 world as this is needed.
11897 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11899 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11900 call the edit() as it is not needed (and wrong) IMO.
11901 (workAreaButtonPress): set the screen_first variable before evt.
11902 unlock the inset as this may change screen_first and then we have
11903 a wrong y position for the click!
11905 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11907 * MenuBackend.C (expand): another translation that I missed
11909 2002-03-28 Juergen Vigna <jug@sad.it>
11911 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11913 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11915 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11917 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11919 * MenuBackend.C (expand): fix export/view/update when there is no
11922 2002-03-27 Herbert Voss <voss@lyx.org>
11924 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11927 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11929 * bufferview_funcs.C (currentState): only show paragraph number
11930 for is DEVEL_VERSION is set.
11932 * lyxfunc.C (dispatch): put warning in INFO channel
11934 * MenuBackend.C (expand): translate the name of floats
11936 * FloatList.C (FloatList): mark the float names for translation
11938 * converter.C (convert): use LibScriptSearch
11940 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11942 * MenuBackend.C (defaults): fix default menu (we might as well get
11945 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11950 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11952 * lyxvc.C: reorder includes.
11954 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11956 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11959 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11961 * CutAndPaste.C: change layouts earlier on paste
11962 to avoid crashing when calling getFont()
11964 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11966 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11969 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11971 * WorkArea.C: remove 'Pending' debug message.
11973 * most files: ws cleanup
11975 * buffer.[Ch]: ws changes
11977 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11979 2002-03-21 Juergen Vigna <jug@sad.it>
11981 * tabular.C (SetMultiColumn): collapse also the contents of the
11982 cells and set the last border right. Added a Buffer const * param.
11984 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11986 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11989 2002-03-19 Juergen Vigna <jug@sad.it>
11991 * text2.C (clearSelection): reset also xsel_cache.
11993 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11994 where it needs to be called (John tells us to do so too :)
11995 (selectionLost): reset sel_cache.
11997 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11999 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12001 * text2.C (setCursorIntern): put debuging code in INSETS channel
12003 2002-03-19 André Pönitz <poenitz@gmx.net>
12005 * lyxfunc.C: tiny whitespace change
12007 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12009 * ToolbarDefaults.C (init):
12010 * LyXAction.C (init):
12012 * BufferView_pimpl.C (Dispatch):
12013 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12015 2002-03-19 Allan Rae <rae@lyx.org>
12017 * exporter.C (Export): removeAutoInsets before doing anything else.
12018 While I've just introduced a dependency on BufferView this really is
12019 the best place to clean the buffer otherwise you need to cleanup in
12020 a dozen places before calling export or cleanup in a dozen functions
12023 * converter.C (runLaTeX):
12024 (scanLog): Better handling of removeAutoInsets and screen updates.
12026 * lyxfunc.C (dispatch): small whitespace changes
12028 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * WorkArea.C (C_WorkAreaEvent): return a value.
12031 (event_cb): return 1 if we handled the event, 0 otherwise.
12033 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12035 2002-03-18 Juergen Vigna <jug@sad.it>
12037 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12038 (GetAdditionalWidth): ditto.
12039 (RightLine): ditto.
12042 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12043 inset if we're there actually (probably not used right now but this
12044 is the direction to go for unifying code).
12045 (paste): disable code to clear the selection.
12047 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12048 inside an InsetText and move the check further up as it is in the
12051 * text2.C (pasteSelection): set a selection over the pasted text.
12053 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12055 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12056 and libgraphics to build on Cygwin.
12058 2002-03-15 Juergen Vigna <jug@sad.it>
12060 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12061 inserting an Inset into the paragraph. I know this is not the best
12062 fix but we already use current_view in CutAndPaste so we will remove
12063 all of it's using at the same time.
12065 * buffer.C (sgmlError): deactivated function till it is rewritten in
12066 the right mode, now it can create problems.
12068 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12069 before accessing it.
12071 2002-03-14 Juergen Vigna <jug@sad.it>
12073 * undo_funcs.C (textHandleUndo): do the right thing when updating
12074 the inset after the undo/redo.
12076 * text2.C (setCursor): just some testcode for #44 not ready yet.
12078 * undo_funcs.C (textHandleUndo): set the next() and previous()
12079 pointers of the paragraph to 0 before deleting otherwise we have
12080 problems with the Paragraph::[destructor].
12082 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12083 on a paragraph insertion.
12085 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12087 * buffer.C (asciiParagraph): use += operator for char append to
12090 * paragraph.C (getFontSettings): compare >= not just >
12091 (highestFontInRange): ditto
12094 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * paragraph.C: change several algorithm to be more appripriate for
12097 the problem domain. This is lookip in FontList and in the InsetList.
12099 2002-03-13 André Pönitz <poenitz@gmx.net>
12102 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12104 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12109 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12111 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * Painter.C (display): anon helper function, adjust code for this
12115 (pixmap): remove function.
12117 * Painter.h: remove private display variable.
12119 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12121 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12123 * WorkArea.[Ch]: remove figinset_canvas cruft.
12125 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12127 * lyxtextclass.C (operator): add one item cache optimization.
12129 * bufferlist.h: doxy changes
12131 * bufferlist.C: ws changes
12133 * DepTable.[Ch] (ext_exist): place const in the right spot.
12135 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12137 (workAreaExpose): call resizeInsets when the with BufferView changes.
12138 (Dispatch): adjust for protectedBlank removal
12139 (specialChar): call updateInset if the insert went ok.
12141 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12142 specialChar instead.
12144 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12146 * BufferView.h: doxy change
12148 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12150 * lyxtextclass.C (operator[]): remove non-const version
12151 (defaultLayout): remove non-const version
12153 2002-03-12 Juergen Vigna <jug@sad.it>
12155 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12156 did resize the LyXText too.
12158 * buffer.C (readLyXformat2): set layout information on newly allocated
12161 * tabular.C (OldFormatRead): set layout information on the paragraph.
12163 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12165 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12167 2002-03-11 Juergen Vigna <jug@sad.it>
12169 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12171 (resizeCurrentBuffer): force also the insets to resize themselfes.
12172 (moveCursorUpdate): fixed up for InsetText.
12174 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12177 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12178 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12179 value of Dialogs::tooltipsEnabled().
12180 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12182 2002-03-08 Juergen Vigna <jug@sad.it>
12184 * BufferView_pimpl.C (updateInset): update inset inside inset also
12185 if it isn't inside theLockingInset().
12187 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * buffer.C (asciiParagraph): redo some of the word and line length
12191 (getLists): look for Caption instead of caption.
12193 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12195 * buffer.C (Buffer): initialize niceFile to true
12197 (makeLinuxDocFile):
12198 (makeDocBookFile): make sure niceFile is true on exit
12200 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12202 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12204 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12206 * LyXSendto.C: remove.
12207 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12208 * lyx_gui.C: remove now-redundant comment.
12209 * ColorHandler.h: remove forward declaration of class WorkArea.
12210 * lyxfunc.C: remove #include "WorkArea.h".
12212 2002-03-07 Juergen Vigna <jug@sad.it>
12214 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12215 got moved away with the DEPM and also set the inset_owner always
12216 right which before could have been omitted.
12218 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12220 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12221 wanted layout is not found.
12223 2002-03-07 Juergen Vigna <jug@sad.it>
12225 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12227 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12229 * paragraph.C (breakParagraph): use default layout not layout of
12231 (Paragraph): clear ParagraphParameters.
12233 2002-03-06 Juergen Vigna <jug@sad.it>
12235 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12236 otherwise it would not be a valid lenght. Fixed a special case in
12237 the minipage compatibility read where we end the document with a
12240 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12241 was set as it could be 0 for InsetTexts first entry.
12243 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12245 * paragraph.C (writeFile): if layout is empty write out
12246 defaultLayoutName().
12248 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12249 file without named layout we set layout to defaultLayoutName().
12251 2002-03-06 Juergen Vigna <jug@sad.it>
12253 * CutAndPaste.C (copySelection): set layout for new paragraph.
12255 * text.C (prepareToPrint): leave ERT inset left aligned
12256 (leftMargin): don't indent paragraphs inside ERT insets
12258 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * paragraph.C (breakParagraph): dont call clear do the work manually
12262 * paragraph.[Ch] (clear): remove function
12264 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12266 * paragraph.C (Paragraph): dont call clear, the work has already
12269 * lyxtextclass.C (operator): assert if n is empty
12271 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12272 work manually instead.
12274 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12276 * BufferView_pimpl.C: protect selectionLost against text == 0
12278 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * text.C (breakParagraph): fix a setting layout to '0' problem.
12282 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12284 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12285 final location of file, for the included files, and graphics.
12287 2002-03-05 Juergen Vigna <jug@sad.it>
12289 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12291 2002-03-04 Juergen Vigna <jug@sad.it>
12293 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12295 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12296 last column of multicolumn cells.
12297 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12299 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12301 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12302 file if it doesn't go to a temporary file.
12304 * buffer.C (sgmlOpenTag):
12305 (sgmlCloseTag): remove extra newline insertion.
12307 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12309 * text.C (getRowNearY): comment out debug msg
12311 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12313 * text2.C: first -> first_y
12315 * text.C (getRowNearY): add some attemts at a possible
12316 optimization, not working.
12318 * tabular.[Ch]: add BufferParams to several function so that newly
12319 created paragraph can be initialized to he default layotu for the
12322 * tabular-old.C (ReadOld): add buf->params to call of Init
12324 * screen.C: rename text->first to text->first_y
12326 * paragraph.C (breakParagraph): always set layout in the broken
12329 * lyxtextclass.C (Read): remove lowercase
12332 (delete_layout): ditto
12334 * lyxtext.h: rename first -> first_y
12336 * lyxlayout.C (Read): remove lowercase
12339 (obsoleted_by): ditto
12341 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12343 * buffer.C (insertErtContents): add params are to InsetERT
12344 (parseSingleLyXformat2Token): add code to check if a paragraphs
12345 layout really exist.
12346 (parseSingleLyXformat2Token): add params to several inset
12348 (asciiParagraph): remove lowercase, do the layout comparisons with
12351 * BufferView_pimpl.C (cursorNext): first -> first_y
12352 (resizeCurrentBuffer): first -> first_y
12353 (updateScrollbar): first -> first_y
12354 (scrollCB): first -> first_y
12355 (workAreaMotionNotify): first -> first_y
12356 (workAreaButtonPress): first -> first_y
12357 (checkInsetHit): first -> first_y
12358 (cursorPrevious): first -> first_y
12359 (cursorNext): first -> first_y
12360 (Dispatch): add buffer_->params to severl inset contructors
12362 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * lyxlayout.C (Read): remove some debug info that I forgot.
12366 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12367 clean up the code slightly.
12368 (makeLinuxDocFile): ditto
12369 (makeDocBookFile): ditto
12371 * text2.C: layout as string
12373 * text.C: layout as string
12375 * paragraph_pimpl.C: layout as string
12377 * paragraph.[Ch]: layout as string
12379 * lyxtextclasslist.[Ch]: layout as string
12381 * lyxtextclass.[Ch]: layout as string
12383 * lyxtext.h: layout as string
12385 * lyxlayout.[Ch]: layout as string
12387 * lyx_cb.C: layout as string
12389 * bufferview_funcs.C: layout as string
12391 * bufferparams.C: layout as string
12393 * buffer.C: layout as string
12395 * LyXView.[Ch]: layout as string
12397 * LaTeXFeatures.[Ch]: layout as string
12399 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12401 * BufferView_pimpl.C: change current_layout to string, remove
12406 (workAreaButtonRelease): layout as string
12408 * BufferView2.C (unlockInset): adjust
12410 * vspace.C (asLatexCommand): use an explict temp variable.
12412 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12414 * Makefile.am: use FRONTEND_*
12416 2002-03-01 Juergen Vigna <jug@sad.it>
12418 * tabular.C (SetWidthOfMulticolCell): changed to something better
12419 I hope but still work in progress.
12420 (recalculateMulticolumnsOfColumn): renamed function from
12421 recalculateMulticolCells as it is more appropriate now.
12422 (SetWidthOfCell): calculate multicols better.
12424 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12426 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12428 * lyxfunc.C (processKeySym): print sequence also if it is
12429 `deleted' (complete)
12431 * kbsequence.C (print): print sequence even if it is deleted
12432 (complete would be a better word, actually).
12434 * lyxfunc.C (dispatch): print complete options after a prefix key
12436 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12438 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12440 * text2.C (setCharFont): eliminate setCharFont code duplication.
12442 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12444 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12445 LFUN_TABULAR_FEATURE (bug #177)
12447 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12449 * Makefile.am: remove figure.h
12451 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12453 * Bufferview_pimpl.C:
12465 * text2.C: remove #include "lyx_gui_misc.h".
12467 * LaTeX.C: added #include <cstdio>
12469 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12471 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12472 that the paragraph following this one can have.
12474 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12476 * vspace.C (asLatexCommand): fix bogus gcc warning
12478 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12480 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12482 * text2.C (setLayout): get rid of redundant code
12484 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12486 * text2.C (incDepth): make sure depth cannot be increased beyond
12489 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12491 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12492 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12494 * PainterBase.h (image):
12495 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12496 a LyXImage const *.
12498 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12502 * BufferView_pimpl.C:
12503 * BufferView_pimpl.h:
12523 * sp_spell.C: remove fig inset, and the crap house of
12524 cards that follows it
12526 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12531 * os2_errortable.h:
12532 * nt_defines.h: move .h into support/
12534 * vms_defines.h: remove
12536 * WorkArea.C: add space in debug output
12540 * buffer.C: add WITH_WARNINGS
12544 * bufferlist.C: s/retrive/retrieve/, add docs
12553 * chset.C: add docs
12555 * lyxgui.C: add ID to X error handler
12557 * lyxtestclass.c: fix typo
12559 2002-02-26 Juergen Vigna <jug@sad.it>
12561 * tabular_funcs.C (write_attribute): changed so that some default
12562 attributes are not written at all.
12563 (getTokenValue): set default values before trying to read the
12564 value so we have the return value always set as default if we don't
12565 find the token we search for.
12567 * tabular.C (Write): write bools as bools not as strings!
12569 2002-02-22 Juergen Vigna <jug@sad.it>
12571 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12572 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12574 * text.C (leftMargin): don't add an indent for paragraphs inside
12575 tabular cells (fix #208).
12577 2002-02-21 José Matos <jamatos@fep.up.pt>
12579 * tabular.C (docBook): fixed support for long tables.
12581 2002-02-20 Juergen Vigna <jug@sad.it>
12583 * text2.C (getFont): get the drawing font of the Inset if this
12584 paragraph is inside an inset (only important for InsetERT for now).
12586 * buffer.C (insertErtContents): use new lanugage params in ERT
12589 * CutAndPaste.C: commenting out seemingly uneeded code.
12591 2002-02-19 Allan Rae <rae@lyx.org>
12593 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12594 Iterators might be simple to use but they also get invalidated.
12595 (removeAutoInsets): renamed saved cursor tracking variables and added
12596 some comments to clarify what everything does.
12598 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12605 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12606 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12609 * vc-backend.h: remove #include "support/syscall.h"
12613 * converter.C: rearrange #includes in Lars' approved fashion.
12615 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12616 forward declare class Timeout in the header file.
12618 * XFormsView.C: changes due to the above.
12620 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12621 similar to LyXView.
12623 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12624 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12626 2002-02-18 José Matos <jamatos@fep.up.pt>
12628 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12631 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12633 * a lot of small ws changes
12634 * add a lot of using std::XXX
12635 * use std construcs some places where approp.
12636 * use some exisint stuff from lyxfunctional where approp.
12637 * Make file changes to use partial linking (lets test this now...)
12639 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12643 remove #include "support/syscontr.h" as it's redundant. Always has been.
12651 change Systemcalls::System to Systemcalls::Wait and
12652 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12653 No change of functionality, just reflects the stripped down Systemcalls
12656 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12658 * debug.[Ch]: add a GRAPHICS type to the enum.
12660 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12662 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12664 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12667 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12669 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12670 match the changes below.
12672 * text2.C (toggleInset): if there is not editable inset at cursor
12673 position, try to see if cursor is _inside_ a collapsable inset
12676 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12678 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12679 document menu has a nice checkbox
12681 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12683 * lyxlength.C (asLatexString): change PW to output as percent of
12686 * lengthcommon.C: change '%' to 't%'
12688 * lyxfunc.C (dispatch): a few comments from Martin
12690 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12694 * BufferView_pimpl.h:
12695 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12698 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12700 * vspace.C (inPixels): fix compiler warning
12702 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12704 * lyxfunc.C (getStatus): fix status message for disabled commands.
12706 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12708 * BufferView_pimpl.C: fix crash on close buffer
12709 during selection (#227)
12711 2002-01-27 Herbert Voss <voss@lyx.org>
12713 * buffer.C: link old Figure to new graphic inset
12715 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12717 * FontLoader.C (getFontinfo): Change the latex font names in order
12718 to match the names of type1inst.
12720 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12722 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12724 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12725 (extchanged): ditto
12727 (remove_files_with_extension): ditto
12728 (remove_file): ditto
12731 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12732 document is smaller than the work area height. Do not initialize
12733 static variables to 0.
12735 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12737 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12739 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12740 LFUN_LAYOUT_PARAGRAPHS.
12742 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12743 tabular. It is possible to provide a possible cell, which will
12744 typically be the actcell from the corresponding insettabular
12746 * lyxfunc.C (getStatus): small cleanup; disable
12747 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12750 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12752 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12754 * paragraph.C (startTeXParParams):
12755 (endTeXParParams): new methods. The LaTeX code to
12756 start/end paragraph formatting
12757 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12758 empty (fixes bug #200)
12760 * vspace.C (inPixels): adapt to the change below
12761 (inPixels): [later] more cleanups (remove unused variables)
12763 * lyxlength.C (inPixels): change to use a width and a height as
12766 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12768 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12769 Replaced with \paperwidth
12771 * DepTable.C (insert): add std:: qualifier
12773 2002-01-18 Allan Rae <rae@lyx.org>
12775 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12778 * text.C (drawInset): Turned out I didn't know enough about how
12779 rebreaking worked. This fixes most of the redraw problems. I see
12780 an occasional cursor trail when a line is broken now and the cursor
12781 placement can seem out by a few pixels also after a rebreak.
12783 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12785 * buffer.C (parseSingleLyXformat2Token): update because minipage
12786 width is now a LyXLength
12788 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12790 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12793 2002-01-17 Juergen Vigna <jug@sad.it>
12795 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12797 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12798 is set correctly and the inset is updated correctly.
12800 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12802 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12803 the beginning of the loop.
12805 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12807 * lyxrc.C: improve help for use_scalable_fonts
12809 2002-01-17 Allan Rae <rae@lyx.org>
12811 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12813 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12815 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12816 make sure to set their inset_owner to the right value (bug #171)
12818 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12821 * DepTable.C: Implement mtime checking to reduce time spent doing
12824 2002-01-16 Juergen Vigna <jug@sad.it>
12826 * tabular.C (GetAdditionalHeight): one of error fixed.
12828 * lyxrc.C (output): small fix in writing use_pspell.
12830 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12832 * sp_base.h: #include LString.h
12834 2002-01-16 Allan Rae <rae@lyx.org>
12836 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12837 Can someone check this please?
12839 * text.C (drawInset): It was possible that p.row would be removed by
12840 breakAgainOneRow upsetting a few other settings. There may be another
12841 small tweak possible by setting need_break_row = 0 when p.row has been
12842 removed but I don't know enough about the logic here.
12844 2002-01-15 Allan Rae <rae@lyx.org>
12846 * text.C (insertChar): removed conditional truism.
12848 * BufferView2.C (removeAutoInsets): More tweaks.
12849 cur_par_prev could be a stray pointer. Check for trailing empty line
12850 in case last line was cur_par and only had an error inset on it.
12852 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12854 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12857 * vc-backend.C (most methods):
12858 * exporter.C (Export):
12859 * converter.C (convert):
12861 * LyXSendto.C (SendtoApplyCB):
12862 * lyxfunc.C (dispatch):
12866 * lyx_cb.C (AutoSave):
12868 * BufferView_pimpl.C (MenuInsertLyXFile):
12869 * buffer.C (runChktex): use Buffer::filePath().
12871 * buffer.h: rename filename to filename_; rename filepath to
12872 filepath_ and make it private
12873 (filePath): new method
12875 * buffer.C (writeFile): use fileName()
12878 * lyx_main.C (init): fix starting of LyX when the binary is a
12879 link from so,ewhere else.
12881 * minibuffer.C: include <cctype> for isprint
12883 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12885 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12886 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12887 name clash with InsetCollapsable's width function.
12889 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12891 * lastfiles.C: include <iterator>
12893 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12895 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12898 * buffer.C (makeLaTeXFile): ditto.
12899 Also make loop operation more transparent.
12901 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12903 * ToolbarDefaults.C: remove trailing comma closing namespace.
12905 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12907 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12910 * trans.C (Load): comment out unused variable, allowed.
12912 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12914 * minibuffer.[Ch] (append_char): new method to recieve input from the
12915 drop-down completion browser. If a key was pressed, then recieve this
12916 char and append it to the existing string.
12917 (peek_event): modify the positioning data passed to the completion
12918 browser so that it can be placed above the minibuffer rather than below.
12919 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12921 * LyXAction.C (init): alloe error-next for readonly documents.
12923 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12926 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12928 * bufferlist.C (readFile): create the buffer _after_ checking that
12931 * lyxfunc.C (verboseDispatch): fix handling of arguments
12933 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12935 * lyxrc.C: use string::erase() instead of initializing to "".
12938 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12940 * BufferView_pimpl.h:
12941 * BufferView_pimpl.C:
12944 * text2.C: tell X when we have made a selection for copying
12946 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12948 * BufferView_pimpl.C (MenuInsertLyXFile):
12949 * lyxfunc.C (menuNew):
12951 (doImport): add shortcuts to directory buttons
12953 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12956 * lyxfunc.C (setStatusMessage):
12957 (getStatusMessage): new methods
12958 (getStatus):use setStatusMessage instead of setErrorMessage
12959 (dispatch): when function is disabled, set error message here
12960 [instead of in getStatus previously]
12962 * BufferView_pimpl.C (workAreaButtonRelease): update
12963 toolbar/menubar here too.
12965 2002-01-13 Allan Rae <rae@lyx.org>
12967 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12968 Now seems indestructible. Remaining task is to audit all other
12969 code affected by deleteEmptyParagraphMechanism. One small quirk
12970 left is that an empty document with an error in the preamble can
12971 be made to report an error but no error box appears. I don't know
12973 (removeAutoInsets): Improved comments.
12975 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12978 * Thesaurus.C: update for Aiksaurus 0.14
12980 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * text2.C (firstParagraph): removed member function, all uses
12983 replaces with ownerParagraph
12984 (redoParagraphs): here
12985 (updateInset): here
12986 (toggleAppendix): here
12987 * BufferView2.C (insertErrors): here
12988 (setCursorFromRow): here
12990 2002-01-13 Allan Rae <rae@lyx.org>
12992 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12993 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12994 There is still a way to segfault this although you may have to do this
12995 multiple times: Have an InsetERT with an unknown command in it.
12996 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12997 <down-arrow>, <Enter> again, View->DVI, BANG!
12999 * text2.C (setCursor):
13000 (deleteEmptyParagraphMechanism):
13001 * lyxtext.h (setCursor):
13002 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13003 Making use of the return value may help fix other bugs.
13005 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13007 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13009 * LyXView.C (updateMenubar): call MenuBar::update here
13010 (updateToolbar): but not here
13011 (showState): do not update toolbar/menubar
13013 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13014 should need to care about that.
13016 * lyxfunc.C (verboseDispatch): simplify a bit
13017 (getStatus): have a version which takes a pseudoaction, and
13018 another which requires a (kb_action,string).
13020 * LyXAction.C (retrieveActionArg): make it work also when action
13021 is not a pseudo-action.
13022 (getActionName): simplify a bit
13025 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13027 * lyxfunc.C (verboseDispatch): new families of methods with
13028 several ways to specify a command and a bool to indicate whether
13029 the command name and shortcut should be displayed in minibuffer
13030 (eventually, we could extend that to a finer bitmask like
13031 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13032 (dispatch): the pristine dispatch command which just, well,
13033 dispatchs! Note it still sets its result to minibuffer; I'm not
13036 * lyxfunc.h: remove setHintMessage
13038 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13040 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13042 * BufferView_pimpl.C (specialChar): delete new inset if we have
13043 not been able to insert it.
13045 * kbmap.C: revert to using int instead of kb_action, since all we
13046 are dealing with is pseudo-actions.
13048 * LyXAction.C (searchActionArg): change to return int instead of
13049 kb_action, since the result is a pseudoaction.
13051 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13053 * buffer.C (insertErtContents): Fix (partially) the font bug.
13055 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13057 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13058 as the other one is broken on my machine!
13060 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13063 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13065 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13067 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13068 reflect their actual use. Provide compatibility code for older lyxrc
13071 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13073 change names of popup font variables in line with the changes to lyxrc.C
13075 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13077 * buffer.C (asciiParagraph): avoid outputing a word twice after
13080 * lyxrc.C (getDescription): document that document_path and
13081 template_path can be empty.
13083 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13085 * LaTeXFeatures.C (getMacros):
13086 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13088 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13090 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13092 (getPackages): rename feature "floats" to "float". Use an array to
13093 iterate over 'simple' features (i.e. just a \usepackage). Add
13094 handling of "amsmath" (renamed from "amsstyle").
13096 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13098 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13101 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13103 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13104 FuncStaus::FuncStatus & FuncStaus::some_method().
13106 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13108 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13109 of the func_satus stuff. Edited and massaged in various ways by
13112 * lyxfunc.C (getStatus): use FuncStatus
13114 2002-01-08 Juergen Vigna <jug@sad.it>
13116 * text.C (nextBreakPoint): use function Inset::isChar().
13118 * paragraph.C (TeXOnePar): use function
13119 Inset::forceDefaultParagraphs.
13121 * buffer.C (latexParagraphs): use function
13122 Inset::forceDefaultParagraphs.
13124 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13126 * lyx_gui.C (init): set the style of the menu popups to
13127 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13129 2002-01-07 Juergen Vigna <jug@sad.it>
13131 * text.C (setHeightOfRow): small fix
13132 (prepareToPrint): don't look at alignment if we don't have the place
13135 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13137 * box.C: New file. Move the Box methods and functions out of box.h,
13138 following Lars' suggestion.
13140 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13142 * box.h: #include "support/LOstream.h", needed for inlined function.
13145 * lyxtextclasslist.C: added some using std declarations.
13147 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13149 * box.h: make signed dimensions to allow insets wider than
13150 the screen (bug #162)
13152 * BufferView_pimpl.C: add some insetHit debug
13154 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13156 * vc-backend.C: add FIXME
13158 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13160 * lyxfunc.C (getStatus): enable code for showing math font status
13163 2002-01-07 Juergen Vigna <jug@sad.it>
13165 * text.C (nextBreakPoint): removed debug output not needed anymore.
13167 2002-01-06 Juergen Vigna <jug@sad.it>
13169 * text.C (nextBreakPoint): fixed up this function we had this bug
13170 since ever but now hopefully we break row better.
13171 (insertChar): we have to check if an inset is the next char as it
13172 could now happen that a large inset is causing a break.
13174 2002-01-05 Juergen Vigna <jug@sad.it>
13176 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13177 if it doesn't like to be drawed.
13179 2002-01-04 Juergen Vigna <jug@sad.it>
13181 * BufferView2.C (lockInset): forgot to set a cursor.
13183 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13185 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13187 * FormMathsPanel.C:
13190 * form_maths_panel.C:
13191 * form_maths_panel.h:
13192 * form_maths_panel.fd: implemented sub- and super- buttons in math
13195 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13196 (or ^ space) to be used as in TeX (req'd by André).
13198 * lyxfunc.C: Allow ^ and _ again to be used both as
13199 super/subscript (mathed) and as themselves (in text).
13201 2002-01-03 Allan Rae <rae@lyx.org>
13203 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13204 "LyX" or the filename of the current buffer if it has one. This is a
13205 modified form of John Levon's patch.
13207 * XFormsView.C (setWindowTitle): also set icon title.
13209 * LyXView.h (setWindowTitle): signature changed.
13210 * XFormsView.h (setWindowTitle): ditto.
13212 2002-01-02 Juergen Vigna <jug@sad.it>
13214 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13216 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13218 * screen.C (topCursorVisible): introduce a temp var for
13219 text->cursor.row(), handle the case where this row is null. (kindo
13222 * text2.C (setCursor): add a couple of asserts.
13224 * paragraph.h (inset_iterator): add -> operator
13226 * paragraph.[Ch] (autoDeleteInsets): remove member function
13228 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13229 cursor pos correctly and handle inset deletion by itself.
13230 (insertErrors): move iterator declaration out of for expression
13232 * lyxtextclass.C: add <algorithm>
13234 * Makefile.am: added the new files to sources, removed layout.C
13236 * layout.C: removed file
13238 * layout.h: remove LYX_DUMMY_LAYOUT
13240 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13244 * lyxtextclass.[Ch]:
13245 * lyxtextclasslist.[Ch]: new files
13247 * include order changes to a lot of files, also changes because of
13250 2001-12-27 Juergen Vigna <jug@sad.it>
13252 * buffer.C (asciiParagraph): more fixes.
13254 * tabular.C (ascii): make ascii export support export of only the
13255 data separated by a column-delimiter.
13256 (ascii): better support for ascii export.
13258 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13260 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13262 * tabular_funcs.C: use a "using std::getline" instead of the
13263 previous fix from Angus (necessary for cxx + lyxstring)
13265 2001-12-24 Juergen Vigna <jug@sad.it>
13267 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13269 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13270 problems. First check a minipage also if we have some ert-contents
13271 (not only on par->size(), second set the right depth of the paragraph
13272 on the relink to the root-paragraph-list!
13274 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13275 which then did not anymore update the main paragraphs on undo/redo!
13277 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13279 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13280 code. Support all font-changing funcs (even those which are not in
13281 menu currently). Support for reporting font settings in
13282 mathed (disabled until Andre provides a function on mathed's side).
13284 * func_status.h (toggle): small helper function to set toggle
13287 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13289 * tabular_funcs.C: getline -> std::getline
13291 2001-12-21 Juergen Vigna <jug@sad.it>
13293 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13294 accessed and could be 0 (I couldn't generate this but it seems
13297 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13300 * tabular_funcs.h: here and include iosfwd
13302 2001-12-20 Juergen Vigna <jug@sad.it>
13304 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13305 inside inset but undo_par was.
13307 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13309 * Thesaurus.C: always include <config.h> in sources.
13313 * box.h: do not include <config.h> in header files
13315 * text.C (paintLastRow): remove unused variable
13317 * text.C (transformChar):
13319 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13321 * Painter.C (text):
13322 * font.C (width): rewrite to use uppercase() instead of
13325 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13327 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13329 * lyxfind.C: clean up of find failure position change
13331 2001-12-20 Juergen Vigna <jug@sad.it>
13333 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13335 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13336 (TeXRow): added to LaTeX a single tabular row.
13337 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13338 (Latex): simplified and finally good LT-h/f support.
13339 (various_functions): just small adaptions for LT-h/f support.
13341 * tabular_funcs.[hC]: added and moved here all not classfunctions
13344 2001-12-19 Juergen Vigna <jug@sad.it>
13346 * tabular.[Ch]: better support for longtabular options (not finished
13349 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13351 * text.C (paintLastRow): use the label font instead of the font of
13352 the last character to compute the size of *_BOX. This makes more
13353 sense and avoids a crash with empty paragraphs.
13354 Use Painter::rectangle to draw EMPTY_BOX.
13356 2001-12-19 Juergen Vigna <jug@sad.it>
13358 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13359 the paragraphs if the replaced paragraph is not the first one!
13360 Tried to delete not used paragraphs but does not work yet so for
13361 now it's inside #ifdef's and by default off!
13363 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13365 * MenuBackend.C: include "lyx_main.h" instead of declaring
13366 lastfiles (actually was declared as LastFiles* instead of a
13369 2001-12-17 Juergen Vigna <jug@sad.it>
13371 * tabular.C (AppendColumn): applied John's fix
13373 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13377 * BufferView_pimpl.h:
13378 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13381 * box.h: new start of class for above
13383 * lyxfunc.C: ignore space-only minibuffer dispatches.
13384 Show the command name when it doesn't exist
13386 * minibuffer.C: don't add empty lines to the history
13388 * minibuffer.C: add a space on dropdown completion
13390 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13392 * text.C: fix line above/below drawing in insets
13394 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13396 * lyxlength.C (LyXLength): Initialize private variables.
13398 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13400 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13401 when inserting error insets.
13403 2001-12-13 Juergen Vigna <jug@sad.it>
13405 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13406 actually sometimes the before-paragraph.
13407 (setUndo): don't clear the redostack if we're not actually undoing!
13409 2001-12-06 Juergen Vigna <jug@sad.it>
13411 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13412 and fixed redoing of main paragraph, so we can use it now ;)
13414 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13416 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13418 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13421 2001-12-13 André Pönitz <poenitz@gmx.net>
13424 * undo_func.C: minor cleanup
13426 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13428 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13429 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13430 font in urw-fonts package which is marked as -urw-fontspecific and
13431 does not work (incidentally, changing the encoding in the
13432 fonts.dir of this package to -adobe-fontspecific fixes the
13435 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13436 is a crash when undoing first paragraph (Juergen, please take a
13437 look). THis does not mean the undo fix is wrong, just that it
13440 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13441 the (Paragraph*) version when needed instead of duplicating the
13444 * text.C (workWidth): use Inset::parOwner to find out where the
13445 inset has been inserted. This is a huge performance gain for large
13446 documents with lots of insets. If Inset::parOwner is not set, fall
13447 back on the brute force method
13449 * paragraph_pimpl.C (insertInset):
13450 * paragraph.C (Paragraph):
13451 (cutIntoMinibuffer): set parOwner of insets when
13452 inserting/removing them
13454 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13456 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13462 * mathed/formulabase.C:
13463 * mathed/math_cursor.[Ch]:
13464 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13467 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13469 * lyxlength.[Ch] (operator!=): new function
13471 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13473 * text.C (workWidth): use Inset::parOwner to find out where the
13474 inset has been inserted. This is a huge performance gain for large
13475 documents with lots of insets. If Inset::parOwner is not set, fall
13476 back on the brute force method
13478 * paragraph_pimpl.C (insertInset):
13479 * paragraph.C (Paragraph):
13480 (cutIntoMinibuffer): set parOwner of insets when
13481 inserting/removing them
13483 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13485 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13487 * tabular-old.C (getTokenValue):
13488 * tabular.C (getTokenValue):
13489 (write_attribute): new versions for LyXLength
13490 (everywhere): adjust the use of widths
13492 * tabular.h: change the type of widths from string to LyXLength
13494 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13496 * paragraph.C: fixed missing line number count when exporting
13497 Environments to LaTeX file
13499 * buffer.C: added informational message for checking line numbers.
13501 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13503 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13504 paragraph, do the 'double space' part, but not the 'empty
13507 * text.C (workWidth): small optimization
13508 (getLengthMarkerHeight): use minimal size for negative lengths.
13510 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13512 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13514 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13516 2001-12-11 André Pönitz <poenitz@gmx.net>
13519 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13521 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13523 * text2.C: keep selection on a setFont()
13525 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13527 * lyx_cb.C: another bv->text misuse, from insert label
13529 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13532 * kbsequence.C: re-instate nmodifier mask
13534 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13536 * lyx_main.h: make lyxGUI private.
13538 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13540 * lyxfind.C: place the cursor correctly on failed search
13542 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13544 * text.C (getLengthMarkerHeight): for small heights, the arrows
13545 are not always on top/bottom of the text
13546 (drawLengthMarker): smaller arrows; take the left margin in
13547 account; draw also vfills.
13549 (paintLastRow): remove special code for vfill and standard spaces,
13550 since everything is handled in drawLengthMarker now.
13552 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13554 * buffer.C (insertErtContents): try to handle font and language
13555 interaction a bit better.g
13557 * ColorHandler.C (updateColor): change the hash to cover the whole
13558 LColor enum, ws cleanup
13559 (getGCLinepars): ditto
13560 (getGCLinepars): only lookup in the linecache once.
13562 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13564 * iterators.C (operator++): Make the iterator more robust
13566 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13570 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13573 * text.C: better added space drawing
13575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13578 * BufferView2.C: fix layout combo update on inset unlock
13580 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13582 * Makefile.am: don't compile unused files
13584 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13588 * LyXAction.C: remove old LFUN_LAYOUTNO
13590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13592 * paragraph_pimpl.h:
13593 * paragraph_pimpl.C: isTextAt() doesn't need font param
13595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13598 * lyxlex.C: little cleanup
13600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13602 * BufferView_pimpl.C: fix insertAscii for insets
13604 2001-12-05 Juergen Vigna <jug@sad.it>
13606 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13607 set the right font on the "multi" paragraph paste!
13609 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13615 * lyxlength.C: remove out-commented code.
13617 * BufferView_pimpl:
13631 * vc-backend.C: change "while(" to "while ("
13633 * lyxlength.[Ch]: add zero function to check if length is zero or
13635 * lyxgluelength.C: use it
13637 2001-12-05 Allan Rae <rae@lyx.org>
13639 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13640 Works for 2.95.3, from what I understand of Garst's reports this should
13641 work for other g++ versions. We're screwed if the abs(int) definition
13642 changed between bugfix releases of gcc.
13644 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13646 * text.C: fix chapter label offset !
13648 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13651 * text.C: fix hfill at end of line, clean up
13653 2001-12-04 Juergen Vigna <jug@sad.it>
13655 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13656 that we force an update of the inset and it's owners if neccessary.
13658 2001-12-03 Juergen Vigna <jug@sad.it>
13660 * text.C (rowLast): simplified code
13662 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13664 * lyxfunc.C: fix show options on timeout
13666 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * screen.C (topCursorVisible): scroll half a page when the cursor
13669 reached top of bottom of screen
13671 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13673 * minibuffer.C: deactivate on loss of focus
13675 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13677 * vspace.[Ch] (operator!=): add operator.
13679 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13681 * BufferView_pimpl.C: refuse to open an inset when
13682 there's a selection.
13684 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13686 * BufferView_pimpl.C: allow to click on RHS of full row insets
13688 2001-11-30 Juergen Vigna <jug@sad.it>
13690 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13691 insets for undo reasons.
13693 2001-11-28 André Pönitz <poenitz@gmx.net>
13695 * vspace.[Ch]: cosmetical changes
13697 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13707 * kbsequence.C: part re-write of old kb code
13710 * WorkArea.C: remove Lgb_bug_find_hack
13712 2001-11-30 José Matos <jamatos@fep.up.pt>
13714 * buffer.C (makeDocBookFile): add a comment to point a hack.
13715 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13716 Fixed a double write of labels.
13718 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13721 * LaTeX.h Fixed bug in LaTeX class where it would not
13722 re-run latex if no depfiles were changed, but the .dvi was removed.
13724 2001-11-28 André Pönitz <poenitz@gmx.net>
13726 * all the files from the change on 2001/11/26:
13727 use lyx::layout_type instead of LyXTextClass::size_type
13728 use lyx::textclass_type instead of LyXTextClassList::size_type
13730 2001-11-29 Juergen Vigna <jug@sad.it>
13732 * text.C: added support for paragraph::isFreeSpacing()
13734 * buffer.C: same as above
13736 * paragraph.h: inserted isFreeSpacing() function to enable
13737 FreeSpacing inside InsetERT.
13739 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13740 of the paragraph's in the cut/copy buffer to 0!
13742 * text2.C (removeRow): remove the assert as it can!
13744 * lyxtext.h: added helper function firstRow returning firstrow and
13745 made firstrow private again.
13747 * BufferView2.C (lockInset): don't relock if we're already locked!
13749 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13750 the only paragraph.
13751 (removeRow): added Assert::(firstrow)
13753 * debug.C: forgot to add INSETTEXT here.
13755 2001-11-28 Juergen Vigna <jug@sad.it>
13757 * sp_spell.C (initialize): changed error text to more general
13758 spellchecker command use (not only ispell!)
13760 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13762 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13764 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13766 * vspace.C: initialise lyxgluelength on failure
13768 2001-11-28 Allan Rae <rae@lyx.org>
13770 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13771 declaration & definition that looks like a function declaration.
13773 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13775 * BufferView2.C (copy):
13776 (copyEnvironment): do not clear the selection when doing a copy.
13778 * text.C (paintFirstRow): compilation fix
13780 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13782 * tabular.C (Latex): correct line count when writing latex.
13784 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13786 * paragraph_pimpl.h:
13787 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13790 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13794 * LColor.C: change vfillline->added_space
13796 * text.C: add markers and text for added space
13798 * vspace.C: fix comment
13800 2001-11-28 André Pönitz <poenitz@gmx.net>
13802 * paragraph.C: whitespace changes
13803 * all the other files from the change on 2001/11/26:
13804 change *::pos_type into lyx::pos_type
13806 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13808 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13809 language of the document when inserting error insets.
13811 2001-11-26 André Pönitz <poenitz@gmx.net>
13813 * BufferView_pimpl.[Ch]:
13821 * paragraph_pimpl.[Ch]:
13824 * text2.C: reduce header dependencies, introduce type for positions
13826 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13828 * <various>: change to use Alert.h
13830 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13832 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13833 when encountering an unknown token.
13834 (readLyXformat2): Show an error message if there were unknown tokens.
13836 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13839 * BufferView_pimpl.C:
13843 * text2.C: use par->isInset()
13845 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13847 * paragraph_pimpl.h:
13848 * paragraph_pimpl.C: cleanup
13850 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13852 * text2.C (removeRow):
13853 * text.C (setHeightOfRow): remove useless (and costly) call to
13856 2001-11-20 Allan Rae <rae@lyx.org>
13858 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13859 Now need Inset*::checkInsertChar() to return true for appropriate
13860 cases so that the characters in the minibuffer will actually be
13863 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13865 * text.C: change the order of the includes.
13866 (workWidth): initialize it at once.
13867 (workWidth): make maxw unsigned
13868 (setHeightOfRow): remove unused variable (inset)
13869 (selectSelectedWord): remove unused variable (inset)
13870 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13872 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13874 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13875 server is not running.
13877 (closeConnection): add debug info when server is disabled.
13879 * ColorHandler.C (getGCForeground): send debug message to GUI
13882 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13884 * kbmap.C (bind): modify because return conventions of
13885 kb_sequence::parse have changed.
13887 * kbsequence.C (parse): only ignore spaces and not any stupid
13888 control character. This avoids tests like s[i] <= ' ', which are
13889 guaranteed to fail with 8bit characters and signed chars.
13890 Change return code to string::npos when there have been no error
13891 (0 was a bad idea when error is at first character)
13893 2001-11-14 José Matos <jamatos@fep.up.pt>
13896 * buffer.C (simpleDocBookOnePar): removed unused argument.
13898 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13900 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13901 insets which are part of a word. Paragraph::isLetter takes care of
13902 that now. Use Paragraph::isInset to identify insets.
13903 (selectSelectedWord): do not test for hyphenation break.
13905 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13906 that protected spaces are considered as spaces.
13908 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13911 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13914 * lyxserver.C: fix it. and small cleanup.
13916 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13918 * BufferView_pimpl.C: use inline helpers
13921 * LaTeXFeatures.C: fix typos
13924 * Spacing.C: move spacing_string into class
13926 * ToolbarDefaults.C: move stuff into namespace anon
13928 * layout.h: update enum
13930 * lyxfunc.C: use better debug
13932 * minibuffer.h: fix typo
13936 * WorkArea.C: add and use Debug::WORKAREA
13940 * text2.C: code re-organisation, inline helpers
13942 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13944 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13945 std::vector.empty().
13947 2001-11-09 Allan Rae <rae@lyx.org>
13949 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13950 '\n's after tables. Tabular and ERT inset work now makes this no
13953 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13956 * minibuffer.C: fix crash, improve drop-down completion
13958 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13961 * lyxserver.C: invalidate fd's when doing endPipe()
13963 2001-11-08 José Matos <jamatos@fep.up.pt>
13965 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13966 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13969 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13971 2001-11-07 José Matos <jamatos@fep.up.pt>
13974 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13977 * buffer.C (sgmlOpenTag):
13978 * buffer.C (sgmlCloseTag): removed debug info.
13980 * buffer.h (sgmlOpenTag):
13981 * buffer.h (sgmlCloseTag): made public.
13983 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13985 * buffer.C (saveParamsAsDefaults):
13986 * lyx_cb.C (MenuLayoutSave): remove
13988 * LyXAction.C (init):
13990 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13992 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13994 * buffer.C (setPaperStuff): removed from here...
13996 * bufferparams.C (setPaperStuff): ... and moved there.
13998 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14002 * XFormsView.C: add support for drop-down completion
14004 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14006 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14009 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14014 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14016 * lyx_main.C: change ref to known bugs
14018 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14020 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14021 to work around older babel problems.
14023 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14025 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14027 2001-10-24 Juergen Vigna <jug@sad.it>
14029 * tabular-old.C (ReadOld): below variable changes reflected.
14031 * tabular.[Ch]: added ltType struct for longtable header/footer
14032 defines and changed all instances where they are used. Added
14033 future support for double top/bottom rows.
14035 2001-10-24 José Matos <jamatos@fep.up.pt>
14037 * buffer.h (docbookHandleCaption):
14038 * buffer.C (docbookHandleCaption): removed unused function.
14039 (makeDocBookFile): moved docbook supported version to v4.1.
14041 2001-10-24 José Matos <jamatos@fep.up.pt>
14044 * tabular.C (docbookRow): new function to export docbook code of a row.
14045 (DocBook): now honors the longtable flags.
14047 2001-10-23 José Matos <jamatos@fep.up.pt>
14050 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14051 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14053 * buffer.C (makeLinuxDocFile):
14054 (makeDocBookFile): reworked the preamble, more clean, and with
14055 support for lyx defined entities. Changed the document declaration
14056 to be more XML friendly.
14058 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14059 if we need to output XML that should be done with a filter.
14061 2001-10-22 Juergen Vigna <jug@sad.it>
14063 * sp_pspell.h (class PSpell): add alive function needed in the
14064 controller to see if the spellchecker could be started.
14066 2001-10-22 Juergen Vigna <jug@sad.it>
14068 * buffer.C (insertStringAsLines): modify the font for inserting
14069 chars in certain conditions by calling checkInsertChar(font).
14071 2001-10-19 Juergen Vigna <jug@sad.it>
14073 * text.C (workWidth): use getRow instead of wrong algorithm.
14074 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14076 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14081 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14083 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14085 * text.C (workWidth): do not search for the exact row when
14086 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14087 optimization for big documents.
14089 2001-10-18 Juergen Vigna <jug@sad.it>
14091 * text.C (workWidth): new function with added Inset * parameter.
14093 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14095 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14097 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14098 change return type of getColumnNearX.
14101 * text.C (changeRegionCase): use uppercase/lowercase instead of
14104 (rightMargin): simplify code by factoring out the uses of
14109 (appendParagraph): use Paragraph::size_type
14111 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14113 * vspace.C (asLatexString): add a missing break
14115 2001-10-15 Herbert Voss <voss@perce.de>
14117 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14119 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14121 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14124 2001-10-10 André Pönitz <poenitz@gmx.net>
14126 * lyxfunc.C: removed greek_kb_flag.
14128 2001-10-10 Herbert Voss <voss@perce.de>
14130 * lyx_main.C: delete global string help_lyxdir.
14132 2001-10-09 Herbert Voss <voss@perce.de>
14134 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14136 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14138 * lyx_main.C: added global string help_lyxdir.
14140 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14142 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14144 * lyxrc.C (set_font_norm_type): support iso8859-4
14146 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14148 * LaTeX.C (deplog): add another regex for MikTeX
14150 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14152 * lyxrc.C (set_font_norm_type): support iso8859-3
14154 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14156 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14158 * LaTeXFeatures.C: remove special case of french and index
14160 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14161 before \begin{document}). This solves several incompatibilities.
14163 2001-10-03 Garst Reese <reese@isn.net>
14165 * lyx_cb.C: change CheckTex error msg.
14167 2001-10-03 José Matos <jamatos@fep.up.pt>
14169 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14171 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14173 * .cvsignore: update
14175 * lyx_main.C (commandLineVersionInfo): use new style version info.
14177 * buffer.C (writeFile):
14179 (makeLinuxDocFile):
14180 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14182 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14184 * version.h: update to use stuff in version.C
14186 * version.C.in: new file. Contains version information determined
14187 at compile time. This is a merging of version.h and
14190 2001-10-03 Juergen Vigna <jug@sad.it>
14192 * BufferView_pimpl.C (update): don't change "dirty" status in
14195 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14197 * WorkArea.C (c-tor): re-position version string slightly.
14199 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14201 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14202 revert to previous code.
14204 WorkArea.[Ch]: (show, destroySplash): methods removed.
14206 WorkArea.C: rework code so that it's an amalgam of the codes before and
14207 after the splash screen was moved to WorkArea.
14209 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14212 * vspace.C (inPixels):
14215 * buffer.C (insertStringAsLines):
14216 (asciiParagraph): fix types to be large enough
14218 * lyxlex_pimpl.h: change member status from short to int
14220 * layout.h: fix type of endlabeltype
14223 * kbsequence.C (parse): change return type to string::size_type
14225 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14228 * Bullet.C (bulletSize):
14229 (bulletEntry): do not use short ints as parameters
14231 * BufferView2.C (insertLyXFile): change a char to an int.
14233 * WorkArea.C (WorkArea): remove unneeded floats in computation
14235 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14237 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14239 * paragraph.C (asString): Do not ignore newline/hfill chars when
14240 copying to the clipboard.
14242 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14244 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14245 after a multi-line inset.
14247 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14249 * paragraph.C (validate): Set NeedLyXFootnoteCode
14251 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14253 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14254 and decrease-error to decrease.
14256 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14258 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14259 it more readable (should be equivalent)
14261 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14263 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14265 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14267 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14268 of a cursor (row, etc.) after a character has been deleted
14269 (deleteEmptyParagraphMechanism): call the method above on _all_
14270 cursors held by the LyXText when a double space has been
14273 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14275 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14277 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14279 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14280 background. Use greyOut() and the new show() methods to toggle between
14281 the foreground and background. Add code to remove the splash after
14282 its initial showing.
14284 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14285 (create_forms): no longer call Dialogs::showSplash.
14287 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14289 * .cvsignore: add version_info.h
14291 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14293 * version_info.h.in: new file
14295 * Makefile.am: add version_info.h.in
14297 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14298 version_info.h instead of VERSION_INFO
14300 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14302 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14303 The ERT inset now returns string().
14305 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14307 * lyxtext.h, text.C (selectNextWord): renamed as
14308 selectNextWordToSpellcheck.
14310 * text.C (selectNextWordToSpellcheck): Modified to not select
14311 words inside an ERT inset.
14313 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14315 * lyx_cb.C (MenuLayoutSave): change a bit the question
14317 * sp_base.h: include <sys/types.h>
14319 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14321 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14323 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14325 * several files: fix typos in user-visible strings
14327 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14329 * text2.C (pasteSelection): do not set the selection, since it
14330 will be cleared later. Actually, the intent was to fix the way the
14331 selection was set, but I figured rmoving the code was just as good.
14333 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14335 * FontLoader.C (available): Check if font is available without
14338 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14340 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14342 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14344 * lyxrc.[Ch]: added display_graphics variable and associated code.
14346 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14348 * bufferparams.C (hasClassDefaults): new method. Returns true if
14349 the buffer parameters correspond to known class defaults
14351 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14353 * XFormsView.C (show): set minimum size to the main window.
14355 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14357 * text2.C (copySelection):
14359 * lyxfind.C (LyXReplace):
14360 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14361 LyXText::selectionAsString.
14363 * paragraph.C (asString): add "label" argument to the second form
14365 * text2.C (selectionAsString): add "label" argument and pass it to
14366 Paragraph::asString.
14368 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * lyx_main.C (commandLineHelp): remove version information
14372 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14374 * lyx_main.C: add -version commandline option
14376 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14378 * paragraph.h: make the optional constructor arg required instead.
14379 some modifications to other files because of this.
14381 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14383 * lyxserver.C (C_LyXComm_callback): make it static
14385 * lyx_main.C (error_handler): make it static
14387 * lyx_gui.C (LyX_XErrHandler): make it static
14389 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14391 * WorkArea.C: make the extern "C" methods static.
14393 * Makefile.am (lyx_LDADD): simplify
14395 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14397 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14398 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14400 * LyXAction.C (init):
14401 * lyxfunc.C (dispatch): associated code removal.
14403 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14405 * lyxfont.h (isSymbolFont): shut off warning
14407 * text.C (setHeightOfRow):
14408 (getVisibleRow): fix crash with empty paragraphs which have a
14411 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14413 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14416 2001-09-04 José Matos <jamatos@fep.up.pt>
14419 * tabular.C (docbook): rename docBook method to docbook.
14421 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14423 * Makefile.am: add dependencies to main.o.
14425 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14427 * FontLoader.C (available): Return false if !lyxrc.use_gui
14429 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14431 * FontInfo.C (query):
14432 * converter.C (view):
14433 * importer.C (Import):
14434 * exporter.C (Export): Can not -> cannot.
14436 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14438 * BufferView_pimpl.C: allow to create index inset even if
14441 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14443 * buffer.C (getLists): replace boost::tie code with an explicit pair
14444 as boost::tie can break some compilers.
14446 * iterators.h: Added a std:: declaration to the return type of
14449 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14451 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14454 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14456 * iterators.[Ch]: New files. Provide paragraph iterators.
14458 * buffer.C (changeLanguage): Use paragraph iterators.
14459 (isMultiLingual): ditto
14461 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14463 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14465 * FontLoader.C: Support for cmr font.
14467 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14469 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14470 (available): New method.
14472 * FontInfo.C (getFontname): Use scalable fonts even when
14473 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14476 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14478 * converter.C (Formats::view): reverted! Incorrect fix.
14480 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14482 * converter.C (Formats::view): only output the -paper option
14483 if the dvi viewer is xdvi, thereby fixing bug #233429.
14485 2001-08-23 Herbert Voss <voss@perce>
14487 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14489 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14491 * Spacing.h (Spacing): Set space to Default on in the default
14494 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14496 * vc-backend.h (RCS::versionString): add RCS to version
14497 (CVS::versionString): add CVS to version
14499 * vc-backend.C (scanMaster): do not add CVS to version.
14500 (scanMaster): do not add RCS to version
14502 * lyxvc.C (versionString): new method
14504 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14506 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14508 * Spacing.C (set): initialize fval
14510 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14512 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14515 2001-08-16 Juergen Vigna <jug@sad.it>
14517 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14519 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14521 * BufferView_pimpl.C:
14524 * text2.C: setParagraph takes linespacing now
14526 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14528 * LyxAction.C: add internal LFUN_CITATION_INSERT
14530 * LyXView.C: actually apply fix
14532 * bufferlist.C: fix open non-existent file
14534 * lyxfind.C: fix indentation
14536 * lyxfunc.C: remove unneeded assert, fix typo
14538 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14540 * MenuBackend.C: use "Floatname List"
14542 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14544 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14545 when converting LaTeX layout to insetERT.
14546 Generate a non-collapsed float when reading old float
14548 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14550 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14553 2001-08-13 Juergen Vigna <jug@sad.it>
14555 * text.C (fill): return 0 instead of 20 as this seems to be the more
14558 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14560 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14563 2001-08-13 Juergen Vigna <jug@sad.it>
14565 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14567 (SearchBackward): comment out the unlocking of the inset_owner this
14568 should not be needed!
14570 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14572 * Many files: Remove inherit_language, and add latex_language
14574 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14575 collapsible insets.
14577 2001-08-10 Juergen Vigna <jug@sad.it>
14579 * text.C (prepareToPrint): fixed hfill-width in draw!
14581 * BufferView2.C (selectLastWord): save the selection cursor as this
14582 now is cleared in the function LyXText::clearSelection!
14584 2001-08-08 Juergen Vigna <jug@sad.it>
14586 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14587 BACKSPACE type functions.
14589 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14590 is only cutted from the document but not put in the cut-buffer, where
14591 still the old stuff should be.
14593 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14595 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14597 * tabular.C (SetWidthOfCell): fixed special case where the width
14599 (LeftLine): handle '|' in align_special.
14601 (LeftAlreadyDrawed): ditto
14602 (SetWidthOfCell): ditto
14604 2001-08-07 Juergen Vigna <jug@sad.it>
14606 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14608 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14610 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14611 * lyxlex.[hC]: ditto
14613 2001-08-06 Juergen Vigna <jug@sad.it>
14615 * text.C (getVisibleRow): fix up row clearing a bit.
14617 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14619 * minibuffer.C: make sure the X server sees the changes in the input.
14621 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14623 * paragraph.C (getFont): split into...
14624 (getLabelFont): this
14625 (getLayoutFont): and this
14626 * paragraph_pimpl.C (realizeFont): calling this
14628 * text2.C (getFont): split into...
14629 (getLayoutFont): this
14630 (getLabelFont): and this
14631 (realizeFont): all three calling this
14633 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14636 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14638 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14640 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14642 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14643 layouts from the Quote inset insertion.
14645 2001-08-03 Juergen Vigna <jug@sad.it>
14647 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14649 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14650 only if status not is already CHANGED_IN_DRAW (second level).
14652 * text.C (draw): don't set the need_break_row when inside an
14655 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14657 * buffer.C (parseSingleLyXformat2Token): handle more latex
14660 * bufferview_funcs.[hC]: change function names to
14661 begin with small char, adjust other files.
14663 2001-08-02 André Pönitz <poenitz@gmx.net>
14666 BufferView_pimpl.C: remove broken special code for math-greek
14668 2001-08-02 Juergen Vigna <jug@sad.it>
14670 * BufferView_pimpl.C (update): redone this function so that we
14671 update the text again if there was a CHANGE_IN_DRAW.
14673 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14674 (drawFromTo): added a new internal bool which is used by draw() and
14676 (general): some cursor drawing problems fixed.
14678 2001-08-01 Juergen Vigna <jug@sad.it>
14680 * lyxfind.C (LyXFind): fixed
14681 (SearchForward): ditto
14682 (SearchBackward): ditto
14684 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14685 spurius drawing of the cursor in the main area.
14687 * text2.C (status): small fix which could lead to a segfault!
14688 (clearSelection): remove unneeded BufferView param.
14690 2001-08-01 André Pönitz <poenitz@gmx.net>
14692 * lyxfunc.C: small change due to changed mathed interface
14694 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14696 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14698 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14700 * lyxfunc.c: fail gracefully if file doesn't exist
14705 * BufferView_pimpl.C: IsDirWriteable() proto changed
14707 * LyXView.C: fix updateWindowTitle() to store the last title
14709 2001-07-31 Juergen Vigna <jug@sad.it>
14711 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14712 the font (wrong since using of Paragraph::highestFontInRange).
14714 * paragraph.C (highestFontInRange): added a default_size parameter.
14716 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14717 (setHeightOfRow): reformat
14719 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14721 * converter.[hC] + affected files: move to (inital-char)lowercase
14724 * ParagraphParameters.C (ParagraphParameters): remove commented code
14726 * PainterBase.[Ch]: remove commented code
14728 * LaTeXFeatures.h: add "bool floats" for float.sty
14730 * LaTeXFeatures.C (LaTeXFeatures): init floats
14731 (require): handle float
14732 (getPackages): do it with floats
14734 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14736 * BufferView_pimpl.C (Dispatch): improve handling of
14737 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14739 * commandtags.h: #include lyxfont.h here temporarily to avoid
14742 * bufferlist.h: include LString.h here.
14744 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14746 * text2.C (getStringToIndex): new method.
14748 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14750 * *: Reduced header file dependencies all over.
14752 2001-07-30 Baruch Even <baruch@lyx.org>
14754 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14756 2001-07-29 Baruch Even <baruch@lyx.org>
14758 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14760 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14762 * ParameterStruct.h (endif): add a default constructor to make
14763 sure that all variables is initialized.
14765 * ParagraphParameters.C (ParagraphParameters): adjust
14767 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14769 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14770 index; also, check that there is something to index, and that it
14771 does not span over several paragraphs.
14772 (doubleClick): use WHOLE_WORD_STRICT for double click.
14774 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14776 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14779 2001-07-26 Baruch Even <baruch@lyx.org>
14781 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14782 an InsetFig figure, backwards compatible reading of old figure code.
14784 2001-07-27 Juergen Vigna <jug@sad.it>
14786 * text2.C: font.realize function adaption.
14788 * text.C (draw): add a warnings lyxerr text if needed.
14790 * layout.C: font.realize function adaption.
14792 * language.C: add inherit_language and implement it's handlings
14794 * bufferview_funcs.C (StyleReset): remove language parameter from
14795 font creation (should be language_inherit now).
14797 * bufferparams.C (writeFile): handle ignore_language.
14799 * paragraph.C (getFontSettings): the language has to be resolved
14800 otherwise we have problems in LyXFont!
14802 * lyxfont.C (lyxWriteChanges): added document_language parameter
14803 (update): removed unneeded language parameter
14805 * paragraph.C (validate): fixed wrong output of color-package when
14806 using interface colors for certain fonts in certain environments,
14807 which should not seen as that on the final output.
14809 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14811 * BufferView_pimpl.C:
14816 * LyXAction.C: add thesaurus support
14819 * lyxfind.C: add "once" parameter, for thesaurus, to not
14820 move to the next match
14822 2001-07-26 Juergen Vigna <jug@sad.it>
14824 * lyxfont.C (realize): honor ignore_language too!
14827 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14829 * text.C (draw): one place more for ignore_language to not draw
14832 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14834 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14836 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14839 the minipage conversion problem.
14841 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14843 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14846 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14848 * BufferView.h: don't forward declare WorkArea
14850 * BufferView.C: don't include WorkArea.h
14852 2001-07-25 André Pönitz <poenitz@gmx.net>
14856 * lyxfunc.C: new LFUN 'math-space'
14858 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14860 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14862 * text2.C (toggleInset): call open/close
14864 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14866 * lyxfunc.C (dispatch): add debug for the disabled case
14868 * font.C (buttonText): make similar to rectText
14870 * buffer.C (readInset): comment out parsing of insetlist and
14873 * PainterBase.C (rectText): small correction
14875 * BufferView_pimpl.C: comment out insettheorem and insetlist
14876 * LyXAction.C: ditto
14877 * commandtags.h: ditto
14879 2001-07-24 Juergen Vigna <jug@sad.it>
14881 * text.C (draw): honor the ignore_language.
14883 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14885 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14887 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14890 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14892 * lyxtext.h: remove unused (and unimplemented) methods
14894 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14896 * text.C (getVisibleRow): honor background color
14899 * Painter.h: remove default color argument for fillRectangle
14901 * text.C (backgroundColor): new method
14903 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14905 * text.C (getVisibleRow): adjust
14907 * font.[Ch] (rectText): new method, metrics
14908 (buttonText): new method, metrics
14910 * PainterBase.[hC]: make rectText and buttonText always draw and take
14913 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14915 * ToolbarDefaults.C (read):
14916 * MenuBackend.C (read): allow escaping in all strings
14918 * BufferView_pimpl.C (insertAndEditInset): new method.
14919 (Dispatch): use insertAndEditInset whenever appropriate.
14921 * BufferView_pimpl.C (insertNote): removed
14923 * BufferView_pimpl.C (smartQuote): new method, moved from
14924 BufferView; if an insetquote cannot be inserted, insert a '"'
14927 * BufferView2.C: remove insertCorrectQuote();
14929 * lyxfunc.C (getStatus): Add support for all remaingin
14930 inset-insert lfuns.
14932 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14934 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14935 command (necessary to pass " as parameter of self-insert.
14937 * text.C (selectWordWhenUnderCursor):
14938 (selectWord): add word_location parameter
14939 (selectWordWhenUnderCursor): same + remove special code for word
14941 (selectNextWord): use kind() to guess type of insetspecialchar,
14944 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14945 (insertErtContents): create ert insets as collapsed.
14946 (readInset): better compatibility code for Info inset.
14948 2001-07-20 Juergen Vigna <jug@sad.it>
14950 * lyxfunc.C (dispatch): use always LyXFind now!
14952 * text2.C (init): add a reinit flag so that the LyXText can be
14953 reinited instead of deleted and reallocated (used in InsetText).
14955 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14961 2001-07-18 Juergen Vigna <jug@sad.it>
14963 * text.C (selectNextWord): handle insets inside inset by calling
14964 always the bv->text functions so that we can go up the_locking_inset!
14966 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14967 in strange locations when inside an inset!
14969 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14970 handling to include insets.
14972 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14974 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14976 * LyXAction.C (init):
14978 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14979 LIGATURE_BREAK, since the name is so stupid.
14981 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14983 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14986 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14988 * sp_form.[Ch]: remove.
14990 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14992 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14995 * src/buffer.C (readInset): ditto.
14997 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14999 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15000 menuSeparator(), endOfSentenceDot(), ldots() and
15001 hyphenationPoint(), which are therefore removed.
15002 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15004 * LyXAction.C (init):
15005 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15007 * paragraph.C (getWord): removed.
15009 * BufferView_pimpl.C (Dispatch): use last word or selection for
15010 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15012 * lyx_main.C (queryUserLyXDir): do not ask before creating
15013 user_dir, except if it has been named explicitely.
15015 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15017 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15018 a document of zero size.
15020 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15022 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15023 approriately in the c-tor and in require().
15024 (getPackages): output the appropriate LaTeX for natbib support.
15026 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15027 variables "use_natbib" and "use_numerical_citations" when reading the
15029 (readInset): read the various natbib cite commands.
15030 (validate): white-space change.
15032 * bufferparams.[Ch]: new variables "bool use_natbib" and
15033 "bool use_numerical_citations".
15034 (writeFile): output them in the LyX file.
15036 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15038 * lyxfunc.C (getStatus): add support for all the inset insertion
15041 * text2.C (insertInset):
15042 * paragraph.C (insetAllowed):
15043 * BufferView_pimpl.C (insertInset): update to take in account the
15044 renaming of insertInsetAllowed
15046 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15048 * text2.C (getInset): new method. returns inset at cursor position.
15050 * BufferView_pimpl.C (Dispatch): changes because of this.
15052 * LyXAction.C (init): rename open-stuff to inset-toggle.
15054 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15056 * text2.C (toggleInset): renamed from openStuff; use
15059 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15061 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15063 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15065 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15067 * buffer.C (readLyXformat2): Add filename to the error dialog
15069 2001-07-18 Juergen Vigna <jug@sad.it>
15071 * tabular.C (GetCellNumber): put an assert here instead of the check!
15073 2001-07-17 Juergen Vigna <jug@sad.it>
15075 * BufferView_pimpl.C (toggleSelection): adapted too.
15077 * text.C (selectNextWord): adapted for use with insets.
15078 (selectSelectedWord): ditto
15080 2001-07-17 Juergen Vigna <jug@sad.it>
15082 * sp_spell.C (PSpell): fix initialitation order.
15084 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15086 * paragraph.C: spacing
15088 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15090 * sp_spell.C: repair language selection for pspell
15092 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15094 * lyxfunc.h: change more methods to begin with lower char.
15096 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15098 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15099 for unknown layouts.
15101 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15103 * buffer.C (readLyXformat2): Generate an error dialog if there are
15106 2001-07-16 Juergen Vigna <jug@sad.it>
15108 * sp_spell.C: always compile ISpell part.
15110 * lyxrc.C: added use_pspell entry and it's handling.
15112 2001-07-13 Juergen Vigna <jug@sad.it>
15114 * sp_spell.C: removed double includes.
15116 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15118 Consistent use of Lsstream.h:
15119 * Lsstream.h: added using std::stringstream for consistencies sake.
15121 * buffer.C: removed using std::stringstream
15123 * lyxfont.C (stateText):
15124 * paragraph.C (asString):
15125 * text.C (selectNextWord, selectSelectedWord):
15126 * text2.C (setCounter):
15127 * vspace.C (asString, asLatexString):
15128 std::ostringstream -> ostringstream.
15130 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15132 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15133 * commandtags.h: add LFUN_HELP_ABOUTLYX
15134 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15136 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15138 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15140 * lyx_gui_misc.C: remove spellchecker
15141 * lyxfunc.C: showSpellchecker
15143 * sp_ispell.h: added
15144 * sp_pspell.h: added
15145 * sp_spell.C: added
15146 * sp_form.[Ch]: removed
15147 * spellchecker.[Ch]: removed
15149 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15151 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15153 (simpleTeXSpecialChars): Simply print the input character without
15154 any special translation if pass_thru is set.
15156 * layout.h: Added bool pass_thru to layout class for being able to
15157 implement pass through of a paragraph for Literate Programming.
15159 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15160 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15161 * layout.C (Read): add "passthru" to list of layout tags and add
15162 code to set the pass_thru boolean when it is read.
15164 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15166 * trans_decl.h: remove allowed from KmodInfo
15168 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15169 remove allowed code
15172 * paragraph_pimpl.C (erase): use boost::prior
15174 * Painter.C (text): use data() instead of c_str() when length is
15176 * WorkArea.C (putClipboard): ditto
15177 * font.h (width): ditto
15179 * BufferView2.C: use it-> instead of (*it). for iterators
15181 * paragraph_pimpl.C: ditto
15182 * paragraph.C: ditto
15183 * minibuffer.C: ditto
15184 * language.C: ditto
15186 * encoding.C: ditto
15187 * counters.C: ditto
15188 * converter.C: ditto
15190 * Variables.C: ditto
15191 * TextCache.C: ditto
15192 * MenuBackend.C: ditto
15193 * LyXAction.C: ditto
15195 * FloatList.C: ditto
15196 * DepTable.C: ditto
15197 * ColorHandler.C (LyXColorHandler): ditto
15199 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15201 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15203 * text2.C (openStuff): reintroduce this method (which had been
15204 nuked in NEW_INSETS frenzy).
15206 * lyxfunc.C (Dispatch): when an action has not been handled, use
15207 its name in the error message, not its number.
15209 * paragraph.C (inInset): change method name to begin with lowercase.
15212 * text2.C: updates because of this.
15214 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15216 * ToolbarDefaults.C (add): add spaces in error message
15218 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15220 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15221 (readLyXformat2): rename return_par to first_par, use lyxlex's
15222 pushToken and remove the manual push handling.
15223 (parseSingleLyXformat2Token): add another ert comp. variable:
15224 in_tabular, rename return_par to first_par. handle newlines better
15226 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15228 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15230 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15232 * text2.C (getParFromID): removed
15234 * buffer.C (getParFromID): new method moved form lyxtext.
15235 * BufferView2.C (insertErrors): adjust
15236 (setCursorFromRow): adjust
15237 * BufferView_pimpl.C (restorePosition): adjust
15238 * lyxfunc.C (Dispatch): adjust
15239 * undo_funcs.C (textUndo): adjust
15241 (textHandleUndo): adjust
15242 (textHandleUndo): adjust
15244 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15246 * buffer.C: up' the LYX_FORMAT
15248 * lyxfont.h: turn NO_LATEX on as default
15250 * buffer.C (insertErtContents): new methods of tex style compability.
15251 (parseSingleLyXformat2Token): use it several places.
15252 * tabular.C (OldFormatRead): and here
15254 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15256 * text2.C: remove some commented code.
15259 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15260 * trans.C: changes because of the above.
15262 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15264 * text2.C (setCounter): Fix counters bug with bibliography layout.
15266 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15268 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15269 own member functions
15270 (simpleTeXSpecialChars): ditto
15272 2001-07-06 Juergen Vigna <jug@sad.it>
15274 * a lot of files: changed the access to LyXText::status and the
15275 call of undo-functions.
15277 * undo.[Ch]: added a inset_id to the undo informations.
15279 * undo_funcs.[Ch]: added and moved here all undo functions.
15281 * lyxtext.h: give the status enum a weight, made status_ a private
15282 variable and made accessor functions for it, removed the whole bunch
15283 of undo-functions as they are now in their own file, make some
15284 functions publically available. Added function ownerParagraph with
15287 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15288 made InInset() a const function, added getParFromID() function.
15290 * buffer.[Ch]: added const version for inset_iterator functions,
15291 added getInsetFromID() function.
15293 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15294 changed undo functions for new version.
15296 2001-07-05 Juergen Vigna <jug@sad.it>
15298 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15299 unknow mechanism does not call the proper constructor but only this
15300 one also if I request the other!?
15302 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15304 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15306 * text2.C (LyXText): use initialization lists.
15308 * lyxtext.h (Selection): initialize set_ and mark_
15309 (init): remove method
15311 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15313 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15315 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15317 * screen.[Ch]: change method names to begin with lowercase
15319 * BufferView_pimpl.C (updateScrollbar): simplify further and
15320 hopefully make it a bit faster.
15322 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15324 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15325 calling directly xforms functions.
15327 * Painter.C (Painter):
15328 * lyx_cb.C (MenuWrite):
15329 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15332 * lyx_gui.C: remove bogus guiruntime extern declaration.
15334 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15336 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15338 (redoDrawingOfParagraph): ditto
15339 (redoParagraphs): ditto
15340 (cutSelection): don't create a object for CutAndPaste use the
15341 static method directly
15342 (pasteSelection): ditto
15344 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15347 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15349 * modifications to some other files because of this.
15351 * Makefile.am (lyx_SOURCES): add XFormsView
15353 * XFormsView.[Ch]: new files
15355 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15356 the main window. Move the gui dependent stuff to XFormsView
15358 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15360 * tabular.C (GetCellInset): update cur_cell also in the row/col
15361 version of this function.
15363 * lyxfunc.C: no need to include figure_form.h here.
15369 * lyxvc.C: no need to include forms.h here.
15371 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15373 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15375 * lyxfunc.C (Dispatch):
15377 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15378 constructor argument.
15380 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15382 * paragraph.C (Paragraph): dont't clear, and just set layout.
15383 (makeSameLayout): use params's copy contructor.
15385 * ParagraphParameters.[Ch] (makeSame): delete method
15387 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15389 * Variables.[Ch]: fix indentation, rename set to isSet
15391 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15393 * lyxfunc.C (Dispatch): fix typo
15395 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15400 * bufferlist.C: include assert.h for emergencyWrite().
15402 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15404 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15405 give up at last (bug #425202) !
15407 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15413 * spellchecker.C: strip spellchecker options and bring up
15414 preferences tab instead
15416 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15418 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15419 the istringstream constructor
15421 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15423 * paragraph.C (getLayout): fix return value
15425 * paragraph.h: do not declare getLayout as inline.
15427 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15429 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15431 * lyxcursor.h (operator<): new func
15432 (operator>): new func
15433 (operator>=): new func
15434 (operator<=): new func
15436 * text.C (changeCase): use selection.start and selection.end
15437 (changeRegionCase): require from to be <= to. Require par to be a
15440 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15442 2001-06-27 Juergen Vigna <jug@sad.it>
15444 * text.C (cursorLeftOneWord): changed to return the cursor and added
15445 overlay with BufferView * parameter which calls this one.
15447 (selectWord): use new getWord function.
15448 (changeCase): renamed from changeWordCase as and extended to work
15449 also on selections.
15451 * lyxtext.h: added enum word_location
15453 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15454 changeCase as this operates now also on selections.
15456 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15458 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15460 * many files: send debug output to Debug::INFO instead of
15463 * converter.C (View):
15465 (Move): send debug output to Debug::FILES instead of console.
15467 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15469 * lyxfunc.C (getStatus): use func_status
15471 * func_status.h: new header, describing the results of
15472 LyXFunc::getStatus;
15474 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15477 2001-06-25 The LyX Project <jug@sad.it>
15479 * buffer.C (sgmlOpenTag):
15481 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15483 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15485 * text2.C: remove some dead code
15487 * tabular.C (GetCellInset): store the last cell checked (gotten)
15489 * tabular.h: add the helper for the speedup
15491 * lyxtext.h: remove some dead code
15493 2001-06-26 The LyX Project <Asger>
15495 * paragraph.C: Change export to LaTeX of alignment to
15496 \begin{center} and family for better roundtrip work with reLyX.
15498 * Tune the math drawing a bit.
15500 2001-06-25 The LyX Project <Asger>
15502 * LColor.C (LColor): New color for math background. New color
15505 2001-06-25 The LyX Project <jug@sad.it>
15507 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15509 * lyxfunc.C (Open):
15510 * bufferlist.C (newFile): do not restrict to files ending with
15513 * BufferView_pimpl.C (MenuInsertLyXFile):
15515 2001-06-24 The LyX Project <jug@sad.it>
15517 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15520 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15522 * lyxtext.h: rename most methods to begin with a small char.
15523 Lots of changes because of this.
15525 * paragraph.C (Paragraph): do not call fitToSize
15526 (erase): call Pimpl::erase
15527 (insertChar): call Pimpl::insertChar
15528 (insertInset): call Pipl::insertInset
15529 (breakParagraph): do not call fitToSize
15530 (breakParagraphConservative): do not call fitToSize
15531 (fitToSize): remove method
15533 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15535 2001-06-24 The LyX Project <Asger>
15537 * Fix Qt compilation^2
15539 2001-06-24 The LyX Project <jug@sad.it>
15541 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15542 depthHook(getDepth()-1).
15545 * ParagraphParameters.h:
15546 * ParameterStruct.h: change type of depth to unsigned int ==
15547 depth_type. Many adaptations to other files before of that.
15549 2001-06-24 The LyX Project <Asger>
15551 * Fix Qt compilation.
15553 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15555 * paragraph.h: renamed several methods to begin with small letter.
15556 several changes to many parts of the code because of this.
15558 2001-06-23 The LyX Project <jug@sad.it>
15560 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15561 rewritten to discard all double spaces when KeepEmpty is off
15562 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15563 to only handle newlines but not fiddle with spaces and friends.
15565 * lyxfunc.C (MenuNew): when doing 'new from template', use
15566 template_path as default directory
15568 2001-06-23 The LyX Project <Asger>
15570 * Clean-up of header file includes all over
15571 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15573 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15575 * paragraph.h: renamed from lyxparagraph.h
15577 2001-06-23 Asger <lyx@violet.home.sad.it>
15579 * Buffer.h: Removed Buffer::resize
15580 * BufferList.h: Removed BufferList::resize
15581 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15582 the document lazily when we change the width, or the font settings.
15584 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15586 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15588 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15590 * buffer.h: remove out of date comment
15592 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15595 * screen.C: fix "theoretical" GC leak
15597 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15599 * LaTeX.C (scanAuxFile):
15600 (deplog): remove trailing \r when reading stream (useful under
15603 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15605 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15606 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15607 and BufferView::theLockingInset(Inset*), so should use them and not
15608 access bv_->text->the_locking_inset directly.
15610 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15612 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15615 * tex-defs.h: remove old unused file
15617 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15619 * BufferView_pimpl.C: fix typo, remove minibuffer message
15620 when buffer has loaded
15622 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15624 * lyxfunc.C (Dispatch): use stringstream
15625 (MenuNew): use stringstream
15626 (Open): use stringstream
15628 * importer.C (Import): use stringstream
15630 * bufferview_funcs.C (CurrentState): use stringstream
15632 * LaTeX.C (run): use stringstream
15634 * BufferView_pimpl.C (savePosition): use stringstream
15635 (restorePosition): use stringstream
15636 (MenuInsertLyXFile): use stringstream
15638 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15651 * vspace.C: removed // -*- C++ -*- as first line.
15654 * version.h: added // -*- C++ -*- as first line.
15656 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15658 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15660 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15663 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15665 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15668 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15670 * gettext.C: include LString.h even when --disable-nls is on.
15672 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15674 * converter.h (Get): changed argument type from int to
15675 FormatList::size_type to avoid unnecessary conversion.
15677 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15680 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15682 * gettext.h: include LString.h even when --disable-nls is on.
15684 2001-06-07 Juergen Vigna <jug@sad.it>
15686 * text.C (BreakAgain): subst spaces with tabs.
15688 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15689 (resizeInsetsLyXText): set force on resizeLyXText.
15691 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * gettext.h (gettext_init):
15694 (locale_init): use a real definition instead of a macro
15696 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15698 * Bufferview_pimpl.C:
15700 * LColor.C: further lcolor tidies
15702 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15704 * BufferView_pimpl.C (updateScrollbar): simplify.
15706 * BufferView2.C: don't include insets/insetinfo.h, change
15707 prototype for insertInset and call the Pimpl version. let
15708 updateInset call Pimpl version.
15710 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15711 gotoInset to BufferView::Pimpl
15713 2001-06-01 Juergen Vigna <jug@sad.it>
15715 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15716 inside a LockingInset (is the update needed at all?).
15718 2001-05-31 Juergen Vigna <jug@sad.it>
15720 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15721 here not the old one otherwise how should we compare it afterwards
15724 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15729 * FontInfo.C: bring C functions into global namespace when
15732 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15734 * LString.h: make sure config.h has been loaded before LString.h.
15736 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15737 (one for each char read by EatLine!).
15739 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15742 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15744 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15745 to the same as the par we break from
15747 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15749 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15751 * MenuBackend.C (expand): also create menu entries for wide
15752 versions of the floats.
15754 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15756 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15758 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15759 frontends/Makefile.am
15765 * tabular.C (getTokenValue): add std::
15767 * tabular-old.C (getTokenValue): add std::
15768 (getTokenValue): ditto
15769 (getTokenValue): ditto
15771 * screen.C (ToggleSelection): adjust
15773 * lyxtext.h: put selection cursors inside a Selection struct.
15775 * lyxfunc.C (moveCursorUpdate): adjust
15777 * lyxfont.C (latexWriteStartChanges): add std::
15779 * lyxfind.C: adjust
15781 * font.h: delete with(char const *, LyXFont const &)
15783 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15785 * FontInfo.C (getFontname): add std::
15787 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15788 (workAreaButtonPress): adjust
15789 (tripleClick): adjust
15791 (moveCursorUpdate): adjust
15794 * BufferView2.C (gotoInset): adjust
15796 2001-05-30 Juergen Vigna <jug@sad.it>
15798 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15799 to check pspell I add this as default as I now have new pspell
15800 libraries and they seem to use this.
15802 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15804 * text2.C (CutSelection): make the cursor valid before the call to
15807 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15809 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15810 relied on 0 terminated strings and other horrors. Bug found due to
15811 the new assert in lyxstring!
15813 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15816 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15818 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15821 * lyxfunc.C (processKeySym): change method of getting to the
15824 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15825 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15826 * BufferView_pimpl.[Ch]: here as private methods.
15828 2001-05-28 Juergen Vigna <jug@sad.it>
15830 * text.C (SetHeightOfRow): added the update() call again as it is
15831 needed to initialize inset dimensions!
15833 2001-05-16 Juergen Vigna <jug@sad.it>
15835 * text2.C (SetCharFont): Add new function with BufferView * and
15836 bool toggleall parameters for setting insets internal fonts.
15837 (SetFont): Freeze the undo as we may change fonts in Insets and
15838 all this change should be inside only one Undo!
15840 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15841 setting font's in insets as for them we have the SetFont function!
15843 2001-05-15 Juergen Vigna <jug@sad.it>
15845 * text2.C (ClearSelection): to be sure we REALLY don't have any
15848 * tabular.C (TeXCellPreamble): fixed the left border problem for
15851 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15853 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15856 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15858 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15859 LFUN_BREAKPARAGRAPH.
15861 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15862 help test to "internal only", similar for LFUN_INSERT_URL
15864 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15865 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15866 auto_region_delete and deadkeys.
15868 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15871 * LColor.C: remove some dead entries, tidy a little
15873 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15875 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15877 (Dispatch): implement LFUN_ESCAPE
15879 * commandtags.h: add LFUN_ESCAPE
15881 * LyXAction.C (init): add entry for LFUN_ESCAPE
15883 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15884 Remove commented code.
15885 (insertNote): moved here
15886 (open_new_inset): moved here
15888 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15891 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15893 * kbmap.C (findbinding): clean it up and make it work correctly.
15895 * lyx_main.C (init): do not pass argc and argv as parameters
15897 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15899 * buffer.C: fix path for OS/2 & Win32
15903 * lyx_main.C: Added os:: class.
15905 * os2_defines.h: update
15907 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15909 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15910 better by trying again with reduced state.
15912 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15914 * lyxrc.C (read): print error about invalid key sequence only when
15915 debugging (because not all latinX keysyms are known to some X
15918 * kbsequence.C (getiso): add a few std:: qualifiers
15919 (getiso): comment out extra return statement.
15921 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15923 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15925 (Dispatch): enhance the accent inset a bit. (not perfect)
15927 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15929 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15931 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * bufferlist.C (emergencyWrite): fix assert() call
15935 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15937 * text.C (InsertChar): Added trivial patch to only send the "you
15938 can not do multiple spaces this way" message once during a
15941 2001-05-08 Baruch Even <baruch@lyx.org>
15943 * Makefile.am: Changed order of libraries to get LyX to link properly
15944 with the gnome frontend.
15946 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15948 * LaTeXFeatures.h: add a std:: qualifier
15950 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15952 * paragraph.C (String): use stringstream
15954 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15956 * paragraph.C (writeFile): remove footflag arg
15958 * buffer.C (makeLaTeXFile): use stringstream
15959 (latexParagraphs): remove footnot gurba
15961 * LaTeXFeatures.C (getPackages): use stringstream
15962 (getMacros): likewise
15963 (getTClassPreamble): likewise
15964 (getFloatDefinitions): new method
15966 * paragraph.C (writeFile): reindent
15969 * WorkArea.h: revert the xpos + etc changes.
15971 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15973 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15975 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15976 (pasteSelection): likewise
15977 * text2.C (CreateUndo): likewise
15979 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15981 * minibuffer.C (peek_event): temporarily reduce the functionality
15982 of the minibuffer (to allow args on lfuns)
15984 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15985 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15987 * buffer.C (readInset): add compability reading of old float
15988 lists, add reading of new style float list.
15989 (readInset): avoid reevaluation of inscmd.getCmdName()
15990 (getLists): reindent
15992 * MenuBackend.C (MenuItem): implement parsing of
15993 md_floatlistinsert and md_floatinsert.
15994 (expand::LastFiles): move initalizaton of iterators out of loop,
15995 avoid reevaluation.
15996 (expand::Documents): introduce typdedef vector<string> Strings,
15998 (expand::ExportFormats): introduce typedef vector<Format const *>
15999 Formats, and use it.
16000 (expand): implement FloatListInsert and FloatInsert.
16002 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16003 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16004 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16006 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16008 (Dispatch::LFUN_FLOAT_LIST): implement
16010 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16012 * LaTeX.C (run): Fix problem with --export code.
16014 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16016 * BufferView.[Ch] (workarea): removed.
16017 (getClipboard) new method; wrapper for workarea()->getClipboard()
16019 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16022 * WorkArea.h (width, height, xpos, ypos): These methods all
16023 returned the dimensions of the work_area sub-area of WorkArea,
16024 resulting in a position error if the WorkArea were resized. Now
16025 return the dimensions of the entire WorkArea.
16027 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16029 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16031 * LaTeX.C (deplog): correct the syntax of regex reg1
16033 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16035 * undo.C: remove !NEW_INSETS cruft
16037 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16039 * text2.C: remove !NEW_INSETS cruft
16041 * text.C: remove !NEW_INSETS cruft
16043 * tabular.C: remove !NEW_INSETS cruft
16045 * spellchecker.C: remove !NEW_INSETS cruft
16047 * lyxtext.h: remove !NEW_INSETS cruft
16049 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16051 * lyxfunc.C: remove !NEW_INSETS cruft
16053 * lyxfind.C: remove !NEW_INSETS cruft
16055 * lyx_cb.C: remove !NEW_INSETS cruft
16057 * figureForm.C: remove !NEW_INSETS cruft
16059 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16061 * buffer.[Ch]: remove !NEW_INSETS cruft
16063 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16065 * CutAndPaste.C: remove !NEW_INSETS cruft
16067 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16069 * BufferView2.C: remove !NEW_INSETS cruft
16071 * BufferView.h: remove !NEW_INSETS cruft
16073 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16075 * Lsstream.h: include LString.h before the sstream headers to
16076 fix problem with gcc 2.95.3 and lyxstring
16078 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16080 * lyx_main.C: add using directives when needed for C functions
16081 declared in std:: namespace.
16083 2001-04-27 Juergen Vigna <jug@sad.it>
16085 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16086 (SetHeightOfRow): comment out the update call should not be needed!
16088 2001-04-13 Juergen Vigna <jug@sad.it>
16090 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16091 (LyXTabular): tried to minimize operator= operations (and realized
16092 hopfully Lars wish).
16094 2001-04-27 Juergen Vigna <jug@sad.it>
16096 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16098 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16100 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16102 * buffer.C (readInset): hack to make listof algorithm work
16104 * BufferView_pimpl.C: hack to make listof algorithm work
16106 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16108 * LyXAction.C: removed all !NEW_INSETS cruft
16109 (init): moved lfun_item in method
16111 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16113 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16115 * BufferView2.C (theLockingInset): white space.
16117 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16119 * minibuffer.C: include <iostream>
16121 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16123 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16125 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16127 * text.[Ch] (TransposeChars): new method
16129 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16131 * call message directly through LyXView instead of through LyXFunc
16132 * BufferView2.C: adjust
16133 * BufferView_pimpl.C: adjust
16134 * FontLoader.C: adjust
16136 * bufferview_funcs.C: adjust
16137 * converter.C: adjust
16138 * figureForm.C: adjust
16139 * importer.C: adjust
16141 * lyx_gui_misc.C: adjust
16142 * lyxfunc.C: adjust
16145 + more files in subdirs
16147 * lyxparagraph.h (size): move up int file
16150 * adjust all uses of Assert to lyx::Assert.
16152 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16153 lyxfunctional in namespace lyx
16154 * layout.C (hasLayout): ditto
16157 (delete_layout): ditto
16158 (NumberOfClass): ditto
16159 * converter.C (GetFormat): ditto
16164 * bufferlist.C (getFileNames): ditto
16165 (emergencyWriteAll): ditto
16168 * MenuBackend.C (hasSubmenu): ditto
16171 * BufferView_pimpl.C (getInsetByCode): ditto
16173 2001-04-18 Juergen Vigna <jug@sad.it>
16175 * vspace.C (asLatexString): fixed the 100% problem.
16177 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16179 * lyxfunc.C (Dispatch):
16181 * minibuffer.h: add a few std:: qualifiers
16183 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16185 * minibuffer.[Ch]: reimplement so that commands is initiated and
16186 run from lyxfunc, simplified som handling, and made the completion
16187 and history code for complete. wip.
16189 * lyxfunc.C (processKeySym): call message
16190 (miniDispatch): new temporary method
16191 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16192 (LFUN_MESSAGE): implement
16193 (LFUN_MESSAGE_PUSH): implement
16194 (LFUN_MESSAGE_POP): implement
16195 (initMiniBuffer): the initial/defualt minibuffer message.
16197 * lyxfont.[Ch]: inline some more getters
16199 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16201 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16203 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16204 (AutoSave): use LFUN_MESSAGE
16205 (Reconfigure): ditto
16207 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16209 * figureForm.C: use LFUN_MESSAGE
16211 * converter.C (runLaTeX): use LFUN_MESSAGE
16213 * bufferview_funcs.C: use LFUN_MESSAGE
16215 (changeDepth): ditto
16217 * bufferparams.h: use boost::
16219 * bufferlist.h: inherit privately from noncopyable
16221 * bufferlist.C (loadLyXFile): remove some commented code.
16223 * buffer.C (runChktex): use LFUN_MESSAGE
16225 * ShareContainer.h: inherit privately from noncopyable
16227 * ParagraphParameters.[hC] (depth): inline it.
16229 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16231 (message): new method
16232 (messagePush): ditto
16233 (messagePop): ditto
16234 (show): init minibuffer
16235 (showState): direct call
16237 * LaTeX.[Ch]: inherit privately from noncopyable
16238 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16239 instead of WriteStatus.
16241 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16243 * BufferView_pimpl.C (buffer): don't init minibuffer
16244 (workAreaButtonPress): use LFUN_MESSAGE
16245 (workAreaButtonRelease): ditto
16246 (savePosition): ditto
16247 (restorePosition): ditto
16248 (MenuInsertLyXFile): ditto
16249 (workAreaExpose): don't init minibuffer
16250 (update): remove commented code, simplify
16252 * BufferView2.C (openStuff): use LFUN_MESSAGE
16253 (toggleFloat): ditto
16256 (copyEnvironment): ditto
16257 (pasteEnvironment): ditto
16262 (updateInset): remove some commented code
16264 * lastfiles.h: inherit privately from noncopyable
16267 * lyx_main.h: ditto
16269 * lyxlex_pimpl.h: ditto
16271 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16272 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16273 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16275 * LyXAction.h: inherit privately from noncopyable, add methods
16276 func_begin, func_end, returning iterators to the func map.
16278 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16279 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16280 (func_begin): new method
16281 (func_end): new method
16283 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16285 (copySelection): ditto
16286 (pasteSelection): ditto
16288 * BufferView.C: whitespace change
16289 * BufferView.h: inherit privately from noncopyable
16291 2001-04-16 Allan Rae <rae@lyx.org>
16293 * tabular-old.C (l_getline):
16294 * spellchecker.C (sc_check_word):
16295 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16296 an unrecognised preprocessor directive. So ensure they're wrapped.
16298 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16300 * src/exporter.C (Export): Give an error message when path to file
16303 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16305 * LaTeX.C (deplog): Always check that foundfile exists.
16307 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16310 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16312 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16314 * tabular.[Ch] (getLabelList): implement new method
16316 * minibuffer.h: comment ouf setTiimer
16318 * minibuffer.C (ExecutingCB): constify res
16319 (peek_event): constify s
16320 (Set): constify ntext
16321 (Init): constify nicename
16323 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16325 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16326 (savePosition): use two params to Minibuffer::Set
16327 (restorePosition): ditto
16329 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16331 * lyx_main.C: include language.h
16333 * Makefile.am (lyx_main.o): add language.h
16335 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16341 * CutAndPaste.C: include gettext.h
16343 * lyxfont.h: remove old hack with ON and OFF.
16346 * lyxfont.h: do not include language.h...
16351 * bufferview_funcs.C:
16357 * paragraph.C: ... but do it here instead
16359 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16361 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16363 * tabular.C: small reformat
16365 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16368 (BreakParagraph): ditto
16369 (SetOnlyLayout): ditto
16372 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16375 * lastfiles.C: removed most using decl, add std:: where needed
16377 * buffer.C: ws changes
16379 * MenuBackend.C (class compare_format): put into anon namespace
16380 (expand): constify label, names, action, action2
16383 * text.C (SingleWidth): constify font
16384 (IsBoundary): constify rtl2
16385 (GetVisibleRow): constify ww
16387 * LaTeX.C (deplog): constify logfile
16389 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16391 (workAreaExpose): constify widthChange, heightChange
16393 * lyxrow.C (par): moved
16396 * lyxrow.h: as inlines here
16398 * lyxfont.h (shape): moved from lyxfont.C
16399 (emph): moved from lyxfont.C
16401 * lyxfont.C (LyXFont): use initialization list for all
16403 (shape): move to lyxfont.h as inline
16404 (emph): move to lyxfont.h as inline
16407 2001-04-04 Juergen Vigna <jug@sad.it>
16409 * vspace.C: had to include stdio.h for use of sscanf
16411 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16414 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16415 independent of xforms.
16417 2001-04-02 Juergen Vigna <jug@sad.it>
16419 * spellchecker.C: fixed namespace placing!
16421 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16423 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16424 the LyXParagraph * is 0.
16426 2001-03-29 Juergen Vigna <jug@sad.it>
16428 * vspace.C: added support for %, c%, p%, l%.
16429 (stringFromUnit): added helper function.
16430 (asLatexString): changed to give right results for the %-values.
16432 * buffer.C: convert the widthp in a width%.
16434 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16436 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16439 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16440 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16442 * lyx_cb.[Ch]: see above.
16444 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16448 * lyx.[Ch]: replaced by figure_form.[Ch].
16452 * lyxfunc.C: changed headers associated with above changes.
16454 2001-03-27 Juergen Vigna <jug@sad.it>
16456 * BufferView_pimpl.C: set the temporary cursor right!
16458 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16460 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16462 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16464 * LString.h: removed "using std::getline"!
16466 * BufferView_pimpl.C (Dispatch): changes due to changes in
16467 InsetInclude::Params.
16469 * buffer.C (tag_name): removed redundant break statements as they were
16470 producing lots of warnings with my compiler.
16472 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16474 * LString.h: add "using std::getline" when using the real <string>.
16476 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16478 * buffer.C: removed bitset usage.
16479 PAR_TAG moved to an anonymous name space.
16480 (tag_name): new funtion, also in the anonymous namespace.
16481 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16482 (makeDocBookFile): clean code. Completed transition from string arrays
16484 (SimpleDocBookOnePar): code clean.
16486 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16488 * tabular.C: add some comments.
16490 2001-03-22 Juergen Vigna <jug@sad.it>
16492 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16493 compatibility read a bit and fixed bug with minipage in different
16496 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16498 * buffer.C (pop_tag): removed.
16499 (push_tag): removed.
16500 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16501 array replaced with vector. Added support for CDATA sections.
16502 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16504 (makeDocBookFile): XML conformant declaration of CDATA section,
16505 fixed bug related to <emphasis> in the first paragraph char.
16506 (sgmlOpenTag): exclude empty tags.
16507 (sgmlCloseTag): ditto.
16509 * buffer.h (pop_tag): removed.
16510 (push_tag): removed.
16512 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16514 * language.h (Languages): added size_type and size().
16516 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16518 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16519 response on compability reading of minipages. One probliem is that
16520 the old usage of minipages was «flertydig»
16522 * several files here and in subdirs: don't use static at file
16523 scope use anon namespaces instead.
16525 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16527 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16528 LaTeX output. This is necessary for Literate document
16531 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16533 * buffer.C: insert hfill when needed.
16535 * tabular.C (l_getline): use string::erase, small whitespace change.
16537 * BufferView_pimpl.C: try the anon namespace.
16538 * WorkArea.C: ditto
16540 2001-03-16 Juergen Vigna <jug@sad.it>
16542 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16543 otherwise it won't open options-dialogs.
16545 * buffer.C: honor pextraWidth(p) on converting minipages.
16547 * tabular.C (l_getline): changed the functions to strip trailing \r.
16549 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16551 * BufferView_pimpl.C:
16552 * minibuffer..C: added "using SigC::slot" declaration.
16554 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16556 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16562 * paragraph.C: ditto
16564 * lyxtext.h: NO_PEXTRA
16566 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16568 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16569 * ParameterStruct.h: ditto
16570 * ParagraphParameters.h: ditto
16571 * lyxparagraph.h: ditto
16573 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16575 * buffer.C: add compability for minipage alignment.
16576 (latexParagraphs): remove unwanted pextra check.
16578 * several files: remove CXX_WORKING_NAMESPACES
16580 * buffer.C (pop_tag): tie is in namespace boost
16582 * BufferView.h: noncopyable is in namespace boost
16584 * lyx_main.h: ditto
16587 * lastfiles.h: ditto
16588 * bufferlist.h: ditto
16589 * ShareContainer.h: ditto
16591 * LyXAction.h: ditto
16594 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16596 * Merging changes from BRANCH_MVC back into HEAD.
16598 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16600 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16602 * BufferView_pimpl.C: change from intl.C
16606 * Makefile.am: move combox.*
16612 * intl.C: remove dialog (covered by prefs)
16614 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16616 * lyxfunc.C (Dispatch): removed redundant break statement.
16618 2001-03-14 Juergen Vigna <jug@sad.it>
16620 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16622 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16624 * buffer.C: add hack to fix compability reading of minipages.
16626 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16628 * buffer.C (getLists): Cleanup.
16630 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16632 * lyxfont.C (update): don't honor toggleall on font size.
16634 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16638 * Makefile.am: moved to frontends/xforms/
16642 * BufferView_pimpl.C: changes for moved mathpanel
16644 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16646 * gettext.h: fix gettext_init() in --disable-nls
16648 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16650 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16652 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16655 * lyx.h: strip external form
16657 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16659 * BufferView_pimpl.C: add comment, destroySplash()
16661 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16663 * BufferView_pimpl.C:
16667 * lyxfunc.C: use re-worked insetinclude
16669 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16671 * buffer.C: add using std::stringstream.
16673 * lyx_cb.C: readd using std::ios.
16675 * buffer.C: add using std::map.
16677 * BufferView_pimpl.C: add using std::vector.
16679 * ShareContainer.h: add std:: to swap.
16681 * buffer.h: add some typedefs
16682 * buffer.C (getLists): use them
16683 (getLists): renamed from getTocList.
16684 add a counter for the different float types and use it in the
16686 (getLists): use the same counter for the NEW_INSETS and the "non"
16689 * lyx_cb.h: remove unused items, includes, using etc.
16691 * ShareContainer.h: remove some commented code, add more comments
16692 and "documentation".
16694 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16696 * buffer.C (getTocList): make the list also when NEW_INSETS is
16699 * buffer.h: remove TocType
16701 * buffer.C (getTocList): change to return a map<string,
16702 vector<TocItem> >, implement for dynamic number of list.
16704 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16705 * text2.C (PasteSelection): adjust
16706 * CutAndPaste.C (pasteSelection): adjust
16708 * FloatList.C (FloatList): update from the new_insets branch.
16709 * Floating.[Ch]: ditto
16710 * LaTeXFeatures.C: ditto
16712 * lyxlex_pimpl.C: ditto
16714 * paragraph.C (Last): remove when NEW_INSETS is defined.
16716 * other file: changes because of the above.
16718 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16720 * lyxparagraph.h: rename next to next_, previous to previous_,
16721 make them private for NEW_INSETS. Rename Next() to next(),
16722 Previous() to previous().
16724 * other files: changes because of the above.
16726 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16729 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16732 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16734 * main.C (main): pass lyx_localedir to gettext_init().
16736 * gettext.h: remove locale_init and gettext_init macros
16738 * gettext.C (locale_init): new function
16739 (gettext_init): new function
16741 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16744 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16746 * Moved credits to frontends:
16747 * credits.[Ch]: removed
16748 * credits_form.[Ch]: removed
16749 * lyx_gui_misc.C: remove credits stuff
16752 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16754 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16756 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16757 unneeded destructor.
16759 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16760 a standalone pointer again.
16762 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16764 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16770 * ToolbarDefaults.C:
16779 * BufferView_pimpl.C: use new file dialog in GUII
16782 * lyx_cb.C: remove LayoutsCB to Toolbar
16784 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16786 * ShareContainer.h (get): add std:: qualifier
16788 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16790 * ShareContainer.h: define a proper ShareContainer::value_type
16791 type (and use typename to please compaq cxx)
16793 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16795 * lyxparagraph.h: move serveral local vars to
16796 ParameterStruct/ParagraphParameters., use ShareContainer in
16797 FontTable., make vars in FontTable private and add getter and
16800 * paragraph.C: changes because of the above.
16802 * lyxfont.h: remove copy constructor and copy assignment. (the
16803 default ones is ok), move number inside FontBits. move inlines to
16806 * lyxfont.C: add number to initializaton of statics, move several
16807 inlines here. constify several local vars. some whitespace
16808 cleanup. Dont hide outerscope variables.
16810 * Spacing.h: add two new constructors to match the set methods.
16812 * ShareContainer.h: new file, will perhaps be moved to support
16814 * ParameterStruct.h: new file
16816 * ParagraphParameters.h: new file
16818 * ParagraphParameters.C: new file
16820 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16821 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16823 * BufferView_pimpl.C: ParagraphParameter changes.
16824 * buffer.C: Likewise.
16825 * bufferview_funcs.C: Likewise.
16826 * text.C: Likewise.
16827 * text2.C: Likewise.
16829 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * lyxfind.C (LyXReplace): do not redefine default argument in
16833 (IsStringInText): ditto
16834 (SearchForward): ditto
16835 (SearchBackward): ditto
16837 2001-03-06 Juergen Vigna <jug@sad.it>
16839 * lyxfind.C (IsStringInText): put parentes around expressions.
16841 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16843 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16845 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16847 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16849 * stl_string_fwd.h: add comment
16851 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16854 * tabular.C: remove unused DocBook methods
16860 killed DO_USE_DEFAULT_LANGUAGE
16862 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16864 * lyx_gui.C: do not include language.h.
16866 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16867 arguments in function implementation.
16869 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16871 * BufferView_pimpl.C: add <ctime>
16873 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16875 * BufferView_pimpl.C: add using std::find_if
16877 2001-02-27 José Matos <jamatos@fep.up.pt>
16879 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16882 2001-02-11 José Matos <jamatos@fep.up.pt>
16884 * buffer.C (makeDocBookFile): command styles now have a parameter as
16885 "title" by default.
16887 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16889 * layout_forms.[Ch]: removed
16890 * lyx_cb.[Ch]: out character
16891 * lyx_gui.C: out character
16892 * lyx_gui_misc.C: out character
16893 * bufferview_funcs.C: : out character,
16894 added toggleall as parameter in ToggleAndShow
16896 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16898 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16900 * text2.C (SetCurrentFont): Disable number property at boundary.
16902 2001-02-26 Juergen Vigna <jug@sad.it>
16904 * lyxfunc.C (getStatus): added a string argument override function so
16905 that this is correctly called from LyXFunc::Dispatch if it contains a
16906 do_not_use_argument which is used!
16907 (Dispatch): added check for "custom" export and call appropriate func.
16909 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16911 * lyxrc.C: Add language_command_local, language_use_babel and
16912 language_global_options.
16914 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16916 * buffer.C (makeLaTeXFile): Use language_use_babel and
16917 language_global_options.
16919 2001-02-23 Juergen Vigna <jug@sad.it>
16921 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16922 which works with LyXText and putted it inside BufferView. Here now we
16923 only call for that part the BufferView::Dispatch() function.
16925 * BufferView.C (Dispatch): added.
16927 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16928 functions which needs to use a LyXText over from LyXFunc.
16929 (MenuInsertLyXFile): added
16930 (getInsetByCode): added
16931 (moveCursorUpdate): added
16932 (static TEXT): added
16934 2001-02-22 Juergen Vigna <jug@sad.it>
16936 * BufferView_pimpl.C (update): call a status update to see if LyXText
16939 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16941 * vc-backend.C (revert): implement for CVS
16942 (getLog): implement for CVS
16944 2001-02-20 Juergen Vigna <jug@sad.it>
16946 * text2.C (ClearSelection): added BufferView param for inset_owner call
16948 * lyxfunc.C (TEXT): added this function and use it instead of
16949 directly owner->view()-text of getLyXText().
16951 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16953 * src/layout_forms.C: out preamble
16954 * src/layout_forms.h: out preamble
16955 * src/lyx_cb.C: out preamble
16956 * src/lyx_cb.h: out preamble
16957 * src/lyx_gui.C: out preamble
16958 * src/lyx_gui_misc.C: out preamble
16959 * src/lyxfunc.C: connect with guii preamble
16961 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16963 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16965 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16967 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16968 whether to run bibtex.
16970 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16972 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16974 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16976 * Makefile.am (lyx_SOURCES): removed bibforms.h
16978 * vspace.h: doxygen
16980 * text.C (GetVisibleRow): make several local vars const
16982 * tabular.C: small cleanup.
16984 * lyxserver.C (callback): use compare instead of strncmp
16986 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16987 inlines to after class or to paragraph.C
16989 * lyxfont.h: remove friend operator!=
16991 * converter.h: move friend bool operator< to non friend and after
16994 * combox.h: small cleanup
16996 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16997 to inlines after class def.
16999 * buffer.C (pop_tag): use string operations instead of strcmp
17001 * bmtable.c: doxygen, small cleanup
17003 * LaTeX.h: remove friend operator==
17005 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17017 * BufferView_pimpl.C:
17018 * BufferView.[Ch]: remove cruft
17020 2001-02-14 Juergen Vigna <jug@sad.it>
17022 * lyxfunc.C: removed #if 0 unused code
17024 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17026 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17028 * text2.C (SetSelection): added a BufferView * parameter
17030 2001-02-13 Juergen Vigna <jug@sad.it>
17032 * lyxfunc.C (Dispatch): fixed protected blank problem.
17033 * BufferView2.C (protectedBlank): added LyxText * parameter.
17035 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17036 (AppendColumn): same as above for column_info.
17038 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17039 (moveCursorUpdate): use a LyXText param for support of InsetText.
17041 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17042 (tripleClick): ditto
17044 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17046 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17048 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17050 * text2.C (SetSelection): set correct update status if inset_owner
17051 (ToggleFree): ditto
17053 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17055 * tabular.C: remove some commented code.
17057 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17059 * BufferView_pimpl.C: call hideSplash()
17061 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17064 * bibforms.h: remove
17067 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17068 add LFUN_CHILD_CREATE
17070 * counters.h: fix tiny typo
17075 * lyx.C: move splash to frontends/xforms/
17077 * lyx_gui_misc.C: move Include and Bibform to frontends
17079 * lyxvc.h: clarify comment
17081 * vspace.C: tiny housekeeping
17083 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17085 * text.C (PrepareToPrint): RTL Fix.
17087 * paragraph.C (GetUChar): New method.
17088 (String): Use GetUChar.
17090 * buffer.C (asciiParagraph): Use GetUChar.
17092 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17094 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17096 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17099 * buffer.C: rename to getLogName(), handle
17100 build log / latex log nicely
17102 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17105 * MenuBackend.h: remove support for reference menuitem type.
17107 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17109 * BufferView_pimpl.C: housekeeping
17110 * BufferView_pimpl.h:
17115 * minibuffer.h: move Timeout GUI-I
17117 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17119 * lyxrc.C (read): Update converters data-structures.
17121 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17123 * LaTeX.h (operator!=): add operator != for Aux_Info
17125 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17127 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17129 * LaTeXLog.C: deleted, useful code moved to Buffer
17132 * buffer.C: new function getLatexLogName()
17138 * lyxfunc.C: use frontends for LaTeX and VC logs
17140 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17142 * LaTeX.h: yet another std:: that Allan forgot.
17144 * Variables.C (set): renamed from isset(), because this clashes
17145 with some HP-UX macros (grr).
17147 2001-02-06 Allan Rae <rae@lyx.org>
17149 * LaTeX.h: Another bug fix. Missing std:: this time.
17151 2001-02-04 Allan Rae <rae@lyx.org>
17153 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17154 floats problem. I've left it commented out because it's not quite
17155 correct. It should also test that the current object is a table or
17156 figure inset. But I haven't gotten around to figuring out how to do
17157 that. I *think* it'll be something like: "table" == inset.type()
17159 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17162 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17164 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17165 all the citation/databases/styles in the auxilary file.
17166 (run): Rerun latex if there was a babel language error.
17168 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17170 * text.C (Backspace): Preserve the font when changing newline char
17172 (BreakParagraph): If the cursor is before a space, delete the space.
17174 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17176 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17178 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17179 new argument (code).
17180 (ChangeCitationsIfUnique): New method.
17182 * paragraph.C (GetPositionOfInset): Handle bibkey.
17184 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17186 * BufferView_pimpl.h: change type of Position::par_pos to
17187 LyXParagraph::size_type.
17189 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17191 * BufferView_pimpl.C (savePosition, restorePosition): Write
17192 messages to minibuffer.
17194 2001-01-28 José Matos <jamatos@fep.up.pt>
17196 * buffer.C (makeDocBookFile): adds support for document language.
17197 A silly restriction on the name of LatexCommand types where removed.
17198 Added support for CDATA sections, allows to chars unescaped, used
17199 among others in code, to avoid escape < and >.
17201 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17203 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17204 saved positions instrad of a stack. Furthermore, a position is
17205 stored using paragraph id/paragraph position.
17207 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17208 Remove LFUN_REF_BACK.
17210 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17212 * converter.C (dvipdfm_options): New method.
17214 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17216 * vspace.C (isValidLength): Fix for empty input string.
17218 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17220 * LyXAction.C (init): change description of LFUN_FIGURE to
17223 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17225 * LaTeX.C: add using directive
17227 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17229 * MenuBackend.C (expand): Fix the sorting of the formats.
17231 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17233 * lyx_main.C: tiny error message fix
17235 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17237 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17238 calling fl_initialize(). This fixes the problem with ',' as
17239 decimal separator in text files.
17241 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17243 * trans.C (process): Fix the keymap bug.
17245 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17247 * LaTeX.C (scanAuxFiles): New method. Provides support for
17248 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17249 (scanLogFile) Scan for "run BibTeX" messages.
17251 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17252 OT1 font encoding. Also, load the aecompl package if the ae
17255 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17257 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17259 * texrow.C (increasePos): turn two error messages into debug
17262 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17264 * LaTeX.C (scanAux): Handle the \@input macro.
17265 (runBibTeX): Use scanAux().
17267 * language.C (latex_options_): New field.
17269 * LaTeXFeatures.C (getMacros): Add language macros.
17271 * buffer.C (makeLaTeXFile): Small fix.
17273 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17275 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17277 * text2.C: add a using directive.
17279 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17284 * lyxfunc.C: kill LyXBell.
17286 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17288 * text.C (IsBoundary): Remove the error message
17290 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17292 * lyxrc.C (setDefaults): Correct initialization value for
17295 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17297 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17300 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17301 and GotoNextNote().
17303 * src/LyXAction.C: Added reference-next.
17305 * text.C (InsertChar): Use contains instead of strchr.
17307 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17309 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17311 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17312 alignment commands (when needed).
17314 * text.C (InsertChar): Add ':' to number separator chars.