1 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * text3.C (dispatch): size() -> depth()
5 * text2.C: remove some debug output
7 * paragraph.C: ws changes only
9 * lyxfunc.C (getStatus): size() -> depth()
11 * dociterator.h (clear, push_back, pop_back, internalData,
12 operator[], resize, empty): new functions
13 Make StableDocIterator and operator== be friends. Don't inherit
14 from std::vector use a privat class variable slices_ instead.
17 * dociterator.C: update because of not inheriting from std::vector
18 anymore. Call explictly to slices_ instead. Use depth() instead of
19 size() and top() instead of back()
21 * cursor.C: chagne size() -> depth and back() -> top(). Also
22 remove some direct operator[](i) calls in favour of foo[i]
23 (getFont): remove some dead code
25 * bufferview_funcs.C (coordOffset): size() -> depth()
27 * buffer.C: ws changes only
29 * CutAndPaste.C (eraseSelection): back() -> top()
31 * BufferView_pimpl.C (selectionRequested): back() -> top()
33 * BufferView.C (setCursor): size() -> depth()
35 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
37 * text3.C (cursorPrevious): return true if depm changed something
39 (dispatch): rename sl to oldTopSlice, remove moving use the new
40 NoUpdate func attrib instead. Make sure that needsUpdate is set
41 for function that have NoUpdate, but where depm might have changed
44 * text2.C (cursorLeft): make us return true if depm changed
47 (cursorUpParagraph): ditto
48 (curosrDownParagraph): ditto
49 (cursorUp, cursorDown): ditto, make sure to read comments in code
50 (deleteEmptyParagraphMechanism): remove an assert, also return
51 true if just a single char was deleted.
53 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
54 cursor that we modify, to avoid modifying an active cursor before
55 we call setCursor. This allows depm to run. Also return true if
56 depm deleted something.
58 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
59 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
60 cursorDownParagraph, cursorPrevious and cursorNext, return true if
61 something was changed in the buffer because of them (ie. depm run)
63 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
64 debug messages. Make update by default be false. Make sure that
65 the result of update is retained throught several calls down to
68 * LyXAction.h: add a new func_attrib: NoUpdate
70 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
71 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
72 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
74 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
76 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
79 bv_->owner(), bv_->buffer() by direct references to the private
81 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
82 (getStatus): isSavedPosition() is in BufferView::Pimpl.
83 (fitCursor): center() is in BufferView::Pimpl.
84 (getStatus, trackChanges, dispatch): no need for a temporary buf
86 (fitCursor, workAreaDispatch): use workarea().workheight()
88 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
90 * CutAndPaste.C (pasteSelectionHelper): fix a crash
92 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
94 * buffer.C: format up to 241.
95 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
96 break if pasting into ERT
97 * lyxfunc.C (getStatus): suppress mathpanel and
98 LFUN_DIALOG_SHOW_NEW_INSET in ERT
100 2005-02-01 Angus Leeming <leeming@lyx.org>
102 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
104 2005-02-01 Angus Leeming <leeming@lyx.org>
106 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
107 calling fs::is_directory().
109 2005-01-31 Angus Leeming <leeming@lyx.org>
111 * lyx_main.C (priv_exec): specify explicitly the relative location
112 of the top level build directory when run in-place.
114 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
116 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
117 LyXText containing the cursor, not the top-level one.
119 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
121 (insertStringAsLines): rename par to pit; use temporary variable
122 par to hold a Paragraph; do not store par.layout() in a variable,
123 since the pointer may die when breaking paragraphs; pass pars to
124 breakParagraph() instead of Buffer::paragraphs().
126 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
128 * lyxlex_pimpl.h: #include <fstream>.
130 * BufferView.[Ch] (getLyXText): add a const version.
132 * BufferView_pimpl.C: add debug aids.
137 * paragraph_funcs.h: add commentary explaining what the class does.
140 * coordcache.[Ch]: add lots of commentary.
141 (startUpdating, doneUpdating): debug aids.
142 (arrays, insets, parPos, getParPos): accessors to private data.
144 * cursor_slice.[Ch] (text): add a const version.
145 * dociterator.[Ch] (text, innerText): add const versions.
147 * lyxtext.h (breakParagraph): change the keep_layout arg to a
150 * paragraph.C (getRow, pos2ros): add asserts.
152 * paragraph.h: add commentary. Lots of.
154 * paragraph.[Ch] (metrucs, draw): removed.
157 * rowpainter.[Ch]: const-correct changes.
159 * text.C: various obvious clean-ups. Removal of ancient cruft.
162 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
164 * vc-backend.C (find_file): rewrite to use boost.filesystem
167 * main.C (main): set default name check for boost.filesystem to
170 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
173 (actOnUpdatedPrefs): ditto
175 * lyx_main.C (init): rewrite to use boost.filesystem
176 (queryUserLyXDir): ditto
178 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
179 (getContentsOfAsciiFile): ditto
181 * lastfiles.C (readFile): rewrite to use boost.filesystem
183 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
185 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
188 * buffer.C (Buffer): adjust for destroydir
189 (getLogName): rewrite to use boost.filesystem
191 (save): use fs::copy_file (from fs_extras)
193 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
195 * LaTeX.C (run): rewrite to use boost.filesystem
196 (scanAuxFiles): ditto
197 (handleFoundFile): ditto
199 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
201 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
203 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
205 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
207 * lyxlayout.[Ch]: change some vars from float to double
209 * buffer.C (readFile): make a local var const
211 * Several files: use convert<> instead of atoi,strToXXX and friends
213 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
215 * LaTeXFeatures.[Ch]: Add a static list packages_ that
216 holds the contents of packages.lst. New functions getAvailable
217 and isAvailable to parse and check that list, resp.
221 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
223 * bufferparams.[Ch]: new param output_changes.
225 * Buffer.C: increase file format to 240.
226 Use output_changes and isVailable.
230 * paragraph_pimpl.C: Use output_changes and isVailable.
232 2005-01-23 Angus Leeming <leeming@lyx.org>
234 * output_latex.C: #include "insetbibitem.h", rather than
235 forward declare function bibitemWidest.
237 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
239 * lyx_main.C (init): make it compile on the Mac.
241 2005-01-20 Angus Leeming <leeming@lyx.org>
243 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
244 (setLyXMisc): (char string literal) != (char string literal) is
245 performing a comparison on the addresses. Convert one operand
246 explicitly to string to guarantee expected behaviour.
249 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
252 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
254 * output_plaintext.C: remove unneeded #include gzstream.h.
256 2005-01-20 Angus Leeming <leeming@lyx.org>
258 * SpellBase.h: rename some of the elements of the Result enum.
265 * pspell.C (check): ditto
267 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
269 * buffer.C: add #include <fstream>.
271 * lyx_main.C (init): Compile fix.
273 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
275 2005-01-20 Angus Leeming <leeming@lyx.org>
277 * mover.h: change commentary to reflect the changed meaning of
280 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * output_linuxdoc.C (linuxdocParagraphs): silence warning
284 * lyxfind.C (MatchString::operator()): remove bogus semicolon
286 2005-01-20 Angus Leeming <leeming@lyx.org>
288 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
289 printing diagnostic data by not dereferecing an iterator past the
292 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
294 * buffer.C (readHeader): use "&&" rather than "and".
296 * lyxserver.h (inPipeName, outPipeName): make these const.
298 2005-01-19 Angus Leeming <leeming@lyx.org>
300 * lyx_main.C (error_handler, init): protect SIGHUP with
301 #ifdef SIGHUP guards.
303 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
307 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * text.C (setHeightOfRow): add a margin at the top and bottom of
310 the document (bug 1761)
312 2005-01-17 Angus Leeming <leeming@lyx.org>
314 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
315 with "python ". Workaround for a brain-dead Windows.
317 2005-01-16 Angus Leeming <leeming@lyx.org>
319 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
320 for MacOSX and Windows to use prependEnvPath.
321 Strip out the hard-coded block to add elements to the PATH for
322 MacOSX and replace it with a call to prependEnvPath using the
323 contents of LyXRC::path_prefix.
324 (queryUserLyXDir): strip out the code to run reconfigure, instead
325 returning a boolean indicating the necessity to do so.
326 (reconfigureUserLyXDir): contains the code to reconfigure the
327 user support directory. Is now called after the various LyXRC data
328 files have been read.
330 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
332 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
334 * converter.[Ch] (convert): take a new parameter try_default. Use
335 a default converter (imagemagick) if try_default is true.
337 2005-01-13 Angus Leeming <leeming@lyx.org>
339 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
341 (write): output LyXRC::cygwin_path_fix as necessary.
343 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
346 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
348 2005-01-12 Angus Leeming <leeming@lyx.org>
350 * lyx_main.C (init): set the PATH variable to include the
351 directory containing the LyX binary when running on Mac or Windows.
353 2005-01-12 Angus Leeming <leeming@lyx.org>
355 * lyx_main.C (init): remove cruft that purports to set the locale
356 dir. It doesn't and is not needed anyway.
358 2005-01-10 Angus Leeming <leeming@lyx.org>
360 * Makefile.am: remove the lyx_main.C special casing.
362 * BufferView_pimpl.C:
368 * messages.C: use support/package.h to provide the paths to the
369 various directories used by LyX.
371 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
374 layout if pasting into an empty paragraph)
376 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
378 * tex-accent.C: add <string>
380 2005-01-06 José Matos <jamatos@lyx.org>
382 * ParagraphParameters.C (write): put every parameter in its own line.
383 * paragraph.C (write): reduce number of consecutive empty lines exported.
384 * buffer.C (LYX_FORMAT): increase file format to 239.
386 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
388 * everywhere: change support/tostr.h -> support/convert.h
390 * tabular.C: make all write_attributes templates, tostr -> convert
392 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
393 (emptyTag): and -> &&, and fix type for ret from getChar
394 (getFirstWord): fix type for ret from getChar
395 (onlyText): and -> &&
396 (simpleDocBookOnePar): and not -> && !, fix type for ret from
399 * toc.C (goTo, action):
400 * text3.C (dispatch):
401 * text.C (currentState):
402 * tex-accent.C (DoAccent):
405 * lyxfunc.C (menuNew):
406 * lyxfinc.C (replace):
407 * counters.C (laberItem):
408 * bufferview_funcs.C (font2string):
409 * bufferparams.C (writeFile):
410 * buffer.C (readFile):
412 * MenuBackend.C: tostr -> convert
414 * LaTeX.C (runMessage): fix format
415 (scanAuxFiles): tostr -> convert
417 * BufferView_pimpl.C (savePosition): fix format
418 (restorePosition): ditto
421 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
423 * Spacing.[Ch]: New method getValueAsString().
427 * ParagraphParameters.C:
430 * text3.C: store/read spacing value as string.
432 * rowpainter.C: change float value (spacing_val) to double.
434 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
435 broken custom document spacing).
437 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
439 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
440 namespace, also more use of temp references and const
442 * cursor.[Ch] (getStatus): move to lyxfunc.C
444 * bufferparams.C: reformat slightly
446 * bufferview_funcs.C (font2string): constify arg
452 * buffer_funcs.C: (many funcs): constify arg on function
453 definitions, also make more local vars const, also add ASSERTS on
456 * buffer.C (LYX_FORMAT): put const in correct place
457 (many funcs): constify arg on function definitions, also make
458 more local vars const
460 * aspell_local.h: remove "struct" from typdef setup
462 * aspell.C (check): make word_ok const
463 (nextMiss): simplify slightly
466 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
468 * lyxrc.[Ch]: store all float values as strings.
469 use int (not float) for lyxrc.dpi.
471 2005-01-04 Angus Leeming <leeming@lyx.org>
473 * lyx_cb.C (Reconfigure):
474 * lyx_main.C (queryUserLyXDir):
475 to run the <system_lyxdir>/configure correctly on Windows, prefix
476 the path to the script with "sh " when generating the string that
477 is passed to system().
479 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
481 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
483 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
485 * lyxlength.C (asLatexString): get rid of setprecision
487 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * text2.C (setLayout): remove unused variable endpit.
490 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
492 * paragraph.C (onlyText): remove unused variable style.
494 * cursor.C (bruteFind): remove unused variables beg and end.
496 * Makefile.am (dist_noinset_DATA): not needed anymore
498 * cheaders/*: remove.
500 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
502 * text3.C: fix LFUN_MATH_MODE.
504 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
506 * buffer_funcs.C (countWords): new function. Counts words between
509 * BufferView_pimpl.C (getStatus, dispatch): handle
512 * LyXAction.C (init):
513 * lfuns.h: add LFUN_WORDS_COUNT.
515 2004-12-19 Angus Leeming <leeming@lyx.org>
517 * buffer.C (save): s/slashify_path/internal_path/.
519 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
521 * lyxfind.C (findChange): do not search for end of pars, because
522 the change tracker cannot handle this (fixes bug 1719).
524 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
526 * paragraph.[Ch] (autoBreakRows): remove
528 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
530 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
531 avoid using the paragraph one
533 * text2.C (LyXText, insertStringAsLines): adjust
535 2004-12-16 Angus Leeming <leeming@lyx.org>
539 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
541 2004-12-14 Angus Leeming <leeming@lyx.org>
543 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
545 * bufferlist.C (emergencyWrite):
546 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
549 2004-12-14 Angus Leeming <leeming@lyx.org>
551 * main.C: (main): no longer pass pointers to os::init.
553 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
555 * undo.C (textUndoOrRedo): simplify logic, fix a crash
556 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
558 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
561 * text3.C: remove selection_possible global flag
563 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
565 * text2.C (getSelectionSpan): remove
566 (changeDepth, changeDepthAllowed): adjust
568 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
570 * Makefile.am (BOOST_LIBS): use boost variables
572 2004-12-03 José Matos <jamatos@lyx.org>
574 * buffer.C: format up to 238.
576 2004-12-03 José Matos <jamatos@lyx.org>
578 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
580 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
582 * cursor.C (goUpDown): remove call to idxUpDown2
584 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
586 * tabular.[Ch]: use size_t-like types for cell, row and column
589 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
591 * lyxfunc.C (getStatus): do not lose previous information when
592 calling BufferView::getStatus; do not set a default "Command
593 disabled" message at the beginning, but just before returning.
595 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
597 * cursor.h (getStatus): add better comment from src/cursor.C
599 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
601 * text3.C (getStatus): return false when the lfun is not handled
603 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
605 * broken_headers.h: remove
607 * Makefile.am (lyx_SOURCES): remove broken_headers.h
609 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
611 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
614 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
615 top_y_, merge fitcursor with update
616 (updateScrollbar, scrollDocView, fitCursor, center, update): new
619 (workAreaDispatch): adapt to new coord scheme
620 (redoCurrentBuffer): remove
622 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
624 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
627 * coordcache.[Ch]: add paragraph cache and helpers
629 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
632 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
633 (targetX, setTargetX): introduce
635 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
636 baseline -> ascent, as the rest of lyx
638 * lyxtext.h: remove redoParagraphs, updateParPositions,
639 fullRebreak, redoParagraphInternal. move dist to anon namespace in
640 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
641 have ascent/descent (ascent is ascent of first par)
643 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
646 * paragraph.[Ch]: unify dimension handling with the rest of lyx
648 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
650 * pariterator.C: fix infinite loop introduced in par->pit renaming
652 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
653 in insets and LyXText, draw two off-screen paragraphs using
654 NullPainter, and adapt to new coord scheme
658 * text3.C: adapt lfun handlers to the new coord scheme, which
659 means: there's only guaranteed coord information for onscreen pars
660 plus one above and one below. This implies that one can do search
661 from y coordinates in the range [-1,workHeight]
663 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
665 * rename a lot of InsetOld to InsetBase
667 2004-11-25 Angus Leeming <leeming@lyx.org>
669 * BufferView_pimpl.C:
671 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
673 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
676 call BufferView::getStatus if LCursor::getStatus did nothing
677 (setStatusMessage, getStatusMessage): removed.
679 * FuncStatus.C (message): new methods. Used to provide an error
680 message indicating why a command is disabled.
681 (clear, |=, FuncStatus): update for message.
683 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
685 * lyxfunc.C (dispatch): always call sendDispatchMessage
687 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
690 * BufferView_pimpl.C:
704 * undo.C: par->pit renaming
706 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
708 * tabular.C (cellstruct): use initialization, store a shared_ptr
709 to insettext instead of the insettext directly, adjust to fit.
710 (operator=): new function
712 (rowstruct): use initialization
713 (columnstruct): use initialization
714 (ltType): use initialization
717 * lyxlength.h (swap): new function
719 * LColor.[Ch] (operator=): use the common semantics
721 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * lyxfind.C (findNextChange): update the bufferview after setting
726 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
728 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
729 number of InsetOptArgs has already been inserted.
731 * output_latex.C (latexOptArgInsets): new method. This outputs all
732 the optarg insets, up to the limit defined in the layout file.
733 (optArgInset): removed
734 (TeXOnePar): call latexOptArgInsets; correctly update texrow
736 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
738 * paragraph.C (isLetter): remove special spellchecker-related
739 code; return true also for digits
740 (isWord, isKomma): remove
742 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
743 * lyxfind.C (MatchString()): use isLetter instead of isWord
745 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
747 * pariterator.h (operatir=): comment out un-implemented member
750 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
753 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
755 * lyxfont.h: include LColor.h to satisfy concept checks.
757 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
759 * pariterator.h: add typdefs for value_type, difference_type,
760 pointer and reference to satisfy concept checks. Also add default
761 constructor for same reason.
763 * pariterator.C (operator++): add post-increment operator to
764 satisfy concept checks.
766 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
769 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
771 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
772 checks. Also rename base_type to BaseType to follow naming
775 * FloatList.h: include Floating.h to satisfy concept checks.
777 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * lyxfunc.C (getStatus): when the origin of the request is menu or
780 toolbar, and the LyXView does not have focus, do as if there was
783 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
784 FuncRequest to individual entries of LFUN_SEQUENCE
786 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
788 * output_latex.C (TeXOnePar): override runparams.moving_arg
789 according to the needprotect value of the current paragraph (bug
792 * paragraph.C (simpleTeXOnePar): no need to override
793 runparams.moving_args here
795 2004-11-14 John Spray <spray_john@users.sourceforge.net>
797 * vspace.C: fix off-by-one-error, related to fix #1682
799 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
801 * lengthcommon.C: a more general fix for bug 1682
803 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
805 * text.C (backspace): fix crash
807 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
809 * format.[Ch] (getFormatFromFile): new method
810 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
812 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
816 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
818 * lyxfunc.C (dispatch): remove the verbose argument
819 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
822 * kbmap.C (defkey): set the origin of func to KEYBOARD
824 * MenuBackend.C (MenuItem):
825 * ToolbarBackend.C (add): set the origin of func to UI
827 * funcrequest.[Ch]: add origin member, which indicates which part
828 of LyX requests an action
830 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
832 * converter.C (move): don't lie in the error message
833 * converter.h (isReachable, move): document
835 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
837 * buffer.C: remove unused using lyx::support::atoi
838 * paragraph_funcs.C: ditto
840 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
842 * bufferlist.C (exists): use bind and equal_to instead of
845 * lyxtextclasslist.C (NumberOfClass): ditto
847 * cursor.C (insert): use for_each instead of explicit for loop
849 * bufferlist.C (getFileNames): use std::transform and
850 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
852 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
855 * buffer.C (changeLanguage): use for_each instead of explicit for
857 (hasParWithID): implement using getParFromID
859 * LaTeXFeatures.C: ws change only
861 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
864 * BufferView_pimpl.C (trackChanges): use for_each instead of
867 2004-11-04 André Pönitz <poenitz@gmx.net>
870 * undo.C (textUndoOrRedo): fix crash when creating undo information.
872 * dociterator.C (asDocIterator): use hard assert again.
874 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
876 * lyxlength.C (asLatexString): rewrite so that it does not use
879 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
881 * text3.C (specialChar, dispatch): make sure cursor moves to the
882 right after inserting an inset
884 2004-11-02 José Matos <jamatos@lyx.org>
886 * output_docbook.C (docbook):
887 * paragraph.C (getID):
888 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
889 garantee that the output is always legal.
891 * tabular.C (docbook):
892 * outputprams.[Ch]: remove mixed contents.
894 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
896 * text2.C (setCounter): prevent endless loop
898 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
900 * exporter.C (copyFile): use the mover instead of support::copy()
901 * exporter.C (Export): pass format and latex name to copyFile()
902 * exporter.h (addExternalFile): document
903 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
905 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
907 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
909 2004-10-30 José Matos <jamatos@lyx.org>
911 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
912 text and no inset or font change. This allows to use CDATA
913 sections just for the whole paragraph.
915 2004-10-30 José Matos <jamatos@lyx.org>
917 * paragraph.C (getFirstWord): remove unused variable.
919 2004-10-30 José Matos <jamatos@lyx.org>
921 * paragraph.C (getFirstWord): the content should always be escaped
923 (simpleDocBookOnePar):
924 * output_docbook.C (makeEnvironment): replace reference to CDATA
927 2004-10-30 José Matos <jamatos@lyx.org>
929 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
931 2004-10-30 José Matos <jamatos@lyx.org>
933 * output_docbook.C (makeParagraphs):
934 * paragraph.[Ch] (emptyTag): for docbook and company, if the
935 standard paragraph has only a given type of content drop the wrapper.
937 2004-10-29 José Matos <jamatos@lyx.org>
939 * output_docbook.C (makeEnvironment):
941 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
943 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
945 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
946 (cleanID): sanitize any id.
948 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
950 * buffer.C, lyxlex_pimpl.C:
951 * lyxlex_pimpl.C (setFile):
952 s/getExtFromContents/getFormatFromContents/
954 2004-10-28 José Matos <jamatos@lyx.org>
956 * output_docbook.C (makeEnvironment): move id to broadest possible
959 * sgml.C (openTag): apply substitution of <> for all attributes.
961 2004-10-28 José Matos <jamatos@lyx.org>
963 * buffer.C (makeLinuxDocFile, makeDocBookFile):
964 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
965 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
967 * sgml.[Ch]: new version for open and closeTag for paragraph and
968 for strings. Now they handle the ids of paragraphs.
970 2004-10-26 Angus Leeming <leeming@lyx.org>
972 * Makefile.am: add mover.[Ch].
974 * converter.C (convert, move): use the new Movers to move external
975 files to the temp directory.
977 * lyx_main.C (init): ensure that the global system_movers data
980 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
983 * mover.[Ch]: new files, defining a Mover as a utility to move an
984 external file between directories and, if necessary, manipulate this
985 file using a helper script.
987 2004-10-25 José Matos <jamatos@lyx.org>
989 * output_docbook.C (makeCommand): merge two if's that tested the
992 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
994 * sgml.C (escapeString): fix warning in a better way
996 2004-10-25 José Matos <jamatos@lyx.org>
998 * sgml.C (escapeString): import the require boosts header file for
999 tie, and avoid a signed unsigned comparison.
1001 2004-10-25 José Matos <jamatos@lyx.org>
1003 * sgml.h: add #include <string>
1005 2004-10-25 José Matos <jamatos@lyx.org>
1007 * sgml.[Ch] (escapeString): new function to escape all the string.
1009 2004-10-24 José Matos <jamatos@lyx.org>
1011 * paragraph.[Ch] (getFirstWord): new function to get the first
1012 word. Useful for description.
1013 (simpleDocBookOnePar): remove depth argument, add another that
1014 says where to start the paragraph.
1016 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1017 use the new functions to fix cleanly the support for descriptions.
1019 2004-10-24 José Matos <jamatos@lyx.org>
1021 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1022 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1023 * output_linuxdoc.C (linuxdocParagraphs):
1024 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1025 add buffer as argument.
1027 2004-10-24 José Matos <jamatos@lyx.org>
1029 * output_docbook.C (makeEnvironment, searchEnvironment): place
1030 CDATA inside paragraphs and fix scope for listitems.
1032 2004-10-24 José Matos <jamatos@lyx.org>
1034 * output_docbook.C: remove using statement for stack.
1036 2004-10-23 José Matos <jamatos@lyx.org>
1038 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1039 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1040 docbook. The new scheme is recursive and makes use of iterators, the
1041 same as latex export works.
1042 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1043 directly with the paragraph contents. This code was moved up to
1044 output_docbook.C (docbookParagraphs).
1045 * sgml.C (openTag, closeTag): removed unneeded newlines.
1046 (closeEnvTags) removed.
1048 2004-10-23 André Pönitz <poenitz@gmx.net>
1050 * undo.C (textUndoOrRedo):
1051 * dociterator.C (asDocIterator): work around crash
1053 * cursor.C (getStatus): replace ASSERT by more verbose error message
1054 and manual correction of the problem. Should increase stability
1055 while providing more sensible information.
1057 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1061 * bufferlist.C (previous, next): new methods
1064 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1066 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1068 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1069 entities to preamble.
1071 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1073 * messages.C (Pimpl): strip off translation context information
1075 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1077 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1078 the cursor is correct (bug 1694)
1080 2004-10-13 José Matos <jamatos@lyx.org>
1082 * output_docbook.C (docbookParagraphs): fix closing tags in the
1083 end of the document.
1085 2004-10-09 José Matos <jamatos@lyx.org>
1087 * buffer.C: format up to 237.
1088 * bufferparams.C (write): use tostr to convert booleans to strings.
1090 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1092 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1094 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1096 * LaTeX.C: implement use of babel language in xindy.
1098 2004-10-05 José Matos <jamatos@lyx.org>
1100 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1101 Add new translators to help reading and writing the lyx file.
1103 2004-10-05 José Matos <jamatos@lyx.org>
1105 * ParagraphParameters.C (read):
1106 * text.C (readParToken): replace nexToken by more appropriate lex
1109 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1111 * LaTeX.C (runMakeIndex):
1112 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1113 (usually 'makeindex') configurable.
1115 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1116 with a variable rather than with a number.
1118 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1120 * output_latex.C (TeXOnePar): make sure font setting is the first
1121 thing that gets output (and the last at the end). Should fix bug
1124 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1126 * pch.h: use proper signal include
1128 * LaTeX.h: Use preferred calling of Boost.Signal
1131 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1133 * pch.h: dont include <boost/function/function0.hpp>
1135 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1137 * paragraph_pimpl.h: remove usage of ShareContainer
1139 * paragraph_pimpl.C: remove initialization of ShareContainer.
1141 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1145 * BufferView.C (putSelectionAt): change the semantics when
1146 backwards == true: now, this just swaps cursor and anchor wrt the
1149 * BufferView.h (putSelectionAt): add some documentation
1151 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1152 make sure backwardChar is done at least once (to avoid getting
1154 (findNextChange): use putSelectionAt in the forward direction
1155 (operator()): use Paragraph::isWord
1157 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1159 * Spacing.C (set): c_str fix
1161 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1163 * lyx_cb.C (Reconfigure): quote the name of configure script in
1164 case it contains spaces
1166 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1170 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1171 (BOOST_LIBS): use top_buildir when looking for the file
1173 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1175 * pch.h: do not use include boost/format.hpp, multiple symbols
1176 will result (gcc bug)
1179 2004-08-23 José Matos <jamatos@lyx.org>
1181 * bufferparams.C (readToken): fix reading of the author field.
1183 2004-08-20 José Matos <jamatos@lyx.org>
1185 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1187 2004-08-20 José Matos <jamatos@lyx.org>
1189 * lyxlex.[Ch] (findToken): remove function.
1191 * ParagraphParameters.C (findToken):
1192 * bufferparams.C (findToken): replace call for previous function
1193 with local copy. This local function has one more argument, the
1194 read string argument.
1196 2004-08-16 José Matos <jamatos@lyx.org>
1198 * ParagraphParameters.C (write):
1199 * Spacing.C (writeFile):
1200 * bufferparams.C (writeLaTeX):
1201 * lyx_cb.C (Reconfigure):
1202 * paragraph.C (write):
1203 * tabular.C (write): remove unnecessary space at end of line.
1206 2004-08-16 José Matos <jamatos@lyx.org>
1208 * text.C (readParagraph): remove debug message.
1210 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1212 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1215 * output_plaintext.C (asciiParagraph): set depth correctly
1217 * outputparams.h: add member depth
1219 * paragraph_funcs.C (ownerPar): remove.
1221 * text2.C (setCounter): remove first_pit; comment out some
1222 non-working code that uses ownerPar
1224 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1227 2004-08-16 José Matos <jamatos@lyx.org>
1229 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1230 For the same level of importance use the same chanel to report problems.
1231 (read): add code to deal with \begin_body and \end_body.
1234 2004-08-15 José Matos <jamatos@lyx.org>
1236 * lyxlex.C (getString): fix comment, buffer::readBody is now
1237 buffer:readDocument.
1239 * tex-strings.C (string_papersize): Default -> default,
1240 Custom -> custom, for consistency with other options.
1242 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1246 * Makefile.am: support pch
1248 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1250 * text.C (readParToken): remove the static LyXFont variable and
1251 pass it as a parameter instead. This fixes a nasty bug where an
1252 inset will be inserted with a bad font in some situations
1253 (readParagraph): adapt
1255 * text2.C (setCounter): reduce number of calls to pars_[pit]
1257 * text.C (singleWidth): add an assert, fix a test
1259 * rowpainter.C (paintText): reduce number of calls to singleWidth
1261 * paragraph.C (isHfill):
1262 (isNewline): ws only
1264 2004-08-14 André Pönitz <poenitz@gmx.net>
1269 * lyxtext.h (several functions): use a Paragraph & argument
1272 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1274 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1276 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1278 * text.C (singleWidth): remove useless test
1280 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1282 * tabular.h: remove bogus comments
1284 * tabular.C (getDescentOfRow):
1285 (isPartOfMultiColumn): add assertions
1287 * lyxlength.C (inPixels): remove #warning
1289 2004-08-14 André Pönitz <poenitz@gmx.net>
1291 * paragraph.h: inline getChar()
1293 * BufferView.h: remove unused declarations
1295 2004-08-14 José Matos <jamatos@lyx.org>
1297 * Buffer.[Ch] (readDocument): new name for old readBody.
1298 * Buffer.C: new file format, new keywords: \begin_document,
1299 \begin_header, \begin_body, \end_body.
1301 * bufferparams.C (readToken): replace all calls to lex.nextToken
1302 by lex.next(). Do the same to eatLine except where really needed.
1304 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1305 line when writing to the lyx file.
1307 * output_plaintext.C (asciiParagraph): fix Bibliography style
1310 * text.C (read): fix end of file handling.
1312 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1314 * MenuBackend.C (Menu::operator[]): new method to access
1315 individual menu items
1316 (Menu::hasFunc): new method. search for an item that corresponds
1318 (MenuBackend::specialMenu): new method
1319 (MenuBackend::expand): if a special menu has been set, skip
1320 entries whose func() appears in this menu
1322 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1324 * text3.C: use Debug::DEBUG a bit more
1326 * text.C (leftMargin): try to simplify a tiny bit change var x to
1327 l_margin. Dont output the wide margins always.
1328 (rightMargin): no margin in inner texts
1330 * rowpainter.h (nestMargin): new func
1331 (changebarMargin): new func
1332 (rightMargin): new func
1334 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1338 * factory.C (createInset): modify setDrawFrame
1340 * cursor.C: use Debug::DEBUG a bit more
1342 2004-08-14 André Pönitz <poenitz@gmx.net>
1345 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1346 cache for all insets in (at least partially) visible (top-level)
1349 * BufferView_pimpl.C: reset external coord cache before every update.
1350 This means the coord cache only contains valid entries.
1352 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1355 * BufferView_pimpl.C (getInsetByCode): move function out of class
1356 and change in to a template in anon namespace. Also fix to do what
1359 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1362 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1364 (breakParagraph): rename par to par_offset and use a local
1365 reference. Add code to keep the language over a rebreak.
1366 (breakParagraphConservative): rename par to par_offset, use a
1368 (mergeParagraph): ditto
1370 (isFirstInSequence): ditto
1371 (outerFont): rename pit to par_offset
1373 * paragraph.C: ws change
1374 * paragraph.h: ditto
1378 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1380 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1383 * paragraph.C (simpleTeXOnePar): when we have a \item with
1384 optional argument, enclose the argument with curly brackets (in
1385 case it contains a closing square bracket)
1389 * text3.C (checkInsetHit): constify
1391 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1393 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1394 documents (bug 1629)
1396 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1398 Fix toggling of collapsable insets with the mouse (bug 1558)
1400 * lyxfunc.C (dispatch): adapt to LCursor changes
1402 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1403 make sure that dispatch is not invoked twice
1405 * cursor.C (needsUpdate): new method
1406 (dispatch): return void
1407 (result): new method, to access the DispatchResult of the cursor.
1409 2004-08-13 José Matos <jamatos@lyx.org>
1411 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1413 2004-08-13 André Pönitz <poenitz@gmx.net>
1415 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1417 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1420 2004-08-12 André Pönitz <poenitz@gmx.net>
1422 * text3.C: take out the 'cursor right' form insertInset and only
1423 do it in those places when it is really needed. Fixes crash on
1426 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1428 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1430 * BufferView_pimpl.C (setBuffer): initialize the current font of
1431 the underlying LyXText
1433 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1435 * kbsequence.C (print): use UI native formatting for menu
1438 * text.C (insertChar): call Paragraph::insertChar with a font
1441 * paragraph.C (insertInset, insertChar): the version that takes a
1442 LyXFont argument is now a wrapper around the other one (the
1443 opposite used to be true).
1445 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1446 argument. Font setting is done in Paragraph now.
1448 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1450 * outputparams.h: add new members intitle and lang.
1452 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1453 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1455 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1457 * text3.C (dispatch): remove special handling of button 4 and 5,
1458 it is now taken care of in the frontend code.
1460 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1462 * Spacing.h: add <string> (STLPort compile fix)
1464 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1466 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1468 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1470 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1473 * converter.C (showMessage): inherit from unary_function, make
1476 * buffer.C (writeFile): initialize retval
1478 * InsetList.h: rename private variable list to list_
1479 * InsetList.[Ch]: adjust accordingly.
1481 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1483 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1484 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1485 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1486 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1487 * ParagraphParameters.C, LaTeXFeatures.C: replace
1488 "support/std_sstream.h" with <sstream>
1490 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1492 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1493 * lyxsocket.C (LyXServerSocket): ditto
1494 (serverCallback): ditto
1496 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1498 * LaTeXFeatures.C: check release date when loading jurabib.
1500 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1502 * lyxserver.C (startPipe): call register_socket_callback
1503 (endPipe): call unregister_socket_callback
1505 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1507 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1508 (LyXServerSocket): register the callback
1509 (LyXServerSocket): unregister the callback
1510 (fd): delete function
1511 (serverCallback): improve error checking and setup the callbacks.
1512 (dataCallback): change arg to fd.
1513 (writeln): new func (copied fro the client socket) used for server
1515 (LyXDataSocket): simplify
1516 (~LyXDataSocket): close ann unregiser callback
1517 (server): delete function
1518 (fd): delete function
1519 (readln): small changes, improve some std::string usage
1520 (writeln): constify a bit
1522 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1524 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1527 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1529 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1530 after it has been populated
1532 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1534 * text2.C (insertInset): move cursor when inserting inset.
1536 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1538 * kbmap.C (findbindings): a couple of new methods. returns a
1539 container of kb_sequence objects. The real work is done by the
1540 private recursive version
1541 (printbindings): uses findbindings to print out a bracketed list
1542 of bindings (renamed from findbinding).
1544 * MenuBackend.C (binding): use kb_keymap::findbindings
1546 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1548 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1550 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1552 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1554 * paragraph.C (isWord): return true on insets that report
1557 * text.C (getWord): use Paragraph::isWord to decide what is in a
1558 word and what is not; fix bug 1609.
1560 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1562 * tex-strings.C: add "none" to string_paperpackages[], fixes
1563 off-by-one-error in the paperpackage selection.
1566 * tex-strings.[Ch]: char const * string[n]
1567 -> char const * const string[]
1569 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1572 command, return early.
1574 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1576 * debug.h: add DEBUG to enum and fix size of ANY.
1578 * debug.C: add support for Debug::DEBUG
1579 (showTags): cast errorTags.level to unsigned int
1581 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1582 (redoCurrentBuffer): ditto
1583 (updateScrollbar): ditto
1584 * cursor.C (dispatch): ditto
1585 * text2.C (setLayout): ditto
1587 (updateCounters): ditto
1589 (deleteEmptyParagraphMechanism): ditto
1591 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1593 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1594 annotations to cleanup the Makefile slightly.
1596 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1598 * lyxrc.C: do not set user_email to a default value but use empty
1599 instead. The entry used to be translated, which does not work
1600 since at the point where lyxrc is constructed there is no
1601 translation service available
1603 * messages.C (getLocaleDir): remove and use directly
1604 lyx_localedir() instead
1606 2004-06-02 Angus Leeming <leeming@lyx.org>
1608 Fix crash caused by dereferencing null pointer 'exportdata' in
1609 OutputParams by creating a new ExportData variable on the heap,
1610 storing it in a boost::shared_ptr.
1611 The crash was triggered when generating an Instant Preview
1612 of an external inset.
1614 * Makefile.am: add outputparams.C
1616 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1617 (c-tor): allocate memory to it.
1619 * exporter.C (c-tor): associated changes.
1621 2004-06-01 Angus Leeming <leeming@lyx.org>
1623 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1624 contains data before calling isInset(0). (Bug 1513.)
1626 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1628 * exporter.C (checkOverwrite): new method
1629 * exporter.C (copyFile): new method
1630 * exporter.C (Export): copy referenced files to the document dir
1631 * exporter.[Ch]: new class ExportedFile
1632 * exporter.[Ch]: new class ExportData. Contains currently the
1633 names of referenced external files
1634 * outputparams.h: add exportdata member.
1636 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1638 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1641 2004-05-19 Angus Leeming <leeming@lyx.org>
1646 * lyxfunc.C: small changes due to the introduction of namespace
1647 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1649 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1651 * text3.C (dispatch): supress update when only moving the cursor
1652 * cursor.C (selHandle): remove commented code
1654 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1656 * paragraph.C (startTeXParParams): correct column count
1657 * CutAndPaste.C (pasteSelection): remove const_cast
1658 * output_docbook.C (docbookParagraphs): remove const_cast
1659 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1660 const_cast and return ParagraphList::const_iterator
1661 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1662 * output_plaintext.C (writeFileAscii): remove const_cast
1663 * paragraph.[Ch] (simpleTeXOnePar): make const
1664 * paragraph_funcs.C (outerPar): use const iterators
1665 * paragraph_pimpl.C (validate): use const iterators
1666 * text.C (setHeightOfRow): use const iterators
1668 2004-05-17 Angus Leeming <leeming@lyx.org>
1671 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1673 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1674 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1675 if the citation engine has changed.
1677 2004-05-14 José Matos <jamatos@lyx.org>
1679 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1680 if the textclass does not provide it. Have it different for sgml and
1682 support the language of document.
1683 * output_docbook.C (docbookParagraphs):
1684 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1685 first anchor as the id of the paragraph, remove special case code.
1686 * sgml.C (escapeChar): escape only < & >.
1688 2004-05-14 Angus Leeming <leeming@lyx.org>
1690 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1691 dependencies on src/frontends/controllers/biblio.h. Define a
1692 CiteEngine_enum wrapper class to enable the enum to be forward
1695 2004-05-12 Angus Leeming <leeming@lyx.org>
1697 * buffer.C: up LYX_FORMAT to 234.
1698 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1699 use_numerical_citations with a single biblio::CiteEngine cite_engine
1701 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1703 2004-05-13 José Matos <jamatos@lyx.org>
1706 * converter.C (Converter, readFlags): add xml member.
1707 * outputparams.h: add XML flavor.
1708 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1710 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1712 * lyxfunc.C (dispatch):
1713 (getStatus): fix handling of LFUN_SEQUENCE
1715 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1717 * debug.C (showLevel): do not forget the end-of-line marker
1719 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1721 * kbmap.C (read): do not stop parsing a bind file when an error
1724 2004-04-29 Angus Leeming <leeming@lyx.org>
1729 * text2.C: wrap a bunch of #warning statements
1730 inside #ifdef WITH_WARNINGS blocks.
1732 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1734 * buffer.C: increment format to 233.
1736 2004-04-28 Angus Leeming <leeming@lyx.org>
1738 * BufferView_pimpl.C:
1741 s/updateToolbar()/updateToolbars()/
1742 s/Toolbar.h/Toolbars.h/
1744 2004-04-28 Angus Leeming <leeming@lyx.org>
1746 * BufferView.[Ch] (c-tor):
1747 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1748 No longer passes these data to the WorkArea generator.
1750 2004-04-28 Angus Leeming <leeming@lyx.org>
1752 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1754 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1756 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1758 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1760 * output_latex.C (TeXEnvironment): make sure that there is a line
1761 break before \end{foo} for the last paragraph of a document
1762 (TeXOnePar): if the paragraph is at the end of the document (or
1763 inset) and the language has to be reset, then make sure that the
1764 line break is _before_ the language command, not after (fixes bug
1765 1225); also make sure that the language reset command is the first
1766 thing after the paragraph (to ensure proper nesting of
1767 environments and thus fix bug 1404)
1769 2004-04-21 John Levon <levon@movementarian.org>
1772 * ToolbarBackend.C: make "name" be a programmatic name
1773 and a gui_name field.
1775 * lyxfunc.C: display the minibuffer on M-x
1777 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1779 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1782 2004-04-19 Angus Leeming <leeming@lyx.org>
1784 * BufferView_pimpl.C (setBuffer): changed preview interface.
1786 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1789 2004-04-19 John Levon <levon@movementarian.org>
1791 * BufferView_pimpl.C:
1792 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1794 2004-04-05 Angus Leeming <leeming@lyx.org>
1796 * text.C (redoParagraphs): add call to updateCounters(), thereby
1797 fixing the missing "Figure #:" label from the caption of a
1800 2004-04-13 Angus Leeming <leeming@lyx.org>
1802 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1803 cursor is clicked out of an inset.
1805 2004-04-13 Angus Leeming <leeming@lyx.org>
1807 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1808 than an InsetOld one.
1810 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1812 * format.[Ch]: add editor to Format
1813 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1814 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1816 2004-04-08 André Pönitz <poenitz@gmx.net>
1818 * metricsinfo.h: remove PainterInfo::width member
1820 2004-04-08 Angus Leeming <leeming@lyx.org>
1822 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1823 "\providecommand" rather than "\newcommand", thereby preventing
1824 clashes with packages that define "\boldsymbol" themselves.
1827 2004-04-08 Angus Leeming <leeming@lyx.org>
1829 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1830 thereby squashing an unnecessary warning.
1832 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1834 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1837 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1839 * BufferView.C (setCursor): call redoParagraph (some insets could
1841 (putSelectionAt): remove the 'double update' trick
1843 * BufferView_pimpl.C (fitCursor): call refreshPar
1844 (workAreaDispatch): remove an uneeded update call
1845 (dispatch): remove some manual update calls
1847 * cursor.[Ch]: remove cached_y_, updatePos
1848 (selHandle): set noUpdate when appropriate
1850 * lyxfunc.C (dispatch): track if we need an update
1852 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1854 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1855 (paintSelection): cheap optimization, do not call cursorX when not
1857 (paintPars): change signature
1860 (paintTextInset): adjust
1864 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1866 * lengthcommon.C: compilation fix: remove explicit array size from
1867 unit_name[] and friends
1869 2004-04-05 Angus Leeming <leeming@lyx.org>
1871 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1873 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1874 present only for the preferences dialog.
1875 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1877 2004-04-05 Angus Leeming <leeming@lyx.org>
1879 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1880 to enable the frontends to export changes to lyxrc correctly.
1882 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1884 2004-04-07 André Pönitz <poenitz@gmx.net>
1886 * cursor.[Ch] (selClear, adjust): remove math
1888 * cursor_slice.C: more agressive assert
1891 * BufferView_pimpl.C: rework mouse event dispatch
1898 2004-04-05 André Pönitz <poenitz@gmx.net>
1900 * cursor.[Ch] (valign, halign...): remove unneeded functions
1902 2004-04-05 Angus Leeming <leeming@lyx.org>
1904 * lyxlength.[Ch] (unit_name et al.): const-correct.
1906 2004-04-05 Angus Leeming <leeming@lyx.org>
1908 * BufferView_pimpl.C:
1917 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1919 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1921 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1923 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1925 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1926 * BufferView_pimpl.[Ch] (getStatus)
1927 * BufferView.[Ch] (getStatus): add
1928 * lyxfunc.C (getStatus): move lfuns handled in
1929 BufferView::dispatch to te function above
1930 * Cursor.C (setSelection): set selection() = true
1932 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1934 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1936 2004-03-31 Angus Leeming <leeming@lyx.org>
1938 * lyxfunc.C (dispatch): Fall through to the generic
1939 Dialogs::show("preamble").
1941 2004-03-31 Angus Leeming <leeming@lyx.org>
1943 * lyxfunc.C (dispatch): Fall through to the generic
1944 Dialogs::show("spellchecker").
1946 2004-03-31 Angus Leeming <leeming@lyx.org>
1948 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1951 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1956 * insetiterator.[Ch]:
1961 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1963 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1965 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1966 insets where we are putting the cursor.
1968 2004-03-31 Angus Leeming <leeming@lyx.org>
1971 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1973 * lyxrc.[Ch] (read, write): overloaded member functions taking
1974 a std::[io]stream arguments.
1976 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1978 2004-03-31 Angus Leeming <leeming@lyx.org>
1980 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1981 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1983 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1984 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1986 2004-03-31 Angus Leeming <leeming@lyx.org>
1988 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1989 the LFUN_ALL_INSETS_TOGGLE code.
1991 2004-03-30 Angus Leeming <leeming@lyx.org>
1993 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1994 has died. Fall through to the generic Dialogs::show("document").
1996 2004-03-30 Angus Leeming <leeming@lyx.org>
1999 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2000 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2002 * lyxfunc.C (getStatus, dispatch): define the actions for these
2003 lfuns. Little more than a cut and pste job from ControlDocument.C
2005 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2007 2004-03-30 Angus Leeming <leeming@lyx.org>
2010 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2011 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2013 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2014 open/closed state of ollapsable insets. Usage:
2016 all-inset-toggle <state> <name>, where
2017 <state> == "open" || "closed" || "toggle" and
2018 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2020 * lyxtext.h, text2.C (toggleInset): removed.
2022 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2023 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2024 now passes LFUN_INSET_TOGGLE to the found inset.
2026 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2027 is now invoked as "all-insets-toggle toggle branch".
2029 2004-03-30 Angus Leeming <leeming@lyx.org>
2033 * pariterator.[Ch]: added/corrected header blurb.
2035 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2037 * dociterator.[Ch]: add an inset_ member
2038 (backwardPos): implemented
2039 (backwardPos, forwardPos): use inset_ when the stack is empty.
2040 (doc_iterator_begin, doc_iterator_end): implemented
2041 * pariterator.[Ch]: adjust, add begin, end
2042 * insetiterator.[Ch]: adjust, add begin, end
2046 * BufferView_pimpl.C:
2047 * CutAndPaste.C: adjust
2049 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2051 * buffer.C: increment file format to 232.
2052 * LaTeXFeatures.C: add bibtopic package.
2053 * bufferparams.[Ch]: param \use_bibtopic.
2055 * lyxrc.[Ch]: add lyxrc bibtex_command
2056 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2058 * buffer.C: increment file format to 231.
2060 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2062 * dociterator.C: implement forwardPar
2063 * iterators.[Ch]: remove, replaced by
2064 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2066 * BufferView_pimpl.C:
2069 * bufferview_funcs.C:
2075 * Makefile.am: adjust
2077 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2079 * CutAndPaste.C (pasteSelection): fix 2 crashes
2080 (eraseSelection): fix a crash
2081 * paragraph_funcs.C: remove a warning
2083 2004-03-28 Angus Leeming <leeming@lyx.org>
2086 * LyXAction.C (init): new LFUN_PRINT.
2088 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2090 2004-03-27 Angus Leeming <leeming@lyx.org>
2093 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2095 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2097 2004-03-27 Angus Leeming <leeming@lyx.org>
2099 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2100 insetlist always contains non-null pointers to insets.
2102 2004-03-26 Angus Leeming <leeming@lyx.org>
2104 * src/BufferView_pimpl.C:
2105 * src/CutAndPaste.C:
2108 * src/output_plaintext.C:
2109 * src/outputparams.h:
2110 * src/paragraph_funcs.C:
2114 * src/frontends/controllers/ControlErrorList.C:
2115 * src/frontends/gtk/FileDialogPrivate.C:
2116 * src/frontends/gtk/GPainter.C:
2117 * src/frontends/gtk/GToolbar.C:
2118 * src/frontends/qt2/QRef.C:
2119 * src/mathed/math_scriptinset.C: squash compiler warnings.
2121 2004-03-26 Angus Leeming <leeming@lyx.org>
2123 * ispell.C (LaunchIspell::start):
2124 * lyx_cb.C (AutoSaveBuffer::start):
2125 invoke run(DontWait) rather than runNonBlocking().
2127 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2129 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2131 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2133 * kbsequence.C (print): adjust
2135 * kbmap.C (printKeySym): rename and change signature
2136 (printKey): use LyXKeySym::print()
2138 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2140 * undo.C: add using std::advance to compile for stlport
2142 2004-03-24 Angus Leeming <leeming@lyx.org>
2144 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2145 it leads to a crash when no buffer is present.
2147 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2148 Martin Vermeer <martin.vermeer@hut.fi>
2150 * lyxfunc.C (dispatch):
2151 * bufferparams.C (readToken): use the new LColor::setColor
2153 * LColor.[Ch] (setColor): new version that takes two strings as
2154 argument and creates a new color entry if necessary
2156 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2158 * buffer.C (makeLaTeXFile): if the main latex file that is
2159 processed is usually a subdocument of some master, then pretend
2160 for a while that it is actually the master
2162 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2164 * buffer.C (getLabelList):
2165 (getBibkeyList): use getMasterBuffer()
2166 (getMasterBuffer): new method. Returns the main document in the
2167 case where one is using included documents.
2169 2004-03-25 André Pönitz <poenitz@gmx.net>
2173 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2175 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2177 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2178 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2180 * ParameterStruct.h: merge with ParagraphParameters
2182 * lyxtext.h: remove LyXText::parOffset() and getPar()
2184 * text3.C: Remove all 'manual' update calls. We do now one per user
2185 interaction which is completely sufficient.
2189 * BufferView_pimpl.C:
2190 * FontIterator.[Ch]:
2192 * ParagraphParameters.[Ch]:
2197 * cursor_slice.[Ch]:
2204 * output_docbook.[Ch]:
2205 * output_latex.[Ch]:
2206 * output_linuxdoc.[Ch]:
2207 * output_plaintext.[Ch]:
2209 * paragraph_funcs.[Ch]:
2210 * paragraph_pimpl.[Ch]:
2218 * frontends/controllers/ControlDocument.C:
2219 * frontends/controllers/ControlErrorList.C:
2220 * frontends/controllers/ControlSpellchecker.C:
2223 * insets/insetbase.h:
2224 * insets/insetbibitem.C:
2225 * insets/insetbox.C:
2226 * insets/insetbranch.C:
2227 * insets/insetcaption.C:
2228 * insets/insetcharstyle.C:
2229 * insets/insetcharstyle.h:
2230 * insets/insetcollapsable.C:
2231 * insets/insetcollapsable.h:
2232 * insets/insetert.C:
2233 * insets/insetfloat.C:
2234 * insets/insetfoot.C:
2235 * insets/insetmarginal.C:
2236 * insets/insetnote.C:
2237 * insets/insetoptarg.C:
2238 * insets/insettabular.C:
2239 * insets/insettext.C:
2240 * insets/insettext.h:
2241 * insets/insetwrap.C:
2242 * mathed/math_mboxinset.C:
2243 * mathed/math_nestinset.C:
2244 * mathed/math_scriptinset.C:
2245 * mathed/math_scriptinset.h:
2248 2004-03-24 Angus Leeming <leeming@lyx.org>
2250 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2251 deal with any child processes that have finished but are waiting to
2252 communicate this fact to the rest of LyX.
2254 2004-03-24 Angus Leeming <leeming@lyx.org>
2256 64-bit compile fixes.
2258 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2259 (c-tor): pass lyx::pos_types rather than ints.
2261 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2264 * text.C (Delete): compile fix.
2265 (getPar): ensure that function declaration is the same as that in
2268 2004-03-23 Angus Leeming <leeming@lyx.org>
2270 * ispell.C (LaunchIspell):
2271 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2272 a boost::shred_ptr rather than a std::auto_ptr.
2274 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2276 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2277 handle LFUN_FILE_INSERT_*
2279 * lyxrc.C (setDefaults, getDescription, output, read):
2280 * lyxrc.h: remove ps_command
2282 2004-03-22 Angus Leeming <leeming@lyx.org>
2284 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2285 Ensure that error_handler is processed once only and that all data
2286 is saved before attempting to output any warning messages.
2288 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2290 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2292 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2294 2004-03-19 André Pönitz <poenitz@gmx.net>
2296 * cursor.[Ch] (reset): take main text inset as argument
2298 * BufferView: adjust
2299 * BufferView_pimpl.C: adjust
2301 * paragraph.[Ch]: fix completely broken operator=()
2303 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2305 * LColor.C (getFromLyXName): make sure that the color name is used
2308 2004-03-17 Angus Leeming <leeming@lyx.org>
2311 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2313 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2314 dialog and to kill a forked process.
2316 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2318 * text2.C (setCursorFromCoordinates): fix font problem
2320 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2322 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2323 bogus "rebuild cursor" code
2325 2004-03-11 André Pönitz <poenitz@gmx.net>
2327 * buffer.[Ch]: use InsetText instead of LyXText as container for
2330 * dociterator.[Ch]: drop the BufferView * member which is not needed
2331 anymore after the change to buffer.C
2333 * paragraph_funcs.C:
2337 * BufferView_pimpl.[Ch]:
2339 * cursor_slice.[Ch]: adjust
2341 * text3.C: fix bug in mathDispatch
2343 2004-03-08 André Pönitz <poenitz@gmx.net>
2345 * undo.[Ch]: use 'StableDocumentIterator' as base for
2348 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2351 * bufferparams.[Ch]: add jurabib support and param.
2353 * LaTeX.C: add FIXME/comment.
2355 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2357 * buffer.C: increment file format to 230.
2359 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2361 * cursor.C (dispatch): avoid infinite loops
2363 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2365 * rowpainter.C (paintSelection): fix x coordinates
2367 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2369 * text.C (rowBreakPoint): fix breaking before displayed insets
2371 2004-03-01 André Pönitz <poenitz@gmx.net>
2373 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2375 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2379 * BufferView_pimpl.C:
2387 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2393 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2394 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2396 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2398 * Bidi.[Ch] (computeTables): const correctness
2399 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2400 fill_hfill, fill_label_hfill and x from Row
2401 * lyxtext.h: prepareToPrint returns a RowMetrics
2402 * rowPainter.C: adjust
2403 * text.C (prepareToPrint): use width, not textWidth. adjust
2404 (redoParagraphInternal, cursorX): adjust
2405 * text2.C (getColumnNearX): adjust
2406 (init): put a default value to the top LyXText::width
2408 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2410 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2412 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2414 * lyxtext.h: add FontIterator class
2416 * text.C (FontIterator, operator*, operator->, operator++): add
2417 (rowBreakPoint, setRowWidth): adjust (fixing a
2420 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * BufferView_pimpl.C (workAreaDispatch): allow also
2423 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2425 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2427 * text.C (rowBreakPoint): fix a bug showing with very large insets
2429 2004-02-25 André Pönitz <poenitz@gmx.net>
2432 * cursor.[Ch]: move some mathed specific code to mathed
2434 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2436 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2437 use_tempdir in preferences
2438 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2440 * lyx_main.C: ensure that tempdir is valid
2441 * lyxlex.h: correct typo
2442 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2443 * paragraph.[Ch] (isMultiLingual): make const
2444 * cursor.[Ch] (openable): make const
2446 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2448 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2450 2004-02-20 André Pönitz <poenitz@gmx.net>
2452 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2454 * cursor.[Ch]: prepare for localized getStatus()
2460 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2462 2004-02-20 André Pönitz <poenitz@gmx.net>
2464 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2466 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2468 * text2.C (setCursorFromCoordinates): switch to absolute coords
2470 (cursorDown): adjust
2471 * text3.C (dispatch): adjust
2473 2004-02-16 André Pönitz <poenitz@gmx.net>
2475 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2478 * cursor_slice.[Ch]: remove unneeded acessor function
2480 * lyxtext.h: rename rtl() to isRTL()
2488 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2490 * rowpainter.C (paintSelection): coord fix
2492 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2494 * Spacing.C: compile fix
2496 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2498 * cursor.C (dispatch): restore current_ before returning
2500 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2502 * text2.C (cursorUp, cursorDown): fix coords
2505 2004-02-12 André Pönitz <poenitz@gmx.net>
2510 * text3.C: add LCursor & parameter to most cursor movement functions
2511 remove usage of LyXText::cursorRow() and cursorPar()
2513 * cursor.[Ch]: add textRow() needed members
2516 * BufferView_pimpl.C:
2519 * BufferView_pimpl.C: adjust
2521 2004-02-11 André Pönitz <poenitz@gmx.net>
2525 * BufferView_pimpl.C: shift undo/redo handling
2527 * cursor.[Ch]: fix mathed crash
2530 * lyxtext.h: move selectionAsText to LCursor
2538 * rowpainter.C: fix excessive drawing
2540 2004-02-06 André Pönitz <poenitz@gmx.net>
2543 * BufferView_pimpl.[Ch]:
2544 * text3.C: move some text specific LFUN handling
2546 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2548 * text3.C (checkInsetHit): adjust coords
2549 * text2.C (getColumnNearX): adjust coords
2550 (edit): adjust coords
2551 * text.C (getRowNearY): add two asserts
2553 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2556 * format.C: add using std::distance to compile on gcc 2.95/stlport
2558 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2560 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2562 2004-02-04 André Pönitz <poenitz@gmx.net>
2564 * BufferView.[Ch] (insertInset):
2565 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2570 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2572 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2573 on the default clause of the switch
2574 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2575 wasn't catched by LCursor::dispatch
2577 2004-02-03 André Pönitz <poenitz@gmx.net>
2580 * cursor.[Ch]: some additional asserts
2582 * undo.[Ch]: remove LyXText dependency in interface
2586 * lyxtext.h (firstPar, lastPar): remove dead functions
2591 * paragraph.[Ch]: adjust
2593 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2595 * lyxfind.C (find): fix argument order in call to ::find
2597 2004-02-02 André Pönitz <poenitz@gmx.net>
2599 * cursor.[Ch]: remove direct access to anchor
2601 * text.C: remove findText() hack
2603 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2605 * iterators.[Ch] (lockPath): remove in favour of...
2606 * BufferView.[Ch] (setCursor): this addition
2607 * BufferView.C (putSelectionAt): adjust
2608 * undo.C (performUndoOrRedo): adjust
2609 * lyxfunc.C (dispatch): adjust
2611 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2613 * iterators.C (lockPath): add a missing slice
2614 * undo.C (performUndoOrRedo): remove redundant positioning code
2616 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2618 * vc-backend.C (scanMaster): ";" -> ';'
2620 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2622 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2623 std::binary_function
2625 * lyxtextclass.C (compare_name): rename to...
2626 (LayoutNamesEqual): ...this
2628 * lyxlex_pimpl.C (compare_tags): inherit from
2629 std::binary_function, put back into anon namespace
2631 * lyxfind.C (MatchString): inherig from std::binary_function
2632 (findChange): use empty() istead of !size()
2634 * format.C (FormatNamesEqual): new functor
2641 * converter.C (compare_Converter): rename to...
2642 (ConverterEqual): ...this, and fixup a bit.
2643 (getConverter): use it, and make function const
2644 (getNumber): use it, and make function const
2648 * bufferlist.C: add using boost::bind
2650 * MenuBackend.C (MenuNamesEqual): new functor
2651 (hasMenu): use it, and make function const
2652 (hasSubmenu): use nested bind to get rid of compare_memfun.
2654 2004-01-30 André Pönitz <poenitz@gmx.net>
2656 * BufferView_pimpl.C:
2659 * cursor_slice.[Ch]:
2662 * paragraph_funcs.C:
2663 * paragraph_funcs.h:
2667 * text3.C: move some of the edit(x,y) handling to the insets
2668 some coordinate changes.
2670 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2672 * text.C: add using statements for std::advance and std::distance
2674 * paragraph.C: add using statement for std::distance
2676 * lyxfind.C: add using statement for std::advance
2678 * cursor.C (region): remove std:: from swap
2679 (openable): use nucleus in stead of operator->
2681 * BufferView.C: add using statements for std::distance and std::swap
2683 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2685 * iterators.C: Remove the pimple, move the needed structures to
2686 the header file. Create accessor for the positions stack.
2687 (asPosIterator): remove function
2689 * PosIterator.C (PosIterator): move constructors to top of file
2690 (PosIterator): reimplement the constructor taking a ParIterator in
2692 (setFrom): new function
2693 (operator!=): inline it
2695 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2697 * lyxfind.C (replaceAll): use std::advance
2699 * iterators.h: inherit from std::iterator.
2701 * PosIterator.C (advance, distance): remove
2702 * PosIterator.h: interit from std::iterator.
2704 2004-01-26 André Pönitz <poenitz@gmx.net>
2707 * BufferView_pimpl.[Ch]:
2711 * bufferview_funcs.C:
2721 * output_linuxdoc.C:
2722 * output_plaintext.C:
2724 * paragraph_funcs.[Ch]:
2725 * paragraph_pimpl.[Ch]:
2731 * text3.C: more IU: dumps most of the rest of the mathcursor
2732 implementation into cursor.[Ch]; "globalize" a bit of it.
2734 2004-01-25 Angus Leeming <leeming@lyx.org>
2736 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2738 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2740 * LaTeXFeatures.h: add nice_ and nice() const
2741 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2743 2004-01-20 André Pönitz <poenitz@gmx.net>
2746 * BufferView_pimpl.C:
2748 * bufferview_funcs.C:
2750 * cursor_slice.[Ch]:
2761 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2762 LCursor and mathcursor parts to LCursor and InsetBase.
2764 2004-01-15 André Pönitz <poenitz@gmx.net>
2766 * cursor_slice.[Ch]: add a few covienience functions
2768 * funcrequest.[Ch]: remove BufferView * member
2770 * BufferView_pimpl.C:
2777 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2779 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2781 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2782 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2784 2004-01-13 André Pönitz <poenitz@gmx.net>
2787 * lyxtext.h: hide cursor and selection anchor behind accessor function
2790 * BufferView_pimpl.[Ch]:
2792 * bufferview_funcs.C:
2802 * cursor_slice.[Ch]: some integer type changes for inset unification
2804 * lyxcursor.[hC]: remove, it's CursorSlice now.
2807 * BufferView_pimpl.[Ch]:
2808 * bufferview_funcs.C:
2814 * textcursor.[Ch]: adjust
2816 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2818 * text2.C (undoSpan): add and use
2819 * text.C (breakParagraph): use undoSpan (fix bug 578)
2822 2004-01-08 Angus Leeming <leeming@lyx.org>
2824 * BufferView_pimpl.C (MenuInsertLyXFile):
2825 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2826 * lyxfunc.C (menuNew, open, doImport):
2827 FileFilterList change to the FileDialog open and save functions.
2829 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2831 * ShareContainer.h: make isEqual and isUnique adaptable
2833 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2835 2004-01-07 Angus Leeming <leeming@lyx.org>
2838 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2840 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2842 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2843 functions replacing find, replace and replaceAll.
2845 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2846 LFUN_WORDFIND(FORWARD|BACKWARD).
2848 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2850 * text.C (breakParagraph): remove an outdated #warning
2852 2004-01-07 André Pönitz <poenitz@gmx.net>
2854 * lyxfind.C: somewhat clearer logic
2856 * text.C: prevent crash in cursorX on unitialized row cache
2858 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2860 * lyxcursor.[Ch] (operator>): add
2861 * textcursor.C (selStart, selEnd): use std::min and std::max
2863 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2865 * Chktex.C: include boost/format.hpp
2867 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2869 * InsetList.C: replace functor MathcIt with adaptable functor
2871 (insetIterator): modify accordingly
2873 * BranchList.h: move the BranchNamesEqual functor here from...
2874 * BranchList.C: ... to here
2876 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2878 (add): replace a finding loop with std::find_if.
2880 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2882 * output_docbook.C: moving LatexParam functionality into
2885 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2887 * buffer.C: increment format to 229.
2889 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2892 * lyx_sty.[Ch]: remove minipageindent_def
2898 * text3.C: remove LFUN_INSET_MINIPAGE
2900 2003-12-28 Angus Leeming <leeming@lyx.org>
2902 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2904 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2906 * text2.C (setParagraph): fix off-by-one crash
2908 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2910 * output_docbook.C: header stuff for AGU
2912 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2914 * text2.C (redoCursor): remove
2917 * BufferView_pimpl.C: remove calls to redoCursor and
2918 setCursor(cursor.par(), cursor.pos()) all around
2920 2003-12-15 Angus Leeming <leeming@lyx.org>
2922 * buffer.C: up the format to 228.
2924 2003-12-15 André Pönitz <poenitz@gmx.net>
2926 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2931 * BufferView_pimpl.C:
2940 2003-12-15 Angus Leeming <leeming@lyx.org>
2942 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2943 than getFromGUIName to manipulate the color.
2945 2003-12-14 Angus Leeming <leeming@lyx.org>
2947 * BranchList.[Ch]: minimize the API.
2948 (Branch::getBranch, getColor): now return a 'const &'.
2949 (Branch::setSelected) now returns a bool set to true if the
2950 selection status changes.
2951 (BranchList::clear, size, getColor, setColor, setSelected,
2952 allBranches, allSelected, separator): removed.
2953 (BranchList::find): new functions, returning the Branch with
2955 (BranchList::add, remove): return a bool indicating that
2956 the operation was successful.
2958 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2959 new InsetBranch::isBranchSlected member function.
2961 * LColor.[Ch]: mimimize the API.
2962 (fill): renamed as addColor and made private.
2963 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2964 versions of these functions taking a string arg have been removed.
2966 * bufferparams.C (readToken):
2967 * lyxfunc.C (dispatch):
2968 * lyxrc.C (read): changes due to the altered BranchList and
2971 * factory.C (createInset, readInset): changes due to altered
2974 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2977 * lyxfunc.C: remove insetminipage. "minipage-insert"
2978 now produces a frameless minipage box inset.
2980 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2982 * textcursor.[Ch] (selStart,selEnd): add new methods
2983 remove selection::start, end, use LyXCursor::operator<
2984 * lyxcursor.[Ch] (operator<): add
2985 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2986 * BufferView.[Ch] (unsetXSel): add
2987 * text2.C (clearSelection): use unsetXSel,adjust
2990 * rowpainter.C: adjust
2991 * bufferview_funcs.C (put_selection_at): adjust
2993 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2995 * BufferView_pimpl.C: small coord. correction
2997 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2999 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3000 dragging over the splash screen.
3002 2003-12-11 Angus Leeming <leeming@lyx.org>
3004 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3005 as it is now handled in LyXText::dispatch.
3007 * text3.C (doInsertInset): remove a level of nesting.
3009 2003-12-11 Angus Leeming <leeming@lyx.org>
3011 * factory.C (createInset): changes due to the changed interface to
3012 InsetCommandMailer::string2params.
3014 2003-12-10 Angus Leeming <leeming@lyx.org>
3016 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3017 'dialog-show-new-inset <inset name>'
3019 2003-12-10 Angus Leeming <leeming@lyx.org>
3021 * buffer.C: up the format to 227.
3023 * factory.C: the box inset is now identified simply by 'Box'.
3025 2003-12-10 Angus Leeming <leeming@lyx.org>
3027 * buffer.C: up the format to 226.
3029 * factory.C: the note inset is now identified simply by 'Note'.
3031 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3033 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3034 when a pit is enough. Standarize a couple of loops.
3036 2003-12-05 Angus Leeming <leeming@lyx.org>
3038 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3039 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3040 data to the re-worked "log" dialog.
3042 2003-12-03 André Pönitz <poenitz@gmx.net>
3048 * paragraph_funcs.C:
3050 * text2.C: use Inset::getText instead of Inset::getParagraph
3052 2003-12-03 André Pönitz <poenitz@gmx.net>
3056 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3057 InsetText::read() as LyXText::read()
3059 2003-12-02 Angus Leeming <leeming@lyx.org>
3061 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3062 type. Add a comment in the implementation that the function uses
3063 the stream's bad() function rather than fail() as the std::streams
3066 2003-12-02 André Pönitz <poenitz@gmx.net>
3068 * lyxlex.[Ch]: make interface more similar to std::stream
3070 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3072 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3074 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3076 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3078 * vspace.[Ch]: remove VSpace::NONE
3080 2003-12-01 André Pönitz <poenitz@gmx.net>
3083 * lyxtext.h: move ParagraphList member to LyXText
3084 rename LyXText::ownerParagraphs to LyXText::paragraph
3087 * bufferview_funcs.C:
3097 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3099 * undo.C: fix cursor positioning
3101 2003-12-01 John Levon <levon@movementarian.org>
3103 * BufferView_pimpl.C: fix a crash on exit with
3106 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3108 * BranchList.C: fix setSelected() method.
3110 2003-11-28 André Pönitz <poenitz@gmx.net>
3112 * ParagraphParameters.[Ch]:
3113 * ParameterStruct.h: remove space above/below from Paragraph to
3116 * BufferView_pimpl.C:
3122 * paragraph_funcs.C:
3128 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3130 * factory.C: Syntax change for CharStyles
3132 2003-11-28 André Pönitz <poenitz@gmx.net>
3137 * buffer.[Ch]: move LyXText member
3139 2003-11-28 André Pönitz <poenitz@gmx.net>
3141 * BufferView.[Ch]: make LyXText * text a private member
3143 * BufferView_pimpl.C:
3154 * output_plaintext.C: cleanup
3156 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3159 * lyxtextclass.[Ch]: parametrize SGML document header
3161 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3164 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3167 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3169 * text2.C (setFont): rework using PosIterator (no more recursive)
3170 (setCharFont): no more needed
3171 (setLayout): no more selection cursors fiddling (done by redoCursor)
3172 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3173 destroy remaining ones)
3175 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3177 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3179 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3182 * text3.C: adjust + re-allow multi par depth changes
3183 * textcursor.C: simplify a bit
3185 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3191 * src/output_docbook.C:
3192 * src/output_latex.C:
3197 * src/text2.C: Introducing a number of tags parametrizing various
3198 XML formats that we may want to support
3200 2003-11-25 André Pönitz <poenitz@gmx.net>
3202 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3204 * lyxtext.h (leftMargin/rightMargin): simplify interface
3211 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3213 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3214 master file to any child files. Fixes bug 546.
3216 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3218 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3220 2003-11-24 André Pönitz <poenitz@gmx.net>
3222 * rowpainter.C: simplification
3224 * text2.C (updateCounters): remove call to redoParagraph on
3225 changed labels as this is far too expensive.
3227 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3229 * converter.C (convert): fix a crash: this function gets
3230 called with buffer == 0 from importer code.
3232 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3234 * text3.C (cursorPrevious): make sure that we do not compare
3235 iterators form different containers.
3238 * rowpainter.C (paintSelection): make sure that we do not compare
3239 iterators from different containers.
3241 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3242 iterators from different ParagraphList containers.
3245 * text2.C (LyXText): change order of initialization slightly
3246 (operator=): new function. copy all variables except cache_par_
3247 (moveUp): make sure that we do not compare iterators from
3248 different ParagraphList constainers.
3251 * text.C (firstPar): new function
3252 (lastPar): new function
3253 (endPar): new function
3255 * lyxtext.h: move things around and group public functions, public
3256 variables, private functions, private variables
3258 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3260 * factory.C: change call to InsetERT constructor to avoid
3261 additional invocation of method status
3262 * text2.C (toggleInset): remove redundant update() call
3263 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3264 instead of a Bufferview pointer
3266 2003-11-21 André Pönitz <poenitz@gmx.net>
3268 * rowpainter.C: simplification
3270 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3272 * text3.C (dispatch): make possible to extend a word/row selection
3275 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3277 * lyxtext.h: x0_,y0_ -> xo_,yo_
3278 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3279 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3280 * rowpainter.C (paintRows): paint full paragraphs
3282 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3284 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3287 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3289 * lyxtext.h: add x0_, y0_
3290 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3291 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3293 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3295 * text2.C (setCursorIntern): move the x_target update here *
3296 * text3.C: change some bv() to true/false in calls to
3297 cursorUp/Down/Right/Left
3298 * cursor.C: use helper function.
3300 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3302 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3303 * paragraph_funcs.[Ch]: correct comment
3304 * rowpainter.C: do not paint selections away from bv->cursor()
3305 Fix a long standing selection painting bug.
3306 * text3.C: generalize mouse-selection code to LyXTexts other that
3308 * textcursor.C: do not use y coords if we can use par offsets
3310 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3312 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3313 cursor position after e.g. inset insert)
3315 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3317 * lyxfind.C (replace): adjust to locking removal + some
3320 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3322 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3325 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3328 * output_docbook.C: XML sanitation: new layout
3329 parameters InnerTag and CommandDepth
3331 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3333 * BufferView_pimpl.C:
3335 * text3.C: Fix the insertion and modification of button-style
3338 2003-11-13 André Pönitz <poenitz@gmx.net>
3340 * InsetList.[Ch]: remove deleteLyXText
3342 * paragraph.[Ch]: cache beginOfBody position
3347 * text3.C: remove superfluous update() calls
3351 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3353 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3354 * BufferView.C (fitLockedInsetCursor): remove
3355 * cursor.[Ch] (getDim): add
3356 * text.C (getRowNearY): add faster version
3357 * text3.C: remove some update calls
3359 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3371 * text3.C: The Character Style /XML short element patch.
3373 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3376 * factory.C: Small step to solving 'unable to insert some insets'
3379 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3381 * cursor.[Ch] (updatePos): new function for updating the y
3382 position of the tip inset
3383 * bufferview_funcs.C (put_selection_at):
3384 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3386 2003-11-11 André Pönitz <poenitz@gmx.net>
3388 * text.C: remove big comment on invalid Paragraph pointers as it is
3391 2003-11-11 André Pönitz <poenitz@gmx.net>
3393 * text_funcs.[Ch]: merge with ...
3401 * Makefile.am: remove text_funcs.[Ch]
3403 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3405 * cursor.C (getPos): return absolute cached y coord
3407 * BufferView_pimpl.C (fitCursor): new simplistic code
3408 (workAreaDispatch): add a fitCursor call
3410 2003-11-10 André Pönitz <poenitz@gmx.net>
3413 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3415 2003-11-10 André Pönitz <poenitz@gmx.net>
3417 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3418 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3419 indicate that the cursor needs to leave an inset
3421 * lyxtext.h: remove inset locking
3423 * cursor.[Ch]: re-implement functionality provided by inset locking
3426 * BufferView_pimpl.[Ch]:
3428 * bufferview_funcs.[Ch]:
3440 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3442 * PosIterator.[Ch]: replace the stack with a vector, add inset
3444 * iterators.[C]: adjust
3446 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3448 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3450 * paragraph_funcs.C (readParToken): put the correct id in the
3451 error item, not the id of the top paragraph
3453 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3455 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3456 * bufferview_funcs.C (put_selection_at): use the above
3458 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3460 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3462 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3464 * output_linuxdoc.h:
3465 * output_plaintext.h:
3467 * output_docbook.h: add #include statements
3469 2003-11-05 José Matos <jamatos@lyx.org>
3471 * output_docbook.[Ch]:
3472 * output_latex.[Ch]:
3473 * output_linuxdoc.[Ch]:
3474 * output_plaintext.[Ch]: New files for output formats.
3475 * output.[Ch]: New file for helper functions.
3478 * paragraph_funcs.[Ch]: output functions moved to new files.
3480 * outputparams.h: rename of latexrunparams.h
3488 * paragraph_funcs.[Ch]:
3489 * paragraph_pimpl.[Ch]:
3490 * tabular.[Ch]: rename ascii to plaintext
3491 and LatexRunParams to OutputParams.
3493 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3495 * iterators.[Ch] (text): require bv argument
3496 * undo.C (recordUndo):
3497 * lyxfunc.C (dispatch):
3498 * bufferview_funcs.C (put_selection_at): adjust
3500 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3502 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3504 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3506 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3509 2003-11-04 André Pönitz <poenitz@gmx.net>
3511 * cursor.[Ch]: restructure
3514 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3516 * iterators.[Ch] (asCursor): remove
3518 * lfuns.h: remove LFUN_INSET_EDIT
3524 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3526 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3528 * lyxfind.[Ch]: complete overhaul
3529 * BufferView_pimpl.C:
3531 * paragraph.[Ch] (insert): add
3533 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3537 * text.C: remove dead spellcheck code
3539 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * dispatchresult.h: add a val setter
3543 * cursor.C (dispatch): use a tempvar for data_[i]
3545 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3547 * PosIterator.[Ch]: compile fix
3549 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3551 * text.C (cursorPar): deactivate the cursor cache
3553 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3555 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3557 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * text3.C (dispatch): adjust for new DisptchResult semantics.
3561 * lyxfunc.C (dispatch): handle update when return from
3562 Cursor::dispatch, adjust for new DispatchResult semantics.
3564 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3565 DispatchResult(true) mean to not update. Add class functions for
3566 setting dispatched and update, as well as reading.
3568 * cursor.C (dispatch): don't handle update here
3570 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3573 * trans_mgr.C: adjust
3575 * paragraph_funcs.C (readParToken): exception safety
3577 * lyxvc.h: store the vcs pointer in a scoped_ptr
3580 * lyxsocket.C (serverCallback): exception safety
3582 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3584 * ispell.C (clone): make it return a auto_ptr
3586 * factory.C (createInset): exception safety
3587 (readInset): exception safety
3589 * bufferlist.C (newBuffer): exception safety
3591 * Thesaurus.C (Thesaurus): use initialization for aik_
3593 * MenuBackend.C (expandToc): exception safety.
3595 2003-11-03 André Pönitz <poenitz@gmx.net>
3599 * bufferview_funcs.C: remove getInsetFromId()
3602 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3608 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3610 * PosIterator.C (distance, advance): new
3611 * bufferview_funcs.[Ch] (put_selection_at): new
3612 * iterators.[Ch] (lockPath): new
3614 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3616 * iterators.[Ch] (asPosIterator): added
3617 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3618 * PosIterator.[Ch]: added
3620 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * cursor.C (dispatch):
3625 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3627 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3628 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3629 contructor, add a class function dispatched. Remove operator>=
3631 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * debug.C: only use the default constructor for debugstream
3636 * main.C (main): include debug.h and setup the lyxerr streambuf
3639 2003-10-31 José Matos <jamatos@lyx.org>
3641 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3643 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3644 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3645 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3646 * paragraph_pimpl.C (simpleTeXSpecialC):
3647 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3648 add LatexRunParams argument.
3650 * exporter.C (Export): change call accordingly.
3652 * latexrunparams.h: add new member to take care of the other backends.
3653 2003-10-30 José Matos <jamatos@lyx.org>
3655 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3656 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3657 factorise code for paragraph output.
3659 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3662 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * text3.C (dispatch):
3665 * lyxfunc.C (dispatch):
3666 * cursor.C (dispatch):
3667 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3669 * dispatchresult.h: make the dispatch_result_t ctor explicit
3671 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3674 * buffer.C: small refactoring of docbook stuff
3676 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3678 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3681 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3684 operator dispatch_result_t, and operators for == != and >=
3686 * cursor.C (dispatch): adjust for operator dispatch_result_t
3687 removal. comment out call to update
3689 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3691 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3699 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3702 * dispatchresult.h: new file, DispatchResult broken out of
3705 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3707 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3709 * text.C (rowBreakPoint): put a hack inside #if 0
3711 2003-10-28 André Pönitz <poenitz@gmx.net>
3715 * paragraph_funcs.C:
3718 * text2.C: general cleanup (lots of small stuff)
3720 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3722 * text2.C (cursorEnd): simple fix to the "end key goes to one
3723 before the end on last row" bug
3725 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3727 * text.C (backspace): fix the "zombie characters"
3729 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3731 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3733 2003-10-27 André Pönitz <poenitz@gmx.net>
3735 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3737 * factory.C: handle new InsetPagebreak, InsetLine
3739 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3740 and move handling into new InsetPagebreak, InsetLine
3742 * BufferView_pimpl.C:
3744 * ParagraphParameters.C:
3745 * ParameterStruct.h:
3750 * paragraph_funcs.C:
3751 * paragraph_pimpl.C:
3757 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3760 * lyxrow_funcs.[Ch]:
3766 * text3.C: remove lastPos uses in favour of Row::endpos
3768 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3770 * undo.C (performUndoOrRedo): fix two crashes by setting a
3771 cursor by hand and reordering some calls. Use bv->lockInset instead
3772 of inset->edit because the latter loses cursor information
3774 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3776 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3778 (rowBreakPoint): fix width. change point to point + 1.
3779 Add a missing check.
3781 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3784 * lyxfunc.C: fix (at least partly) the problems
3785 with the Nav menu and headers inside branch insets
3788 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3790 * paragraph.C (getChar): add strong asserts
3792 * lyxrow_funcs.C (lastPos): remove hideous hack
3794 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3795 (fill): adjust to that (avoid an infinite loop)
3797 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3799 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3801 2003-10-23 André Pönitz <poenitz@gmx.net>
3803 * RowList_fwd.h: change list<> to vector<> to gain speed
3804 after suggestion from Alfredo
3806 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3808 * lyxtext.h: move the bidi stuff from here...
3811 * Bidi.[Ch]: ... to here
3813 2003-10-23 André Pönitz <poenitz@gmx.net>
3816 * text.C (isLastRow, isFirstRow): new functions
3818 * paragraph.h: new width cache member
3820 * rowpainter.C: replace RowList::iterator with Row & where possible
3822 * lyxfunc.C: replace several view()->text with a single call
3824 * toc.C: fix 'unused' warning
3826 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3829 when woring with stream::pos_type
3830 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3832 2003-10-22 André Pönitz <poenitz@gmx.net>
3835 * text.C: use Row & instead of RowList::iterator
3837 * lyxrow.h: rename end() to endpos()
3843 2003-10-22 Angus Leeming <leeming@lyx.org>
3845 * buffer.[Ch] (fully_loaded): new member function, returning true
3846 only when the file has been loaded fully.
3847 Used to prevent the premature generation of previews and by the
3848 citation inset to prevent computation of the natbib-style label.
3850 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3851 templates are all set up.
3853 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3855 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3857 * text.C: fixed an "oops" in the "is a bit silly"
3860 2003-10-21 André Pönitz <poenitz@gmx.net>
3862 * FuncStatus.[Ch]: small stuff, whitespace
3864 * lyxfont.[Ch]: operator<<() for debug reasons
3868 * lyxtext.h: whitespace, spelling
3870 * paragraph.C: naming of variables
3873 * text2.C: small stuff
3876 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3878 * text.C: (1) finish off the inset display() work;
3879 (2) fix the "is a bit silly" bug (accessing char
3882 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3884 * text.C: re-introduce display() for insets, fixing the
3885 various bugs (stretch of line above, math inset
3888 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3890 * text.C (rightMargin): remove spurious semicolon
3892 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3895 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3897 * text3.C: fix one crash due to wrong cursor def
3899 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3901 * vc-backend.C (scanMaster): make the regex static
3903 * LaTeX.C (scanAuxFile): make the regexs static
3905 * text3.C (doInsertInset, dispatch, dispatch):
3906 * text2.C (cursorUp, cursorDown):
3907 * text.C (selectNextWordToSpellcheck):
3908 * BufferView_pimpl.C (dispatch):
3909 * lyxfunc.C (dispatch): localDispatch -> dispatch
3911 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3913 * lyxsocket.C: include <cerrno>
3915 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * lyxfunc.C (dispatch): remove textcache stuff
3919 * bufferlist.C (release): remove textcache stuff
3922 * TextCache.C: delete file
3923 * TextCache.h: delete file
3925 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3927 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3928 delete of the bv_->text.
3929 (resizeCurrentBuffer): remove texcache stuff
3930 (workAreaResize): ditto
3932 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3937 2003-10-16 André Pönitz <poenitz@gmx.net>
3944 * text3.C: speed up by storing y positions per paragraph plus per-row
3945 offset instead of having a 'full' y position in the row.
3947 2003-10-15 André Pönitz <poenitz@gmx.net>
3951 * undo.[Ch]: make undo aware of inner insets
3953 2003-10-14 Angus Leeming <leeming@lyx.org>
3955 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3956 static member functions LyX::ref() and LyX::cref.
3957 (lastfiles): new accessor functions for the new lastfiles_ member var.
3958 (addLyXView, views_): add a new LyXView to the list of views_.
3959 (updateInset): loop over all LyXViews to call their own updateInset
3960 member function, returning a pointer to the Buffer owning the inset.
3962 * BufferView_pimpl.C (loadLyXFile):
3963 * MenuBackend.C (expandLastfiles):
3964 * bufferlist.C (MenuWrite, QuitLyX):
3965 lastfiles is no longer a global variable.
3966 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3968 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3969 static function. Access through LyX::cref().emergencyCleanup().
3971 2003-10-14 André Pönitz <poenitz@gmx.net>
3973 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3975 * undo.[Ch]: restoring part of 'undo in insets'
3978 * undo_funcs.[Ch]: merge with undo.[Ch]
3980 * tabular.C: small cleansing stuff
3982 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3984 * paragraph_funcs.C (readParToken): report unknown insets as error
3985 boxes. Use the outer paragraph as location (also for unknown
3988 * factory.C (readInset): do not abort on reading an unknown inset.
3989 Eat it and return 0.
3991 2003-10-13 Angus Leeming <leeming@lyx.org>
3993 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3995 * lyxrc.C: displayTranslator is now a function,
3996 declared in GraphicsTypes.h.
3998 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4000 * format.C: new placeholder $$a to pass the socket address.
4002 * bufferlist.[Ch]: new function getBufferFromTmp.
4004 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4005 files in the temporary dir.
4007 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4009 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4011 * Makefile.am: add lyxsocket.[Ch].
4013 * lyx_main.C (error_handler): handle SIGPIPE.
4015 2003-10-13 André Pönitz <poenitz@gmx.net>
4017 * BufferView_pimpl.C:
4022 * undo_funcs.[Ch]: use paroffset_type instead of
4023 ParagraphList::iterators to prevent multiple conversion
4024 (and get a more robust interface)
4026 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4030 * text3.C (dispatch): ditto
4032 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4035 move the onlyfile, use onlyfile instead of foundfile in a couple
4038 * DepTable.C (update): flush the error stream a bit more
4040 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4042 * lyxserver.C (callback): adjust
4044 * lyxfunc.C (getStatus): add a missing brace in commented code
4045 (ensureBufferClean): reindent
4046 (dispatch): delete version taking a string
4048 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * LaTeX.C (deplog): move found file handlig from here...
4051 (handleFoundFile): .. to new function here.
4052 (deplog): make sure to discover several files mentioned on the
4055 2003-10-10 André Pönitz <poenitz@gmx.net>
4062 * text3.C: fix some of the tabular crashes
4064 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4066 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4068 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4070 2003-10-09 André Pönitz <poenitz@gmx.net>
4072 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4075 * BufferView_pimpl.C:
4076 * bufferview_funcs.C:
4087 * undo_funcs.C: adjust
4089 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * text2.C (incrementItemDepth): new function, use a backtracking
4092 algorithm to discover the correct item depth.
4093 (resetEnumCounterIfNeeded): new function, use a backtracking
4094 algorithm to discover if counter reset is needed.
4095 (setCounter): use them. Simplify a bit. Add different labels for
4096 different item depths for itemize.
4098 * paragraph.C (Paragraph): remove initialization of enumdepth
4101 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4102 enumerate and itemize. Change the type of itemdepth to signed char.
4104 2003-10-08 André Pönitz <poenitz@gmx.net>
4106 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4111 * tabular.[Ch]: fix crash after 'row-insert'
4113 2003-10-08 Angus Leeming <leeming@lyx.org>
4115 Fix doxygen warnings.
4117 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4118 Remove CutAndPaste:: prefix from header file declaration.
4120 * LColor.h (fill): remove LColor:: prefix from declaration.
4122 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4123 use lyx::depth_type rather than Paragraph::depth_type so that
4124 header file and .C file match.
4126 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4128 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4129 * aspell.C: \file aspell_local.C -> \file aspell.C
4130 * gettext.C: \file gettext.C -> \file src/gettext.C
4131 * gettext.h: \file gettext.h -> \file src/gettext.h
4132 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4133 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4134 * text.C: \file text.C -> \file src/text.C
4136 * toc.C: move comment so that doxygen is not confused.
4138 2003-10-07 Angus Leeming <leeming@lyx.org>
4140 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4142 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4145 * aspell_local.h: add forgotten std::string's.
4147 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4154 * text3.C: The Box patch. Fancybox support, minipage, parbox
4156 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4162 * ParagraphParameters.h:
4172 * lyxtextclasslist.h:
4175 * paragraph_pimpl.C:
4176 * textcursor.h: add <string> and other small fixes to make Lars'
4177 std::string patch compile with STLport.
4179 2003-10-06 Angus Leeming <leeming@lyx.org>
4181 * LColor.h: Add missing #include <string>.
4183 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * All most all file in all subdirs: Make <string> be the prefered
4186 way of getting to std::string, add using declarations.
4188 2003-10-06 André Pönitz <poenitz@gmx.net>
4190 * metricsinfo.C: initialize LyXFont before changing attribute.
4191 (fixes the 'math in \emph is upright' bug)
4193 2003-10-06 André Pönitz <poenitz@gmx.net>
4195 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4197 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4200 * paragraph_pimpl.C: Small fixes to build using STLport
4202 2003-10-02 André Pönitz <poenitz@gmx.net>
4205 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4207 2003-10-01 André Pönitz <poenitz@gmx.net>
4209 * factory.C: assert early
4211 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4213 * lyx_main.C: remove the global debug object
4215 * debug.h: adjust for new debugstream
4217 * debug.C: adjust for new debugstream and keep the global debug
4220 2003-09-22 Angus Leeming <leeming@lyx.org>
4222 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4223 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4224 an incomplete class LyXFont.
4226 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4228 * factory.C: bug fix in branches
4230 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4232 * lyxfunc.C (processKeySym): adjust
4234 (dispatch): change arg name from ev to func, adjust
4235 (sendDispatchMessage): ditto
4237 * lyx_main.C (defaultKeyBindings): adjust keybindings
4238 (deadKeyBindings): ditto
4240 * kbsequence.C (addkey): return a FuncRequest
4242 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4244 * kbmap.C (bind): take a FuncRequest as arg, adjust
4247 (defkey): change to take a FuncRequest as arg, adjust
4248 (findbinding): take a FuncRequest as arg, adjust.
4250 * funcrequest.h (operator=): added
4252 * funcrequest.C (FuncRequest): default kb_action changed from
4253 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4255 * buffer.C (dispatch): simplify
4256 (dispatch): adjust to take a FuncRequest as arg, adjust
4258 * boost.C (assertion_failed): change assertion message slightly
4260 * ToolbarBackend.C (read): simplify
4262 * MenuBackend.C (binding): adjust call to findbinding, add a
4263 message if no binding is found.
4265 (expandToc): correct by adding a empty FuncRequest
4267 * LyXAction.C: include <boost/assert.hpp>
4268 (isPseudoAction): delete function
4269 (LookupFunc): change name to...
4270 (lookupFunc): this. change return type to FuncRequest.
4271 (getActionName): take kb_action as arg, simplify
4272 (funcHasFlag): add an assert, simplify.
4274 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * toc.C (action): return a FuncRequest, simplify
4278 * lyxfunc.C (processKeySym): adjust
4279 (getStatus): delete version that takes an int.
4281 (dispatch): delete version that takes action as int
4283 (sendDispatchMessage): simplify and adjust
4285 * funcrequest.C (getArg): take unsigned int as arg
4287 * ToolbarBackend.C (read): adjust
4288 (add): delete version that takes func as a string.
4289 (getIton): take a FuncRequest as arg
4291 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4294 * MenuBackend.C (MenuItem): add a new construct that only takes a
4295 Kind, simplify the constructor use for submenus.
4297 (expandLastfiles): adjust
4298 (expandDocuments): adjust
4299 (expandFormats): adjust
4300 (expandFloatListInsert): adjust
4301 (expandFloatInsert): adjust
4302 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4304 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4305 Remove class variables lyx_pseudo_map and lyx_arg_map
4307 * LyXAction.C (searchActionArg): delete function
4308 (getPseudoAction): delete function
4309 (retrieveActionArg): delete function
4310 (LookupFunc): make it return kb_action, simplify.
4311 (getActionName): simplify
4313 * factory.C (createInset): fix new bug
4315 2003-09-19 Angus Leeming <leeming@lyx.org>
4317 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4318 masterFilename_ parameter in the include inset.
4320 * factory.C (createInset): changes due to the changes to InsetInclude.
4322 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4324 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4326 2003-09-18 Angus Leeming <leeming@lyx.org>
4329 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4330 Inset::fillWithBibKeys.
4331 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4333 2003-09-18 Angus Leeming <leeming@lyx.org>
4335 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4337 (ctor): pass and store a 'Buffer const &'
4338 (buffer): new member function.
4340 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4341 '*this' to the LaTeXFeatures ctor.
4343 2003-09-18 Angus Leeming <leeming@lyx.org>
4349 * text.C: rename EnumLColor as LColor_color.
4351 2003-09-18 Angus Leeming <leeming@lyx.org>
4353 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4354 remove #include "insets/insetbase.h" from cursor.h.
4356 2003-09-18 Angus Leeming <leeming@lyx.org>
4358 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4359 InsetOld_code to remove #include "inset.h".
4361 * iterators.C: add #include "insets/inset.h"
4363 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4365 * BufferView.C: remove more locking stuff that apparently doesn't
4366 do anything sensible.
4368 2003-09-16 André Pönitz <poenitz@gmx.net>
4371 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4374 2003-09-16 Angus Leeming <leeming@lyx.org>
4376 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4378 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4381 * paragraph.h: remove #include "lyxfont.h". Forward declare
4384 2003-09-16 Angus Leeming <leeming@lyx.org>
4386 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4387 of support/textutils.h.
4388 (isWord): move the contents of support/textutils.h's IsWordChar here.
4394 * text2.C: add #include "paragraph.h".
4397 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4399 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4405 * LaTeX.C: use namespace alias for lyx::support::os
4407 2003-09-16 Angus Leeming <leeming@lyx.org>
4410 * bufferview_funcs.C:
4413 * paragraph_pimpl.C:
4415 * text.C: add #include "LColor.h".
4417 2003-09-16 Angus Leeming <leeming@lyx.org>
4419 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4420 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4422 Store the FontBits::color variable as an int rather than as an
4423 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4426 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4427 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4428 string calls together.
4430 * lyxrc.C: add #include "LColor.h".
4432 2003-09-15 Angus Leeming <leeming@lyx.org>
4434 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4437 2003-09-15 Angus Leeming <leeming@lyx.org>
4439 * LColor.h: add an EnumLColor wrapper for LColor::color.
4441 * lyxfont.[Ch] (color, setColor, realColor):
4442 * lyxtext.h, text.C (backgroundColor):
4443 pass EnumLColor args to/from the functions, rather than LColor::color
4447 * lyxtext.h: forward declare EnumLColor.
4449 * lyx_main.C: add #include "LColor.h".
4451 2003-09-15 Angus Leeming <leeming@lyx.org>
4453 * .cvsignore: add lyx-gtk.
4455 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4460 * ParagraphParameters.C
4464 * bufferview_funcs.C
4474 * vc-backend.C: remove usage of STRCONV
4476 2003-09-15 Angus Leeming <leeming@lyx.org>
4478 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4479 explicitly define the color passed to the painter.
4481 2003-09-15 Angus Leeming <leeming@lyx.org>
4483 * bufferparams.C (BufferParams): reorder member initializers to avoid
4486 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4488 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4489 * text.C (updateRowPositions): remove an unusual nop
4491 2003-09-12 André Pönitz <poenitz@gmx.net>
4493 * BufferView_pimpl.C:
4502 * Counters.[Ch]: finish the 'automatic counters' job
4504 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4506 * aspell.C: include <boost/assert.cpp> (compile fix)
4508 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4510 * boost.C (assertion_failed): use lyx::support::abort instead of
4513 2003-09-10 Angus Leeming <leeming@lyx.org>
4515 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4516 with their _fwd progeny.
4518 2003-09-09 Angus Leeming <leeming@lyx.org>
4520 134 files throughtout the source tree: replace 'using namespace abc;'
4521 directives with the appropriate 'using abc::xyz;' declarations.
4523 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4525 * boost.C (emergencyCleanup): moved here from LAssert.c
4526 (assertion_failed): new function, called by BOOST_ASSERT
4528 * several files: change Assert to BOOST_ASSERT
4530 2003-09-09 Angus Leeming <leeming@lyx.org>
4532 * buffer.[Ch]: Add an Impl class and move Buffer's member
4533 variables into it. As a result move several header files out of
4536 Add header files to lots of .C files all over the tree as a result.
4538 2003-09-09 Angus Leeming <leeming@lyx.org>
4540 * buffer.[Ch]: make Buffer's member variables private. Add
4543 Lots of changes all over the tree as a result.
4545 2003-09-08 Angus Leeming <leeming@lyx.org>
4547 * graph.C: #include <config.h>.
4549 2003-09-08 Angus Leeming <leeming@lyx.org>
4553 * BufferView_pimpl.C:
4582 * toc.C: remove redundant using directives.
4584 2003-09-07 Angus Leeming <leeming@lyx.org>
4586 * LaTeXFeatures.h: remove #include "support/types.h".
4587 * ToolbarBackend.h: remove #include <algorithm>.
4588 * changes.h: remove #include <ctime>.
4589 * debug.h: remove #include <iosfwd>.
4590 * graph.h: remove #include "support/std_string.h".
4591 * lyx_main.h: remove #include <csignal>.
4592 * lyxlex_pimpl.h: remove #include <fstream>.
4593 * sgml.h: remove #include <algorithm>, <utility>.
4594 * toc.h: remove #include "support/std_ostream.h".
4595 Add #include <iosfwd>.
4597 2003-09-07 Angus Leeming <leeming@lyx.org>
4599 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4601 * converter.h: forward declare LatexRunParams.
4602 * encoding.h: remove #include "lyxrc.h".
4603 * lyxtext.h: remove #include "LColor.h".
4604 * lyxtextclass.h: remove #include "support/types.h".
4605 * trans.h: remove #include "tex-accent.h".
4606 * trans_mgr.h: remove #include "tex-accent.h".
4607 * insets/inset.h: remove #include "support/types.h", <vector>.
4608 * insets/insetcollapsable.h: remove #include "LColor.h".
4609 * insets/insetinclude.h: remove #include "dimension.h".
4610 * insets/insetlatexaccent.h: remove #include "dimension.h".
4611 * insets/insetoptarg.h:: remove #include "insettext.h".
4612 * insets/insettext.h: remove #include "dimension.h",
4613 <boost/shared_ptr.hpp>
4615 * insets/renderers.h: add #include "dimension.h".
4616 * insets/updatableinset.h: add #include "support/types.h".
4618 * many .C files: Associated changes.
4620 2003-09-06 Angus Leeming <leeming@lyx.org>
4622 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4623 one, inside testInvariant.
4625 * PrinterParams.C: new file.
4626 * PrinterParams.[Ch]: move the function bodies out of line.
4628 2003-09-06 Angus Leeming <leeming@lyx.org>
4630 * ParagraphParameters.h: forward declare ParameterStruct rather than
4631 including its header file.
4632 (depth): moved out-of-line.
4634 2003-09-06 Angus Leeming <leeming@lyx.org>
4636 * BufferView_pimpl.h:
4639 * lyxfunc.h: forward declare LyXKeySym rather than
4640 #include "frontends/LyXKeySym.h".
4642 * BufferView_pimpl.C:
4645 * lyxfunc.C: associated changes.
4647 2003-09-06 Angus Leeming <leeming@lyx.org>
4649 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4650 As a result, can remove the #include "insets/inset.h" from BufferView.h
4652 2003-09-06 Angus Leeming <leeming@lyx.org>
4654 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4655 As a result, can remove the #include "insets/inset.h" from BufferView.h
4657 2003-09-06 Angus Leeming <leeming@lyx.org>
4663 * bufferview_funcs.C:
4664 * BufferView_pimpl.C:
4669 * ParagraphParameters.C:
4674 * frontends/controllers/ControlDocument.C:
4675 * insets/insetcaption.C: rearrange the #includes into some sort of
4678 * buffer.h: remove #includes ErrorList.h, undo.h
4680 2003-09-06 Angus Leeming <leeming@lyx.org>
4682 * support/types.h: add a 'depth_type' typedef, used to store the
4683 nesting depth of a paragraph.
4686 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4687 defining explicitly.
4690 * paragraph_funcs.h:
4691 * ParagraphParameters.h:
4692 * sgml.h: use lyx::depth_type rather than Paragraph or
4693 ParameterStruct's depth_type.
4696 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4699 * BufferView_pimpl.C:
4701 * ParagraphParameters.C:
4704 * bufferview_funcs.C:
4711 * frontends/LyXView.C:
4712 * frontends/controllers/ControlDocument.C:
4713 * frontends/controllers/ControlErrorList.C:
4714 * insets/insetbibitem.C:
4715 * insets/insetbranch.C:
4716 * insets/insetcaption.C:
4717 * insets/insetcollapsable.C:
4718 * insets/insetenv.C:
4719 * insets/insetert.C:
4720 * insets/insetfloat.C:
4721 * insets/insetfoot.C:
4722 * insets/insetfootlike.C:
4723 * insets/insetnewline.C:
4724 * insets/insetquotes.C:
4725 * insets/insettabular.C:
4726 * insets/insettext.C:
4727 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4729 * frontends/controllers/ControlChanges.C: #include "changes.h".
4731 2003-09-06 Angus Leeming <leeming@lyx.org>
4733 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4734 than #including paragraph.h.
4737 * RowList.h: deleted. Superfluous.
4747 * insets/insettext.h: use ParagraphList_fwd.h rather than
4750 * paragraph.h: don't forward declare ParagraphList.
4753 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4754 rather than ParagraphList.h. paragraph.h is still needed for the
4755 Paragraph::depth_type parameters.
4757 * textcursor.h: enable it to compile stand-alone in light of the
4760 * bufferview_funcs.C:
4772 * frontends/controllers/ControlParagraph.C:
4773 * frontends/controllers/ControlTabular.C:
4774 * insets/insetmarginal.C:
4775 * insets/insetminipage.C:
4776 * insets/insetnote.C:
4777 * insets/insetoptarg.C: add header files needed to compile again.
4779 2003-09-06 Angus Leeming <leeming@lyx.org>
4781 * RowList_fwd.h: new file, forward-declaring Row rather than
4782 #including lyxrow.h.
4787 * insets/insettext.h: use it instead of RowList.h
4789 * bufferview_funcs.C:
4796 * text3.C: #include "RowList.h".
4798 2003-09-05 Angus Leeming <leeming@lyx.org>
4800 * factory.C (createInset):
4801 * vspace.C (c-tor): replace sscanf call with an istringstream.
4802 * ispell.C: re-add missing HP/UX headers.
4803 * lyxserver.C: re-add missing os2 headers.
4805 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4814 * text3.C: re-add missing system headers, needed for 2.95.2.
4816 2003-09-05 Angus Leeming <leeming@lyx.org>
4818 Changes most place everywhere due to the removal of using directives
4819 from support/std_sstream.h.
4821 2003-09-05 Angus Leeming <leeming@lyx.org>
4823 Replace LString.h with support/std_string.h,
4824 Lsstream.h with support/std_sstream.h,
4825 support/LIstream.h with support/std_istream.h,
4826 support/LOstream.h with support/std_ostream.h.
4828 Changes resulting throughout the tree.
4830 2003-09-05 Angus Leeming <leeming@lyx.org>
4832 * sgml.h: ensure that the header file can be compiled stand-alone.
4833 * *.C: strip out redundant #includes. (320 in total.)
4835 2003-09-04 Angus Leeming <leeming@lyx.org>
4837 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4838 here (from getPackages).
4840 * debug.[Ch]: add a new EXTERNAL tag.
4842 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4844 * text2.C (cursorEnd): simplify
4846 (getColumnNearX): adjust
4848 * text.C (computeBidiTables): adjust
4851 * rowpainter.C (paintChars): adjust
4852 (paintSelection): adjust
4853 (paintChangeBar): adjust
4856 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4858 (numberOfSeparators): adjust
4860 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4866 * text3.C: Restricts the mouse click functionality
4867 of insets like bibtex, include, toc and floatlist to the visible
4868 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4869 up the dialogs. Cursor has to be in front of the inset (i.e.
4870 start of row) for this to function.
4872 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4874 * bufferview_funcs.C (currentState): output row information
4876 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4878 * bufferview_funcs.C (currentState): output paragraph position
4880 2003-09-04 Angus Leeming <leeming@lyx.org>
4882 * FloatList.h: move out #include "Floating.h".
4883 * LaTeX.h: move out #include "DepTable.h".
4884 * LyXAction.h: move out #include "funcrequest.h".
4885 * buffer.h: move out #include "author.h", "iterators.h".
4886 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4887 * lyx_main.h: move out #include "errorlist.h".
4888 * lyxfunc.h: move out #include "FuncStatus.h".
4889 * lyxtext: move out #include "lyxcursor.h".
4890 * paragraph_pimpl.h: move out #include "counters.h".
4892 2003-09-03 Angus Leeming <leeming@lyx.org>
4894 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4895 preamble_snippets list, enabling us to add snippets to the preamble
4896 only if the snippet was not there already.
4898 2003-09-04 Angus Leeming <leeming@lyx.org>
4900 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4902 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4907 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4909 * BranchList.C: point fix, earlier forgotten
4911 2003-09-02 Angus Leeming <leeming@lyx.org>
4913 * box.C (contains): renamed from 'contained' after a fantastic
4916 2003-09-02 John Levon <levon@movementarian.org>
4922 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4924 2003-09-02 John Levon <levon@movementarian.org>
4926 * text2.C: simplification of cursorEnd(), including partial
4929 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * buffer.C (readFile): add a space
4933 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4935 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4937 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * buffer.C (readFile): new function, take a filename and a
4940 ParagraphList::iterator
4942 (readFile): adjust, make it private. don't use setStream, make
4943 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4944 always contain the filename.
4946 * BufferView.C (insertLyXFile): simplify and make it work for
4949 2003-08-30 John Levon <levon@movementarian.org>
4951 * Makefile.am: fix dist (from Kayvan)
4953 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4955 * most files: change to use const Buffer refs
4957 2003-08-27 André Pönitz <poenitz@gmx.net>
4959 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4960 on top of ownerPar().
4962 2003-08-27 John Levon <levon@movementarian.org>
4964 * funcrequest.C: properly initialise POD members
4966 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4968 * lyxtext.h (top_y): move top_y from here
4973 * BufferView_pimpl.[Ch]: to here
4974 * frontends/screen.C:
4975 * insets/insettabular.C:
4976 * insets/insettext.C: adjust
4977 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4979 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4982 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4984 2003-08-26 André Pönitz <poenitz@gmx.net>
4986 * paragraph_func.[Ch] (outerPar): new function
4989 * paragraph_funcs.C:
4990 * paragraph_funcs.h:
4991 * paragraph_pimpl.C:
4992 * text2.C: remove Inset::par_owner
4994 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4999 * text2.C: eliminates the needFullRow/display() stuff
5000 altogether, putting the logic in metrics/draw in the insets.
5002 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5004 * text2.C (redoParagraphInternal, redoParagraphs):
5005 * text.C (redoParagraph): add a call to updateRowPositions at the
5006 end of each 'metrics-like' call. Remove all others.
5007 (getRow): remove the 'y-computing' version.
5008 (getRowNearY): do not compute nor return the real y. Solve the
5009 'y < 0' problem and simplify.
5011 2003-08-22 Angus Leeming <leeming@lyx.org>
5013 * *.[Ch]: clean-up of licence and author blurbs.
5014 Also move config.h out of a few .h files and into a few .C files.
5016 2003-08-22 André Pönitz <poenitz@gmx.net>
5018 * lyxrow.[Ch]: add x_ and *fill_ members
5023 * text2.C: adjust/remove prepareToPrint() calls
5025 2003-08-22 André Pönitz <poenitz@gmx.net>
5027 * lyxrow.[Ch]: add end_ member
5029 * lyxrow_funcs.C: use LyXRow::end_
5031 * lyxtext.h (singleWidth): add LyXFont parameter
5034 * text2.C: adjust LyXText::singleWidth() calls
5036 * text.C (redoParagraph): simplify row breaking logic
5039 2003-08-19 André Pönitz <poenitz@gmx.net>
5041 * funcrequest.C: initialize button_ member
5044 * rowpainter.[Ch]: interface consolidation
5046 2003-08-18 André Pönitz <poenitz@gmx.net>
5049 * BufferView_pimpl.C:
5051 * paragraph_funcs.C:
5053 * text3.C: remove LyXScreen::draw() and fitCursor calls
5055 * BranchList.h: remove spurious semicolons
5057 * MenuBackend.C: fix branchlist related crash
5059 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5067 * bufferparams.[Ch]:
5071 * text3.C: implements the 'branch inset'
5072 idea. This allows the output of various versions of a document
5073 from a single source version, selectively outputing or suppressing
5074 output of parts of the text.
5075 This implementation contains a 'branch list editor' in a separate
5076 tab of the document settings dialog. Branches are user definable
5077 and have a "display colour" to distinguish them on-screen.
5079 ColorHandler was somewhat cleaned up.
5080 (1) make possible a dynamically growing LColor list by allowing
5081 the graphic context cache to grow along (vector);
5082 (2) eliminate an IMHO unnecessary step in colour allocation.
5084 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5086 * BufferView_pimpl.C: compile fix
5088 2003-08-15 André Pönitz <poenitz@gmx.net>
5090 * rowpainter.C: remove extra metrics calls
5092 * lyxtext.h: merge the two constructors into a single one,
5093 pass reference to owner's par list
5095 * BufferView_pimpl.C:
5099 2003-08-15 André Pönitz <poenitz@gmx.net>
5101 * lyxrow_funcs.[Ch]:
5104 * paragraph_funcs.C:
5109 * text_funcs.C: split LyXText::rowlist_ into individual
5110 Paragraph::rows_ chunks
5113 * BufferView_pimpl.[Ch]:
5116 * text3.C: remove toggleSelection()
5118 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5120 * bufferlist.C: beautify two alerts (shorter text of buttons)
5121 * buffer.C: Remove redundant ' ' from message
5123 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5124 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5125 rename VALIGN_CENTER to VALIGN_MIDDLE
5127 2003-08-11 André Pönitz <poenitz@gmx.net>
5129 * lyxtext.h (getPar):
5130 * text.C: new function
5132 2003-08-11 André Pönitz <poenitz@gmx.net>
5135 * tracer.[Ch]: remove unneeded files
5137 * InsetList.[Ch]: remove resizeInsetsLyXText()
5142 * text3.C: merge insertParagraphs() and appendParagraph()
5143 remove breakAgain(), update()
5145 * BufferView_pimpl.[Ch]:
5146 * bufferview_funcs.[Ch]:
5150 * tabular.C: adjust after text & InsetList changes.
5152 2003-08-08 André Pönitz <poenitz@gmx.net>
5154 * text.C (insertChar, backspace): replace rowlist fiddling
5155 with rebreak of full par
5158 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5159 checkParagraph, updateInset): removed
5161 2003-08-07 André Pönitz <poenitz@gmx.net>
5164 * text3.C: merge some LFUN handlers, remove dead code
5166 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5168 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5170 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5172 * text2.C (DEPM): fix part of bug 1255 and 1256
5174 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5176 * BufferView_pimpl.C (workAreaDispatch): change to use
5177 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5178 that are no mouse related.
5180 2003-08-05 André Pönitz <poenitz@gmx.net>
5183 * BufferView_pimpl.[Ch]:
5184 * bufferview_funcs.C:
5186 * text3.C: rip out "deep update"
5188 * textcursor.[Ch] (last_sel_cursor): remove unused member
5190 2003-08-04 André Pönitz <poenitz@gmx.net>
5193 * BufferView_pimpl.[Ch]:
5194 * ParagraphParameters.C:
5195 * bufferview_funcs.C:
5201 * text3.C: replace "complicated" BufferView::update(...) calls with
5204 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5206 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5208 * Makefile.am (lyx_SOURCES): add paper.h
5210 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5212 * Makefile.am: move things around so that both lyx-qt and
5213 lyx-xforms can be built (according to --with-frontend). Then lyx
5214 is a symbolic link to lyx-[firstfrontend]
5216 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5218 * Always use std::endl with lyxerr
5220 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5222 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5224 2003-08-01 André Pönitz <poenitz@gmx.net>
5227 * BufferView_pimpl.[Ch]:
5229 * text3.C: merge BufferView::repaint() and BufferView::update()
5231 2003-08-01 José Matos <jamatos@lyx.org>
5233 * buffer.[Ch]: file_format is no longer a buffer data element.
5235 2003-08-01 André Pönitz <poenitz@gmx.net>
5240 * text2.C: make redoParagraph more independent of current cursor
5242 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5244 * text2.C: remove unneeded members
5246 2003-07-30 André Pönitz <poenitz@gmx.net>
5248 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5250 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5251 create a single function...
5253 * paragraph_funcs.C (moveItem): ... here.
5256 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5258 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5260 * LColor.[Ch]: Add comment and greyedout logical colors.
5262 2003-07-30 André Pönitz <poenitz@gmx.net>
5264 * tabular.C: don't use Assert too heavily. This crashes where it
5267 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5269 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5270 is disabled (bug 1232)
5272 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5274 * factory.C: limited 'arg' scope
5276 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5278 * factory.C: fixed Note submenu issues
5280 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5282 * factory.C: submenu for Note/Comment/Greyedout
5284 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5287 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5289 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5292 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5293 greyedout. Patch provided by Jürgen Spitzmüller.
5295 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5297 * kbmap.C (read): fix error message when reading bind files
5299 2003-07-29 Angus Leeming <leeming@lyx.org>
5301 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5302 certainly does not do what it purports to do. I am doing it, and
5303 us, a favour by killing it.
5305 2003-07-28 José Matos <jamatos@lyx.org>
5307 * buffer.C (readBody, do_writeFile):
5308 * paragraph.C(readParagraph): \end_document replaces \the_end.
5310 2003-07-29 André Pönitz <poenitz@gmx.net>
5313 * BufferView_pimpl.[Ch]:
5317 * textcursor.[Ch]: remove toggleToggle & Co
5319 2003-07-28 José Matos <jamatos@fep.up.pt>
5321 * buffer.C (readParagraph):
5322 * params_func (readParToken, readParagraph):
5323 * paragraph.C (write): \layout -> \begin_layout.
5325 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * lyxlex_pimpl.C (setFile): clean up slightly.
5329 * bufferparams.h: add compressed var
5331 * buffer_funcs.C (readFile): adjust for LyXLex change
5332 (newFile): ditto + simplify
5334 * buffer.C (writeFile): handle writing of compressed files
5336 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5337 Check if the file is compressed and set a bufferparm if so.
5339 * Makefile.am (lyx_LDADD): remove explicit -lz
5341 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5343 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5344 makeDocBookFile): put the real LyX version in the first line of
5348 * version.C.in: remove lyx_docversion
5350 * tabular.C (write_attribute): add a template-based version to
5351 write enums properly
5353 2003-07-28 André Pönitz <poenitz@gmx.net>
5358 * text3.C: use doubles again for x-coordinates. They are needed.
5360 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5362 * messages.C (getLocaleDir): use lyx_localedir()
5364 * lyxlex_pimpl.C (setFile): compress stuff
5366 * buffer.C (writeFile): add some compression stuff
5367 (do_writeFile): new func, dont call expliti close... will this
5370 * Makefile.am (lyx_LDADD): add -lz
5372 2003-07-28 José Matos <jamatos@fep.up.pt>
5374 * buffer.C: increment file format.
5375 * paragraph_funcs (readParagraph, readParToken):
5376 * paragraph.C (readParagraph): add \end_layout.
5378 2003-07-27 Angus Leeming <leeming@lyx.org>
5380 * Makefile.am: remove special casing for configure-time setting of
5381 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5383 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5384 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5386 2003-07-26 André Pönitz <poenitz@gmx.net>
5388 * paragraph_func.[Ch]:
5389 * paragraph.C (realizeFont): inline it whereever it is used
5394 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5397 2003-07-26 André Pönitz <poenitz@gmx.net>
5401 * text2.C: get rid of LyXText::need_break_row
5403 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5405 * toc.[Ch]: put namespace toc inside namespace lyx
5407 * MenuBackend.C (expandToc2): adjust for lyx::toc
5410 * lyxfunc.C (dispatch): adjust for lyx::find
5412 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5413 lyx::find instead. Reorganize a bit.
5414 (LyXReplace): rename to replace
5415 (LyXFind): rename to find
5417 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5420 2003-07-26 André Pönitz <poenitz@gmx.net>
5422 * text.C (setHeightOfRow): restrict scope of temporary variable
5424 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5425 code (never has been used?)
5427 2003-07-27 Asger Alstrup <alstrup@local>
5429 * text.C (fill): Optimise algorithm to exploit that we can reuse
5430 the LyXFont for many characters.
5431 (setHeightOfRow): Same thing.
5432 (rowBreakPoint): Same thing.
5434 2003-07-26 Asger Alstrup <alstrup@local>
5436 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5438 * text.C (singleWidth): Spurious font copying in hot-spot
5439 singleWidth avoided. Reorder tests for arabic for efficiency.
5441 * text.C (fill): handle empty paragraphs better.
5443 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5446 * encoding.h: add includes
5448 * lyxrc.C: remove reading of bind files
5450 * lyx_main.C (init): setup bindings and menus only if we have a
5453 * kbmap.C (read): new method. Do the actual reading of bind
5456 * converter.C (dvipdfm_options):
5459 (output): adapt PAPER_* enums.
5461 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5463 * bufferparams.h: remove paper-related enums from there
5465 * paper.h: New file. A trivial header file to hold paper-related
5466 enums. It should later expand to contain many paper-related
5469 * lyxrc.C: declare extern displayTranslator
5471 2003-07-27 José Matos <jamatos@fep.up.pt>
5473 * tabular.[Ch] (linuxdoc): add support for tables and figures
5476 2003-07-27 José Matos <jamatos@fep.up.pt>
5478 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5479 consistency in both functions.
5480 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5482 2003-07-26 Asger Alstrup <alstrup@local>
5484 * rowpainter.C (paintRows): Change algorithm to work directly on
5485 the insets rather than asking every character in the document
5486 whether its an inset.
5488 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5490 * buffer.C (openFileWrite): factorize some code
5492 2003-07-26 Angus Leeming <leeming@lyx.org>
5495 * lyx_main.[Ch]: replace occurances of system_tempdir with
5498 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5500 * rename Inset to InsetOld
5502 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5504 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5505 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5506 which I think is a bit clearer. EDIT is gone, since it was
5507 premature optimisation, and broken for mathed anyway.
5508 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5509 with cursor positioning in insets as well (math insets still do not
5510 work, but that's a different story anyway.) It mysteriously
5511 crashes sometimes with undo in the first paragraph, but I'm fairly
5512 confident that this is a compiler bug.
5514 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5516 * paragraph.C (Paragraph): adjust for new clone return type
5518 (copyIntoMinibuffer): ditto
5520 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5522 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5523 by not having a special case, and always doing a full rebreak of
5524 the document after undo.
5526 2003-07-23 Angus Leeming <leeming@lyx.org>
5528 * factory.C (createInset): InsetExternal::setParams now takes a
5531 2003-07-23 Angus Leeming <leeming@lyx.org>
5533 * factory.C (createInset): changed interface to the external and
5534 graphics mailers' string2params functions.
5536 2003-07-23 Angus Leeming <leeming@lyx.org>
5538 * factory.C (createInset): pass a
5539 Buffer const * parameter to InsetExternalMailer's string2params.
5541 2003-07-22 John Levon <levon@movementarian.org>
5543 * Thesaurus.h: include the right aiksaurus header
5545 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5547 * MenuBackend.C (expand): check menu shortcuts unconditionally
5549 2003-07-21 Angus Leeming <leeming@lyx.org>
5551 * factory.C (createInset): pass a
5552 buffer_path parameter to InsetGraphicsMailer's string2params.
5554 2003-07-21 Angus Leeming <leeming@lyx.org>
5556 * BufferView_pimpl.C (buffer):
5559 * lyxfunc.C (dispatch):
5560 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5561 rather than the grfx shortcut.
5563 2003-07-21 André Pönitz <poenitz@gmx.net>
5565 * rowpainter.C: remove unused variables
5568 * tabular_funcs.h: move to tabular.C
5569 * Makefile.am: adjust
5571 * tabular.[Ch]: basic optical cleaning
5573 * author.h: pass references, not values
5575 2003-07-18 André Pönitz <poenitz@gmx.net>
5583 * text3.C: two-phase drawing for InsetText and InsetTabular
5584 some float -> int changes.
5586 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5588 * lyx_main.C: fix the fix
5590 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5592 * lyx_main.C: fix a crash in batch mode if no files specified
5595 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5597 * format.[Ch] (papersize): moved to BufferParams
5598 * converter.[Ch] (dvips_options): moved to BufferParams
5599 (dvipdfm_options): moved to anon namespace
5600 * bufferparams.[Ch]: added above functions.
5602 2003-07-17 André Pönitz <poenitz@gmx.net>
5606 * text2.C: don't call inset->update() anymore
5608 * metricsinfo.[Ch]: add convenience constructor
5610 2003-07-16 André Pönitz <poenitz@gmx.net>
5615 * text2.C: replace the LyXCursor::irow_ member with
5616 on-demand computation of the value
5618 2003-07-16 John Levon <levon@movementarian.org>
5620 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5622 2003-07-15 André Pönitz <poenitz@gmx.net>
5625 * text2.C: remove no more needed refresh_row
5627 2003-07-15 André Pönitz <poenitz@gmx.net>
5632 * text3.C: refresh_status tristate -> need_update bool
5634 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5636 * lyxtext.h (init): remove reinit argument (act as if always true)
5637 * text2.C: adjust to that
5639 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5641 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5642 * text3.C: use it to delete selections in some cases
5643 (bugs 441, 673, 702, 954).
5645 2003-07-14 André Pönitz <poenitz@gmx.net>
5647 * rowpainter.[Ch]: reduce interface
5649 2003-07-14 André Pönitz <poenitz@gmx.net>
5651 * BufferView_pimpl.C:
5652 * text2.C: adjust after removing unused BufferView * argument
5654 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5656 * text2.C (init): fix a crash fired on resize
5658 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5660 * buffer.[Ch]: added new closing signal
5661 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5662 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5663 BufferView::Pimpl via the closing the signal
5665 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5667 * buffer.[Ch]: take out all bv-related from buffer
5669 * BufferView_pimpl.[Ch]: connect to new signals
5670 * CutAndPaste.C: removed useless asserts
5671 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5674 * lyxfunc.C: moved view-related funciontality from vc here
5675 * paragraph.C: removed outdated comments
5678 2003-07-10 André Pönitz <poenitz@gmx.net>
5680 * BufferView_pimpl.C:
5684 * text2.C: remove InsetText::InnerCache, clean up consequences
5686 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5688 * ispell.C: fix two typos in error messages
5690 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5692 * Extend Note inset to other forms of annotation like Comment
5693 and Greyedout. Right button click gives dialog.
5695 Files modified or added (+):
5699 * ControlNote.[Ch] +
5701 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5702 frontends/controllers
5706 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5708 * aspell.C: add missing namespace lyx::support
5710 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5712 * BufferView.[Ch] (newFile): Add
5713 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5714 * LaTeX.[Ch] (message): added this signal and use it
5715 * buffer.[Ch] (busy, message): added these signals and use them
5716 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5720 * importer.C: use buffer signals instead of direct bv calling
5721 * lyx_cb.[Ch] (ShowMessage): removed
5724 * paragraph_funcs.C:
5725 * text2.C: use buffer signals
5727 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5729 * introduce namespace lyx::graphics
5731 2003-07-02 André Pönitz <poenitz@gmx.net>
5733 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5735 2003-07-01 André Pönitz <poenitz@gmx.net>
5742 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5743 text*.C to text_func.C
5745 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * introduce namespace lyx::support
5749 2003-06-30 André Pönitz <poenitz@gmx.net>
5754 * text.C: re-enable --with-included-string
5756 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5758 * textcursor.C: add <config.h>
5760 * text.C (getWord): remove const from word_location arg
5762 * lyxvc.C (getLogFile): fix const type order
5764 * lyxtext.h: remove const from word_location arg, add arg name
5766 * lyxlayout.h: currect type on labeltype.
5768 * importer.C: correct \file
5770 * converter.C (intToFormat): use std:: on ret val, ws changes
5772 * bufferlist.h: correct \file
5774 * buffer.C (makeLinuxDocFile): fix const type order
5775 (makeDocBookFile): ditto
5776 (fillWithBibKeys): use std:: on stdlib args.
5778 * CutAndPaste.C: fix authors.
5779 (availableSelections): use std:: on return vector
5781 2003-06-27 André Pönitz <poenitz@gmx.net>
5783 * BufferView_pimpl.C:
5784 * bufferview_funcs.C:
5792 * text3.C: remove LyXCursor::row_ member
5795 * text.C: rename fullRebreak() to partialRebreak() and implement
5796 a fullRebreak() that really bereks fully
5798 * textcursor.h: new struct for cursor-related data
5800 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5802 * lyx_main.C (LyX): get full path of document loaded on the
5805 2003-06-26 André Pönitz <poenitz@gmx.net>
5807 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5808 remove unused/broken operator>,<,>=.
5810 * text.C: remove only use of broken operator<= in an Assert().
5812 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5814 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5815 moved errorlist_.clear to showErrorList
5817 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5819 * converter.C (scanLog, runLaTeX):
5820 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5821 move the bv->showErrorList call to the callers
5822 * lyxfunc.C: i.e. here...
5824 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5825 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5826 namespace, the second to...
5827 * buffer_funcs (BufferFormat, parseErrors): added
5828 * errorlist.C (ErrorList(TeXErrors const &)): removed
5830 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5832 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5834 2003-06-24 "Garst R. Reese" <reese@isn.net>
5838 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5840 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5842 * version.C.in: change docversion to 1.4
5844 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5846 * buffer.C: fix a bug just introduced
5848 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5850 * buffer.[Ch]: added the parseError signal and use it, removed
5852 * BufferView.[Ch] (addError): moved to ...
5853 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5854 to the Buffer::parseError signal to catch (guess what) parse errors
5855 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5857 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5859 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5860 ability to create a buffer and to return an existing one from
5861 the list. Moved these functions to...
5862 * buffer_funcs.[Ch]: added
5863 * BufferView.[Ch] (loadLyXFile): added
5864 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5865 job removed from bufferlist::loadLyXFile.
5866 * buffer.C (setReadOnly): make it work without view
5867 (i.e added an if (users))
5869 2003-06-19 Angus Leeming <leeming@lyx.org>
5872 * LyXAction.C (init):
5873 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5874 with LFUN_DIALOG_SHOW <name> <data>.
5876 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5878 * CutAndPaste.C (availableSelections): small compilation fix for
5879 ancient (gcc 2.9x) compilers
5881 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * text3.C (cursorNext): add tmp var
5885 * text2.C (updateCounters): for function calling out of for clause
5886 (replaceSelectionWithString): ditto
5887 (insertStringAsParagraphs): ditto
5888 (getColumnNearX): add tmp var
5889 (setCursorFromCoordinates): add tmp var
5890 (cursorDownParagraph): add tmp var
5891 (deleteEmptyParagraphMechanism): add tmp var
5893 * text.C (insertChar): add tmp var
5895 * rowpainter.C (paintDepthBar): add tmp var
5897 * CutAndPaste.C (availableSelections): potentially check all
5898 paragraphs in a cut to fill the shown strings.
5900 2003-06-18 André Pönitz <poenitz@gmx.net>
5902 * kbmap.[Ch]: use vector<> instead of list<>
5904 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5906 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5907 pasteSelection with index
5909 * text2.C (pasteSelection): modify, call pasteSelection with index
5911 * paragraph.C (asString): reimplement version with no interval to
5912 call the one with interval.
5914 * lyxtext.h: add index arg to pasteSelection
5916 * MenuBackend.C (MenuItem): handle PasteRecent
5917 (Menu::read::Menutags): add md_pasterecent
5919 (expandPasteRecent): new function
5922 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5924 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5926 (availableSelections): new function
5928 2003-06-17 Angus Leeming <leeming@lyx.org>
5930 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5932 2003-06-17 Angus Leeming <leeming@lyx.org>
5935 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5937 * lyxfunc.C (dispatch): invoke it.
5939 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5941 * iterators.C (operator++, ParPosition): reintroduce some
5942 const_cast for the benefit of older compilers.
5944 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5946 * text3.C (dispatch): do not modify clipboard when doing
5947 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5948 LFUN_DELETE_SKIP on a selection selection
5950 2003-06-16 André Pönitz <poenitz@gmx.net>
5956 * tabular.[Ch]: IU of clone() and getLabelList();
5958 2003-06-13 André Pönitz <poenitz@gmx.net>
5960 * tabular.h: compactification
5962 2003-06-12 André Pönitz <poenitz@gmx.net>
5966 * tabular_funcs.h: some renaming plus whitespace
5968 2003-06-12 André Pönitz <poenitz@gmx.net>
5971 * BufferView_pimpl.C:
5977 * toc.C: Return a Paragraph & for ParIterator::operator*()
5979 2003-06-11 John Levon <levon@movementarian.org>
5983 * ToolbarBackend.C: add "Toolbars" section and
5986 2003-06-10 Angus Leeming <leeming@lyx.org>
5989 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5991 * lyxfunc.C (dispatch): invoke it.
5993 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5995 * main.C: protect <ios> with HAVE_IOS
5996 (main): protect sync_with_stdio with HAVE_IOS
5998 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6000 * text2.C (cutSelection): adjust
6001 (pasteSelection): adjust
6003 * messages.C: handle get of empty string
6005 * main.C (main): use sync_with_stdio(false)
6007 * lyxfunc.C (dispatch): adjust
6009 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6010 (WriteAs): remove unneeded BufferView arg.
6012 * bufferparams.h: use correct types on papersize, papersize2 and
6015 * bufferparams.C (readToken): adjust for type
6016 (writeLaTeX): add missing cases to switch.
6018 * bufferlist.C (quitWriteBuffer): adjust
6021 * buffer.C (asciiParagraph): remove some commented code.
6023 * CutAndPaste.C: remove current_view extern variable.
6024 (cutSelection): add BufferParams arg.
6025 (eraseSelection): add BufferParams arg.
6026 (pasteSelection): add Buffer const & arg
6028 2003-06-07 John Levon <levon@movementarian.org>
6031 * paragraph_funcs.C:
6032 * paragraph_pimpl.C:
6036 * paragraph.C: allow InsetERT to freely space lines,
6037 and some consolidation of code
6039 2003-06-06 José Matos <jamatos@fep.up.pt>
6041 * buffer.C (makeDocBookFile): fix bug #821
6043 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6045 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6047 2003-06-04 Angus Leeming <leeming@lyx.org>
6049 * buffer.C: bump format to 224.
6051 2003-06-05 André Pönitz <poenitz@gmx.net>
6053 * text2.C (redoParagraphs): remove two const_cast<>
6055 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6057 * ParagraphList.h: remove last remnants of NO_STD_LIST
6059 2003-06-03 Angus Leeming <leeming@lyx.org>
6061 * factory.C (createInset): small change to the way InsetExternal's params
6064 2003-06-04 André Pönitz <poenitz@gmx.net>
6066 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6068 * paragraph_pimpl.h:
6069 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6071 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6073 * undo_funcs.C: make some simple cases of undo work again
6075 2003-06-03 John Levon <levon@movementarian.org>
6077 * ispell.C: HPUX doesn't have sys/select.h
6080 2003-06-03 John Levon <levon@movementarian.org>
6082 * CutAndPaste.C: update tabular and include inset
6087 * paragraph.C: remove owningBuffer(), don't pass Buffer
6090 * factory.C: insetGraphicsParams changed
6092 2003-06-02 John Levon <levon@movementarian.org>
6098 * text3.C: remove insetparent
6100 2003-06-02 John Levon <levon@movementarian.org>
6103 * buffer.C: fix inset_iterator.end(), move out of line
6106 2003-06-01 John Levon <levon@movementarian.org>
6108 * text3.C: use a proper cut/paste when doing inset
6109 insert (from Jürgen Spitzmüller)
6111 2003-06-01 John Levon <levon@movementarian.org>
6113 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6115 2003-05-30 André Pönitz <poenitz@gmx.net>
6117 * rowpainter.C: unify second drawing phase
6119 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6121 * trans_mgr.C: remove one case of current_view
6123 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6125 * paragraph_funcs.h: remove paragraph.h include
6127 * paragraph.h: delete NO_STD_LIST stuff
6129 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6131 * buffer.h: remove paragraph.h include
6133 * ParagraphList.C: delete file
6135 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6137 * toc.C (getTocList): adjust
6139 * paragraph_pimpl.C (validate): adjust
6141 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6143 * paragraph.C (Paragraph): adjust
6144 (getPositionOfInset): use const_iterator, adjust
6145 (bibitem): use const_iterator, adjust
6146 (setInsetOwner): adjust
6148 * iterators.C (operator++): adjust
6150 * InsetList.[Ch]: Replace selfmade iterator with standard
6151 vector::iterator also introduce const_iterator. Remove getPos,
6152 getInset and setInset from InsetTable. Adjust accordingly.
6154 * BufferView.C (lockInset): adjust
6155 (ChangeInsets): adjust
6157 * tabular.[Ch]: delete commented same_id functions
6159 2003-05-28 John Levon <levon@movementarian.org>
6161 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6163 2003-05-28 André Pönitz <poenitz@gmx.net>
6165 * metricsinfo.[Ch]: remove 'fullredraw' member
6167 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6169 * lyxtextclass.C (operator): remove caching.
6171 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6175 * text2.C (cursorBottom): adjust
6176 (setCounter): use ParagraphList::find, adjust
6178 * text.C (workWidth): use ParagraphList::find, adjust
6180 * lyxcursor.C (LyXCursor): adjust
6182 * buffer.C (inset_iterator): adjust
6184 * ParagraphList.h: make iterator(value_type) private, make
6185 ParagraphList a friend of iterator.
6187 * ParagraphList.C (find): new function
6189 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6191 2003-05-27 André Pönitz <poenitz@gmx.net>
6193 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6195 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6197 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6199 2003-05-26 John Levon <levon@movementarian.org>
6201 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6203 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6205 * remove same_id from function signatures, adjust.
6207 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6209 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6211 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6213 * paragraph.C (Paragraph): get rid of same_ids parameter
6215 * ParagraphList.C (insert): adjust
6218 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6220 * paragraph_funcs.C (breakParagraph): adjust
6221 (breakParagraphConservative): adjust
6223 * buffer.C (readParagraph): adjust
6225 * ParagraphList.C (insert): take a reference instead of a pointer
6228 * paragraph.[Ch] (id): new function
6230 * bufferlist.C (newFile): adjust
6232 * ParagraphList.C (ParagraphList): adjust
6234 (push_back): take a reference instead of a pointer.
6236 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6238 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6241 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6242 set else use old code.
6244 * ParagraphList.C: remove all NO_NEXT code and only compile this
6245 code of NO_STD_LIST is set.
6247 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6249 * BufferView_pimpl.C:
6259 * graphics/GraphicsConverter.C:
6260 * graphics/PreviewLoader.C: header adjustment
6262 2003-05-23 Angus Leeming <leeming@lyx.org>
6264 * LaTeXFeatures.[Ch] (useBabel): new method.
6265 * bufferparams.C (writeLaTeX): use it.
6267 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * ParagraphList.h (set): remove unused function.
6271 2003-05-23 André Pönitz <poenitz@gmx.net>
6274 * BufferView_pimpl.C:
6278 * undo_funcs.C: setUndo reworked
6280 * iterators.[Ch]: add access to topmost ParagraphList
6282 * lyxtext.[Ch] (workWidth): add a const
6284 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6286 * texrow.[Ch] (increasePos): remove function
6287 * exporter.C (export): removed unused var and outdated comment
6289 2003-05-23 Angus Leeming <leeming@lyx.org>
6291 * latexrunparams.h: rename fragile as moving_arg.
6292 * paragraph.C (simpleTeXOnePar): ditto.
6293 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6295 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6297 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6299 (textUndoOrRedo): comment out a currently unused var.
6301 * paragraph.h (NO_NEXT): enable NO_NEXT
6303 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6305 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6307 * exporter.C (Export): adjust for removeAutoInsets removal.
6309 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6311 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6313 * BufferView.[Ch] (removeAutoInsets): delete function
6315 2003-05-22 Angus Leeming <leeming@lyx.org>
6317 * latexrunparams.h: add a free_spacing variable.
6319 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6320 to pass moving_arg, as the data is stored in runparams.fragile.
6322 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6323 to Inset::latexOptional or to simpleTeXOnePar.
6325 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6326 free_spacing arg to Inset::latexOptional.
6328 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6331 2003-05-22 Angus Leeming <leeming@lyx.org>
6333 * latexrunparams.h: add fragile and use_babel variables.
6335 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6336 * buffer.C (makeLaTeXFile): store this returned value in
6337 runparams.use_babel, thus passing it to the inset::latex methods.
6339 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6340 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6342 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6343 longer has a fragile arg, as it is stored in runparams.fragile.
6345 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6346 moving_arg parameter as the data is stored in runparams.fragile.
6348 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6349 a fragile parameter as the data is stored in runparams.fragile.
6351 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6353 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6355 2003-05-22 Angus Leeming <leeming@lyx.org>
6357 * latexrunparams.h: add a 'bool nice' which defaults to false.
6359 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6360 now encapsulated within runparams.
6362 * bufferlist.C (updateIncludedTeXfiles):
6363 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6365 2003-05-22 Angus Leeming <leeming@lyx.org>
6367 * latexrunparams.h: new file containing struct LatexRunParams.
6368 * Makefile.am: add new file.
6370 * LaTeX.[Ch] (c-tor, run):
6371 * buffer.[Ch] (makeLaTeXFile):
6372 * bufferlist.[Ch] (updateIncludedTeXfiles):
6373 * converter.C (convert, scanLog):
6374 * converter.[Ch] (runLaTeX):
6375 * exporter.C (Export):
6376 * paragraph.[Ch] (simpleTeXOnePar):
6377 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6378 * paragraph_funcs.[Ch] (latexParagraphs):
6379 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6380 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6381 pass around a LatexRunParams parameter.
6383 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6385 * paragraph.[Ch]: remove unused constructor
6387 * ParagraphList.C (erase): new function, taking two iterators
6389 2003-05-22 André Pönitz <poenitz@gmx.net>
6391 * undo_funcs.C: remove duplicated code
6393 * iterator.[Ch]: operator=
6395 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * tabular.C (SetMultiColumn): ws changes
6399 * rowpainter.C (paintFirst): get rid of a ->previous
6401 * lyx_cb.C (getPossibleLabel): parlist simplification
6403 * BufferView.C (ChangeInsets): simplify slightly.
6405 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6407 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6408 * lfuns.h: new LFUN_SPACE
6409 * lyxfunc.C: protected space has a new lfun
6410 * paragraph_funcs.C: read new space insets
6412 * factory.C: handle new space insets
6414 2003-05-22 André Pönitz <poenitz@gmx.net>
6417 * BufferView_pimpl.C:
6420 * undo_funcs.C: return a ParIterator from getParFromID.
6422 * iterators.[Ch]: add two const's
6424 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6426 * toc.C (getTocList): adjust
6428 * iterators.[Ch]: rework for parlist
6430 * buffer.C (par_iterator_begin): adjust
6431 (par_iterator_end): adjust
6433 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6435 * BufferView.C (removeAutoInsets): adjust
6436 (ChangeInsets): adjust
6438 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6440 * text.C (top_y): fix bug 1110
6442 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6444 * errorlist.[Ch]: added
6447 * BufferView_pimpl.C:
6448 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6451 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6453 * Makefile.am: ensure that lyx is relinked upon changes to the
6454 various "convenience" libs.
6456 2003-05-20 Angus Leeming <leeming@lyx.org>
6458 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6459 files are compiled in alphabetical order again.
6461 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6463 2003-05-19 Angus Leeming <leeming@lyx.org>
6465 * gettext.[Ch]: remove "char const * _(char const *)".
6467 2003-05-19 André Pönitz <poenitz@gmx.net>
6469 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6478 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6480 2003-05-19 André Pönitz <poenitz@gmx.net>
6484 * lyxtextclass.[Ch]:
6486 * paragraph_funcs.[Ch]:
6488 * text3.C: more insetenv work
6490 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6492 * ParagraphParameters.C (params2string): small bug fixed
6494 2003-05-16 André Pönitz <poenitz@gmx.net>
6497 * bufferview_funcs.C: patch from Kornel Benko to prevent
6498 crash when _(...) is called twice in a statement
6500 2003-05-16 André Pönitz <poenitz@gmx.net>
6507 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6509 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6511 * lyx_main.C (init): remove spurious static_cast
6513 2003-05-14 André Pönitz <poenitz@gmx.net>
6515 * BufferView.C: fix format string
6517 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6519 * BufferView.[Ch] (insertErrors): removed
6520 * BufferView.[Ch] (showErrorList): added
6521 * buffer.C (runChkTeX):
6522 * converter.C (scanLog): call showErrorList instead of inserterrors
6524 2003-05-13 André Pönitz <poenitz@gmx.net>
6526 * BufferView_pimpl.C:
6528 * bufferview_func.C:
6535 * tabular_funcs.h: tostr() from its own header
6537 * ParagraphParameters.C:
6542 * text3.C: STRCONV()
6544 2003-05-12 André Pönitz <poenitz@gmx.net>
6547 * BufferView_pimpl.C:
6551 * ParagraphParameters.C:
6555 * bufferview_funcs.C:
6568 * paragraph_funcs.C:
6572 * text3.C: boost::format -> bformat all over the place
6575 2003-05-09 André Pönitz <poenitz@gmx.net>
6577 * LColor.[Ch]: Pimpl the #include <map> away
6579 2003-05-09 John Levon <levon@movementarian.org>
6581 * bufferlist.C: never remove emergency saves
6583 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * Makefile.am: better lib building
6587 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6589 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6591 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6592 (simpleTeXSpecialChars): adjust
6593 (simpleTeXSpecialChars): adjust
6594 * paragraph.C (simpleTeXOnePar): adjust
6595 * buffer.C (makeLaTeXFile): adjust
6597 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6599 * text2.C (changeDepth): parlist cleanup
6600 (getColumnNearX): ditto
6602 * rowpainter.C (getLabelFont): parlist cleanup
6604 * bufferlist.C (newFile): parlist cleanup
6606 * CutAndPaste.C (eraseSelection): parlist cleanup
6608 * BufferView_pimpl.C (trackChanges): parlist cleanup
6611 * BufferView.C (lockInset): parlist cleanup.
6612 (ChangeInsets): ditto
6614 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6616 * CutAndPaste.h: Update file header.
6618 * CutAndPaste.C: Update file header.
6619 Store the parts cut out of the Document in a limited_stack.
6620 (copySelection): adjust
6621 (pasteSelection): new function, takes the index in the limited stack.
6622 (nrOfParagraphs): adjust
6623 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6624 simplify error inset insertion.
6625 (checkPastePossible): adjust
6627 2003-05-06 John Levon <levon@movementarian.org>
6629 * text2.C: don't cast wrap inset to float
6631 2003-05-05 André Pönitz <poenitz@gmx.net>
6634 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6636 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6637 few naked Paragraph *.
6639 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6641 * bufferparams.C: Output warning if a document with missing
6642 TeX document class is loaded
6643 * exporter.C: Disable TeX exports if the document class is missing
6646 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6647 isTeXClassAvailable()
6649 2003-05-03 John Levon <levon@movementarian.org>
6652 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6653 explicit cursor show/hide
6655 * BufferView_pimpl.h:
6656 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6657 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6659 * lyxfunc.C: hide cursor before dispatching.
6664 * text3.C: remove explicit cursor hides
6666 2003-05-02 André Pönitz <poenitz@gmx.net>
6668 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6671 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6674 * text2.C: tiny whitespace
6676 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6678 * undo_funcs.C: almost only ws changes.
6680 * ParagraphList.C (splice): just return if pl is empty.
6682 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6684 * ParagraphList.C (splice): new function.
6686 * CutAndPaste.C (pasteSelection): use it
6688 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * CutAndPaste.C (pasteSelection): remove the last next and
6691 previous from this file.
6693 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * CutAndPaste.C (pasteSelection): more clean up, user proper
6696 ParagraphList functions for pasteing.
6698 * ParagraphList.C (insert): new function, three arg insert
6700 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * ParagraphList.C (insert): new function, three arg insert
6704 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6707 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6709 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6711 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6715 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6717 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6718 (copySelection): clean up a bit.
6719 (pasteSelection): use make_pair
6721 * ParagraphList.C (ParagraphList): implement copy constructor
6722 (operator=): implement, base on copy constructor.
6725 * paragraph.C (erase): return a bool
6727 * paragraph_pimpl.C (erasePos): remove function, move contents...
6728 (erase): ... here. Return a bool.
6729 (erase): call erase instead of erasePos.
6731 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6733 * ParagraphList.h: define PitPosPair
6734 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6735 ParagraphList, fix a bug on pasting multiple pars
6736 * text2.C: change interface to C&P
6738 2003-04-30 André Pönitz <poenitz@gmx.net>
6740 * undo_func.C: revert part of yesterday's patch 2
6742 2003-04-30 John Levon <levon@movementarian.org>
6744 * LColor.C: s/tabular/table/
6746 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * text3.C (dispatch): do not convert iterator -> pointer
6749 * undo_funcs.C (setCursorParUndo): ditto
6750 * text_funcs.C (transposeChars): ditto
6752 * text2.C (setLayout): ws changes only
6754 * text.C (breakParagraph): do not convert iterator -> pointer
6756 (acceptChange): ditto
6757 (rejectChange): ditto
6762 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6765 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6767 * text3.C (gotoInset): YABG (yet another bad getChar)
6769 2003-04-29 André Pönitz <poenitz@gmx.net>
6771 * paragraph.h: make operator= private unimplemented as long as
6774 * ParagraphList.C: whitespace
6777 * paragraph_pimpl.[Ch]:
6778 * paragraph_funcs.C:
6780 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6783 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6785 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6787 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6788 * paragraph.[Ch] (erase):
6789 * paragraph_pimpl.[Ch] (erase): change return type and value
6790 * text2.C (cutSelection): some rework
6792 2003-04-28 John Levon <levon@movementarian.org>
6794 * bufferlist.C: changes for unsaved changes dialog
6796 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6798 * bufferlist.C (newFile): set language (messages_) for new
6801 * buffer.C (readFile): ws changes only.
6803 2003-04-28 André Pönitz <poenitz@gmx.net>
6808 * BufferView_pimpl.C:
6809 * BufferView.C: getParFromID related ParagraphList::iterator changes
6811 2003-04-28 André Pönitz <poenitz@gmx.net>
6813 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6816 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6818 * messages.C: remove one more localedir class variable.
6820 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6822 * messages.C (getLocaleDir): singleton generation function
6824 (Messages): add a default constructor.
6826 * main.C (main): do not setup localedir here, do not call
6829 * gettext.C (_): use it.
6830 (gettext_init): delete funciton
6832 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * gettext.C (getLyXMessages): new singleton generating function.
6836 * buffer.C (updateDocLang): adjust
6838 * Makefile.am (messages.o): add target
6839 (main.o): remove target
6841 2003-04-27 John Levon <levon@movementarian.org>
6846 * lyxvc.C: specify cancel button in Alert::prompt
6848 2003-04-26 John Levon <levon@movementarian.org>
6853 * LyXAction.C: add LFUN_INSET_SETTINGS
6855 * lyxfunc.C: don't enable tabular-feature when there's
6856 just any locking inset
6858 2003-04-26 John Levon <levon@movementarian.org>
6860 * bufferlist.C: re-add Cancel to buffer close question
6862 * lyxfunc.C: fix import UI a bit
6864 2003-04-25 John Levon <levon@movementarian.org>
6866 * gettext.C: remove the broken asserts for now
6868 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6870 * messages.C: make case where setlocale cannot comply work better.
6872 * buffer.C (updateDocLang): new function
6873 (changeLanguage): use it
6876 * text2.C (setCounter): use B_ a bit.
6878 * lyxlayout.C (Read): be sure to trim the label strings.
6880 * messages.C (Messages): fix typo in comment
6882 * buffer.C (readFile): set message_ after file is loaded.
6883 (makeDocBookFile): remove double return
6884 (changeLanguage): reset message_ upon language change.
6885 (B_): new func, use this to get translated buffer strings.
6887 * main.C: add myself and Jean Marc as authors.
6889 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6891 * messages.[hC]: pimplify Messages, and three different pimpls to be
6892 used in different circumstances.
6894 * gettext.[Ch]: change for use with new message code.
6896 2003-04-24 André Pönitz <poenitz@gmx.net>
6898 * factory.C: support for eqref
6900 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * messages.[Ch]: add missing char
6904 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6906 * messages.[Ch]: New files
6908 2003-04-18 John Levon <levon@movementarian.org>
6912 * BufferView_pimpl.C:
6916 * text2.C: remove layout-copy/paste (bug 778)
6918 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6920 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6922 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6924 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6925 if they succeed. Act accordingly.
6927 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * text2.C (setCharFont): adjust
6930 (setCounter): adjust
6931 (insertStringAsLines): adjust
6933 * text.C (leftMargin): adjust
6934 (setHeightOfRow): adjust
6936 * rowpainter.C (paintFirst): adjust
6939 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6941 (isFirstInSequence): ditto
6942 (getEndLabel): ditto
6945 * paragraph.C (getParLanguage): comment out some hard stuff.
6947 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6949 (simpleDocBookOnePar): ditto
6950 (makeDocBookFile): use ParagraphList::iterator
6952 * CutAndPaste.C (pasteSelection): adjust
6954 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6956 * text2.C (getFont): adjust
6957 (getLayoutFont): adjust
6958 (getLabelFont): adjust
6960 * paragraph_funcs.C (TeXOnePar): adjust
6962 * buffer.C (simpleLinuxDocOnePar): adjust
6963 (simpleDocBookOnePar): adjust
6965 * CutAndPaste.C (pasteSelection): adjust
6967 * BufferView.C (getEncoding): adjust
6969 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6971 2003-04-16 John Levon <levon@movementarian.org>
6973 * lyxfind.C: use parlist stuff for search/changes
6975 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6977 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6979 * text2.C (deleteEmptyParagraphMechanism): adjust
6981 * text2.[Ch] (ownerParagraph): delete func (both of them
6983 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6985 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6987 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6989 * ParagraphList.C: prepare for NO_NEXT
6991 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6993 * text2.C (getFont): adjust
6994 (getLayoutFont): adjust
6995 (getLabelFont): adjust
6997 * paragraph.C (getFont): adjust
6998 (getLabelFont): adjust
6999 (getLayoutFont): adjust
7001 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7003 2003-04-15 John Levon <levon@movementarian.org>
7007 * lyx_main.C: handle Include in .ui files
7009 2003-04-15 John Levon <levon@movementarian.org>
7011 * MenuBackend.C: make the doc files length shorter
7014 * ToolbarBackend.C: handle toolbar placement flags,
7017 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7022 * paragraph_funcs.C (TeXOnePar): adjust
7024 * paragraph.C (getLabelFont): add outerfont arg, adjust
7025 (getLayoutFont): ditto
7026 (simpleTeXOnePar): adjust
7028 * paragraph_pimpl.C (realizeFont): delete func
7030 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7032 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7033 row argument, constify cur argument.
7035 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7037 * text2.C (getFont): adjust
7038 (getLayoutFont): adjust
7039 (getLabelFont): adjust
7041 * paragraph_funcs.C (TeXOnePar): adjust
7042 (outerFont): new func...
7043 (realizeFont): ...moved out from here, changed this to facilitate
7046 * paragraph.C (getFont): take outerfont as arg, adjust
7047 (simpleTeXOnePar): add outerfont arg, adjust
7049 * buffer.C (simpleLinuxDocOnePar): adjust
7050 (simpleDocBookOnePar): adjust
7052 * CutAndPaste.C (pasteSelection): adjust
7054 * BufferView.C (getEncoding): adjust
7056 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * text2.C (setCharFont): adjust
7059 (setCounter): adjust
7061 * text.C (leftMargin): adjust
7062 (setHeightOfRow): adjust
7064 * rowpainter.C (paintFirst): adjust
7067 * paragraph_pimpl.C (realizeFont): adjust
7069 * paragraph.C (isFirstInSequence): move from here...
7070 * paragraph_funcs.C (isFirstInSequence): ...to here
7072 * paragraph.C (outerHook): move from here...
7073 * paragraph_funcs.C (outerHook): ...to here
7075 * paragraph.C (depthHook): move from here...
7076 * paragraph_funcs.C (depthHook): ...to here
7078 * paragraph.C (getEndLabel): move from here...
7079 * paragraph_funcs.C (getEndLabel): ...to here
7081 * text2.C (realizeFont): move from here...
7082 * paragraph_funcs.C (realizeFont): ...to here
7084 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7088 2003-04-14 Angus Leeming <leeming@lyx.org>
7090 * LColor.[Ch]: scrap LColor mathcursor.
7092 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7094 * lyxlex.[Ch] (text): delete function
7095 * trans.C (Load): adjust
7096 * paragraph_funcs.C (readParToken): adjust
7098 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7100 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7101 vector<char> instead of a char[].
7103 * lyxlex_pimpl.C (getString): adjust
7105 (lex): use getString
7109 * lyxlex.C (text): use pimpl_->getString()
7113 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7115 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7116 (makeFontEntriesLayoutSpecific): temp var for par.size()
7117 (setLayout): temp var for ownerParagraphs().end()
7118 (fullRebreak): temp var for rows().end()
7119 (selectionAsString): temp var for boost::next(startpit), realize
7120 that the while really is a regular for loop.
7121 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7122 setCursor in one place.
7123 (setParagraph): temp vr for ownerParagraphs().end()
7124 (updateCounters): make the while loop a for loop
7125 (cutSelection): temp var for ownerParagraphs().end()
7126 (updateInset): make the do {} while() a regular for loop
7127 (getCursorX): use temp vars
7128 (setCurrentFont): use temp vars
7129 (getColumnNearX): use temp vars
7131 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * text.C (transformChar): use temp var for getChar
7134 (computeBidiTables): use temp var for row->par()
7135 (fill): move temp vars for row->par() and pit->layout() earlier in
7137 (labelFill): use temp var for row->par()
7138 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7139 asc and desc, realize that pit never changes and that firstpit is
7140 just a duplicate and not needed. Exchange rit->par() with pit in a
7142 (breakAgain): use a temp var for boost::next(rit)
7143 (breakAgainOneRow): ditto
7144 (breakParagraph): use a temp var for rows().begin()
7145 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7146 (cursorRightOneWord): use temp var for cursor.par() and
7147 cursor.pos(), remove usage of tmpcursor.
7148 (cursorLeftOneWord): use temp var for cursor.par() and
7149 cursor.pos() only set cur at end of function.
7151 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7153 * text.C, text2.C: exchange all usage of Paragraph::next with
7154 boost::next(ParagraphList::iterator)
7156 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7158 * text2.C (cursorTop): simplify implementation
7159 (cursorBottom): ditto
7160 (setParagraph): use ParagraphList::iterator
7161 (setCurrentFont): adjust
7162 (getColumnNearX): adjust
7163 (cursorRight): adjust
7164 (cursorLeft): remove usage of Paragraph::previous
7165 (cursorUpParagraph): ditto
7166 (deleteEmptyParagraphMechanism): slight cleanup
7168 * text.C (isBoundary): take a Paragraph const & instead of a
7170 (addressBreakPoint): ditto
7171 (leftMargin): remove usage of Paragraph::previous.
7172 (setHeightOfRow): ditto
7173 (cursorLeftOneWord): ditto
7174 (selectNextWordToSpellcheck): ditto
7177 (breakParagraph): remove one usage of Paragraph::next
7178 (redoParagraph): ditto
7179 (acceptChange): ditto
7180 (insertChar): adjust
7181 (rowBreakPoint): adjust
7183 * bufferview_funcs.C (toggleAndShow): adjust
7185 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7187 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7188 methods to access it.
7190 * text.C: Added updateRowPositions to compute all row positions.
7191 Make top_y and getRowNearY() to use the cached y position
7193 2003-04-11 John Levon <levon@movementarian.org>
7195 * text.C (rowBreakPoint): reintroduce the labelEnd
7196 checks, code copied from the row fill stuff. Deep voodoo.
7198 * text.C (fill): add a comment and debugging for the
7201 2003-04-11 John Levon <levon@movementarian.org>
7203 * text.C: make sure fullrow insets get wrapped to the next line,
7204 even when they're in a manual label
7206 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7208 * text2.C (insertParagraph): make it take ParagraphList::iterator
7210 (setLayout): make it return ParagraphList::iterator
7211 (redoParagraphs): ditto
7213 (checkParagraph): ditto
7215 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7217 * text2.C: adjust several funcs.
7218 (realizeFont): take a ParagraphList::iterator as arg.
7219 (getLayoutFont): ditto
7220 (getLabelFont): ditto
7221 (setCharFont): ditto
7223 * text.C: adjust several funcs.
7225 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7227 * text.C (selectNextWordToSpellcheck): don't accidentally
7230 2003-04-10 John Levon <levon@movementarian.org>
7232 * ToolbarBackend.C (getIcon): special handling for
7235 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7237 * text2.C (cursorRight): a getChar assert fixed
7239 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7241 * text2.C (getFont): change to take a ParagraphList::iterator
7242 instead of Paragraph*
7243 Adjust several functions.
7245 * text.C (transformChar): change to take a ParagraphList::iterator
7246 instead of Paragraph*
7247 (singleWidth): ditto
7248 Adjust several functions.
7250 * rowpainter.C: adjust several functions
7251 * rowpainter.h:store a ParagraphList::iterator and not a
7255 2003-04-09 John Levon <levon@movementarian.org>
7260 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7261 and the "help" bits as well
7263 2003-04-09 John Levon <levon@movementarian.org>
7266 * ToolbarBackend.C: allow multiple toolbars
7268 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7270 * undo_funcs.C (setCursorParUndo): adjust
7272 * text_funcs.C (transposeChars): adjust
7274 * text3.C (gotoNextInset): adjust
7277 * text2.C (setLayout): adjust
7278 (changeDepth): adjust
7280 (redoParagraphs): adjust
7281 (selectionAsString): adjust
7282 (setParagraph): adjust
7283 (insertInset): adjust
7284 (cutSelection): adjust
7285 (copySelection): adjust
7286 (pasteSelection): adjust
7287 (insertStringAsLines): adjust
7288 (updateInset): adjust
7289 (setCursor): change to take a ParagraphList::iterator parameter
7290 (setCursorIntern): change to take a ParagraphList::iterator parameter
7291 (setCurrentFont): adjust
7292 (cursorLeft): adjust
7293 (cursorRight): adjust
7294 (deleteEmptyParagraphMechanism): adjust
7296 * text.C (breakParagraph): adjust
7297 (insertChar): adjust
7298 (acceptChange): adjust
7299 (rejectChange): adjust
7300 (selectNextWordToSpellcheck): adjust
7301 (changeCase): adjust
7305 * lyxfind.C (SearchForward): adjust
7306 (SearchBackward): adjust
7307 (nextChange): adjust
7309 * lyxcursor.C (par): adjust
7311 * lyxcursor.h: store a ParagraphList::iterator instead of a
7314 * lyx_cb.C (getPossibleLabel): adjust
7316 * bufferview_funcs.C (toggleAndShow): adjust
7318 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7321 * BufferView.C (removeAutoInsets): adjust
7322 (lockedInsetStoreUndo): adjust
7324 2003-04-09 John Levon <levon@movementarian.org>
7326 * ToolbarBackend.C: try icon without argument
7327 if with argument fails
7329 2003-04-08 John Levon <levon@movementarian.org>
7332 * ToolbarBackend.C: add getIcon(), handle tooltip,
7333 and change from "Icon" to "Item".
7335 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7337 * BufferView.C (lockInset): another bad getchar crunched
7339 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7341 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7344 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7346 * lyxfind.C (searchForward, searchBackwards): bug 782
7348 2003-04-07 John Levon <levon@movementarian.org>
7350 * paragraph.C: remove dead comment
7352 * text.C: remove troublesome depth-fiddling code
7353 in leftMargin() and rightMargin() (bug 1017)
7355 * text.C: fix breaking of rows in nested lists
7358 * text2.C (updateCounters): fix up depth values
7361 2003-04-07 John Levon <levon@movementarian.org>
7363 * BufferView_pimpl.C: clear message when doc finishes resizing,
7364 and after a mouse event
7366 * lyxfunc.C: clear message after exiting inset
7368 2003-04-07 John Levon <levon@movementarian.org>
7370 * bufferview_funcs.C: show math status not outside
7371 status in the statusbar
7373 2003-04-07 John Levon <levon@movementarian.org>
7375 * lyxfunc.C: note status changed after a depth change
7377 2003-04-04 Angus Leeming <leeming@lyx.org>
7379 * LaTeX.h: move AuxInfo operator==, != out of line.
7380 Remove LaTeX virtual destructor; nothing derives from it.
7381 Move operator()() out of public area and rename it startscript().
7382 Change protected for private.
7384 2003-04-04 Angus Leeming <leeming@lyx.org>
7387 * text2.C: remove unneeded #includes.
7389 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7391 * text2.C (dEPM): fix the heigth of the next row
7393 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7395 * text.C: squashed an invalid getChar requester + some ws changes
7397 2003-04-03 John Levon <levon@movementarian.org>
7399 * bufferview_funcs.h:
7400 * bufferview_funcs.C:
7403 * text2.C: make getStatus work for the env depth lfuns
7405 2003-04-03 John Levon <levon@movementarian.org>
7407 * bufferview_funcs.h:
7408 * bufferview_funcs.C:
7411 * text2.C: parlistize decDepth(), by merging it with incDepth()
7413 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * lyxrow.h: store a ParagraphList::iterator instead of a
7416 Paragraph* and adjust other class functions to suit.
7418 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7421 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7423 * text2.C (setCursor): do not anchor to cursor row for the time being
7425 2003-04-02 John Levon <levon@movementarian.org>
7432 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7434 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * paragraph.h: make ParagraphList and ParagraphList::iterator
7437 friends of Paragraph.
7439 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7441 * ParagraphList.C: Use the private next_ and previous_ from
7444 2003-04-01 John Levon <levon@movementarian.org>
7448 * Makefile.am: rename, remove defaults gunk
7451 * MenuBackend.C: remove defaults gunk
7454 * Languages.C: remove defaults gunk
7457 * lyx_main.C: error out if files couldn't be found.
7459 2003-04-02 John Levon <levon@movementarian.org>
7461 * text2.C: make incDepth() use parlist
7463 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * undo_funcs.C (firstUndoParagraph): adjust
7467 * text3.C (gotoInset): adjust
7468 (dispatch): adjust, and rewrite loop.
7470 * text2.C (init): adjust, and rewrite loop.
7471 (redoParagraphs): adjust
7472 (updateInset): adjust, and rewrite loop.
7473 (deleteEmptyParagraphMechanism): adjust
7475 * tabular.C (LyXTabular): adjust
7476 (SetMultiColumn): adjust
7479 * lyxtext.[Ch] (ownerParagraph): delete function
7480 (ownerParagraphs): new function returns a ParagraphList.
7482 * BufferView.C (removeAutoInsets): adjust
7483 (insertErrors): adjust
7484 (setCursorFromRow): adjust
7486 2003-04-01 Angus Leeming <leeming@lyx.org>
7488 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7491 2003-04-02 John Levon <levon@movementarian.org>
7497 * text_funcs.C: make transposeChars a free function
7499 * lyxrow_funcs.C: remove wrong comment
7501 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * rowpainter.C: adjust
7509 * lyxrow_funcs. [Ch]: new files
7511 * lyxrow.[Ch]: remove next and previous pointers
7512 (next,previous): remove accessor functions
7513 (isParEnd): move to lyxrow_funcs
7514 (lastPos): move to lyxrow_funcs
7515 (nextRowIsAllInset): move to lyxrow_funcs
7516 (lastPrintablePos): move to lyxrow_funcs
7517 (numberOfSeparators): move to lyxrow_funcs
7518 (numberOfHfills): move to lyxrow_funcs
7519 (numberOfLabelHfills): move to lyxrow_funcs
7520 (hfillExpansion): move to lyxrow_funcs
7524 * bufferview_funcs.C (toggleAndShow): adjust
7526 * RowList.h: Remove class RowList from file leave just a
7529 * RowList.C: delete file
7531 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7534 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7536 * text3.C (cursorPrevious): adjust
7537 (cursorNext): adjust
7540 * text2.C (redoHeightOfParagraph): adjust
7541 (redoDrawingOfParagraph): adjust
7544 * text.C (breakParagraph): adjust
7545 (insertChar): adjust
7548 * rowpainter.C (RowPainter): adjust
7549 (leftMargin): simplify and adjust
7550 (most rowpainter functions): adjust.
7552 * rowpainter.h: store the row as RowList::iterator not as Row*
7554 * lyxcursor.C (row): taka RowList::iterator as arg
7557 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7560 2003-04-01 Angus Leeming <leeming@lyx.org>
7562 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7563 stuff like bool Bool.
7565 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7567 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7570 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7575 * lyxtext.h (rows): drop one version and leve a const variant that
7576 returns a RowList::iterator.
7578 2003-03-31 Angus Leeming <leeming@lyx.org>
7580 * text.C (fill): ensure that the signature is the same as that in the
7583 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7585 * text2.C (redoParagraphs): adjust
7586 (updateCounters): adjust
7587 (checkParagraph): adjust
7588 (getColumnNearX): adjust and reformat a bit.
7590 * text.C (top_y): adjust
7592 (leftMargin): adjust
7593 (prepareToPrint): adjust
7595 (getRowNearY): adjust
7597 * lyxtext.h: make rowlist_ mutable.
7599 * RowList.h: add const_iterator
7600 * RowList.C: adjust for RowList::const_iterator.
7602 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7605 2003-03-31 John Levon <levon@movementarian.org>
7608 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7610 * lyx_main.C: set default fonts from using lyx_gui funcs
7612 * exporter.C: pdf_mode moved from lyxrc
7615 * lyxfunc.C: changes from above
7617 2003-03-31 John Levon <levon@movementarian.org>
7619 * lyx_main.C: fix to the last fix
7621 2003-03-31 John Levon <levon@movementarian.org>
7623 * bufferlist.C: "Load original" -> "Load Original"
7629 * format.C: more Alert cleanups
7631 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7633 * text2.C (removeParagraph): make it take a RowList::iterator as
7635 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7636 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7638 * text.C (anchor_row): make it take a RowList::iterator as arg,
7640 (computeBidiTables): make it take a const reference to Row instead
7641 of Row pointer, adjust.
7642 (leftMargin): make it take a RowList::iterator as arg, adjust.
7643 (rowBreakPoint): adjust
7644 (breakAgainOneRow): make it take a RowList::iterator as arg,
7646 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7648 * bufferview_funcs.C (toggleAndShow): adjust
7650 2003-03-30 John Levon <levon@movementarian.org>
7654 * boost-inst.C: moved to support
7656 * several files: changes as a result
7658 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7660 * text2.C (LyXText): adjust.
7662 (removeRow): make it take a RowList::iterator as arg, adjust.
7663 (fullRebreak): adjust
7664 (deleteEmptyParagraphMechanism): adjust
7665 (clearPaint): adjust
7668 * text.C (top_y): adjust
7669 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7670 (breakAgain): make it take a RowList::iterator as arg, adjust.
7671 (breakParagraph): adjust
7672 (insertChar): adjust
7675 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7676 need_break_row, and refresh_row.
7678 * text3.C (dispatch): adjust
7680 * text2.C (checkParagraph): adjust
7682 (setCursorFromCoordinates): adjust
7684 * text.C (top_y): adjust
7686 (getRow): make it return a RowList::iterator, adjust
7687 (getRowNearY): make it return a RowList::iterator, adjust
7689 * text2.C (init): adjust
7690 (insertRow): remove function
7691 (insertParagraph): adjust
7692 (redoParagraphs): adjust
7693 (fullRebreak): adjust
7694 (updateCounters): adjust
7696 * text.C (top_y): rewrite to use RowList iterators.
7698 (setHeightOfRow): rewrite to sue RowList iterators.
7699 (appendParagraph): adjust
7700 (breakAgain): adjust
7701 (breakAgainOneRow): adjust
7702 (breakParagraph): adjust
7704 (getRowNearY): adjust, and remove commented code.
7706 * lyxtext.h (firstRow): delete function
7707 (lastRow): delete function
7708 (rows): new function (const and non-const versions.)
7709 (insertRow): delete function
7711 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7713 2003-03-29 John Levon <levon@movementarian.org>
7715 * BufferView_pimpl.C: always update scrollbar top
7716 because pasting text when we're anchored could mean we
7717 miss an update altogether
7719 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * text2.C (init): use rowlist_.end() and not 0.
7722 (insertRow): change to take a RowList::iterator as arg, adjust
7724 (insertParagraph): change to take a RowList::iterator as arg,
7726 (redoParagraphs): remove some debug msgs.
7728 * text.C (appendParagraph): change to take a RowList::iterator
7729 arg, adjust for this.
7730 (breakAgain): add an assert
7731 (breakAgainOneRow): ditto
7733 2003-03-29 John Levon <levon@movementarian.org>
7735 * text2.C: do not clear selection after inc/decDepth
7738 2003-03-29 John Levon <levon@movementarian.org>
7741 * buffer.C: fix broken strerrors according to Lars
7743 2003-03-29 John Levon <levon@movementarian.org>
7745 * converters.C: more Alert cleanups
7747 2003-03-29 John Levon <levon@movementarian.org>
7749 * bufferview_funcs.C: remove pointless Alert
7751 * buffer.C: fix confusing error message when
7752 a template is chmoded 000
7754 2003-03-29 John Levon <levon@movementarian.org>
7758 * BufferView_pimpl.C: Alert fixes
7762 * tabular-old.C: remove unused table compat reading
7764 2003-03-29 John Levon <levon@movementarian.org>
7769 * lyx_cb.C: more Alert cleanups
7771 * lyxfunc.C: don't allow chktex if not latex document
7773 2003-03-29 John Levon <levon@movementarian.org>
7777 * buffer.C: warnings pushed down from support/,
7780 2003-03-29 John Levon <levon@movementarian.org>
7782 * lyxfunc.C: safety check for C-r (revert)
7784 2003-03-29 John Levon <levon@movementarian.org>
7787 * bufferlist.C: several UI fixes using Alert::prompt.
7788 Fix the pointless looping quit code. Fix stupid revert
7793 * lyx_cb.C: use Alert::prompt
7795 * lyx_main.C: remove a silly question
7797 * lyxfunc.C: remove a couple of silly questions,
7800 2003-03-28 John Levon <levon@movementarian.org>
7802 * text2.C: fix bug 974 (End on empty par)
7804 2003-03-28 John Levon <levon@movementarian.org>
7806 * BufferView_pimpl.C:
7808 * lfuns.h: remove do-nothing math greek lfuns
7810 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7812 * lyxgluelength.h (isValidGlueLength): add default arg on
7813 parameter 2. Remove default arg from friend in class.
7815 * lyxlength.h (isValidLength): add default arg on parameter 2.
7816 Remove default arg from friend in class.
7818 * text2.C (LyXText): adjust, initialize refresh_row.
7822 (insertParagraph): adjst
7823 (redoParagraphs): adjust
7824 (fullRebreak): adjust
7825 (updateCounters): adjust
7826 (deleteEmptyParagraphMechanism): first attempt at fixing a
7829 * text.C (top_y): adjust
7830 (setHeightOfRow): adjust
7832 (getRowNearY): adjust
7834 * lyxtext.h: include RowList.h
7835 (~LyXText): not needed anymore, deleted.
7836 (firstRow): modify for RowList
7837 (lastRow): new function
7838 Delete firstrow and lastrow class variables, add a Rowlist
7839 rowlist_ class variable.
7841 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7844 * RowList.C (insert): fix case where it == begin().
7846 2003-03-26 Angus Leeming <leeming@lyx.org>
7848 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7849 the thesaurus dialog.
7851 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7855 * RowList.[Ch]: new files
7857 * ParagraphList.C (erase): handle the case where it == begin
7860 2003-03-25 John Levon <levon@movementarian.org>
7864 * aspell.C: add new aspell support
7867 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7870 2003-03-25 Angus Leeming <leeming@lyx.org>
7873 * LyXAction.C (init): new LFUN_INSET_INSERT.
7875 * BufferView_pimpl.C (dispatch): split out part of the
7876 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7878 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7881 2003-03-25 Angus Leeming <leeming@lyx.org>
7883 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7885 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7888 * text3.C: remove useless row->height(0)
7890 2003-03-25 John Levon <levon@movementarian.org>
7894 * text3.C: rename the refreshing stuff to better names
7896 2003-03-24 John Levon <levon@movementarian.org>
7898 * BufferView_pimpl.h:
7899 * BufferView_pimpl.C: update layout choice on a mouse
7902 2003-03-23 John Levon <levon@movementarian.org>
7904 * Makefile.am: fix commandtags.h reference
7906 2003-03-22 John Levon <levon@movementarian.org>
7908 * BufferView_pimpl.C:
7913 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7915 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7918 * text.C: take the rtl methods out of line
7920 2003-03-21 André Pönitz <poenitz@gmx.net>
7922 * metricsinfo.[Ch]: new files containing structures to be passed around
7923 during the two-phase-drawing...
7925 2003-03-21 André Pönitz <poenitz@gmx.net>
7927 * lyxtextclass.C: read 'environment' tag.
7929 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7931 * text2.C (removeRow): fix bug 964
7933 2003-03-20 John Levon <levon@movementarian.org>
7937 * text2.C: paint cleanups. Inset::update() dropped font
7940 2003-03-19 John Levon <levon@movementarian.org>
7942 * lyxfunc.C: only fitcursor/markDirty if available()
7944 2003-03-19 John Levon <levon@movementarian.org>
7946 * commandtags.h: rename to ...
7948 * lfuns.h: ... this, and renumber / cleanup
7950 2003-03-19 John Levon <levon@movementarian.org>
7952 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7953 fit the cursor after an lfun
7957 * BufferView_pimpl.h:
7958 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7960 * LyXAction.C: layout-character should have ReadOnly
7962 * ParagraphParameters.C:
7964 * bufferview_funcs.C:
7971 * undo_funcs.C: changes from above
7973 2003-03-18 John Levon <levon@movementarian.org>
7975 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7976 remove it from update()
7978 * lyxfunc.C: update layout choice after an lfun
7980 * text3.C: remove extra updateLayoutChoice()s
7982 2003-03-18 John Levon <levon@movementarian.org>
7984 * text.C: top_y change means full repaint, fix
7985 a drawing bug with cursor movement
7987 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7991 * text2.C: anchor row on setCursor
7993 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7995 * lyxtext.h: remove almost all mutable keywords
7998 * text3.C: remove const keywords accordingly
8000 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8002 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8004 (TeXEnvironment): ditto
8007 2003-03-17 John Levon <levon@movementarian.org>
8009 * text.C (rowBreakPoint): remove attempt to fix displayed
8010 math insets inside a manual label
8012 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * lyxtext.h: remove BufferView* as first arg from almost all class
8016 * other files: adjust.
8018 2003-03-17 John Levon <levon@movementarian.org>
8022 * text2.C: more paint cleanups
8024 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8027 * rowpainter.C: remove "smart" background painting code
8029 2003-03-16 John Levon <levon@movementarian.org>
8034 * text3.C: add helper functions for setting refresh_row/y
8036 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8038 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8039 newline inset which *can* get inserted in the pass_thru layouts.
8040 This is primarily for literate documents.
8042 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8044 * buffer.C: increment LYX_FORMAT to 223
8046 2003-03-14 André Pönitz <poenitz@gmx.net>
8048 * textclass.h: prepare for environment handling, ws changes
8049 * lyxlayout.C: read latexheader and latexfooter tags
8051 2003-03-14 John Levon <levon@movementarian.org>
8053 * text2.C: rewrite ::status() a bit
8055 2003-03-13 John Levon <levon@movementarian.org>
8057 * lyxtext.h: add some docs
8059 2003-03-13 John Levon <levon@movementarian.org>
8064 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8066 2003-03-13 John Levon <levon@movementarian.org>
8068 * text3.C: fix appendix redrawing
8070 2003-03-13 John Levon <levon@movementarian.org>
8072 * text.C (setHeightOfRow):
8074 * rowpainter.C: make appendix mark have the text
8075 "Appendix" so the user knows what it is
8078 * LColor.C: s/appendixline/appendix/ from above
8080 2003-03-13 John Levon <levon@movementarian.org>
8082 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8084 * text.C: fix a getChar(pos) bug properly
8086 2003-03-13 Angus Leeming <leeming@lyx.org>
8089 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8090 Probably only temporary. Let's see how things pan out.
8092 * BufferView.C (unlockInset):
8093 * BufferView_pimpl.C (fitCursor):
8094 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8096 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8097 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8099 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8100 new functions that convert ParagraphParameters to and from a string.
8102 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8103 BufferView::Pimpl's dispatch.
8104 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8106 2003-03-13 André Pönitz <poenitz@gmx.net>
8110 * factory.C: make it aware of InsetEnv
8112 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8114 * text2.C (setCursor): never ask for one past last
8115 (setCursor): add some debugging messages.
8117 * text.C (singleWidth): never ask for one past last
8118 (singleWidth): ditto
8120 (rightMargin): ditto
8121 (rowBreakPoint): ditto
8122 (setHeightOfRow): ditto
8123 (prepareToPrint): ditto
8125 * rowpainter.C (paintBackground): never ask for one past last
8126 (paintText): never ask for one past last
8128 * paragraph_pimpl.C (getChar): make the assert stricter, never
8129 allow the one past last pos to be taken
8131 * paragraph.C (getChar): ws changes only
8133 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8134 (numberOfSeparators): ditto
8135 (numberOfHfills): ditto
8137 2003-03-12 John Levon <levon@movementarian.org>
8143 * paragraph_funcs.C: fix per-buffer authorlists
8145 2003-03-12 John Levon <levon@movementarian.org>
8147 * text.C: fix newline in right address
8149 2003-03-12 Angus Leeming <leeming@lyx.org>
8151 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8152 duplicate those in LyXFunc::dispatch.
8156 * ToolbarDefaults.C:
8157 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8158 Add LFUN_FONTFREE_UPDATE.
8160 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8161 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8163 * bufferview_func.[Ch]: several new functions to facilliate
8164 transfer of data to and from the character dialog.
8166 2003-03-12 John Levon <levon@movementarian.org>
8171 * paragraph_funcs.C:
8172 * paragraph_pimpl.C:
8176 * text3.C: remove META_NEWLINE in favour of an inset
8179 * rowpainter.C: remove paintNewline (done by inset)
8181 2003-03-12 John Levon <levon@movementarian.org>
8183 * paragraph_pimpl.C: complain about bad getChar()s
8184 for a while at least
8186 2003-03-12 John Levon <levon@movementarian.org>
8189 * buffer.C: move paragraph read into a separate function,
8190 a little renaming to reflect that.
8193 * bufferparams.C: remove the author_ids map, not necessary now
8196 * factory.C: moved Buffer::readInset to here
8198 * paragraph_funcs.h:
8199 * paragraph_funcs.C: readParagraph free function moved from
8202 * tabular.C: name change
8204 2003-03-12 John Levon <levon@movementarian.org>
8207 * ParagraphParameters.C: move par params input to
8210 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8211 behave like a normal read from the stream wrt reading
8212 a line vs. a \\token
8214 2003-03-12 John Levon <levon@movementarian.org>
8217 * ParagraphParameters.h:
8218 * ParagraphParameters.C: move output code to a
8221 2003-03-12 John Levon <levon@movementarian.org>
8223 * BufferView.C (insertLyXFile):
8226 * tabular.C: use a parlist iterator for creating the
8229 2003-03-12 John Levon <levon@movementarian.org>
8231 * buffer.C: make current_change static local not
8234 2003-03-12 John Levon <levon@movementarian.org>
8236 * buffer.C: fix insertStringAsLines for change tracking
8238 2003-03-12 John Levon <levon@movementarian.org>
8245 * bufferparams.C: move author list into params. Rename some
8246 functions. Move the header reading into a separate token
8247 loop. Move the header token reading into BufferParams.
8249 2003-03-12 John Levon <levon@movementarian.org>
8251 * changes.C: put debug inside lyxerr.debugging() checks
8253 2003-03-11 André Pönitz <poenitz@gmx.net>
8255 * factory.C: make it aware of InsetHFill
8257 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8259 * buffer.C (latexParagraphs): move function from here...
8260 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8263 2003-03-10 Angus Leeming <leeming@lyx.org>
8265 * LyXAction.C (init): fix bug in poplating array with multiple entries
8266 with the same LFUN (spotted by JMarc).
8268 2003-03-10 John Levon <levon@movementarian.org>
8271 * text2.C: move getColumnNearX() near its
8274 2003-03-10 John Levon <levon@movementarian.org>
8276 * text.C: fix break before a minipage
8278 2003-03-10 John Levon <levon@movementarian.org>
8280 * text.C: fix the last commit
8282 2003-03-09 John Levon <levon@movementarian.org>
8286 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8287 bug 365 (don't break before insets unless needed). Don't
8288 return a value > last under any circumstances.
8290 2003-03-09 Angus Leeming <leeming@lyx.org>
8292 * BufferView_pimpl.C (trackChanges, dispatch): call
8293 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8295 2003-03-09 Angus Leeming <leeming@lyx.org>
8297 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8298 than Dialogs::showAboutlyx().
8300 2003-03-09 Angus Leeming <leeming@lyx.org>
8302 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8303 than Dialogs::showTabularCreate().
8305 2003-03-09 John Levon <levon@movementarian.org>
8309 * text2.C: 3rd arg to nextBreakPoint was always the same.
8312 2003-03-08 John Levon <levon@movementarian.org>
8319 * text2.C: Remove the "main" bit from the "main body"
8322 2003-03-08 John Levon <levon@movementarian.org>
8324 * text.C (leftMargin): The left margin of an empty
8325 manual label paragraph should not include the label width
8328 * text.C (prepareToPrint): don't attempt to measure hfills
8329 for empty manual label paragraphs - the answer should be 0
8331 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8333 * CutAndPaste.C: remove commented code and reindent.
8335 2003-03-08 John Levon <levon@movementarian.org>
8338 * lyxfunc.C: move reloadBuffer()
8341 * BufferView.C: to here
8343 * lyxvc.C: add comment
8346 * vc-backend.C: call bv->reload() to avoid
8347 getStatus() check on MENURELOAD
8349 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8351 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8352 to an old format .dep file.
8354 2003-03-07 Angus Leeming <leeming@lyx.org>
8356 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8357 when the LFUN_MOUSE_RELEASE should have been handled by
8358 inset->localDispatch.
8360 2003-03-07 Angus Leeming <leeming@lyx.org>
8362 * BufferView_pimpl.C (dispatch):
8363 * LyXAction.C (init):
8364 * ToolbarDefaults.C (init):
8366 * lyxfunc.C (getStatus):
8367 remove LFUN_INSET_GRAPHICS.
8369 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8371 2003-03-07 Angus Leeming <leeming@lyx.org>
8374 * LyXAction.C (init):
8375 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8377 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8380 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8382 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8383 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8385 2003-03-07 Angus Leeming <leeming@lyx.org>
8387 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8390 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8392 * ParagraphList.C (front): new function
8395 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8397 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8398 and top_row_offset_. removed var first_y.
8400 * text2.C (LyXText, removeRow):
8402 * BufferView_pimpl.C:
8403 use these methods instead of using first_y
8405 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * text2.C (pasteSelection): adjust for checkPastePossible
8409 * CutAndPaste.C: remove Paragraph * buf and replace with
8410 ParagraphList paragraphs.
8411 (DeleteBuffer): delete
8412 (cutSelection): change the tc type to textclass_type
8413 (copySelection): change the tc type to textclass_type
8414 (copySelection): adjust for ParagraphList
8415 (pasteSelection): change the tc type to textclass_type
8416 (pasteSelection): adjust for Paragraphlist
8417 (nrOfParagraphs): simplify for ParagraphList
8418 (checkPastePossible): simplify for ParagraphList
8419 (checkPastePossible): remove unused arg
8421 * ParagraphList.C (insert): handle the case where there are no
8424 * CutAndPaste.h: make CutAndPaste a namespace.
8426 * text3.C (dispatch): adjust
8428 * text.C (breakParagraph): add a ParagraphList as arg
8430 * paragraph_funcs.C (breakParagraph): change to take a
8431 BufferParams and a ParagraphList as args.
8432 (breakParagraphConservative): ditto
8433 (mergeParagraph): ditto
8434 (TeXDeeper): add a ParagraphList arg
8435 (TeXEnvironment): ditto
8438 * buffer.C (readLyXformat2): adjust
8439 (insertStringAsLines): adjust
8440 (latexParagraphs): adjust
8442 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8443 (cutSelection): adjust
8444 (pasteSelection): adjust
8446 * BufferView_pimpl.C (insertInset): adjust
8448 2003-03-05 Angus Leeming <leeming@lyx.org>
8451 * LyXAction.C (init):
8452 * BufferView_pimpl.C (dispatch):
8453 * lyxfunc.C (getStatus):
8454 remove LFUN_CHILD_INSERT.
8456 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8458 2003-03-05 Angus Leeming <leeming@lyx.org>
8461 * LyXAction.C (init):
8462 * src/factory.C (createInset):
8463 * lyxfunc.C (getStatus):
8464 * text3.C (dispatch):
8465 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8467 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8469 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8471 * ParagraphList.C (insert): handle insert right before end()
8472 (erase): fix cases where it can be first or last paragraph.
8474 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8476 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8477 Paragraph::next and Paragraph::previous
8480 * text.C (breakParagraph): adjust
8482 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8483 BufferParams& as arg.
8484 (breakParagraph): use ParagraphList::insert
8485 (breakParagraphConservative): take a Buffer* instead of a
8486 BufferParams& as arg.
8487 (breakParagraphConservative): use ParagraphList::insert.
8489 * buffer.C (insertStringAsLines): un-const it
8490 (insertStringAsLines): adjust
8492 * ParagraphList.C (insert): new function
8494 * CutAndPaste.C (pasteSelection): adjust
8496 * text.C (backspace): adjust
8498 * tabular.C (SetMultiColumn): adjust
8500 * CutAndPaste.C (cutSelection): adjust
8501 (pasteSelection): adjust
8503 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8504 Buffer const * as arg
8506 * ParagraphList.C (erase): new function
8507 * paragraph_funcs.C (mergeParagraph): use it
8508 (mergeParagraph): make it take a Buffer* instead of a
8509 BufferParams* as arg
8511 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8513 (breakParagraphConservative): ditto
8515 * paragraph.h: remove the breakParagraph friend
8517 * paragraph.C (eraseIntern): new function
8518 (setChange): new function
8520 * paragraph_funcs.C (mergeParagraph): make it take a
8521 ParagraphList::iterator instead of a Paragraph *, adjust
8524 * paragraph.h: move an #endif so that the change tracking stuff
8525 also works in the NO_NEXT case.
8527 2003-03-04 Angus Leeming <leeming@lyx.org>
8530 * LyXAction.C: new LFUN_INSET_MODIFY.
8532 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8533 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8535 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8537 * several files: ws changes only
8539 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8540 (TeXEnvironment): ditto
8543 * buffer.C (makeLaTeXFile): adjust
8544 (latexParagraphs): make it take ParagraphList::iterator as args
8546 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8548 * buffer.C (latexParagraphs): adjust
8550 * paragraph.C (TeXOnePar): move function...
8551 (optArgInset): move function...
8552 (TeXEnvironment): move function...
8553 * paragraph_pimpl.C (TeXDeeper): move function...
8554 * paragraph_funcs.C: ...here
8556 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8558 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8560 * buffer.C (readInset): remove compability code for old Figure and
8563 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8565 * buffer.C: ws changes
8568 * BufferView_pimpl.C: ditto
8571 * bufferlist.h: ditto
8575 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8577 * converter.[Ch]: split into itself +
8580 * Makefile.am: += graph.[Ch] + format.[Ch]
8587 * lyxrc.C: added #include "format.h"
8589 2003-02-27 Angus Leeming <leeming@lyx.org>
8591 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8594 * factory.C (createInset): add "label" to the factory.
8596 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8597 string and do no more.
8599 2003-02-27 Angus Leeming <leeming@lyx.org>
8602 * LyXAction.C (init):
8603 * factory.C (createInset):
8604 * BufferView_pimpl.C (dispatch):
8605 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8607 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8609 * lyxfunc.C (dispatch):
8610 * text3.C (dispatch): pass name to params2string.
8612 2003-02-26 Angus Leeming <leeming@lyx.org>
8614 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8616 Rearrange the ~includes. Strip out the unnecessary ones.
8618 * factory.C (createInset): reformat.
8619 create new insets for the various LFUN_XYZ_APPLY lfuns.
8621 2003-02-26 John Levon <levon@movementarian.org>
8624 * lyxrow.C: add isParStart,isParEnd helpers
8626 * paragraph.h: make isInserted/DeletedText take refs
8628 * paragraph_funcs.h:
8629 * paragraph_funcs.C: remove #if 0'd code
8634 * text.C: use lyxrow helpers above.
8635 Move draw and paint routines to RowPainter.
8636 Make several methods use refs not pointers.
8637 Make backgroundColor() const.
8638 Add markChangeInDraw(), isInInset().
8639 Merge changeRegionCase into changeCase.
8640 Make workWidth() shouldn't-happen code into an Assert.
8643 * rowpainter.C: new class for painting a row.
8646 * vspace.C: make inPixels take a ref
8648 2003-02-26 Angus Leeming <leeming@lyx.org>
8650 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8653 2003-02-25 John Levon <levon@movementarian.org>
8655 * ispell.C: give the forked command a more accurate name
8657 2003-02-22 John Levon <levon@movementarian.org>
8660 * toc.C: make TocItem store an id not a Paragraph *
8663 2003-02-21 Angus Leeming <leeming@lyx.org>
8665 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8666 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8667 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8668 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8669 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8670 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8672 * BufferView_pimpl.C (dispatch):
8673 * LyXAction.C (init):
8674 * factory.C (createInset):
8675 * lyxfunc.C (getStatus, dispatch):
8676 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8678 2003-02-21 Angus Leeming <leeming@lyx.org>
8680 * BufferView_pimpl.C (MenuInsertLyXFile):
8681 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8682 * lyxfunc.C (menuNew, open, doImport):
8683 no longer pass a LyXView & to fileDlg.
8685 2003-02-21 Angus Leeming <leeming@lyx.org>
8687 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8688 * LyXAction.C: change, BIBKEY to BIBITEM.
8689 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8690 Change InsetBibKey to InsetBibitem.
8691 Change BIBKEY_CODE to BIBITEM_CODE.
8692 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8693 * factory.C: replace insetbib.h with insetbibitem.h.
8694 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8695 * paragraph.C: replace insetbib.h with insetbibitem.h.
8696 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8697 Change bibkey() to bibitem().
8698 * text.C: remove insetbib.h.
8699 * text2.C: replace insetbib.h with insetbibitem.h.
8700 change bibkey() to bibitem().
8701 * text3.C: remove insetbib.h.
8702 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8704 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * lyxrc.C (output): enclose user email in quotes (in case there are
8709 2003-02-18 John Levon <levon@movementarian.org>
8711 * buffer.h: add std::
8713 2003-02-17 John Levon <levon@movementarian.org>
8719 * pspell.C: reworking. Especially in ispell, a large
8720 number of clean ups and bug fixes.
8722 * lyxfunc.C: fix revert to behave sensibly
8724 2003-02-17 André Pönitz <poenitz@gmx.net>
8727 * commandtags.h: new LFUN_INSERT_BIBKEY
8737 * paragraph_func.C: remove special bibkey handling
8739 2003-02-17 John Levon <levon@movementarian.org>
8741 * text.C (Delete): fix case where delete at the end of
8742 the very first paragraph would not merge the pars
8744 2003-02-17 John Levon <levon@movementarian.org>
8746 * lyxrow.C: fix lastPrintablePos()
8748 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8750 * bufferparams.C (writeLaTeX): add a std:here
8752 * buffer.C: and remove a using directive there
8754 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8756 * buffer.C (makeLaTeXFile): move the code that generates the
8759 * bufferparams.C (writeLaTeX): ... in this new method
8761 * LaTeXFeatures.C (getEncodingSet): make const
8762 (getLanguages): make const
8764 * MenuBackend.C (binding): returns the binding associated to this
8766 (add): sets the status of each item by calling getStatus. Adds
8768 (read): add support for OptSubMenu
8769 (expand): remove extra separator at the end of expanded menu
8771 2003-02-15 John Levon <levon@movementarian.org>
8774 * BufferView_pimpl.C:
8776 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8777 inset code that had no actual effect. Remove unneeded status
8780 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8782 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8785 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8787 * text.C (drawLengthMarker): also draw an arrow marker for
8788 symbolic lengths (medskip...)
8790 2003-02-14 John Levon <levon@movementarian.org>
8793 * tabular.C: better method names
8795 2003-02-14 John Levon <levon@movementarian.org>
8797 * BufferView_pimpl.C:
8802 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8803 it's a more accurate name. Remove some pointless uses.
8805 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8807 * text2.C (LyXText): change order of initilizers to shut off
8810 2003-02-14 John Levon <levon@movementarian.org>
8812 * buffer.C: use ParIterator for getParFromID()
8816 * paragraph_pimpl.h:
8817 * paragraph_pimpl.C: remove unused getParFromID()
8819 2003-02-14 John Levon <levon@movementarian.org>
8821 * buffer.C: remove some very old #if 0'd parse code
8823 2003-02-13 John Levon <levon@movementarian.org>
8827 * text2.C: move hfillExpansion(), numberOfSeparators(),
8828 rowLast(), rowLastPrintable(), numberofHfills(),
8829 numberOfLabelHfills() ...
8832 * lyxrow.C: ... to member functions here.
8837 * text.C: remove LyXText::beginningOfMainBody(), and call
8838 p->beginningOfMainBody() directly. Move the check for
8839 LABEL_MANUAL into the latter.
8846 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8852 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8853 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8855 2003-02-13 John Levon <levon@movementarian.org>
8857 * CutAndPaste.C: remove debug
8859 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8861 * paragraph.C (asString): remove two unused variables
8863 * lyxtextclass.C (readTitleType):
8865 (LyXTextClass): handle new members titletype_ and titlename_
8867 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8869 2003-02-09 John Levon <levon@movementarian.org>
8872 * buffer.C: replace hand-coded list with a map for the dep clean
8874 2003-02-08 John Levon <levon@movementarian.org>
8876 * LaTeX.C: consolidate code into showRunMessage() helper
8878 2003-02-08 John Levon <levon@movementarian.org>
8883 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8884 and pass the size in explicitly
8886 * BufferView_pimpl.h:
8887 * BufferView_pimpl.C:
8889 * BufferView.C: add getCurrentChange()
8891 * BufferView_pimpl.h:
8892 * BufferView_pimpl.C: handle change lfuns
8894 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8895 for changes. Mark pasted paragraphs as new.
8897 * support/lyxtime.h:
8898 * support/lyxtime.C:
8899 * DepTable.C: abstract time_t as lyx::time_type
8902 * LColor.C: add colours for new text, deleted text, changebars
8904 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8905 package use "usenames" option.
8909 * LyXAction.C: add change lfuns
8913 * author.C: author handling
8916 * buffer.C: add a per-buffer author list, with first entry as
8917 current author. Handle new .lyx tokens for change tracking. Output
8918 author list to .lyx file. Output dvipost stuff to .tex preamble.
8919 Bump lyx format to 222.
8922 * bufferlist.C: add setCurrentAuthor() to reset current author details
8926 * bufferparams.C: add param for tracking
8928 * bufferview_funcs.C: output change info in minibuffer
8932 * changes.C: add change-tracking structure
8935 * debug.C: add CHANGES debug flag
8938 * lyxfind.C: add code for finding the next change piece
8941 * lyxrc.C: add user_name and user_email
8944 * lyxrow.C: add a metric for the top of the text line
8947 * text.C: implement accept/rejectChange()
8950 * text.C: paint changebars. Paint new/deleted text in the chosen
8951 colours. Strike through deleted text.
8955 * paragraph_pimpl.h:
8956 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8957 in the current change to the insert functions. Rework erase to
8958 mark text as deleted, adding an eraseIntern() and a range-based
8959 erase(). Implement per-paragraph change lookup and
8962 * paragraph_funcs.C: Fixup paste for change tracking.
8964 * tabular.C: mark added row/columns as new.
8966 * text.C: fix rowLast() to never return -1. Don't allow
8967 spellchecking of deleted text. Track transpose changes. Don't
8968 allow paragraph break or merge where appropriate.
8970 * text2.C: leave cursor at end of selection after a cut.
8972 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8974 * text.C (getLengthMarkerHeight):
8975 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8976 visible on screen too.
8978 2003-02-07 John Levon <levon@movementarian.org>
8980 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8982 2003-02-05 Angus Leeming <leeming@lyx.org>
8984 * lyxserver.C (read_ready): revert my patch of 11 September last year
8985 as it sends PC cpu through the roof. Presumably this means that
8986 the lyxserver will no longer run on an Alpha...
8988 2003-01-30 Angus Leeming <leeming@lyx.org>
8990 * factory.C (createInset): create an InsetCommandParam of type "index"
8991 and use it to 'do the right thing'.
8993 * text2.C (getStringToIndex): ensure that cursor position is always
8994 reset to the reset_cursor position.
8996 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8998 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9001 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9005 * lyxfunc.C: Output messages with identical spelling, punctuation,
9008 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9010 * MenuBackend.C (expandFormats): List only viewable export formats
9013 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9016 * lyxfunc.C (getStatus): Make sure that formats other than
9017 "fax" can also be disabled
9019 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9021 * text3.C (dispatch): put the lfuns that insert insets in 3
9022 groups, and call doInsertInset with appropriate arguments.
9023 (doInsertInset): new function, that creates an inset and inserts
9024 it according to some boolean parameters.
9026 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9028 * buffer.C (readFile): remember to pass on 'par' when calling
9029 readFile recursively.
9031 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9033 * MenuBackend.C (expandFormats): add "..." to import formats.
9035 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9037 * paragraph.C (asString): Remove XForms RTL hacks.
9039 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9040 * buffer.C: fix typo
9042 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9044 * Makefile.am (LIBS): delete var
9045 (lyx_LDADD): add @LIBS@ here instead.
9047 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9049 * Clarify the meaning of "wheel mouse jump"
9051 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9053 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9056 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9058 * importer.C (Loaders): do not preallocate 3 elements in the
9059 vector, since one ends up with 6 elements otherwise
9061 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9063 * DepTable.C (write): write the file name as last element of the
9064 .dep file (because it may contain spaces)
9065 (read): read info in the right order
9067 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9069 * paragraph_pimpl.C (simpleTeXBlanks):
9070 (simpleTeXSpecialChars):
9071 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9073 * tabular.C (latex): add some missing case statements. Reindent.
9075 * MenuBackend.C (expandToc): remove unused variable.
9077 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9086 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9089 2003-01-05 John Levon <levon@movementarian.org>
9092 * BufferView.C: add getEncoding()
9095 * kbsequence.C: do not store last keypress
9098 * lyxfunc.C: store last keypress here instead. Pass encoding
9101 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9103 * lyx_main.C (init): remove annoying error message when following
9104 symbolic links (bug #780)
9106 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9108 * text.C (insertChar):
9109 * lyxrc.C (getDescription): remove extra spaces
9111 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9113 * lyxrc.C (getDescription): remove extra spaces
9115 2002-12-20 John Levon <levon@movementarian.org>
9117 * text3.C: hack fix for page up/down across tall rows
9119 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9121 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9124 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9126 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9127 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9128 thesaurus is not compiled in
9130 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9132 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9134 2002-12-16 Angus Leeming <leeming@lyx.org>
9137 * lyx_main.C (init): remove override_x_deadkeys stuff.
9139 2002-12-12 John Levon <levon@movementarian.org>
9141 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9142 insert. Only remove shift modifier under strict
9145 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9147 * MenuBackend.C (expandToc): fix crash.
9149 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9151 * MenuBackend.C (expandToc): gettext on float names.
9153 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9155 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9156 implement bool empty() [bug 490]
9158 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9160 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9162 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9164 * several files: ws changes
9166 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9168 * text2.C (setCounter): clean up a bit, use boost.format.
9169 (updateCounters): initialize par upon declaration.
9171 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9172 if the layout exists. We do not just store the layout any more.
9173 (SwitchLayoutsBetweenClasses): use boost.format
9175 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9177 * converter.C (convert): if from and to files are the same, use a
9178 temporary files as intermediary
9180 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9183 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9185 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9187 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9189 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9191 * tabular.C (asciiPrintCell): use string(size, char) instead of
9194 * sgml.C (openTag): fix order of arguments to string constructor
9197 * lyxfunc.C (dispatch): use boost.format
9199 * lots of files: change "c" -> 'c'
9201 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9203 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9205 2002-11-25 Angus Leeming <leeming@lyx.org>
9207 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9209 * lyx_main.C (init): compile fix.
9211 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9213 * lyx_cb.C (start): boost.formatify
9214 do not include <iostream>
9216 * lengthcommon.C: ws only
9218 * boost-inst.C,BoostFormat.h: add more explict instantations
9220 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9222 * lots of files: handle USE_BOOST_FORMAT
9224 2002-11-21 John Levon <levon@movementarian.org>
9226 * pspell.C: fix compile
9228 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9230 * lyxfunc.C (dispatch): use boost::format
9234 * lyxfont.C (stateText): use boost::format
9236 * lyx_main.C (LyX): use boost::format
9238 (queryUserLyXDir): ditto
9241 (typedef boost::function): use the recommened syntax.
9243 * importer.C (Import): use boost::format
9245 * debug.C (showLevel): use boost::format
9247 * converter.C (view): use boost::format
9252 * bufferview_funcs.C (currentState): use boost::format
9254 * bufferlist.C (emergencyWrite): use boost::format
9256 * buffer.C (readLyXformat2): use boost::format
9257 (parseSingleLyXformat2Token): ditto
9259 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9261 * LaTeX.C (run): use boost::format
9263 * Chktex.C (scanLogFile): use boost::format
9265 * BufferView_pimpl.C (savePosition): use boost::format
9266 (restorePosition): ditto
9267 (MenuInsertLyXFile): ditto
9269 * BoostFormat.h: help file for explicit instation.
9271 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9273 * tabular.C (latex): Support for block alignment in fixed width
9276 2002-11-17 John Levon <levon@movementarian.org>
9278 * BufferView_pimpl.C:
9280 * lyxfunc.C: split filedialog into open/save
9282 2002-11-08 Juergen Vigna <jug@sad.it>
9284 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9285 by my last patch (hopefully).
9287 2002-11-08 John Levon <levon@movementarian.org>
9296 * toc.C: ParConstIterator, and use it (from Lars)
9298 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9300 * lyxtextclass.[Ch]: revise and add doxygen comments
9302 2002-11-07 John Levon <levon@movementarian.org>
9304 * text.C: fix progress value for spellchecker
9306 * toc.C: fix navigate menu for insetwrap inside minipage
9308 * paragraph_funcs.C: added FIXME for suspect code
9310 2002-11-07 John Levon <levon@movementarian.org>
9312 * BufferView_pimpl.C: fix redrawing of insets
9315 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * text2.C (updateCounters): fix bug 668
9319 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9321 * text3.C (dispatch): Do not make the buffer dirty when moving the
9324 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9326 * vc-backend.C: STRCONV
9329 * text2.C (setCounter): STRCONV
9331 * paragraph.C (asString): STRCONV
9333 * lyxlength.C (asString): STRCONV
9334 (asLatexString): ditto
9336 * lyxgluelength.C (asString): STRCONV
9337 (asLatexString): ditto
9339 * lyxfunc.C (dispatch): STRCONV
9342 * lyxfont.C (stateText): STRCONV
9344 * importer.C (Import): STRCONV
9346 * counters.C (labelItem): STRCONV
9347 (numberLabel): ditto
9348 (numberLabel): remove unused ostringstream o
9353 * bufferview_funcs.C (currentState): STRCONV
9355 * buffer.C (readFile): STRCONV
9356 (asciiParagraph): ditto
9357 (makeLaTeXFile): ditto
9359 * Spacing.C (writeEnvirBegin): STRCONV
9361 * LaTeXFeatures.C (getLanguages): STRCONV
9362 (getPackages): ditto
9364 (getBabelOptions): ditto
9365 (getTClassPreamble): ditto
9366 (getLyXSGMLEntities): ditto
9367 (getIncludedFiles): ditto
9371 (scanAuxFile): ditto
9374 * LString.h: add the STRCONV macros
9376 * BufferView_pimpl.C (savePosition): STRCONV
9377 (restorePosition): ditto
9378 (MenuInsertLyXFile): ditto
9380 * vc-backend.C (scanMaster): change from submatch[...] to
9383 * funcrequest.C: include config.h
9385 * factory.C: include config.h
9387 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9389 * box.C: include config.h
9391 * LaTeX.C (scanAuxFile): change from submatch[...] to
9395 2002-10-25 Angus Leeming <leeming@lyx.org>
9397 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9399 * ispell.[Ch] (setError): new method.
9400 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9401 Use setError() insetead of goto END.
9403 * lyx_cb.C (AutoSave): move out child process into new class
9406 2002-10-30 John Levon <levon@movementarian.org>
9408 * text3.C: make start appendix undoable
9410 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9412 * lyxlength.C (inPixels): Fix returned value.
9414 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9417 2002-10-24 Angus Leeming <leeming@lyx.org>
9419 * lyxgluelength.h: no need to forward declare BufferParams
9420 or BufferView, so don't.
9422 2002-10-21 John Levon <levon@movementarian.org>
9424 * BufferView.C: menuUndo ->undo, redo
9426 * BufferView.h: document, remove dead, make some methods private
9428 * paragraph_funcs.h:
9429 * paragraph_funcs.C:
9430 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9435 * sgml.C: move sgml open/close tag into sgml.C
9437 * bufferview_funcs.h: unused prototype
9440 * lyxfunc.C: remove unused
9443 * text.C: remove unused
9445 2002-10-21 John Levon <levon@movementarian.org>
9449 * BufferView_pimpl.h:
9450 * BufferView_pimpl.C: fix mouse wheel handling based on
9451 patch from Darren Freeman
9453 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9455 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9457 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9459 * lyxlength.C (inPixels): Fix hanfling of negative length.
9460 Fix LyXLength::MU case.
9462 2002-10-16 John Levon <levon@movementarian.org>
9464 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9466 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9468 * converter.C (view): add support for $$i (file name) and $$p
9469 (file path) for the viewer command. If $$i is not specified, then
9470 it is appended to the command (for compatibility with old syntax)
9472 2002-10-14 Juergen Vigna <jug@sad.it>
9474 * undo_funcs.C (textHandleUndo): alter the order in which the
9475 new undopar is added to the LyXText, as we have to set first
9476 the right prev/next and then add it as otherwise the rebuild of
9477 LyXText is not correct. Also reset the cursor to the right paragraph,
9478 with this IMO we could remove the hack in "redoParagraphs()".
9480 2002-10-09 Angus Leeming <leeming@lyx.org>
9482 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9483 to turn off an optimisation if a new inset is to be inserted.
9485 2002-10-11 André Pönitz <poenitz@gmx.net>
9487 * lyxtext.h: make some functions public to allow access
9488 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9490 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9492 * text3.C (dispatch): when changing layout, avoid an infinite loop
9495 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9497 * lyxrc.C (read): treat a viewer or converter command of "none" as
9500 * MenuBackend.C (expandFormats): for an update, also allow the
9501 formats that are not viewable
9503 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9504 script if it is newer than the lyxrc.defaults in user directory
9506 2002-10-07 André Pönitz <poenitz@gmx.net>
9508 * text.C: Vitaly Lipatov's small i18n fix
9510 2002-09-25 Angus Leeming <leeming@lyx.org>
9512 * ispell.h: doxygen fix.
9514 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9516 * buffer.h (readFile): Add a new argument to the method, to allow
9517 reading of old-format templates.
9519 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9521 * toc.C (getTocList): Get TOC from InsetWrap.
9523 2002-09-16 John Levon <levon@movementarian.org>
9525 * lyxfunc.C: check tabular for cut/copy too
9527 2002-09-12 John Levon <levon@movementarian.org>
9532 * factory.C: add header
9534 * paragraph_funcs.h:
9535 * paragraph_funcs.C: cleanup
9537 2002-09-11 John Levon <levon@movementarian.org>
9539 * PrinterParams.h: odd/even default to true
9541 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9543 * PrinterParams.h: update printer parameters for new xforms dialog
9545 2002-09-11 Angus Leeming <leeming@lyx.org>
9547 * lyxserver.C (read_ready): re-write to make it more transparent
9548 and to make it work in coherent fashion under Tru64 Unix.
9550 2002-09-11 André Pönitz <poenitz@gmx.net>
9554 * text3.C: implement LFUN_WORDSEL
9556 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9558 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9559 make floatlist_ a boost::shared_ptr<FloatList>
9561 * lyxtextclass.C: include FloatList.h
9562 (LyXTextClass): initialize floatlist_
9563 (TextClassTags): add TC_NOFLOAT
9564 (Read): match "nofloat" to TC_NOFLOAT and use it.
9565 (readFloat): modify call to floatlist_
9569 * FloatList.[Ch] (FloatList): remove commented out float
9571 (erase): new function
9573 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9575 * MenuBackend.C (expandToc): fix crash when there is no document
9578 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9580 * many files: Add insetwrap.
9582 2002-09-09 John Levon <levon@movementarian.org>
9584 * text2.C: remove confusing and awkward depth wraparound
9586 2002-09-09 John Levon <levon@movementarian.org>
9588 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9591 * buffer.C: remove getIncludeonlyList()
9594 * lyxfunc.C: remove headers
9596 2002-09-09 Juergen Vigna <jug@sad.it>
9598 * text.C (getColumnNearX): fix form Michael this is most
9599 probably a cut&paste bug.
9601 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9603 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9605 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9606 references, ws changes.
9608 * text2.C (init): update counters after init
9609 (insertParagraph): no need to set counter on idividual paragraphs.
9610 (setCounter): access the counters object in the textclass object
9611 on in the buffer object.
9612 (updateCounters): ditto
9614 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9615 shared_ptr<Counters> to avoid loading counters.h in all
9617 (LyXTextClass): initialize ctrs_
9618 (TextClassTags): add TC_COUNTER, and ...
9619 (Read): use it here.
9620 (CounterTags): new tags
9621 (readCounter): new function
9622 (counters): new funtion
9623 (defaultLayoutName): return a const reference
9625 * counters.C (Counters): remove contructor
9626 (newCounter): remove a couple of unneeded statements.
9627 (newCounter): simplify a bit.
9628 (numberLabel): some small formatting changes.
9630 * buffer.[Ch]: remove all traces of counters, move the Counters
9631 object to the LyXTextClass.
9633 2002-09-06 Alain Castera <castera@in2p3.fr>
9635 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9636 package to set the horizontal alignment on fixed width columns.
9639 * lyx_sty.h: added tabularnewline macro def.
9641 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9643 2002-09-06 John Levon <levon@movementarian.org>
9645 * LyXAction.C: tooltips for sub/superscript
9647 * MenuBackend.C: a bit more verbose
9649 * lyxfunc.C: tiny clean
9651 * undo_funcs.C: document undo_frozen
9653 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9655 * counters.C (Counters): add missing algorithm counter.
9657 * text2.C (setCounter): lookup the counter with layouts latexname
9658 instead of by section number.
9659 (setCounter): use a hackish way to lookup the correct enum
9661 a float name->type change
9662 reset enum couners with counter name directly instead of depth value.
9664 * counters.C (Counters): remove the push_backs, change to use the
9665 float type not the float name.
9666 (labelItem): remove unused string, float name->type change
9668 * counters.h: don't include vector, loose the enums and sects vectors
9670 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9672 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9673 (Read): add float->TC_FLOAT to textclassTags
9674 (Read): and handle it in the switch
9675 (readFloat): new function
9677 * FloatList.C (FloatList): comment out the hardcoded float
9680 * lyxlayout.h: ws change.
9682 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9684 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9686 2002-09-03 Angus Leeming <leeming@lyx.org>
9688 * BufferView_pimpl.h: qualified name is not allowed in member
9689 declaration: WorkArea & Pimpl::workarea() const;
9691 * factory.C: added using std::endl directive.
9693 * text3.C: added using std::find and std::vector directives.
9695 2002-08-29 André Pönitz <poenitz@gmx.net>
9698 * text2.C: remove unused member number_of_rows
9701 * BufferView2.C: remove file, move contents to...
9702 * BufferView.C: ... here
9704 * BufferView_pimpl.C:
9705 * factory.C: move more inset creation to factory
9707 * vspace.C: avoid direct usage of LyXText, ws changes
9710 don't provide direct access to WorkArea, use two simple
9711 acessors haveSelction() and workHeight() instead
9714 2002-08-29 John Levon <levon@movementarian.org>
9716 * BufferView_pimpl.C (dispatch): do not continue when
9719 2002-08-28 André Pönitz <poenitz@gmx.net>
9721 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9724 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9726 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9728 * buffer.C: increment LYX_FORMAT to 221
9730 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9731 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9733 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9735 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9737 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9739 * factory.C (createInset): use LyXTextClass::floats
9741 * MenuBackend.C (expandFloatListInsert):
9742 (expandFloatInsert):
9745 * text2.C (setCounter):
9747 * LaTeXFeatures.C (useFloat):
9748 (getFloatDefinitions):
9750 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9752 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9753 floatlist_, with accessor floats().
9755 * FloatList.h: remove global FloatList
9757 2002-08-26 André Pönitz <poenitz@gmx.net>
9759 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9763 * BufferView_pimpl.C:
9764 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9766 2002-08-25 John Levon <levon@movementarian.org>
9768 * LyXAction.C: fix margin note description
9770 2002-08-24 John Levon <levon@movementarian.org>
9774 * bufferview_funcs.C:
9776 * undo_funcs.C: cleanups
9778 * lyxfunc.C: disable CUT/COPY when no selection
9780 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9782 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9783 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9785 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9786 Add backward compatibility to "mono", "gray" and "no".
9788 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9790 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9791 (and file_format >= 200).
9793 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9795 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9797 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9799 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9801 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9803 * BufferView_pimpl.C:
9810 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9811 inset and code to make it work with the paragraph code. The inset
9812 can be anywhere in the paragraph, but will only do the expected
9813 thing in LaTeX if the layout file contains the parameter line
9815 (or more generally, a nonzero value) for that layout.
9817 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9819 * paragraph.h: remove the declaration of undefined counters class
9822 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9824 * text2.C (setCounter): fixed enumeration mis-count as reported by
9825 Dr. Richard Hawkins.
9827 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9829 * paragraph_funcs.h: remove some unneeded includes
9831 * text.C (backspace): pasteParagraph now in global scipe
9833 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9834 (pasteSelection): ditto
9836 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9837 * paragraph_funcs.C (pasteParagraph): ... here
9839 2002-08-20 André Pönitz <poenitz@gmx.net>
9841 * commandtags.h: new LFUNs for swapping/copying table row/colums
9844 * lyxfunc.C: support for new lfuns
9846 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9849 * buffer.[Ch]: remove NO_COMPABILITY stuff
9851 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9853 * boost.C (throw_exception): new file, with helper function for
9854 boost compiled without exceptions.
9859 * ParameterStruct.h:
9860 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9862 * bufferlist.C (emergencyWriteAll): use boost bind
9864 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9866 * text.C: include paragraph_funcs.h
9867 (breakParagraph): breakParagraph is now in global scope
9869 * paragraph_funcs.[Ch]: new files
9871 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9874 * buffer.C: include paragraph_funcs.h
9875 (insertStringAsLines): breakParagraph is now in global scope
9877 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9880 * CutAndPaste.C: include paragraph_funcs.h
9881 (cutSelection): breakParagraphConservative is now in global scope
9882 (pasteSelection): ditto
9884 * buffer.h: declare oprator== and operator!= for
9885 Buffer::inset_iterator
9887 * bufferlist.C (emergencyWrite): don't use fmt(...)
9889 * text3.C: add using std::endl
9891 * BufferView.C (moveCursorUpdate): remove default arg
9893 2002-08-20 André Pönitz <poenitz@gmx.net>
9895 * buffer.[Ch]: move inline functions to .C
9898 * BufferView_pimpl.C:
9900 * buffer.[Ch]: use improved inset_iterator
9903 * paragraph.[Ch]: write one paragraph at a time
9905 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9907 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9908 style if style is not specified.
9910 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9912 * text2.C (setCounter): when searching for right label for a
9913 caption, make sure to recurse to parent insets (so that a caption
9914 in a minipage in a figure float works) (bug #568)
9916 2002-08-20 André Pönitz <poenitz@gmx.net>
9918 * text3.C: new file for LyXText::dispatch() and helpers
9920 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9922 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9924 2002-08-19 André Pönitz <poenitz@gmx.net>
9927 * text.C: new LyXText::dispatch()
9929 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9931 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9933 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9935 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9938 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9940 * Makefile.am: use $(variables) instead of @substitutions@
9942 2002-08-15 André Pönitz <poenitz@gmx.net>
9945 * BufferView_pimpl.C: streamlining mathed <-> outer world
9949 * LyXAction.C: remove unused LFUN_MATH
9951 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9953 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9955 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9957 * paragraph.C (Paragraph): reformat a bit
9958 (cutIntoMinibuffer): use builtin InsetList function instad of
9962 * buffer.C: include boost/bind.hpp, add using std::for_each
9963 (writeFileAscii): use ParagraphList iterators
9964 (validate): use for_each for validate traversal of paragraphs
9965 (getBibkeyList): use ParagraphList iterators
9966 (resizeInsets): use for_each to resizeInsetsLyXText for all
9968 (getParFromID): use ParagraphList iterators
9970 * BufferView2.C (lockInset): use paragraph list and iterators
9972 2002-08-14 John Levon <levon@movementarian.org>
9974 * lyxserver.C: remove spurious xforms include
9976 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9978 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9980 2002-08-13 André Pönitz <poenitz@gmx.net>
9983 * lyxfunc.C: further cleaning
9985 2002-08-13 André Pönitz <poenitz@gmx.net>
9987 * funcrequest.h: new constructor
9989 * funcrequest.C: move stuff here from .h
9992 * BufferView_pimpl.C:
9995 * lyxfunc.C: subsequent changes
9997 * lyxfunc.h: new view() member function
9999 * lyxfunc.C: subsequent changes
10001 2002-08-13 Angus Leeming <leeming@lyx.org>
10004 * BufferView_pimpl.C:
10012 changes due to the changed LyXView interface that now returns references
10013 to member variables not pointers.
10015 2002-08-13 Angus Leeming <leeming@lyx.org>
10017 * WordLangTuple (word, lang_code): return references to strings,
10022 * lyxtext.h: forward-declare WordLangTuple.
10027 * text.C: #include "WordLangTuple.h".
10030 * text.C: (selectNextWordToSpellcheck): constify return type.
10032 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10038 * paragraph_pimpl.h:
10041 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10042 suggested by Angus.
10043 Made updateCounter always count from start of buffer, and removed
10044 second argument (par).
10045 Reverted floats number display to '#'. Perhaps I'll try again when the
10046 code base is sanitized a bit.
10048 2002-08-12 Angus Leeming <leeming@lyx.org>
10050 * buffer.[Ch] (getLabelList): constify.
10052 2002-08-07 André Pönitz <poenitz@gmx.net>
10054 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10056 * funcrequest.h: extension to keep mouse (x,y) position
10058 2002-08-12 Juergen Vigna <jug@sad.it>
10060 * BufferView2.C (insertErrors): forbid undo when inserting error
10063 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10065 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10067 * ParagraphList.[Ch]: new files
10069 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10071 * BufferView2.C (lockInset): ParagraphList changes
10074 * bufferlist.C: ditto
10078 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10080 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10081 unused class variable counter_,
10083 * paragraph.[Ch] (getFirstCounter): delete unused function
10085 * counters.C: include LAssert.h
10086 (reset): add a new function with no arg, change other version to
10087 not have def. arg and to not allow empty arg.
10089 * text2.C (setCounter): remove empty arg from call to Counters::reset
10091 2002-08-11 John Levon <levon@movementarian.org>
10093 * Makefile.am: add WordLangTuple.h
10095 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10097 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10098 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10100 * insets/insettext.C: InsetList changes
10102 * graphics/GraphicsSupport.C (operator()): InsetList changes
10104 * toc.C (getTocList): InsetList changes
10106 * paragraph_pimpl.[Ch]: InsetList changes
10108 * paragraph.[Ch]: InsetList changes
10110 * buffer.C (inset_iterator): InsetList changes
10111 (setParagraph): ditto
10112 * buffer.h (inset_iterator): ditto
10113 * iterators.C (operator++): ditto
10114 * iterators.h: ditto
10116 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10118 * InsetList.[Ch]: new files, most InsetList handling moved out of
10121 * BufferView2.C (removeAutoInsets): InsetList changes
10123 (ChangeInsets): ditto
10125 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10127 * paragraph_pimpl.h (empty): new function
10129 * paragraph.[Ch] (empty): new function
10131 * other files: use the new Paragraph::empty function
10133 2002-08-09 John Levon <levon@movementarian.org>
10135 * lyxtext.h: remove unused refresh_height
10137 2002-08-09 John Levon <levon@movementarian.org>
10144 * paragraph.C: move sgml char escaping out of paragraph
10147 * paragraph.C: remove id setter
10151 * paragraph_pimpl.C: remove dead tex_code_break_column
10153 * bufferview_funcs.C: small cleanup
10155 * lyxfunc.C: remove dead proto
10157 * lyxtext.h: make some stuff private. Remove some dead stuff.
10159 * lyxgluelength.C: make as[LyX]String() readable
10161 2002-08-08 John Levon <levon@movementarian.org>
10166 * ToolbarDefaults.C:
10169 * toc.C: lyxaction cleanup
10171 2002-08-08 John Levon <levon@movementarian.org>
10173 * BufferView2.C: small cleanup
10176 * lyxfind.C: move unnecessary header into the .C
10178 2002-08-08 John Levon <levon@movementarian.org>
10180 * funcrequest.h: just tedious nonsense
10183 * lyx_main.C: cleanups
10186 * vspace.C: remove dead header lyx_main.h
10188 2002-08-07 Angus Leeming <leeming@lyx.org>
10191 * paragraph_pimpl.h:
10192 Forward declare class Counters in paragraph.h by moving the ctrs member
10193 variable into Paragraph::Pimpl.
10194 (counters): new method, returning a reference to pimpl_->ctrs.
10196 * text2.C: ensuing changes.
10198 2002-08-07 John Levon <levon@movementarian.org>
10200 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10202 * BufferView_pimpl.C: announce X selection on double/triple
10205 * lyx_main.C: use correct bool in batch dispatch
10207 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10209 2002-08-07 André Pönitz <poenitz@gmx.net>
10211 * funcrequest.h: new class to wrap a kb_action and its argument
10214 * BufferView_pimpl[Ch]:
10218 * lyxrc.C: subsequent changes
10221 2002-08-07 John Levon <levon@movementarian.org>
10223 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10224 document options change.
10226 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10231 * makefile.am: move counters functionality over from
10232 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10234 2002-08-06 John Levon <levon@movementarian.org>
10236 * WordLangTuple.h: new file for word + language code tuple
10247 * BufferView2.C: use WordLangTuple
10250 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10252 2002-08-06 John Levon <levon@movementarian.org>
10254 * lyx_main.C: fix cmdline batch handling
10256 2002-08-06 André Pönitz <poenitz@gmx.net>
10258 * lyxrc.C: set default for show_banner to true
10260 2002-08-06 John Levon <levon@movementarian.org>
10262 * pspell.C: fix a crash, and allow new aspell to work
10264 2002-08-06 John Levon <levon@movementarian.org>
10267 * kbmap.C: small cleanup
10270 * vspace.C: add const
10272 2002-08-05 John Levon <levon@movementarian.org>
10274 * LyXAction.C: back to tabular-insert
10276 2002-08-04 John Levon <levon@movementarian.org>
10279 * BufferView.C: cosmetic change
10281 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10291 * BufferView2.C: purge all "Lyx" not "LyX" strings
10294 * lyxcursor.C: attempt to add some documentation
10299 * ToolbarDefaults.C:
10300 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10301 merge with LFUN_TABULAR_INSERT
10308 * pspell.C: split up i/pspell implementations into separate
10309 files, many cleanups
10311 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10313 * text2.C: some cleanup
10315 * lyxfunc.C: don't check for isp_command == "none" any more, it
10316 didn't make any sense
10318 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10323 * makefile.am: move counters functionality over
10324 from text2.C/paragraph.[Ch] to counters.[Ch], and
10326 2002-08-02 John Levon <levon@movementarian.org>
10328 * buffer.C: s/lyxconvert/lyx2lyx/
10330 2002-08-02 Angus Leeming <leeming@lyx.org>
10332 * lyxlex.C: revert John's change as it breaks reading of the user
10335 2002-08-02 Angus Leeming <leeming@lyx.org>
10337 * importer.C (Import):
10338 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10339 changes due to LyXView::view() now returning a boost::shared_ptr.
10341 2002-08-02 John Levon <levon@movementarian.org>
10343 * lyxlex.C: small cleanup
10345 2002-08-02 John Levon <levon@movementarian.org>
10347 * text2.C (status): small cleanup, no logic change
10349 2002-08-01 John Levon <levon@movementarian.org>
10352 * buffer.C (writeFile): don't output alerts, caller
10356 * lyx_cb.C: from above
10358 * lyxfunc.C: allow to open non-existent files
10360 2002-07-31 John Levon <levon@movementarian.org>
10362 * lyxserver.C: don't let incidental errors get
10365 2002-07-30 John Levon <levon@movementarian.org>
10367 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10369 2002-07-30 John Levon <levon@movementarian.org>
10372 * lyxserver.C: remove I/O callback too
10374 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10376 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10379 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10381 * many files: strip,frontStrip -> trim,ltrim,rtrim
10383 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10385 * PrinterParams.h: remove extern containsOnly, and include
10386 support/lstrings.h instead.
10388 * LaTeX.C (scanAuxFile): modify because of strip changes
10390 * buffer.C (makeLaTeXFile): ditto
10391 * bufferparams.C (writeFile): ditt
10392 * lyxfont.C (stateText): ditto
10393 * lyxserver.C (read_ready): ditto
10394 * vc-backend.C (scanMaster): ditto
10396 * BufferView_pimpl.h: ws changes
10398 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10400 2002-07-26 André Pönitz <poenitz@gmx.net>
10402 * kb_sequence.C: remove unnedred usings
10404 2002-07-26 Juergen Vigna <jug@sad.it>
10406 * lyxfind.C (LyXReplace): we have to check better if the returned
10407 text is not of theLockingInset()->getLockingInset().
10409 2002-07-25 Juergen Vigna <jug@sad.it>
10411 * lyxfind.C (LyXReplace): don't replace if we don't get the
10414 * undo_funcs.C (createUndo): remove debugging code.
10416 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10418 * buffer.C (parseSingleLyXformat2Token): Use default placement
10419 when reading old floats.
10421 * FloatList.C (FloatList): Change the default placement of figure
10422 and tables to "tbp".
10424 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10426 * MenuBackend.C: using std::max
10428 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10430 * MenuBackend.C (expandToc):
10431 (expandToc2): code moved from xforms menu frontend. It is now
10432 generic and TOCs are transparent to menu frontends.
10434 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10436 * toc.C (getTocList): protect against buf=0
10438 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10439 Menu as first parameter. Now, this calls itself recursively to
10440 expand a whole tree (this will be useful for TOC handling)
10441 (expandFloatInsert): remove 'wide' version of floats
10443 * MenuBackend.h (submenuname): returns the name of the submenu.
10444 (submenu): returns the submenu itself, provided it has been
10445 created by MenuBackend::expand
10447 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10449 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10450 insets which have noFontChange == true. (bug #172)
10452 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10454 * BufferView_pimpl.C: add connection objects and use them...
10457 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10459 * MenuBackend.C (expandLastfiles):
10462 (expandFloatListInsert):
10463 (expandFloatInsert):
10464 (expand): split expand in parts
10466 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10468 * lyx_gui.C: use lyx_gui::exit()
10470 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10472 * LyXAction.C: show the failing pseudo action
10474 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10476 * buffer.C (readFile): Run the lyxconvert script in order to read
10479 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10483 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10485 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10489 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10491 2002-07-22 Herbert Voss <voss@lyx.org>
10494 * lyxlength.[Ch]: add support for the vertical lengths
10496 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10498 * toc.[Ch]: std:: fixes
10500 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10502 * lyxrc.C: do not include lyx_main.h
10504 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10510 * BufferView2.C: include "lyxlex.h"
10513 * bufferparams.h: do not #include "lyxlex.h"
10515 * lyxtextclasslist.C (Add): remove method
10516 (classlist): renamed to classlist_
10518 * paragraph_pimpl.C:
10522 * bufferview_funcs.C:
10527 * toc.C (getTocList): use BufferParams::getLyXTextClass
10529 * toc.C (getTocList): use InsetFloat::addToToc
10531 * toc.[Ch]: new files, containing helper functions to handle table
10534 * lyxfunc.C (dispatch): no need to remove spaces around command
10536 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10537 first command of the sequence; it is not very clever, but I do not
10538 have a better idea, actually
10540 * LyXAction.C (LookupFunc): make sure to remove space at the
10541 beginning and end of the command
10543 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10545 * MenuBackend.C (getMenubar): new method: return the menubar of
10547 (read): treat differently reading of menu and menubar (in
10548 particular, the menubar has no name now)
10549 (Menu::menubar): remove
10551 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10554 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10556 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10557 a bibitem inset in a RTL paragraph.
10559 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10561 * paragraph_pimpl.C: constify
10563 * BufferView_pimpl.C:
10565 * lyxfunc.C: fix dispatch in a nicer way
10567 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10569 * lyxfunc.C (dispatch):
10570 * BufferView_pimpl.C:
10571 * BufferView_pimpl.h:
10573 * BufferView.h: rename Dispatch() to dispatch()
10575 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10577 * lyxlayout.C (Read): honor DependsOn tag
10579 * lyxlayout.[Ch] (depends_on): new method
10581 * version.C.in: update lyx_docversion
10583 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10585 * paragraph.C (validate): remove from here...
10586 * paragraph_pimpl.C (validate): ... and move here
10587 (isTextAt): make it const
10589 * buffer.C (getLists): ws cleanup
10591 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10593 * language.C (read): Use iso8859-1 encoding in latex_lang
10594 (this prevents LyX from crashing when using iso10646-1 encoding).
10596 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * text2.C (toggleInset): if cursor is inside an inset, close the
10599 inset and leave cursor _after_ it
10601 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10603 * lyxfunc.C: move minibuffer completion handling out of here
10605 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10607 * BufferView_pimpl.C:
10608 * LaTeX.C: fix dispatch calls
10610 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10612 * text.C (drawChars): Fix Arabic text rendering.
10614 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10618 * lyxfunc.C: remove message-push/pop
10622 * lyxfunc.C: rationalise some code by removing verboseDispatch
10623 in favour of a bool argument to dispatch()
10625 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * lyx_main.C (init): make sure to read symlinks as absolute paths
10629 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10632 * lyxfunc.C: no need for commandshortcut to be a member
10634 2002-07-15 André Pönitz <poenitz@gmx.net>
10636 * converter.C: add support for $$s (scripts from lib/scripts dir)
10637 * lyx_main.C: white space
10639 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10643 * lyxrc.C: remove second exit confirmation
10645 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10650 * BufferView_pimpl.h:
10651 * BufferView_pimpl.C:
10652 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10654 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10656 * MenuBackend.C (expand): add numeric shortcuts to document menu
10658 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10660 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * lyxfont.C (setLyXFamily):
10669 * buffer.C (asciiParagraph): use ascii_lowercase
10671 2002-07-15 Mike Fabian <mfabian@suse.de>
10673 * lyxlex_pimpl.C (search_kw):
10674 * lyxlex.C (getLongString):
10675 * converter.h (operator<):
10676 * converter.C (operator<):
10677 * buffer.C (parseSingleLyXformat2Token):
10679 * ToolbarDefaults.C (read):
10680 * MenuBackend.C (checkShortcuts):
10682 * LColor.C (getFromGUIName):
10683 (getFromLyXName): use the compare_ascii_no_case instead of
10684 compare_no_case, because in turkish, 'i' is not the lowercase
10685 version of 'I', and thus turkish locale breaks parsing of tags.
10687 2002-07-16 Angus Leeming <leeming@lyx.org>
10689 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10690 now takes a Buffer const & argument.
10692 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10694 * BufferView.C (resize): check there's a buffer to resize
10696 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10698 * lyxfunc.C: remove dead code
10701 * lyxserver.C: use lyx_guii::set_read_callback
10703 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10705 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10706 an inset in a RTL paragraph.
10708 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10710 * lyxfunc.C: repaint after a font size update
10712 2002-07-15 André Pönitz <poenitz@gmx.net>
10714 * lyxlength.C: inBP should be able to return negative values
10716 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10718 * lyxfunc.C: use lyx_gui::update_fonts()
10720 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10722 * lyxfunc.C: use lyx_gui::update_color()
10724 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10730 * lyxrc.C: remove file->new asks for name option, and let
10731 buffer-new take an argument
10733 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10735 * BufferView_pimpl.C: remove unneeded extra repaint()
10737 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10739 * LyXAction.C: allow command-sequence with NoBuffer
10741 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10743 2002-07-10 Angus Leeming <leeming@lyx.org>
10745 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10747 2002-07-09 Angus Leeming <leeming@lyx.org>
10749 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10751 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10753 * lengthcommon.h: whitespace
10755 * lyxfunc.C: update scrollbar after goto paragraph
10757 * lyxtext.h: factor out page break drawing, and fix it so
10758 page break/added space paints as selected nicely
10760 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10762 * BufferView_pimpl.C: add FIXMEs, clean up a little
10764 2002-07-09 André Pönitz <poenitz@gmx.net>
10766 * lyxfont.[Ch]: support for wasy symbols
10768 2002-07-08 André Pönitz <poenitz@gmx.net>
10770 * BufferView_pimpl.C: apply John's patch for #93.
10772 2002-07-05 Angus Leeming <leeming@lyx.org>
10774 * BufferView_pimpl.C (buffer): generate previews if desired.
10776 * LColor.h: add "preview" to the color enum.
10778 * LColor.C (LColor): add a corresponding entry to the items array.
10780 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10783 2002-07-05 Angus Leeming <leeming@lyx.org>
10785 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10786 The body of the code is now in the method that is passed an ostream &
10787 rather than a file name.
10788 Pass an additional only_preamble parameter, useful for the forthcoming
10791 2002-07-03 André Pönitz <poenitz@gmx.net>
10793 * lyxfunc.C: simplify getStatus() a bit for math stuff
10795 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10799 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10801 * text.C (changeRegionCase): do not change case of all the
10802 document when region ends at paragraph end (bug #461)
10804 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10806 * paragraph.C (startTeXParParams):
10807 (endTeXParParams): add \protect when necessary
10809 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10811 * BufferView_pimpl.C (workAreaExpose): remove warning
10813 2002-06-27 Angus Leeming <leeming@lyx.org>
10815 * Makefile.am: add lyxlayout_ptr_fwd.h.
10817 2002-06-26 André Pönitz <poenitz@gmx.net>
10819 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10821 2002-06-25 Angus Leeming <leeming@lyx.org>
10823 * lyxfunc.C (dispatch): Comment out the call to
10824 grfx::GCache::changeDisplay. The method no longer exists now that the
10825 pixmap generation part of the graphics loader has been moved into
10828 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * text2.C: layout as layout
10832 * text.C: layout as layout
10834 * tabular.C (OldFormatRead): layout as layout
10836 * paragraph_pimpl.C (TeXDeeper): layout as layout
10837 (realizeFont): layout as layout
10839 * paragraph.C (writeFile): layout as layout
10840 (validate): layout as layout
10841 (getFont): layout as layout
10842 (getLabelFont): layout as layout
10843 (getLayoutFont): layout as layout
10844 (breakParagraph): layout as layout
10845 (stripLeadingSpaces): layout as layout
10846 (getEndLabel): layout as layout
10847 (getMaxDepthAfter): layout as layout
10848 (applyLayout): layout as layout
10849 (TeXOnePar): layout as layout
10850 (simpleTeXOnePar): layout as layout
10851 (TeXEnvironment): layout as layout
10852 (layout): layout as layout
10853 (layout): layout as layout
10855 * lyxtextclass.C (compare_name): new functor to work with
10856 shared_ptr, layout as layout
10857 (Read): layout as layout
10858 (hasLayout): layout as layout
10859 (operator): layout as layout
10860 (delete_layout): layout as layout
10861 (defaultLayout): layout as layout
10863 * lyxlayout_ptr_fwd.h: new file
10865 * lyxlayout.C (Read): layout as layout
10867 * lyx_cb.C (MenuInsertLabel): layout as layout
10869 * bufferlist.C (newFile): layout as layout
10871 * buffer.C (readLyXformat2): layout as layout
10872 (parseSingleLyXformat2Token): layout as layout
10873 (insertStringAsLines): layout as layout
10874 (asciiParagraph): layout as layout
10875 (latexParagraphs): layout as layout
10876 (makeLinuxDocFile): layout as layout
10877 (simpleLinuxDocOnePar): layout as layout
10878 (makeDocBookFile): layout as layout
10879 (simpleDocBookOnePar): layout as layout
10880 (getLists): layout as layout
10882 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10884 * CutAndPaste.C (cutSelection): layout as layout
10885 (pasteSelection): layout as layout
10886 (SwitchLayoutsBetweenClasses): layout as layout
10888 * BufferView_pimpl.C (Dispatch): layout as layout
10889 (smartQuote): layout as layout
10891 * BufferView2.C (unlockInset): layout as layout
10893 2002-06-24 André Pönitz <poenitz@gmx.net>
10895 * lyxfunc.C: fix #487
10897 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10901 * lyxfunc.C: remove display_shortcuts, show_banner
10903 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10905 * Buffer_pimpl.C: oops, update on resize
10907 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10914 * BufferView.C: use repaint()
10916 * BufferView_pimpl.h:
10917 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10918 as it's a clearer description. Remove superfluous
10921 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10923 * text.C: fix bug 488. Not ideal, but getting
10924 getWord() to work properly for the insets that
10925 matter is more difficult ...
10927 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10929 * BufferView_pimpl.C:
10932 * lyxfunc.C: remove the six million index lyxfuncs to just
10933 one, and DTRT (bug 458)
10935 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10939 * BufferView_pimpl.h:
10940 * BufferView_pimpl.C: clean up resize() stuff,
10941 and unnecessary updateScreen()s
10943 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10947 * BufferView_pimpl.h:
10948 * BufferView_pimpl.C:
10951 * minibuffer.C: remove focus management of workarea,
10952 not needed. Use screen's greyOut()
10954 2002-06-17 Herbert Voss <voss@lyx.org>
10956 * converter.C: (convert) do not post a message, when converting
10957 fails, let the calling function decide what to do in this case
10959 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10961 * lyxfunc.C: tidy up a little
10963 2002-06-16 <alstrup@diku.dk>
10965 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10966 Got rid of FORMS_H_LOCATION include. Now we are
10969 2002-06-15 LyX Development team <lyx@rilke>
10971 * buffer.[Ch] (sgmlOpenTag):
10972 (sgmlCloseTag): Added support for avoiding pernicious mixed
10973 content. Return number of lines written.
10975 (makeLinuxDocFile):
10976 (makeDocBookFile): Fixed calls to sgml*Tag.
10977 Simple white space clean.
10979 (simpleDocBookOnePar): Simple white space clean.
10981 * tabular.[Ch] (docBook): Renamed to docbook and got another
10982 argument to related with the pernicious mixed content.
10984 (docbookRow): Fixed calls for docbook inset method.
10986 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10988 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10989 so it's X11 independent.
10993 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10995 2002-06-15 Lyx Development team <lyx@electronia>
10997 * intl.h: Renamed getTrans to getTransManager.
10999 2002-06-14 Angus Leeming <leeming@lyx.org>
11001 * Makefile.am: nuke forgotten stl_string_fwd.h.
11003 2002-06-12 Angus Leeming <leeming@lyx.org>
11005 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11007 2002-06-13 Angus Leeming <leeming@lyx.org>
11010 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11012 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11014 * kbmap.C (getiso): add support for cyrillic and greek
11016 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11020 * BufferView_pimpl.h:
11021 * BufferView_pimpl.C: move bogus scrolling logic
11024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11027 * BufferView_pimpl.C: view->resize() change
11029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11031 * BufferView_pimpl.C: topCursorVisible
11034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11038 * lyx_gui.C: move to frontends/
11042 * lyx_main.C: changes from above
11044 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11051 * lyx_main.C: minor tidy
11053 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11055 * BufferView_pimpl.h:
11056 * BufferView_pimpl.C:
11058 * BufferView.C: make painter() const,
11061 * BufferView2.C: use screen() accessor
11064 * lyx_main.C: some minor cleanup
11066 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11068 * BufferView_pimpl.h:
11069 * BufferView_pimpl.C: remove enter/leaveView,
11072 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11077 * BufferView_pimpl.h:
11078 * BufferView_pimpl.C: only construct screen once,
11081 * lyxrc.C: remove pointless comment
11083 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11086 * BufferView.C: remove active() and belowMouse()
11088 * BufferView_pimpl.h:
11089 * BufferView_pimpl.C: use workarea() not workarea_,
11090 and make it use a scoped_ptr instead
11092 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11094 * lyx_gui.C: add debug message on BadWindow
11096 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11098 * sp_spell.C: fdopen is not part of the C++ standard.
11100 * paragraph.C (InsetIterator): use >= instead of ==
11102 2002-06-07 Angus Leeming <leeming@lyx.org>
11104 Fixes needed to compile with Compaq cxx 6.5.
11105 * BufferView_pimpl.C:
11112 * lyxtextclasslist.C:
11117 all c-library variables have been moved into namespace std. Wrap
11118 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11123 Add a using std::abs declaration.
11125 * kbmap.h (modifier_pair):
11126 * paragraph.h (InsetTable, InsetList):
11127 * lyxfont.h (FontBits):
11128 type definition made public.
11130 * bufferlist.C (emergencyWriteAll): the compiler complains that
11131 there is more than one possible lyx::class_fun template to choose from.
11132 I re-named the void specialisation as lyx::void_class_fun.
11134 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11136 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11137 the compiler is is unable to find tostr in write_attribute.
11139 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11141 * buffer.C (sgmlError): hide #warning
11143 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11145 * xtl/*: get rid of xtl, which is not in use anyway
11147 * LyXAction.C (init):
11148 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11149 were unimplemented xtl experimentation
11151 2002-06-04 André Pönitz <poenitz@gmx.net>
11153 * lyxfunc.C: disable array operation on simple formulae
11155 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11157 * converter.C: constify a bit
11159 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11161 * lyx_gui.C: check xforms version correctly
11163 2002-04-30 Herbert Voss <voss@lyx.org>
11165 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11168 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11170 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11171 attempt to register it with a VCS)
11173 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11175 * lyx_main.C (init): honor variables LYX_DIR_13x and
11178 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11182 * lyx_main.C: fix a crash on bad command line,
11183 and give a useful exit status on error
11185 * lyxfunc.C (doImport): allow -i lyx to work
11187 2002-03-30 André Pönitz <poenitz@gmx.net>
11189 * lyxfunc.C: mathed font changes
11191 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11206 * trans_mgr.h: srcdocs, and some minor cleanups
11208 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11210 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11211 call getFont all the time)
11213 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11215 * switch from SigC signals to boost::signals
11217 2002-05-29 André Pönitz <poenitz@gmx.net>
11219 * paragraph_pimpl.C (getChar): don't call size() too often...
11221 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11223 * paragraph_pimpl.C (insertChar): do not try to update tables when
11224 appending (pos == size())
11226 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11227 in order to reduce drastically the number of comparisons needed to
11228 parse a large document
11230 2002-05-29 André Pönitz <poenitz@gmx.net>
11236 * textclasslist.[Ch]:
11237 * sp_ispell.h: whitespace change
11239 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11241 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11242 lyxaction directly now.
11244 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11248 * lyxvc.C: remove unused headers
11250 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11257 * undo_funcs.C: some cleanups. Use shared_ptr
11258 and a template for the undo stacks.
11260 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11262 * BufferView_pimpl.h:
11263 * BufferView_pimpl.C:
11270 * text2.C: use key_state/mouse_state
11272 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11274 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11277 * chset.C: change include order
11278 (loadFile): use boost regex and get rid of LRegex and LSubstring
11280 * Makefile.am (BOOST_LIBS): new variable
11281 (lyx_LDADD): use it
11283 * LaTeX.C: change include order.
11284 (scanAuxFile): use boost regex and get rid of LRegex and
11288 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11293 * FontInfo.C: moved to frontends/xforms/
11296 * FontLoader.C: moved into frontends for GUIIzation
11301 * lyxfunc.C: changes from above
11303 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11305 * LColor.C: remove spurious X include
11307 * BufferView_pimpl.C:
11312 * text2.C: move font metrics to frontends/
11314 2002-05-24 Juergen Vigna <jug@sad.it>
11316 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11317 setting the undo_cursor.
11319 * ParagraphParameters.h: include local includes first.
11321 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11323 * BufferView_pimpl.C:
11324 * BufferView_pimpl.h:
11328 * screen.C: move WorkArea into frontends/
11334 * BufferView2.C: move LyXScreen into frontends/
11338 * lyx_gui.C: move lyxlookup into frontends/xforms/
11340 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11343 * BufferView_pimpl.C:
11353 * bufferview_funcs.C:
11366 * vc-backend.C: move LyX/XFormsView into frontends/
11368 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11380 * text2.C: move Painter to frontends/
11382 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11384 * buffer.C: comment out some some code that depend upon lyx_format
11387 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11388 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11390 * buffer.h (NO_COMPABILITY): turn off compability
11392 * ColorHandler.C: include scoped_array.hpp
11394 * font.C: Use more specific smart_ptr header.
11397 * ShareContainer.h: ditto
11398 * lyx_main.h: ditto
11400 * FontInfo.h: ditto
11401 * BufferView_pimpl.h: ditto
11402 * ColorHandler.h: ditto
11404 * kbmap.C (defkey): change call to shared_ptr::reset
11406 2002-05-21 Juergen Vigna <jug@sad.it>
11408 * buffer.C (insertErtContents): fix to insert ert asis if it is
11409 non empty. Skip it completely if it contains only whitespaces.
11411 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11413 * BufferView_pimpl.C:
11414 * BufferView2.C: clear selection on paste (bug 393)
11416 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11418 * DepTable.C: include ctime
11420 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11422 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11424 2002-05-14 Juergen Vigna <jug@sad.it>
11426 * text.C (breakParagraph): fixed function to honor the keepempty
11427 layout in the right maner and also to permit the right breaking
11428 algorithm on empty or non empyt keepempty paragraphs.
11430 * paragraph.C (breakParagraph): we have to check also if the par
11431 is really empty (!size()) for isempty otherwise we do the wrong
11434 2002-05-10 Juergen Vigna <jug@sad.it>
11436 * buffer.[Ch] : The following are only changes to the ert
11437 compatibility read reading old LaTeX layout and font stuff and
11438 convert it to ERTInsets.
11440 * buffer.h: added isErtInset().
11442 * buffer.C (struct ErtComp): add a fromlayout bool to check
11443 if we're inside a LaTeX layout.
11444 (isErtInset): new helper function.
11445 (insertErtContents): look for other ert insets before this one
11446 and insert the contents there, so that we don't have subsequent
11447 ERT insets with nothing between them. This way we create only one
11448 inset with multiple paragraphs. Also check if we don't insert only
11449 spaces ' ' as they are ignored anyway afterwards in the .tex file
11450 so if we have only spaces we will ignore this latex part in the
11452 (parseSingleLyXformat2Token \\layout): better compatibility when
11453 reading layout-latex stuff.
11454 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11456 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11457 stuff after reading the inset only get the information back from
11460 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11462 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11464 * LaTeXFeatures.C (getBabelOptions): New method.
11466 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11468 * BufferView_pimpl.C (Dispatch): work around missing argument for
11471 2002-05-08 Juergen Vigna <jug@sad.it>
11473 * text.C (leftMargin): handle paragraph leftindent.
11475 * paragraph.C (writeFile): write the new \\leftindent tag.
11476 (validate): handle leftindent code.
11477 (TeXEnvironment): handle paragraphleftindent code again.
11479 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11481 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11482 for paragrap_extra indent code and new token \\leftindent.
11483 (latexParagraphs): handle the leftindent as environment.
11485 * ParameterStruct.h: added leftindent support.
11487 * ParagraphParameters.C (leftIndent): added support functions for
11488 the paragraph left indent.
11490 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11493 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11495 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11498 * text.C (computeBidiTables): No bidi in insetERT.
11500 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11503 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11505 * version.C.in: pre 5
11507 2002-05-02 José Matos <jamatos@fep.up.pt>
11508 * buffer.C (makeDocBookFile): white space changes, add newline to
11510 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11512 * tabular.C (docBook): fix typo.
11514 2002-05-03 Juergen Vigna <jug@sad.it>
11516 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11517 change in LyXText as we can not be sure it was not freed.
11518 (drawOneRow): remove unused code.
11520 * text.C (drawInset): redo the calculation of the need_break_row as
11521 it could have a row which was already freed.
11522 (draw): look at the return value of drawInset and return false if
11523 it also returned false.
11524 (paintRowText): look at the return value of draw and return false if
11525 it also returned false.
11527 * lyxtext.h: added bool return type to drawInset() and draw() so that
11528 if we have a change in the row so that the rowbreak has to be redone
11529 we abort drawing as it will be called again.
11531 2002-05-02 Juergen Vigna <jug@sad.it>
11533 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11534 a change in the maintext also if we're inside an inset.
11535 (Dispatch): set the cursor again after a break line and after the
11536 screen has been updated as it could be we're in a different row.
11538 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11539 to set the cursor behind the pargraph with > size().
11540 (setCursor): check also for the same paragraph when checking where
11541 to put the cursor if we have a NFR inset.
11543 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11544 parts of layout read further up as it still was in the wrong
11547 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11549 * screen.C (drawFromTo): change sine fullRebreak always return
11552 * buffer.C (parseSingleLyXformat2Token): reindent some
11554 * BufferView_pimpl.C (update): change since fullRebreak always
11556 (Dispatch): git rid of the last hardcoded "Standard"s.
11558 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11560 * text2.[Ch] (fullRebreak): make it return void now that we always
11563 2002-04-30 Juergen Vigna <jug@sad.it>
11565 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11566 ert compatibility check for "latex" layout.
11568 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11570 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11571 minipages: use col% instead of p%, and also use the current font.
11572 (makeLaTeXFile): Fix use babel condition.
11573 (parseSingleLyXformat2Token): Correct font when reading old floats.
11575 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11577 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11578 inserting list of floats.
11580 2002-04-25 Herbert Voss <voss@lyx.org>
11582 * MenuBackend.C (expand): don't add the graphics extensions to the
11585 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11587 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11588 non-existing layout, do not complain if it was the default layout
11589 of the original class (bug #342)
11591 2002-04-24 Juergen Vigna <jug@sad.it>
11593 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11594 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11596 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11598 * buffer.C (getBibkeyList): If using \bibliography, return the
11599 option field with the reference itself. Enables us to provide natbib
11600 support when using \bibliography.
11602 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11604 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11606 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11607 natbib is provided by the LaTeX class.
11609 2002-04-23 Juergen Vigna <jug@sad.it>
11611 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11614 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11616 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11618 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11620 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11621 ensuremath around textordmasculine, textordfeminine and
11624 2002-04-19 Juergen Vigna <jug@sad.it>
11626 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11627 reinitializing the buffer otherwise row-dimensions may be wrong.
11628 (update): reset also the selection cursors if they do exits otherwise
11629 their x/y positions may be wrong.
11631 * text2.C (cursorDown): don't enter the inset if we came from a row
11632 above and are one row over the inset.
11634 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11635 really leaving an inset.
11637 2002-04-18 Juergen Vigna <jug@sad.it>
11639 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11640 of the selected paragraph does not have the selected layout also if
11643 * text2.C (setLayout): fixed bug which did not change last selected
11646 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11647 changed the read and substituted \\end_float with \\end_inset!
11649 * BufferView_pimpl.C (cursorPrevious):
11650 (cursorNext): fixed to make it work with rows heigher than the work
11651 area without moving the cursor only the draw of the row.
11652 (workAreaMotionNotify): fix jumping over high rows.
11654 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11656 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11659 2002-04-16 Juergen Vigna <jug@sad.it>
11661 * text2.C (setCursor): set also the irow().
11662 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11664 (cursorDown): support for locking an inset if the x_fix value goes
11665 inside it. That way I can transverse insets too with cursor up/down.
11667 * lyxrow.h: added irow helper function same as other (i) functions.
11669 * BufferView_pimpl.C (cursorPrevious):
11670 (cursorNext): fixed for insets!
11672 2002-04-15 Juergen Vigna <jug@sad.it>
11674 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11675 position otherwise it is wrong in some cases.
11677 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11678 inside the inset before the call.
11680 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11682 * buffer.[Ch] (getBibkeyList): make it const.
11684 2002-04-12 Juergen Vigna <jug@sad.it>
11686 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11688 * text2.C (getCursorX): new helper function
11689 (setCursor): compute also ix_
11690 (setCursorFromCoordinates): set also ix.
11692 * lyxcursor.h: added ix_ and helper functions.
11694 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11696 * buffer.C (insertStringAsLines): dont break paragraph if the this
11697 paragraph is inside an inset which does not permit it!
11699 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11700 also with no chars on this paragraph.
11701 (paintRowText): only paint stuff if it's inside the workarea!
11703 * paragraph.C (breakParagraph): honor keepempty flag and break the
11704 paragraph always below not above.
11706 * BufferView2.C (unlockInset): update the paragraph layout on inset
11707 unlock as we changed paragraph in such a case.
11709 * lyxfind.C (LyXFind): clear the former selection if not found!
11711 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11712 again called in insertChar().
11714 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11715 an inset which uses the whole row!
11716 (rightMargin): ditto.
11717 (insertChar): force a rebreak if we inserted an inset!
11719 2002-03-28 Herbert Voss <voss@lyx.org>
11721 * lyxlength.[Ch]: add inBP() to get the right PS-point
11722 units (BigPoint). With inPixels we have rounding errors
11724 2002-04-11 Juergen Vigna <jug@sad.it>
11726 * text2.C (setCursorFromCoordinates): set iy to the right value.
11727 (setCursor): add check if row->previous exists!
11729 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11730 an old float_type as this was the case in the old code!
11732 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11734 * BufferView2.C (showLockedInsetCursor): use iy
11735 (fitLockedInsetCursor): ditto
11737 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11738 locked insets as there we have the right value now.
11740 * lyxcursor.C: added iy_ variable and iy functions to set to the
11741 baseline of cursor-y of the locked inset.
11743 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11744 (setCursor): fixed for insets which need a full row.
11746 * text.C (rowLastPrintable): don't ignore the last space when before
11747 an inset which needs a full row.
11748 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11749 as last character of a row when before a inset which needs a full row.
11751 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11753 * version.C.in: update date
11755 * text2.C (fullRebreak): try to always return true and see what
11758 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11760 * MenuBackend.C (expand): use Floating::listName
11762 * FloatList.C (FloatList): add listName argument to the built-in
11765 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11766 text associated with the float.
11768 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11770 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11772 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11774 * ShareContainer.h: add a couple of missing typenames.
11776 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11778 * lyxrc.C (getDescription): use _() correctly rather than N_().
11780 2002-03-28 Herbert Voss <voss@lyx.org>
11782 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11783 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11785 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11787 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11788 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11790 2002-03-29 Juergen Vigna <jug@sad.it>
11792 * lyxfunc.C (dispatch): add a missing fitCursor call.
11794 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11795 it was scrolled by a cursor move, so return the bool status.
11797 * BufferView.C (fitCursor): return the bool flag also to the outside
11798 world as this is needed.
11800 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11802 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11803 call the edit() as it is not needed (and wrong) IMO.
11804 (workAreaButtonPress): set the screen_first variable before evt.
11805 unlock the inset as this may change screen_first and then we have
11806 a wrong y position for the click!
11808 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11810 * MenuBackend.C (expand): another translation that I missed
11812 2002-03-28 Juergen Vigna <jug@sad.it>
11814 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11816 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11818 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11820 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11822 * MenuBackend.C (expand): fix export/view/update when there is no
11825 2002-03-27 Herbert Voss <voss@lyx.org>
11827 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11830 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11832 * bufferview_funcs.C (currentState): only show paragraph number
11833 for is DEVEL_VERSION is set.
11835 * lyxfunc.C (dispatch): put warning in INFO channel
11837 * MenuBackend.C (expand): translate the name of floats
11839 * FloatList.C (FloatList): mark the float names for translation
11841 * converter.C (convert): use LibScriptSearch
11843 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11845 * MenuBackend.C (defaults): fix default menu (we might as well get
11848 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11850 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11853 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11855 * lyxvc.C: reorder includes.
11857 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11859 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11862 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11864 * CutAndPaste.C: change layouts earlier on paste
11865 to avoid crashing when calling getFont()
11867 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11869 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11872 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11874 * WorkArea.C: remove 'Pending' debug message.
11876 * most files: ws cleanup
11878 * buffer.[Ch]: ws changes
11880 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11882 2002-03-21 Juergen Vigna <jug@sad.it>
11884 * tabular.C (SetMultiColumn): collapse also the contents of the
11885 cells and set the last border right. Added a Buffer const * param.
11887 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11889 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11892 2002-03-19 Juergen Vigna <jug@sad.it>
11894 * text2.C (clearSelection): reset also xsel_cache.
11896 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11897 where it needs to be called (John tells us to do so too :)
11898 (selectionLost): reset sel_cache.
11900 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11902 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11904 * text2.C (setCursorIntern): put debuging code in INSETS channel
11906 2002-03-19 André Pönitz <poenitz@gmx.net>
11908 * lyxfunc.C: tiny whitespace change
11910 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11912 * ToolbarDefaults.C (init):
11913 * LyXAction.C (init):
11915 * BufferView_pimpl.C (Dispatch):
11916 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11918 2002-03-19 Allan Rae <rae@lyx.org>
11920 * exporter.C (Export): removeAutoInsets before doing anything else.
11921 While I've just introduced a dependency on BufferView this really is
11922 the best place to clean the buffer otherwise you need to cleanup in
11923 a dozen places before calling export or cleanup in a dozen functions
11926 * converter.C (runLaTeX):
11927 (scanLog): Better handling of removeAutoInsets and screen updates.
11929 * lyxfunc.C (dispatch): small whitespace changes
11931 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11933 * WorkArea.C (C_WorkAreaEvent): return a value.
11934 (event_cb): return 1 if we handled the event, 0 otherwise.
11936 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11938 2002-03-18 Juergen Vigna <jug@sad.it>
11940 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11941 (GetAdditionalWidth): ditto.
11942 (RightLine): ditto.
11945 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11946 inset if we're there actually (probably not used right now but this
11947 is the direction to go for unifying code).
11948 (paste): disable code to clear the selection.
11950 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11951 inside an InsetText and move the check further up as it is in the
11954 * text2.C (pasteSelection): set a selection over the pasted text.
11956 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11958 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11959 and libgraphics to build on Cygwin.
11961 2002-03-15 Juergen Vigna <jug@sad.it>
11963 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11964 inserting an Inset into the paragraph. I know this is not the best
11965 fix but we already use current_view in CutAndPaste so we will remove
11966 all of it's using at the same time.
11968 * buffer.C (sgmlError): deactivated function till it is rewritten in
11969 the right mode, now it can create problems.
11971 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11972 before accessing it.
11974 2002-03-14 Juergen Vigna <jug@sad.it>
11976 * undo_funcs.C (textHandleUndo): do the right thing when updating
11977 the inset after the undo/redo.
11979 * text2.C (setCursor): just some testcode for #44 not ready yet.
11981 * undo_funcs.C (textHandleUndo): set the next() and previous()
11982 pointers of the paragraph to 0 before deleting otherwise we have
11983 problems with the Paragraph::[destructor].
11985 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11986 on a paragraph insertion.
11988 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11990 * buffer.C (asciiParagraph): use += operator for char append to
11993 * paragraph.C (getFontSettings): compare >= not just >
11994 (highestFontInRange): ditto
11997 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11999 * paragraph.C: change several algorithm to be more appripriate for
12000 the problem domain. This is lookip in FontList and in the InsetList.
12002 2002-03-13 André Pönitz <poenitz@gmx.net>
12005 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12007 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12012 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12014 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12016 * Painter.C (display): anon helper function, adjust code for this
12018 (pixmap): remove function.
12020 * Painter.h: remove private display variable.
12022 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12024 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12026 * WorkArea.[Ch]: remove figinset_canvas cruft.
12028 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * lyxtextclass.C (operator): add one item cache optimization.
12032 * bufferlist.h: doxy changes
12034 * bufferlist.C: ws changes
12036 * DepTable.[Ch] (ext_exist): place const in the right spot.
12038 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12040 (workAreaExpose): call resizeInsets when the with BufferView changes.
12041 (Dispatch): adjust for protectedBlank removal
12042 (specialChar): call updateInset if the insert went ok.
12044 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12045 specialChar instead.
12047 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12049 * BufferView.h: doxy change
12051 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12053 * lyxtextclass.C (operator[]): remove non-const version
12054 (defaultLayout): remove non-const version
12056 2002-03-12 Juergen Vigna <jug@sad.it>
12058 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12059 did resize the LyXText too.
12061 * buffer.C (readLyXformat2): set layout information on newly allocated
12064 * tabular.C (OldFormatRead): set layout information on the paragraph.
12066 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12068 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12070 2002-03-11 Juergen Vigna <jug@sad.it>
12072 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12074 (resizeCurrentBuffer): force also the insets to resize themselfes.
12075 (moveCursorUpdate): fixed up for InsetText.
12077 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12080 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12081 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12082 value of Dialogs::tooltipsEnabled().
12083 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12085 2002-03-08 Juergen Vigna <jug@sad.it>
12087 * BufferView_pimpl.C (updateInset): update inset inside inset also
12088 if it isn't inside theLockingInset().
12090 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12092 * buffer.C (asciiParagraph): redo some of the word and line length
12094 (getLists): look for Caption instead of caption.
12096 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12098 * buffer.C (Buffer): initialize niceFile to true
12100 (makeLinuxDocFile):
12101 (makeDocBookFile): make sure niceFile is true on exit
12103 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12105 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12107 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12109 * LyXSendto.C: remove.
12110 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12111 * lyx_gui.C: remove now-redundant comment.
12112 * ColorHandler.h: remove forward declaration of class WorkArea.
12113 * lyxfunc.C: remove #include "WorkArea.h".
12115 2002-03-07 Juergen Vigna <jug@sad.it>
12117 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12118 got moved away with the DEPM and also set the inset_owner always
12119 right which before could have been omitted.
12121 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12124 wanted layout is not found.
12126 2002-03-07 Juergen Vigna <jug@sad.it>
12128 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12130 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12132 * paragraph.C (breakParagraph): use default layout not layout of
12134 (Paragraph): clear ParagraphParameters.
12136 2002-03-06 Juergen Vigna <jug@sad.it>
12138 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12139 otherwise it would not be a valid lenght. Fixed a special case in
12140 the minipage compatibility read where we end the document with a
12143 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12144 was set as it could be 0 for InsetTexts first entry.
12146 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12148 * paragraph.C (writeFile): if layout is empty write out
12149 defaultLayoutName().
12151 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12152 file without named layout we set layout to defaultLayoutName().
12154 2002-03-06 Juergen Vigna <jug@sad.it>
12156 * CutAndPaste.C (copySelection): set layout for new paragraph.
12158 * text.C (prepareToPrint): leave ERT inset left aligned
12159 (leftMargin): don't indent paragraphs inside ERT insets
12161 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12163 * paragraph.C (breakParagraph): dont call clear do the work manually
12165 * paragraph.[Ch] (clear): remove function
12167 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12169 * paragraph.C (Paragraph): dont call clear, the work has already
12172 * lyxtextclass.C (operator): assert if n is empty
12174 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12175 work manually instead.
12177 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12179 * BufferView_pimpl.C: protect selectionLost against text == 0
12181 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12183 * text.C (breakParagraph): fix a setting layout to '0' problem.
12185 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12187 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12188 final location of file, for the included files, and graphics.
12190 2002-03-05 Juergen Vigna <jug@sad.it>
12192 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12194 2002-03-04 Juergen Vigna <jug@sad.it>
12196 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12198 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12199 last column of multicolumn cells.
12200 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12202 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12204 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12205 file if it doesn't go to a temporary file.
12207 * buffer.C (sgmlOpenTag):
12208 (sgmlCloseTag): remove extra newline insertion.
12210 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12212 * text.C (getRowNearY): comment out debug msg
12214 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * text2.C: first -> first_y
12218 * text.C (getRowNearY): add some attemts at a possible
12219 optimization, not working.
12221 * tabular.[Ch]: add BufferParams to several function so that newly
12222 created paragraph can be initialized to he default layotu for the
12225 * tabular-old.C (ReadOld): add buf->params to call of Init
12227 * screen.C: rename text->first to text->first_y
12229 * paragraph.C (breakParagraph): always set layout in the broken
12232 * lyxtextclass.C (Read): remove lowercase
12235 (delete_layout): ditto
12237 * lyxtext.h: rename first -> first_y
12239 * lyxlayout.C (Read): remove lowercase
12242 (obsoleted_by): ditto
12244 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12246 * buffer.C (insertErtContents): add params are to InsetERT
12247 (parseSingleLyXformat2Token): add code to check if a paragraphs
12248 layout really exist.
12249 (parseSingleLyXformat2Token): add params to several inset
12251 (asciiParagraph): remove lowercase, do the layout comparisons with
12254 * BufferView_pimpl.C (cursorNext): first -> first_y
12255 (resizeCurrentBuffer): first -> first_y
12256 (updateScrollbar): first -> first_y
12257 (scrollCB): first -> first_y
12258 (workAreaMotionNotify): first -> first_y
12259 (workAreaButtonPress): first -> first_y
12260 (checkInsetHit): first -> first_y
12261 (cursorPrevious): first -> first_y
12262 (cursorNext): first -> first_y
12263 (Dispatch): add buffer_->params to severl inset contructors
12265 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12267 * lyxlayout.C (Read): remove some debug info that I forgot.
12269 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12270 clean up the code slightly.
12271 (makeLinuxDocFile): ditto
12272 (makeDocBookFile): ditto
12274 * text2.C: layout as string
12276 * text.C: layout as string
12278 * paragraph_pimpl.C: layout as string
12280 * paragraph.[Ch]: layout as string
12282 * lyxtextclasslist.[Ch]: layout as string
12284 * lyxtextclass.[Ch]: layout as string
12286 * lyxtext.h: layout as string
12288 * lyxlayout.[Ch]: layout as string
12290 * lyx_cb.C: layout as string
12292 * bufferview_funcs.C: layout as string
12294 * bufferparams.C: layout as string
12296 * buffer.C: layout as string
12298 * LyXView.[Ch]: layout as string
12300 * LaTeXFeatures.[Ch]: layout as string
12302 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12304 * BufferView_pimpl.C: change current_layout to string, remove
12309 (workAreaButtonRelease): layout as string
12311 * BufferView2.C (unlockInset): adjust
12313 * vspace.C (asLatexCommand): use an explict temp variable.
12315 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12317 * Makefile.am: use FRONTEND_*
12319 2002-03-01 Juergen Vigna <jug@sad.it>
12321 * tabular.C (SetWidthOfMulticolCell): changed to something better
12322 I hope but still work in progress.
12323 (recalculateMulticolumnsOfColumn): renamed function from
12324 recalculateMulticolCells as it is more appropriate now.
12325 (SetWidthOfCell): calculate multicols better.
12327 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12329 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12331 * lyxfunc.C (processKeySym): print sequence also if it is
12332 `deleted' (complete)
12334 * kbsequence.C (print): print sequence even if it is deleted
12335 (complete would be a better word, actually).
12337 * lyxfunc.C (dispatch): print complete options after a prefix key
12339 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12341 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12343 * text2.C (setCharFont): eliminate setCharFont code duplication.
12345 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12347 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12348 LFUN_TABULAR_FEATURE (bug #177)
12350 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12352 * Makefile.am: remove figure.h
12354 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12356 * Bufferview_pimpl.C:
12368 * text2.C: remove #include "lyx_gui_misc.h".
12370 * LaTeX.C: added #include <cstdio>
12372 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12374 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12375 that the paragraph following this one can have.
12377 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12379 * vspace.C (asLatexCommand): fix bogus gcc warning
12381 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12383 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12385 * text2.C (setLayout): get rid of redundant code
12387 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12389 * text2.C (incDepth): make sure depth cannot be increased beyond
12392 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12394 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12395 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12397 * PainterBase.h (image):
12398 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12399 a LyXImage const *.
12401 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12405 * BufferView_pimpl.C:
12406 * BufferView_pimpl.h:
12426 * sp_spell.C: remove fig inset, and the crap house of
12427 cards that follows it
12429 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12434 * os2_errortable.h:
12435 * nt_defines.h: move .h into support/
12437 * vms_defines.h: remove
12439 * WorkArea.C: add space in debug output
12443 * buffer.C: add WITH_WARNINGS
12447 * bufferlist.C: s/retrive/retrieve/, add docs
12456 * chset.C: add docs
12458 * lyxgui.C: add ID to X error handler
12460 * lyxtestclass.c: fix typo
12462 2002-02-26 Juergen Vigna <jug@sad.it>
12464 * tabular_funcs.C (write_attribute): changed so that some default
12465 attributes are not written at all.
12466 (getTokenValue): set default values before trying to read the
12467 value so we have the return value always set as default if we don't
12468 find the token we search for.
12470 * tabular.C (Write): write bools as bools not as strings!
12472 2002-02-22 Juergen Vigna <jug@sad.it>
12474 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12475 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12477 * text.C (leftMargin): don't add an indent for paragraphs inside
12478 tabular cells (fix #208).
12480 2002-02-21 José Matos <jamatos@fep.up.pt>
12482 * tabular.C (docBook): fixed support for long tables.
12484 2002-02-20 Juergen Vigna <jug@sad.it>
12486 * text2.C (getFont): get the drawing font of the Inset if this
12487 paragraph is inside an inset (only important for InsetERT for now).
12489 * buffer.C (insertErtContents): use new lanugage params in ERT
12492 * CutAndPaste.C: commenting out seemingly uneeded code.
12494 2002-02-19 Allan Rae <rae@lyx.org>
12496 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12497 Iterators might be simple to use but they also get invalidated.
12498 (removeAutoInsets): renamed saved cursor tracking variables and added
12499 some comments to clarify what everything does.
12501 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12508 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12509 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12512 * vc-backend.h: remove #include "support/syscall.h"
12516 * converter.C: rearrange #includes in Lars' approved fashion.
12518 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12519 forward declare class Timeout in the header file.
12521 * XFormsView.C: changes due to the above.
12523 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12524 similar to LyXView.
12526 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12527 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12529 2002-02-18 José Matos <jamatos@fep.up.pt>
12531 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12534 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12536 * a lot of small ws changes
12537 * add a lot of using std::XXX
12538 * use std construcs some places where approp.
12539 * use some exisint stuff from lyxfunctional where approp.
12540 * Make file changes to use partial linking (lets test this now...)
12542 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12546 remove #include "support/syscontr.h" as it's redundant. Always has been.
12554 change Systemcalls::System to Systemcalls::Wait and
12555 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12556 No change of functionality, just reflects the stripped down Systemcalls
12559 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12561 * debug.[Ch]: add a GRAPHICS type to the enum.
12563 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12565 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12567 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12570 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12572 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12573 match the changes below.
12575 * text2.C (toggleInset): if there is not editable inset at cursor
12576 position, try to see if cursor is _inside_ a collapsable inset
12579 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12581 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12582 document menu has a nice checkbox
12584 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12586 * lyxlength.C (asLatexString): change PW to output as percent of
12589 * lengthcommon.C: change '%' to 't%'
12591 * lyxfunc.C (dispatch): a few comments from Martin
12593 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12597 * BufferView_pimpl.h:
12598 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12601 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12603 * vspace.C (inPixels): fix compiler warning
12605 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12607 * lyxfunc.C (getStatus): fix status message for disabled commands.
12609 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12611 * BufferView_pimpl.C: fix crash on close buffer
12612 during selection (#227)
12614 2002-01-27 Herbert Voss <voss@lyx.org>
12616 * buffer.C: link old Figure to new graphic inset
12618 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12620 * FontLoader.C (getFontinfo): Change the latex font names in order
12621 to match the names of type1inst.
12623 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12625 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12627 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12628 (extchanged): ditto
12630 (remove_files_with_extension): ditto
12631 (remove_file): ditto
12634 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12635 document is smaller than the work area height. Do not initialize
12636 static variables to 0.
12638 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12640 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12642 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12643 LFUN_LAYOUT_PARAGRAPHS.
12645 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12646 tabular. It is possible to provide a possible cell, which will
12647 typically be the actcell from the corresponding insettabular
12649 * lyxfunc.C (getStatus): small cleanup; disable
12650 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12653 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12655 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12657 * paragraph.C (startTeXParParams):
12658 (endTeXParParams): new methods. The LaTeX code to
12659 start/end paragraph formatting
12660 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12661 empty (fixes bug #200)
12663 * vspace.C (inPixels): adapt to the change below
12664 (inPixels): [later] more cleanups (remove unused variables)
12666 * lyxlength.C (inPixels): change to use a width and a height as
12669 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12671 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12672 Replaced with \paperwidth
12674 * DepTable.C (insert): add std:: qualifier
12676 2002-01-18 Allan Rae <rae@lyx.org>
12678 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12681 * text.C (drawInset): Turned out I didn't know enough about how
12682 rebreaking worked. This fixes most of the redraw problems. I see
12683 an occasional cursor trail when a line is broken now and the cursor
12684 placement can seem out by a few pixels also after a rebreak.
12686 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12688 * buffer.C (parseSingleLyXformat2Token): update because minipage
12689 width is now a LyXLength
12691 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12693 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12696 2002-01-17 Juergen Vigna <jug@sad.it>
12698 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12700 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12701 is set correctly and the inset is updated correctly.
12703 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12705 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12706 the beginning of the loop.
12708 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12710 * lyxrc.C: improve help for use_scalable_fonts
12712 2002-01-17 Allan Rae <rae@lyx.org>
12714 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12716 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12718 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12719 make sure to set their inset_owner to the right value (bug #171)
12721 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12724 * DepTable.C: Implement mtime checking to reduce time spent doing
12727 2002-01-16 Juergen Vigna <jug@sad.it>
12729 * tabular.C (GetAdditionalHeight): one of error fixed.
12731 * lyxrc.C (output): small fix in writing use_pspell.
12733 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12735 * sp_base.h: #include LString.h
12737 2002-01-16 Allan Rae <rae@lyx.org>
12739 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12740 Can someone check this please?
12742 * text.C (drawInset): It was possible that p.row would be removed by
12743 breakAgainOneRow upsetting a few other settings. There may be another
12744 small tweak possible by setting need_break_row = 0 when p.row has been
12745 removed but I don't know enough about the logic here.
12747 2002-01-15 Allan Rae <rae@lyx.org>
12749 * text.C (insertChar): removed conditional truism.
12751 * BufferView2.C (removeAutoInsets): More tweaks.
12752 cur_par_prev could be a stray pointer. Check for trailing empty line
12753 in case last line was cur_par and only had an error inset on it.
12755 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12757 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12760 * vc-backend.C (most methods):
12761 * exporter.C (Export):
12762 * converter.C (convert):
12764 * LyXSendto.C (SendtoApplyCB):
12765 * lyxfunc.C (dispatch):
12769 * lyx_cb.C (AutoSave):
12771 * BufferView_pimpl.C (MenuInsertLyXFile):
12772 * buffer.C (runChktex): use Buffer::filePath().
12774 * buffer.h: rename filename to filename_; rename filepath to
12775 filepath_ and make it private
12776 (filePath): new method
12778 * buffer.C (writeFile): use fileName()
12781 * lyx_main.C (init): fix starting of LyX when the binary is a
12782 link from so,ewhere else.
12784 * minibuffer.C: include <cctype> for isprint
12786 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12788 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12789 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12790 name clash with InsetCollapsable's width function.
12792 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12794 * lastfiles.C: include <iterator>
12796 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12798 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12801 * buffer.C (makeLaTeXFile): ditto.
12802 Also make loop operation more transparent.
12804 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12806 * ToolbarDefaults.C: remove trailing comma closing namespace.
12808 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12810 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12813 * trans.C (Load): comment out unused variable, allowed.
12815 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12817 * minibuffer.[Ch] (append_char): new method to recieve input from the
12818 drop-down completion browser. If a key was pressed, then recieve this
12819 char and append it to the existing string.
12820 (peek_event): modify the positioning data passed to the completion
12821 browser so that it can be placed above the minibuffer rather than below.
12822 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12824 * LyXAction.C (init): alloe error-next for readonly documents.
12826 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12829 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12831 * bufferlist.C (readFile): create the buffer _after_ checking that
12834 * lyxfunc.C (verboseDispatch): fix handling of arguments
12836 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12838 * lyxrc.C: use string::erase() instead of initializing to "".
12841 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12843 * BufferView_pimpl.h:
12844 * BufferView_pimpl.C:
12847 * text2.C: tell X when we have made a selection for copying
12849 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12851 * BufferView_pimpl.C (MenuInsertLyXFile):
12852 * lyxfunc.C (menuNew):
12854 (doImport): add shortcuts to directory buttons
12856 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12859 * lyxfunc.C (setStatusMessage):
12860 (getStatusMessage): new methods
12861 (getStatus):use setStatusMessage instead of setErrorMessage
12862 (dispatch): when function is disabled, set error message here
12863 [instead of in getStatus previously]
12865 * BufferView_pimpl.C (workAreaButtonRelease): update
12866 toolbar/menubar here too.
12868 2002-01-13 Allan Rae <rae@lyx.org>
12870 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12871 Now seems indestructible. Remaining task is to audit all other
12872 code affected by deleteEmptyParagraphMechanism. One small quirk
12873 left is that an empty document with an error in the preamble can
12874 be made to report an error but no error box appears. I don't know
12876 (removeAutoInsets): Improved comments.
12878 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12881 * Thesaurus.C: update for Aiksaurus 0.14
12883 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12885 * text2.C (firstParagraph): removed member function, all uses
12886 replaces with ownerParagraph
12887 (redoParagraphs): here
12888 (updateInset): here
12889 (toggleAppendix): here
12890 * BufferView2.C (insertErrors): here
12891 (setCursorFromRow): here
12893 2002-01-13 Allan Rae <rae@lyx.org>
12895 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12896 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12897 There is still a way to segfault this although you may have to do this
12898 multiple times: Have an InsetERT with an unknown command in it.
12899 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12900 <down-arrow>, <Enter> again, View->DVI, BANG!
12902 * text2.C (setCursor):
12903 (deleteEmptyParagraphMechanism):
12904 * lyxtext.h (setCursor):
12905 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12906 Making use of the return value may help fix other bugs.
12908 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12910 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12912 * LyXView.C (updateMenubar): call MenuBar::update here
12913 (updateToolbar): but not here
12914 (showState): do not update toolbar/menubar
12916 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12917 should need to care about that.
12919 * lyxfunc.C (verboseDispatch): simplify a bit
12920 (getStatus): have a version which takes a pseudoaction, and
12921 another which requires a (kb_action,string).
12923 * LyXAction.C (retrieveActionArg): make it work also when action
12924 is not a pseudo-action.
12925 (getActionName): simplify a bit
12928 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12930 * lyxfunc.C (verboseDispatch): new families of methods with
12931 several ways to specify a command and a bool to indicate whether
12932 the command name and shortcut should be displayed in minibuffer
12933 (eventually, we could extend that to a finer bitmask like
12934 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12935 (dispatch): the pristine dispatch command which just, well,
12936 dispatchs! Note it still sets its result to minibuffer; I'm not
12939 * lyxfunc.h: remove setHintMessage
12941 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12943 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12945 * BufferView_pimpl.C (specialChar): delete new inset if we have
12946 not been able to insert it.
12948 * kbmap.C: revert to using int instead of kb_action, since all we
12949 are dealing with is pseudo-actions.
12951 * LyXAction.C (searchActionArg): change to return int instead of
12952 kb_action, since the result is a pseudoaction.
12954 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12956 * buffer.C (insertErtContents): Fix (partially) the font bug.
12958 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12960 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12961 as the other one is broken on my machine!
12963 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12966 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12968 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12970 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12971 reflect their actual use. Provide compatibility code for older lyxrc
12974 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12976 change names of popup font variables in line with the changes to lyxrc.C
12978 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12980 * buffer.C (asciiParagraph): avoid outputing a word twice after
12983 * lyxrc.C (getDescription): document that document_path and
12984 template_path can be empty.
12986 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12988 * LaTeXFeatures.C (getMacros):
12989 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12991 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12993 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12995 (getPackages): rename feature "floats" to "float". Use an array to
12996 iterate over 'simple' features (i.e. just a \usepackage). Add
12997 handling of "amsmath" (renamed from "amsstyle").
12999 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13001 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13004 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13006 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13007 FuncStaus::FuncStatus & FuncStaus::some_method().
13009 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13011 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13012 of the func_satus stuff. Edited and massaged in various ways by
13015 * lyxfunc.C (getStatus): use FuncStatus
13017 2002-01-08 Juergen Vigna <jug@sad.it>
13019 * text.C (nextBreakPoint): use function Inset::isChar().
13021 * paragraph.C (TeXOnePar): use function
13022 Inset::forceDefaultParagraphs.
13024 * buffer.C (latexParagraphs): use function
13025 Inset::forceDefaultParagraphs.
13027 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13029 * lyx_gui.C (init): set the style of the menu popups to
13030 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13032 2002-01-07 Juergen Vigna <jug@sad.it>
13034 * text.C (setHeightOfRow): small fix
13035 (prepareToPrint): don't look at alignment if we don't have the place
13038 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13040 * box.C: New file. Move the Box methods and functions out of box.h,
13041 following Lars' suggestion.
13043 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13045 * box.h: #include "support/LOstream.h", needed for inlined function.
13048 * lyxtextclasslist.C: added some using std declarations.
13050 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13052 * box.h: make signed dimensions to allow insets wider than
13053 the screen (bug #162)
13055 * BufferView_pimpl.C: add some insetHit debug
13057 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13059 * vc-backend.C: add FIXME
13061 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13063 * lyxfunc.C (getStatus): enable code for showing math font status
13066 2002-01-07 Juergen Vigna <jug@sad.it>
13068 * text.C (nextBreakPoint): removed debug output not needed anymore.
13070 2002-01-06 Juergen Vigna <jug@sad.it>
13072 * text.C (nextBreakPoint): fixed up this function we had this bug
13073 since ever but now hopefully we break row better.
13074 (insertChar): we have to check if an inset is the next char as it
13075 could now happen that a large inset is causing a break.
13077 2002-01-05 Juergen Vigna <jug@sad.it>
13079 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13080 if it doesn't like to be drawed.
13082 2002-01-04 Juergen Vigna <jug@sad.it>
13084 * BufferView2.C (lockInset): forgot to set a cursor.
13086 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13088 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13090 * FormMathsPanel.C:
13093 * form_maths_panel.C:
13094 * form_maths_panel.h:
13095 * form_maths_panel.fd: implemented sub- and super- buttons in math
13098 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13099 (or ^ space) to be used as in TeX (req'd by André).
13101 * lyxfunc.C: Allow ^ and _ again to be used both as
13102 super/subscript (mathed) and as themselves (in text).
13104 2002-01-03 Allan Rae <rae@lyx.org>
13106 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13107 "LyX" or the filename of the current buffer if it has one. This is a
13108 modified form of John Levon's patch.
13110 * XFormsView.C (setWindowTitle): also set icon title.
13112 * LyXView.h (setWindowTitle): signature changed.
13113 * XFormsView.h (setWindowTitle): ditto.
13115 2002-01-02 Juergen Vigna <jug@sad.it>
13117 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13119 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13121 * screen.C (topCursorVisible): introduce a temp var for
13122 text->cursor.row(), handle the case where this row is null. (kindo
13125 * text2.C (setCursor): add a couple of asserts.
13127 * paragraph.h (inset_iterator): add -> operator
13129 * paragraph.[Ch] (autoDeleteInsets): remove member function
13131 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13132 cursor pos correctly and handle inset deletion by itself.
13133 (insertErrors): move iterator declaration out of for expression
13135 * lyxtextclass.C: add <algorithm>
13137 * Makefile.am: added the new files to sources, removed layout.C
13139 * layout.C: removed file
13141 * layout.h: remove LYX_DUMMY_LAYOUT
13143 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13147 * lyxtextclass.[Ch]:
13148 * lyxtextclasslist.[Ch]: new files
13150 * include order changes to a lot of files, also changes because of
13153 2001-12-27 Juergen Vigna <jug@sad.it>
13155 * buffer.C (asciiParagraph): more fixes.
13157 * tabular.C (ascii): make ascii export support export of only the
13158 data separated by a column-delimiter.
13159 (ascii): better support for ascii export.
13161 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13163 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13165 * tabular_funcs.C: use a "using std::getline" instead of the
13166 previous fix from Angus (necessary for cxx + lyxstring)
13168 2001-12-24 Juergen Vigna <jug@sad.it>
13170 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13172 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13173 problems. First check a minipage also if we have some ert-contents
13174 (not only on par->size(), second set the right depth of the paragraph
13175 on the relink to the root-paragraph-list!
13177 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13178 which then did not anymore update the main paragraphs on undo/redo!
13180 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13182 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13183 code. Support all font-changing funcs (even those which are not in
13184 menu currently). Support for reporting font settings in
13185 mathed (disabled until Andre provides a function on mathed's side).
13187 * func_status.h (toggle): small helper function to set toggle
13190 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13192 * tabular_funcs.C: getline -> std::getline
13194 2001-12-21 Juergen Vigna <jug@sad.it>
13196 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13197 accessed and could be 0 (I couldn't generate this but it seems
13200 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13203 * tabular_funcs.h: here and include iosfwd
13205 2001-12-20 Juergen Vigna <jug@sad.it>
13207 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13208 inside inset but undo_par was.
13210 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13212 * Thesaurus.C: always include <config.h> in sources.
13216 * box.h: do not include <config.h> in header files
13218 * text.C (paintLastRow): remove unused variable
13220 * text.C (transformChar):
13222 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13224 * Painter.C (text):
13225 * font.C (width): rewrite to use uppercase() instead of
13228 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13230 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13232 * lyxfind.C: clean up of find failure position change
13234 2001-12-20 Juergen Vigna <jug@sad.it>
13236 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13238 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13239 (TeXRow): added to LaTeX a single tabular row.
13240 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13241 (Latex): simplified and finally good LT-h/f support.
13242 (various_functions): just small adaptions for LT-h/f support.
13244 * tabular_funcs.[hC]: added and moved here all not classfunctions
13247 2001-12-19 Juergen Vigna <jug@sad.it>
13249 * tabular.[Ch]: better support for longtabular options (not finished
13252 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13254 * text.C (paintLastRow): use the label font instead of the font of
13255 the last character to compute the size of *_BOX. This makes more
13256 sense and avoids a crash with empty paragraphs.
13257 Use Painter::rectangle to draw EMPTY_BOX.
13259 2001-12-19 Juergen Vigna <jug@sad.it>
13261 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13262 the paragraphs if the replaced paragraph is not the first one!
13263 Tried to delete not used paragraphs but does not work yet so for
13264 now it's inside #ifdef's and by default off!
13266 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13268 * MenuBackend.C: include "lyx_main.h" instead of declaring
13269 lastfiles (actually was declared as LastFiles* instead of a
13272 2001-12-17 Juergen Vigna <jug@sad.it>
13274 * tabular.C (AppendColumn): applied John's fix
13276 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13280 * BufferView_pimpl.h:
13281 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13284 * box.h: new start of class for above
13286 * lyxfunc.C: ignore space-only minibuffer dispatches.
13287 Show the command name when it doesn't exist
13289 * minibuffer.C: don't add empty lines to the history
13291 * minibuffer.C: add a space on dropdown completion
13293 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13295 * text.C: fix line above/below drawing in insets
13297 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * lyxlength.C (LyXLength): Initialize private variables.
13301 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13303 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13304 when inserting error insets.
13306 2001-12-13 Juergen Vigna <jug@sad.it>
13308 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13309 actually sometimes the before-paragraph.
13310 (setUndo): don't clear the redostack if we're not actually undoing!
13312 2001-12-06 Juergen Vigna <jug@sad.it>
13314 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13315 and fixed redoing of main paragraph, so we can use it now ;)
13317 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13319 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13321 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13324 2001-12-13 André Pönitz <poenitz@gmx.net>
13327 * undo_func.C: minor cleanup
13329 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13331 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13332 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13333 font in urw-fonts package which is marked as -urw-fontspecific and
13334 does not work (incidentally, changing the encoding in the
13335 fonts.dir of this package to -adobe-fontspecific fixes the
13338 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13339 is a crash when undoing first paragraph (Juergen, please take a
13340 look). THis does not mean the undo fix is wrong, just that it
13343 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13344 the (Paragraph*) version when needed instead of duplicating the
13347 * text.C (workWidth): use Inset::parOwner to find out where the
13348 inset has been inserted. This is a huge performance gain for large
13349 documents with lots of insets. If Inset::parOwner is not set, fall
13350 back on the brute force method
13352 * paragraph_pimpl.C (insertInset):
13353 * paragraph.C (Paragraph):
13354 (cutIntoMinibuffer): set parOwner of insets when
13355 inserting/removing them
13357 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13359 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13365 * mathed/formulabase.C:
13366 * mathed/math_cursor.[Ch]:
13367 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13370 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13372 * lyxlength.[Ch] (operator!=): new function
13374 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13376 * text.C (workWidth): use Inset::parOwner to find out where the
13377 inset has been inserted. This is a huge performance gain for large
13378 documents with lots of insets. If Inset::parOwner is not set, fall
13379 back on the brute force method
13381 * paragraph_pimpl.C (insertInset):
13382 * paragraph.C (Paragraph):
13383 (cutIntoMinibuffer): set parOwner of insets when
13384 inserting/removing them
13386 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13388 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13390 * tabular-old.C (getTokenValue):
13391 * tabular.C (getTokenValue):
13392 (write_attribute): new versions for LyXLength
13393 (everywhere): adjust the use of widths
13395 * tabular.h: change the type of widths from string to LyXLength
13397 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13399 * paragraph.C: fixed missing line number count when exporting
13400 Environments to LaTeX file
13402 * buffer.C: added informational message for checking line numbers.
13404 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13406 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13407 paragraph, do the 'double space' part, but not the 'empty
13410 * text.C (workWidth): small optimization
13411 (getLengthMarkerHeight): use minimal size for negative lengths.
13413 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13415 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13417 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13419 2001-12-11 André Pönitz <poenitz@gmx.net>
13422 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13424 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13426 * text2.C: keep selection on a setFont()
13428 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13430 * lyx_cb.C: another bv->text misuse, from insert label
13432 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13435 * kbsequence.C: re-instate nmodifier mask
13437 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13439 * lyx_main.h: make lyxGUI private.
13441 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13443 * lyxfind.C: place the cursor correctly on failed search
13445 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13447 * text.C (getLengthMarkerHeight): for small heights, the arrows
13448 are not always on top/bottom of the text
13449 (drawLengthMarker): smaller arrows; take the left margin in
13450 account; draw also vfills.
13452 (paintLastRow): remove special code for vfill and standard spaces,
13453 since everything is handled in drawLengthMarker now.
13455 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13457 * buffer.C (insertErtContents): try to handle font and language
13458 interaction a bit better.g
13460 * ColorHandler.C (updateColor): change the hash to cover the whole
13461 LColor enum, ws cleanup
13462 (getGCLinepars): ditto
13463 (getGCLinepars): only lookup in the linecache once.
13465 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13467 * iterators.C (operator++): Make the iterator more robust
13469 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13471 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13473 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13476 * text.C: better added space drawing
13478 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13481 * BufferView2.C: fix layout combo update on inset unlock
13483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13485 * Makefile.am: don't compile unused files
13487 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13491 * LyXAction.C: remove old LFUN_LAYOUTNO
13493 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13495 * paragraph_pimpl.h:
13496 * paragraph_pimpl.C: isTextAt() doesn't need font param
13498 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13501 * lyxlex.C: little cleanup
13503 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13505 * BufferView_pimpl.C: fix insertAscii for insets
13507 2001-12-05 Juergen Vigna <jug@sad.it>
13509 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13510 set the right font on the "multi" paragraph paste!
13512 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * lyxlength.C: remove out-commented code.
13520 * BufferView_pimpl:
13534 * vc-backend.C: change "while(" to "while ("
13536 * lyxlength.[Ch]: add zero function to check if length is zero or
13538 * lyxgluelength.C: use it
13540 2001-12-05 Allan Rae <rae@lyx.org>
13542 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13543 Works for 2.95.3, from what I understand of Garst's reports this should
13544 work for other g++ versions. We're screwed if the abs(int) definition
13545 changed between bugfix releases of gcc.
13547 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13549 * text.C: fix chapter label offset !
13551 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13554 * text.C: fix hfill at end of line, clean up
13556 2001-12-04 Juergen Vigna <jug@sad.it>
13558 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13559 that we force an update of the inset and it's owners if neccessary.
13561 2001-12-03 Juergen Vigna <jug@sad.it>
13563 * text.C (rowLast): simplified code
13565 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13567 * lyxfunc.C: fix show options on timeout
13569 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13571 * screen.C (topCursorVisible): scroll half a page when the cursor
13572 reached top of bottom of screen
13574 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13576 * minibuffer.C: deactivate on loss of focus
13578 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * vspace.[Ch] (operator!=): add operator.
13582 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13584 * BufferView_pimpl.C: refuse to open an inset when
13585 there's a selection.
13587 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13589 * BufferView_pimpl.C: allow to click on RHS of full row insets
13591 2001-11-30 Juergen Vigna <jug@sad.it>
13593 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13594 insets for undo reasons.
13596 2001-11-28 André Pönitz <poenitz@gmx.net>
13598 * vspace.[Ch]: cosmetical changes
13600 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13610 * kbsequence.C: part re-write of old kb code
13613 * WorkArea.C: remove Lgb_bug_find_hack
13615 2001-11-30 José Matos <jamatos@fep.up.pt>
13617 * buffer.C (makeDocBookFile): add a comment to point a hack.
13618 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13619 Fixed a double write of labels.
13621 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13624 * LaTeX.h Fixed bug in LaTeX class where it would not
13625 re-run latex if no depfiles were changed, but the .dvi was removed.
13627 2001-11-28 André Pönitz <poenitz@gmx.net>
13629 * all the files from the change on 2001/11/26:
13630 use lyx::layout_type instead of LyXTextClass::size_type
13631 use lyx::textclass_type instead of LyXTextClassList::size_type
13633 2001-11-29 Juergen Vigna <jug@sad.it>
13635 * text.C: added support for paragraph::isFreeSpacing()
13637 * buffer.C: same as above
13639 * paragraph.h: inserted isFreeSpacing() function to enable
13640 FreeSpacing inside InsetERT.
13642 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13643 of the paragraph's in the cut/copy buffer to 0!
13645 * text2.C (removeRow): remove the assert as it can!
13647 * lyxtext.h: added helper function firstRow returning firstrow and
13648 made firstrow private again.
13650 * BufferView2.C (lockInset): don't relock if we're already locked!
13652 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13653 the only paragraph.
13654 (removeRow): added Assert::(firstrow)
13656 * debug.C: forgot to add INSETTEXT here.
13658 2001-11-28 Juergen Vigna <jug@sad.it>
13660 * sp_spell.C (initialize): changed error text to more general
13661 spellchecker command use (not only ispell!)
13663 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13665 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13667 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13669 * vspace.C: initialise lyxgluelength on failure
13671 2001-11-28 Allan Rae <rae@lyx.org>
13673 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13674 declaration & definition that looks like a function declaration.
13676 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13678 * BufferView2.C (copy):
13679 (copyEnvironment): do not clear the selection when doing a copy.
13681 * text.C (paintFirstRow): compilation fix
13683 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13685 * tabular.C (Latex): correct line count when writing latex.
13687 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13689 * paragraph_pimpl.h:
13690 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13693 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13697 * LColor.C: change vfillline->added_space
13699 * text.C: add markers and text for added space
13701 * vspace.C: fix comment
13703 2001-11-28 André Pönitz <poenitz@gmx.net>
13705 * paragraph.C: whitespace changes
13706 * all the other files from the change on 2001/11/26:
13707 change *::pos_type into lyx::pos_type
13709 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13711 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13712 language of the document when inserting error insets.
13714 2001-11-26 André Pönitz <poenitz@gmx.net>
13716 * BufferView_pimpl.[Ch]:
13724 * paragraph_pimpl.[Ch]:
13727 * text2.C: reduce header dependencies, introduce type for positions
13729 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13731 * <various>: change to use Alert.h
13733 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13735 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13736 when encountering an unknown token.
13737 (readLyXformat2): Show an error message if there were unknown tokens.
13739 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13742 * BufferView_pimpl.C:
13746 * text2.C: use par->isInset()
13748 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13750 * paragraph_pimpl.h:
13751 * paragraph_pimpl.C: cleanup
13753 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13755 * text2.C (removeRow):
13756 * text.C (setHeightOfRow): remove useless (and costly) call to
13759 2001-11-20 Allan Rae <rae@lyx.org>
13761 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13762 Now need Inset*::checkInsertChar() to return true for appropriate
13763 cases so that the characters in the minibuffer will actually be
13766 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13768 * text.C: change the order of the includes.
13769 (workWidth): initialize it at once.
13770 (workWidth): make maxw unsigned
13771 (setHeightOfRow): remove unused variable (inset)
13772 (selectSelectedWord): remove unused variable (inset)
13773 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13775 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13777 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13778 server is not running.
13780 (closeConnection): add debug info when server is disabled.
13782 * ColorHandler.C (getGCForeground): send debug message to GUI
13785 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13787 * kbmap.C (bind): modify because return conventions of
13788 kb_sequence::parse have changed.
13790 * kbsequence.C (parse): only ignore spaces and not any stupid
13791 control character. This avoids tests like s[i] <= ' ', which are
13792 guaranteed to fail with 8bit characters and signed chars.
13793 Change return code to string::npos when there have been no error
13794 (0 was a bad idea when error is at first character)
13796 2001-11-14 José Matos <jamatos@fep.up.pt>
13799 * buffer.C (simpleDocBookOnePar): removed unused argument.
13801 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13803 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13804 insets which are part of a word. Paragraph::isLetter takes care of
13805 that now. Use Paragraph::isInset to identify insets.
13806 (selectSelectedWord): do not test for hyphenation break.
13808 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13809 that protected spaces are considered as spaces.
13811 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13814 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13817 * lyxserver.C: fix it. and small cleanup.
13819 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13821 * BufferView_pimpl.C: use inline helpers
13824 * LaTeXFeatures.C: fix typos
13827 * Spacing.C: move spacing_string into class
13829 * ToolbarDefaults.C: move stuff into namespace anon
13831 * layout.h: update enum
13833 * lyxfunc.C: use better debug
13835 * minibuffer.h: fix typo
13839 * WorkArea.C: add and use Debug::WORKAREA
13843 * text2.C: code re-organisation, inline helpers
13845 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13847 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13848 std::vector.empty().
13850 2001-11-09 Allan Rae <rae@lyx.org>
13852 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13853 '\n's after tables. Tabular and ERT inset work now makes this no
13856 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13859 * minibuffer.C: fix crash, improve drop-down completion
13861 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13864 * lyxserver.C: invalidate fd's when doing endPipe()
13866 2001-11-08 José Matos <jamatos@fep.up.pt>
13868 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13869 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13872 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13874 2001-11-07 José Matos <jamatos@fep.up.pt>
13877 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13880 * buffer.C (sgmlOpenTag):
13881 * buffer.C (sgmlCloseTag): removed debug info.
13883 * buffer.h (sgmlOpenTag):
13884 * buffer.h (sgmlCloseTag): made public.
13886 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13888 * buffer.C (saveParamsAsDefaults):
13889 * lyx_cb.C (MenuLayoutSave): remove
13891 * LyXAction.C (init):
13893 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13895 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13897 * buffer.C (setPaperStuff): removed from here...
13899 * bufferparams.C (setPaperStuff): ... and moved there.
13901 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13905 * XFormsView.C: add support for drop-down completion
13907 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13909 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13912 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13914 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13917 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13919 * lyx_main.C: change ref to known bugs
13921 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13923 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13924 to work around older babel problems.
13926 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13928 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13930 2001-10-24 Juergen Vigna <jug@sad.it>
13932 * tabular-old.C (ReadOld): below variable changes reflected.
13934 * tabular.[Ch]: added ltType struct for longtable header/footer
13935 defines and changed all instances where they are used. Added
13936 future support for double top/bottom rows.
13938 2001-10-24 José Matos <jamatos@fep.up.pt>
13940 * buffer.h (docbookHandleCaption):
13941 * buffer.C (docbookHandleCaption): removed unused function.
13942 (makeDocBookFile): moved docbook supported version to v4.1.
13944 2001-10-24 José Matos <jamatos@fep.up.pt>
13947 * tabular.C (docbookRow): new function to export docbook code of a row.
13948 (DocBook): now honors the longtable flags.
13950 2001-10-23 José Matos <jamatos@fep.up.pt>
13953 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13954 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13956 * buffer.C (makeLinuxDocFile):
13957 (makeDocBookFile): reworked the preamble, more clean, and with
13958 support for lyx defined entities. Changed the document declaration
13959 to be more XML friendly.
13961 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13962 if we need to output XML that should be done with a filter.
13964 2001-10-22 Juergen Vigna <jug@sad.it>
13966 * sp_pspell.h (class PSpell): add alive function needed in the
13967 controller to see if the spellchecker could be started.
13969 2001-10-22 Juergen Vigna <jug@sad.it>
13971 * buffer.C (insertStringAsLines): modify the font for inserting
13972 chars in certain conditions by calling checkInsertChar(font).
13974 2001-10-19 Juergen Vigna <jug@sad.it>
13976 * text.C (workWidth): use getRow instead of wrong algorithm.
13977 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13979 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13984 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13986 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13988 * text.C (workWidth): do not search for the exact row when
13989 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13990 optimization for big documents.
13992 2001-10-18 Juergen Vigna <jug@sad.it>
13994 * text.C (workWidth): new function with added Inset * parameter.
13996 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13998 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14000 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14001 change return type of getColumnNearX.
14004 * text.C (changeRegionCase): use uppercase/lowercase instead of
14007 (rightMargin): simplify code by factoring out the uses of
14012 (appendParagraph): use Paragraph::size_type
14014 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14016 * vspace.C (asLatexString): add a missing break
14018 2001-10-15 Herbert Voss <voss@perce.de>
14020 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14022 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14024 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14027 2001-10-10 André Pönitz <poenitz@gmx.net>
14029 * lyxfunc.C: removed greek_kb_flag.
14031 2001-10-10 Herbert Voss <voss@perce.de>
14033 * lyx_main.C: delete global string help_lyxdir.
14035 2001-10-09 Herbert Voss <voss@perce.de>
14037 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14039 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14041 * lyx_main.C: added global string help_lyxdir.
14043 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14045 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14047 * lyxrc.C (set_font_norm_type): support iso8859-4
14049 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14051 * LaTeX.C (deplog): add another regex for MikTeX
14053 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14055 * lyxrc.C (set_font_norm_type): support iso8859-3
14057 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14059 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14061 * LaTeXFeatures.C: remove special case of french and index
14063 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14064 before \begin{document}). This solves several incompatibilities.
14066 2001-10-03 Garst Reese <reese@isn.net>
14068 * lyx_cb.C: change CheckTex error msg.
14070 2001-10-03 José Matos <jamatos@fep.up.pt>
14072 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14074 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14076 * .cvsignore: update
14078 * lyx_main.C (commandLineVersionInfo): use new style version info.
14080 * buffer.C (writeFile):
14082 (makeLinuxDocFile):
14083 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14085 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14087 * version.h: update to use stuff in version.C
14089 * version.C.in: new file. Contains version information determined
14090 at compile time. This is a merging of version.h and
14093 2001-10-03 Juergen Vigna <jug@sad.it>
14095 * BufferView_pimpl.C (update): don't change "dirty" status in
14098 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14100 * WorkArea.C (c-tor): re-position version string slightly.
14102 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14104 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14105 revert to previous code.
14107 WorkArea.[Ch]: (show, destroySplash): methods removed.
14109 WorkArea.C: rework code so that it's an amalgam of the codes before and
14110 after the splash screen was moved to WorkArea.
14112 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14115 * vspace.C (inPixels):
14118 * buffer.C (insertStringAsLines):
14119 (asciiParagraph): fix types to be large enough
14121 * lyxlex_pimpl.h: change member status from short to int
14123 * layout.h: fix type of endlabeltype
14126 * kbsequence.C (parse): change return type to string::size_type
14128 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14131 * Bullet.C (bulletSize):
14132 (bulletEntry): do not use short ints as parameters
14134 * BufferView2.C (insertLyXFile): change a char to an int.
14136 * WorkArea.C (WorkArea): remove unneeded floats in computation
14138 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14140 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14142 * paragraph.C (asString): Do not ignore newline/hfill chars when
14143 copying to the clipboard.
14145 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14147 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14148 after a multi-line inset.
14150 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14152 * paragraph.C (validate): Set NeedLyXFootnoteCode
14154 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14156 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14157 and decrease-error to decrease.
14159 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14162 it more readable (should be equivalent)
14164 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14166 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14168 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14171 of a cursor (row, etc.) after a character has been deleted
14172 (deleteEmptyParagraphMechanism): call the method above on _all_
14173 cursors held by the LyXText when a double space has been
14176 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14178 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14180 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14182 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14183 background. Use greyOut() and the new show() methods to toggle between
14184 the foreground and background. Add code to remove the splash after
14185 its initial showing.
14187 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14188 (create_forms): no longer call Dialogs::showSplash.
14190 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14192 * .cvsignore: add version_info.h
14194 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14196 * version_info.h.in: new file
14198 * Makefile.am: add version_info.h.in
14200 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14201 version_info.h instead of VERSION_INFO
14203 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14205 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14206 The ERT inset now returns string().
14208 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14210 * lyxtext.h, text.C (selectNextWord): renamed as
14211 selectNextWordToSpellcheck.
14213 * text.C (selectNextWordToSpellcheck): Modified to not select
14214 words inside an ERT inset.
14216 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14218 * lyx_cb.C (MenuLayoutSave): change a bit the question
14220 * sp_base.h: include <sys/types.h>
14222 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14224 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14226 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14228 * several files: fix typos in user-visible strings
14230 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * text2.C (pasteSelection): do not set the selection, since it
14233 will be cleared later. Actually, the intent was to fix the way the
14234 selection was set, but I figured rmoving the code was just as good.
14236 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14238 * FontLoader.C (available): Check if font is available without
14241 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14243 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14245 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14247 * lyxrc.[Ch]: added display_graphics variable and associated code.
14249 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14251 * bufferparams.C (hasClassDefaults): new method. Returns true if
14252 the buffer parameters correspond to known class defaults
14254 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14256 * XFormsView.C (show): set minimum size to the main window.
14258 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14260 * text2.C (copySelection):
14262 * lyxfind.C (LyXReplace):
14263 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14264 LyXText::selectionAsString.
14266 * paragraph.C (asString): add "label" argument to the second form
14268 * text2.C (selectionAsString): add "label" argument and pass it to
14269 Paragraph::asString.
14271 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14273 * lyx_main.C (commandLineHelp): remove version information
14275 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14277 * lyx_main.C: add -version commandline option
14279 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * paragraph.h: make the optional constructor arg required instead.
14282 some modifications to other files because of this.
14284 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14286 * lyxserver.C (C_LyXComm_callback): make it static
14288 * lyx_main.C (error_handler): make it static
14290 * lyx_gui.C (LyX_XErrHandler): make it static
14292 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14294 * WorkArea.C: make the extern "C" methods static.
14296 * Makefile.am (lyx_LDADD): simplify
14298 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14300 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14301 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14303 * LyXAction.C (init):
14304 * lyxfunc.C (dispatch): associated code removal.
14306 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * lyxfont.h (isSymbolFont): shut off warning
14310 * text.C (setHeightOfRow):
14311 (getVisibleRow): fix crash with empty paragraphs which have a
14314 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14316 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14319 2001-09-04 José Matos <jamatos@fep.up.pt>
14322 * tabular.C (docbook): rename docBook method to docbook.
14324 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14326 * Makefile.am: add dependencies to main.o.
14328 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14330 * FontLoader.C (available): Return false if !lyxrc.use_gui
14332 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14334 * FontInfo.C (query):
14335 * converter.C (view):
14336 * importer.C (Import):
14337 * exporter.C (Export): Can not -> cannot.
14339 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14341 * BufferView_pimpl.C: allow to create index inset even if
14344 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14346 * buffer.C (getLists): replace boost::tie code with an explicit pair
14347 as boost::tie can break some compilers.
14349 * iterators.h: Added a std:: declaration to the return type of
14352 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14354 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14357 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14359 * iterators.[Ch]: New files. Provide paragraph iterators.
14361 * buffer.C (changeLanguage): Use paragraph iterators.
14362 (isMultiLingual): ditto
14364 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14366 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14368 * FontLoader.C: Support for cmr font.
14370 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14372 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14373 (available): New method.
14375 * FontInfo.C (getFontname): Use scalable fonts even when
14376 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14379 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14381 * converter.C (Formats::view): reverted! Incorrect fix.
14383 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14385 * converter.C (Formats::view): only output the -paper option
14386 if the dvi viewer is xdvi, thereby fixing bug #233429.
14388 2001-08-23 Herbert Voss <voss@perce>
14390 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14392 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14394 * Spacing.h (Spacing): Set space to Default on in the default
14397 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14399 * vc-backend.h (RCS::versionString): add RCS to version
14400 (CVS::versionString): add CVS to version
14402 * vc-backend.C (scanMaster): do not add CVS to version.
14403 (scanMaster): do not add RCS to version
14405 * lyxvc.C (versionString): new method
14407 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14409 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14411 * Spacing.C (set): initialize fval
14413 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14415 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14418 2001-08-16 Juergen Vigna <jug@sad.it>
14420 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14422 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14424 * BufferView_pimpl.C:
14427 * text2.C: setParagraph takes linespacing now
14429 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14431 * LyxAction.C: add internal LFUN_CITATION_INSERT
14433 * LyXView.C: actually apply fix
14435 * bufferlist.C: fix open non-existent file
14437 * lyxfind.C: fix indentation
14439 * lyxfunc.C: remove unneeded assert, fix typo
14441 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14443 * MenuBackend.C: use "Floatname List"
14445 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14447 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14448 when converting LaTeX layout to insetERT.
14449 Generate a non-collapsed float when reading old float
14451 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14453 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14456 2001-08-13 Juergen Vigna <jug@sad.it>
14458 * text.C (fill): return 0 instead of 20 as this seems to be the more
14461 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14463 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14466 2001-08-13 Juergen Vigna <jug@sad.it>
14468 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14470 (SearchBackward): comment out the unlocking of the inset_owner this
14471 should not be needed!
14473 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14475 * Many files: Remove inherit_language, and add latex_language
14477 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14478 collapsible insets.
14480 2001-08-10 Juergen Vigna <jug@sad.it>
14482 * text.C (prepareToPrint): fixed hfill-width in draw!
14484 * BufferView2.C (selectLastWord): save the selection cursor as this
14485 now is cleared in the function LyXText::clearSelection!
14487 2001-08-08 Juergen Vigna <jug@sad.it>
14489 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14490 BACKSPACE type functions.
14492 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14493 is only cutted from the document but not put in the cut-buffer, where
14494 still the old stuff should be.
14496 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14498 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14500 * tabular.C (SetWidthOfCell): fixed special case where the width
14502 (LeftLine): handle '|' in align_special.
14504 (LeftAlreadyDrawed): ditto
14505 (SetWidthOfCell): ditto
14507 2001-08-07 Juergen Vigna <jug@sad.it>
14509 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14511 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14513 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14514 * lyxlex.[hC]: ditto
14516 2001-08-06 Juergen Vigna <jug@sad.it>
14518 * text.C (getVisibleRow): fix up row clearing a bit.
14520 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14522 * minibuffer.C: make sure the X server sees the changes in the input.
14524 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14526 * paragraph.C (getFont): split into...
14527 (getLabelFont): this
14528 (getLayoutFont): and this
14529 * paragraph_pimpl.C (realizeFont): calling this
14531 * text2.C (getFont): split into...
14532 (getLayoutFont): this
14533 (getLabelFont): and this
14534 (realizeFont): all three calling this
14536 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14539 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14541 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14543 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14545 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14546 layouts from the Quote inset insertion.
14548 2001-08-03 Juergen Vigna <jug@sad.it>
14550 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14552 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14553 only if status not is already CHANGED_IN_DRAW (second level).
14555 * text.C (draw): don't set the need_break_row when inside an
14558 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14560 * buffer.C (parseSingleLyXformat2Token): handle more latex
14563 * bufferview_funcs.[hC]: change function names to
14564 begin with small char, adjust other files.
14566 2001-08-02 André Pönitz <poenitz@gmx.net>
14569 BufferView_pimpl.C: remove broken special code for math-greek
14571 2001-08-02 Juergen Vigna <jug@sad.it>
14573 * BufferView_pimpl.C (update): redone this function so that we
14574 update the text again if there was a CHANGE_IN_DRAW.
14576 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14577 (drawFromTo): added a new internal bool which is used by draw() and
14579 (general): some cursor drawing problems fixed.
14581 2001-08-01 Juergen Vigna <jug@sad.it>
14583 * lyxfind.C (LyXFind): fixed
14584 (SearchForward): ditto
14585 (SearchBackward): ditto
14587 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14588 spurius drawing of the cursor in the main area.
14590 * text2.C (status): small fix which could lead to a segfault!
14591 (clearSelection): remove unneeded BufferView param.
14593 2001-08-01 André Pönitz <poenitz@gmx.net>
14595 * lyxfunc.C: small change due to changed mathed interface
14597 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14599 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14601 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14603 * lyxfunc.c: fail gracefully if file doesn't exist
14608 * BufferView_pimpl.C: IsDirWriteable() proto changed
14610 * LyXView.C: fix updateWindowTitle() to store the last title
14612 2001-07-31 Juergen Vigna <jug@sad.it>
14614 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14615 the font (wrong since using of Paragraph::highestFontInRange).
14617 * paragraph.C (highestFontInRange): added a default_size parameter.
14619 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14620 (setHeightOfRow): reformat
14622 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14624 * converter.[hC] + affected files: move to (inital-char)lowercase
14627 * ParagraphParameters.C (ParagraphParameters): remove commented code
14629 * PainterBase.[Ch]: remove commented code
14631 * LaTeXFeatures.h: add "bool floats" for float.sty
14633 * LaTeXFeatures.C (LaTeXFeatures): init floats
14634 (require): handle float
14635 (getPackages): do it with floats
14637 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14639 * BufferView_pimpl.C (Dispatch): improve handling of
14640 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14642 * commandtags.h: #include lyxfont.h here temporarily to avoid
14645 * bufferlist.h: include LString.h here.
14647 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14649 * text2.C (getStringToIndex): new method.
14651 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14653 * *: Reduced header file dependencies all over.
14655 2001-07-30 Baruch Even <baruch@lyx.org>
14657 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14659 2001-07-29 Baruch Even <baruch@lyx.org>
14661 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14663 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14665 * ParameterStruct.h (endif): add a default constructor to make
14666 sure that all variables is initialized.
14668 * ParagraphParameters.C (ParagraphParameters): adjust
14670 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14672 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14673 index; also, check that there is something to index, and that it
14674 does not span over several paragraphs.
14675 (doubleClick): use WHOLE_WORD_STRICT for double click.
14677 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14679 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14682 2001-07-26 Baruch Even <baruch@lyx.org>
14684 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14685 an InsetFig figure, backwards compatible reading of old figure code.
14687 2001-07-27 Juergen Vigna <jug@sad.it>
14689 * text2.C: font.realize function adaption.
14691 * text.C (draw): add a warnings lyxerr text if needed.
14693 * layout.C: font.realize function adaption.
14695 * language.C: add inherit_language and implement it's handlings
14697 * bufferview_funcs.C (StyleReset): remove language parameter from
14698 font creation (should be language_inherit now).
14700 * bufferparams.C (writeFile): handle ignore_language.
14702 * paragraph.C (getFontSettings): the language has to be resolved
14703 otherwise we have problems in LyXFont!
14705 * lyxfont.C (lyxWriteChanges): added document_language parameter
14706 (update): removed unneeded language parameter
14708 * paragraph.C (validate): fixed wrong output of color-package when
14709 using interface colors for certain fonts in certain environments,
14710 which should not seen as that on the final output.
14712 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14714 * BufferView_pimpl.C:
14719 * LyXAction.C: add thesaurus support
14722 * lyxfind.C: add "once" parameter, for thesaurus, to not
14723 move to the next match
14725 2001-07-26 Juergen Vigna <jug@sad.it>
14727 * lyxfont.C (realize): honor ignore_language too!
14730 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14732 * text.C (draw): one place more for ignore_language to not draw
14735 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14737 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14739 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14741 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14742 the minipage conversion problem.
14744 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14746 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14749 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14751 * BufferView.h: don't forward declare WorkArea
14753 * BufferView.C: don't include WorkArea.h
14755 2001-07-25 André Pönitz <poenitz@gmx.net>
14759 * lyxfunc.C: new LFUN 'math-space'
14761 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14763 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14765 * text2.C (toggleInset): call open/close
14767 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14769 * lyxfunc.C (dispatch): add debug for the disabled case
14771 * font.C (buttonText): make similar to rectText
14773 * buffer.C (readInset): comment out parsing of insetlist and
14776 * PainterBase.C (rectText): small correction
14778 * BufferView_pimpl.C: comment out insettheorem and insetlist
14779 * LyXAction.C: ditto
14780 * commandtags.h: ditto
14782 2001-07-24 Juergen Vigna <jug@sad.it>
14784 * text.C (draw): honor the ignore_language.
14786 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14788 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14793 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14795 * lyxtext.h: remove unused (and unimplemented) methods
14797 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14799 * text.C (getVisibleRow): honor background color
14802 * Painter.h: remove default color argument for fillRectangle
14804 * text.C (backgroundColor): new method
14806 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14808 * text.C (getVisibleRow): adjust
14810 * font.[Ch] (rectText): new method, metrics
14811 (buttonText): new method, metrics
14813 * PainterBase.[hC]: make rectText and buttonText always draw and take
14816 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14818 * ToolbarDefaults.C (read):
14819 * MenuBackend.C (read): allow escaping in all strings
14821 * BufferView_pimpl.C (insertAndEditInset): new method.
14822 (Dispatch): use insertAndEditInset whenever appropriate.
14824 * BufferView_pimpl.C (insertNote): removed
14826 * BufferView_pimpl.C (smartQuote): new method, moved from
14827 BufferView; if an insetquote cannot be inserted, insert a '"'
14830 * BufferView2.C: remove insertCorrectQuote();
14832 * lyxfunc.C (getStatus): Add support for all remaingin
14833 inset-insert lfuns.
14835 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14837 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14838 command (necessary to pass " as parameter of self-insert.
14840 * text.C (selectWordWhenUnderCursor):
14841 (selectWord): add word_location parameter
14842 (selectWordWhenUnderCursor): same + remove special code for word
14844 (selectNextWord): use kind() to guess type of insetspecialchar,
14847 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14848 (insertErtContents): create ert insets as collapsed.
14849 (readInset): better compatibility code for Info inset.
14851 2001-07-20 Juergen Vigna <jug@sad.it>
14853 * lyxfunc.C (dispatch): use always LyXFind now!
14855 * text2.C (init): add a reinit flag so that the LyXText can be
14856 reinited instead of deleted and reallocated (used in InsetText).
14858 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14864 2001-07-18 Juergen Vigna <jug@sad.it>
14866 * text.C (selectNextWord): handle insets inside inset by calling
14867 always the bv->text functions so that we can go up the_locking_inset!
14869 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14870 in strange locations when inside an inset!
14872 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14873 handling to include insets.
14875 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14877 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14879 * LyXAction.C (init):
14881 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14882 LIGATURE_BREAK, since the name is so stupid.
14884 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14886 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14889 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14891 * sp_form.[Ch]: remove.
14893 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14895 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14898 * src/buffer.C (readInset): ditto.
14900 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14902 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14903 menuSeparator(), endOfSentenceDot(), ldots() and
14904 hyphenationPoint(), which are therefore removed.
14905 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14907 * LyXAction.C (init):
14908 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14910 * paragraph.C (getWord): removed.
14912 * BufferView_pimpl.C (Dispatch): use last word or selection for
14913 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14915 * lyx_main.C (queryUserLyXDir): do not ask before creating
14916 user_dir, except if it has been named explicitely.
14918 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14920 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14921 a document of zero size.
14923 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14925 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14926 approriately in the c-tor and in require().
14927 (getPackages): output the appropriate LaTeX for natbib support.
14929 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14930 variables "use_natbib" and "use_numerical_citations" when reading the
14932 (readInset): read the various natbib cite commands.
14933 (validate): white-space change.
14935 * bufferparams.[Ch]: new variables "bool use_natbib" and
14936 "bool use_numerical_citations".
14937 (writeFile): output them in the LyX file.
14939 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14941 * lyxfunc.C (getStatus): add support for all the inset insertion
14944 * text2.C (insertInset):
14945 * paragraph.C (insetAllowed):
14946 * BufferView_pimpl.C (insertInset): update to take in account the
14947 renaming of insertInsetAllowed
14949 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14951 * text2.C (getInset): new method. returns inset at cursor position.
14953 * BufferView_pimpl.C (Dispatch): changes because of this.
14955 * LyXAction.C (init): rename open-stuff to inset-toggle.
14957 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14959 * text2.C (toggleInset): renamed from openStuff; use
14962 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14964 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14966 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14968 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14970 * buffer.C (readLyXformat2): Add filename to the error dialog
14972 2001-07-18 Juergen Vigna <jug@sad.it>
14974 * tabular.C (GetCellNumber): put an assert here instead of the check!
14976 2001-07-17 Juergen Vigna <jug@sad.it>
14978 * BufferView_pimpl.C (toggleSelection): adapted too.
14980 * text.C (selectNextWord): adapted for use with insets.
14981 (selectSelectedWord): ditto
14983 2001-07-17 Juergen Vigna <jug@sad.it>
14985 * sp_spell.C (PSpell): fix initialitation order.
14987 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14989 * paragraph.C: spacing
14991 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14993 * sp_spell.C: repair language selection for pspell
14995 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14997 * lyxfunc.h: change more methods to begin with lower char.
14999 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15001 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15002 for unknown layouts.
15004 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15006 * buffer.C (readLyXformat2): Generate an error dialog if there are
15009 2001-07-16 Juergen Vigna <jug@sad.it>
15011 * sp_spell.C: always compile ISpell part.
15013 * lyxrc.C: added use_pspell entry and it's handling.
15015 2001-07-13 Juergen Vigna <jug@sad.it>
15017 * sp_spell.C: removed double includes.
15019 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15021 Consistent use of Lsstream.h:
15022 * Lsstream.h: added using std::stringstream for consistencies sake.
15024 * buffer.C: removed using std::stringstream
15026 * lyxfont.C (stateText):
15027 * paragraph.C (asString):
15028 * text.C (selectNextWord, selectSelectedWord):
15029 * text2.C (setCounter):
15030 * vspace.C (asString, asLatexString):
15031 std::ostringstream -> ostringstream.
15033 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15035 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15036 * commandtags.h: add LFUN_HELP_ABOUTLYX
15037 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15039 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15041 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15043 * lyx_gui_misc.C: remove spellchecker
15044 * lyxfunc.C: showSpellchecker
15046 * sp_ispell.h: added
15047 * sp_pspell.h: added
15048 * sp_spell.C: added
15049 * sp_form.[Ch]: removed
15050 * spellchecker.[Ch]: removed
15052 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15054 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15056 (simpleTeXSpecialChars): Simply print the input character without
15057 any special translation if pass_thru is set.
15059 * layout.h: Added bool pass_thru to layout class for being able to
15060 implement pass through of a paragraph for Literate Programming.
15062 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15063 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15064 * layout.C (Read): add "passthru" to list of layout tags and add
15065 code to set the pass_thru boolean when it is read.
15067 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15069 * trans_decl.h: remove allowed from KmodInfo
15071 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15072 remove allowed code
15075 * paragraph_pimpl.C (erase): use boost::prior
15077 * Painter.C (text): use data() instead of c_str() when length is
15079 * WorkArea.C (putClipboard): ditto
15080 * font.h (width): ditto
15082 * BufferView2.C: use it-> instead of (*it). for iterators
15084 * paragraph_pimpl.C: ditto
15085 * paragraph.C: ditto
15086 * minibuffer.C: ditto
15087 * language.C: ditto
15089 * encoding.C: ditto
15090 * counters.C: ditto
15091 * converter.C: ditto
15093 * Variables.C: ditto
15094 * TextCache.C: ditto
15095 * MenuBackend.C: ditto
15096 * LyXAction.C: ditto
15098 * FloatList.C: ditto
15099 * DepTable.C: ditto
15100 * ColorHandler.C (LyXColorHandler): ditto
15102 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15104 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15106 * text2.C (openStuff): reintroduce this method (which had been
15107 nuked in NEW_INSETS frenzy).
15109 * lyxfunc.C (Dispatch): when an action has not been handled, use
15110 its name in the error message, not its number.
15112 * paragraph.C (inInset): change method name to begin with lowercase.
15115 * text2.C: updates because of this.
15117 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15119 * ToolbarDefaults.C (add): add spaces in error message
15121 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15123 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15124 (readLyXformat2): rename return_par to first_par, use lyxlex's
15125 pushToken and remove the manual push handling.
15126 (parseSingleLyXformat2Token): add another ert comp. variable:
15127 in_tabular, rename return_par to first_par. handle newlines better
15129 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15131 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15133 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15135 * text2.C (getParFromID): removed
15137 * buffer.C (getParFromID): new method moved form lyxtext.
15138 * BufferView2.C (insertErrors): adjust
15139 (setCursorFromRow): adjust
15140 * BufferView_pimpl.C (restorePosition): adjust
15141 * lyxfunc.C (Dispatch): adjust
15142 * undo_funcs.C (textUndo): adjust
15144 (textHandleUndo): adjust
15145 (textHandleUndo): adjust
15147 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15149 * buffer.C: up' the LYX_FORMAT
15151 * lyxfont.h: turn NO_LATEX on as default
15153 * buffer.C (insertErtContents): new methods of tex style compability.
15154 (parseSingleLyXformat2Token): use it several places.
15155 * tabular.C (OldFormatRead): and here
15157 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15159 * text2.C: remove some commented code.
15162 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15163 * trans.C: changes because of the above.
15165 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15167 * text2.C (setCounter): Fix counters bug with bibliography layout.
15169 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15171 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15172 own member functions
15173 (simpleTeXSpecialChars): ditto
15175 2001-07-06 Juergen Vigna <jug@sad.it>
15177 * a lot of files: changed the access to LyXText::status and the
15178 call of undo-functions.
15180 * undo.[Ch]: added a inset_id to the undo informations.
15182 * undo_funcs.[Ch]: added and moved here all undo functions.
15184 * lyxtext.h: give the status enum a weight, made status_ a private
15185 variable and made accessor functions for it, removed the whole bunch
15186 of undo-functions as they are now in their own file, make some
15187 functions publically available. Added function ownerParagraph with
15190 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15191 made InInset() a const function, added getParFromID() function.
15193 * buffer.[Ch]: added const version for inset_iterator functions,
15194 added getInsetFromID() function.
15196 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15197 changed undo functions for new version.
15199 2001-07-05 Juergen Vigna <jug@sad.it>
15201 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15202 unknow mechanism does not call the proper constructor but only this
15203 one also if I request the other!?
15205 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15207 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15209 * text2.C (LyXText): use initialization lists.
15211 * lyxtext.h (Selection): initialize set_ and mark_
15212 (init): remove method
15214 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15216 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15218 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15220 * screen.[Ch]: change method names to begin with lowercase
15222 * BufferView_pimpl.C (updateScrollbar): simplify further and
15223 hopefully make it a bit faster.
15225 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15227 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15228 calling directly xforms functions.
15230 * Painter.C (Painter):
15231 * lyx_cb.C (MenuWrite):
15232 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15235 * lyx_gui.C: remove bogus guiruntime extern declaration.
15237 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15239 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15241 (redoDrawingOfParagraph): ditto
15242 (redoParagraphs): ditto
15243 (cutSelection): don't create a object for CutAndPaste use the
15244 static method directly
15245 (pasteSelection): ditto
15247 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15250 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15252 * modifications to some other files because of this.
15254 * Makefile.am (lyx_SOURCES): add XFormsView
15256 * XFormsView.[Ch]: new files
15258 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15259 the main window. Move the gui dependent stuff to XFormsView
15261 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15263 * tabular.C (GetCellInset): update cur_cell also in the row/col
15264 version of this function.
15266 * lyxfunc.C: no need to include figure_form.h here.
15272 * lyxvc.C: no need to include forms.h here.
15274 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15276 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15278 * lyxfunc.C (Dispatch):
15280 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15281 constructor argument.
15283 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15285 * paragraph.C (Paragraph): dont't clear, and just set layout.
15286 (makeSameLayout): use params's copy contructor.
15288 * ParagraphParameters.[Ch] (makeSame): delete method
15290 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15292 * Variables.[Ch]: fix indentation, rename set to isSet
15294 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * lyxfunc.C (Dispatch): fix typo
15298 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15300 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15303 * bufferlist.C: include assert.h for emergencyWrite().
15305 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15307 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15308 give up at last (bug #425202) !
15310 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15316 * spellchecker.C: strip spellchecker options and bring up
15317 preferences tab instead
15319 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15322 the istringstream constructor
15324 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * paragraph.C (getLayout): fix return value
15328 * paragraph.h: do not declare getLayout as inline.
15330 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15332 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15334 * lyxcursor.h (operator<): new func
15335 (operator>): new func
15336 (operator>=): new func
15337 (operator<=): new func
15339 * text.C (changeCase): use selection.start and selection.end
15340 (changeRegionCase): require from to be <= to. Require par to be a
15343 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15345 2001-06-27 Juergen Vigna <jug@sad.it>
15347 * text.C (cursorLeftOneWord): changed to return the cursor and added
15348 overlay with BufferView * parameter which calls this one.
15350 (selectWord): use new getWord function.
15351 (changeCase): renamed from changeWordCase as and extended to work
15352 also on selections.
15354 * lyxtext.h: added enum word_location
15356 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15357 changeCase as this operates now also on selections.
15359 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15361 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15363 * many files: send debug output to Debug::INFO instead of
15366 * converter.C (View):
15368 (Move): send debug output to Debug::FILES instead of console.
15370 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15372 * lyxfunc.C (getStatus): use func_status
15374 * func_status.h: new header, describing the results of
15375 LyXFunc::getStatus;
15377 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15380 2001-06-25 The LyX Project <jug@sad.it>
15382 * buffer.C (sgmlOpenTag):
15384 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15386 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15388 * text2.C: remove some dead code
15390 * tabular.C (GetCellInset): store the last cell checked (gotten)
15392 * tabular.h: add the helper for the speedup
15394 * lyxtext.h: remove some dead code
15396 2001-06-26 The LyX Project <Asger>
15398 * paragraph.C: Change export to LaTeX of alignment to
15399 \begin{center} and family for better roundtrip work with reLyX.
15401 * Tune the math drawing a bit.
15403 2001-06-25 The LyX Project <Asger>
15405 * LColor.C (LColor): New color for math background. New color
15408 2001-06-25 The LyX Project <jug@sad.it>
15410 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15412 * lyxfunc.C (Open):
15413 * bufferlist.C (newFile): do not restrict to files ending with
15416 * BufferView_pimpl.C (MenuInsertLyXFile):
15418 2001-06-24 The LyX Project <jug@sad.it>
15420 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15423 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15425 * lyxtext.h: rename most methods to begin with a small char.
15426 Lots of changes because of this.
15428 * paragraph.C (Paragraph): do not call fitToSize
15429 (erase): call Pimpl::erase
15430 (insertChar): call Pimpl::insertChar
15431 (insertInset): call Pipl::insertInset
15432 (breakParagraph): do not call fitToSize
15433 (breakParagraphConservative): do not call fitToSize
15434 (fitToSize): remove method
15436 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15438 2001-06-24 The LyX Project <Asger>
15440 * Fix Qt compilation^2
15442 2001-06-24 The LyX Project <jug@sad.it>
15444 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15445 depthHook(getDepth()-1).
15448 * ParagraphParameters.h:
15449 * ParameterStruct.h: change type of depth to unsigned int ==
15450 depth_type. Many adaptations to other files before of that.
15452 2001-06-24 The LyX Project <Asger>
15454 * Fix Qt compilation.
15456 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15458 * paragraph.h: renamed several methods to begin with small letter.
15459 several changes to many parts of the code because of this.
15461 2001-06-23 The LyX Project <jug@sad.it>
15463 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15464 rewritten to discard all double spaces when KeepEmpty is off
15465 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15466 to only handle newlines but not fiddle with spaces and friends.
15468 * lyxfunc.C (MenuNew): when doing 'new from template', use
15469 template_path as default directory
15471 2001-06-23 The LyX Project <Asger>
15473 * Clean-up of header file includes all over
15474 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15476 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15478 * paragraph.h: renamed from lyxparagraph.h
15480 2001-06-23 Asger <lyx@violet.home.sad.it>
15482 * Buffer.h: Removed Buffer::resize
15483 * BufferList.h: Removed BufferList::resize
15484 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15485 the document lazily when we change the width, or the font settings.
15487 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15489 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15491 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15493 * buffer.h: remove out of date comment
15495 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15498 * screen.C: fix "theoretical" GC leak
15500 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15502 * LaTeX.C (scanAuxFile):
15503 (deplog): remove trailing \r when reading stream (useful under
15506 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15508 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15509 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15510 and BufferView::theLockingInset(Inset*), so should use them and not
15511 access bv_->text->the_locking_inset directly.
15513 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15515 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15518 * tex-defs.h: remove old unused file
15520 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15522 * BufferView_pimpl.C: fix typo, remove minibuffer message
15523 when buffer has loaded
15525 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15527 * lyxfunc.C (Dispatch): use stringstream
15528 (MenuNew): use stringstream
15529 (Open): use stringstream
15531 * importer.C (Import): use stringstream
15533 * bufferview_funcs.C (CurrentState): use stringstream
15535 * LaTeX.C (run): use stringstream
15537 * BufferView_pimpl.C (savePosition): use stringstream
15538 (restorePosition): use stringstream
15539 (MenuInsertLyXFile): use stringstream
15541 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15554 * vspace.C: removed // -*- C++ -*- as first line.
15557 * version.h: added // -*- C++ -*- as first line.
15559 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15561 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15563 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15566 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15568 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15571 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * gettext.C: include LString.h even when --disable-nls is on.
15575 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15577 * converter.h (Get): changed argument type from int to
15578 FormatList::size_type to avoid unnecessary conversion.
15580 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15583 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15585 * gettext.h: include LString.h even when --disable-nls is on.
15587 2001-06-07 Juergen Vigna <jug@sad.it>
15589 * text.C (BreakAgain): subst spaces with tabs.
15591 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15592 (resizeInsetsLyXText): set force on resizeLyXText.
15594 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15596 * gettext.h (gettext_init):
15597 (locale_init): use a real definition instead of a macro
15599 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15601 * Bufferview_pimpl.C:
15603 * LColor.C: further lcolor tidies
15605 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15607 * BufferView_pimpl.C (updateScrollbar): simplify.
15609 * BufferView2.C: don't include insets/insetinfo.h, change
15610 prototype for insertInset and call the Pimpl version. let
15611 updateInset call Pimpl version.
15613 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15614 gotoInset to BufferView::Pimpl
15616 2001-06-01 Juergen Vigna <jug@sad.it>
15618 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15619 inside a LockingInset (is the update needed at all?).
15621 2001-05-31 Juergen Vigna <jug@sad.it>
15623 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15624 here not the old one otherwise how should we compare it afterwards
15627 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15632 * FontInfo.C: bring C functions into global namespace when
15635 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15637 * LString.h: make sure config.h has been loaded before LString.h.
15639 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15640 (one for each char read by EatLine!).
15642 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15645 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15647 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15648 to the same as the par we break from
15650 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15652 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15654 * MenuBackend.C (expand): also create menu entries for wide
15655 versions of the floats.
15657 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15659 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15661 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15662 frontends/Makefile.am
15668 * tabular.C (getTokenValue): add std::
15670 * tabular-old.C (getTokenValue): add std::
15671 (getTokenValue): ditto
15672 (getTokenValue): ditto
15674 * screen.C (ToggleSelection): adjust
15676 * lyxtext.h: put selection cursors inside a Selection struct.
15678 * lyxfunc.C (moveCursorUpdate): adjust
15680 * lyxfont.C (latexWriteStartChanges): add std::
15682 * lyxfind.C: adjust
15684 * font.h: delete with(char const *, LyXFont const &)
15686 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15688 * FontInfo.C (getFontname): add std::
15690 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15691 (workAreaButtonPress): adjust
15692 (tripleClick): adjust
15694 (moveCursorUpdate): adjust
15697 * BufferView2.C (gotoInset): adjust
15699 2001-05-30 Juergen Vigna <jug@sad.it>
15701 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15702 to check pspell I add this as default as I now have new pspell
15703 libraries and they seem to use this.
15705 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15707 * text2.C (CutSelection): make the cursor valid before the call to
15710 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15712 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15713 relied on 0 terminated strings and other horrors. Bug found due to
15714 the new assert in lyxstring!
15716 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15719 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15721 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15724 * lyxfunc.C (processKeySym): change method of getting to the
15727 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15728 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15729 * BufferView_pimpl.[Ch]: here as private methods.
15731 2001-05-28 Juergen Vigna <jug@sad.it>
15733 * text.C (SetHeightOfRow): added the update() call again as it is
15734 needed to initialize inset dimensions!
15736 2001-05-16 Juergen Vigna <jug@sad.it>
15738 * text2.C (SetCharFont): Add new function with BufferView * and
15739 bool toggleall parameters for setting insets internal fonts.
15740 (SetFont): Freeze the undo as we may change fonts in Insets and
15741 all this change should be inside only one Undo!
15743 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15744 setting font's in insets as for them we have the SetFont function!
15746 2001-05-15 Juergen Vigna <jug@sad.it>
15748 * text2.C (ClearSelection): to be sure we REALLY don't have any
15751 * tabular.C (TeXCellPreamble): fixed the left border problem for
15754 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15756 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15759 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15761 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15762 LFUN_BREAKPARAGRAPH.
15764 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15765 help test to "internal only", similar for LFUN_INSERT_URL
15767 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15768 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15769 auto_region_delete and deadkeys.
15771 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15774 * LColor.C: remove some dead entries, tidy a little
15776 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15778 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15780 (Dispatch): implement LFUN_ESCAPE
15782 * commandtags.h: add LFUN_ESCAPE
15784 * LyXAction.C (init): add entry for LFUN_ESCAPE
15786 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15787 Remove commented code.
15788 (insertNote): moved here
15789 (open_new_inset): moved here
15791 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15794 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15796 * kbmap.C (findbinding): clean it up and make it work correctly.
15798 * lyx_main.C (init): do not pass argc and argv as parameters
15800 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15802 * buffer.C: fix path for OS/2 & Win32
15806 * lyx_main.C: Added os:: class.
15808 * os2_defines.h: update
15810 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15812 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15813 better by trying again with reduced state.
15815 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15817 * lyxrc.C (read): print error about invalid key sequence only when
15818 debugging (because not all latinX keysyms are known to some X
15821 * kbsequence.C (getiso): add a few std:: qualifiers
15822 (getiso): comment out extra return statement.
15824 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15826 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15828 (Dispatch): enhance the accent inset a bit. (not perfect)
15830 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15832 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15834 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15836 * bufferlist.C (emergencyWrite): fix assert() call
15838 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15840 * text.C (InsertChar): Added trivial patch to only send the "you
15841 can not do multiple spaces this way" message once during a
15844 2001-05-08 Baruch Even <baruch@lyx.org>
15846 * Makefile.am: Changed order of libraries to get LyX to link properly
15847 with the gnome frontend.
15849 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15851 * LaTeXFeatures.h: add a std:: qualifier
15853 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15855 * paragraph.C (String): use stringstream
15857 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15859 * paragraph.C (writeFile): remove footflag arg
15861 * buffer.C (makeLaTeXFile): use stringstream
15862 (latexParagraphs): remove footnot gurba
15864 * LaTeXFeatures.C (getPackages): use stringstream
15865 (getMacros): likewise
15866 (getTClassPreamble): likewise
15867 (getFloatDefinitions): new method
15869 * paragraph.C (writeFile): reindent
15872 * WorkArea.h: revert the xpos + etc changes.
15874 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15876 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15878 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15879 (pasteSelection): likewise
15880 * text2.C (CreateUndo): likewise
15882 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15884 * minibuffer.C (peek_event): temporarily reduce the functionality
15885 of the minibuffer (to allow args on lfuns)
15887 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15888 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15890 * buffer.C (readInset): add compability reading of old float
15891 lists, add reading of new style float list.
15892 (readInset): avoid reevaluation of inscmd.getCmdName()
15893 (getLists): reindent
15895 * MenuBackend.C (MenuItem): implement parsing of
15896 md_floatlistinsert and md_floatinsert.
15897 (expand::LastFiles): move initalizaton of iterators out of loop,
15898 avoid reevaluation.
15899 (expand::Documents): introduce typdedef vector<string> Strings,
15901 (expand::ExportFormats): introduce typedef vector<Format const *>
15902 Formats, and use it.
15903 (expand): implement FloatListInsert and FloatInsert.
15905 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15906 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15907 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15909 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15911 (Dispatch::LFUN_FLOAT_LIST): implement
15913 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15915 * LaTeX.C (run): Fix problem with --export code.
15917 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15919 * BufferView.[Ch] (workarea): removed.
15920 (getClipboard) new method; wrapper for workarea()->getClipboard()
15922 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15925 * WorkArea.h (width, height, xpos, ypos): These methods all
15926 returned the dimensions of the work_area sub-area of WorkArea,
15927 resulting in a position error if the WorkArea were resized. Now
15928 return the dimensions of the entire WorkArea.
15930 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15932 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15934 * LaTeX.C (deplog): correct the syntax of regex reg1
15936 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15938 * undo.C: remove !NEW_INSETS cruft
15940 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15942 * text2.C: remove !NEW_INSETS cruft
15944 * text.C: remove !NEW_INSETS cruft
15946 * tabular.C: remove !NEW_INSETS cruft
15948 * spellchecker.C: remove !NEW_INSETS cruft
15950 * lyxtext.h: remove !NEW_INSETS cruft
15952 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15954 * lyxfunc.C: remove !NEW_INSETS cruft
15956 * lyxfind.C: remove !NEW_INSETS cruft
15958 * lyx_cb.C: remove !NEW_INSETS cruft
15960 * figureForm.C: remove !NEW_INSETS cruft
15962 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15964 * buffer.[Ch]: remove !NEW_INSETS cruft
15966 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15968 * CutAndPaste.C: remove !NEW_INSETS cruft
15970 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15972 * BufferView2.C: remove !NEW_INSETS cruft
15974 * BufferView.h: remove !NEW_INSETS cruft
15976 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15978 * Lsstream.h: include LString.h before the sstream headers to
15979 fix problem with gcc 2.95.3 and lyxstring
15981 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15983 * lyx_main.C: add using directives when needed for C functions
15984 declared in std:: namespace.
15986 2001-04-27 Juergen Vigna <jug@sad.it>
15988 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15989 (SetHeightOfRow): comment out the update call should not be needed!
15991 2001-04-13 Juergen Vigna <jug@sad.it>
15993 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15994 (LyXTabular): tried to minimize operator= operations (and realized
15995 hopfully Lars wish).
15997 2001-04-27 Juergen Vigna <jug@sad.it>
15999 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16001 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16003 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16005 * buffer.C (readInset): hack to make listof algorithm work
16007 * BufferView_pimpl.C: hack to make listof algorithm work
16009 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16011 * LyXAction.C: removed all !NEW_INSETS cruft
16012 (init): moved lfun_item in method
16014 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16016 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16018 * BufferView2.C (theLockingInset): white space.
16020 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16022 * minibuffer.C: include <iostream>
16024 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16026 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16028 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16030 * text.[Ch] (TransposeChars): new method
16032 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16034 * call message directly through LyXView instead of through LyXFunc
16035 * BufferView2.C: adjust
16036 * BufferView_pimpl.C: adjust
16037 * FontLoader.C: adjust
16039 * bufferview_funcs.C: adjust
16040 * converter.C: adjust
16041 * figureForm.C: adjust
16042 * importer.C: adjust
16044 * lyx_gui_misc.C: adjust
16045 * lyxfunc.C: adjust
16048 + more files in subdirs
16050 * lyxparagraph.h (size): move up int file
16053 * adjust all uses of Assert to lyx::Assert.
16055 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16056 lyxfunctional in namespace lyx
16057 * layout.C (hasLayout): ditto
16060 (delete_layout): ditto
16061 (NumberOfClass): ditto
16062 * converter.C (GetFormat): ditto
16067 * bufferlist.C (getFileNames): ditto
16068 (emergencyWriteAll): ditto
16071 * MenuBackend.C (hasSubmenu): ditto
16074 * BufferView_pimpl.C (getInsetByCode): ditto
16076 2001-04-18 Juergen Vigna <jug@sad.it>
16078 * vspace.C (asLatexString): fixed the 100% problem.
16080 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16082 * lyxfunc.C (Dispatch):
16084 * minibuffer.h: add a few std:: qualifiers
16086 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16088 * minibuffer.[Ch]: reimplement so that commands is initiated and
16089 run from lyxfunc, simplified som handling, and made the completion
16090 and history code for complete. wip.
16092 * lyxfunc.C (processKeySym): call message
16093 (miniDispatch): new temporary method
16094 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16095 (LFUN_MESSAGE): implement
16096 (LFUN_MESSAGE_PUSH): implement
16097 (LFUN_MESSAGE_POP): implement
16098 (initMiniBuffer): the initial/defualt minibuffer message.
16100 * lyxfont.[Ch]: inline some more getters
16102 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16104 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16106 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16107 (AutoSave): use LFUN_MESSAGE
16108 (Reconfigure): ditto
16110 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16112 * figureForm.C: use LFUN_MESSAGE
16114 * converter.C (runLaTeX): use LFUN_MESSAGE
16116 * bufferview_funcs.C: use LFUN_MESSAGE
16118 (changeDepth): ditto
16120 * bufferparams.h: use boost::
16122 * bufferlist.h: inherit privately from noncopyable
16124 * bufferlist.C (loadLyXFile): remove some commented code.
16126 * buffer.C (runChktex): use LFUN_MESSAGE
16128 * ShareContainer.h: inherit privately from noncopyable
16130 * ParagraphParameters.[hC] (depth): inline it.
16132 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16134 (message): new method
16135 (messagePush): ditto
16136 (messagePop): ditto
16137 (show): init minibuffer
16138 (showState): direct call
16140 * LaTeX.[Ch]: inherit privately from noncopyable
16141 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16142 instead of WriteStatus.
16144 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16146 * BufferView_pimpl.C (buffer): don't init minibuffer
16147 (workAreaButtonPress): use LFUN_MESSAGE
16148 (workAreaButtonRelease): ditto
16149 (savePosition): ditto
16150 (restorePosition): ditto
16151 (MenuInsertLyXFile): ditto
16152 (workAreaExpose): don't init minibuffer
16153 (update): remove commented code, simplify
16155 * BufferView2.C (openStuff): use LFUN_MESSAGE
16156 (toggleFloat): ditto
16159 (copyEnvironment): ditto
16160 (pasteEnvironment): ditto
16165 (updateInset): remove some commented code
16167 * lastfiles.h: inherit privately from noncopyable
16170 * lyx_main.h: ditto
16172 * lyxlex_pimpl.h: ditto
16174 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16175 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16176 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16178 * LyXAction.h: inherit privately from noncopyable, add methods
16179 func_begin, func_end, returning iterators to the func map.
16181 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16182 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16183 (func_begin): new method
16184 (func_end): new method
16186 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16188 (copySelection): ditto
16189 (pasteSelection): ditto
16191 * BufferView.C: whitespace change
16192 * BufferView.h: inherit privately from noncopyable
16194 2001-04-16 Allan Rae <rae@lyx.org>
16196 * tabular-old.C (l_getline):
16197 * spellchecker.C (sc_check_word):
16198 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16199 an unrecognised preprocessor directive. So ensure they're wrapped.
16201 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16203 * src/exporter.C (Export): Give an error message when path to file
16206 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16208 * LaTeX.C (deplog): Always check that foundfile exists.
16210 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16213 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16215 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16217 * tabular.[Ch] (getLabelList): implement new method
16219 * minibuffer.h: comment ouf setTiimer
16221 * minibuffer.C (ExecutingCB): constify res
16222 (peek_event): constify s
16223 (Set): constify ntext
16224 (Init): constify nicename
16226 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16228 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16229 (savePosition): use two params to Minibuffer::Set
16230 (restorePosition): ditto
16232 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16234 * lyx_main.C: include language.h
16236 * Makefile.am (lyx_main.o): add language.h
16238 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * CutAndPaste.C: include gettext.h
16246 * lyxfont.h: remove old hack with ON and OFF.
16249 * lyxfont.h: do not include language.h...
16254 * bufferview_funcs.C:
16260 * paragraph.C: ... but do it here instead
16262 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16264 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16266 * tabular.C: small reformat
16268 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16271 (BreakParagraph): ditto
16272 (SetOnlyLayout): ditto
16275 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16278 * lastfiles.C: removed most using decl, add std:: where needed
16280 * buffer.C: ws changes
16282 * MenuBackend.C (class compare_format): put into anon namespace
16283 (expand): constify label, names, action, action2
16286 * text.C (SingleWidth): constify font
16287 (IsBoundary): constify rtl2
16288 (GetVisibleRow): constify ww
16290 * LaTeX.C (deplog): constify logfile
16292 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16294 (workAreaExpose): constify widthChange, heightChange
16296 * lyxrow.C (par): moved
16299 * lyxrow.h: as inlines here
16301 * lyxfont.h (shape): moved from lyxfont.C
16302 (emph): moved from lyxfont.C
16304 * lyxfont.C (LyXFont): use initialization list for all
16306 (shape): move to lyxfont.h as inline
16307 (emph): move to lyxfont.h as inline
16310 2001-04-04 Juergen Vigna <jug@sad.it>
16312 * vspace.C: had to include stdio.h for use of sscanf
16314 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16317 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16318 independent of xforms.
16320 2001-04-02 Juergen Vigna <jug@sad.it>
16322 * spellchecker.C: fixed namespace placing!
16324 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16326 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16327 the LyXParagraph * is 0.
16329 2001-03-29 Juergen Vigna <jug@sad.it>
16331 * vspace.C: added support for %, c%, p%, l%.
16332 (stringFromUnit): added helper function.
16333 (asLatexString): changed to give right results for the %-values.
16335 * buffer.C: convert the widthp in a width%.
16337 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16339 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16342 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16343 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16345 * lyx_cb.[Ch]: see above.
16347 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16351 * lyx.[Ch]: replaced by figure_form.[Ch].
16355 * lyxfunc.C: changed headers associated with above changes.
16357 2001-03-27 Juergen Vigna <jug@sad.it>
16359 * BufferView_pimpl.C: set the temporary cursor right!
16361 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16363 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16365 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16367 * LString.h: removed "using std::getline"!
16369 * BufferView_pimpl.C (Dispatch): changes due to changes in
16370 InsetInclude::Params.
16372 * buffer.C (tag_name): removed redundant break statements as they were
16373 producing lots of warnings with my compiler.
16375 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16377 * LString.h: add "using std::getline" when using the real <string>.
16379 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16381 * buffer.C: removed bitset usage.
16382 PAR_TAG moved to an anonymous name space.
16383 (tag_name): new funtion, also in the anonymous namespace.
16384 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16385 (makeDocBookFile): clean code. Completed transition from string arrays
16387 (SimpleDocBookOnePar): code clean.
16389 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16391 * tabular.C: add some comments.
16393 2001-03-22 Juergen Vigna <jug@sad.it>
16395 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16396 compatibility read a bit and fixed bug with minipage in different
16399 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16401 * buffer.C (pop_tag): removed.
16402 (push_tag): removed.
16403 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16404 array replaced with vector. Added support for CDATA sections.
16405 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16407 (makeDocBookFile): XML conformant declaration of CDATA section,
16408 fixed bug related to <emphasis> in the first paragraph char.
16409 (sgmlOpenTag): exclude empty tags.
16410 (sgmlCloseTag): ditto.
16412 * buffer.h (pop_tag): removed.
16413 (push_tag): removed.
16415 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16417 * language.h (Languages): added size_type and size().
16419 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16421 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16422 response on compability reading of minipages. One probliem is that
16423 the old usage of minipages was «flertydig»
16425 * several files here and in subdirs: don't use static at file
16426 scope use anon namespaces instead.
16428 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16430 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16431 LaTeX output. This is necessary for Literate document
16434 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16436 * buffer.C: insert hfill when needed.
16438 * tabular.C (l_getline): use string::erase, small whitespace change.
16440 * BufferView_pimpl.C: try the anon namespace.
16441 * WorkArea.C: ditto
16443 2001-03-16 Juergen Vigna <jug@sad.it>
16445 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16446 otherwise it won't open options-dialogs.
16448 * buffer.C: honor pextraWidth(p) on converting minipages.
16450 * tabular.C (l_getline): changed the functions to strip trailing \r.
16452 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16454 * BufferView_pimpl.C:
16455 * minibuffer..C: added "using SigC::slot" declaration.
16457 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16459 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16465 * paragraph.C: ditto
16467 * lyxtext.h: NO_PEXTRA
16469 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16471 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16472 * ParameterStruct.h: ditto
16473 * ParagraphParameters.h: ditto
16474 * lyxparagraph.h: ditto
16476 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16478 * buffer.C: add compability for minipage alignment.
16479 (latexParagraphs): remove unwanted pextra check.
16481 * several files: remove CXX_WORKING_NAMESPACES
16483 * buffer.C (pop_tag): tie is in namespace boost
16485 * BufferView.h: noncopyable is in namespace boost
16487 * lyx_main.h: ditto
16490 * lastfiles.h: ditto
16491 * bufferlist.h: ditto
16492 * ShareContainer.h: ditto
16494 * LyXAction.h: ditto
16497 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16499 * Merging changes from BRANCH_MVC back into HEAD.
16501 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16503 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16505 * BufferView_pimpl.C: change from intl.C
16509 * Makefile.am: move combox.*
16515 * intl.C: remove dialog (covered by prefs)
16517 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16519 * lyxfunc.C (Dispatch): removed redundant break statement.
16521 2001-03-14 Juergen Vigna <jug@sad.it>
16523 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16525 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16527 * buffer.C: add hack to fix compability reading of minipages.
16529 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16531 * buffer.C (getLists): Cleanup.
16533 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16535 * lyxfont.C (update): don't honor toggleall on font size.
16537 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16541 * Makefile.am: moved to frontends/xforms/
16545 * BufferView_pimpl.C: changes for moved mathpanel
16547 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16549 * gettext.h: fix gettext_init() in --disable-nls
16551 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16553 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16555 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16558 * lyx.h: strip external form
16560 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16562 * BufferView_pimpl.C: add comment, destroySplash()
16564 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16566 * BufferView_pimpl.C:
16570 * lyxfunc.C: use re-worked insetinclude
16572 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16574 * buffer.C: add using std::stringstream.
16576 * lyx_cb.C: readd using std::ios.
16578 * buffer.C: add using std::map.
16580 * BufferView_pimpl.C: add using std::vector.
16582 * ShareContainer.h: add std:: to swap.
16584 * buffer.h: add some typedefs
16585 * buffer.C (getLists): use them
16586 (getLists): renamed from getTocList.
16587 add a counter for the different float types and use it in the
16589 (getLists): use the same counter for the NEW_INSETS and the "non"
16592 * lyx_cb.h: remove unused items, includes, using etc.
16594 * ShareContainer.h: remove some commented code, add more comments
16595 and "documentation".
16597 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16599 * buffer.C (getTocList): make the list also when NEW_INSETS is
16602 * buffer.h: remove TocType
16604 * buffer.C (getTocList): change to return a map<string,
16605 vector<TocItem> >, implement for dynamic number of list.
16607 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16608 * text2.C (PasteSelection): adjust
16609 * CutAndPaste.C (pasteSelection): adjust
16611 * FloatList.C (FloatList): update from the new_insets branch.
16612 * Floating.[Ch]: ditto
16613 * LaTeXFeatures.C: ditto
16615 * lyxlex_pimpl.C: ditto
16617 * paragraph.C (Last): remove when NEW_INSETS is defined.
16619 * other file: changes because of the above.
16621 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16623 * lyxparagraph.h: rename next to next_, previous to previous_,
16624 make them private for NEW_INSETS. Rename Next() to next(),
16625 Previous() to previous().
16627 * other files: changes because of the above.
16629 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16632 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16635 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16637 * main.C (main): pass lyx_localedir to gettext_init().
16639 * gettext.h: remove locale_init and gettext_init macros
16641 * gettext.C (locale_init): new function
16642 (gettext_init): new function
16644 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16647 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16649 * Moved credits to frontends:
16650 * credits.[Ch]: removed
16651 * credits_form.[Ch]: removed
16652 * lyx_gui_misc.C: remove credits stuff
16655 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16657 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16659 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16660 unneeded destructor.
16662 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16663 a standalone pointer again.
16665 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16667 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16673 * ToolbarDefaults.C:
16682 * BufferView_pimpl.C: use new file dialog in GUII
16685 * lyx_cb.C: remove LayoutsCB to Toolbar
16687 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16689 * ShareContainer.h (get): add std:: qualifier
16691 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16693 * ShareContainer.h: define a proper ShareContainer::value_type
16694 type (and use typename to please compaq cxx)
16696 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16698 * lyxparagraph.h: move serveral local vars to
16699 ParameterStruct/ParagraphParameters., use ShareContainer in
16700 FontTable., make vars in FontTable private and add getter and
16703 * paragraph.C: changes because of the above.
16705 * lyxfont.h: remove copy constructor and copy assignment. (the
16706 default ones is ok), move number inside FontBits. move inlines to
16709 * lyxfont.C: add number to initializaton of statics, move several
16710 inlines here. constify several local vars. some whitespace
16711 cleanup. Dont hide outerscope variables.
16713 * Spacing.h: add two new constructors to match the set methods.
16715 * ShareContainer.h: new file, will perhaps be moved to support
16717 * ParameterStruct.h: new file
16719 * ParagraphParameters.h: new file
16721 * ParagraphParameters.C: new file
16723 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16724 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16726 * BufferView_pimpl.C: ParagraphParameter changes.
16727 * buffer.C: Likewise.
16728 * bufferview_funcs.C: Likewise.
16729 * text.C: Likewise.
16730 * text2.C: Likewise.
16732 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16734 * lyxfind.C (LyXReplace): do not redefine default argument in
16736 (IsStringInText): ditto
16737 (SearchForward): ditto
16738 (SearchBackward): ditto
16740 2001-03-06 Juergen Vigna <jug@sad.it>
16742 * lyxfind.C (IsStringInText): put parentes around expressions.
16744 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16746 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16748 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16750 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16752 * stl_string_fwd.h: add comment
16754 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16757 * tabular.C: remove unused DocBook methods
16763 killed DO_USE_DEFAULT_LANGUAGE
16765 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16767 * lyx_gui.C: do not include language.h.
16769 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16770 arguments in function implementation.
16772 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16774 * BufferView_pimpl.C: add <ctime>
16776 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16778 * BufferView_pimpl.C: add using std::find_if
16780 2001-02-27 José Matos <jamatos@fep.up.pt>
16782 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16785 2001-02-11 José Matos <jamatos@fep.up.pt>
16787 * buffer.C (makeDocBookFile): command styles now have a parameter as
16788 "title" by default.
16790 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16792 * layout_forms.[Ch]: removed
16793 * lyx_cb.[Ch]: out character
16794 * lyx_gui.C: out character
16795 * lyx_gui_misc.C: out character
16796 * bufferview_funcs.C: : out character,
16797 added toggleall as parameter in ToggleAndShow
16799 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16801 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16803 * text2.C (SetCurrentFont): Disable number property at boundary.
16805 2001-02-26 Juergen Vigna <jug@sad.it>
16807 * lyxfunc.C (getStatus): added a string argument override function so
16808 that this is correctly called from LyXFunc::Dispatch if it contains a
16809 do_not_use_argument which is used!
16810 (Dispatch): added check for "custom" export and call appropriate func.
16812 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16814 * lyxrc.C: Add language_command_local, language_use_babel and
16815 language_global_options.
16817 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16819 * buffer.C (makeLaTeXFile): Use language_use_babel and
16820 language_global_options.
16822 2001-02-23 Juergen Vigna <jug@sad.it>
16824 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16825 which works with LyXText and putted it inside BufferView. Here now we
16826 only call for that part the BufferView::Dispatch() function.
16828 * BufferView.C (Dispatch): added.
16830 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16831 functions which needs to use a LyXText over from LyXFunc.
16832 (MenuInsertLyXFile): added
16833 (getInsetByCode): added
16834 (moveCursorUpdate): added
16835 (static TEXT): added
16837 2001-02-22 Juergen Vigna <jug@sad.it>
16839 * BufferView_pimpl.C (update): call a status update to see if LyXText
16842 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16844 * vc-backend.C (revert): implement for CVS
16845 (getLog): implement for CVS
16847 2001-02-20 Juergen Vigna <jug@sad.it>
16849 * text2.C (ClearSelection): added BufferView param for inset_owner call
16851 * lyxfunc.C (TEXT): added this function and use it instead of
16852 directly owner->view()-text of getLyXText().
16854 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16856 * src/layout_forms.C: out preamble
16857 * src/layout_forms.h: out preamble
16858 * src/lyx_cb.C: out preamble
16859 * src/lyx_cb.h: out preamble
16860 * src/lyx_gui.C: out preamble
16861 * src/lyx_gui_misc.C: out preamble
16862 * src/lyxfunc.C: connect with guii preamble
16864 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16866 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16868 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16870 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16871 whether to run bibtex.
16873 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16875 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16877 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16879 * Makefile.am (lyx_SOURCES): removed bibforms.h
16881 * vspace.h: doxygen
16883 * text.C (GetVisibleRow): make several local vars const
16885 * tabular.C: small cleanup.
16887 * lyxserver.C (callback): use compare instead of strncmp
16889 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16890 inlines to after class or to paragraph.C
16892 * lyxfont.h: remove friend operator!=
16894 * converter.h: move friend bool operator< to non friend and after
16897 * combox.h: small cleanup
16899 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16900 to inlines after class def.
16902 * buffer.C (pop_tag): use string operations instead of strcmp
16904 * bmtable.c: doxygen, small cleanup
16906 * LaTeX.h: remove friend operator==
16908 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16920 * BufferView_pimpl.C:
16921 * BufferView.[Ch]: remove cruft
16923 2001-02-14 Juergen Vigna <jug@sad.it>
16925 * lyxfunc.C: removed #if 0 unused code
16927 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16929 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16931 * text2.C (SetSelection): added a BufferView * parameter
16933 2001-02-13 Juergen Vigna <jug@sad.it>
16935 * lyxfunc.C (Dispatch): fixed protected blank problem.
16936 * BufferView2.C (protectedBlank): added LyxText * parameter.
16938 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16939 (AppendColumn): same as above for column_info.
16941 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16942 (moveCursorUpdate): use a LyXText param for support of InsetText.
16944 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16945 (tripleClick): ditto
16947 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16949 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16951 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16953 * text2.C (SetSelection): set correct update status if inset_owner
16954 (ToggleFree): ditto
16956 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16958 * tabular.C: remove some commented code.
16960 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16962 * BufferView_pimpl.C: call hideSplash()
16964 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16967 * bibforms.h: remove
16970 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16971 add LFUN_CHILD_CREATE
16973 * counters.h: fix tiny typo
16978 * lyx.C: move splash to frontends/xforms/
16980 * lyx_gui_misc.C: move Include and Bibform to frontends
16982 * lyxvc.h: clarify comment
16984 * vspace.C: tiny housekeeping
16986 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16988 * text.C (PrepareToPrint): RTL Fix.
16990 * paragraph.C (GetUChar): New method.
16991 (String): Use GetUChar.
16993 * buffer.C (asciiParagraph): Use GetUChar.
16995 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16997 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16999 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17002 * buffer.C: rename to getLogName(), handle
17003 build log / latex log nicely
17005 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17008 * MenuBackend.h: remove support for reference menuitem type.
17010 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17012 * BufferView_pimpl.C: housekeeping
17013 * BufferView_pimpl.h:
17018 * minibuffer.h: move Timeout GUI-I
17020 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17022 * lyxrc.C (read): Update converters data-structures.
17024 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17026 * LaTeX.h (operator!=): add operator != for Aux_Info
17028 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17030 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17032 * LaTeXLog.C: deleted, useful code moved to Buffer
17035 * buffer.C: new function getLatexLogName()
17041 * lyxfunc.C: use frontends for LaTeX and VC logs
17043 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17045 * LaTeX.h: yet another std:: that Allan forgot.
17047 * Variables.C (set): renamed from isset(), because this clashes
17048 with some HP-UX macros (grr).
17050 2001-02-06 Allan Rae <rae@lyx.org>
17052 * LaTeX.h: Another bug fix. Missing std:: this time.
17054 2001-02-04 Allan Rae <rae@lyx.org>
17056 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17057 floats problem. I've left it commented out because it's not quite
17058 correct. It should also test that the current object is a table or
17059 figure inset. But I haven't gotten around to figuring out how to do
17060 that. I *think* it'll be something like: "table" == inset.type()
17062 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17065 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17067 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17068 all the citation/databases/styles in the auxilary file.
17069 (run): Rerun latex if there was a babel language error.
17071 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17073 * text.C (Backspace): Preserve the font when changing newline char
17075 (BreakParagraph): If the cursor is before a space, delete the space.
17077 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17079 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17081 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17082 new argument (code).
17083 (ChangeCitationsIfUnique): New method.
17085 * paragraph.C (GetPositionOfInset): Handle bibkey.
17087 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17089 * BufferView_pimpl.h: change type of Position::par_pos to
17090 LyXParagraph::size_type.
17092 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17094 * BufferView_pimpl.C (savePosition, restorePosition): Write
17095 messages to minibuffer.
17097 2001-01-28 José Matos <jamatos@fep.up.pt>
17099 * buffer.C (makeDocBookFile): adds support for document language.
17100 A silly restriction on the name of LatexCommand types where removed.
17101 Added support for CDATA sections, allows to chars unescaped, used
17102 among others in code, to avoid escape < and >.
17104 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17106 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17107 saved positions instrad of a stack. Furthermore, a position is
17108 stored using paragraph id/paragraph position.
17110 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17111 Remove LFUN_REF_BACK.
17113 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17115 * converter.C (dvipdfm_options): New method.
17117 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17119 * vspace.C (isValidLength): Fix for empty input string.
17121 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17123 * LyXAction.C (init): change description of LFUN_FIGURE to
17126 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17128 * LaTeX.C: add using directive
17130 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17132 * MenuBackend.C (expand): Fix the sorting of the formats.
17134 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17136 * lyx_main.C: tiny error message fix
17138 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17140 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17141 calling fl_initialize(). This fixes the problem with ',' as
17142 decimal separator in text files.
17144 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17146 * trans.C (process): Fix the keymap bug.
17148 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17150 * LaTeX.C (scanAuxFiles): New method. Provides support for
17151 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17152 (scanLogFile) Scan for "run BibTeX" messages.
17154 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17155 OT1 font encoding. Also, load the aecompl package if the ae
17158 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17160 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17162 * texrow.C (increasePos): turn two error messages into debug
17165 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17167 * LaTeX.C (scanAux): Handle the \@input macro.
17168 (runBibTeX): Use scanAux().
17170 * language.C (latex_options_): New field.
17172 * LaTeXFeatures.C (getMacros): Add language macros.
17174 * buffer.C (makeLaTeXFile): Small fix.
17176 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17178 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17180 * text2.C: add a using directive.
17182 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17187 * lyxfunc.C: kill LyXBell.
17189 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17191 * text.C (IsBoundary): Remove the error message
17193 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17195 * lyxrc.C (setDefaults): Correct initialization value for
17198 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17200 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17203 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17204 and GotoNextNote().
17206 * src/LyXAction.C: Added reference-next.
17208 * text.C (InsertChar): Use contains instead of strchr.
17210 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17212 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17214 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17215 alignment commands (when needed).
17217 * text.C (InsertChar): Add ':' to number separator chars.