1 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
4 but use update() to get correct screen display; use convert
5 instead of istringstream.
6 (getStatus): handle LFUN_GOTO_PARAGRAPH
8 * lyxfunc.C (dispatch, getStatus): do not handle
9 LFUN_GOTO_PARAGRAPH here.
11 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
13 * text3.C (dispatch): size() -> depth()
15 * text2.C: remove some debug output
17 * paragraph.C: ws changes only
19 * lyxfunc.C (getStatus): size() -> depth()
21 * dociterator.h (clear, push_back, pop_back, internalData,
22 operator[], resize, empty): new functions
23 Make StableDocIterator and operator== be friends. Don't inherit
24 from std::vector use a privat class variable slices_ instead.
27 * dociterator.C: update because of not inheriting from std::vector
28 anymore. Call explictly to slices_ instead. Use depth() instead of
29 size() and top() instead of back()
31 * cursor.C: chagne size() -> depth and back() -> top(). Also
32 remove some direct operator[](i) calls in favour of foo[i]
33 (getFont): remove some dead code
35 * bufferview_funcs.C (coordOffset): size() -> depth()
37 * buffer.C: ws changes only
39 * CutAndPaste.C (eraseSelection): back() -> top()
41 * BufferView_pimpl.C (selectionRequested): back() -> top()
43 * BufferView.C (setCursor): size() -> depth()
45 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
47 * text3.C (cursorPrevious): return true if depm changed something
49 (dispatch): rename sl to oldTopSlice, remove moving use the new
50 NoUpdate func attrib instead. Make sure that needsUpdate is set
51 for function that have NoUpdate, but where depm might have changed
54 * text2.C (cursorLeft): make us return true if depm changed
57 (cursorUpParagraph): ditto
58 (curosrDownParagraph): ditto
59 (cursorUp, cursorDown): ditto, make sure to read comments in code
60 (deleteEmptyParagraphMechanism): remove an assert, also return
61 true if just a single char was deleted.
63 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
64 cursor that we modify, to avoid modifying an active cursor before
65 we call setCursor. This allows depm to run. Also return true if
66 depm deleted something.
68 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
69 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
70 cursorDownParagraph, cursorPrevious and cursorNext, return true if
71 something was changed in the buffer because of them (ie. depm run)
73 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
74 debug messages. Make update by default be false. Make sure that
75 the result of update is retained throught several calls down to
78 * LyXAction.h: add a new func_attrib: NoUpdate
80 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
81 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
82 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
84 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
86 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
89 bv_->owner(), bv_->buffer() by direct references to the private
91 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
92 (getStatus): isSavedPosition() is in BufferView::Pimpl.
93 (fitCursor): center() is in BufferView::Pimpl.
94 (getStatus, trackChanges, dispatch): no need for a temporary buf
96 (fitCursor, workAreaDispatch): use workarea().workheight()
98 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
100 * CutAndPaste.C (pasteSelectionHelper): fix a crash
102 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * buffer.C: format up to 241.
105 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
106 break if pasting into ERT
107 * lyxfunc.C (getStatus): suppress mathpanel and
108 LFUN_DIALOG_SHOW_NEW_INSET in ERT
110 2005-02-01 Angus Leeming <leeming@lyx.org>
112 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
114 2005-02-01 Angus Leeming <leeming@lyx.org>
116 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
117 calling fs::is_directory().
119 2005-01-31 Angus Leeming <leeming@lyx.org>
121 * lyx_main.C (priv_exec): specify explicitly the relative location
122 of the top level build directory when run in-place.
124 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
127 LyXText containing the cursor, not the top-level one.
129 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
131 (insertStringAsLines): rename par to pit; use temporary variable
132 par to hold a Paragraph; do not store par.layout() in a variable,
133 since the pointer may die when breaking paragraphs; pass pars to
134 breakParagraph() instead of Buffer::paragraphs().
136 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
138 * lyxlex_pimpl.h: #include <fstream>.
140 * BufferView.[Ch] (getLyXText): add a const version.
142 * BufferView_pimpl.C: add debug aids.
147 * paragraph_funcs.h: add commentary explaining what the class does.
150 * coordcache.[Ch]: add lots of commentary.
151 (startUpdating, doneUpdating): debug aids.
152 (arrays, insets, parPos, getParPos): accessors to private data.
154 * cursor_slice.[Ch] (text): add a const version.
155 * dociterator.[Ch] (text, innerText): add const versions.
157 * lyxtext.h (breakParagraph): change the keep_layout arg to a
160 * paragraph.C (getRow, pos2ros): add asserts.
162 * paragraph.h: add commentary. Lots of.
164 * paragraph.[Ch] (metrucs, draw): removed.
167 * rowpainter.[Ch]: const-correct changes.
169 * text.C: various obvious clean-ups. Removal of ancient cruft.
172 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
174 * vc-backend.C (find_file): rewrite to use boost.filesystem
177 * main.C (main): set default name check for boost.filesystem to
180 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
183 (actOnUpdatedPrefs): ditto
185 * lyx_main.C (init): rewrite to use boost.filesystem
186 (queryUserLyXDir): ditto
188 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
189 (getContentsOfAsciiFile): ditto
191 * lastfiles.C (readFile): rewrite to use boost.filesystem
193 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
195 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
198 * buffer.C (Buffer): adjust for destroydir
199 (getLogName): rewrite to use boost.filesystem
201 (save): use fs::copy_file (from fs_extras)
203 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
205 * LaTeX.C (run): rewrite to use boost.filesystem
206 (scanAuxFiles): ditto
207 (handleFoundFile): ditto
209 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
213 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
215 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
217 * lyxlayout.[Ch]: change some vars from float to double
219 * buffer.C (readFile): make a local var const
221 * Several files: use convert<> instead of atoi,strToXXX and friends
223 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
225 * LaTeXFeatures.[Ch]: Add a static list packages_ that
226 holds the contents of packages.lst. New functions getAvailable
227 and isAvailable to parse and check that list, resp.
231 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
233 * bufferparams.[Ch]: new param output_changes.
235 * Buffer.C: increase file format to 240.
236 Use output_changes and isVailable.
240 * paragraph_pimpl.C: Use output_changes and isVailable.
242 2005-01-23 Angus Leeming <leeming@lyx.org>
244 * output_latex.C: #include "insetbibitem.h", rather than
245 forward declare function bibitemWidest.
247 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
249 * lyx_main.C (init): make it compile on the Mac.
251 2005-01-20 Angus Leeming <leeming@lyx.org>
253 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
254 (setLyXMisc): (char string literal) != (char string literal) is
255 performing a comparison on the addresses. Convert one operand
256 explicitly to string to guarantee expected behaviour.
259 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
262 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
264 * output_plaintext.C: remove unneeded #include gzstream.h.
266 2005-01-20 Angus Leeming <leeming@lyx.org>
268 * SpellBase.h: rename some of the elements of the Result enum.
275 * pspell.C (check): ditto
277 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
279 * buffer.C: add #include <fstream>.
281 * lyx_main.C (init): Compile fix.
283 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
285 2005-01-20 Angus Leeming <leeming@lyx.org>
287 * mover.h: change commentary to reflect the changed meaning of
290 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * output_linuxdoc.C (linuxdocParagraphs): silence warning
294 * lyxfind.C (MatchString::operator()): remove bogus semicolon
296 2005-01-20 Angus Leeming <leeming@lyx.org>
298 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
299 printing diagnostic data by not dereferecing an iterator past the
302 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
304 * buffer.C (readHeader): use "&&" rather than "and".
306 * lyxserver.h (inPipeName, outPipeName): make these const.
308 2005-01-19 Angus Leeming <leeming@lyx.org>
310 * lyx_main.C (error_handler, init): protect SIGHUP with
311 #ifdef SIGHUP guards.
313 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
317 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * text.C (setHeightOfRow): add a margin at the top and bottom of
320 the document (bug 1761)
322 2005-01-17 Angus Leeming <leeming@lyx.org>
324 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
325 with "python ". Workaround for a brain-dead Windows.
327 2005-01-16 Angus Leeming <leeming@lyx.org>
329 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
330 for MacOSX and Windows to use prependEnvPath.
331 Strip out the hard-coded block to add elements to the PATH for
332 MacOSX and replace it with a call to prependEnvPath using the
333 contents of LyXRC::path_prefix.
334 (queryUserLyXDir): strip out the code to run reconfigure, instead
335 returning a boolean indicating the necessity to do so.
336 (reconfigureUserLyXDir): contains the code to reconfigure the
337 user support directory. Is now called after the various LyXRC data
338 files have been read.
340 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
342 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
344 * converter.[Ch] (convert): take a new parameter try_default. Use
345 a default converter (imagemagick) if try_default is true.
347 2005-01-13 Angus Leeming <leeming@lyx.org>
349 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
351 (write): output LyXRC::cygwin_path_fix as necessary.
353 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
356 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
358 2005-01-12 Angus Leeming <leeming@lyx.org>
360 * lyx_main.C (init): set the PATH variable to include the
361 directory containing the LyX binary when running on Mac or Windows.
363 2005-01-12 Angus Leeming <leeming@lyx.org>
365 * lyx_main.C (init): remove cruft that purports to set the locale
366 dir. It doesn't and is not needed anyway.
368 2005-01-10 Angus Leeming <leeming@lyx.org>
370 * Makefile.am: remove the lyx_main.C special casing.
372 * BufferView_pimpl.C:
378 * messages.C: use support/package.h to provide the paths to the
379 various directories used by LyX.
381 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
383 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
384 layout if pasting into an empty paragraph)
386 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
388 * tex-accent.C: add <string>
390 2005-01-06 José Matos <jamatos@lyx.org>
392 * ParagraphParameters.C (write): put every parameter in its own line.
393 * paragraph.C (write): reduce number of consecutive empty lines exported.
394 * buffer.C (LYX_FORMAT): increase file format to 239.
396 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
398 * everywhere: change support/tostr.h -> support/convert.h
400 * tabular.C: make all write_attributes templates, tostr -> convert
402 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
403 (emptyTag): and -> &&, and fix type for ret from getChar
404 (getFirstWord): fix type for ret from getChar
405 (onlyText): and -> &&
406 (simpleDocBookOnePar): and not -> && !, fix type for ret from
409 * toc.C (goTo, action):
410 * text3.C (dispatch):
411 * text.C (currentState):
412 * tex-accent.C (DoAccent):
415 * lyxfunc.C (menuNew):
416 * lyxfinc.C (replace):
417 * counters.C (laberItem):
418 * bufferview_funcs.C (font2string):
419 * bufferparams.C (writeFile):
420 * buffer.C (readFile):
422 * MenuBackend.C: tostr -> convert
424 * LaTeX.C (runMessage): fix format
425 (scanAuxFiles): tostr -> convert
427 * BufferView_pimpl.C (savePosition): fix format
428 (restorePosition): ditto
431 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
433 * Spacing.[Ch]: New method getValueAsString().
437 * ParagraphParameters.C:
440 * text3.C: store/read spacing value as string.
442 * rowpainter.C: change float value (spacing_val) to double.
444 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
445 broken custom document spacing).
447 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
449 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
450 namespace, also more use of temp references and const
452 * cursor.[Ch] (getStatus): move to lyxfunc.C
454 * bufferparams.C: reformat slightly
456 * bufferview_funcs.C (font2string): constify arg
462 * buffer_funcs.C: (many funcs): constify arg on function
463 definitions, also make more local vars const, also add ASSERTS on
466 * buffer.C (LYX_FORMAT): put const in correct place
467 (many funcs): constify arg on function definitions, also make
468 more local vars const
470 * aspell_local.h: remove "struct" from typdef setup
472 * aspell.C (check): make word_ok const
473 (nextMiss): simplify slightly
476 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
478 * lyxrc.[Ch]: store all float values as strings.
479 use int (not float) for lyxrc.dpi.
481 2005-01-04 Angus Leeming <leeming@lyx.org>
483 * lyx_cb.C (Reconfigure):
484 * lyx_main.C (queryUserLyXDir):
485 to run the <system_lyxdir>/configure correctly on Windows, prefix
486 the path to the script with "sh " when generating the string that
487 is passed to system().
489 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
491 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
493 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * lyxlength.C (asLatexString): get rid of setprecision
497 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * text2.C (setLayout): remove unused variable endpit.
500 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
502 * paragraph.C (onlyText): remove unused variable style.
504 * cursor.C (bruteFind): remove unused variables beg and end.
506 * Makefile.am (dist_noinset_DATA): not needed anymore
508 * cheaders/*: remove.
510 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
512 * text3.C: fix LFUN_MATH_MODE.
514 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * buffer_funcs.C (countWords): new function. Counts words between
519 * BufferView_pimpl.C (getStatus, dispatch): handle
522 * LyXAction.C (init):
523 * lfuns.h: add LFUN_WORDS_COUNT.
525 2004-12-19 Angus Leeming <leeming@lyx.org>
527 * buffer.C (save): s/slashify_path/internal_path/.
529 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
531 * lyxfind.C (findChange): do not search for end of pars, because
532 the change tracker cannot handle this (fixes bug 1719).
534 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
536 * paragraph.[Ch] (autoBreakRows): remove
538 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
540 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
541 avoid using the paragraph one
543 * text2.C (LyXText, insertStringAsLines): adjust
545 2004-12-16 Angus Leeming <leeming@lyx.org>
549 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
551 2004-12-14 Angus Leeming <leeming@lyx.org>
553 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
555 * bufferlist.C (emergencyWrite):
556 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
559 2004-12-14 Angus Leeming <leeming@lyx.org>
561 * main.C: (main): no longer pass pointers to os::init.
563 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
565 * undo.C (textUndoOrRedo): simplify logic, fix a crash
566 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
568 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
571 * text3.C: remove selection_possible global flag
573 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
575 * text2.C (getSelectionSpan): remove
576 (changeDepth, changeDepthAllowed): adjust
578 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
580 * Makefile.am (BOOST_LIBS): use boost variables
582 2004-12-03 José Matos <jamatos@lyx.org>
584 * buffer.C: format up to 238.
586 2004-12-03 José Matos <jamatos@lyx.org>
588 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
590 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
592 * cursor.C (goUpDown): remove call to idxUpDown2
594 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
596 * tabular.[Ch]: use size_t-like types for cell, row and column
599 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
601 * lyxfunc.C (getStatus): do not lose previous information when
602 calling BufferView::getStatus; do not set a default "Command
603 disabled" message at the beginning, but just before returning.
605 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
607 * cursor.h (getStatus): add better comment from src/cursor.C
609 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
611 * text3.C (getStatus): return false when the lfun is not handled
613 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
615 * broken_headers.h: remove
617 * Makefile.am (lyx_SOURCES): remove broken_headers.h
619 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
621 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
624 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
625 top_y_, merge fitcursor with update
626 (updateScrollbar, scrollDocView, fitCursor, center, update): new
629 (workAreaDispatch): adapt to new coord scheme
630 (redoCurrentBuffer): remove
632 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
634 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
637 * coordcache.[Ch]: add paragraph cache and helpers
639 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
642 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
643 (targetX, setTargetX): introduce
645 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
646 baseline -> ascent, as the rest of lyx
648 * lyxtext.h: remove redoParagraphs, updateParPositions,
649 fullRebreak, redoParagraphInternal. move dist to anon namespace in
650 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
651 have ascent/descent (ascent is ascent of first par)
653 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
656 * paragraph.[Ch]: unify dimension handling with the rest of lyx
658 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
660 * pariterator.C: fix infinite loop introduced in par->pit renaming
662 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
663 in insets and LyXText, draw two off-screen paragraphs using
664 NullPainter, and adapt to new coord scheme
668 * text3.C: adapt lfun handlers to the new coord scheme, which
669 means: there's only guaranteed coord information for onscreen pars
670 plus one above and one below. This implies that one can do search
671 from y coordinates in the range [-1,workHeight]
673 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
675 * rename a lot of InsetOld to InsetBase
677 2004-11-25 Angus Leeming <leeming@lyx.org>
679 * BufferView_pimpl.C:
681 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
683 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
685 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
686 call BufferView::getStatus if LCursor::getStatus did nothing
687 (setStatusMessage, getStatusMessage): removed.
689 * FuncStatus.C (message): new methods. Used to provide an error
690 message indicating why a command is disabled.
691 (clear, |=, FuncStatus): update for message.
693 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
695 * lyxfunc.C (dispatch): always call sendDispatchMessage
697 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
700 * BufferView_pimpl.C:
714 * undo.C: par->pit renaming
716 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
718 * tabular.C (cellstruct): use initialization, store a shared_ptr
719 to insettext instead of the insettext directly, adjust to fit.
720 (operator=): new function
722 (rowstruct): use initialization
723 (columnstruct): use initialization
724 (ltType): use initialization
727 * lyxlength.h (swap): new function
729 * LColor.[Ch] (operator=): use the common semantics
731 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
733 * lyxfind.C (findNextChange): update the bufferview after setting
736 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
738 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
739 number of InsetOptArgs has already been inserted.
741 * output_latex.C (latexOptArgInsets): new method. This outputs all
742 the optarg insets, up to the limit defined in the layout file.
743 (optArgInset): removed
744 (TeXOnePar): call latexOptArgInsets; correctly update texrow
746 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * paragraph.C (isLetter): remove special spellchecker-related
749 code; return true also for digits
750 (isWord, isKomma): remove
752 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
753 * lyxfind.C (MatchString()): use isLetter instead of isWord
755 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
757 * pariterator.h (operatir=): comment out un-implemented member
760 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
763 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
765 * lyxfont.h: include LColor.h to satisfy concept checks.
767 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
769 * pariterator.h: add typdefs for value_type, difference_type,
770 pointer and reference to satisfy concept checks. Also add default
771 constructor for same reason.
773 * pariterator.C (operator++): add post-increment operator to
774 satisfy concept checks.
776 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
779 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
781 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
782 checks. Also rename base_type to BaseType to follow naming
785 * FloatList.h: include Floating.h to satisfy concept checks.
787 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
789 * lyxfunc.C (getStatus): when the origin of the request is menu or
790 toolbar, and the LyXView does not have focus, do as if there was
793 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
794 FuncRequest to individual entries of LFUN_SEQUENCE
796 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
798 * output_latex.C (TeXOnePar): override runparams.moving_arg
799 according to the needprotect value of the current paragraph (bug
802 * paragraph.C (simpleTeXOnePar): no need to override
803 runparams.moving_args here
805 2004-11-14 John Spray <spray_john@users.sourceforge.net>
807 * vspace.C: fix off-by-one-error, related to fix #1682
809 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
811 * lengthcommon.C: a more general fix for bug 1682
813 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
815 * text.C (backspace): fix crash
817 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
819 * format.[Ch] (getFormatFromFile): new method
820 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
822 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
826 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
828 * lyxfunc.C (dispatch): remove the verbose argument
829 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
832 * kbmap.C (defkey): set the origin of func to KEYBOARD
834 * MenuBackend.C (MenuItem):
835 * ToolbarBackend.C (add): set the origin of func to UI
837 * funcrequest.[Ch]: add origin member, which indicates which part
838 of LyX requests an action
840 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
842 * converter.C (move): don't lie in the error message
843 * converter.h (isReachable, move): document
845 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
847 * buffer.C: remove unused using lyx::support::atoi
848 * paragraph_funcs.C: ditto
850 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
852 * bufferlist.C (exists): use bind and equal_to instead of
855 * lyxtextclasslist.C (NumberOfClass): ditto
857 * cursor.C (insert): use for_each instead of explicit for loop
859 * bufferlist.C (getFileNames): use std::transform and
860 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
862 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
865 * buffer.C (changeLanguage): use for_each instead of explicit for
867 (hasParWithID): implement using getParFromID
869 * LaTeXFeatures.C: ws change only
871 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
874 * BufferView_pimpl.C (trackChanges): use for_each instead of
877 2004-11-04 André Pönitz <poenitz@gmx.net>
880 * undo.C (textUndoOrRedo): fix crash when creating undo information.
882 * dociterator.C (asDocIterator): use hard assert again.
884 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
886 * lyxlength.C (asLatexString): rewrite so that it does not use
889 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
891 * text3.C (specialChar, dispatch): make sure cursor moves to the
892 right after inserting an inset
894 2004-11-02 José Matos <jamatos@lyx.org>
896 * output_docbook.C (docbook):
897 * paragraph.C (getID):
898 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
899 garantee that the output is always legal.
901 * tabular.C (docbook):
902 * outputprams.[Ch]: remove mixed contents.
904 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
906 * text2.C (setCounter): prevent endless loop
908 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
910 * exporter.C (copyFile): use the mover instead of support::copy()
911 * exporter.C (Export): pass format and latex name to copyFile()
912 * exporter.h (addExternalFile): document
913 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
915 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
917 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
919 2004-10-30 José Matos <jamatos@lyx.org>
921 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
922 text and no inset or font change. This allows to use CDATA
923 sections just for the whole paragraph.
925 2004-10-30 José Matos <jamatos@lyx.org>
927 * paragraph.C (getFirstWord): remove unused variable.
929 2004-10-30 José Matos <jamatos@lyx.org>
931 * paragraph.C (getFirstWord): the content should always be escaped
933 (simpleDocBookOnePar):
934 * output_docbook.C (makeEnvironment): replace reference to CDATA
937 2004-10-30 José Matos <jamatos@lyx.org>
939 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
941 2004-10-30 José Matos <jamatos@lyx.org>
943 * output_docbook.C (makeParagraphs):
944 * paragraph.[Ch] (emptyTag): for docbook and company, if the
945 standard paragraph has only a given type of content drop the wrapper.
947 2004-10-29 José Matos <jamatos@lyx.org>
949 * output_docbook.C (makeEnvironment):
951 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
953 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
955 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
956 (cleanID): sanitize any id.
958 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
960 * buffer.C, lyxlex_pimpl.C:
961 * lyxlex_pimpl.C (setFile):
962 s/getExtFromContents/getFormatFromContents/
964 2004-10-28 José Matos <jamatos@lyx.org>
966 * output_docbook.C (makeEnvironment): move id to broadest possible
969 * sgml.C (openTag): apply substitution of <> for all attributes.
971 2004-10-28 José Matos <jamatos@lyx.org>
973 * buffer.C (makeLinuxDocFile, makeDocBookFile):
974 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
975 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
977 * sgml.[Ch]: new version for open and closeTag for paragraph and
978 for strings. Now they handle the ids of paragraphs.
980 2004-10-26 Angus Leeming <leeming@lyx.org>
982 * Makefile.am: add mover.[Ch].
984 * converter.C (convert, move): use the new Movers to move external
985 files to the temp directory.
987 * lyx_main.C (init): ensure that the global system_movers data
990 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
993 * mover.[Ch]: new files, defining a Mover as a utility to move an
994 external file between directories and, if necessary, manipulate this
995 file using a helper script.
997 2004-10-25 José Matos <jamatos@lyx.org>
999 * output_docbook.C (makeCommand): merge two if's that tested the
1002 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1004 * sgml.C (escapeString): fix warning in a better way
1006 2004-10-25 José Matos <jamatos@lyx.org>
1008 * sgml.C (escapeString): import the require boosts header file for
1009 tie, and avoid a signed unsigned comparison.
1011 2004-10-25 José Matos <jamatos@lyx.org>
1013 * sgml.h: add #include <string>
1015 2004-10-25 José Matos <jamatos@lyx.org>
1017 * sgml.[Ch] (escapeString): new function to escape all the string.
1019 2004-10-24 José Matos <jamatos@lyx.org>
1021 * paragraph.[Ch] (getFirstWord): new function to get the first
1022 word. Useful for description.
1023 (simpleDocBookOnePar): remove depth argument, add another that
1024 says where to start the paragraph.
1026 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1027 use the new functions to fix cleanly the support for descriptions.
1029 2004-10-24 José Matos <jamatos@lyx.org>
1031 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1032 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1033 * output_linuxdoc.C (linuxdocParagraphs):
1034 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1035 add buffer as argument.
1037 2004-10-24 José Matos <jamatos@lyx.org>
1039 * output_docbook.C (makeEnvironment, searchEnvironment): place
1040 CDATA inside paragraphs and fix scope for listitems.
1042 2004-10-24 José Matos <jamatos@lyx.org>
1044 * output_docbook.C: remove using statement for stack.
1046 2004-10-23 José Matos <jamatos@lyx.org>
1048 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1049 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1050 docbook. The new scheme is recursive and makes use of iterators, the
1051 same as latex export works.
1052 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1053 directly with the paragraph contents. This code was moved up to
1054 output_docbook.C (docbookParagraphs).
1055 * sgml.C (openTag, closeTag): removed unneeded newlines.
1056 (closeEnvTags) removed.
1058 2004-10-23 André Pönitz <poenitz@gmx.net>
1060 * undo.C (textUndoOrRedo):
1061 * dociterator.C (asDocIterator): work around crash
1063 * cursor.C (getStatus): replace ASSERT by more verbose error message
1064 and manual correction of the problem. Should increase stability
1065 while providing more sensible information.
1067 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1069 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1071 * bufferlist.C (previous, next): new methods
1074 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1076 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1078 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1079 entities to preamble.
1081 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1083 * messages.C (Pimpl): strip off translation context information
1085 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1088 the cursor is correct (bug 1694)
1090 2004-10-13 José Matos <jamatos@lyx.org>
1092 * output_docbook.C (docbookParagraphs): fix closing tags in the
1093 end of the document.
1095 2004-10-09 José Matos <jamatos@lyx.org>
1097 * buffer.C: format up to 237.
1098 * bufferparams.C (write): use tostr to convert booleans to strings.
1100 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1102 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1104 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1106 * LaTeX.C: implement use of babel language in xindy.
1108 2004-10-05 José Matos <jamatos@lyx.org>
1110 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1111 Add new translators to help reading and writing the lyx file.
1113 2004-10-05 José Matos <jamatos@lyx.org>
1115 * ParagraphParameters.C (read):
1116 * text.C (readParToken): replace nexToken by more appropriate lex
1119 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1121 * LaTeX.C (runMakeIndex):
1122 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1123 (usually 'makeindex') configurable.
1125 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1126 with a variable rather than with a number.
1128 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1130 * output_latex.C (TeXOnePar): make sure font setting is the first
1131 thing that gets output (and the last at the end). Should fix bug
1134 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1136 * pch.h: use proper signal include
1138 * LaTeX.h: Use preferred calling of Boost.Signal
1141 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1143 * pch.h: dont include <boost/function/function0.hpp>
1145 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1147 * paragraph_pimpl.h: remove usage of ShareContainer
1149 * paragraph_pimpl.C: remove initialization of ShareContainer.
1151 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1155 * BufferView.C (putSelectionAt): change the semantics when
1156 backwards == true: now, this just swaps cursor and anchor wrt the
1159 * BufferView.h (putSelectionAt): add some documentation
1161 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1162 make sure backwardChar is done at least once (to avoid getting
1164 (findNextChange): use putSelectionAt in the forward direction
1165 (operator()): use Paragraph::isWord
1167 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1169 * Spacing.C (set): c_str fix
1171 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1173 * lyx_cb.C (Reconfigure): quote the name of configure script in
1174 case it contains spaces
1176 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1180 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1181 (BOOST_LIBS): use top_buildir when looking for the file
1183 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1185 * pch.h: do not use include boost/format.hpp, multiple symbols
1186 will result (gcc bug)
1189 2004-08-23 José Matos <jamatos@lyx.org>
1191 * bufferparams.C (readToken): fix reading of the author field.
1193 2004-08-20 José Matos <jamatos@lyx.org>
1195 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1197 2004-08-20 José Matos <jamatos@lyx.org>
1199 * lyxlex.[Ch] (findToken): remove function.
1201 * ParagraphParameters.C (findToken):
1202 * bufferparams.C (findToken): replace call for previous function
1203 with local copy. This local function has one more argument, the
1204 read string argument.
1206 2004-08-16 José Matos <jamatos@lyx.org>
1208 * ParagraphParameters.C (write):
1209 * Spacing.C (writeFile):
1210 * bufferparams.C (writeLaTeX):
1211 * lyx_cb.C (Reconfigure):
1212 * paragraph.C (write):
1213 * tabular.C (write): remove unnecessary space at end of line.
1216 2004-08-16 José Matos <jamatos@lyx.org>
1218 * text.C (readParagraph): remove debug message.
1220 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1222 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1225 * output_plaintext.C (asciiParagraph): set depth correctly
1227 * outputparams.h: add member depth
1229 * paragraph_funcs.C (ownerPar): remove.
1231 * text2.C (setCounter): remove first_pit; comment out some
1232 non-working code that uses ownerPar
1234 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1237 2004-08-16 José Matos <jamatos@lyx.org>
1239 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1240 For the same level of importance use the same chanel to report problems.
1241 (read): add code to deal with \begin_body and \end_body.
1244 2004-08-15 José Matos <jamatos@lyx.org>
1246 * lyxlex.C (getString): fix comment, buffer::readBody is now
1247 buffer:readDocument.
1249 * tex-strings.C (string_papersize): Default -> default,
1250 Custom -> custom, for consistency with other options.
1252 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1256 * Makefile.am: support pch
1258 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1260 * text.C (readParToken): remove the static LyXFont variable and
1261 pass it as a parameter instead. This fixes a nasty bug where an
1262 inset will be inserted with a bad font in some situations
1263 (readParagraph): adapt
1265 * text2.C (setCounter): reduce number of calls to pars_[pit]
1267 * text.C (singleWidth): add an assert, fix a test
1269 * rowpainter.C (paintText): reduce number of calls to singleWidth
1271 * paragraph.C (isHfill):
1272 (isNewline): ws only
1274 2004-08-14 André Pönitz <poenitz@gmx.net>
1279 * lyxtext.h (several functions): use a Paragraph & argument
1282 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1284 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1286 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1288 * text.C (singleWidth): remove useless test
1290 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1292 * tabular.h: remove bogus comments
1294 * tabular.C (getDescentOfRow):
1295 (isPartOfMultiColumn): add assertions
1297 * lyxlength.C (inPixels): remove #warning
1299 2004-08-14 André Pönitz <poenitz@gmx.net>
1301 * paragraph.h: inline getChar()
1303 * BufferView.h: remove unused declarations
1305 2004-08-14 José Matos <jamatos@lyx.org>
1307 * Buffer.[Ch] (readDocument): new name for old readBody.
1308 * Buffer.C: new file format, new keywords: \begin_document,
1309 \begin_header, \begin_body, \end_body.
1311 * bufferparams.C (readToken): replace all calls to lex.nextToken
1312 by lex.next(). Do the same to eatLine except where really needed.
1314 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1315 line when writing to the lyx file.
1317 * output_plaintext.C (asciiParagraph): fix Bibliography style
1320 * text.C (read): fix end of file handling.
1322 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1324 * MenuBackend.C (Menu::operator[]): new method to access
1325 individual menu items
1326 (Menu::hasFunc): new method. search for an item that corresponds
1328 (MenuBackend::specialMenu): new method
1329 (MenuBackend::expand): if a special menu has been set, skip
1330 entries whose func() appears in this menu
1332 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1334 * text3.C: use Debug::DEBUG a bit more
1336 * text.C (leftMargin): try to simplify a tiny bit change var x to
1337 l_margin. Dont output the wide margins always.
1338 (rightMargin): no margin in inner texts
1340 * rowpainter.h (nestMargin): new func
1341 (changebarMargin): new func
1342 (rightMargin): new func
1344 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1348 * factory.C (createInset): modify setDrawFrame
1350 * cursor.C: use Debug::DEBUG a bit more
1352 2004-08-14 André Pönitz <poenitz@gmx.net>
1355 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1356 cache for all insets in (at least partially) visible (top-level)
1359 * BufferView_pimpl.C: reset external coord cache before every update.
1360 This means the coord cache only contains valid entries.
1362 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1365 * BufferView_pimpl.C (getInsetByCode): move function out of class
1366 and change in to a template in anon namespace. Also fix to do what
1369 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1372 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1374 (breakParagraph): rename par to par_offset and use a local
1375 reference. Add code to keep the language over a rebreak.
1376 (breakParagraphConservative): rename par to par_offset, use a
1378 (mergeParagraph): ditto
1380 (isFirstInSequence): ditto
1381 (outerFont): rename pit to par_offset
1383 * paragraph.C: ws change
1384 * paragraph.h: ditto
1388 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1390 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1393 * paragraph.C (simpleTeXOnePar): when we have a \item with
1394 optional argument, enclose the argument with curly brackets (in
1395 case it contains a closing square bracket)
1399 * text3.C (checkInsetHit): constify
1401 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1403 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1404 documents (bug 1629)
1406 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1408 Fix toggling of collapsable insets with the mouse (bug 1558)
1410 * lyxfunc.C (dispatch): adapt to LCursor changes
1412 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1413 make sure that dispatch is not invoked twice
1415 * cursor.C (needsUpdate): new method
1416 (dispatch): return void
1417 (result): new method, to access the DispatchResult of the cursor.
1419 2004-08-13 José Matos <jamatos@lyx.org>
1421 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1423 2004-08-13 André Pönitz <poenitz@gmx.net>
1425 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1427 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1430 2004-08-12 André Pönitz <poenitz@gmx.net>
1432 * text3.C: take out the 'cursor right' form insertInset and only
1433 do it in those places when it is really needed. Fixes crash on
1436 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1438 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1440 * BufferView_pimpl.C (setBuffer): initialize the current font of
1441 the underlying LyXText
1443 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1445 * kbsequence.C (print): use UI native formatting for menu
1448 * text.C (insertChar): call Paragraph::insertChar with a font
1451 * paragraph.C (insertInset, insertChar): the version that takes a
1452 LyXFont argument is now a wrapper around the other one (the
1453 opposite used to be true).
1455 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1456 argument. Font setting is done in Paragraph now.
1458 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1460 * outputparams.h: add new members intitle and lang.
1462 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1463 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1465 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1467 * text3.C (dispatch): remove special handling of button 4 and 5,
1468 it is now taken care of in the frontend code.
1470 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1472 * Spacing.h: add <string> (STLPort compile fix)
1474 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1476 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1478 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1483 * converter.C (showMessage): inherit from unary_function, make
1486 * buffer.C (writeFile): initialize retval
1488 * InsetList.h: rename private variable list to list_
1489 * InsetList.[Ch]: adjust accordingly.
1491 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1493 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1494 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1495 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1496 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1497 * ParagraphParameters.C, LaTeXFeatures.C: replace
1498 "support/std_sstream.h" with <sstream>
1500 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1502 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1503 * lyxsocket.C (LyXServerSocket): ditto
1504 (serverCallback): ditto
1506 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1508 * LaTeXFeatures.C: check release date when loading jurabib.
1510 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1512 * lyxserver.C (startPipe): call register_socket_callback
1513 (endPipe): call unregister_socket_callback
1515 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1517 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1518 (LyXServerSocket): register the callback
1519 (LyXServerSocket): unregister the callback
1520 (fd): delete function
1521 (serverCallback): improve error checking and setup the callbacks.
1522 (dataCallback): change arg to fd.
1523 (writeln): new func (copied fro the client socket) used for server
1525 (LyXDataSocket): simplify
1526 (~LyXDataSocket): close ann unregiser callback
1527 (server): delete function
1528 (fd): delete function
1529 (readln): small changes, improve some std::string usage
1530 (writeln): constify a bit
1532 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1534 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1537 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1539 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1540 after it has been populated
1542 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1544 * text2.C (insertInset): move cursor when inserting inset.
1546 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * kbmap.C (findbindings): a couple of new methods. returns a
1549 container of kb_sequence objects. The real work is done by the
1550 private recursive version
1551 (printbindings): uses findbindings to print out a bracketed list
1552 of bindings (renamed from findbinding).
1554 * MenuBackend.C (binding): use kb_keymap::findbindings
1556 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1558 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1560 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1562 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1564 * paragraph.C (isWord): return true on insets that report
1567 * text.C (getWord): use Paragraph::isWord to decide what is in a
1568 word and what is not; fix bug 1609.
1570 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1572 * tex-strings.C: add "none" to string_paperpackages[], fixes
1573 off-by-one-error in the paperpackage selection.
1576 * tex-strings.[Ch]: char const * string[n]
1577 -> char const * const string[]
1579 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1582 command, return early.
1584 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1586 * debug.h: add DEBUG to enum and fix size of ANY.
1588 * debug.C: add support for Debug::DEBUG
1589 (showTags): cast errorTags.level to unsigned int
1591 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1592 (redoCurrentBuffer): ditto
1593 (updateScrollbar): ditto
1594 * cursor.C (dispatch): ditto
1595 * text2.C (setLayout): ditto
1597 (updateCounters): ditto
1599 (deleteEmptyParagraphMechanism): ditto
1601 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1603 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1604 annotations to cleanup the Makefile slightly.
1606 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1608 * lyxrc.C: do not set user_email to a default value but use empty
1609 instead. The entry used to be translated, which does not work
1610 since at the point where lyxrc is constructed there is no
1611 translation service available
1613 * messages.C (getLocaleDir): remove and use directly
1614 lyx_localedir() instead
1616 2004-06-02 Angus Leeming <leeming@lyx.org>
1618 Fix crash caused by dereferencing null pointer 'exportdata' in
1619 OutputParams by creating a new ExportData variable on the heap,
1620 storing it in a boost::shared_ptr.
1621 The crash was triggered when generating an Instant Preview
1622 of an external inset.
1624 * Makefile.am: add outputparams.C
1626 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1627 (c-tor): allocate memory to it.
1629 * exporter.C (c-tor): associated changes.
1631 2004-06-01 Angus Leeming <leeming@lyx.org>
1633 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1634 contains data before calling isInset(0). (Bug 1513.)
1636 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1638 * exporter.C (checkOverwrite): new method
1639 * exporter.C (copyFile): new method
1640 * exporter.C (Export): copy referenced files to the document dir
1641 * exporter.[Ch]: new class ExportedFile
1642 * exporter.[Ch]: new class ExportData. Contains currently the
1643 names of referenced external files
1644 * outputparams.h: add exportdata member.
1646 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1648 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1651 2004-05-19 Angus Leeming <leeming@lyx.org>
1656 * lyxfunc.C: small changes due to the introduction of namespace
1657 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1659 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1661 * text3.C (dispatch): supress update when only moving the cursor
1662 * cursor.C (selHandle): remove commented code
1664 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1666 * paragraph.C (startTeXParParams): correct column count
1667 * CutAndPaste.C (pasteSelection): remove const_cast
1668 * output_docbook.C (docbookParagraphs): remove const_cast
1669 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1670 const_cast and return ParagraphList::const_iterator
1671 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1672 * output_plaintext.C (writeFileAscii): remove const_cast
1673 * paragraph.[Ch] (simpleTeXOnePar): make const
1674 * paragraph_funcs.C (outerPar): use const iterators
1675 * paragraph_pimpl.C (validate): use const iterators
1676 * text.C (setHeightOfRow): use const iterators
1678 2004-05-17 Angus Leeming <leeming@lyx.org>
1681 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1683 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1684 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1685 if the citation engine has changed.
1687 2004-05-14 José Matos <jamatos@lyx.org>
1689 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1690 if the textclass does not provide it. Have it different for sgml and
1692 support the language of document.
1693 * output_docbook.C (docbookParagraphs):
1694 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1695 first anchor as the id of the paragraph, remove special case code.
1696 * sgml.C (escapeChar): escape only < & >.
1698 2004-05-14 Angus Leeming <leeming@lyx.org>
1700 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1701 dependencies on src/frontends/controllers/biblio.h. Define a
1702 CiteEngine_enum wrapper class to enable the enum to be forward
1705 2004-05-12 Angus Leeming <leeming@lyx.org>
1707 * buffer.C: up LYX_FORMAT to 234.
1708 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1709 use_numerical_citations with a single biblio::CiteEngine cite_engine
1711 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1713 2004-05-13 José Matos <jamatos@lyx.org>
1716 * converter.C (Converter, readFlags): add xml member.
1717 * outputparams.h: add XML flavor.
1718 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1720 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1722 * lyxfunc.C (dispatch):
1723 (getStatus): fix handling of LFUN_SEQUENCE
1725 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1727 * debug.C (showLevel): do not forget the end-of-line marker
1729 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1731 * kbmap.C (read): do not stop parsing a bind file when an error
1734 2004-04-29 Angus Leeming <leeming@lyx.org>
1739 * text2.C: wrap a bunch of #warning statements
1740 inside #ifdef WITH_WARNINGS blocks.
1742 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1744 * buffer.C: increment format to 233.
1746 2004-04-28 Angus Leeming <leeming@lyx.org>
1748 * BufferView_pimpl.C:
1751 s/updateToolbar()/updateToolbars()/
1752 s/Toolbar.h/Toolbars.h/
1754 2004-04-28 Angus Leeming <leeming@lyx.org>
1756 * BufferView.[Ch] (c-tor):
1757 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1758 No longer passes these data to the WorkArea generator.
1760 2004-04-28 Angus Leeming <leeming@lyx.org>
1762 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1764 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1766 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1768 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1770 * output_latex.C (TeXEnvironment): make sure that there is a line
1771 break before \end{foo} for the last paragraph of a document
1772 (TeXOnePar): if the paragraph is at the end of the document (or
1773 inset) and the language has to be reset, then make sure that the
1774 line break is _before_ the language command, not after (fixes bug
1775 1225); also make sure that the language reset command is the first
1776 thing after the paragraph (to ensure proper nesting of
1777 environments and thus fix bug 1404)
1779 2004-04-21 John Levon <levon@movementarian.org>
1782 * ToolbarBackend.C: make "name" be a programmatic name
1783 and a gui_name field.
1785 * lyxfunc.C: display the minibuffer on M-x
1787 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1789 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1792 2004-04-19 Angus Leeming <leeming@lyx.org>
1794 * BufferView_pimpl.C (setBuffer): changed preview interface.
1796 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1799 2004-04-19 John Levon <levon@movementarian.org>
1801 * BufferView_pimpl.C:
1802 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1804 2004-04-05 Angus Leeming <leeming@lyx.org>
1806 * text.C (redoParagraphs): add call to updateCounters(), thereby
1807 fixing the missing "Figure #:" label from the caption of a
1810 2004-04-13 Angus Leeming <leeming@lyx.org>
1812 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1813 cursor is clicked out of an inset.
1815 2004-04-13 Angus Leeming <leeming@lyx.org>
1817 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1818 than an InsetOld one.
1820 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1822 * format.[Ch]: add editor to Format
1823 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1824 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1826 2004-04-08 André Pönitz <poenitz@gmx.net>
1828 * metricsinfo.h: remove PainterInfo::width member
1830 2004-04-08 Angus Leeming <leeming@lyx.org>
1832 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1833 "\providecommand" rather than "\newcommand", thereby preventing
1834 clashes with packages that define "\boldsymbol" themselves.
1837 2004-04-08 Angus Leeming <leeming@lyx.org>
1839 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1840 thereby squashing an unnecessary warning.
1842 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1844 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1847 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1849 * BufferView.C (setCursor): call redoParagraph (some insets could
1851 (putSelectionAt): remove the 'double update' trick
1853 * BufferView_pimpl.C (fitCursor): call refreshPar
1854 (workAreaDispatch): remove an uneeded update call
1855 (dispatch): remove some manual update calls
1857 * cursor.[Ch]: remove cached_y_, updatePos
1858 (selHandle): set noUpdate when appropriate
1860 * lyxfunc.C (dispatch): track if we need an update
1862 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1864 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1865 (paintSelection): cheap optimization, do not call cursorX when not
1867 (paintPars): change signature
1870 (paintTextInset): adjust
1874 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1876 * lengthcommon.C: compilation fix: remove explicit array size from
1877 unit_name[] and friends
1879 2004-04-05 Angus Leeming <leeming@lyx.org>
1881 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1883 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1884 present only for the preferences dialog.
1885 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1887 2004-04-05 Angus Leeming <leeming@lyx.org>
1889 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1890 to enable the frontends to export changes to lyxrc correctly.
1892 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1894 2004-04-07 André Pönitz <poenitz@gmx.net>
1896 * cursor.[Ch] (selClear, adjust): remove math
1898 * cursor_slice.C: more agressive assert
1901 * BufferView_pimpl.C: rework mouse event dispatch
1908 2004-04-05 André Pönitz <poenitz@gmx.net>
1910 * cursor.[Ch] (valign, halign...): remove unneeded functions
1912 2004-04-05 Angus Leeming <leeming@lyx.org>
1914 * lyxlength.[Ch] (unit_name et al.): const-correct.
1916 2004-04-05 Angus Leeming <leeming@lyx.org>
1918 * BufferView_pimpl.C:
1927 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1929 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1931 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1933 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1935 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1936 * BufferView_pimpl.[Ch] (getStatus)
1937 * BufferView.[Ch] (getStatus): add
1938 * lyxfunc.C (getStatus): move lfuns handled in
1939 BufferView::dispatch to te function above
1940 * Cursor.C (setSelection): set selection() = true
1942 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1944 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1946 2004-03-31 Angus Leeming <leeming@lyx.org>
1948 * lyxfunc.C (dispatch): Fall through to the generic
1949 Dialogs::show("preamble").
1951 2004-03-31 Angus Leeming <leeming@lyx.org>
1953 * lyxfunc.C (dispatch): Fall through to the generic
1954 Dialogs::show("spellchecker").
1956 2004-03-31 Angus Leeming <leeming@lyx.org>
1958 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1961 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1966 * insetiterator.[Ch]:
1971 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1973 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1975 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1976 insets where we are putting the cursor.
1978 2004-03-31 Angus Leeming <leeming@lyx.org>
1981 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1983 * lyxrc.[Ch] (read, write): overloaded member functions taking
1984 a std::[io]stream arguments.
1986 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1988 2004-03-31 Angus Leeming <leeming@lyx.org>
1990 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1991 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1993 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1994 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1996 2004-03-31 Angus Leeming <leeming@lyx.org>
1998 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1999 the LFUN_ALL_INSETS_TOGGLE code.
2001 2004-03-30 Angus Leeming <leeming@lyx.org>
2003 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2004 has died. Fall through to the generic Dialogs::show("document").
2006 2004-03-30 Angus Leeming <leeming@lyx.org>
2009 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2010 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2012 * lyxfunc.C (getStatus, dispatch): define the actions for these
2013 lfuns. Little more than a cut and pste job from ControlDocument.C
2015 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2017 2004-03-30 Angus Leeming <leeming@lyx.org>
2020 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2021 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2023 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2024 open/closed state of ollapsable insets. Usage:
2026 all-inset-toggle <state> <name>, where
2027 <state> == "open" || "closed" || "toggle" and
2028 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2030 * lyxtext.h, text2.C (toggleInset): removed.
2032 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2033 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2034 now passes LFUN_INSET_TOGGLE to the found inset.
2036 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2037 is now invoked as "all-insets-toggle toggle branch".
2039 2004-03-30 Angus Leeming <leeming@lyx.org>
2043 * pariterator.[Ch]: added/corrected header blurb.
2045 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2047 * dociterator.[Ch]: add an inset_ member
2048 (backwardPos): implemented
2049 (backwardPos, forwardPos): use inset_ when the stack is empty.
2050 (doc_iterator_begin, doc_iterator_end): implemented
2051 * pariterator.[Ch]: adjust, add begin, end
2052 * insetiterator.[Ch]: adjust, add begin, end
2056 * BufferView_pimpl.C:
2057 * CutAndPaste.C: adjust
2059 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2061 * buffer.C: increment file format to 232.
2062 * LaTeXFeatures.C: add bibtopic package.
2063 * bufferparams.[Ch]: param \use_bibtopic.
2065 * lyxrc.[Ch]: add lyxrc bibtex_command
2066 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2068 * buffer.C: increment file format to 231.
2070 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2072 * dociterator.C: implement forwardPar
2073 * iterators.[Ch]: remove, replaced by
2074 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2076 * BufferView_pimpl.C:
2079 * bufferview_funcs.C:
2085 * Makefile.am: adjust
2087 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2089 * CutAndPaste.C (pasteSelection): fix 2 crashes
2090 (eraseSelection): fix a crash
2091 * paragraph_funcs.C: remove a warning
2093 2004-03-28 Angus Leeming <leeming@lyx.org>
2096 * LyXAction.C (init): new LFUN_PRINT.
2098 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2100 2004-03-27 Angus Leeming <leeming@lyx.org>
2103 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2105 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2107 2004-03-27 Angus Leeming <leeming@lyx.org>
2109 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2110 insetlist always contains non-null pointers to insets.
2112 2004-03-26 Angus Leeming <leeming@lyx.org>
2114 * src/BufferView_pimpl.C:
2115 * src/CutAndPaste.C:
2118 * src/output_plaintext.C:
2119 * src/outputparams.h:
2120 * src/paragraph_funcs.C:
2124 * src/frontends/controllers/ControlErrorList.C:
2125 * src/frontends/gtk/FileDialogPrivate.C:
2126 * src/frontends/gtk/GPainter.C:
2127 * src/frontends/gtk/GToolbar.C:
2128 * src/frontends/qt2/QRef.C:
2129 * src/mathed/math_scriptinset.C: squash compiler warnings.
2131 2004-03-26 Angus Leeming <leeming@lyx.org>
2133 * ispell.C (LaunchIspell::start):
2134 * lyx_cb.C (AutoSaveBuffer::start):
2135 invoke run(DontWait) rather than runNonBlocking().
2137 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2139 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2141 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2143 * kbsequence.C (print): adjust
2145 * kbmap.C (printKeySym): rename and change signature
2146 (printKey): use LyXKeySym::print()
2148 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2150 * undo.C: add using std::advance to compile for stlport
2152 2004-03-24 Angus Leeming <leeming@lyx.org>
2154 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2155 it leads to a crash when no buffer is present.
2157 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 Martin Vermeer <martin.vermeer@hut.fi>
2160 * lyxfunc.C (dispatch):
2161 * bufferparams.C (readToken): use the new LColor::setColor
2163 * LColor.[Ch] (setColor): new version that takes two strings as
2164 argument and creates a new color entry if necessary
2166 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2168 * buffer.C (makeLaTeXFile): if the main latex file that is
2169 processed is usually a subdocument of some master, then pretend
2170 for a while that it is actually the master
2172 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2174 * buffer.C (getLabelList):
2175 (getBibkeyList): use getMasterBuffer()
2176 (getMasterBuffer): new method. Returns the main document in the
2177 case where one is using included documents.
2179 2004-03-25 André Pönitz <poenitz@gmx.net>
2183 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2185 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2187 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2188 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2190 * ParameterStruct.h: merge with ParagraphParameters
2192 * lyxtext.h: remove LyXText::parOffset() and getPar()
2194 * text3.C: Remove all 'manual' update calls. We do now one per user
2195 interaction which is completely sufficient.
2199 * BufferView_pimpl.C:
2200 * FontIterator.[Ch]:
2202 * ParagraphParameters.[Ch]:
2207 * cursor_slice.[Ch]:
2214 * output_docbook.[Ch]:
2215 * output_latex.[Ch]:
2216 * output_linuxdoc.[Ch]:
2217 * output_plaintext.[Ch]:
2219 * paragraph_funcs.[Ch]:
2220 * paragraph_pimpl.[Ch]:
2228 * frontends/controllers/ControlDocument.C:
2229 * frontends/controllers/ControlErrorList.C:
2230 * frontends/controllers/ControlSpellchecker.C:
2233 * insets/insetbase.h:
2234 * insets/insetbibitem.C:
2235 * insets/insetbox.C:
2236 * insets/insetbranch.C:
2237 * insets/insetcaption.C:
2238 * insets/insetcharstyle.C:
2239 * insets/insetcharstyle.h:
2240 * insets/insetcollapsable.C:
2241 * insets/insetcollapsable.h:
2242 * insets/insetert.C:
2243 * insets/insetfloat.C:
2244 * insets/insetfoot.C:
2245 * insets/insetmarginal.C:
2246 * insets/insetnote.C:
2247 * insets/insetoptarg.C:
2248 * insets/insettabular.C:
2249 * insets/insettext.C:
2250 * insets/insettext.h:
2251 * insets/insetwrap.C:
2252 * mathed/math_mboxinset.C:
2253 * mathed/math_nestinset.C:
2254 * mathed/math_scriptinset.C:
2255 * mathed/math_scriptinset.h:
2258 2004-03-24 Angus Leeming <leeming@lyx.org>
2260 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2261 deal with any child processes that have finished but are waiting to
2262 communicate this fact to the rest of LyX.
2264 2004-03-24 Angus Leeming <leeming@lyx.org>
2266 64-bit compile fixes.
2268 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2269 (c-tor): pass lyx::pos_types rather than ints.
2271 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2274 * text.C (Delete): compile fix.
2275 (getPar): ensure that function declaration is the same as that in
2278 2004-03-23 Angus Leeming <leeming@lyx.org>
2280 * ispell.C (LaunchIspell):
2281 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2282 a boost::shred_ptr rather than a std::auto_ptr.
2284 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2286 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2287 handle LFUN_FILE_INSERT_*
2289 * lyxrc.C (setDefaults, getDescription, output, read):
2290 * lyxrc.h: remove ps_command
2292 2004-03-22 Angus Leeming <leeming@lyx.org>
2294 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2295 Ensure that error_handler is processed once only and that all data
2296 is saved before attempting to output any warning messages.
2298 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2300 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2302 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2304 2004-03-19 André Pönitz <poenitz@gmx.net>
2306 * cursor.[Ch] (reset): take main text inset as argument
2308 * BufferView: adjust
2309 * BufferView_pimpl.C: adjust
2311 * paragraph.[Ch]: fix completely broken operator=()
2313 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2315 * LColor.C (getFromLyXName): make sure that the color name is used
2318 2004-03-17 Angus Leeming <leeming@lyx.org>
2321 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2323 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2324 dialog and to kill a forked process.
2326 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2328 * text2.C (setCursorFromCoordinates): fix font problem
2330 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2332 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2333 bogus "rebuild cursor" code
2335 2004-03-11 André Pönitz <poenitz@gmx.net>
2337 * buffer.[Ch]: use InsetText instead of LyXText as container for
2340 * dociterator.[Ch]: drop the BufferView * member which is not needed
2341 anymore after the change to buffer.C
2343 * paragraph_funcs.C:
2347 * BufferView_pimpl.[Ch]:
2349 * cursor_slice.[Ch]: adjust
2351 * text3.C: fix bug in mathDispatch
2353 2004-03-08 André Pönitz <poenitz@gmx.net>
2355 * undo.[Ch]: use 'StableDocumentIterator' as base for
2358 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2361 * bufferparams.[Ch]: add jurabib support and param.
2363 * LaTeX.C: add FIXME/comment.
2365 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2367 * buffer.C: increment file format to 230.
2369 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2371 * cursor.C (dispatch): avoid infinite loops
2373 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2375 * rowpainter.C (paintSelection): fix x coordinates
2377 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2379 * text.C (rowBreakPoint): fix breaking before displayed insets
2381 2004-03-01 André Pönitz <poenitz@gmx.net>
2383 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2385 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2389 * BufferView_pimpl.C:
2397 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2403 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2404 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2406 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2408 * Bidi.[Ch] (computeTables): const correctness
2409 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2410 fill_hfill, fill_label_hfill and x from Row
2411 * lyxtext.h: prepareToPrint returns a RowMetrics
2412 * rowPainter.C: adjust
2413 * text.C (prepareToPrint): use width, not textWidth. adjust
2414 (redoParagraphInternal, cursorX): adjust
2415 * text2.C (getColumnNearX): adjust
2416 (init): put a default value to the top LyXText::width
2418 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2420 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2422 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2424 * lyxtext.h: add FontIterator class
2426 * text.C (FontIterator, operator*, operator->, operator++): add
2427 (rowBreakPoint, setRowWidth): adjust (fixing a
2430 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2432 * BufferView_pimpl.C (workAreaDispatch): allow also
2433 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2435 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2437 * text.C (rowBreakPoint): fix a bug showing with very large insets
2439 2004-02-25 André Pönitz <poenitz@gmx.net>
2442 * cursor.[Ch]: move some mathed specific code to mathed
2444 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2446 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2447 use_tempdir in preferences
2448 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2450 * lyx_main.C: ensure that tempdir is valid
2451 * lyxlex.h: correct typo
2452 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2453 * paragraph.[Ch] (isMultiLingual): make const
2454 * cursor.[Ch] (openable): make const
2456 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2458 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2460 2004-02-20 André Pönitz <poenitz@gmx.net>
2462 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2464 * cursor.[Ch]: prepare for localized getStatus()
2470 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2472 2004-02-20 André Pönitz <poenitz@gmx.net>
2474 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2476 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2478 * text2.C (setCursorFromCoordinates): switch to absolute coords
2480 (cursorDown): adjust
2481 * text3.C (dispatch): adjust
2483 2004-02-16 André Pönitz <poenitz@gmx.net>
2485 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2488 * cursor_slice.[Ch]: remove unneeded acessor function
2490 * lyxtext.h: rename rtl() to isRTL()
2498 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2500 * rowpainter.C (paintSelection): coord fix
2502 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2504 * Spacing.C: compile fix
2506 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2508 * cursor.C (dispatch): restore current_ before returning
2510 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2512 * text2.C (cursorUp, cursorDown): fix coords
2515 2004-02-12 André Pönitz <poenitz@gmx.net>
2520 * text3.C: add LCursor & parameter to most cursor movement functions
2521 remove usage of LyXText::cursorRow() and cursorPar()
2523 * cursor.[Ch]: add textRow() needed members
2526 * BufferView_pimpl.C:
2529 * BufferView_pimpl.C: adjust
2531 2004-02-11 André Pönitz <poenitz@gmx.net>
2535 * BufferView_pimpl.C: shift undo/redo handling
2537 * cursor.[Ch]: fix mathed crash
2540 * lyxtext.h: move selectionAsText to LCursor
2548 * rowpainter.C: fix excessive drawing
2550 2004-02-06 André Pönitz <poenitz@gmx.net>
2553 * BufferView_pimpl.[Ch]:
2554 * text3.C: move some text specific LFUN handling
2556 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2558 * text3.C (checkInsetHit): adjust coords
2559 * text2.C (getColumnNearX): adjust coords
2560 (edit): adjust coords
2561 * text.C (getRowNearY): add two asserts
2563 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2566 * format.C: add using std::distance to compile on gcc 2.95/stlport
2568 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2570 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2572 2004-02-04 André Pönitz <poenitz@gmx.net>
2574 * BufferView.[Ch] (insertInset):
2575 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2580 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2582 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2583 on the default clause of the switch
2584 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2585 wasn't catched by LCursor::dispatch
2587 2004-02-03 André Pönitz <poenitz@gmx.net>
2590 * cursor.[Ch]: some additional asserts
2592 * undo.[Ch]: remove LyXText dependency in interface
2596 * lyxtext.h (firstPar, lastPar): remove dead functions
2601 * paragraph.[Ch]: adjust
2603 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2605 * lyxfind.C (find): fix argument order in call to ::find
2607 2004-02-02 André Pönitz <poenitz@gmx.net>
2609 * cursor.[Ch]: remove direct access to anchor
2611 * text.C: remove findText() hack
2613 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2615 * iterators.[Ch] (lockPath): remove in favour of...
2616 * BufferView.[Ch] (setCursor): this addition
2617 * BufferView.C (putSelectionAt): adjust
2618 * undo.C (performUndoOrRedo): adjust
2619 * lyxfunc.C (dispatch): adjust
2621 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2623 * iterators.C (lockPath): add a missing slice
2624 * undo.C (performUndoOrRedo): remove redundant positioning code
2626 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2628 * vc-backend.C (scanMaster): ";" -> ';'
2630 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2632 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2633 std::binary_function
2635 * lyxtextclass.C (compare_name): rename to...
2636 (LayoutNamesEqual): ...this
2638 * lyxlex_pimpl.C (compare_tags): inherit from
2639 std::binary_function, put back into anon namespace
2641 * lyxfind.C (MatchString): inherig from std::binary_function
2642 (findChange): use empty() istead of !size()
2644 * format.C (FormatNamesEqual): new functor
2651 * converter.C (compare_Converter): rename to...
2652 (ConverterEqual): ...this, and fixup a bit.
2653 (getConverter): use it, and make function const
2654 (getNumber): use it, and make function const
2658 * bufferlist.C: add using boost::bind
2660 * MenuBackend.C (MenuNamesEqual): new functor
2661 (hasMenu): use it, and make function const
2662 (hasSubmenu): use nested bind to get rid of compare_memfun.
2664 2004-01-30 André Pönitz <poenitz@gmx.net>
2666 * BufferView_pimpl.C:
2669 * cursor_slice.[Ch]:
2672 * paragraph_funcs.C:
2673 * paragraph_funcs.h:
2677 * text3.C: move some of the edit(x,y) handling to the insets
2678 some coordinate changes.
2680 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2682 * text.C: add using statements for std::advance and std::distance
2684 * paragraph.C: add using statement for std::distance
2686 * lyxfind.C: add using statement for std::advance
2688 * cursor.C (region): remove std:: from swap
2689 (openable): use nucleus in stead of operator->
2691 * BufferView.C: add using statements for std::distance and std::swap
2693 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2695 * iterators.C: Remove the pimple, move the needed structures to
2696 the header file. Create accessor for the positions stack.
2697 (asPosIterator): remove function
2699 * PosIterator.C (PosIterator): move constructors to top of file
2700 (PosIterator): reimplement the constructor taking a ParIterator in
2702 (setFrom): new function
2703 (operator!=): inline it
2705 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2707 * lyxfind.C (replaceAll): use std::advance
2709 * iterators.h: inherit from std::iterator.
2711 * PosIterator.C (advance, distance): remove
2712 * PosIterator.h: interit from std::iterator.
2714 2004-01-26 André Pönitz <poenitz@gmx.net>
2717 * BufferView_pimpl.[Ch]:
2721 * bufferview_funcs.C:
2731 * output_linuxdoc.C:
2732 * output_plaintext.C:
2734 * paragraph_funcs.[Ch]:
2735 * paragraph_pimpl.[Ch]:
2741 * text3.C: more IU: dumps most of the rest of the mathcursor
2742 implementation into cursor.[Ch]; "globalize" a bit of it.
2744 2004-01-25 Angus Leeming <leeming@lyx.org>
2746 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2748 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2750 * LaTeXFeatures.h: add nice_ and nice() const
2751 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2753 2004-01-20 André Pönitz <poenitz@gmx.net>
2756 * BufferView_pimpl.C:
2758 * bufferview_funcs.C:
2760 * cursor_slice.[Ch]:
2771 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2772 LCursor and mathcursor parts to LCursor and InsetBase.
2774 2004-01-15 André Pönitz <poenitz@gmx.net>
2776 * cursor_slice.[Ch]: add a few covienience functions
2778 * funcrequest.[Ch]: remove BufferView * member
2780 * BufferView_pimpl.C:
2787 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2789 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2791 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2792 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2794 2004-01-13 André Pönitz <poenitz@gmx.net>
2797 * lyxtext.h: hide cursor and selection anchor behind accessor function
2800 * BufferView_pimpl.[Ch]:
2802 * bufferview_funcs.C:
2812 * cursor_slice.[Ch]: some integer type changes for inset unification
2814 * lyxcursor.[hC]: remove, it's CursorSlice now.
2817 * BufferView_pimpl.[Ch]:
2818 * bufferview_funcs.C:
2824 * textcursor.[Ch]: adjust
2826 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2828 * text2.C (undoSpan): add and use
2829 * text.C (breakParagraph): use undoSpan (fix bug 578)
2832 2004-01-08 Angus Leeming <leeming@lyx.org>
2834 * BufferView_pimpl.C (MenuInsertLyXFile):
2835 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2836 * lyxfunc.C (menuNew, open, doImport):
2837 FileFilterList change to the FileDialog open and save functions.
2839 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2841 * ShareContainer.h: make isEqual and isUnique adaptable
2843 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2845 2004-01-07 Angus Leeming <leeming@lyx.org>
2848 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2850 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2852 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2853 functions replacing find, replace and replaceAll.
2855 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2856 LFUN_WORDFIND(FORWARD|BACKWARD).
2858 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2860 * text.C (breakParagraph): remove an outdated #warning
2862 2004-01-07 André Pönitz <poenitz@gmx.net>
2864 * lyxfind.C: somewhat clearer logic
2866 * text.C: prevent crash in cursorX on unitialized row cache
2868 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2870 * lyxcursor.[Ch] (operator>): add
2871 * textcursor.C (selStart, selEnd): use std::min and std::max
2873 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2875 * Chktex.C: include boost/format.hpp
2877 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2879 * InsetList.C: replace functor MathcIt with adaptable functor
2881 (insetIterator): modify accordingly
2883 * BranchList.h: move the BranchNamesEqual functor here from...
2884 * BranchList.C: ... to here
2886 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2888 (add): replace a finding loop with std::find_if.
2890 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2892 * output_docbook.C: moving LatexParam functionality into
2895 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2897 * buffer.C: increment format to 229.
2899 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2902 * lyx_sty.[Ch]: remove minipageindent_def
2908 * text3.C: remove LFUN_INSET_MINIPAGE
2910 2003-12-28 Angus Leeming <leeming@lyx.org>
2912 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2914 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2916 * text2.C (setParagraph): fix off-by-one crash
2918 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2920 * output_docbook.C: header stuff for AGU
2922 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2924 * text2.C (redoCursor): remove
2927 * BufferView_pimpl.C: remove calls to redoCursor and
2928 setCursor(cursor.par(), cursor.pos()) all around
2930 2003-12-15 Angus Leeming <leeming@lyx.org>
2932 * buffer.C: up the format to 228.
2934 2003-12-15 André Pönitz <poenitz@gmx.net>
2936 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2941 * BufferView_pimpl.C:
2950 2003-12-15 Angus Leeming <leeming@lyx.org>
2952 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2953 than getFromGUIName to manipulate the color.
2955 2003-12-14 Angus Leeming <leeming@lyx.org>
2957 * BranchList.[Ch]: minimize the API.
2958 (Branch::getBranch, getColor): now return a 'const &'.
2959 (Branch::setSelected) now returns a bool set to true if the
2960 selection status changes.
2961 (BranchList::clear, size, getColor, setColor, setSelected,
2962 allBranches, allSelected, separator): removed.
2963 (BranchList::find): new functions, returning the Branch with
2965 (BranchList::add, remove): return a bool indicating that
2966 the operation was successful.
2968 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2969 new InsetBranch::isBranchSlected member function.
2971 * LColor.[Ch]: mimimize the API.
2972 (fill): renamed as addColor and made private.
2973 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2974 versions of these functions taking a string arg have been removed.
2976 * bufferparams.C (readToken):
2977 * lyxfunc.C (dispatch):
2978 * lyxrc.C (read): changes due to the altered BranchList and
2981 * factory.C (createInset, readInset): changes due to altered
2984 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2987 * lyxfunc.C: remove insetminipage. "minipage-insert"
2988 now produces a frameless minipage box inset.
2990 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2992 * textcursor.[Ch] (selStart,selEnd): add new methods
2993 remove selection::start, end, use LyXCursor::operator<
2994 * lyxcursor.[Ch] (operator<): add
2995 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2996 * BufferView.[Ch] (unsetXSel): add
2997 * text2.C (clearSelection): use unsetXSel,adjust
3000 * rowpainter.C: adjust
3001 * bufferview_funcs.C (put_selection_at): adjust
3003 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3005 * BufferView_pimpl.C: small coord. correction
3007 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3009 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3010 dragging over the splash screen.
3012 2003-12-11 Angus Leeming <leeming@lyx.org>
3014 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3015 as it is now handled in LyXText::dispatch.
3017 * text3.C (doInsertInset): remove a level of nesting.
3019 2003-12-11 Angus Leeming <leeming@lyx.org>
3021 * factory.C (createInset): changes due to the changed interface to
3022 InsetCommandMailer::string2params.
3024 2003-12-10 Angus Leeming <leeming@lyx.org>
3026 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3027 'dialog-show-new-inset <inset name>'
3029 2003-12-10 Angus Leeming <leeming@lyx.org>
3031 * buffer.C: up the format to 227.
3033 * factory.C: the box inset is now identified simply by 'Box'.
3035 2003-12-10 Angus Leeming <leeming@lyx.org>
3037 * buffer.C: up the format to 226.
3039 * factory.C: the note inset is now identified simply by 'Note'.
3041 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3043 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3044 when a pit is enough. Standarize a couple of loops.
3046 2003-12-05 Angus Leeming <leeming@lyx.org>
3048 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3049 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3050 data to the re-worked "log" dialog.
3052 2003-12-03 André Pönitz <poenitz@gmx.net>
3058 * paragraph_funcs.C:
3060 * text2.C: use Inset::getText instead of Inset::getParagraph
3062 2003-12-03 André Pönitz <poenitz@gmx.net>
3066 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3067 InsetText::read() as LyXText::read()
3069 2003-12-02 Angus Leeming <leeming@lyx.org>
3071 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3072 type. Add a comment in the implementation that the function uses
3073 the stream's bad() function rather than fail() as the std::streams
3076 2003-12-02 André Pönitz <poenitz@gmx.net>
3078 * lyxlex.[Ch]: make interface more similar to std::stream
3080 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3082 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3084 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3086 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3088 * vspace.[Ch]: remove VSpace::NONE
3090 2003-12-01 André Pönitz <poenitz@gmx.net>
3093 * lyxtext.h: move ParagraphList member to LyXText
3094 rename LyXText::ownerParagraphs to LyXText::paragraph
3097 * bufferview_funcs.C:
3107 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3109 * undo.C: fix cursor positioning
3111 2003-12-01 John Levon <levon@movementarian.org>
3113 * BufferView_pimpl.C: fix a crash on exit with
3116 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3118 * BranchList.C: fix setSelected() method.
3120 2003-11-28 André Pönitz <poenitz@gmx.net>
3122 * ParagraphParameters.[Ch]:
3123 * ParameterStruct.h: remove space above/below from Paragraph to
3126 * BufferView_pimpl.C:
3132 * paragraph_funcs.C:
3138 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3140 * factory.C: Syntax change for CharStyles
3142 2003-11-28 André Pönitz <poenitz@gmx.net>
3147 * buffer.[Ch]: move LyXText member
3149 2003-11-28 André Pönitz <poenitz@gmx.net>
3151 * BufferView.[Ch]: make LyXText * text a private member
3153 * BufferView_pimpl.C:
3164 * output_plaintext.C: cleanup
3166 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3169 * lyxtextclass.[Ch]: parametrize SGML document header
3171 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3174 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3177 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3179 * text2.C (setFont): rework using PosIterator (no more recursive)
3180 (setCharFont): no more needed
3181 (setLayout): no more selection cursors fiddling (done by redoCursor)
3182 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3183 destroy remaining ones)
3185 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3187 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3189 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3192 * text3.C: adjust + re-allow multi par depth changes
3193 * textcursor.C: simplify a bit
3195 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3201 * src/output_docbook.C:
3202 * src/output_latex.C:
3207 * src/text2.C: Introducing a number of tags parametrizing various
3208 XML formats that we may want to support
3210 2003-11-25 André Pönitz <poenitz@gmx.net>
3212 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3214 * lyxtext.h (leftMargin/rightMargin): simplify interface
3221 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3223 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3224 master file to any child files. Fixes bug 546.
3226 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3228 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3230 2003-11-24 André Pönitz <poenitz@gmx.net>
3232 * rowpainter.C: simplification
3234 * text2.C (updateCounters): remove call to redoParagraph on
3235 changed labels as this is far too expensive.
3237 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3239 * converter.C (convert): fix a crash: this function gets
3240 called with buffer == 0 from importer code.
3242 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3244 * text3.C (cursorPrevious): make sure that we do not compare
3245 iterators form different containers.
3248 * rowpainter.C (paintSelection): make sure that we do not compare
3249 iterators from different containers.
3251 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3252 iterators from different ParagraphList containers.
3255 * text2.C (LyXText): change order of initialization slightly
3256 (operator=): new function. copy all variables except cache_par_
3257 (moveUp): make sure that we do not compare iterators from
3258 different ParagraphList constainers.
3261 * text.C (firstPar): new function
3262 (lastPar): new function
3263 (endPar): new function
3265 * lyxtext.h: move things around and group public functions, public
3266 variables, private functions, private variables
3268 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3270 * factory.C: change call to InsetERT constructor to avoid
3271 additional invocation of method status
3272 * text2.C (toggleInset): remove redundant update() call
3273 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3274 instead of a Bufferview pointer
3276 2003-11-21 André Pönitz <poenitz@gmx.net>
3278 * rowpainter.C: simplification
3280 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3282 * text3.C (dispatch): make possible to extend a word/row selection
3285 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3287 * lyxtext.h: x0_,y0_ -> xo_,yo_
3288 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3289 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3290 * rowpainter.C (paintRows): paint full paragraphs
3292 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3294 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3297 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3299 * lyxtext.h: add x0_, y0_
3300 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3301 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3303 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3305 * text2.C (setCursorIntern): move the x_target update here *
3306 * text3.C: change some bv() to true/false in calls to
3307 cursorUp/Down/Right/Left
3308 * cursor.C: use helper function.
3310 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3312 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3313 * paragraph_funcs.[Ch]: correct comment
3314 * rowpainter.C: do not paint selections away from bv->cursor()
3315 Fix a long standing selection painting bug.
3316 * text3.C: generalize mouse-selection code to LyXTexts other that
3318 * textcursor.C: do not use y coords if we can use par offsets
3320 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3322 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3323 cursor position after e.g. inset insert)
3325 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3327 * lyxfind.C (replace): adjust to locking removal + some
3330 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3332 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3335 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3338 * output_docbook.C: XML sanitation: new layout
3339 parameters InnerTag and CommandDepth
3341 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3343 * BufferView_pimpl.C:
3345 * text3.C: Fix the insertion and modification of button-style
3348 2003-11-13 André Pönitz <poenitz@gmx.net>
3350 * InsetList.[Ch]: remove deleteLyXText
3352 * paragraph.[Ch]: cache beginOfBody position
3357 * text3.C: remove superfluous update() calls
3361 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3363 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3364 * BufferView.C (fitLockedInsetCursor): remove
3365 * cursor.[Ch] (getDim): add
3366 * text.C (getRowNearY): add faster version
3367 * text3.C: remove some update calls
3369 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3381 * text3.C: The Character Style /XML short element patch.
3383 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3386 * factory.C: Small step to solving 'unable to insert some insets'
3389 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3391 * cursor.[Ch] (updatePos): new function for updating the y
3392 position of the tip inset
3393 * bufferview_funcs.C (put_selection_at):
3394 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3396 2003-11-11 André Pönitz <poenitz@gmx.net>
3398 * text.C: remove big comment on invalid Paragraph pointers as it is
3401 2003-11-11 André Pönitz <poenitz@gmx.net>
3403 * text_funcs.[Ch]: merge with ...
3411 * Makefile.am: remove text_funcs.[Ch]
3413 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3415 * cursor.C (getPos): return absolute cached y coord
3417 * BufferView_pimpl.C (fitCursor): new simplistic code
3418 (workAreaDispatch): add a fitCursor call
3420 2003-11-10 André Pönitz <poenitz@gmx.net>
3423 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3425 2003-11-10 André Pönitz <poenitz@gmx.net>
3427 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3428 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3429 indicate that the cursor needs to leave an inset
3431 * lyxtext.h: remove inset locking
3433 * cursor.[Ch]: re-implement functionality provided by inset locking
3436 * BufferView_pimpl.[Ch]:
3438 * bufferview_funcs.[Ch]:
3450 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3452 * PosIterator.[Ch]: replace the stack with a vector, add inset
3454 * iterators.[C]: adjust
3456 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3458 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3460 * paragraph_funcs.C (readParToken): put the correct id in the
3461 error item, not the id of the top paragraph
3463 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3465 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3466 * bufferview_funcs.C (put_selection_at): use the above
3468 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3470 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3472 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3474 * output_linuxdoc.h:
3475 * output_plaintext.h:
3477 * output_docbook.h: add #include statements
3479 2003-11-05 José Matos <jamatos@lyx.org>
3481 * output_docbook.[Ch]:
3482 * output_latex.[Ch]:
3483 * output_linuxdoc.[Ch]:
3484 * output_plaintext.[Ch]: New files for output formats.
3485 * output.[Ch]: New file for helper functions.
3488 * paragraph_funcs.[Ch]: output functions moved to new files.
3490 * outputparams.h: rename of latexrunparams.h
3498 * paragraph_funcs.[Ch]:
3499 * paragraph_pimpl.[Ch]:
3500 * tabular.[Ch]: rename ascii to plaintext
3501 and LatexRunParams to OutputParams.
3503 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3505 * iterators.[Ch] (text): require bv argument
3506 * undo.C (recordUndo):
3507 * lyxfunc.C (dispatch):
3508 * bufferview_funcs.C (put_selection_at): adjust
3510 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3512 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3514 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3516 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3519 2003-11-04 André Pönitz <poenitz@gmx.net>
3521 * cursor.[Ch]: restructure
3524 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3526 * iterators.[Ch] (asCursor): remove
3528 * lfuns.h: remove LFUN_INSET_EDIT
3534 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3536 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3538 * lyxfind.[Ch]: complete overhaul
3539 * BufferView_pimpl.C:
3541 * paragraph.[Ch] (insert): add
3543 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3547 * text.C: remove dead spellcheck code
3549 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * dispatchresult.h: add a val setter
3553 * cursor.C (dispatch): use a tempvar for data_[i]
3555 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3557 * PosIterator.[Ch]: compile fix
3559 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3561 * text.C (cursorPar): deactivate the cursor cache
3563 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3565 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3567 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * text3.C (dispatch): adjust for new DisptchResult semantics.
3571 * lyxfunc.C (dispatch): handle update when return from
3572 Cursor::dispatch, adjust for new DispatchResult semantics.
3574 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3575 DispatchResult(true) mean to not update. Add class functions for
3576 setting dispatched and update, as well as reading.
3578 * cursor.C (dispatch): don't handle update here
3580 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3583 * trans_mgr.C: adjust
3585 * paragraph_funcs.C (readParToken): exception safety
3587 * lyxvc.h: store the vcs pointer in a scoped_ptr
3590 * lyxsocket.C (serverCallback): exception safety
3592 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3594 * ispell.C (clone): make it return a auto_ptr
3596 * factory.C (createInset): exception safety
3597 (readInset): exception safety
3599 * bufferlist.C (newBuffer): exception safety
3601 * Thesaurus.C (Thesaurus): use initialization for aik_
3603 * MenuBackend.C (expandToc): exception safety.
3605 2003-11-03 André Pönitz <poenitz@gmx.net>
3609 * bufferview_funcs.C: remove getInsetFromId()
3612 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3618 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3620 * PosIterator.C (distance, advance): new
3621 * bufferview_funcs.[Ch] (put_selection_at): new
3622 * iterators.[Ch] (lockPath): new
3624 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3626 * iterators.[Ch] (asPosIterator): added
3627 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3628 * PosIterator.[Ch]: added
3630 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * cursor.C (dispatch):
3635 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3637 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3638 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3639 contructor, add a class function dispatched. Remove operator>=
3641 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3643 * debug.C: only use the default constructor for debugstream
3646 * main.C (main): include debug.h and setup the lyxerr streambuf
3649 2003-10-31 José Matos <jamatos@lyx.org>
3651 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3653 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3654 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3655 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3656 * paragraph_pimpl.C (simpleTeXSpecialC):
3657 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3658 add LatexRunParams argument.
3660 * exporter.C (Export): change call accordingly.
3662 * latexrunparams.h: add new member to take care of the other backends.
3663 2003-10-30 José Matos <jamatos@lyx.org>
3665 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3666 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3667 factorise code for paragraph output.
3669 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3672 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3674 * text3.C (dispatch):
3675 * lyxfunc.C (dispatch):
3676 * cursor.C (dispatch):
3677 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3679 * dispatchresult.h: make the dispatch_result_t ctor explicit
3681 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3684 * buffer.C: small refactoring of docbook stuff
3686 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3688 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3691 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3694 operator dispatch_result_t, and operators for == != and >=
3696 * cursor.C (dispatch): adjust for operator dispatch_result_t
3697 removal. comment out call to update
3699 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3701 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3712 * dispatchresult.h: new file, DispatchResult broken out of
3715 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3717 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3719 * text.C (rowBreakPoint): put a hack inside #if 0
3721 2003-10-28 André Pönitz <poenitz@gmx.net>
3725 * paragraph_funcs.C:
3728 * text2.C: general cleanup (lots of small stuff)
3730 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3732 * text2.C (cursorEnd): simple fix to the "end key goes to one
3733 before the end on last row" bug
3735 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3737 * text.C (backspace): fix the "zombie characters"
3739 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3741 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3743 2003-10-27 André Pönitz <poenitz@gmx.net>
3745 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3747 * factory.C: handle new InsetPagebreak, InsetLine
3749 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3750 and move handling into new InsetPagebreak, InsetLine
3752 * BufferView_pimpl.C:
3754 * ParagraphParameters.C:
3755 * ParameterStruct.h:
3760 * paragraph_funcs.C:
3761 * paragraph_pimpl.C:
3767 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3770 * lyxrow_funcs.[Ch]:
3776 * text3.C: remove lastPos uses in favour of Row::endpos
3778 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3780 * undo.C (performUndoOrRedo): fix two crashes by setting a
3781 cursor by hand and reordering some calls. Use bv->lockInset instead
3782 of inset->edit because the latter loses cursor information
3784 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3786 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3788 (rowBreakPoint): fix width. change point to point + 1.
3789 Add a missing check.
3791 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3794 * lyxfunc.C: fix (at least partly) the problems
3795 with the Nav menu and headers inside branch insets
3798 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3800 * paragraph.C (getChar): add strong asserts
3802 * lyxrow_funcs.C (lastPos): remove hideous hack
3804 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3805 (fill): adjust to that (avoid an infinite loop)
3807 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3809 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3811 2003-10-23 André Pönitz <poenitz@gmx.net>
3813 * RowList_fwd.h: change list<> to vector<> to gain speed
3814 after suggestion from Alfredo
3816 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3818 * lyxtext.h: move the bidi stuff from here...
3821 * Bidi.[Ch]: ... to here
3823 2003-10-23 André Pönitz <poenitz@gmx.net>
3826 * text.C (isLastRow, isFirstRow): new functions
3828 * paragraph.h: new width cache member
3830 * rowpainter.C: replace RowList::iterator with Row & where possible
3832 * lyxfunc.C: replace several view()->text with a single call
3834 * toc.C: fix 'unused' warning
3836 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3839 when woring with stream::pos_type
3840 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3842 2003-10-22 André Pönitz <poenitz@gmx.net>
3845 * text.C: use Row & instead of RowList::iterator
3847 * lyxrow.h: rename end() to endpos()
3853 2003-10-22 Angus Leeming <leeming@lyx.org>
3855 * buffer.[Ch] (fully_loaded): new member function, returning true
3856 only when the file has been loaded fully.
3857 Used to prevent the premature generation of previews and by the
3858 citation inset to prevent computation of the natbib-style label.
3860 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3861 templates are all set up.
3863 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3865 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3867 * text.C: fixed an "oops" in the "is a bit silly"
3870 2003-10-21 André Pönitz <poenitz@gmx.net>
3872 * FuncStatus.[Ch]: small stuff, whitespace
3874 * lyxfont.[Ch]: operator<<() for debug reasons
3878 * lyxtext.h: whitespace, spelling
3880 * paragraph.C: naming of variables
3883 * text2.C: small stuff
3886 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3888 * text.C: (1) finish off the inset display() work;
3889 (2) fix the "is a bit silly" bug (accessing char
3892 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3894 * text.C: re-introduce display() for insets, fixing the
3895 various bugs (stretch of line above, math inset
3898 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3900 * text.C (rightMargin): remove spurious semicolon
3902 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3905 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3907 * text3.C: fix one crash due to wrong cursor def
3909 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * vc-backend.C (scanMaster): make the regex static
3913 * LaTeX.C (scanAuxFile): make the regexs static
3915 * text3.C (doInsertInset, dispatch, dispatch):
3916 * text2.C (cursorUp, cursorDown):
3917 * text.C (selectNextWordToSpellcheck):
3918 * BufferView_pimpl.C (dispatch):
3919 * lyxfunc.C (dispatch): localDispatch -> dispatch
3921 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3923 * lyxsocket.C: include <cerrno>
3925 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * lyxfunc.C (dispatch): remove textcache stuff
3929 * bufferlist.C (release): remove textcache stuff
3932 * TextCache.C: delete file
3933 * TextCache.h: delete file
3935 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3937 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3938 delete of the bv_->text.
3939 (resizeCurrentBuffer): remove texcache stuff
3940 (workAreaResize): ditto
3942 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3947 2003-10-16 André Pönitz <poenitz@gmx.net>
3954 * text3.C: speed up by storing y positions per paragraph plus per-row
3955 offset instead of having a 'full' y position in the row.
3957 2003-10-15 André Pönitz <poenitz@gmx.net>
3961 * undo.[Ch]: make undo aware of inner insets
3963 2003-10-14 Angus Leeming <leeming@lyx.org>
3965 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3966 static member functions LyX::ref() and LyX::cref.
3967 (lastfiles): new accessor functions for the new lastfiles_ member var.
3968 (addLyXView, views_): add a new LyXView to the list of views_.
3969 (updateInset): loop over all LyXViews to call their own updateInset
3970 member function, returning a pointer to the Buffer owning the inset.
3972 * BufferView_pimpl.C (loadLyXFile):
3973 * MenuBackend.C (expandLastfiles):
3974 * bufferlist.C (MenuWrite, QuitLyX):
3975 lastfiles is no longer a global variable.
3976 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3978 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3979 static function. Access through LyX::cref().emergencyCleanup().
3981 2003-10-14 André Pönitz <poenitz@gmx.net>
3983 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3985 * undo.[Ch]: restoring part of 'undo in insets'
3988 * undo_funcs.[Ch]: merge with undo.[Ch]
3990 * tabular.C: small cleansing stuff
3992 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3994 * paragraph_funcs.C (readParToken): report unknown insets as error
3995 boxes. Use the outer paragraph as location (also for unknown
3998 * factory.C (readInset): do not abort on reading an unknown inset.
3999 Eat it and return 0.
4001 2003-10-13 Angus Leeming <leeming@lyx.org>
4003 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4005 * lyxrc.C: displayTranslator is now a function,
4006 declared in GraphicsTypes.h.
4008 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4010 * format.C: new placeholder $$a to pass the socket address.
4012 * bufferlist.[Ch]: new function getBufferFromTmp.
4014 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4015 files in the temporary dir.
4017 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4019 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4021 * Makefile.am: add lyxsocket.[Ch].
4023 * lyx_main.C (error_handler): handle SIGPIPE.
4025 2003-10-13 André Pönitz <poenitz@gmx.net>
4027 * BufferView_pimpl.C:
4032 * undo_funcs.[Ch]: use paroffset_type instead of
4033 ParagraphList::iterators to prevent multiple conversion
4034 (and get a more robust interface)
4036 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4038 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4040 * text3.C (dispatch): ditto
4042 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4045 move the onlyfile, use onlyfile instead of foundfile in a couple
4048 * DepTable.C (update): flush the error stream a bit more
4050 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4052 * lyxserver.C (callback): adjust
4054 * lyxfunc.C (getStatus): add a missing brace in commented code
4055 (ensureBufferClean): reindent
4056 (dispatch): delete version taking a string
4058 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * LaTeX.C (deplog): move found file handlig from here...
4061 (handleFoundFile): .. to new function here.
4062 (deplog): make sure to discover several files mentioned on the
4065 2003-10-10 André Pönitz <poenitz@gmx.net>
4072 * text3.C: fix some of the tabular crashes
4074 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4076 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4078 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4080 2003-10-09 André Pönitz <poenitz@gmx.net>
4082 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4085 * BufferView_pimpl.C:
4086 * bufferview_funcs.C:
4097 * undo_funcs.C: adjust
4099 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4101 * text2.C (incrementItemDepth): new function, use a backtracking
4102 algorithm to discover the correct item depth.
4103 (resetEnumCounterIfNeeded): new function, use a backtracking
4104 algorithm to discover if counter reset is needed.
4105 (setCounter): use them. Simplify a bit. Add different labels for
4106 different item depths for itemize.
4108 * paragraph.C (Paragraph): remove initialization of enumdepth
4111 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4112 enumerate and itemize. Change the type of itemdepth to signed char.
4114 2003-10-08 André Pönitz <poenitz@gmx.net>
4116 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4121 * tabular.[Ch]: fix crash after 'row-insert'
4123 2003-10-08 Angus Leeming <leeming@lyx.org>
4125 Fix doxygen warnings.
4127 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4128 Remove CutAndPaste:: prefix from header file declaration.
4130 * LColor.h (fill): remove LColor:: prefix from declaration.
4132 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4133 use lyx::depth_type rather than Paragraph::depth_type so that
4134 header file and .C file match.
4136 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4138 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4139 * aspell.C: \file aspell_local.C -> \file aspell.C
4140 * gettext.C: \file gettext.C -> \file src/gettext.C
4141 * gettext.h: \file gettext.h -> \file src/gettext.h
4142 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4143 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4144 * text.C: \file text.C -> \file src/text.C
4146 * toc.C: move comment so that doxygen is not confused.
4148 2003-10-07 Angus Leeming <leeming@lyx.org>
4150 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4152 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4155 * aspell_local.h: add forgotten std::string's.
4157 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4164 * text3.C: The Box patch. Fancybox support, minipage, parbox
4166 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4172 * ParagraphParameters.h:
4182 * lyxtextclasslist.h:
4185 * paragraph_pimpl.C:
4186 * textcursor.h: add <string> and other small fixes to make Lars'
4187 std::string patch compile with STLport.
4189 2003-10-06 Angus Leeming <leeming@lyx.org>
4191 * LColor.h: Add missing #include <string>.
4193 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * All most all file in all subdirs: Make <string> be the prefered
4196 way of getting to std::string, add using declarations.
4198 2003-10-06 André Pönitz <poenitz@gmx.net>
4200 * metricsinfo.C: initialize LyXFont before changing attribute.
4201 (fixes the 'math in \emph is upright' bug)
4203 2003-10-06 André Pönitz <poenitz@gmx.net>
4205 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4207 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4210 * paragraph_pimpl.C: Small fixes to build using STLport
4212 2003-10-02 André Pönitz <poenitz@gmx.net>
4215 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4217 2003-10-01 André Pönitz <poenitz@gmx.net>
4219 * factory.C: assert early
4221 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * lyx_main.C: remove the global debug object
4225 * debug.h: adjust for new debugstream
4227 * debug.C: adjust for new debugstream and keep the global debug
4230 2003-09-22 Angus Leeming <leeming@lyx.org>
4232 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4233 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4234 an incomplete class LyXFont.
4236 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4238 * factory.C: bug fix in branches
4240 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * lyxfunc.C (processKeySym): adjust
4244 (dispatch): change arg name from ev to func, adjust
4245 (sendDispatchMessage): ditto
4247 * lyx_main.C (defaultKeyBindings): adjust keybindings
4248 (deadKeyBindings): ditto
4250 * kbsequence.C (addkey): return a FuncRequest
4252 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4254 * kbmap.C (bind): take a FuncRequest as arg, adjust
4257 (defkey): change to take a FuncRequest as arg, adjust
4258 (findbinding): take a FuncRequest as arg, adjust.
4260 * funcrequest.h (operator=): added
4262 * funcrequest.C (FuncRequest): default kb_action changed from
4263 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4265 * buffer.C (dispatch): simplify
4266 (dispatch): adjust to take a FuncRequest as arg, adjust
4268 * boost.C (assertion_failed): change assertion message slightly
4270 * ToolbarBackend.C (read): simplify
4272 * MenuBackend.C (binding): adjust call to findbinding, add a
4273 message if no binding is found.
4275 (expandToc): correct by adding a empty FuncRequest
4277 * LyXAction.C: include <boost/assert.hpp>
4278 (isPseudoAction): delete function
4279 (LookupFunc): change name to...
4280 (lookupFunc): this. change return type to FuncRequest.
4281 (getActionName): take kb_action as arg, simplify
4282 (funcHasFlag): add an assert, simplify.
4284 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * toc.C (action): return a FuncRequest, simplify
4288 * lyxfunc.C (processKeySym): adjust
4289 (getStatus): delete version that takes an int.
4291 (dispatch): delete version that takes action as int
4293 (sendDispatchMessage): simplify and adjust
4295 * funcrequest.C (getArg): take unsigned int as arg
4297 * ToolbarBackend.C (read): adjust
4298 (add): delete version that takes func as a string.
4299 (getIton): take a FuncRequest as arg
4301 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4304 * MenuBackend.C (MenuItem): add a new construct that only takes a
4305 Kind, simplify the constructor use for submenus.
4307 (expandLastfiles): adjust
4308 (expandDocuments): adjust
4309 (expandFormats): adjust
4310 (expandFloatListInsert): adjust
4311 (expandFloatInsert): adjust
4312 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4314 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4315 Remove class variables lyx_pseudo_map and lyx_arg_map
4317 * LyXAction.C (searchActionArg): delete function
4318 (getPseudoAction): delete function
4319 (retrieveActionArg): delete function
4320 (LookupFunc): make it return kb_action, simplify.
4321 (getActionName): simplify
4323 * factory.C (createInset): fix new bug
4325 2003-09-19 Angus Leeming <leeming@lyx.org>
4327 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4328 masterFilename_ parameter in the include inset.
4330 * factory.C (createInset): changes due to the changes to InsetInclude.
4332 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4334 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4336 2003-09-18 Angus Leeming <leeming@lyx.org>
4339 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4340 Inset::fillWithBibKeys.
4341 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4343 2003-09-18 Angus Leeming <leeming@lyx.org>
4345 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4347 (ctor): pass and store a 'Buffer const &'
4348 (buffer): new member function.
4350 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4351 '*this' to the LaTeXFeatures ctor.
4353 2003-09-18 Angus Leeming <leeming@lyx.org>
4359 * text.C: rename EnumLColor as LColor_color.
4361 2003-09-18 Angus Leeming <leeming@lyx.org>
4363 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4364 remove #include "insets/insetbase.h" from cursor.h.
4366 2003-09-18 Angus Leeming <leeming@lyx.org>
4368 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4369 InsetOld_code to remove #include "inset.h".
4371 * iterators.C: add #include "insets/inset.h"
4373 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4375 * BufferView.C: remove more locking stuff that apparently doesn't
4376 do anything sensible.
4378 2003-09-16 André Pönitz <poenitz@gmx.net>
4381 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4384 2003-09-16 Angus Leeming <leeming@lyx.org>
4386 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4388 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4391 * paragraph.h: remove #include "lyxfont.h". Forward declare
4394 2003-09-16 Angus Leeming <leeming@lyx.org>
4396 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4397 of support/textutils.h.
4398 (isWord): move the contents of support/textutils.h's IsWordChar here.
4404 * text2.C: add #include "paragraph.h".
4407 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4409 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4415 * LaTeX.C: use namespace alias for lyx::support::os
4417 2003-09-16 Angus Leeming <leeming@lyx.org>
4420 * bufferview_funcs.C:
4423 * paragraph_pimpl.C:
4425 * text.C: add #include "LColor.h".
4427 2003-09-16 Angus Leeming <leeming@lyx.org>
4429 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4430 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4432 Store the FontBits::color variable as an int rather than as an
4433 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4436 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4437 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4438 string calls together.
4440 * lyxrc.C: add #include "LColor.h".
4442 2003-09-15 Angus Leeming <leeming@lyx.org>
4444 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4447 2003-09-15 Angus Leeming <leeming@lyx.org>
4449 * LColor.h: add an EnumLColor wrapper for LColor::color.
4451 * lyxfont.[Ch] (color, setColor, realColor):
4452 * lyxtext.h, text.C (backgroundColor):
4453 pass EnumLColor args to/from the functions, rather than LColor::color
4457 * lyxtext.h: forward declare EnumLColor.
4459 * lyx_main.C: add #include "LColor.h".
4461 2003-09-15 Angus Leeming <leeming@lyx.org>
4463 * .cvsignore: add lyx-gtk.
4465 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * ParagraphParameters.C
4474 * bufferview_funcs.C
4484 * vc-backend.C: remove usage of STRCONV
4486 2003-09-15 Angus Leeming <leeming@lyx.org>
4488 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4489 explicitly define the color passed to the painter.
4491 2003-09-15 Angus Leeming <leeming@lyx.org>
4493 * bufferparams.C (BufferParams): reorder member initializers to avoid
4496 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4498 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4499 * text.C (updateRowPositions): remove an unusual nop
4501 2003-09-12 André Pönitz <poenitz@gmx.net>
4503 * BufferView_pimpl.C:
4512 * Counters.[Ch]: finish the 'automatic counters' job
4514 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4516 * aspell.C: include <boost/assert.cpp> (compile fix)
4518 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4520 * boost.C (assertion_failed): use lyx::support::abort instead of
4523 2003-09-10 Angus Leeming <leeming@lyx.org>
4525 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4526 with their _fwd progeny.
4528 2003-09-09 Angus Leeming <leeming@lyx.org>
4530 134 files throughtout the source tree: replace 'using namespace abc;'
4531 directives with the appropriate 'using abc::xyz;' declarations.
4533 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4535 * boost.C (emergencyCleanup): moved here from LAssert.c
4536 (assertion_failed): new function, called by BOOST_ASSERT
4538 * several files: change Assert to BOOST_ASSERT
4540 2003-09-09 Angus Leeming <leeming@lyx.org>
4542 * buffer.[Ch]: Add an Impl class and move Buffer's member
4543 variables into it. As a result move several header files out of
4546 Add header files to lots of .C files all over the tree as a result.
4548 2003-09-09 Angus Leeming <leeming@lyx.org>
4550 * buffer.[Ch]: make Buffer's member variables private. Add
4553 Lots of changes all over the tree as a result.
4555 2003-09-08 Angus Leeming <leeming@lyx.org>
4557 * graph.C: #include <config.h>.
4559 2003-09-08 Angus Leeming <leeming@lyx.org>
4563 * BufferView_pimpl.C:
4592 * toc.C: remove redundant using directives.
4594 2003-09-07 Angus Leeming <leeming@lyx.org>
4596 * LaTeXFeatures.h: remove #include "support/types.h".
4597 * ToolbarBackend.h: remove #include <algorithm>.
4598 * changes.h: remove #include <ctime>.
4599 * debug.h: remove #include <iosfwd>.
4600 * graph.h: remove #include "support/std_string.h".
4601 * lyx_main.h: remove #include <csignal>.
4602 * lyxlex_pimpl.h: remove #include <fstream>.
4603 * sgml.h: remove #include <algorithm>, <utility>.
4604 * toc.h: remove #include "support/std_ostream.h".
4605 Add #include <iosfwd>.
4607 2003-09-07 Angus Leeming <leeming@lyx.org>
4609 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4611 * converter.h: forward declare LatexRunParams.
4612 * encoding.h: remove #include "lyxrc.h".
4613 * lyxtext.h: remove #include "LColor.h".
4614 * lyxtextclass.h: remove #include "support/types.h".
4615 * trans.h: remove #include "tex-accent.h".
4616 * trans_mgr.h: remove #include "tex-accent.h".
4617 * insets/inset.h: remove #include "support/types.h", <vector>.
4618 * insets/insetcollapsable.h: remove #include "LColor.h".
4619 * insets/insetinclude.h: remove #include "dimension.h".
4620 * insets/insetlatexaccent.h: remove #include "dimension.h".
4621 * insets/insetoptarg.h:: remove #include "insettext.h".
4622 * insets/insettext.h: remove #include "dimension.h",
4623 <boost/shared_ptr.hpp>
4625 * insets/renderers.h: add #include "dimension.h".
4626 * insets/updatableinset.h: add #include "support/types.h".
4628 * many .C files: Associated changes.
4630 2003-09-06 Angus Leeming <leeming@lyx.org>
4632 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4633 one, inside testInvariant.
4635 * PrinterParams.C: new file.
4636 * PrinterParams.[Ch]: move the function bodies out of line.
4638 2003-09-06 Angus Leeming <leeming@lyx.org>
4640 * ParagraphParameters.h: forward declare ParameterStruct rather than
4641 including its header file.
4642 (depth): moved out-of-line.
4644 2003-09-06 Angus Leeming <leeming@lyx.org>
4646 * BufferView_pimpl.h:
4649 * lyxfunc.h: forward declare LyXKeySym rather than
4650 #include "frontends/LyXKeySym.h".
4652 * BufferView_pimpl.C:
4655 * lyxfunc.C: associated changes.
4657 2003-09-06 Angus Leeming <leeming@lyx.org>
4659 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4660 As a result, can remove the #include "insets/inset.h" from BufferView.h
4662 2003-09-06 Angus Leeming <leeming@lyx.org>
4664 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4665 As a result, can remove the #include "insets/inset.h" from BufferView.h
4667 2003-09-06 Angus Leeming <leeming@lyx.org>
4673 * bufferview_funcs.C:
4674 * BufferView_pimpl.C:
4679 * ParagraphParameters.C:
4684 * frontends/controllers/ControlDocument.C:
4685 * insets/insetcaption.C: rearrange the #includes into some sort of
4688 * buffer.h: remove #includes ErrorList.h, undo.h
4690 2003-09-06 Angus Leeming <leeming@lyx.org>
4692 * support/types.h: add a 'depth_type' typedef, used to store the
4693 nesting depth of a paragraph.
4696 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4697 defining explicitly.
4700 * paragraph_funcs.h:
4701 * ParagraphParameters.h:
4702 * sgml.h: use lyx::depth_type rather than Paragraph or
4703 ParameterStruct's depth_type.
4706 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4709 * BufferView_pimpl.C:
4711 * ParagraphParameters.C:
4714 * bufferview_funcs.C:
4721 * frontends/LyXView.C:
4722 * frontends/controllers/ControlDocument.C:
4723 * frontends/controllers/ControlErrorList.C:
4724 * insets/insetbibitem.C:
4725 * insets/insetbranch.C:
4726 * insets/insetcaption.C:
4727 * insets/insetcollapsable.C:
4728 * insets/insetenv.C:
4729 * insets/insetert.C:
4730 * insets/insetfloat.C:
4731 * insets/insetfoot.C:
4732 * insets/insetfootlike.C:
4733 * insets/insetnewline.C:
4734 * insets/insetquotes.C:
4735 * insets/insettabular.C:
4736 * insets/insettext.C:
4737 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4739 * frontends/controllers/ControlChanges.C: #include "changes.h".
4741 2003-09-06 Angus Leeming <leeming@lyx.org>
4743 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4744 than #including paragraph.h.
4747 * RowList.h: deleted. Superfluous.
4757 * insets/insettext.h: use ParagraphList_fwd.h rather than
4760 * paragraph.h: don't forward declare ParagraphList.
4763 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4764 rather than ParagraphList.h. paragraph.h is still needed for the
4765 Paragraph::depth_type parameters.
4767 * textcursor.h: enable it to compile stand-alone in light of the
4770 * bufferview_funcs.C:
4782 * frontends/controllers/ControlParagraph.C:
4783 * frontends/controllers/ControlTabular.C:
4784 * insets/insetmarginal.C:
4785 * insets/insetminipage.C:
4786 * insets/insetnote.C:
4787 * insets/insetoptarg.C: add header files needed to compile again.
4789 2003-09-06 Angus Leeming <leeming@lyx.org>
4791 * RowList_fwd.h: new file, forward-declaring Row rather than
4792 #including lyxrow.h.
4797 * insets/insettext.h: use it instead of RowList.h
4799 * bufferview_funcs.C:
4806 * text3.C: #include "RowList.h".
4808 2003-09-05 Angus Leeming <leeming@lyx.org>
4810 * factory.C (createInset):
4811 * vspace.C (c-tor): replace sscanf call with an istringstream.
4812 * ispell.C: re-add missing HP/UX headers.
4813 * lyxserver.C: re-add missing os2 headers.
4815 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4824 * text3.C: re-add missing system headers, needed for 2.95.2.
4826 2003-09-05 Angus Leeming <leeming@lyx.org>
4828 Changes most place everywhere due to the removal of using directives
4829 from support/std_sstream.h.
4831 2003-09-05 Angus Leeming <leeming@lyx.org>
4833 Replace LString.h with support/std_string.h,
4834 Lsstream.h with support/std_sstream.h,
4835 support/LIstream.h with support/std_istream.h,
4836 support/LOstream.h with support/std_ostream.h.
4838 Changes resulting throughout the tree.
4840 2003-09-05 Angus Leeming <leeming@lyx.org>
4842 * sgml.h: ensure that the header file can be compiled stand-alone.
4843 * *.C: strip out redundant #includes. (320 in total.)
4845 2003-09-04 Angus Leeming <leeming@lyx.org>
4847 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4848 here (from getPackages).
4850 * debug.[Ch]: add a new EXTERNAL tag.
4852 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4854 * text2.C (cursorEnd): simplify
4856 (getColumnNearX): adjust
4858 * text.C (computeBidiTables): adjust
4861 * rowpainter.C (paintChars): adjust
4862 (paintSelection): adjust
4863 (paintChangeBar): adjust
4866 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4868 (numberOfSeparators): adjust
4870 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4876 * text3.C: Restricts the mouse click functionality
4877 of insets like bibtex, include, toc and floatlist to the visible
4878 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4879 up the dialogs. Cursor has to be in front of the inset (i.e.
4880 start of row) for this to function.
4882 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4884 * bufferview_funcs.C (currentState): output row information
4886 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4888 * bufferview_funcs.C (currentState): output paragraph position
4890 2003-09-04 Angus Leeming <leeming@lyx.org>
4892 * FloatList.h: move out #include "Floating.h".
4893 * LaTeX.h: move out #include "DepTable.h".
4894 * LyXAction.h: move out #include "funcrequest.h".
4895 * buffer.h: move out #include "author.h", "iterators.h".
4896 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4897 * lyx_main.h: move out #include "errorlist.h".
4898 * lyxfunc.h: move out #include "FuncStatus.h".
4899 * lyxtext: move out #include "lyxcursor.h".
4900 * paragraph_pimpl.h: move out #include "counters.h".
4902 2003-09-03 Angus Leeming <leeming@lyx.org>
4904 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4905 preamble_snippets list, enabling us to add snippets to the preamble
4906 only if the snippet was not there already.
4908 2003-09-04 Angus Leeming <leeming@lyx.org>
4910 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4912 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4917 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4919 * BranchList.C: point fix, earlier forgotten
4921 2003-09-02 Angus Leeming <leeming@lyx.org>
4923 * box.C (contains): renamed from 'contained' after a fantastic
4926 2003-09-02 John Levon <levon@movementarian.org>
4932 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4934 2003-09-02 John Levon <levon@movementarian.org>
4936 * text2.C: simplification of cursorEnd(), including partial
4939 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * buffer.C (readFile): add a space
4943 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4945 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4947 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * buffer.C (readFile): new function, take a filename and a
4950 ParagraphList::iterator
4952 (readFile): adjust, make it private. don't use setStream, make
4953 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4954 always contain the filename.
4956 * BufferView.C (insertLyXFile): simplify and make it work for
4959 2003-08-30 John Levon <levon@movementarian.org>
4961 * Makefile.am: fix dist (from Kayvan)
4963 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * most files: change to use const Buffer refs
4967 2003-08-27 André Pönitz <poenitz@gmx.net>
4969 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4970 on top of ownerPar().
4972 2003-08-27 John Levon <levon@movementarian.org>
4974 * funcrequest.C: properly initialise POD members
4976 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4978 * lyxtext.h (top_y): move top_y from here
4983 * BufferView_pimpl.[Ch]: to here
4984 * frontends/screen.C:
4985 * insets/insettabular.C:
4986 * insets/insettext.C: adjust
4987 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4989 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4992 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4994 2003-08-26 André Pönitz <poenitz@gmx.net>
4996 * paragraph_func.[Ch] (outerPar): new function
4999 * paragraph_funcs.C:
5000 * paragraph_funcs.h:
5001 * paragraph_pimpl.C:
5002 * text2.C: remove Inset::par_owner
5004 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5009 * text2.C: eliminates the needFullRow/display() stuff
5010 altogether, putting the logic in metrics/draw in the insets.
5012 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5014 * text2.C (redoParagraphInternal, redoParagraphs):
5015 * text.C (redoParagraph): add a call to updateRowPositions at the
5016 end of each 'metrics-like' call. Remove all others.
5017 (getRow): remove the 'y-computing' version.
5018 (getRowNearY): do not compute nor return the real y. Solve the
5019 'y < 0' problem and simplify.
5021 2003-08-22 Angus Leeming <leeming@lyx.org>
5023 * *.[Ch]: clean-up of licence and author blurbs.
5024 Also move config.h out of a few .h files and into a few .C files.
5026 2003-08-22 André Pönitz <poenitz@gmx.net>
5028 * lyxrow.[Ch]: add x_ and *fill_ members
5033 * text2.C: adjust/remove prepareToPrint() calls
5035 2003-08-22 André Pönitz <poenitz@gmx.net>
5037 * lyxrow.[Ch]: add end_ member
5039 * lyxrow_funcs.C: use LyXRow::end_
5041 * lyxtext.h (singleWidth): add LyXFont parameter
5044 * text2.C: adjust LyXText::singleWidth() calls
5046 * text.C (redoParagraph): simplify row breaking logic
5049 2003-08-19 André Pönitz <poenitz@gmx.net>
5051 * funcrequest.C: initialize button_ member
5054 * rowpainter.[Ch]: interface consolidation
5056 2003-08-18 André Pönitz <poenitz@gmx.net>
5059 * BufferView_pimpl.C:
5061 * paragraph_funcs.C:
5063 * text3.C: remove LyXScreen::draw() and fitCursor calls
5065 * BranchList.h: remove spurious semicolons
5067 * MenuBackend.C: fix branchlist related crash
5069 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5077 * bufferparams.[Ch]:
5081 * text3.C: implements the 'branch inset'
5082 idea. This allows the output of various versions of a document
5083 from a single source version, selectively outputing or suppressing
5084 output of parts of the text.
5085 This implementation contains a 'branch list editor' in a separate
5086 tab of the document settings dialog. Branches are user definable
5087 and have a "display colour" to distinguish them on-screen.
5089 ColorHandler was somewhat cleaned up.
5090 (1) make possible a dynamically growing LColor list by allowing
5091 the graphic context cache to grow along (vector);
5092 (2) eliminate an IMHO unnecessary step in colour allocation.
5094 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5096 * BufferView_pimpl.C: compile fix
5098 2003-08-15 André Pönitz <poenitz@gmx.net>
5100 * rowpainter.C: remove extra metrics calls
5102 * lyxtext.h: merge the two constructors into a single one,
5103 pass reference to owner's par list
5105 * BufferView_pimpl.C:
5109 2003-08-15 André Pönitz <poenitz@gmx.net>
5111 * lyxrow_funcs.[Ch]:
5114 * paragraph_funcs.C:
5119 * text_funcs.C: split LyXText::rowlist_ into individual
5120 Paragraph::rows_ chunks
5123 * BufferView_pimpl.[Ch]:
5126 * text3.C: remove toggleSelection()
5128 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5130 * bufferlist.C: beautify two alerts (shorter text of buttons)
5131 * buffer.C: Remove redundant ' ' from message
5133 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5134 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5135 rename VALIGN_CENTER to VALIGN_MIDDLE
5137 2003-08-11 André Pönitz <poenitz@gmx.net>
5139 * lyxtext.h (getPar):
5140 * text.C: new function
5142 2003-08-11 André Pönitz <poenitz@gmx.net>
5145 * tracer.[Ch]: remove unneeded files
5147 * InsetList.[Ch]: remove resizeInsetsLyXText()
5152 * text3.C: merge insertParagraphs() and appendParagraph()
5153 remove breakAgain(), update()
5155 * BufferView_pimpl.[Ch]:
5156 * bufferview_funcs.[Ch]:
5160 * tabular.C: adjust after text & InsetList changes.
5162 2003-08-08 André Pönitz <poenitz@gmx.net>
5164 * text.C (insertChar, backspace): replace rowlist fiddling
5165 with rebreak of full par
5168 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5169 checkParagraph, updateInset): removed
5171 2003-08-07 André Pönitz <poenitz@gmx.net>
5174 * text3.C: merge some LFUN handlers, remove dead code
5176 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5178 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5180 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5182 * text2.C (DEPM): fix part of bug 1255 and 1256
5184 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5186 * BufferView_pimpl.C (workAreaDispatch): change to use
5187 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5188 that are no mouse related.
5190 2003-08-05 André Pönitz <poenitz@gmx.net>
5193 * BufferView_pimpl.[Ch]:
5194 * bufferview_funcs.C:
5196 * text3.C: rip out "deep update"
5198 * textcursor.[Ch] (last_sel_cursor): remove unused member
5200 2003-08-04 André Pönitz <poenitz@gmx.net>
5203 * BufferView_pimpl.[Ch]:
5204 * ParagraphParameters.C:
5205 * bufferview_funcs.C:
5211 * text3.C: replace "complicated" BufferView::update(...) calls with
5214 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5216 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5218 * Makefile.am (lyx_SOURCES): add paper.h
5220 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5222 * Makefile.am: move things around so that both lyx-qt and
5223 lyx-xforms can be built (according to --with-frontend). Then lyx
5224 is a symbolic link to lyx-[firstfrontend]
5226 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5228 * Always use std::endl with lyxerr
5230 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5232 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5234 2003-08-01 André Pönitz <poenitz@gmx.net>
5237 * BufferView_pimpl.[Ch]:
5239 * text3.C: merge BufferView::repaint() and BufferView::update()
5241 2003-08-01 José Matos <jamatos@lyx.org>
5243 * buffer.[Ch]: file_format is no longer a buffer data element.
5245 2003-08-01 André Pönitz <poenitz@gmx.net>
5250 * text2.C: make redoParagraph more independent of current cursor
5252 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5254 * text2.C: remove unneeded members
5256 2003-07-30 André Pönitz <poenitz@gmx.net>
5258 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5260 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5261 create a single function...
5263 * paragraph_funcs.C (moveItem): ... here.
5266 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5268 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5270 * LColor.[Ch]: Add comment and greyedout logical colors.
5272 2003-07-30 André Pönitz <poenitz@gmx.net>
5274 * tabular.C: don't use Assert too heavily. This crashes where it
5277 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5279 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5280 is disabled (bug 1232)
5282 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5284 * factory.C: limited 'arg' scope
5286 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5288 * factory.C: fixed Note submenu issues
5290 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5292 * factory.C: submenu for Note/Comment/Greyedout
5294 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5297 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5299 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5302 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5303 greyedout. Patch provided by Jürgen Spitzmüller.
5305 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5307 * kbmap.C (read): fix error message when reading bind files
5309 2003-07-29 Angus Leeming <leeming@lyx.org>
5311 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5312 certainly does not do what it purports to do. I am doing it, and
5313 us, a favour by killing it.
5315 2003-07-28 José Matos <jamatos@lyx.org>
5317 * buffer.C (readBody, do_writeFile):
5318 * paragraph.C(readParagraph): \end_document replaces \the_end.
5320 2003-07-29 André Pönitz <poenitz@gmx.net>
5323 * BufferView_pimpl.[Ch]:
5327 * textcursor.[Ch]: remove toggleToggle & Co
5329 2003-07-28 José Matos <jamatos@fep.up.pt>
5331 * buffer.C (readParagraph):
5332 * params_func (readParToken, readParagraph):
5333 * paragraph.C (write): \layout -> \begin_layout.
5335 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * lyxlex_pimpl.C (setFile): clean up slightly.
5339 * bufferparams.h: add compressed var
5341 * buffer_funcs.C (readFile): adjust for LyXLex change
5342 (newFile): ditto + simplify
5344 * buffer.C (writeFile): handle writing of compressed files
5346 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5347 Check if the file is compressed and set a bufferparm if so.
5349 * Makefile.am (lyx_LDADD): remove explicit -lz
5351 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5353 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5354 makeDocBookFile): put the real LyX version in the first line of
5358 * version.C.in: remove lyx_docversion
5360 * tabular.C (write_attribute): add a template-based version to
5361 write enums properly
5363 2003-07-28 André Pönitz <poenitz@gmx.net>
5368 * text3.C: use doubles again for x-coordinates. They are needed.
5370 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5372 * messages.C (getLocaleDir): use lyx_localedir()
5374 * lyxlex_pimpl.C (setFile): compress stuff
5376 * buffer.C (writeFile): add some compression stuff
5377 (do_writeFile): new func, dont call expliti close... will this
5380 * Makefile.am (lyx_LDADD): add -lz
5382 2003-07-28 José Matos <jamatos@fep.up.pt>
5384 * buffer.C: increment file format.
5385 * paragraph_funcs (readParagraph, readParToken):
5386 * paragraph.C (readParagraph): add \end_layout.
5388 2003-07-27 Angus Leeming <leeming@lyx.org>
5390 * Makefile.am: remove special casing for configure-time setting of
5391 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5393 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5394 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5396 2003-07-26 André Pönitz <poenitz@gmx.net>
5398 * paragraph_func.[Ch]:
5399 * paragraph.C (realizeFont): inline it whereever it is used
5404 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5407 2003-07-26 André Pönitz <poenitz@gmx.net>
5411 * text2.C: get rid of LyXText::need_break_row
5413 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * toc.[Ch]: put namespace toc inside namespace lyx
5417 * MenuBackend.C (expandToc2): adjust for lyx::toc
5420 * lyxfunc.C (dispatch): adjust for lyx::find
5422 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5423 lyx::find instead. Reorganize a bit.
5424 (LyXReplace): rename to replace
5425 (LyXFind): rename to find
5427 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5430 2003-07-26 André Pönitz <poenitz@gmx.net>
5432 * text.C (setHeightOfRow): restrict scope of temporary variable
5434 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5435 code (never has been used?)
5437 2003-07-27 Asger Alstrup <alstrup@local>
5439 * text.C (fill): Optimise algorithm to exploit that we can reuse
5440 the LyXFont for many characters.
5441 (setHeightOfRow): Same thing.
5442 (rowBreakPoint): Same thing.
5444 2003-07-26 Asger Alstrup <alstrup@local>
5446 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5448 * text.C (singleWidth): Spurious font copying in hot-spot
5449 singleWidth avoided. Reorder tests for arabic for efficiency.
5451 * text.C (fill): handle empty paragraphs better.
5453 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5456 * encoding.h: add includes
5458 * lyxrc.C: remove reading of bind files
5460 * lyx_main.C (init): setup bindings and menus only if we have a
5463 * kbmap.C (read): new method. Do the actual reading of bind
5466 * converter.C (dvipdfm_options):
5469 (output): adapt PAPER_* enums.
5471 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5473 * bufferparams.h: remove paper-related enums from there
5475 * paper.h: New file. A trivial header file to hold paper-related
5476 enums. It should later expand to contain many paper-related
5479 * lyxrc.C: declare extern displayTranslator
5481 2003-07-27 José Matos <jamatos@fep.up.pt>
5483 * tabular.[Ch] (linuxdoc): add support for tables and figures
5486 2003-07-27 José Matos <jamatos@fep.up.pt>
5488 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5489 consistency in both functions.
5490 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5492 2003-07-26 Asger Alstrup <alstrup@local>
5494 * rowpainter.C (paintRows): Change algorithm to work directly on
5495 the insets rather than asking every character in the document
5496 whether its an inset.
5498 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5500 * buffer.C (openFileWrite): factorize some code
5502 2003-07-26 Angus Leeming <leeming@lyx.org>
5505 * lyx_main.[Ch]: replace occurances of system_tempdir with
5508 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * rename Inset to InsetOld
5512 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5514 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5515 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5516 which I think is a bit clearer. EDIT is gone, since it was
5517 premature optimisation, and broken for mathed anyway.
5518 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5519 with cursor positioning in insets as well (math insets still do not
5520 work, but that's a different story anyway.) It mysteriously
5521 crashes sometimes with undo in the first paragraph, but I'm fairly
5522 confident that this is a compiler bug.
5524 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5526 * paragraph.C (Paragraph): adjust for new clone return type
5528 (copyIntoMinibuffer): ditto
5530 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5532 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5533 by not having a special case, and always doing a full rebreak of
5534 the document after undo.
5536 2003-07-23 Angus Leeming <leeming@lyx.org>
5538 * factory.C (createInset): InsetExternal::setParams now takes a
5541 2003-07-23 Angus Leeming <leeming@lyx.org>
5543 * factory.C (createInset): changed interface to the external and
5544 graphics mailers' string2params functions.
5546 2003-07-23 Angus Leeming <leeming@lyx.org>
5548 * factory.C (createInset): pass a
5549 Buffer const * parameter to InsetExternalMailer's string2params.
5551 2003-07-22 John Levon <levon@movementarian.org>
5553 * Thesaurus.h: include the right aiksaurus header
5555 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5557 * MenuBackend.C (expand): check menu shortcuts unconditionally
5559 2003-07-21 Angus Leeming <leeming@lyx.org>
5561 * factory.C (createInset): pass a
5562 buffer_path parameter to InsetGraphicsMailer's string2params.
5564 2003-07-21 Angus Leeming <leeming@lyx.org>
5566 * BufferView_pimpl.C (buffer):
5569 * lyxfunc.C (dispatch):
5570 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5571 rather than the grfx shortcut.
5573 2003-07-21 André Pönitz <poenitz@gmx.net>
5575 * rowpainter.C: remove unused variables
5578 * tabular_funcs.h: move to tabular.C
5579 * Makefile.am: adjust
5581 * tabular.[Ch]: basic optical cleaning
5583 * author.h: pass references, not values
5585 2003-07-18 André Pönitz <poenitz@gmx.net>
5593 * text3.C: two-phase drawing for InsetText and InsetTabular
5594 some float -> int changes.
5596 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5598 * lyx_main.C: fix the fix
5600 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5602 * lyx_main.C: fix a crash in batch mode if no files specified
5605 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5607 * format.[Ch] (papersize): moved to BufferParams
5608 * converter.[Ch] (dvips_options): moved to BufferParams
5609 (dvipdfm_options): moved to anon namespace
5610 * bufferparams.[Ch]: added above functions.
5612 2003-07-17 André Pönitz <poenitz@gmx.net>
5616 * text2.C: don't call inset->update() anymore
5618 * metricsinfo.[Ch]: add convenience constructor
5620 2003-07-16 André Pönitz <poenitz@gmx.net>
5625 * text2.C: replace the LyXCursor::irow_ member with
5626 on-demand computation of the value
5628 2003-07-16 John Levon <levon@movementarian.org>
5630 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5632 2003-07-15 André Pönitz <poenitz@gmx.net>
5635 * text2.C: remove no more needed refresh_row
5637 2003-07-15 André Pönitz <poenitz@gmx.net>
5642 * text3.C: refresh_status tristate -> need_update bool
5644 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5646 * lyxtext.h (init): remove reinit argument (act as if always true)
5647 * text2.C: adjust to that
5649 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5651 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5652 * text3.C: use it to delete selections in some cases
5653 (bugs 441, 673, 702, 954).
5655 2003-07-14 André Pönitz <poenitz@gmx.net>
5657 * rowpainter.[Ch]: reduce interface
5659 2003-07-14 André Pönitz <poenitz@gmx.net>
5661 * BufferView_pimpl.C:
5662 * text2.C: adjust after removing unused BufferView * argument
5664 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5666 * text2.C (init): fix a crash fired on resize
5668 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5670 * buffer.[Ch]: added new closing signal
5671 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5672 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5673 BufferView::Pimpl via the closing the signal
5675 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5677 * buffer.[Ch]: take out all bv-related from buffer
5679 * BufferView_pimpl.[Ch]: connect to new signals
5680 * CutAndPaste.C: removed useless asserts
5681 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5684 * lyxfunc.C: moved view-related funciontality from vc here
5685 * paragraph.C: removed outdated comments
5688 2003-07-10 André Pönitz <poenitz@gmx.net>
5690 * BufferView_pimpl.C:
5694 * text2.C: remove InsetText::InnerCache, clean up consequences
5696 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5698 * ispell.C: fix two typos in error messages
5700 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5702 * Extend Note inset to other forms of annotation like Comment
5703 and Greyedout. Right button click gives dialog.
5705 Files modified or added (+):
5709 * ControlNote.[Ch] +
5711 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5712 frontends/controllers
5716 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5718 * aspell.C: add missing namespace lyx::support
5720 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5722 * BufferView.[Ch] (newFile): Add
5723 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5724 * LaTeX.[Ch] (message): added this signal and use it
5725 * buffer.[Ch] (busy, message): added these signals and use them
5726 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5730 * importer.C: use buffer signals instead of direct bv calling
5731 * lyx_cb.[Ch] (ShowMessage): removed
5734 * paragraph_funcs.C:
5735 * text2.C: use buffer signals
5737 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5739 * introduce namespace lyx::graphics
5741 2003-07-02 André Pönitz <poenitz@gmx.net>
5743 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5745 2003-07-01 André Pönitz <poenitz@gmx.net>
5752 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5753 text*.C to text_func.C
5755 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5757 * introduce namespace lyx::support
5759 2003-06-30 André Pönitz <poenitz@gmx.net>
5764 * text.C: re-enable --with-included-string
5766 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * textcursor.C: add <config.h>
5770 * text.C (getWord): remove const from word_location arg
5772 * lyxvc.C (getLogFile): fix const type order
5774 * lyxtext.h: remove const from word_location arg, add arg name
5776 * lyxlayout.h: currect type on labeltype.
5778 * importer.C: correct \file
5780 * converter.C (intToFormat): use std:: on ret val, ws changes
5782 * bufferlist.h: correct \file
5784 * buffer.C (makeLinuxDocFile): fix const type order
5785 (makeDocBookFile): ditto
5786 (fillWithBibKeys): use std:: on stdlib args.
5788 * CutAndPaste.C: fix authors.
5789 (availableSelections): use std:: on return vector
5791 2003-06-27 André Pönitz <poenitz@gmx.net>
5793 * BufferView_pimpl.C:
5794 * bufferview_funcs.C:
5802 * text3.C: remove LyXCursor::row_ member
5805 * text.C: rename fullRebreak() to partialRebreak() and implement
5806 a fullRebreak() that really bereks fully
5808 * textcursor.h: new struct for cursor-related data
5810 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5812 * lyx_main.C (LyX): get full path of document loaded on the
5815 2003-06-26 André Pönitz <poenitz@gmx.net>
5817 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5818 remove unused/broken operator>,<,>=.
5820 * text.C: remove only use of broken operator<= in an Assert().
5822 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5824 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5825 moved errorlist_.clear to showErrorList
5827 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5829 * converter.C (scanLog, runLaTeX):
5830 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5831 move the bv->showErrorList call to the callers
5832 * lyxfunc.C: i.e. here...
5834 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5835 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5836 namespace, the second to...
5837 * buffer_funcs (BufferFormat, parseErrors): added
5838 * errorlist.C (ErrorList(TeXErrors const &)): removed
5840 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5842 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5844 2003-06-24 "Garst R. Reese" <reese@isn.net>
5848 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5850 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5852 * version.C.in: change docversion to 1.4
5854 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5856 * buffer.C: fix a bug just introduced
5858 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5860 * buffer.[Ch]: added the parseError signal and use it, removed
5862 * BufferView.[Ch] (addError): moved to ...
5863 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5864 to the Buffer::parseError signal to catch (guess what) parse errors
5865 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5867 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5869 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5870 ability to create a buffer and to return an existing one from
5871 the list. Moved these functions to...
5872 * buffer_funcs.[Ch]: added
5873 * BufferView.[Ch] (loadLyXFile): added
5874 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5875 job removed from bufferlist::loadLyXFile.
5876 * buffer.C (setReadOnly): make it work without view
5877 (i.e added an if (users))
5879 2003-06-19 Angus Leeming <leeming@lyx.org>
5882 * LyXAction.C (init):
5883 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5884 with LFUN_DIALOG_SHOW <name> <data>.
5886 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5888 * CutAndPaste.C (availableSelections): small compilation fix for
5889 ancient (gcc 2.9x) compilers
5891 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5893 * text3.C (cursorNext): add tmp var
5895 * text2.C (updateCounters): for function calling out of for clause
5896 (replaceSelectionWithString): ditto
5897 (insertStringAsParagraphs): ditto
5898 (getColumnNearX): add tmp var
5899 (setCursorFromCoordinates): add tmp var
5900 (cursorDownParagraph): add tmp var
5901 (deleteEmptyParagraphMechanism): add tmp var
5903 * text.C (insertChar): add tmp var
5905 * rowpainter.C (paintDepthBar): add tmp var
5907 * CutAndPaste.C (availableSelections): potentially check all
5908 paragraphs in a cut to fill the shown strings.
5910 2003-06-18 André Pönitz <poenitz@gmx.net>
5912 * kbmap.[Ch]: use vector<> instead of list<>
5914 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5916 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5917 pasteSelection with index
5919 * text2.C (pasteSelection): modify, call pasteSelection with index
5921 * paragraph.C (asString): reimplement version with no interval to
5922 call the one with interval.
5924 * lyxtext.h: add index arg to pasteSelection
5926 * MenuBackend.C (MenuItem): handle PasteRecent
5927 (Menu::read::Menutags): add md_pasterecent
5929 (expandPasteRecent): new function
5932 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5934 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5936 (availableSelections): new function
5938 2003-06-17 Angus Leeming <leeming@lyx.org>
5940 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5942 2003-06-17 Angus Leeming <leeming@lyx.org>
5945 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5947 * lyxfunc.C (dispatch): invoke it.
5949 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5951 * iterators.C (operator++, ParPosition): reintroduce some
5952 const_cast for the benefit of older compilers.
5954 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5956 * text3.C (dispatch): do not modify clipboard when doing
5957 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5958 LFUN_DELETE_SKIP on a selection selection
5960 2003-06-16 André Pönitz <poenitz@gmx.net>
5966 * tabular.[Ch]: IU of clone() and getLabelList();
5968 2003-06-13 André Pönitz <poenitz@gmx.net>
5970 * tabular.h: compactification
5972 2003-06-12 André Pönitz <poenitz@gmx.net>
5976 * tabular_funcs.h: some renaming plus whitespace
5978 2003-06-12 André Pönitz <poenitz@gmx.net>
5981 * BufferView_pimpl.C:
5987 * toc.C: Return a Paragraph & for ParIterator::operator*()
5989 2003-06-11 John Levon <levon@movementarian.org>
5993 * ToolbarBackend.C: add "Toolbars" section and
5996 2003-06-10 Angus Leeming <leeming@lyx.org>
5999 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6001 * lyxfunc.C (dispatch): invoke it.
6003 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * main.C: protect <ios> with HAVE_IOS
6006 (main): protect sync_with_stdio with HAVE_IOS
6008 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6010 * text2.C (cutSelection): adjust
6011 (pasteSelection): adjust
6013 * messages.C: handle get of empty string
6015 * main.C (main): use sync_with_stdio(false)
6017 * lyxfunc.C (dispatch): adjust
6019 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6020 (WriteAs): remove unneeded BufferView arg.
6022 * bufferparams.h: use correct types on papersize, papersize2 and
6025 * bufferparams.C (readToken): adjust for type
6026 (writeLaTeX): add missing cases to switch.
6028 * bufferlist.C (quitWriteBuffer): adjust
6031 * buffer.C (asciiParagraph): remove some commented code.
6033 * CutAndPaste.C: remove current_view extern variable.
6034 (cutSelection): add BufferParams arg.
6035 (eraseSelection): add BufferParams arg.
6036 (pasteSelection): add Buffer const & arg
6038 2003-06-07 John Levon <levon@movementarian.org>
6041 * paragraph_funcs.C:
6042 * paragraph_pimpl.C:
6046 * paragraph.C: allow InsetERT to freely space lines,
6047 and some consolidation of code
6049 2003-06-06 José Matos <jamatos@fep.up.pt>
6051 * buffer.C (makeDocBookFile): fix bug #821
6053 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6055 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6057 2003-06-04 Angus Leeming <leeming@lyx.org>
6059 * buffer.C: bump format to 224.
6061 2003-06-05 André Pönitz <poenitz@gmx.net>
6063 * text2.C (redoParagraphs): remove two const_cast<>
6065 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6067 * ParagraphList.h: remove last remnants of NO_STD_LIST
6069 2003-06-03 Angus Leeming <leeming@lyx.org>
6071 * factory.C (createInset): small change to the way InsetExternal's params
6074 2003-06-04 André Pönitz <poenitz@gmx.net>
6076 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6078 * paragraph_pimpl.h:
6079 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6081 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6083 * undo_funcs.C: make some simple cases of undo work again
6085 2003-06-03 John Levon <levon@movementarian.org>
6087 * ispell.C: HPUX doesn't have sys/select.h
6090 2003-06-03 John Levon <levon@movementarian.org>
6092 * CutAndPaste.C: update tabular and include inset
6097 * paragraph.C: remove owningBuffer(), don't pass Buffer
6100 * factory.C: insetGraphicsParams changed
6102 2003-06-02 John Levon <levon@movementarian.org>
6108 * text3.C: remove insetparent
6110 2003-06-02 John Levon <levon@movementarian.org>
6113 * buffer.C: fix inset_iterator.end(), move out of line
6116 2003-06-01 John Levon <levon@movementarian.org>
6118 * text3.C: use a proper cut/paste when doing inset
6119 insert (from Jürgen Spitzmüller)
6121 2003-06-01 John Levon <levon@movementarian.org>
6123 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6125 2003-05-30 André Pönitz <poenitz@gmx.net>
6127 * rowpainter.C: unify second drawing phase
6129 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * trans_mgr.C: remove one case of current_view
6133 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6135 * paragraph_funcs.h: remove paragraph.h include
6137 * paragraph.h: delete NO_STD_LIST stuff
6139 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6141 * buffer.h: remove paragraph.h include
6143 * ParagraphList.C: delete file
6145 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6147 * toc.C (getTocList): adjust
6149 * paragraph_pimpl.C (validate): adjust
6151 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6153 * paragraph.C (Paragraph): adjust
6154 (getPositionOfInset): use const_iterator, adjust
6155 (bibitem): use const_iterator, adjust
6156 (setInsetOwner): adjust
6158 * iterators.C (operator++): adjust
6160 * InsetList.[Ch]: Replace selfmade iterator with standard
6161 vector::iterator also introduce const_iterator. Remove getPos,
6162 getInset and setInset from InsetTable. Adjust accordingly.
6164 * BufferView.C (lockInset): adjust
6165 (ChangeInsets): adjust
6167 * tabular.[Ch]: delete commented same_id functions
6169 2003-05-28 John Levon <levon@movementarian.org>
6171 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6173 2003-05-28 André Pönitz <poenitz@gmx.net>
6175 * metricsinfo.[Ch]: remove 'fullredraw' member
6177 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6179 * lyxtextclass.C (operator): remove caching.
6181 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6185 * text2.C (cursorBottom): adjust
6186 (setCounter): use ParagraphList::find, adjust
6188 * text.C (workWidth): use ParagraphList::find, adjust
6190 * lyxcursor.C (LyXCursor): adjust
6192 * buffer.C (inset_iterator): adjust
6194 * ParagraphList.h: make iterator(value_type) private, make
6195 ParagraphList a friend of iterator.
6197 * ParagraphList.C (find): new function
6199 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6201 2003-05-27 André Pönitz <poenitz@gmx.net>
6203 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6205 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6207 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6209 2003-05-26 John Levon <levon@movementarian.org>
6211 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6213 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6215 * remove same_id from function signatures, adjust.
6217 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6219 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6221 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6223 * paragraph.C (Paragraph): get rid of same_ids parameter
6225 * ParagraphList.C (insert): adjust
6228 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6230 * paragraph_funcs.C (breakParagraph): adjust
6231 (breakParagraphConservative): adjust
6233 * buffer.C (readParagraph): adjust
6235 * ParagraphList.C (insert): take a reference instead of a pointer
6238 * paragraph.[Ch] (id): new function
6240 * bufferlist.C (newFile): adjust
6242 * ParagraphList.C (ParagraphList): adjust
6244 (push_back): take a reference instead of a pointer.
6246 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6248 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6251 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6252 set else use old code.
6254 * ParagraphList.C: remove all NO_NEXT code and only compile this
6255 code of NO_STD_LIST is set.
6257 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6259 * BufferView_pimpl.C:
6269 * graphics/GraphicsConverter.C:
6270 * graphics/PreviewLoader.C: header adjustment
6272 2003-05-23 Angus Leeming <leeming@lyx.org>
6274 * LaTeXFeatures.[Ch] (useBabel): new method.
6275 * bufferparams.C (writeLaTeX): use it.
6277 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6279 * ParagraphList.h (set): remove unused function.
6281 2003-05-23 André Pönitz <poenitz@gmx.net>
6284 * BufferView_pimpl.C:
6288 * undo_funcs.C: setUndo reworked
6290 * iterators.[Ch]: add access to topmost ParagraphList
6292 * lyxtext.[Ch] (workWidth): add a const
6294 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6296 * texrow.[Ch] (increasePos): remove function
6297 * exporter.C (export): removed unused var and outdated comment
6299 2003-05-23 Angus Leeming <leeming@lyx.org>
6301 * latexrunparams.h: rename fragile as moving_arg.
6302 * paragraph.C (simpleTeXOnePar): ditto.
6303 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6305 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6307 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6309 (textUndoOrRedo): comment out a currently unused var.
6311 * paragraph.h (NO_NEXT): enable NO_NEXT
6313 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6315 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6317 * exporter.C (Export): adjust for removeAutoInsets removal.
6319 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6321 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6323 * BufferView.[Ch] (removeAutoInsets): delete function
6325 2003-05-22 Angus Leeming <leeming@lyx.org>
6327 * latexrunparams.h: add a free_spacing variable.
6329 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6330 to pass moving_arg, as the data is stored in runparams.fragile.
6332 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6333 to Inset::latexOptional or to simpleTeXOnePar.
6335 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6336 free_spacing arg to Inset::latexOptional.
6338 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6341 2003-05-22 Angus Leeming <leeming@lyx.org>
6343 * latexrunparams.h: add fragile and use_babel variables.
6345 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6346 * buffer.C (makeLaTeXFile): store this returned value in
6347 runparams.use_babel, thus passing it to the inset::latex methods.
6349 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6350 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6352 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6353 longer has a fragile arg, as it is stored in runparams.fragile.
6355 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6356 moving_arg parameter as the data is stored in runparams.fragile.
6358 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6359 a fragile parameter as the data is stored in runparams.fragile.
6361 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6363 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6365 2003-05-22 Angus Leeming <leeming@lyx.org>
6367 * latexrunparams.h: add a 'bool nice' which defaults to false.
6369 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6370 now encapsulated within runparams.
6372 * bufferlist.C (updateIncludedTeXfiles):
6373 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6375 2003-05-22 Angus Leeming <leeming@lyx.org>
6377 * latexrunparams.h: new file containing struct LatexRunParams.
6378 * Makefile.am: add new file.
6380 * LaTeX.[Ch] (c-tor, run):
6381 * buffer.[Ch] (makeLaTeXFile):
6382 * bufferlist.[Ch] (updateIncludedTeXfiles):
6383 * converter.C (convert, scanLog):
6384 * converter.[Ch] (runLaTeX):
6385 * exporter.C (Export):
6386 * paragraph.[Ch] (simpleTeXOnePar):
6387 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6388 * paragraph_funcs.[Ch] (latexParagraphs):
6389 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6390 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6391 pass around a LatexRunParams parameter.
6393 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6395 * paragraph.[Ch]: remove unused constructor
6397 * ParagraphList.C (erase): new function, taking two iterators
6399 2003-05-22 André Pönitz <poenitz@gmx.net>
6401 * undo_funcs.C: remove duplicated code
6403 * iterator.[Ch]: operator=
6405 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * tabular.C (SetMultiColumn): ws changes
6409 * rowpainter.C (paintFirst): get rid of a ->previous
6411 * lyx_cb.C (getPossibleLabel): parlist simplification
6413 * BufferView.C (ChangeInsets): simplify slightly.
6415 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6417 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6418 * lfuns.h: new LFUN_SPACE
6419 * lyxfunc.C: protected space has a new lfun
6420 * paragraph_funcs.C: read new space insets
6422 * factory.C: handle new space insets
6424 2003-05-22 André Pönitz <poenitz@gmx.net>
6427 * BufferView_pimpl.C:
6430 * undo_funcs.C: return a ParIterator from getParFromID.
6432 * iterators.[Ch]: add two const's
6434 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6436 * toc.C (getTocList): adjust
6438 * iterators.[Ch]: rework for parlist
6440 * buffer.C (par_iterator_begin): adjust
6441 (par_iterator_end): adjust
6443 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6445 * BufferView.C (removeAutoInsets): adjust
6446 (ChangeInsets): adjust
6448 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6450 * text.C (top_y): fix bug 1110
6452 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6454 * errorlist.[Ch]: added
6457 * BufferView_pimpl.C:
6458 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6461 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6463 * Makefile.am: ensure that lyx is relinked upon changes to the
6464 various "convenience" libs.
6466 2003-05-20 Angus Leeming <leeming@lyx.org>
6468 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6469 files are compiled in alphabetical order again.
6471 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6473 2003-05-19 Angus Leeming <leeming@lyx.org>
6475 * gettext.[Ch]: remove "char const * _(char const *)".
6477 2003-05-19 André Pönitz <poenitz@gmx.net>
6479 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6488 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6490 2003-05-19 André Pönitz <poenitz@gmx.net>
6494 * lyxtextclass.[Ch]:
6496 * paragraph_funcs.[Ch]:
6498 * text3.C: more insetenv work
6500 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6502 * ParagraphParameters.C (params2string): small bug fixed
6504 2003-05-16 André Pönitz <poenitz@gmx.net>
6507 * bufferview_funcs.C: patch from Kornel Benko to prevent
6508 crash when _(...) is called twice in a statement
6510 2003-05-16 André Pönitz <poenitz@gmx.net>
6517 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6519 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6521 * lyx_main.C (init): remove spurious static_cast
6523 2003-05-14 André Pönitz <poenitz@gmx.net>
6525 * BufferView.C: fix format string
6527 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6529 * BufferView.[Ch] (insertErrors): removed
6530 * BufferView.[Ch] (showErrorList): added
6531 * buffer.C (runChkTeX):
6532 * converter.C (scanLog): call showErrorList instead of inserterrors
6534 2003-05-13 André Pönitz <poenitz@gmx.net>
6536 * BufferView_pimpl.C:
6538 * bufferview_func.C:
6545 * tabular_funcs.h: tostr() from its own header
6547 * ParagraphParameters.C:
6552 * text3.C: STRCONV()
6554 2003-05-12 André Pönitz <poenitz@gmx.net>
6557 * BufferView_pimpl.C:
6561 * ParagraphParameters.C:
6565 * bufferview_funcs.C:
6578 * paragraph_funcs.C:
6582 * text3.C: boost::format -> bformat all over the place
6585 2003-05-09 André Pönitz <poenitz@gmx.net>
6587 * LColor.[Ch]: Pimpl the #include <map> away
6589 2003-05-09 John Levon <levon@movementarian.org>
6591 * bufferlist.C: never remove emergency saves
6593 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6595 * Makefile.am: better lib building
6597 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6599 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6601 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6602 (simpleTeXSpecialChars): adjust
6603 (simpleTeXSpecialChars): adjust
6604 * paragraph.C (simpleTeXOnePar): adjust
6605 * buffer.C (makeLaTeXFile): adjust
6607 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6609 * text2.C (changeDepth): parlist cleanup
6610 (getColumnNearX): ditto
6612 * rowpainter.C (getLabelFont): parlist cleanup
6614 * bufferlist.C (newFile): parlist cleanup
6616 * CutAndPaste.C (eraseSelection): parlist cleanup
6618 * BufferView_pimpl.C (trackChanges): parlist cleanup
6621 * BufferView.C (lockInset): parlist cleanup.
6622 (ChangeInsets): ditto
6624 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6626 * CutAndPaste.h: Update file header.
6628 * CutAndPaste.C: Update file header.
6629 Store the parts cut out of the Document in a limited_stack.
6630 (copySelection): adjust
6631 (pasteSelection): new function, takes the index in the limited stack.
6632 (nrOfParagraphs): adjust
6633 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6634 simplify error inset insertion.
6635 (checkPastePossible): adjust
6637 2003-05-06 John Levon <levon@movementarian.org>
6639 * text2.C: don't cast wrap inset to float
6641 2003-05-05 André Pönitz <poenitz@gmx.net>
6644 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6646 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6647 few naked Paragraph *.
6649 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6651 * bufferparams.C: Output warning if a document with missing
6652 TeX document class is loaded
6653 * exporter.C: Disable TeX exports if the document class is missing
6656 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6657 isTeXClassAvailable()
6659 2003-05-03 John Levon <levon@movementarian.org>
6662 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6663 explicit cursor show/hide
6665 * BufferView_pimpl.h:
6666 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6667 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6669 * lyxfunc.C: hide cursor before dispatching.
6674 * text3.C: remove explicit cursor hides
6676 2003-05-02 André Pönitz <poenitz@gmx.net>
6678 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6681 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6684 * text2.C: tiny whitespace
6686 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * undo_funcs.C: almost only ws changes.
6690 * ParagraphList.C (splice): just return if pl is empty.
6692 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6694 * ParagraphList.C (splice): new function.
6696 * CutAndPaste.C (pasteSelection): use it
6698 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6700 * CutAndPaste.C (pasteSelection): remove the last next and
6701 previous from this file.
6703 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6705 * CutAndPaste.C (pasteSelection): more clean up, user proper
6706 ParagraphList functions for pasteing.
6708 * ParagraphList.C (insert): new function, three arg insert
6710 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6712 * ParagraphList.C (insert): new function, three arg insert
6714 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6717 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6719 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6721 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6723 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6725 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6728 (copySelection): clean up a bit.
6729 (pasteSelection): use make_pair
6731 * ParagraphList.C (ParagraphList): implement copy constructor
6732 (operator=): implement, base on copy constructor.
6735 * paragraph.C (erase): return a bool
6737 * paragraph_pimpl.C (erasePos): remove function, move contents...
6738 (erase): ... here. Return a bool.
6739 (erase): call erase instead of erasePos.
6741 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6743 * ParagraphList.h: define PitPosPair
6744 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6745 ParagraphList, fix a bug on pasting multiple pars
6746 * text2.C: change interface to C&P
6748 2003-04-30 André Pönitz <poenitz@gmx.net>
6750 * undo_func.C: revert part of yesterday's patch 2
6752 2003-04-30 John Levon <levon@movementarian.org>
6754 * LColor.C: s/tabular/table/
6756 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * text3.C (dispatch): do not convert iterator -> pointer
6759 * undo_funcs.C (setCursorParUndo): ditto
6760 * text_funcs.C (transposeChars): ditto
6762 * text2.C (setLayout): ws changes only
6764 * text.C (breakParagraph): do not convert iterator -> pointer
6766 (acceptChange): ditto
6767 (rejectChange): ditto
6772 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6775 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6777 * text3.C (gotoInset): YABG (yet another bad getChar)
6779 2003-04-29 André Pönitz <poenitz@gmx.net>
6781 * paragraph.h: make operator= private unimplemented as long as
6784 * ParagraphList.C: whitespace
6787 * paragraph_pimpl.[Ch]:
6788 * paragraph_funcs.C:
6790 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6793 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6795 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6797 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6798 * paragraph.[Ch] (erase):
6799 * paragraph_pimpl.[Ch] (erase): change return type and value
6800 * text2.C (cutSelection): some rework
6802 2003-04-28 John Levon <levon@movementarian.org>
6804 * bufferlist.C: changes for unsaved changes dialog
6806 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6808 * bufferlist.C (newFile): set language (messages_) for new
6811 * buffer.C (readFile): ws changes only.
6813 2003-04-28 André Pönitz <poenitz@gmx.net>
6818 * BufferView_pimpl.C:
6819 * BufferView.C: getParFromID related ParagraphList::iterator changes
6821 2003-04-28 André Pönitz <poenitz@gmx.net>
6823 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6826 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6828 * messages.C: remove one more localedir class variable.
6830 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * messages.C (getLocaleDir): singleton generation function
6834 (Messages): add a default constructor.
6836 * main.C (main): do not setup localedir here, do not call
6839 * gettext.C (_): use it.
6840 (gettext_init): delete funciton
6842 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6844 * gettext.C (getLyXMessages): new singleton generating function.
6846 * buffer.C (updateDocLang): adjust
6848 * Makefile.am (messages.o): add target
6849 (main.o): remove target
6851 2003-04-27 John Levon <levon@movementarian.org>
6856 * lyxvc.C: specify cancel button in Alert::prompt
6858 2003-04-26 John Levon <levon@movementarian.org>
6863 * LyXAction.C: add LFUN_INSET_SETTINGS
6865 * lyxfunc.C: don't enable tabular-feature when there's
6866 just any locking inset
6868 2003-04-26 John Levon <levon@movementarian.org>
6870 * bufferlist.C: re-add Cancel to buffer close question
6872 * lyxfunc.C: fix import UI a bit
6874 2003-04-25 John Levon <levon@movementarian.org>
6876 * gettext.C: remove the broken asserts for now
6878 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6880 * messages.C: make case where setlocale cannot comply work better.
6882 * buffer.C (updateDocLang): new function
6883 (changeLanguage): use it
6886 * text2.C (setCounter): use B_ a bit.
6888 * lyxlayout.C (Read): be sure to trim the label strings.
6890 * messages.C (Messages): fix typo in comment
6892 * buffer.C (readFile): set message_ after file is loaded.
6893 (makeDocBookFile): remove double return
6894 (changeLanguage): reset message_ upon language change.
6895 (B_): new func, use this to get translated buffer strings.
6897 * main.C: add myself and Jean Marc as authors.
6899 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6901 * messages.[hC]: pimplify Messages, and three different pimpls to be
6902 used in different circumstances.
6904 * gettext.[Ch]: change for use with new message code.
6906 2003-04-24 André Pönitz <poenitz@gmx.net>
6908 * factory.C: support for eqref
6910 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * messages.[Ch]: add missing char
6914 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6916 * messages.[Ch]: New files
6918 2003-04-18 John Levon <levon@movementarian.org>
6922 * BufferView_pimpl.C:
6926 * text2.C: remove layout-copy/paste (bug 778)
6928 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6930 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6932 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6934 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6935 if they succeed. Act accordingly.
6937 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * text2.C (setCharFont): adjust
6940 (setCounter): adjust
6941 (insertStringAsLines): adjust
6943 * text.C (leftMargin): adjust
6944 (setHeightOfRow): adjust
6946 * rowpainter.C (paintFirst): adjust
6949 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6951 (isFirstInSequence): ditto
6952 (getEndLabel): ditto
6955 * paragraph.C (getParLanguage): comment out some hard stuff.
6957 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6959 (simpleDocBookOnePar): ditto
6960 (makeDocBookFile): use ParagraphList::iterator
6962 * CutAndPaste.C (pasteSelection): adjust
6964 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * text2.C (getFont): adjust
6967 (getLayoutFont): adjust
6968 (getLabelFont): adjust
6970 * paragraph_funcs.C (TeXOnePar): adjust
6972 * buffer.C (simpleLinuxDocOnePar): adjust
6973 (simpleDocBookOnePar): adjust
6975 * CutAndPaste.C (pasteSelection): adjust
6977 * BufferView.C (getEncoding): adjust
6979 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6981 2003-04-16 John Levon <levon@movementarian.org>
6983 * lyxfind.C: use parlist stuff for search/changes
6985 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6987 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6989 * text2.C (deleteEmptyParagraphMechanism): adjust
6991 * text2.[Ch] (ownerParagraph): delete func (both of them
6993 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6995 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6997 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6999 * ParagraphList.C: prepare for NO_NEXT
7001 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7003 * text2.C (getFont): adjust
7004 (getLayoutFont): adjust
7005 (getLabelFont): adjust
7007 * paragraph.C (getFont): adjust
7008 (getLabelFont): adjust
7009 (getLayoutFont): adjust
7011 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7013 2003-04-15 John Levon <levon@movementarian.org>
7017 * lyx_main.C: handle Include in .ui files
7019 2003-04-15 John Levon <levon@movementarian.org>
7021 * MenuBackend.C: make the doc files length shorter
7024 * ToolbarBackend.C: handle toolbar placement flags,
7027 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7029 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7032 * paragraph_funcs.C (TeXOnePar): adjust
7034 * paragraph.C (getLabelFont): add outerfont arg, adjust
7035 (getLayoutFont): ditto
7036 (simpleTeXOnePar): adjust
7038 * paragraph_pimpl.C (realizeFont): delete func
7040 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7042 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7043 row argument, constify cur argument.
7045 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7047 * text2.C (getFont): adjust
7048 (getLayoutFont): adjust
7049 (getLabelFont): adjust
7051 * paragraph_funcs.C (TeXOnePar): adjust
7052 (outerFont): new func...
7053 (realizeFont): ...moved out from here, changed this to facilitate
7056 * paragraph.C (getFont): take outerfont as arg, adjust
7057 (simpleTeXOnePar): add outerfont arg, adjust
7059 * buffer.C (simpleLinuxDocOnePar): adjust
7060 (simpleDocBookOnePar): adjust
7062 * CutAndPaste.C (pasteSelection): adjust
7064 * BufferView.C (getEncoding): adjust
7066 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7068 * text2.C (setCharFont): adjust
7069 (setCounter): adjust
7071 * text.C (leftMargin): adjust
7072 (setHeightOfRow): adjust
7074 * rowpainter.C (paintFirst): adjust
7077 * paragraph_pimpl.C (realizeFont): adjust
7079 * paragraph.C (isFirstInSequence): move from here...
7080 * paragraph_funcs.C (isFirstInSequence): ...to here
7082 * paragraph.C (outerHook): move from here...
7083 * paragraph_funcs.C (outerHook): ...to here
7085 * paragraph.C (depthHook): move from here...
7086 * paragraph_funcs.C (depthHook): ...to here
7088 * paragraph.C (getEndLabel): move from here...
7089 * paragraph_funcs.C (getEndLabel): ...to here
7091 * text2.C (realizeFont): move from here...
7092 * paragraph_funcs.C (realizeFont): ...to here
7094 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7096 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7098 2003-04-14 Angus Leeming <leeming@lyx.org>
7100 * LColor.[Ch]: scrap LColor mathcursor.
7102 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7104 * lyxlex.[Ch] (text): delete function
7105 * trans.C (Load): adjust
7106 * paragraph_funcs.C (readParToken): adjust
7108 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7111 vector<char> instead of a char[].
7113 * lyxlex_pimpl.C (getString): adjust
7115 (lex): use getString
7119 * lyxlex.C (text): use pimpl_->getString()
7123 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7125 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7126 (makeFontEntriesLayoutSpecific): temp var for par.size()
7127 (setLayout): temp var for ownerParagraphs().end()
7128 (fullRebreak): temp var for rows().end()
7129 (selectionAsString): temp var for boost::next(startpit), realize
7130 that the while really is a regular for loop.
7131 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7132 setCursor in one place.
7133 (setParagraph): temp vr for ownerParagraphs().end()
7134 (updateCounters): make the while loop a for loop
7135 (cutSelection): temp var for ownerParagraphs().end()
7136 (updateInset): make the do {} while() a regular for loop
7137 (getCursorX): use temp vars
7138 (setCurrentFont): use temp vars
7139 (getColumnNearX): use temp vars
7141 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7143 * text.C (transformChar): use temp var for getChar
7144 (computeBidiTables): use temp var for row->par()
7145 (fill): move temp vars for row->par() and pit->layout() earlier in
7147 (labelFill): use temp var for row->par()
7148 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7149 asc and desc, realize that pit never changes and that firstpit is
7150 just a duplicate and not needed. Exchange rit->par() with pit in a
7152 (breakAgain): use a temp var for boost::next(rit)
7153 (breakAgainOneRow): ditto
7154 (breakParagraph): use a temp var for rows().begin()
7155 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7156 (cursorRightOneWord): use temp var for cursor.par() and
7157 cursor.pos(), remove usage of tmpcursor.
7158 (cursorLeftOneWord): use temp var for cursor.par() and
7159 cursor.pos() only set cur at end of function.
7161 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * text.C, text2.C: exchange all usage of Paragraph::next with
7164 boost::next(ParagraphList::iterator)
7166 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7168 * text2.C (cursorTop): simplify implementation
7169 (cursorBottom): ditto
7170 (setParagraph): use ParagraphList::iterator
7171 (setCurrentFont): adjust
7172 (getColumnNearX): adjust
7173 (cursorRight): adjust
7174 (cursorLeft): remove usage of Paragraph::previous
7175 (cursorUpParagraph): ditto
7176 (deleteEmptyParagraphMechanism): slight cleanup
7178 * text.C (isBoundary): take a Paragraph const & instead of a
7180 (addressBreakPoint): ditto
7181 (leftMargin): remove usage of Paragraph::previous.
7182 (setHeightOfRow): ditto
7183 (cursorLeftOneWord): ditto
7184 (selectNextWordToSpellcheck): ditto
7187 (breakParagraph): remove one usage of Paragraph::next
7188 (redoParagraph): ditto
7189 (acceptChange): ditto
7190 (insertChar): adjust
7191 (rowBreakPoint): adjust
7193 * bufferview_funcs.C (toggleAndShow): adjust
7195 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7197 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7198 methods to access it.
7200 * text.C: Added updateRowPositions to compute all row positions.
7201 Make top_y and getRowNearY() to use the cached y position
7203 2003-04-11 John Levon <levon@movementarian.org>
7205 * text.C (rowBreakPoint): reintroduce the labelEnd
7206 checks, code copied from the row fill stuff. Deep voodoo.
7208 * text.C (fill): add a comment and debugging for the
7211 2003-04-11 John Levon <levon@movementarian.org>
7213 * text.C: make sure fullrow insets get wrapped to the next line,
7214 even when they're in a manual label
7216 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7218 * text2.C (insertParagraph): make it take ParagraphList::iterator
7220 (setLayout): make it return ParagraphList::iterator
7221 (redoParagraphs): ditto
7223 (checkParagraph): ditto
7225 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7227 * text2.C: adjust several funcs.
7228 (realizeFont): take a ParagraphList::iterator as arg.
7229 (getLayoutFont): ditto
7230 (getLabelFont): ditto
7231 (setCharFont): ditto
7233 * text.C: adjust several funcs.
7235 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7237 * text.C (selectNextWordToSpellcheck): don't accidentally
7240 2003-04-10 John Levon <levon@movementarian.org>
7242 * ToolbarBackend.C (getIcon): special handling for
7245 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7247 * text2.C (cursorRight): a getChar assert fixed
7249 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * text2.C (getFont): change to take a ParagraphList::iterator
7252 instead of Paragraph*
7253 Adjust several functions.
7255 * text.C (transformChar): change to take a ParagraphList::iterator
7256 instead of Paragraph*
7257 (singleWidth): ditto
7258 Adjust several functions.
7260 * rowpainter.C: adjust several functions
7261 * rowpainter.h:store a ParagraphList::iterator and not a
7265 2003-04-09 John Levon <levon@movementarian.org>
7270 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7271 and the "help" bits as well
7273 2003-04-09 John Levon <levon@movementarian.org>
7276 * ToolbarBackend.C: allow multiple toolbars
7278 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * undo_funcs.C (setCursorParUndo): adjust
7282 * text_funcs.C (transposeChars): adjust
7284 * text3.C (gotoNextInset): adjust
7287 * text2.C (setLayout): adjust
7288 (changeDepth): adjust
7290 (redoParagraphs): adjust
7291 (selectionAsString): adjust
7292 (setParagraph): adjust
7293 (insertInset): adjust
7294 (cutSelection): adjust
7295 (copySelection): adjust
7296 (pasteSelection): adjust
7297 (insertStringAsLines): adjust
7298 (updateInset): adjust
7299 (setCursor): change to take a ParagraphList::iterator parameter
7300 (setCursorIntern): change to take a ParagraphList::iterator parameter
7301 (setCurrentFont): adjust
7302 (cursorLeft): adjust
7303 (cursorRight): adjust
7304 (deleteEmptyParagraphMechanism): adjust
7306 * text.C (breakParagraph): adjust
7307 (insertChar): adjust
7308 (acceptChange): adjust
7309 (rejectChange): adjust
7310 (selectNextWordToSpellcheck): adjust
7311 (changeCase): adjust
7315 * lyxfind.C (SearchForward): adjust
7316 (SearchBackward): adjust
7317 (nextChange): adjust
7319 * lyxcursor.C (par): adjust
7321 * lyxcursor.h: store a ParagraphList::iterator instead of a
7324 * lyx_cb.C (getPossibleLabel): adjust
7326 * bufferview_funcs.C (toggleAndShow): adjust
7328 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7331 * BufferView.C (removeAutoInsets): adjust
7332 (lockedInsetStoreUndo): adjust
7334 2003-04-09 John Levon <levon@movementarian.org>
7336 * ToolbarBackend.C: try icon without argument
7337 if with argument fails
7339 2003-04-08 John Levon <levon@movementarian.org>
7342 * ToolbarBackend.C: add getIcon(), handle tooltip,
7343 and change from "Icon" to "Item".
7345 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7347 * BufferView.C (lockInset): another bad getchar crunched
7349 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7351 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7354 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7356 * lyxfind.C (searchForward, searchBackwards): bug 782
7358 2003-04-07 John Levon <levon@movementarian.org>
7360 * paragraph.C: remove dead comment
7362 * text.C: remove troublesome depth-fiddling code
7363 in leftMargin() and rightMargin() (bug 1017)
7365 * text.C: fix breaking of rows in nested lists
7368 * text2.C (updateCounters): fix up depth values
7371 2003-04-07 John Levon <levon@movementarian.org>
7373 * BufferView_pimpl.C: clear message when doc finishes resizing,
7374 and after a mouse event
7376 * lyxfunc.C: clear message after exiting inset
7378 2003-04-07 John Levon <levon@movementarian.org>
7380 * bufferview_funcs.C: show math status not outside
7381 status in the statusbar
7383 2003-04-07 John Levon <levon@movementarian.org>
7385 * lyxfunc.C: note status changed after a depth change
7387 2003-04-04 Angus Leeming <leeming@lyx.org>
7389 * LaTeX.h: move AuxInfo operator==, != out of line.
7390 Remove LaTeX virtual destructor; nothing derives from it.
7391 Move operator()() out of public area and rename it startscript().
7392 Change protected for private.
7394 2003-04-04 Angus Leeming <leeming@lyx.org>
7397 * text2.C: remove unneeded #includes.
7399 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7401 * text2.C (dEPM): fix the heigth of the next row
7403 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7405 * text.C: squashed an invalid getChar requester + some ws changes
7407 2003-04-03 John Levon <levon@movementarian.org>
7409 * bufferview_funcs.h:
7410 * bufferview_funcs.C:
7413 * text2.C: make getStatus work for the env depth lfuns
7415 2003-04-03 John Levon <levon@movementarian.org>
7417 * bufferview_funcs.h:
7418 * bufferview_funcs.C:
7421 * text2.C: parlistize decDepth(), by merging it with incDepth()
7423 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * lyxrow.h: store a ParagraphList::iterator instead of a
7426 Paragraph* and adjust other class functions to suit.
7428 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7431 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7433 * text2.C (setCursor): do not anchor to cursor row for the time being
7435 2003-04-02 John Levon <levon@movementarian.org>
7442 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7444 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7446 * paragraph.h: make ParagraphList and ParagraphList::iterator
7447 friends of Paragraph.
7449 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7451 * ParagraphList.C: Use the private next_ and previous_ from
7454 2003-04-01 John Levon <levon@movementarian.org>
7458 * Makefile.am: rename, remove defaults gunk
7461 * MenuBackend.C: remove defaults gunk
7464 * Languages.C: remove defaults gunk
7467 * lyx_main.C: error out if files couldn't be found.
7469 2003-04-02 John Levon <levon@movementarian.org>
7471 * text2.C: make incDepth() use parlist
7473 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * undo_funcs.C (firstUndoParagraph): adjust
7477 * text3.C (gotoInset): adjust
7478 (dispatch): adjust, and rewrite loop.
7480 * text2.C (init): adjust, and rewrite loop.
7481 (redoParagraphs): adjust
7482 (updateInset): adjust, and rewrite loop.
7483 (deleteEmptyParagraphMechanism): adjust
7485 * tabular.C (LyXTabular): adjust
7486 (SetMultiColumn): adjust
7489 * lyxtext.[Ch] (ownerParagraph): delete function
7490 (ownerParagraphs): new function returns a ParagraphList.
7492 * BufferView.C (removeAutoInsets): adjust
7493 (insertErrors): adjust
7494 (setCursorFromRow): adjust
7496 2003-04-01 Angus Leeming <leeming@lyx.org>
7498 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7501 2003-04-02 John Levon <levon@movementarian.org>
7507 * text_funcs.C: make transposeChars a free function
7509 * lyxrow_funcs.C: remove wrong comment
7511 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * rowpainter.C: adjust
7519 * lyxrow_funcs. [Ch]: new files
7521 * lyxrow.[Ch]: remove next and previous pointers
7522 (next,previous): remove accessor functions
7523 (isParEnd): move to lyxrow_funcs
7524 (lastPos): move to lyxrow_funcs
7525 (nextRowIsAllInset): move to lyxrow_funcs
7526 (lastPrintablePos): move to lyxrow_funcs
7527 (numberOfSeparators): move to lyxrow_funcs
7528 (numberOfHfills): move to lyxrow_funcs
7529 (numberOfLabelHfills): move to lyxrow_funcs
7530 (hfillExpansion): move to lyxrow_funcs
7534 * bufferview_funcs.C (toggleAndShow): adjust
7536 * RowList.h: Remove class RowList from file leave just a
7539 * RowList.C: delete file
7541 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7544 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * text3.C (cursorPrevious): adjust
7547 (cursorNext): adjust
7550 * text2.C (redoHeightOfParagraph): adjust
7551 (redoDrawingOfParagraph): adjust
7554 * text.C (breakParagraph): adjust
7555 (insertChar): adjust
7558 * rowpainter.C (RowPainter): adjust
7559 (leftMargin): simplify and adjust
7560 (most rowpainter functions): adjust.
7562 * rowpainter.h: store the row as RowList::iterator not as Row*
7564 * lyxcursor.C (row): taka RowList::iterator as arg
7567 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7570 2003-04-01 Angus Leeming <leeming@lyx.org>
7572 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7573 stuff like bool Bool.
7575 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7577 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7580 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7585 * lyxtext.h (rows): drop one version and leve a const variant that
7586 returns a RowList::iterator.
7588 2003-03-31 Angus Leeming <leeming@lyx.org>
7590 * text.C (fill): ensure that the signature is the same as that in the
7593 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * text2.C (redoParagraphs): adjust
7596 (updateCounters): adjust
7597 (checkParagraph): adjust
7598 (getColumnNearX): adjust and reformat a bit.
7600 * text.C (top_y): adjust
7602 (leftMargin): adjust
7603 (prepareToPrint): adjust
7605 (getRowNearY): adjust
7607 * lyxtext.h: make rowlist_ mutable.
7609 * RowList.h: add const_iterator
7610 * RowList.C: adjust for RowList::const_iterator.
7612 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7615 2003-03-31 John Levon <levon@movementarian.org>
7618 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7620 * lyx_main.C: set default fonts from using lyx_gui funcs
7622 * exporter.C: pdf_mode moved from lyxrc
7625 * lyxfunc.C: changes from above
7627 2003-03-31 John Levon <levon@movementarian.org>
7629 * lyx_main.C: fix to the last fix
7631 2003-03-31 John Levon <levon@movementarian.org>
7633 * bufferlist.C: "Load original" -> "Load Original"
7639 * format.C: more Alert cleanups
7641 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7643 * text2.C (removeParagraph): make it take a RowList::iterator as
7645 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7646 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7648 * text.C (anchor_row): make it take a RowList::iterator as arg,
7650 (computeBidiTables): make it take a const reference to Row instead
7651 of Row pointer, adjust.
7652 (leftMargin): make it take a RowList::iterator as arg, adjust.
7653 (rowBreakPoint): adjust
7654 (breakAgainOneRow): make it take a RowList::iterator as arg,
7656 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7658 * bufferview_funcs.C (toggleAndShow): adjust
7660 2003-03-30 John Levon <levon@movementarian.org>
7664 * boost-inst.C: moved to support
7666 * several files: changes as a result
7668 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * text2.C (LyXText): adjust.
7672 (removeRow): make it take a RowList::iterator as arg, adjust.
7673 (fullRebreak): adjust
7674 (deleteEmptyParagraphMechanism): adjust
7675 (clearPaint): adjust
7678 * text.C (top_y): adjust
7679 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7680 (breakAgain): make it take a RowList::iterator as arg, adjust.
7681 (breakParagraph): adjust
7682 (insertChar): adjust
7685 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7686 need_break_row, and refresh_row.
7688 * text3.C (dispatch): adjust
7690 * text2.C (checkParagraph): adjust
7692 (setCursorFromCoordinates): adjust
7694 * text.C (top_y): adjust
7696 (getRow): make it return a RowList::iterator, adjust
7697 (getRowNearY): make it return a RowList::iterator, adjust
7699 * text2.C (init): adjust
7700 (insertRow): remove function
7701 (insertParagraph): adjust
7702 (redoParagraphs): adjust
7703 (fullRebreak): adjust
7704 (updateCounters): adjust
7706 * text.C (top_y): rewrite to use RowList iterators.
7708 (setHeightOfRow): rewrite to sue RowList iterators.
7709 (appendParagraph): adjust
7710 (breakAgain): adjust
7711 (breakAgainOneRow): adjust
7712 (breakParagraph): adjust
7714 (getRowNearY): adjust, and remove commented code.
7716 * lyxtext.h (firstRow): delete function
7717 (lastRow): delete function
7718 (rows): new function (const and non-const versions.)
7719 (insertRow): delete function
7721 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7723 2003-03-29 John Levon <levon@movementarian.org>
7725 * BufferView_pimpl.C: always update scrollbar top
7726 because pasting text when we're anchored could mean we
7727 miss an update altogether
7729 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * text2.C (init): use rowlist_.end() and not 0.
7732 (insertRow): change to take a RowList::iterator as arg, adjust
7734 (insertParagraph): change to take a RowList::iterator as arg,
7736 (redoParagraphs): remove some debug msgs.
7738 * text.C (appendParagraph): change to take a RowList::iterator
7739 arg, adjust for this.
7740 (breakAgain): add an assert
7741 (breakAgainOneRow): ditto
7743 2003-03-29 John Levon <levon@movementarian.org>
7745 * text2.C: do not clear selection after inc/decDepth
7748 2003-03-29 John Levon <levon@movementarian.org>
7751 * buffer.C: fix broken strerrors according to Lars
7753 2003-03-29 John Levon <levon@movementarian.org>
7755 * converters.C: more Alert cleanups
7757 2003-03-29 John Levon <levon@movementarian.org>
7759 * bufferview_funcs.C: remove pointless Alert
7761 * buffer.C: fix confusing error message when
7762 a template is chmoded 000
7764 2003-03-29 John Levon <levon@movementarian.org>
7768 * BufferView_pimpl.C: Alert fixes
7772 * tabular-old.C: remove unused table compat reading
7774 2003-03-29 John Levon <levon@movementarian.org>
7779 * lyx_cb.C: more Alert cleanups
7781 * lyxfunc.C: don't allow chktex if not latex document
7783 2003-03-29 John Levon <levon@movementarian.org>
7787 * buffer.C: warnings pushed down from support/,
7790 2003-03-29 John Levon <levon@movementarian.org>
7792 * lyxfunc.C: safety check for C-r (revert)
7794 2003-03-29 John Levon <levon@movementarian.org>
7797 * bufferlist.C: several UI fixes using Alert::prompt.
7798 Fix the pointless looping quit code. Fix stupid revert
7803 * lyx_cb.C: use Alert::prompt
7805 * lyx_main.C: remove a silly question
7807 * lyxfunc.C: remove a couple of silly questions,
7810 2003-03-28 John Levon <levon@movementarian.org>
7812 * text2.C: fix bug 974 (End on empty par)
7814 2003-03-28 John Levon <levon@movementarian.org>
7816 * BufferView_pimpl.C:
7818 * lfuns.h: remove do-nothing math greek lfuns
7820 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7822 * lyxgluelength.h (isValidGlueLength): add default arg on
7823 parameter 2. Remove default arg from friend in class.
7825 * lyxlength.h (isValidLength): add default arg on parameter 2.
7826 Remove default arg from friend in class.
7828 * text2.C (LyXText): adjust, initialize refresh_row.
7832 (insertParagraph): adjst
7833 (redoParagraphs): adjust
7834 (fullRebreak): adjust
7835 (updateCounters): adjust
7836 (deleteEmptyParagraphMechanism): first attempt at fixing a
7839 * text.C (top_y): adjust
7840 (setHeightOfRow): adjust
7842 (getRowNearY): adjust
7844 * lyxtext.h: include RowList.h
7845 (~LyXText): not needed anymore, deleted.
7846 (firstRow): modify for RowList
7847 (lastRow): new function
7848 Delete firstrow and lastrow class variables, add a Rowlist
7849 rowlist_ class variable.
7851 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7854 * RowList.C (insert): fix case where it == begin().
7856 2003-03-26 Angus Leeming <leeming@lyx.org>
7858 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7859 the thesaurus dialog.
7861 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7865 * RowList.[Ch]: new files
7867 * ParagraphList.C (erase): handle the case where it == begin
7870 2003-03-25 John Levon <levon@movementarian.org>
7874 * aspell.C: add new aspell support
7877 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7880 2003-03-25 Angus Leeming <leeming@lyx.org>
7883 * LyXAction.C (init): new LFUN_INSET_INSERT.
7885 * BufferView_pimpl.C (dispatch): split out part of the
7886 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7888 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7891 2003-03-25 Angus Leeming <leeming@lyx.org>
7893 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7895 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7898 * text3.C: remove useless row->height(0)
7900 2003-03-25 John Levon <levon@movementarian.org>
7904 * text3.C: rename the refreshing stuff to better names
7906 2003-03-24 John Levon <levon@movementarian.org>
7908 * BufferView_pimpl.h:
7909 * BufferView_pimpl.C: update layout choice on a mouse
7912 2003-03-23 John Levon <levon@movementarian.org>
7914 * Makefile.am: fix commandtags.h reference
7916 2003-03-22 John Levon <levon@movementarian.org>
7918 * BufferView_pimpl.C:
7923 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7925 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7928 * text.C: take the rtl methods out of line
7930 2003-03-21 André Pönitz <poenitz@gmx.net>
7932 * metricsinfo.[Ch]: new files containing structures to be passed around
7933 during the two-phase-drawing...
7935 2003-03-21 André Pönitz <poenitz@gmx.net>
7937 * lyxtextclass.C: read 'environment' tag.
7939 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7941 * text2.C (removeRow): fix bug 964
7943 2003-03-20 John Levon <levon@movementarian.org>
7947 * text2.C: paint cleanups. Inset::update() dropped font
7950 2003-03-19 John Levon <levon@movementarian.org>
7952 * lyxfunc.C: only fitcursor/markDirty if available()
7954 2003-03-19 John Levon <levon@movementarian.org>
7956 * commandtags.h: rename to ...
7958 * lfuns.h: ... this, and renumber / cleanup
7960 2003-03-19 John Levon <levon@movementarian.org>
7962 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7963 fit the cursor after an lfun
7967 * BufferView_pimpl.h:
7968 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7970 * LyXAction.C: layout-character should have ReadOnly
7972 * ParagraphParameters.C:
7974 * bufferview_funcs.C:
7981 * undo_funcs.C: changes from above
7983 2003-03-18 John Levon <levon@movementarian.org>
7985 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7986 remove it from update()
7988 * lyxfunc.C: update layout choice after an lfun
7990 * text3.C: remove extra updateLayoutChoice()s
7992 2003-03-18 John Levon <levon@movementarian.org>
7994 * text.C: top_y change means full repaint, fix
7995 a drawing bug with cursor movement
7997 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8001 * text2.C: anchor row on setCursor
8003 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8005 * lyxtext.h: remove almost all mutable keywords
8008 * text3.C: remove const keywords accordingly
8010 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8012 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8014 (TeXEnvironment): ditto
8017 2003-03-17 John Levon <levon@movementarian.org>
8019 * text.C (rowBreakPoint): remove attempt to fix displayed
8020 math insets inside a manual label
8022 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8024 * lyxtext.h: remove BufferView* as first arg from almost all class
8026 * other files: adjust.
8028 2003-03-17 John Levon <levon@movementarian.org>
8032 * text2.C: more paint cleanups
8034 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8037 * rowpainter.C: remove "smart" background painting code
8039 2003-03-16 John Levon <levon@movementarian.org>
8044 * text3.C: add helper functions for setting refresh_row/y
8046 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8048 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8049 newline inset which *can* get inserted in the pass_thru layouts.
8050 This is primarily for literate documents.
8052 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8054 * buffer.C: increment LYX_FORMAT to 223
8056 2003-03-14 André Pönitz <poenitz@gmx.net>
8058 * textclass.h: prepare for environment handling, ws changes
8059 * lyxlayout.C: read latexheader and latexfooter tags
8061 2003-03-14 John Levon <levon@movementarian.org>
8063 * text2.C: rewrite ::status() a bit
8065 2003-03-13 John Levon <levon@movementarian.org>
8067 * lyxtext.h: add some docs
8069 2003-03-13 John Levon <levon@movementarian.org>
8074 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8076 2003-03-13 John Levon <levon@movementarian.org>
8078 * text3.C: fix appendix redrawing
8080 2003-03-13 John Levon <levon@movementarian.org>
8082 * text.C (setHeightOfRow):
8084 * rowpainter.C: make appendix mark have the text
8085 "Appendix" so the user knows what it is
8088 * LColor.C: s/appendixline/appendix/ from above
8090 2003-03-13 John Levon <levon@movementarian.org>
8092 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8094 * text.C: fix a getChar(pos) bug properly
8096 2003-03-13 Angus Leeming <leeming@lyx.org>
8099 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8100 Probably only temporary. Let's see how things pan out.
8102 * BufferView.C (unlockInset):
8103 * BufferView_pimpl.C (fitCursor):
8104 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8106 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8107 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8109 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8110 new functions that convert ParagraphParameters to and from a string.
8112 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8113 BufferView::Pimpl's dispatch.
8114 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8116 2003-03-13 André Pönitz <poenitz@gmx.net>
8120 * factory.C: make it aware of InsetEnv
8122 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8124 * text2.C (setCursor): never ask for one past last
8125 (setCursor): add some debugging messages.
8127 * text.C (singleWidth): never ask for one past last
8128 (singleWidth): ditto
8130 (rightMargin): ditto
8131 (rowBreakPoint): ditto
8132 (setHeightOfRow): ditto
8133 (prepareToPrint): ditto
8135 * rowpainter.C (paintBackground): never ask for one past last
8136 (paintText): never ask for one past last
8138 * paragraph_pimpl.C (getChar): make the assert stricter, never
8139 allow the one past last pos to be taken
8141 * paragraph.C (getChar): ws changes only
8143 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8144 (numberOfSeparators): ditto
8145 (numberOfHfills): ditto
8147 2003-03-12 John Levon <levon@movementarian.org>
8153 * paragraph_funcs.C: fix per-buffer authorlists
8155 2003-03-12 John Levon <levon@movementarian.org>
8157 * text.C: fix newline in right address
8159 2003-03-12 Angus Leeming <leeming@lyx.org>
8161 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8162 duplicate those in LyXFunc::dispatch.
8166 * ToolbarDefaults.C:
8167 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8168 Add LFUN_FONTFREE_UPDATE.
8170 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8171 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8173 * bufferview_func.[Ch]: several new functions to facilliate
8174 transfer of data to and from the character dialog.
8176 2003-03-12 John Levon <levon@movementarian.org>
8181 * paragraph_funcs.C:
8182 * paragraph_pimpl.C:
8186 * text3.C: remove META_NEWLINE in favour of an inset
8189 * rowpainter.C: remove paintNewline (done by inset)
8191 2003-03-12 John Levon <levon@movementarian.org>
8193 * paragraph_pimpl.C: complain about bad getChar()s
8194 for a while at least
8196 2003-03-12 John Levon <levon@movementarian.org>
8199 * buffer.C: move paragraph read into a separate function,
8200 a little renaming to reflect that.
8203 * bufferparams.C: remove the author_ids map, not necessary now
8206 * factory.C: moved Buffer::readInset to here
8208 * paragraph_funcs.h:
8209 * paragraph_funcs.C: readParagraph free function moved from
8212 * tabular.C: name change
8214 2003-03-12 John Levon <levon@movementarian.org>
8217 * ParagraphParameters.C: move par params input to
8220 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8221 behave like a normal read from the stream wrt reading
8222 a line vs. a \\token
8224 2003-03-12 John Levon <levon@movementarian.org>
8227 * ParagraphParameters.h:
8228 * ParagraphParameters.C: move output code to a
8231 2003-03-12 John Levon <levon@movementarian.org>
8233 * BufferView.C (insertLyXFile):
8236 * tabular.C: use a parlist iterator for creating the
8239 2003-03-12 John Levon <levon@movementarian.org>
8241 * buffer.C: make current_change static local not
8244 2003-03-12 John Levon <levon@movementarian.org>
8246 * buffer.C: fix insertStringAsLines for change tracking
8248 2003-03-12 John Levon <levon@movementarian.org>
8255 * bufferparams.C: move author list into params. Rename some
8256 functions. Move the header reading into a separate token
8257 loop. Move the header token reading into BufferParams.
8259 2003-03-12 John Levon <levon@movementarian.org>
8261 * changes.C: put debug inside lyxerr.debugging() checks
8263 2003-03-11 André Pönitz <poenitz@gmx.net>
8265 * factory.C: make it aware of InsetHFill
8267 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8269 * buffer.C (latexParagraphs): move function from here...
8270 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8273 2003-03-10 Angus Leeming <leeming@lyx.org>
8275 * LyXAction.C (init): fix bug in poplating array with multiple entries
8276 with the same LFUN (spotted by JMarc).
8278 2003-03-10 John Levon <levon@movementarian.org>
8281 * text2.C: move getColumnNearX() near its
8284 2003-03-10 John Levon <levon@movementarian.org>
8286 * text.C: fix break before a minipage
8288 2003-03-10 John Levon <levon@movementarian.org>
8290 * text.C: fix the last commit
8292 2003-03-09 John Levon <levon@movementarian.org>
8296 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8297 bug 365 (don't break before insets unless needed). Don't
8298 return a value > last under any circumstances.
8300 2003-03-09 Angus Leeming <leeming@lyx.org>
8302 * BufferView_pimpl.C (trackChanges, dispatch): call
8303 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8305 2003-03-09 Angus Leeming <leeming@lyx.org>
8307 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8308 than Dialogs::showAboutlyx().
8310 2003-03-09 Angus Leeming <leeming@lyx.org>
8312 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8313 than Dialogs::showTabularCreate().
8315 2003-03-09 John Levon <levon@movementarian.org>
8319 * text2.C: 3rd arg to nextBreakPoint was always the same.
8322 2003-03-08 John Levon <levon@movementarian.org>
8329 * text2.C: Remove the "main" bit from the "main body"
8332 2003-03-08 John Levon <levon@movementarian.org>
8334 * text.C (leftMargin): The left margin of an empty
8335 manual label paragraph should not include the label width
8338 * text.C (prepareToPrint): don't attempt to measure hfills
8339 for empty manual label paragraphs - the answer should be 0
8341 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8343 * CutAndPaste.C: remove commented code and reindent.
8345 2003-03-08 John Levon <levon@movementarian.org>
8348 * lyxfunc.C: move reloadBuffer()
8351 * BufferView.C: to here
8353 * lyxvc.C: add comment
8356 * vc-backend.C: call bv->reload() to avoid
8357 getStatus() check on MENURELOAD
8359 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8361 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8362 to an old format .dep file.
8364 2003-03-07 Angus Leeming <leeming@lyx.org>
8366 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8367 when the LFUN_MOUSE_RELEASE should have been handled by
8368 inset->localDispatch.
8370 2003-03-07 Angus Leeming <leeming@lyx.org>
8372 * BufferView_pimpl.C (dispatch):
8373 * LyXAction.C (init):
8374 * ToolbarDefaults.C (init):
8376 * lyxfunc.C (getStatus):
8377 remove LFUN_INSET_GRAPHICS.
8379 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8381 2003-03-07 Angus Leeming <leeming@lyx.org>
8384 * LyXAction.C (init):
8385 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8387 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8390 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8392 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8393 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8395 2003-03-07 Angus Leeming <leeming@lyx.org>
8397 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8400 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8402 * ParagraphList.C (front): new function
8405 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8407 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8408 and top_row_offset_. removed var first_y.
8410 * text2.C (LyXText, removeRow):
8412 * BufferView_pimpl.C:
8413 use these methods instead of using first_y
8415 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8417 * text2.C (pasteSelection): adjust for checkPastePossible
8419 * CutAndPaste.C: remove Paragraph * buf and replace with
8420 ParagraphList paragraphs.
8421 (DeleteBuffer): delete
8422 (cutSelection): change the tc type to textclass_type
8423 (copySelection): change the tc type to textclass_type
8424 (copySelection): adjust for ParagraphList
8425 (pasteSelection): change the tc type to textclass_type
8426 (pasteSelection): adjust for Paragraphlist
8427 (nrOfParagraphs): simplify for ParagraphList
8428 (checkPastePossible): simplify for ParagraphList
8429 (checkPastePossible): remove unused arg
8431 * ParagraphList.C (insert): handle the case where there are no
8434 * CutAndPaste.h: make CutAndPaste a namespace.
8436 * text3.C (dispatch): adjust
8438 * text.C (breakParagraph): add a ParagraphList as arg
8440 * paragraph_funcs.C (breakParagraph): change to take a
8441 BufferParams and a ParagraphList as args.
8442 (breakParagraphConservative): ditto
8443 (mergeParagraph): ditto
8444 (TeXDeeper): add a ParagraphList arg
8445 (TeXEnvironment): ditto
8448 * buffer.C (readLyXformat2): adjust
8449 (insertStringAsLines): adjust
8450 (latexParagraphs): adjust
8452 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8453 (cutSelection): adjust
8454 (pasteSelection): adjust
8456 * BufferView_pimpl.C (insertInset): adjust
8458 2003-03-05 Angus Leeming <leeming@lyx.org>
8461 * LyXAction.C (init):
8462 * BufferView_pimpl.C (dispatch):
8463 * lyxfunc.C (getStatus):
8464 remove LFUN_CHILD_INSERT.
8466 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8468 2003-03-05 Angus Leeming <leeming@lyx.org>
8471 * LyXAction.C (init):
8472 * src/factory.C (createInset):
8473 * lyxfunc.C (getStatus):
8474 * text3.C (dispatch):
8475 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8477 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8479 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8481 * ParagraphList.C (insert): handle insert right before end()
8482 (erase): fix cases where it can be first or last paragraph.
8484 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8487 Paragraph::next and Paragraph::previous
8490 * text.C (breakParagraph): adjust
8492 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8493 BufferParams& as arg.
8494 (breakParagraph): use ParagraphList::insert
8495 (breakParagraphConservative): take a Buffer* instead of a
8496 BufferParams& as arg.
8497 (breakParagraphConservative): use ParagraphList::insert.
8499 * buffer.C (insertStringAsLines): un-const it
8500 (insertStringAsLines): adjust
8502 * ParagraphList.C (insert): new function
8504 * CutAndPaste.C (pasteSelection): adjust
8506 * text.C (backspace): adjust
8508 * tabular.C (SetMultiColumn): adjust
8510 * CutAndPaste.C (cutSelection): adjust
8511 (pasteSelection): adjust
8513 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8514 Buffer const * as arg
8516 * ParagraphList.C (erase): new function
8517 * paragraph_funcs.C (mergeParagraph): use it
8518 (mergeParagraph): make it take a Buffer* instead of a
8519 BufferParams* as arg
8521 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8523 (breakParagraphConservative): ditto
8525 * paragraph.h: remove the breakParagraph friend
8527 * paragraph.C (eraseIntern): new function
8528 (setChange): new function
8530 * paragraph_funcs.C (mergeParagraph): make it take a
8531 ParagraphList::iterator instead of a Paragraph *, adjust
8534 * paragraph.h: move an #endif so that the change tracking stuff
8535 also works in the NO_NEXT case.
8537 2003-03-04 Angus Leeming <leeming@lyx.org>
8540 * LyXAction.C: new LFUN_INSET_MODIFY.
8542 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8543 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8545 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8547 * several files: ws changes only
8549 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8550 (TeXEnvironment): ditto
8553 * buffer.C (makeLaTeXFile): adjust
8554 (latexParagraphs): make it take ParagraphList::iterator as args
8556 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8558 * buffer.C (latexParagraphs): adjust
8560 * paragraph.C (TeXOnePar): move function...
8561 (optArgInset): move function...
8562 (TeXEnvironment): move function...
8563 * paragraph_pimpl.C (TeXDeeper): move function...
8564 * paragraph_funcs.C: ...here
8566 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8568 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * buffer.C (readInset): remove compability code for old Figure and
8573 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8575 * buffer.C: ws changes
8578 * BufferView_pimpl.C: ditto
8581 * bufferlist.h: ditto
8585 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8587 * converter.[Ch]: split into itself +
8590 * Makefile.am: += graph.[Ch] + format.[Ch]
8597 * lyxrc.C: added #include "format.h"
8599 2003-02-27 Angus Leeming <leeming@lyx.org>
8601 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8604 * factory.C (createInset): add "label" to the factory.
8606 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8607 string and do no more.
8609 2003-02-27 Angus Leeming <leeming@lyx.org>
8612 * LyXAction.C (init):
8613 * factory.C (createInset):
8614 * BufferView_pimpl.C (dispatch):
8615 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8617 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8619 * lyxfunc.C (dispatch):
8620 * text3.C (dispatch): pass name to params2string.
8622 2003-02-26 Angus Leeming <leeming@lyx.org>
8624 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8626 Rearrange the ~includes. Strip out the unnecessary ones.
8628 * factory.C (createInset): reformat.
8629 create new insets for the various LFUN_XYZ_APPLY lfuns.
8631 2003-02-26 John Levon <levon@movementarian.org>
8634 * lyxrow.C: add isParStart,isParEnd helpers
8636 * paragraph.h: make isInserted/DeletedText take refs
8638 * paragraph_funcs.h:
8639 * paragraph_funcs.C: remove #if 0'd code
8644 * text.C: use lyxrow helpers above.
8645 Move draw and paint routines to RowPainter.
8646 Make several methods use refs not pointers.
8647 Make backgroundColor() const.
8648 Add markChangeInDraw(), isInInset().
8649 Merge changeRegionCase into changeCase.
8650 Make workWidth() shouldn't-happen code into an Assert.
8653 * rowpainter.C: new class for painting a row.
8656 * vspace.C: make inPixels take a ref
8658 2003-02-26 Angus Leeming <leeming@lyx.org>
8660 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8663 2003-02-25 John Levon <levon@movementarian.org>
8665 * ispell.C: give the forked command a more accurate name
8667 2003-02-22 John Levon <levon@movementarian.org>
8670 * toc.C: make TocItem store an id not a Paragraph *
8673 2003-02-21 Angus Leeming <leeming@lyx.org>
8675 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8676 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8677 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8678 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8679 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8680 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8682 * BufferView_pimpl.C (dispatch):
8683 * LyXAction.C (init):
8684 * factory.C (createInset):
8685 * lyxfunc.C (getStatus, dispatch):
8686 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8688 2003-02-21 Angus Leeming <leeming@lyx.org>
8690 * BufferView_pimpl.C (MenuInsertLyXFile):
8691 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8692 * lyxfunc.C (menuNew, open, doImport):
8693 no longer pass a LyXView & to fileDlg.
8695 2003-02-21 Angus Leeming <leeming@lyx.org>
8697 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8698 * LyXAction.C: change, BIBKEY to BIBITEM.
8699 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8700 Change InsetBibKey to InsetBibitem.
8701 Change BIBKEY_CODE to BIBITEM_CODE.
8702 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8703 * factory.C: replace insetbib.h with insetbibitem.h.
8704 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8705 * paragraph.C: replace insetbib.h with insetbibitem.h.
8706 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8707 Change bibkey() to bibitem().
8708 * text.C: remove insetbib.h.
8709 * text2.C: replace insetbib.h with insetbibitem.h.
8710 change bibkey() to bibitem().
8711 * text3.C: remove insetbib.h.
8712 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8714 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8716 * lyxrc.C (output): enclose user email in quotes (in case there are
8719 2003-02-18 John Levon <levon@movementarian.org>
8721 * buffer.h: add std::
8723 2003-02-17 John Levon <levon@movementarian.org>
8729 * pspell.C: reworking. Especially in ispell, a large
8730 number of clean ups and bug fixes.
8732 * lyxfunc.C: fix revert to behave sensibly
8734 2003-02-17 André Pönitz <poenitz@gmx.net>
8737 * commandtags.h: new LFUN_INSERT_BIBKEY
8747 * paragraph_func.C: remove special bibkey handling
8749 2003-02-17 John Levon <levon@movementarian.org>
8751 * text.C (Delete): fix case where delete at the end of
8752 the very first paragraph would not merge the pars
8754 2003-02-17 John Levon <levon@movementarian.org>
8756 * lyxrow.C: fix lastPrintablePos()
8758 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8760 * bufferparams.C (writeLaTeX): add a std:here
8762 * buffer.C: and remove a using directive there
8764 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8766 * buffer.C (makeLaTeXFile): move the code that generates the
8769 * bufferparams.C (writeLaTeX): ... in this new method
8771 * LaTeXFeatures.C (getEncodingSet): make const
8772 (getLanguages): make const
8774 * MenuBackend.C (binding): returns the binding associated to this
8776 (add): sets the status of each item by calling getStatus. Adds
8778 (read): add support for OptSubMenu
8779 (expand): remove extra separator at the end of expanded menu
8781 2003-02-15 John Levon <levon@movementarian.org>
8784 * BufferView_pimpl.C:
8786 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8787 inset code that had no actual effect. Remove unneeded status
8790 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8792 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8795 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8797 * text.C (drawLengthMarker): also draw an arrow marker for
8798 symbolic lengths (medskip...)
8800 2003-02-14 John Levon <levon@movementarian.org>
8803 * tabular.C: better method names
8805 2003-02-14 John Levon <levon@movementarian.org>
8807 * BufferView_pimpl.C:
8812 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8813 it's a more accurate name. Remove some pointless uses.
8815 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8817 * text2.C (LyXText): change order of initilizers to shut off
8820 2003-02-14 John Levon <levon@movementarian.org>
8822 * buffer.C: use ParIterator for getParFromID()
8826 * paragraph_pimpl.h:
8827 * paragraph_pimpl.C: remove unused getParFromID()
8829 2003-02-14 John Levon <levon@movementarian.org>
8831 * buffer.C: remove some very old #if 0'd parse code
8833 2003-02-13 John Levon <levon@movementarian.org>
8837 * text2.C: move hfillExpansion(), numberOfSeparators(),
8838 rowLast(), rowLastPrintable(), numberofHfills(),
8839 numberOfLabelHfills() ...
8842 * lyxrow.C: ... to member functions here.
8847 * text.C: remove LyXText::beginningOfMainBody(), and call
8848 p->beginningOfMainBody() directly. Move the check for
8849 LABEL_MANUAL into the latter.
8856 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8862 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8863 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8865 2003-02-13 John Levon <levon@movementarian.org>
8867 * CutAndPaste.C: remove debug
8869 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8871 * paragraph.C (asString): remove two unused variables
8873 * lyxtextclass.C (readTitleType):
8875 (LyXTextClass): handle new members titletype_ and titlename_
8877 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8879 2003-02-09 John Levon <levon@movementarian.org>
8882 * buffer.C: replace hand-coded list with a map for the dep clean
8884 2003-02-08 John Levon <levon@movementarian.org>
8886 * LaTeX.C: consolidate code into showRunMessage() helper
8888 2003-02-08 John Levon <levon@movementarian.org>
8893 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8894 and pass the size in explicitly
8896 * BufferView_pimpl.h:
8897 * BufferView_pimpl.C:
8899 * BufferView.C: add getCurrentChange()
8901 * BufferView_pimpl.h:
8902 * BufferView_pimpl.C: handle change lfuns
8904 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8905 for changes. Mark pasted paragraphs as new.
8907 * support/lyxtime.h:
8908 * support/lyxtime.C:
8909 * DepTable.C: abstract time_t as lyx::time_type
8912 * LColor.C: add colours for new text, deleted text, changebars
8914 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8915 package use "usenames" option.
8919 * LyXAction.C: add change lfuns
8923 * author.C: author handling
8926 * buffer.C: add a per-buffer author list, with first entry as
8927 current author. Handle new .lyx tokens for change tracking. Output
8928 author list to .lyx file. Output dvipost stuff to .tex preamble.
8929 Bump lyx format to 222.
8932 * bufferlist.C: add setCurrentAuthor() to reset current author details
8936 * bufferparams.C: add param for tracking
8938 * bufferview_funcs.C: output change info in minibuffer
8942 * changes.C: add change-tracking structure
8945 * debug.C: add CHANGES debug flag
8948 * lyxfind.C: add code for finding the next change piece
8951 * lyxrc.C: add user_name and user_email
8954 * lyxrow.C: add a metric for the top of the text line
8957 * text.C: implement accept/rejectChange()
8960 * text.C: paint changebars. Paint new/deleted text in the chosen
8961 colours. Strike through deleted text.
8965 * paragraph_pimpl.h:
8966 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8967 in the current change to the insert functions. Rework erase to
8968 mark text as deleted, adding an eraseIntern() and a range-based
8969 erase(). Implement per-paragraph change lookup and
8972 * paragraph_funcs.C: Fixup paste for change tracking.
8974 * tabular.C: mark added row/columns as new.
8976 * text.C: fix rowLast() to never return -1. Don't allow
8977 spellchecking of deleted text. Track transpose changes. Don't
8978 allow paragraph break or merge where appropriate.
8980 * text2.C: leave cursor at end of selection after a cut.
8982 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8984 * text.C (getLengthMarkerHeight):
8985 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8986 visible on screen too.
8988 2003-02-07 John Levon <levon@movementarian.org>
8990 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8992 2003-02-05 Angus Leeming <leeming@lyx.org>
8994 * lyxserver.C (read_ready): revert my patch of 11 September last year
8995 as it sends PC cpu through the roof. Presumably this means that
8996 the lyxserver will no longer run on an Alpha...
8998 2003-01-30 Angus Leeming <leeming@lyx.org>
9000 * factory.C (createInset): create an InsetCommandParam of type "index"
9001 and use it to 'do the right thing'.
9003 * text2.C (getStringToIndex): ensure that cursor position is always
9004 reset to the reset_cursor position.
9006 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9008 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9011 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9015 * lyxfunc.C: Output messages with identical spelling, punctuation,
9018 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9020 * MenuBackend.C (expandFormats): List only viewable export formats
9023 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9026 * lyxfunc.C (getStatus): Make sure that formats other than
9027 "fax" can also be disabled
9029 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9031 * text3.C (dispatch): put the lfuns that insert insets in 3
9032 groups, and call doInsertInset with appropriate arguments.
9033 (doInsertInset): new function, that creates an inset and inserts
9034 it according to some boolean parameters.
9036 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9038 * buffer.C (readFile): remember to pass on 'par' when calling
9039 readFile recursively.
9041 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9043 * MenuBackend.C (expandFormats): add "..." to import formats.
9045 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9047 * paragraph.C (asString): Remove XForms RTL hacks.
9049 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9050 * buffer.C: fix typo
9052 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9054 * Makefile.am (LIBS): delete var
9055 (lyx_LDADD): add @LIBS@ here instead.
9057 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9059 * Clarify the meaning of "wheel mouse jump"
9061 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9063 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9066 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9068 * importer.C (Loaders): do not preallocate 3 elements in the
9069 vector, since one ends up with 6 elements otherwise
9071 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9073 * DepTable.C (write): write the file name as last element of the
9074 .dep file (because it may contain spaces)
9075 (read): read info in the right order
9077 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9079 * paragraph_pimpl.C (simpleTeXBlanks):
9080 (simpleTeXSpecialChars):
9081 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9083 * tabular.C (latex): add some missing case statements. Reindent.
9085 * MenuBackend.C (expandToc): remove unused variable.
9087 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9096 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9099 2003-01-05 John Levon <levon@movementarian.org>
9102 * BufferView.C: add getEncoding()
9105 * kbsequence.C: do not store last keypress
9108 * lyxfunc.C: store last keypress here instead. Pass encoding
9111 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9113 * lyx_main.C (init): remove annoying error message when following
9114 symbolic links (bug #780)
9116 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9118 * text.C (insertChar):
9119 * lyxrc.C (getDescription): remove extra spaces
9121 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9123 * lyxrc.C (getDescription): remove extra spaces
9125 2002-12-20 John Levon <levon@movementarian.org>
9127 * text3.C: hack fix for page up/down across tall rows
9129 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9131 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9134 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9136 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9137 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9138 thesaurus is not compiled in
9140 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9142 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9144 2002-12-16 Angus Leeming <leeming@lyx.org>
9147 * lyx_main.C (init): remove override_x_deadkeys stuff.
9149 2002-12-12 John Levon <levon@movementarian.org>
9151 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9152 insert. Only remove shift modifier under strict
9155 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9157 * MenuBackend.C (expandToc): fix crash.
9159 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9161 * MenuBackend.C (expandToc): gettext on float names.
9163 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9165 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9166 implement bool empty() [bug 490]
9168 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9170 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9172 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9174 * several files: ws changes
9176 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9178 * text2.C (setCounter): clean up a bit, use boost.format.
9179 (updateCounters): initialize par upon declaration.
9181 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9182 if the layout exists. We do not just store the layout any more.
9183 (SwitchLayoutsBetweenClasses): use boost.format
9185 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9187 * converter.C (convert): if from and to files are the same, use a
9188 temporary files as intermediary
9190 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9193 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9195 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9197 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9199 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9201 * tabular.C (asciiPrintCell): use string(size, char) instead of
9204 * sgml.C (openTag): fix order of arguments to string constructor
9207 * lyxfunc.C (dispatch): use boost.format
9209 * lots of files: change "c" -> 'c'
9211 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9213 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9215 2002-11-25 Angus Leeming <leeming@lyx.org>
9217 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9219 * lyx_main.C (init): compile fix.
9221 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9223 * lyx_cb.C (start): boost.formatify
9224 do not include <iostream>
9226 * lengthcommon.C: ws only
9228 * boost-inst.C,BoostFormat.h: add more explict instantations
9230 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9232 * lots of files: handle USE_BOOST_FORMAT
9234 2002-11-21 John Levon <levon@movementarian.org>
9236 * pspell.C: fix compile
9238 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9240 * lyxfunc.C (dispatch): use boost::format
9244 * lyxfont.C (stateText): use boost::format
9246 * lyx_main.C (LyX): use boost::format
9248 (queryUserLyXDir): ditto
9251 (typedef boost::function): use the recommened syntax.
9253 * importer.C (Import): use boost::format
9255 * debug.C (showLevel): use boost::format
9257 * converter.C (view): use boost::format
9262 * bufferview_funcs.C (currentState): use boost::format
9264 * bufferlist.C (emergencyWrite): use boost::format
9266 * buffer.C (readLyXformat2): use boost::format
9267 (parseSingleLyXformat2Token): ditto
9269 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9271 * LaTeX.C (run): use boost::format
9273 * Chktex.C (scanLogFile): use boost::format
9275 * BufferView_pimpl.C (savePosition): use boost::format
9276 (restorePosition): ditto
9277 (MenuInsertLyXFile): ditto
9279 * BoostFormat.h: help file for explicit instation.
9281 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9283 * tabular.C (latex): Support for block alignment in fixed width
9286 2002-11-17 John Levon <levon@movementarian.org>
9288 * BufferView_pimpl.C:
9290 * lyxfunc.C: split filedialog into open/save
9292 2002-11-08 Juergen Vigna <jug@sad.it>
9294 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9295 by my last patch (hopefully).
9297 2002-11-08 John Levon <levon@movementarian.org>
9306 * toc.C: ParConstIterator, and use it (from Lars)
9308 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9310 * lyxtextclass.[Ch]: revise and add doxygen comments
9312 2002-11-07 John Levon <levon@movementarian.org>
9314 * text.C: fix progress value for spellchecker
9316 * toc.C: fix navigate menu for insetwrap inside minipage
9318 * paragraph_funcs.C: added FIXME for suspect code
9320 2002-11-07 John Levon <levon@movementarian.org>
9322 * BufferView_pimpl.C: fix redrawing of insets
9325 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9327 * text2.C (updateCounters): fix bug 668
9329 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9331 * text3.C (dispatch): Do not make the buffer dirty when moving the
9334 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9336 * vc-backend.C: STRCONV
9339 * text2.C (setCounter): STRCONV
9341 * paragraph.C (asString): STRCONV
9343 * lyxlength.C (asString): STRCONV
9344 (asLatexString): ditto
9346 * lyxgluelength.C (asString): STRCONV
9347 (asLatexString): ditto
9349 * lyxfunc.C (dispatch): STRCONV
9352 * lyxfont.C (stateText): STRCONV
9354 * importer.C (Import): STRCONV
9356 * counters.C (labelItem): STRCONV
9357 (numberLabel): ditto
9358 (numberLabel): remove unused ostringstream o
9363 * bufferview_funcs.C (currentState): STRCONV
9365 * buffer.C (readFile): STRCONV
9366 (asciiParagraph): ditto
9367 (makeLaTeXFile): ditto
9369 * Spacing.C (writeEnvirBegin): STRCONV
9371 * LaTeXFeatures.C (getLanguages): STRCONV
9372 (getPackages): ditto
9374 (getBabelOptions): ditto
9375 (getTClassPreamble): ditto
9376 (getLyXSGMLEntities): ditto
9377 (getIncludedFiles): ditto
9381 (scanAuxFile): ditto
9384 * LString.h: add the STRCONV macros
9386 * BufferView_pimpl.C (savePosition): STRCONV
9387 (restorePosition): ditto
9388 (MenuInsertLyXFile): ditto
9390 * vc-backend.C (scanMaster): change from submatch[...] to
9393 * funcrequest.C: include config.h
9395 * factory.C: include config.h
9397 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9399 * box.C: include config.h
9401 * LaTeX.C (scanAuxFile): change from submatch[...] to
9405 2002-10-25 Angus Leeming <leeming@lyx.org>
9407 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9409 * ispell.[Ch] (setError): new method.
9410 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9411 Use setError() insetead of goto END.
9413 * lyx_cb.C (AutoSave): move out child process into new class
9416 2002-10-30 John Levon <levon@movementarian.org>
9418 * text3.C: make start appendix undoable
9420 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9422 * lyxlength.C (inPixels): Fix returned value.
9424 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9427 2002-10-24 Angus Leeming <leeming@lyx.org>
9429 * lyxgluelength.h: no need to forward declare BufferParams
9430 or BufferView, so don't.
9432 2002-10-21 John Levon <levon@movementarian.org>
9434 * BufferView.C: menuUndo ->undo, redo
9436 * BufferView.h: document, remove dead, make some methods private
9438 * paragraph_funcs.h:
9439 * paragraph_funcs.C:
9440 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9445 * sgml.C: move sgml open/close tag into sgml.C
9447 * bufferview_funcs.h: unused prototype
9450 * lyxfunc.C: remove unused
9453 * text.C: remove unused
9455 2002-10-21 John Levon <levon@movementarian.org>
9459 * BufferView_pimpl.h:
9460 * BufferView_pimpl.C: fix mouse wheel handling based on
9461 patch from Darren Freeman
9463 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9465 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9467 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9469 * lyxlength.C (inPixels): Fix hanfling of negative length.
9470 Fix LyXLength::MU case.
9472 2002-10-16 John Levon <levon@movementarian.org>
9474 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9476 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9478 * converter.C (view): add support for $$i (file name) and $$p
9479 (file path) for the viewer command. If $$i is not specified, then
9480 it is appended to the command (for compatibility with old syntax)
9482 2002-10-14 Juergen Vigna <jug@sad.it>
9484 * undo_funcs.C (textHandleUndo): alter the order in which the
9485 new undopar is added to the LyXText, as we have to set first
9486 the right prev/next and then add it as otherwise the rebuild of
9487 LyXText is not correct. Also reset the cursor to the right paragraph,
9488 with this IMO we could remove the hack in "redoParagraphs()".
9490 2002-10-09 Angus Leeming <leeming@lyx.org>
9492 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9493 to turn off an optimisation if a new inset is to be inserted.
9495 2002-10-11 André Pönitz <poenitz@gmx.net>
9497 * lyxtext.h: make some functions public to allow access
9498 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9500 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9502 * text3.C (dispatch): when changing layout, avoid an infinite loop
9505 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9507 * lyxrc.C (read): treat a viewer or converter command of "none" as
9510 * MenuBackend.C (expandFormats): for an update, also allow the
9511 formats that are not viewable
9513 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9514 script if it is newer than the lyxrc.defaults in user directory
9516 2002-10-07 André Pönitz <poenitz@gmx.net>
9518 * text.C: Vitaly Lipatov's small i18n fix
9520 2002-09-25 Angus Leeming <leeming@lyx.org>
9522 * ispell.h: doxygen fix.
9524 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9526 * buffer.h (readFile): Add a new argument to the method, to allow
9527 reading of old-format templates.
9529 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9531 * toc.C (getTocList): Get TOC from InsetWrap.
9533 2002-09-16 John Levon <levon@movementarian.org>
9535 * lyxfunc.C: check tabular for cut/copy too
9537 2002-09-12 John Levon <levon@movementarian.org>
9542 * factory.C: add header
9544 * paragraph_funcs.h:
9545 * paragraph_funcs.C: cleanup
9547 2002-09-11 John Levon <levon@movementarian.org>
9549 * PrinterParams.h: odd/even default to true
9551 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9553 * PrinterParams.h: update printer parameters for new xforms dialog
9555 2002-09-11 Angus Leeming <leeming@lyx.org>
9557 * lyxserver.C (read_ready): re-write to make it more transparent
9558 and to make it work in coherent fashion under Tru64 Unix.
9560 2002-09-11 André Pönitz <poenitz@gmx.net>
9564 * text3.C: implement LFUN_WORDSEL
9566 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9568 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9569 make floatlist_ a boost::shared_ptr<FloatList>
9571 * lyxtextclass.C: include FloatList.h
9572 (LyXTextClass): initialize floatlist_
9573 (TextClassTags): add TC_NOFLOAT
9574 (Read): match "nofloat" to TC_NOFLOAT and use it.
9575 (readFloat): modify call to floatlist_
9579 * FloatList.[Ch] (FloatList): remove commented out float
9581 (erase): new function
9583 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9585 * MenuBackend.C (expandToc): fix crash when there is no document
9588 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9590 * many files: Add insetwrap.
9592 2002-09-09 John Levon <levon@movementarian.org>
9594 * text2.C: remove confusing and awkward depth wraparound
9596 2002-09-09 John Levon <levon@movementarian.org>
9598 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9601 * buffer.C: remove getIncludeonlyList()
9604 * lyxfunc.C: remove headers
9606 2002-09-09 Juergen Vigna <jug@sad.it>
9608 * text.C (getColumnNearX): fix form Michael this is most
9609 probably a cut&paste bug.
9611 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9613 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9615 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9616 references, ws changes.
9618 * text2.C (init): update counters after init
9619 (insertParagraph): no need to set counter on idividual paragraphs.
9620 (setCounter): access the counters object in the textclass object
9621 on in the buffer object.
9622 (updateCounters): ditto
9624 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9625 shared_ptr<Counters> to avoid loading counters.h in all
9627 (LyXTextClass): initialize ctrs_
9628 (TextClassTags): add TC_COUNTER, and ...
9629 (Read): use it here.
9630 (CounterTags): new tags
9631 (readCounter): new function
9632 (counters): new funtion
9633 (defaultLayoutName): return a const reference
9635 * counters.C (Counters): remove contructor
9636 (newCounter): remove a couple of unneeded statements.
9637 (newCounter): simplify a bit.
9638 (numberLabel): some small formatting changes.
9640 * buffer.[Ch]: remove all traces of counters, move the Counters
9641 object to the LyXTextClass.
9643 2002-09-06 Alain Castera <castera@in2p3.fr>
9645 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9646 package to set the horizontal alignment on fixed width columns.
9649 * lyx_sty.h: added tabularnewline macro def.
9651 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9653 2002-09-06 John Levon <levon@movementarian.org>
9655 * LyXAction.C: tooltips for sub/superscript
9657 * MenuBackend.C: a bit more verbose
9659 * lyxfunc.C: tiny clean
9661 * undo_funcs.C: document undo_frozen
9663 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9665 * counters.C (Counters): add missing algorithm counter.
9667 * text2.C (setCounter): lookup the counter with layouts latexname
9668 instead of by section number.
9669 (setCounter): use a hackish way to lookup the correct enum
9671 a float name->type change
9672 reset enum couners with counter name directly instead of depth value.
9674 * counters.C (Counters): remove the push_backs, change to use the
9675 float type not the float name.
9676 (labelItem): remove unused string, float name->type change
9678 * counters.h: don't include vector, loose the enums and sects vectors
9680 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9682 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9683 (Read): add float->TC_FLOAT to textclassTags
9684 (Read): and handle it in the switch
9685 (readFloat): new function
9687 * FloatList.C (FloatList): comment out the hardcoded float
9690 * lyxlayout.h: ws change.
9692 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9694 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9696 2002-09-03 Angus Leeming <leeming@lyx.org>
9698 * BufferView_pimpl.h: qualified name is not allowed in member
9699 declaration: WorkArea & Pimpl::workarea() const;
9701 * factory.C: added using std::endl directive.
9703 * text3.C: added using std::find and std::vector directives.
9705 2002-08-29 André Pönitz <poenitz@gmx.net>
9708 * text2.C: remove unused member number_of_rows
9711 * BufferView2.C: remove file, move contents to...
9712 * BufferView.C: ... here
9714 * BufferView_pimpl.C:
9715 * factory.C: move more inset creation to factory
9717 * vspace.C: avoid direct usage of LyXText, ws changes
9720 don't provide direct access to WorkArea, use two simple
9721 acessors haveSelction() and workHeight() instead
9724 2002-08-29 John Levon <levon@movementarian.org>
9726 * BufferView_pimpl.C (dispatch): do not continue when
9729 2002-08-28 André Pönitz <poenitz@gmx.net>
9731 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9734 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9736 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9738 * buffer.C: increment LYX_FORMAT to 221
9740 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9741 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9743 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9745 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9747 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9749 * factory.C (createInset): use LyXTextClass::floats
9751 * MenuBackend.C (expandFloatListInsert):
9752 (expandFloatInsert):
9755 * text2.C (setCounter):
9757 * LaTeXFeatures.C (useFloat):
9758 (getFloatDefinitions):
9760 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9762 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9763 floatlist_, with accessor floats().
9765 * FloatList.h: remove global FloatList
9767 2002-08-26 André Pönitz <poenitz@gmx.net>
9769 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9773 * BufferView_pimpl.C:
9774 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9776 2002-08-25 John Levon <levon@movementarian.org>
9778 * LyXAction.C: fix margin note description
9780 2002-08-24 John Levon <levon@movementarian.org>
9784 * bufferview_funcs.C:
9786 * undo_funcs.C: cleanups
9788 * lyxfunc.C: disable CUT/COPY when no selection
9790 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9792 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9793 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9795 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9796 Add backward compatibility to "mono", "gray" and "no".
9798 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9800 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9801 (and file_format >= 200).
9803 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9805 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9807 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9811 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9813 * BufferView_pimpl.C:
9820 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9821 inset and code to make it work with the paragraph code. The inset
9822 can be anywhere in the paragraph, but will only do the expected
9823 thing in LaTeX if the layout file contains the parameter line
9825 (or more generally, a nonzero value) for that layout.
9827 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9829 * paragraph.h: remove the declaration of undefined counters class
9832 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9834 * text2.C (setCounter): fixed enumeration mis-count as reported by
9835 Dr. Richard Hawkins.
9837 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9839 * paragraph_funcs.h: remove some unneeded includes
9841 * text.C (backspace): pasteParagraph now in global scipe
9843 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9844 (pasteSelection): ditto
9846 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9847 * paragraph_funcs.C (pasteParagraph): ... here
9849 2002-08-20 André Pönitz <poenitz@gmx.net>
9851 * commandtags.h: new LFUNs for swapping/copying table row/colums
9854 * lyxfunc.C: support for new lfuns
9856 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9859 * buffer.[Ch]: remove NO_COMPABILITY stuff
9861 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9863 * boost.C (throw_exception): new file, with helper function for
9864 boost compiled without exceptions.
9869 * ParameterStruct.h:
9870 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9872 * bufferlist.C (emergencyWriteAll): use boost bind
9874 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9876 * text.C: include paragraph_funcs.h
9877 (breakParagraph): breakParagraph is now in global scope
9879 * paragraph_funcs.[Ch]: new files
9881 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9884 * buffer.C: include paragraph_funcs.h
9885 (insertStringAsLines): breakParagraph is now in global scope
9887 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9890 * CutAndPaste.C: include paragraph_funcs.h
9891 (cutSelection): breakParagraphConservative is now in global scope
9892 (pasteSelection): ditto
9894 * buffer.h: declare oprator== and operator!= for
9895 Buffer::inset_iterator
9897 * bufferlist.C (emergencyWrite): don't use fmt(...)
9899 * text3.C: add using std::endl
9901 * BufferView.C (moveCursorUpdate): remove default arg
9903 2002-08-20 André Pönitz <poenitz@gmx.net>
9905 * buffer.[Ch]: move inline functions to .C
9908 * BufferView_pimpl.C:
9910 * buffer.[Ch]: use improved inset_iterator
9913 * paragraph.[Ch]: write one paragraph at a time
9915 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9917 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9918 style if style is not specified.
9920 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9922 * text2.C (setCounter): when searching for right label for a
9923 caption, make sure to recurse to parent insets (so that a caption
9924 in a minipage in a figure float works) (bug #568)
9926 2002-08-20 André Pönitz <poenitz@gmx.net>
9928 * text3.C: new file for LyXText::dispatch() and helpers
9930 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9932 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9934 2002-08-19 André Pönitz <poenitz@gmx.net>
9937 * text.C: new LyXText::dispatch()
9939 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9941 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9943 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9945 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9948 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9950 * Makefile.am: use $(variables) instead of @substitutions@
9952 2002-08-15 André Pönitz <poenitz@gmx.net>
9955 * BufferView_pimpl.C: streamlining mathed <-> outer world
9959 * LyXAction.C: remove unused LFUN_MATH
9961 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9963 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9965 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9967 * paragraph.C (Paragraph): reformat a bit
9968 (cutIntoMinibuffer): use builtin InsetList function instad of
9972 * buffer.C: include boost/bind.hpp, add using std::for_each
9973 (writeFileAscii): use ParagraphList iterators
9974 (validate): use for_each for validate traversal of paragraphs
9975 (getBibkeyList): use ParagraphList iterators
9976 (resizeInsets): use for_each to resizeInsetsLyXText for all
9978 (getParFromID): use ParagraphList iterators
9980 * BufferView2.C (lockInset): use paragraph list and iterators
9982 2002-08-14 John Levon <levon@movementarian.org>
9984 * lyxserver.C: remove spurious xforms include
9986 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9988 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9990 2002-08-13 André Pönitz <poenitz@gmx.net>
9993 * lyxfunc.C: further cleaning
9995 2002-08-13 André Pönitz <poenitz@gmx.net>
9997 * funcrequest.h: new constructor
9999 * funcrequest.C: move stuff here from .h
10002 * BufferView_pimpl.C:
10005 * lyxfunc.C: subsequent changes
10007 * lyxfunc.h: new view() member function
10009 * lyxfunc.C: subsequent changes
10011 2002-08-13 Angus Leeming <leeming@lyx.org>
10014 * BufferView_pimpl.C:
10022 changes due to the changed LyXView interface that now returns references
10023 to member variables not pointers.
10025 2002-08-13 Angus Leeming <leeming@lyx.org>
10027 * WordLangTuple (word, lang_code): return references to strings,
10032 * lyxtext.h: forward-declare WordLangTuple.
10037 * text.C: #include "WordLangTuple.h".
10040 * text.C: (selectNextWordToSpellcheck): constify return type.
10042 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10048 * paragraph_pimpl.h:
10051 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10052 suggested by Angus.
10053 Made updateCounter always count from start of buffer, and removed
10054 second argument (par).
10055 Reverted floats number display to '#'. Perhaps I'll try again when the
10056 code base is sanitized a bit.
10058 2002-08-12 Angus Leeming <leeming@lyx.org>
10060 * buffer.[Ch] (getLabelList): constify.
10062 2002-08-07 André Pönitz <poenitz@gmx.net>
10064 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10066 * funcrequest.h: extension to keep mouse (x,y) position
10068 2002-08-12 Juergen Vigna <jug@sad.it>
10070 * BufferView2.C (insertErrors): forbid undo when inserting error
10073 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10075 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10077 * ParagraphList.[Ch]: new files
10079 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10081 * BufferView2.C (lockInset): ParagraphList changes
10084 * bufferlist.C: ditto
10088 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10090 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10091 unused class variable counter_,
10093 * paragraph.[Ch] (getFirstCounter): delete unused function
10095 * counters.C: include LAssert.h
10096 (reset): add a new function with no arg, change other version to
10097 not have def. arg and to not allow empty arg.
10099 * text2.C (setCounter): remove empty arg from call to Counters::reset
10101 2002-08-11 John Levon <levon@movementarian.org>
10103 * Makefile.am: add WordLangTuple.h
10105 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10107 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10108 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10110 * insets/insettext.C: InsetList changes
10112 * graphics/GraphicsSupport.C (operator()): InsetList changes
10114 * toc.C (getTocList): InsetList changes
10116 * paragraph_pimpl.[Ch]: InsetList changes
10118 * paragraph.[Ch]: InsetList changes
10120 * buffer.C (inset_iterator): InsetList changes
10121 (setParagraph): ditto
10122 * buffer.h (inset_iterator): ditto
10123 * iterators.C (operator++): ditto
10124 * iterators.h: ditto
10126 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10128 * InsetList.[Ch]: new files, most InsetList handling moved out of
10131 * BufferView2.C (removeAutoInsets): InsetList changes
10133 (ChangeInsets): ditto
10135 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10137 * paragraph_pimpl.h (empty): new function
10139 * paragraph.[Ch] (empty): new function
10141 * other files: use the new Paragraph::empty function
10143 2002-08-09 John Levon <levon@movementarian.org>
10145 * lyxtext.h: remove unused refresh_height
10147 2002-08-09 John Levon <levon@movementarian.org>
10154 * paragraph.C: move sgml char escaping out of paragraph
10157 * paragraph.C: remove id setter
10161 * paragraph_pimpl.C: remove dead tex_code_break_column
10163 * bufferview_funcs.C: small cleanup
10165 * lyxfunc.C: remove dead proto
10167 * lyxtext.h: make some stuff private. Remove some dead stuff.
10169 * lyxgluelength.C: make as[LyX]String() readable
10171 2002-08-08 John Levon <levon@movementarian.org>
10176 * ToolbarDefaults.C:
10179 * toc.C: lyxaction cleanup
10181 2002-08-08 John Levon <levon@movementarian.org>
10183 * BufferView2.C: small cleanup
10186 * lyxfind.C: move unnecessary header into the .C
10188 2002-08-08 John Levon <levon@movementarian.org>
10190 * funcrequest.h: just tedious nonsense
10193 * lyx_main.C: cleanups
10196 * vspace.C: remove dead header lyx_main.h
10198 2002-08-07 Angus Leeming <leeming@lyx.org>
10201 * paragraph_pimpl.h:
10202 Forward declare class Counters in paragraph.h by moving the ctrs member
10203 variable into Paragraph::Pimpl.
10204 (counters): new method, returning a reference to pimpl_->ctrs.
10206 * text2.C: ensuing changes.
10208 2002-08-07 John Levon <levon@movementarian.org>
10210 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10212 * BufferView_pimpl.C: announce X selection on double/triple
10215 * lyx_main.C: use correct bool in batch dispatch
10217 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10219 2002-08-07 André Pönitz <poenitz@gmx.net>
10221 * funcrequest.h: new class to wrap a kb_action and its argument
10224 * BufferView_pimpl[Ch]:
10228 * lyxrc.C: subsequent changes
10231 2002-08-07 John Levon <levon@movementarian.org>
10233 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10234 document options change.
10236 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10241 * makefile.am: move counters functionality over from
10242 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10244 2002-08-06 John Levon <levon@movementarian.org>
10246 * WordLangTuple.h: new file for word + language code tuple
10257 * BufferView2.C: use WordLangTuple
10260 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10262 2002-08-06 John Levon <levon@movementarian.org>
10264 * lyx_main.C: fix cmdline batch handling
10266 2002-08-06 André Pönitz <poenitz@gmx.net>
10268 * lyxrc.C: set default for show_banner to true
10270 2002-08-06 John Levon <levon@movementarian.org>
10272 * pspell.C: fix a crash, and allow new aspell to work
10274 2002-08-06 John Levon <levon@movementarian.org>
10277 * kbmap.C: small cleanup
10280 * vspace.C: add const
10282 2002-08-05 John Levon <levon@movementarian.org>
10284 * LyXAction.C: back to tabular-insert
10286 2002-08-04 John Levon <levon@movementarian.org>
10289 * BufferView.C: cosmetic change
10291 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10301 * BufferView2.C: purge all "Lyx" not "LyX" strings
10304 * lyxcursor.C: attempt to add some documentation
10309 * ToolbarDefaults.C:
10310 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10311 merge with LFUN_TABULAR_INSERT
10318 * pspell.C: split up i/pspell implementations into separate
10319 files, many cleanups
10321 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10323 * text2.C: some cleanup
10325 * lyxfunc.C: don't check for isp_command == "none" any more, it
10326 didn't make any sense
10328 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10333 * makefile.am: move counters functionality over
10334 from text2.C/paragraph.[Ch] to counters.[Ch], and
10336 2002-08-02 John Levon <levon@movementarian.org>
10338 * buffer.C: s/lyxconvert/lyx2lyx/
10340 2002-08-02 Angus Leeming <leeming@lyx.org>
10342 * lyxlex.C: revert John's change as it breaks reading of the user
10345 2002-08-02 Angus Leeming <leeming@lyx.org>
10347 * importer.C (Import):
10348 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10349 changes due to LyXView::view() now returning a boost::shared_ptr.
10351 2002-08-02 John Levon <levon@movementarian.org>
10353 * lyxlex.C: small cleanup
10355 2002-08-02 John Levon <levon@movementarian.org>
10357 * text2.C (status): small cleanup, no logic change
10359 2002-08-01 John Levon <levon@movementarian.org>
10362 * buffer.C (writeFile): don't output alerts, caller
10366 * lyx_cb.C: from above
10368 * lyxfunc.C: allow to open non-existent files
10370 2002-07-31 John Levon <levon@movementarian.org>
10372 * lyxserver.C: don't let incidental errors get
10375 2002-07-30 John Levon <levon@movementarian.org>
10377 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10379 2002-07-30 John Levon <levon@movementarian.org>
10382 * lyxserver.C: remove I/O callback too
10384 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10386 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10389 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10391 * many files: strip,frontStrip -> trim,ltrim,rtrim
10393 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10395 * PrinterParams.h: remove extern containsOnly, and include
10396 support/lstrings.h instead.
10398 * LaTeX.C (scanAuxFile): modify because of strip changes
10400 * buffer.C (makeLaTeXFile): ditto
10401 * bufferparams.C (writeFile): ditt
10402 * lyxfont.C (stateText): ditto
10403 * lyxserver.C (read_ready): ditto
10404 * vc-backend.C (scanMaster): ditto
10406 * BufferView_pimpl.h: ws changes
10408 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10410 2002-07-26 André Pönitz <poenitz@gmx.net>
10412 * kb_sequence.C: remove unnedred usings
10414 2002-07-26 Juergen Vigna <jug@sad.it>
10416 * lyxfind.C (LyXReplace): we have to check better if the returned
10417 text is not of theLockingInset()->getLockingInset().
10419 2002-07-25 Juergen Vigna <jug@sad.it>
10421 * lyxfind.C (LyXReplace): don't replace if we don't get the
10424 * undo_funcs.C (createUndo): remove debugging code.
10426 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10428 * buffer.C (parseSingleLyXformat2Token): Use default placement
10429 when reading old floats.
10431 * FloatList.C (FloatList): Change the default placement of figure
10432 and tables to "tbp".
10434 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10436 * MenuBackend.C: using std::max
10438 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10440 * MenuBackend.C (expandToc):
10441 (expandToc2): code moved from xforms menu frontend. It is now
10442 generic and TOCs are transparent to menu frontends.
10444 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10446 * toc.C (getTocList): protect against buf=0
10448 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10449 Menu as first parameter. Now, this calls itself recursively to
10450 expand a whole tree (this will be useful for TOC handling)
10451 (expandFloatInsert): remove 'wide' version of floats
10453 * MenuBackend.h (submenuname): returns the name of the submenu.
10454 (submenu): returns the submenu itself, provided it has been
10455 created by MenuBackend::expand
10457 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10459 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10460 insets which have noFontChange == true. (bug #172)
10462 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10464 * BufferView_pimpl.C: add connection objects and use them...
10467 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10469 * MenuBackend.C (expandLastfiles):
10472 (expandFloatListInsert):
10473 (expandFloatInsert):
10474 (expand): split expand in parts
10476 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10478 * lyx_gui.C: use lyx_gui::exit()
10480 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10482 * LyXAction.C: show the failing pseudo action
10484 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10486 * buffer.C (readFile): Run the lyxconvert script in order to read
10489 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10493 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10495 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10499 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10501 2002-07-22 Herbert Voss <voss@lyx.org>
10504 * lyxlength.[Ch]: add support for the vertical lengths
10506 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10508 * toc.[Ch]: std:: fixes
10510 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10512 * lyxrc.C: do not include lyx_main.h
10514 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10520 * BufferView2.C: include "lyxlex.h"
10523 * bufferparams.h: do not #include "lyxlex.h"
10525 * lyxtextclasslist.C (Add): remove method
10526 (classlist): renamed to classlist_
10528 * paragraph_pimpl.C:
10532 * bufferview_funcs.C:
10537 * toc.C (getTocList): use BufferParams::getLyXTextClass
10539 * toc.C (getTocList): use InsetFloat::addToToc
10541 * toc.[Ch]: new files, containing helper functions to handle table
10544 * lyxfunc.C (dispatch): no need to remove spaces around command
10546 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10547 first command of the sequence; it is not very clever, but I do not
10548 have a better idea, actually
10550 * LyXAction.C (LookupFunc): make sure to remove space at the
10551 beginning and end of the command
10553 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10555 * MenuBackend.C (getMenubar): new method: return the menubar of
10557 (read): treat differently reading of menu and menubar (in
10558 particular, the menubar has no name now)
10559 (Menu::menubar): remove
10561 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10564 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10566 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10567 a bibitem inset in a RTL paragraph.
10569 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10571 * paragraph_pimpl.C: constify
10573 * BufferView_pimpl.C:
10575 * lyxfunc.C: fix dispatch in a nicer way
10577 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10579 * lyxfunc.C (dispatch):
10580 * BufferView_pimpl.C:
10581 * BufferView_pimpl.h:
10583 * BufferView.h: rename Dispatch() to dispatch()
10585 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10587 * lyxlayout.C (Read): honor DependsOn tag
10589 * lyxlayout.[Ch] (depends_on): new method
10591 * version.C.in: update lyx_docversion
10593 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10595 * paragraph.C (validate): remove from here...
10596 * paragraph_pimpl.C (validate): ... and move here
10597 (isTextAt): make it const
10599 * buffer.C (getLists): ws cleanup
10601 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10603 * language.C (read): Use iso8859-1 encoding in latex_lang
10604 (this prevents LyX from crashing when using iso10646-1 encoding).
10606 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10608 * text2.C (toggleInset): if cursor is inside an inset, close the
10609 inset and leave cursor _after_ it
10611 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10613 * lyxfunc.C: move minibuffer completion handling out of here
10615 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10617 * BufferView_pimpl.C:
10618 * LaTeX.C: fix dispatch calls
10620 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10622 * text.C (drawChars): Fix Arabic text rendering.
10624 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10628 * lyxfunc.C: remove message-push/pop
10632 * lyxfunc.C: rationalise some code by removing verboseDispatch
10633 in favour of a bool argument to dispatch()
10635 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10637 * lyx_main.C (init): make sure to read symlinks as absolute paths
10639 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10642 * lyxfunc.C: no need for commandshortcut to be a member
10644 2002-07-15 André Pönitz <poenitz@gmx.net>
10646 * converter.C: add support for $$s (scripts from lib/scripts dir)
10647 * lyx_main.C: white space
10649 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10653 * lyxrc.C: remove second exit confirmation
10655 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10660 * BufferView_pimpl.h:
10661 * BufferView_pimpl.C:
10662 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10664 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10666 * MenuBackend.C (expand): add numeric shortcuts to document menu
10668 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10670 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10672 * lyxfont.C (setLyXFamily):
10679 * buffer.C (asciiParagraph): use ascii_lowercase
10681 2002-07-15 Mike Fabian <mfabian@suse.de>
10683 * lyxlex_pimpl.C (search_kw):
10684 * lyxlex.C (getLongString):
10685 * converter.h (operator<):
10686 * converter.C (operator<):
10687 * buffer.C (parseSingleLyXformat2Token):
10689 * ToolbarDefaults.C (read):
10690 * MenuBackend.C (checkShortcuts):
10692 * LColor.C (getFromGUIName):
10693 (getFromLyXName): use the compare_ascii_no_case instead of
10694 compare_no_case, because in turkish, 'i' is not the lowercase
10695 version of 'I', and thus turkish locale breaks parsing of tags.
10697 2002-07-16 Angus Leeming <leeming@lyx.org>
10699 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10700 now takes a Buffer const & argument.
10702 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10704 * BufferView.C (resize): check there's a buffer to resize
10706 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10708 * lyxfunc.C: remove dead code
10711 * lyxserver.C: use lyx_guii::set_read_callback
10713 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10715 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10716 an inset in a RTL paragraph.
10718 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10720 * lyxfunc.C: repaint after a font size update
10722 2002-07-15 André Pönitz <poenitz@gmx.net>
10724 * lyxlength.C: inBP should be able to return negative values
10726 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10728 * lyxfunc.C: use lyx_gui::update_fonts()
10730 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10732 * lyxfunc.C: use lyx_gui::update_color()
10734 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10740 * lyxrc.C: remove file->new asks for name option, and let
10741 buffer-new take an argument
10743 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10745 * BufferView_pimpl.C: remove unneeded extra repaint()
10747 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10749 * LyXAction.C: allow command-sequence with NoBuffer
10751 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10753 2002-07-10 Angus Leeming <leeming@lyx.org>
10755 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10757 2002-07-09 Angus Leeming <leeming@lyx.org>
10759 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10761 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10763 * lengthcommon.h: whitespace
10765 * lyxfunc.C: update scrollbar after goto paragraph
10767 * lyxtext.h: factor out page break drawing, and fix it so
10768 page break/added space paints as selected nicely
10770 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10772 * BufferView_pimpl.C: add FIXMEs, clean up a little
10774 2002-07-09 André Pönitz <poenitz@gmx.net>
10776 * lyxfont.[Ch]: support for wasy symbols
10778 2002-07-08 André Pönitz <poenitz@gmx.net>
10780 * BufferView_pimpl.C: apply John's patch for #93.
10782 2002-07-05 Angus Leeming <leeming@lyx.org>
10784 * BufferView_pimpl.C (buffer): generate previews if desired.
10786 * LColor.h: add "preview" to the color enum.
10788 * LColor.C (LColor): add a corresponding entry to the items array.
10790 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10793 2002-07-05 Angus Leeming <leeming@lyx.org>
10795 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10796 The body of the code is now in the method that is passed an ostream &
10797 rather than a file name.
10798 Pass an additional only_preamble parameter, useful for the forthcoming
10801 2002-07-03 André Pönitz <poenitz@gmx.net>
10803 * lyxfunc.C: simplify getStatus() a bit for math stuff
10805 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10809 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10811 * text.C (changeRegionCase): do not change case of all the
10812 document when region ends at paragraph end (bug #461)
10814 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10816 * paragraph.C (startTeXParParams):
10817 (endTeXParParams): add \protect when necessary
10819 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10821 * BufferView_pimpl.C (workAreaExpose): remove warning
10823 2002-06-27 Angus Leeming <leeming@lyx.org>
10825 * Makefile.am: add lyxlayout_ptr_fwd.h.
10827 2002-06-26 André Pönitz <poenitz@gmx.net>
10829 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10831 2002-06-25 Angus Leeming <leeming@lyx.org>
10833 * lyxfunc.C (dispatch): Comment out the call to
10834 grfx::GCache::changeDisplay. The method no longer exists now that the
10835 pixmap generation part of the graphics loader has been moved into
10838 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10840 * text2.C: layout as layout
10842 * text.C: layout as layout
10844 * tabular.C (OldFormatRead): layout as layout
10846 * paragraph_pimpl.C (TeXDeeper): layout as layout
10847 (realizeFont): layout as layout
10849 * paragraph.C (writeFile): layout as layout
10850 (validate): layout as layout
10851 (getFont): layout as layout
10852 (getLabelFont): layout as layout
10853 (getLayoutFont): layout as layout
10854 (breakParagraph): layout as layout
10855 (stripLeadingSpaces): layout as layout
10856 (getEndLabel): layout as layout
10857 (getMaxDepthAfter): layout as layout
10858 (applyLayout): layout as layout
10859 (TeXOnePar): layout as layout
10860 (simpleTeXOnePar): layout as layout
10861 (TeXEnvironment): layout as layout
10862 (layout): layout as layout
10863 (layout): layout as layout
10865 * lyxtextclass.C (compare_name): new functor to work with
10866 shared_ptr, layout as layout
10867 (Read): layout as layout
10868 (hasLayout): layout as layout
10869 (operator): layout as layout
10870 (delete_layout): layout as layout
10871 (defaultLayout): layout as layout
10873 * lyxlayout_ptr_fwd.h: new file
10875 * lyxlayout.C (Read): layout as layout
10877 * lyx_cb.C (MenuInsertLabel): layout as layout
10879 * bufferlist.C (newFile): layout as layout
10881 * buffer.C (readLyXformat2): layout as layout
10882 (parseSingleLyXformat2Token): layout as layout
10883 (insertStringAsLines): layout as layout
10884 (asciiParagraph): layout as layout
10885 (latexParagraphs): layout as layout
10886 (makeLinuxDocFile): layout as layout
10887 (simpleLinuxDocOnePar): layout as layout
10888 (makeDocBookFile): layout as layout
10889 (simpleDocBookOnePar): layout as layout
10890 (getLists): layout as layout
10892 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10894 * CutAndPaste.C (cutSelection): layout as layout
10895 (pasteSelection): layout as layout
10896 (SwitchLayoutsBetweenClasses): layout as layout
10898 * BufferView_pimpl.C (Dispatch): layout as layout
10899 (smartQuote): layout as layout
10901 * BufferView2.C (unlockInset): layout as layout
10903 2002-06-24 André Pönitz <poenitz@gmx.net>
10905 * lyxfunc.C: fix #487
10907 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10911 * lyxfunc.C: remove display_shortcuts, show_banner
10913 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10915 * Buffer_pimpl.C: oops, update on resize
10917 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10924 * BufferView.C: use repaint()
10926 * BufferView_pimpl.h:
10927 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10928 as it's a clearer description. Remove superfluous
10931 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10933 * text.C: fix bug 488. Not ideal, but getting
10934 getWord() to work properly for the insets that
10935 matter is more difficult ...
10937 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10939 * BufferView_pimpl.C:
10942 * lyxfunc.C: remove the six million index lyxfuncs to just
10943 one, and DTRT (bug 458)
10945 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10949 * BufferView_pimpl.h:
10950 * BufferView_pimpl.C: clean up resize() stuff,
10951 and unnecessary updateScreen()s
10953 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10957 * BufferView_pimpl.h:
10958 * BufferView_pimpl.C:
10961 * minibuffer.C: remove focus management of workarea,
10962 not needed. Use screen's greyOut()
10964 2002-06-17 Herbert Voss <voss@lyx.org>
10966 * converter.C: (convert) do not post a message, when converting
10967 fails, let the calling function decide what to do in this case
10969 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10971 * lyxfunc.C: tidy up a little
10973 2002-06-16 <alstrup@diku.dk>
10975 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10976 Got rid of FORMS_H_LOCATION include. Now we are
10979 2002-06-15 LyX Development team <lyx@rilke>
10981 * buffer.[Ch] (sgmlOpenTag):
10982 (sgmlCloseTag): Added support for avoiding pernicious mixed
10983 content. Return number of lines written.
10985 (makeLinuxDocFile):
10986 (makeDocBookFile): Fixed calls to sgml*Tag.
10987 Simple white space clean.
10989 (simpleDocBookOnePar): Simple white space clean.
10991 * tabular.[Ch] (docBook): Renamed to docbook and got another
10992 argument to related with the pernicious mixed content.
10994 (docbookRow): Fixed calls for docbook inset method.
10996 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10998 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10999 so it's X11 independent.
11003 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11005 2002-06-15 Lyx Development team <lyx@electronia>
11007 * intl.h: Renamed getTrans to getTransManager.
11009 2002-06-14 Angus Leeming <leeming@lyx.org>
11011 * Makefile.am: nuke forgotten stl_string_fwd.h.
11013 2002-06-12 Angus Leeming <leeming@lyx.org>
11015 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11017 2002-06-13 Angus Leeming <leeming@lyx.org>
11020 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11022 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11024 * kbmap.C (getiso): add support for cyrillic and greek
11026 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11030 * BufferView_pimpl.h:
11031 * BufferView_pimpl.C: move bogus scrolling logic
11034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11037 * BufferView_pimpl.C: view->resize() change
11039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11041 * BufferView_pimpl.C: topCursorVisible
11044 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11048 * lyx_gui.C: move to frontends/
11052 * lyx_main.C: changes from above
11054 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11061 * lyx_main.C: minor tidy
11063 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11065 * BufferView_pimpl.h:
11066 * BufferView_pimpl.C:
11068 * BufferView.C: make painter() const,
11071 * BufferView2.C: use screen() accessor
11074 * lyx_main.C: some minor cleanup
11076 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11078 * BufferView_pimpl.h:
11079 * BufferView_pimpl.C: remove enter/leaveView,
11082 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11087 * BufferView_pimpl.h:
11088 * BufferView_pimpl.C: only construct screen once,
11091 * lyxrc.C: remove pointless comment
11093 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11096 * BufferView.C: remove active() and belowMouse()
11098 * BufferView_pimpl.h:
11099 * BufferView_pimpl.C: use workarea() not workarea_,
11100 and make it use a scoped_ptr instead
11102 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11104 * lyx_gui.C: add debug message on BadWindow
11106 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11108 * sp_spell.C: fdopen is not part of the C++ standard.
11110 * paragraph.C (InsetIterator): use >= instead of ==
11112 2002-06-07 Angus Leeming <leeming@lyx.org>
11114 Fixes needed to compile with Compaq cxx 6.5.
11115 * BufferView_pimpl.C:
11122 * lyxtextclasslist.C:
11127 all c-library variables have been moved into namespace std. Wrap
11128 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11133 Add a using std::abs declaration.
11135 * kbmap.h (modifier_pair):
11136 * paragraph.h (InsetTable, InsetList):
11137 * lyxfont.h (FontBits):
11138 type definition made public.
11140 * bufferlist.C (emergencyWriteAll): the compiler complains that
11141 there is more than one possible lyx::class_fun template to choose from.
11142 I re-named the void specialisation as lyx::void_class_fun.
11144 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11146 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11147 the compiler is is unable to find tostr in write_attribute.
11149 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11151 * buffer.C (sgmlError): hide #warning
11153 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11155 * xtl/*: get rid of xtl, which is not in use anyway
11157 * LyXAction.C (init):
11158 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11159 were unimplemented xtl experimentation
11161 2002-06-04 André Pönitz <poenitz@gmx.net>
11163 * lyxfunc.C: disable array operation on simple formulae
11165 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11167 * converter.C: constify a bit
11169 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11171 * lyx_gui.C: check xforms version correctly
11173 2002-04-30 Herbert Voss <voss@lyx.org>
11175 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11178 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11180 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11181 attempt to register it with a VCS)
11183 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11185 * lyx_main.C (init): honor variables LYX_DIR_13x and
11188 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11192 * lyx_main.C: fix a crash on bad command line,
11193 and give a useful exit status on error
11195 * lyxfunc.C (doImport): allow -i lyx to work
11197 2002-03-30 André Pönitz <poenitz@gmx.net>
11199 * lyxfunc.C: mathed font changes
11201 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11216 * trans_mgr.h: srcdocs, and some minor cleanups
11218 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11220 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11221 call getFont all the time)
11223 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11225 * switch from SigC signals to boost::signals
11227 2002-05-29 André Pönitz <poenitz@gmx.net>
11229 * paragraph_pimpl.C (getChar): don't call size() too often...
11231 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11233 * paragraph_pimpl.C (insertChar): do not try to update tables when
11234 appending (pos == size())
11236 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11237 in order to reduce drastically the number of comparisons needed to
11238 parse a large document
11240 2002-05-29 André Pönitz <poenitz@gmx.net>
11246 * textclasslist.[Ch]:
11247 * sp_ispell.h: whitespace change
11249 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11252 lyxaction directly now.
11254 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11258 * lyxvc.C: remove unused headers
11260 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11267 * undo_funcs.C: some cleanups. Use shared_ptr
11268 and a template for the undo stacks.
11270 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11272 * BufferView_pimpl.h:
11273 * BufferView_pimpl.C:
11280 * text2.C: use key_state/mouse_state
11282 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11284 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11287 * chset.C: change include order
11288 (loadFile): use boost regex and get rid of LRegex and LSubstring
11290 * Makefile.am (BOOST_LIBS): new variable
11291 (lyx_LDADD): use it
11293 * LaTeX.C: change include order.
11294 (scanAuxFile): use boost regex and get rid of LRegex and
11298 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11303 * FontInfo.C: moved to frontends/xforms/
11306 * FontLoader.C: moved into frontends for GUIIzation
11311 * lyxfunc.C: changes from above
11313 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11315 * LColor.C: remove spurious X include
11317 * BufferView_pimpl.C:
11322 * text2.C: move font metrics to frontends/
11324 2002-05-24 Juergen Vigna <jug@sad.it>
11326 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11327 setting the undo_cursor.
11329 * ParagraphParameters.h: include local includes first.
11331 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11333 * BufferView_pimpl.C:
11334 * BufferView_pimpl.h:
11338 * screen.C: move WorkArea into frontends/
11344 * BufferView2.C: move LyXScreen into frontends/
11348 * lyx_gui.C: move lyxlookup into frontends/xforms/
11350 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11353 * BufferView_pimpl.C:
11363 * bufferview_funcs.C:
11376 * vc-backend.C: move LyX/XFormsView into frontends/
11378 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11390 * text2.C: move Painter to frontends/
11392 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11394 * buffer.C: comment out some some code that depend upon lyx_format
11397 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11398 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11400 * buffer.h (NO_COMPABILITY): turn off compability
11402 * ColorHandler.C: include scoped_array.hpp
11404 * font.C: Use more specific smart_ptr header.
11407 * ShareContainer.h: ditto
11408 * lyx_main.h: ditto
11410 * FontInfo.h: ditto
11411 * BufferView_pimpl.h: ditto
11412 * ColorHandler.h: ditto
11414 * kbmap.C (defkey): change call to shared_ptr::reset
11416 2002-05-21 Juergen Vigna <jug@sad.it>
11418 * buffer.C (insertErtContents): fix to insert ert asis if it is
11419 non empty. Skip it completely if it contains only whitespaces.
11421 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11423 * BufferView_pimpl.C:
11424 * BufferView2.C: clear selection on paste (bug 393)
11426 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * DepTable.C: include ctime
11430 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11432 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11434 2002-05-14 Juergen Vigna <jug@sad.it>
11436 * text.C (breakParagraph): fixed function to honor the keepempty
11437 layout in the right maner and also to permit the right breaking
11438 algorithm on empty or non empyt keepempty paragraphs.
11440 * paragraph.C (breakParagraph): we have to check also if the par
11441 is really empty (!size()) for isempty otherwise we do the wrong
11444 2002-05-10 Juergen Vigna <jug@sad.it>
11446 * buffer.[Ch] : The following are only changes to the ert
11447 compatibility read reading old LaTeX layout and font stuff and
11448 convert it to ERTInsets.
11450 * buffer.h: added isErtInset().
11452 * buffer.C (struct ErtComp): add a fromlayout bool to check
11453 if we're inside a LaTeX layout.
11454 (isErtInset): new helper function.
11455 (insertErtContents): look for other ert insets before this one
11456 and insert the contents there, so that we don't have subsequent
11457 ERT insets with nothing between them. This way we create only one
11458 inset with multiple paragraphs. Also check if we don't insert only
11459 spaces ' ' as they are ignored anyway afterwards in the .tex file
11460 so if we have only spaces we will ignore this latex part in the
11462 (parseSingleLyXformat2Token \\layout): better compatibility when
11463 reading layout-latex stuff.
11464 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11466 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11467 stuff after reading the inset only get the information back from
11470 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11472 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11474 * LaTeXFeatures.C (getBabelOptions): New method.
11476 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11478 * BufferView_pimpl.C (Dispatch): work around missing argument for
11481 2002-05-08 Juergen Vigna <jug@sad.it>
11483 * text.C (leftMargin): handle paragraph leftindent.
11485 * paragraph.C (writeFile): write the new \\leftindent tag.
11486 (validate): handle leftindent code.
11487 (TeXEnvironment): handle paragraphleftindent code again.
11489 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11491 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11492 for paragrap_extra indent code and new token \\leftindent.
11493 (latexParagraphs): handle the leftindent as environment.
11495 * ParameterStruct.h: added leftindent support.
11497 * ParagraphParameters.C (leftIndent): added support functions for
11498 the paragraph left indent.
11500 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11503 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11505 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11508 * text.C (computeBidiTables): No bidi in insetERT.
11510 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11513 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11515 * version.C.in: pre 5
11517 2002-05-02 José Matos <jamatos@fep.up.pt>
11518 * buffer.C (makeDocBookFile): white space changes, add newline to
11520 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11522 * tabular.C (docBook): fix typo.
11524 2002-05-03 Juergen Vigna <jug@sad.it>
11526 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11527 change in LyXText as we can not be sure it was not freed.
11528 (drawOneRow): remove unused code.
11530 * text.C (drawInset): redo the calculation of the need_break_row as
11531 it could have a row which was already freed.
11532 (draw): look at the return value of drawInset and return false if
11533 it also returned false.
11534 (paintRowText): look at the return value of draw and return false if
11535 it also returned false.
11537 * lyxtext.h: added bool return type to drawInset() and draw() so that
11538 if we have a change in the row so that the rowbreak has to be redone
11539 we abort drawing as it will be called again.
11541 2002-05-02 Juergen Vigna <jug@sad.it>
11543 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11544 a change in the maintext also if we're inside an inset.
11545 (Dispatch): set the cursor again after a break line and after the
11546 screen has been updated as it could be we're in a different row.
11548 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11549 to set the cursor behind the pargraph with > size().
11550 (setCursor): check also for the same paragraph when checking where
11551 to put the cursor if we have a NFR inset.
11553 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11554 parts of layout read further up as it still was in the wrong
11557 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11559 * screen.C (drawFromTo): change sine fullRebreak always return
11562 * buffer.C (parseSingleLyXformat2Token): reindent some
11564 * BufferView_pimpl.C (update): change since fullRebreak always
11566 (Dispatch): git rid of the last hardcoded "Standard"s.
11568 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11570 * text2.[Ch] (fullRebreak): make it return void now that we always
11573 2002-04-30 Juergen Vigna <jug@sad.it>
11575 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11576 ert compatibility check for "latex" layout.
11578 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11580 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11581 minipages: use col% instead of p%, and also use the current font.
11582 (makeLaTeXFile): Fix use babel condition.
11583 (parseSingleLyXformat2Token): Correct font when reading old floats.
11585 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11587 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11588 inserting list of floats.
11590 2002-04-25 Herbert Voss <voss@lyx.org>
11592 * MenuBackend.C (expand): don't add the graphics extensions to the
11595 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11597 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11598 non-existing layout, do not complain if it was the default layout
11599 of the original class (bug #342)
11601 2002-04-24 Juergen Vigna <jug@sad.it>
11603 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11604 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11606 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11608 * buffer.C (getBibkeyList): If using \bibliography, return the
11609 option field with the reference itself. Enables us to provide natbib
11610 support when using \bibliography.
11612 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11614 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11616 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11617 natbib is provided by the LaTeX class.
11619 2002-04-23 Juergen Vigna <jug@sad.it>
11621 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11624 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11626 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11628 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11630 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11631 ensuremath around textordmasculine, textordfeminine and
11634 2002-04-19 Juergen Vigna <jug@sad.it>
11636 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11637 reinitializing the buffer otherwise row-dimensions may be wrong.
11638 (update): reset also the selection cursors if they do exits otherwise
11639 their x/y positions may be wrong.
11641 * text2.C (cursorDown): don't enter the inset if we came from a row
11642 above and are one row over the inset.
11644 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11645 really leaving an inset.
11647 2002-04-18 Juergen Vigna <jug@sad.it>
11649 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11650 of the selected paragraph does not have the selected layout also if
11653 * text2.C (setLayout): fixed bug which did not change last selected
11656 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11657 changed the read and substituted \\end_float with \\end_inset!
11659 * BufferView_pimpl.C (cursorPrevious):
11660 (cursorNext): fixed to make it work with rows heigher than the work
11661 area without moving the cursor only the draw of the row.
11662 (workAreaMotionNotify): fix jumping over high rows.
11664 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11669 2002-04-16 Juergen Vigna <jug@sad.it>
11671 * text2.C (setCursor): set also the irow().
11672 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11674 (cursorDown): support for locking an inset if the x_fix value goes
11675 inside it. That way I can transverse insets too with cursor up/down.
11677 * lyxrow.h: added irow helper function same as other (i) functions.
11679 * BufferView_pimpl.C (cursorPrevious):
11680 (cursorNext): fixed for insets!
11682 2002-04-15 Juergen Vigna <jug@sad.it>
11684 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11685 position otherwise it is wrong in some cases.
11687 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11688 inside the inset before the call.
11690 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11692 * buffer.[Ch] (getBibkeyList): make it const.
11694 2002-04-12 Juergen Vigna <jug@sad.it>
11696 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11698 * text2.C (getCursorX): new helper function
11699 (setCursor): compute also ix_
11700 (setCursorFromCoordinates): set also ix.
11702 * lyxcursor.h: added ix_ and helper functions.
11704 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11706 * buffer.C (insertStringAsLines): dont break paragraph if the this
11707 paragraph is inside an inset which does not permit it!
11709 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11710 also with no chars on this paragraph.
11711 (paintRowText): only paint stuff if it's inside the workarea!
11713 * paragraph.C (breakParagraph): honor keepempty flag and break the
11714 paragraph always below not above.
11716 * BufferView2.C (unlockInset): update the paragraph layout on inset
11717 unlock as we changed paragraph in such a case.
11719 * lyxfind.C (LyXFind): clear the former selection if not found!
11721 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11722 again called in insertChar().
11724 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11725 an inset which uses the whole row!
11726 (rightMargin): ditto.
11727 (insertChar): force a rebreak if we inserted an inset!
11729 2002-03-28 Herbert Voss <voss@lyx.org>
11731 * lyxlength.[Ch]: add inBP() to get the right PS-point
11732 units (BigPoint). With inPixels we have rounding errors
11734 2002-04-11 Juergen Vigna <jug@sad.it>
11736 * text2.C (setCursorFromCoordinates): set iy to the right value.
11737 (setCursor): add check if row->previous exists!
11739 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11740 an old float_type as this was the case in the old code!
11742 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11744 * BufferView2.C (showLockedInsetCursor): use iy
11745 (fitLockedInsetCursor): ditto
11747 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11748 locked insets as there we have the right value now.
11750 * lyxcursor.C: added iy_ variable and iy functions to set to the
11751 baseline of cursor-y of the locked inset.
11753 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11754 (setCursor): fixed for insets which need a full row.
11756 * text.C (rowLastPrintable): don't ignore the last space when before
11757 an inset which needs a full row.
11758 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11759 as last character of a row when before a inset which needs a full row.
11761 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11763 * version.C.in: update date
11765 * text2.C (fullRebreak): try to always return true and see what
11768 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11770 * MenuBackend.C (expand): use Floating::listName
11772 * FloatList.C (FloatList): add listName argument to the built-in
11775 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11776 text associated with the float.
11778 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11782 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11784 * ShareContainer.h: add a couple of missing typenames.
11786 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11788 * lyxrc.C (getDescription): use _() correctly rather than N_().
11790 2002-03-28 Herbert Voss <voss@lyx.org>
11792 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11793 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11795 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11797 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11798 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11800 2002-03-29 Juergen Vigna <jug@sad.it>
11802 * lyxfunc.C (dispatch): add a missing fitCursor call.
11804 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11805 it was scrolled by a cursor move, so return the bool status.
11807 * BufferView.C (fitCursor): return the bool flag also to the outside
11808 world as this is needed.
11810 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11812 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11813 call the edit() as it is not needed (and wrong) IMO.
11814 (workAreaButtonPress): set the screen_first variable before evt.
11815 unlock the inset as this may change screen_first and then we have
11816 a wrong y position for the click!
11818 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11820 * MenuBackend.C (expand): another translation that I missed
11822 2002-03-28 Juergen Vigna <jug@sad.it>
11824 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11826 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11828 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11830 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11832 * MenuBackend.C (expand): fix export/view/update when there is no
11835 2002-03-27 Herbert Voss <voss@lyx.org>
11837 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11840 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11842 * bufferview_funcs.C (currentState): only show paragraph number
11843 for is DEVEL_VERSION is set.
11845 * lyxfunc.C (dispatch): put warning in INFO channel
11847 * MenuBackend.C (expand): translate the name of floats
11849 * FloatList.C (FloatList): mark the float names for translation
11851 * converter.C (convert): use LibScriptSearch
11853 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11855 * MenuBackend.C (defaults): fix default menu (we might as well get
11858 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11860 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11863 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11865 * lyxvc.C: reorder includes.
11867 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11869 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11872 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11874 * CutAndPaste.C: change layouts earlier on paste
11875 to avoid crashing when calling getFont()
11877 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11879 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11882 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * WorkArea.C: remove 'Pending' debug message.
11886 * most files: ws cleanup
11888 * buffer.[Ch]: ws changes
11890 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11892 2002-03-21 Juergen Vigna <jug@sad.it>
11894 * tabular.C (SetMultiColumn): collapse also the contents of the
11895 cells and set the last border right. Added a Buffer const * param.
11897 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11899 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11902 2002-03-19 Juergen Vigna <jug@sad.it>
11904 * text2.C (clearSelection): reset also xsel_cache.
11906 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11907 where it needs to be called (John tells us to do so too :)
11908 (selectionLost): reset sel_cache.
11910 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11912 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11914 * text2.C (setCursorIntern): put debuging code in INSETS channel
11916 2002-03-19 André Pönitz <poenitz@gmx.net>
11918 * lyxfunc.C: tiny whitespace change
11920 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * ToolbarDefaults.C (init):
11923 * LyXAction.C (init):
11925 * BufferView_pimpl.C (Dispatch):
11926 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11928 2002-03-19 Allan Rae <rae@lyx.org>
11930 * exporter.C (Export): removeAutoInsets before doing anything else.
11931 While I've just introduced a dependency on BufferView this really is
11932 the best place to clean the buffer otherwise you need to cleanup in
11933 a dozen places before calling export or cleanup in a dozen functions
11936 * converter.C (runLaTeX):
11937 (scanLog): Better handling of removeAutoInsets and screen updates.
11939 * lyxfunc.C (dispatch): small whitespace changes
11941 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11943 * WorkArea.C (C_WorkAreaEvent): return a value.
11944 (event_cb): return 1 if we handled the event, 0 otherwise.
11946 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11948 2002-03-18 Juergen Vigna <jug@sad.it>
11950 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11951 (GetAdditionalWidth): ditto.
11952 (RightLine): ditto.
11955 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11956 inset if we're there actually (probably not used right now but this
11957 is the direction to go for unifying code).
11958 (paste): disable code to clear the selection.
11960 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11961 inside an InsetText and move the check further up as it is in the
11964 * text2.C (pasteSelection): set a selection over the pasted text.
11966 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11968 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11969 and libgraphics to build on Cygwin.
11971 2002-03-15 Juergen Vigna <jug@sad.it>
11973 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11974 inserting an Inset into the paragraph. I know this is not the best
11975 fix but we already use current_view in CutAndPaste so we will remove
11976 all of it's using at the same time.
11978 * buffer.C (sgmlError): deactivated function till it is rewritten in
11979 the right mode, now it can create problems.
11981 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11982 before accessing it.
11984 2002-03-14 Juergen Vigna <jug@sad.it>
11986 * undo_funcs.C (textHandleUndo): do the right thing when updating
11987 the inset after the undo/redo.
11989 * text2.C (setCursor): just some testcode for #44 not ready yet.
11991 * undo_funcs.C (textHandleUndo): set the next() and previous()
11992 pointers of the paragraph to 0 before deleting otherwise we have
11993 problems with the Paragraph::[destructor].
11995 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11996 on a paragraph insertion.
11998 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12000 * buffer.C (asciiParagraph): use += operator for char append to
12003 * paragraph.C (getFontSettings): compare >= not just >
12004 (highestFontInRange): ditto
12007 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12009 * paragraph.C: change several algorithm to be more appripriate for
12010 the problem domain. This is lookip in FontList and in the InsetList.
12012 2002-03-13 André Pönitz <poenitz@gmx.net>
12015 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12017 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12022 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12024 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12026 * Painter.C (display): anon helper function, adjust code for this
12028 (pixmap): remove function.
12030 * Painter.h: remove private display variable.
12032 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12034 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12036 * WorkArea.[Ch]: remove figinset_canvas cruft.
12038 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12040 * lyxtextclass.C (operator): add one item cache optimization.
12042 * bufferlist.h: doxy changes
12044 * bufferlist.C: ws changes
12046 * DepTable.[Ch] (ext_exist): place const in the right spot.
12048 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12050 (workAreaExpose): call resizeInsets when the with BufferView changes.
12051 (Dispatch): adjust for protectedBlank removal
12052 (specialChar): call updateInset if the insert went ok.
12054 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12055 specialChar instead.
12057 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12059 * BufferView.h: doxy change
12061 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12063 * lyxtextclass.C (operator[]): remove non-const version
12064 (defaultLayout): remove non-const version
12066 2002-03-12 Juergen Vigna <jug@sad.it>
12068 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12069 did resize the LyXText too.
12071 * buffer.C (readLyXformat2): set layout information on newly allocated
12074 * tabular.C (OldFormatRead): set layout information on the paragraph.
12076 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12078 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12080 2002-03-11 Juergen Vigna <jug@sad.it>
12082 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12084 (resizeCurrentBuffer): force also the insets to resize themselfes.
12085 (moveCursorUpdate): fixed up for InsetText.
12087 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12090 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12091 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12092 value of Dialogs::tooltipsEnabled().
12093 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12095 2002-03-08 Juergen Vigna <jug@sad.it>
12097 * BufferView_pimpl.C (updateInset): update inset inside inset also
12098 if it isn't inside theLockingInset().
12100 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12102 * buffer.C (asciiParagraph): redo some of the word and line length
12104 (getLists): look for Caption instead of caption.
12106 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * buffer.C (Buffer): initialize niceFile to true
12110 (makeLinuxDocFile):
12111 (makeDocBookFile): make sure niceFile is true on exit
12113 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12115 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12117 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12119 * LyXSendto.C: remove.
12120 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12121 * lyx_gui.C: remove now-redundant comment.
12122 * ColorHandler.h: remove forward declaration of class WorkArea.
12123 * lyxfunc.C: remove #include "WorkArea.h".
12125 2002-03-07 Juergen Vigna <jug@sad.it>
12127 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12128 got moved away with the DEPM and also set the inset_owner always
12129 right which before could have been omitted.
12131 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12134 wanted layout is not found.
12136 2002-03-07 Juergen Vigna <jug@sad.it>
12138 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12140 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12142 * paragraph.C (breakParagraph): use default layout not layout of
12144 (Paragraph): clear ParagraphParameters.
12146 2002-03-06 Juergen Vigna <jug@sad.it>
12148 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12149 otherwise it would not be a valid lenght. Fixed a special case in
12150 the minipage compatibility read where we end the document with a
12153 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12154 was set as it could be 0 for InsetTexts first entry.
12156 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12158 * paragraph.C (writeFile): if layout is empty write out
12159 defaultLayoutName().
12161 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12162 file without named layout we set layout to defaultLayoutName().
12164 2002-03-06 Juergen Vigna <jug@sad.it>
12166 * CutAndPaste.C (copySelection): set layout for new paragraph.
12168 * text.C (prepareToPrint): leave ERT inset left aligned
12169 (leftMargin): don't indent paragraphs inside ERT insets
12171 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * paragraph.C (breakParagraph): dont call clear do the work manually
12175 * paragraph.[Ch] (clear): remove function
12177 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12179 * paragraph.C (Paragraph): dont call clear, the work has already
12182 * lyxtextclass.C (operator): assert if n is empty
12184 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12185 work manually instead.
12187 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12189 * BufferView_pimpl.C: protect selectionLost against text == 0
12191 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12193 * text.C (breakParagraph): fix a setting layout to '0' problem.
12195 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12197 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12198 final location of file, for the included files, and graphics.
12200 2002-03-05 Juergen Vigna <jug@sad.it>
12202 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12204 2002-03-04 Juergen Vigna <jug@sad.it>
12206 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12208 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12209 last column of multicolumn cells.
12210 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12212 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12214 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12215 file if it doesn't go to a temporary file.
12217 * buffer.C (sgmlOpenTag):
12218 (sgmlCloseTag): remove extra newline insertion.
12220 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12222 * text.C (getRowNearY): comment out debug msg
12224 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12226 * text2.C: first -> first_y
12228 * text.C (getRowNearY): add some attemts at a possible
12229 optimization, not working.
12231 * tabular.[Ch]: add BufferParams to several function so that newly
12232 created paragraph can be initialized to he default layotu for the
12235 * tabular-old.C (ReadOld): add buf->params to call of Init
12237 * screen.C: rename text->first to text->first_y
12239 * paragraph.C (breakParagraph): always set layout in the broken
12242 * lyxtextclass.C (Read): remove lowercase
12245 (delete_layout): ditto
12247 * lyxtext.h: rename first -> first_y
12249 * lyxlayout.C (Read): remove lowercase
12252 (obsoleted_by): ditto
12254 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12256 * buffer.C (insertErtContents): add params are to InsetERT
12257 (parseSingleLyXformat2Token): add code to check if a paragraphs
12258 layout really exist.
12259 (parseSingleLyXformat2Token): add params to several inset
12261 (asciiParagraph): remove lowercase, do the layout comparisons with
12264 * BufferView_pimpl.C (cursorNext): first -> first_y
12265 (resizeCurrentBuffer): first -> first_y
12266 (updateScrollbar): first -> first_y
12267 (scrollCB): first -> first_y
12268 (workAreaMotionNotify): first -> first_y
12269 (workAreaButtonPress): first -> first_y
12270 (checkInsetHit): first -> first_y
12271 (cursorPrevious): first -> first_y
12272 (cursorNext): first -> first_y
12273 (Dispatch): add buffer_->params to severl inset contructors
12275 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12277 * lyxlayout.C (Read): remove some debug info that I forgot.
12279 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12280 clean up the code slightly.
12281 (makeLinuxDocFile): ditto
12282 (makeDocBookFile): ditto
12284 * text2.C: layout as string
12286 * text.C: layout as string
12288 * paragraph_pimpl.C: layout as string
12290 * paragraph.[Ch]: layout as string
12292 * lyxtextclasslist.[Ch]: layout as string
12294 * lyxtextclass.[Ch]: layout as string
12296 * lyxtext.h: layout as string
12298 * lyxlayout.[Ch]: layout as string
12300 * lyx_cb.C: layout as string
12302 * bufferview_funcs.C: layout as string
12304 * bufferparams.C: layout as string
12306 * buffer.C: layout as string
12308 * LyXView.[Ch]: layout as string
12310 * LaTeXFeatures.[Ch]: layout as string
12312 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12314 * BufferView_pimpl.C: change current_layout to string, remove
12319 (workAreaButtonRelease): layout as string
12321 * BufferView2.C (unlockInset): adjust
12323 * vspace.C (asLatexCommand): use an explict temp variable.
12325 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12327 * Makefile.am: use FRONTEND_*
12329 2002-03-01 Juergen Vigna <jug@sad.it>
12331 * tabular.C (SetWidthOfMulticolCell): changed to something better
12332 I hope but still work in progress.
12333 (recalculateMulticolumnsOfColumn): renamed function from
12334 recalculateMulticolCells as it is more appropriate now.
12335 (SetWidthOfCell): calculate multicols better.
12337 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12339 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12341 * lyxfunc.C (processKeySym): print sequence also if it is
12342 `deleted' (complete)
12344 * kbsequence.C (print): print sequence even if it is deleted
12345 (complete would be a better word, actually).
12347 * lyxfunc.C (dispatch): print complete options after a prefix key
12349 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12351 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12353 * text2.C (setCharFont): eliminate setCharFont code duplication.
12355 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12357 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12358 LFUN_TABULAR_FEATURE (bug #177)
12360 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12362 * Makefile.am: remove figure.h
12364 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12366 * Bufferview_pimpl.C:
12378 * text2.C: remove #include "lyx_gui_misc.h".
12380 * LaTeX.C: added #include <cstdio>
12382 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12384 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12385 that the paragraph following this one can have.
12387 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12389 * vspace.C (asLatexCommand): fix bogus gcc warning
12391 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12393 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12395 * text2.C (setLayout): get rid of redundant code
12397 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12399 * text2.C (incDepth): make sure depth cannot be increased beyond
12402 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12404 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12405 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12407 * PainterBase.h (image):
12408 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12409 a LyXImage const *.
12411 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12415 * BufferView_pimpl.C:
12416 * BufferView_pimpl.h:
12436 * sp_spell.C: remove fig inset, and the crap house of
12437 cards that follows it
12439 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12444 * os2_errortable.h:
12445 * nt_defines.h: move .h into support/
12447 * vms_defines.h: remove
12449 * WorkArea.C: add space in debug output
12453 * buffer.C: add WITH_WARNINGS
12457 * bufferlist.C: s/retrive/retrieve/, add docs
12466 * chset.C: add docs
12468 * lyxgui.C: add ID to X error handler
12470 * lyxtestclass.c: fix typo
12472 2002-02-26 Juergen Vigna <jug@sad.it>
12474 * tabular_funcs.C (write_attribute): changed so that some default
12475 attributes are not written at all.
12476 (getTokenValue): set default values before trying to read the
12477 value so we have the return value always set as default if we don't
12478 find the token we search for.
12480 * tabular.C (Write): write bools as bools not as strings!
12482 2002-02-22 Juergen Vigna <jug@sad.it>
12484 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12485 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12487 * text.C (leftMargin): don't add an indent for paragraphs inside
12488 tabular cells (fix #208).
12490 2002-02-21 José Matos <jamatos@fep.up.pt>
12492 * tabular.C (docBook): fixed support for long tables.
12494 2002-02-20 Juergen Vigna <jug@sad.it>
12496 * text2.C (getFont): get the drawing font of the Inset if this
12497 paragraph is inside an inset (only important for InsetERT for now).
12499 * buffer.C (insertErtContents): use new lanugage params in ERT
12502 * CutAndPaste.C: commenting out seemingly uneeded code.
12504 2002-02-19 Allan Rae <rae@lyx.org>
12506 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12507 Iterators might be simple to use but they also get invalidated.
12508 (removeAutoInsets): renamed saved cursor tracking variables and added
12509 some comments to clarify what everything does.
12511 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12518 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12519 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12522 * vc-backend.h: remove #include "support/syscall.h"
12526 * converter.C: rearrange #includes in Lars' approved fashion.
12528 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12529 forward declare class Timeout in the header file.
12531 * XFormsView.C: changes due to the above.
12533 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12534 similar to LyXView.
12536 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12537 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12539 2002-02-18 José Matos <jamatos@fep.up.pt>
12541 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12544 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12546 * a lot of small ws changes
12547 * add a lot of using std::XXX
12548 * use std construcs some places where approp.
12549 * use some exisint stuff from lyxfunctional where approp.
12550 * Make file changes to use partial linking (lets test this now...)
12552 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12556 remove #include "support/syscontr.h" as it's redundant. Always has been.
12564 change Systemcalls::System to Systemcalls::Wait and
12565 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12566 No change of functionality, just reflects the stripped down Systemcalls
12569 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12571 * debug.[Ch]: add a GRAPHICS type to the enum.
12573 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12575 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12577 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12580 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12582 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12583 match the changes below.
12585 * text2.C (toggleInset): if there is not editable inset at cursor
12586 position, try to see if cursor is _inside_ a collapsable inset
12589 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12591 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12592 document menu has a nice checkbox
12594 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12596 * lyxlength.C (asLatexString): change PW to output as percent of
12599 * lengthcommon.C: change '%' to 't%'
12601 * lyxfunc.C (dispatch): a few comments from Martin
12603 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12607 * BufferView_pimpl.h:
12608 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12611 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12613 * vspace.C (inPixels): fix compiler warning
12615 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12617 * lyxfunc.C (getStatus): fix status message for disabled commands.
12619 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12621 * BufferView_pimpl.C: fix crash on close buffer
12622 during selection (#227)
12624 2002-01-27 Herbert Voss <voss@lyx.org>
12626 * buffer.C: link old Figure to new graphic inset
12628 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12630 * FontLoader.C (getFontinfo): Change the latex font names in order
12631 to match the names of type1inst.
12633 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12635 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12637 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12638 (extchanged): ditto
12640 (remove_files_with_extension): ditto
12641 (remove_file): ditto
12644 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12645 document is smaller than the work area height. Do not initialize
12646 static variables to 0.
12648 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12650 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12652 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12653 LFUN_LAYOUT_PARAGRAPHS.
12655 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12656 tabular. It is possible to provide a possible cell, which will
12657 typically be the actcell from the corresponding insettabular
12659 * lyxfunc.C (getStatus): small cleanup; disable
12660 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12663 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12665 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12667 * paragraph.C (startTeXParParams):
12668 (endTeXParParams): new methods. The LaTeX code to
12669 start/end paragraph formatting
12670 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12671 empty (fixes bug #200)
12673 * vspace.C (inPixels): adapt to the change below
12674 (inPixels): [later] more cleanups (remove unused variables)
12676 * lyxlength.C (inPixels): change to use a width and a height as
12679 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12681 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12682 Replaced with \paperwidth
12684 * DepTable.C (insert): add std:: qualifier
12686 2002-01-18 Allan Rae <rae@lyx.org>
12688 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12691 * text.C (drawInset): Turned out I didn't know enough about how
12692 rebreaking worked. This fixes most of the redraw problems. I see
12693 an occasional cursor trail when a line is broken now and the cursor
12694 placement can seem out by a few pixels also after a rebreak.
12696 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12698 * buffer.C (parseSingleLyXformat2Token): update because minipage
12699 width is now a LyXLength
12701 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12703 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12706 2002-01-17 Juergen Vigna <jug@sad.it>
12708 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12710 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12711 is set correctly and the inset is updated correctly.
12713 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12715 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12716 the beginning of the loop.
12718 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12720 * lyxrc.C: improve help for use_scalable_fonts
12722 2002-01-17 Allan Rae <rae@lyx.org>
12724 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12726 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12729 make sure to set their inset_owner to the right value (bug #171)
12731 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12734 * DepTable.C: Implement mtime checking to reduce time spent doing
12737 2002-01-16 Juergen Vigna <jug@sad.it>
12739 * tabular.C (GetAdditionalHeight): one of error fixed.
12741 * lyxrc.C (output): small fix in writing use_pspell.
12743 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12745 * sp_base.h: #include LString.h
12747 2002-01-16 Allan Rae <rae@lyx.org>
12749 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12750 Can someone check this please?
12752 * text.C (drawInset): It was possible that p.row would be removed by
12753 breakAgainOneRow upsetting a few other settings. There may be another
12754 small tweak possible by setting need_break_row = 0 when p.row has been
12755 removed but I don't know enough about the logic here.
12757 2002-01-15 Allan Rae <rae@lyx.org>
12759 * text.C (insertChar): removed conditional truism.
12761 * BufferView2.C (removeAutoInsets): More tweaks.
12762 cur_par_prev could be a stray pointer. Check for trailing empty line
12763 in case last line was cur_par and only had an error inset on it.
12765 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12767 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12770 * vc-backend.C (most methods):
12771 * exporter.C (Export):
12772 * converter.C (convert):
12774 * LyXSendto.C (SendtoApplyCB):
12775 * lyxfunc.C (dispatch):
12779 * lyx_cb.C (AutoSave):
12781 * BufferView_pimpl.C (MenuInsertLyXFile):
12782 * buffer.C (runChktex): use Buffer::filePath().
12784 * buffer.h: rename filename to filename_; rename filepath to
12785 filepath_ and make it private
12786 (filePath): new method
12788 * buffer.C (writeFile): use fileName()
12791 * lyx_main.C (init): fix starting of LyX when the binary is a
12792 link from so,ewhere else.
12794 * minibuffer.C: include <cctype> for isprint
12796 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12798 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12799 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12800 name clash with InsetCollapsable's width function.
12802 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12804 * lastfiles.C: include <iterator>
12806 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12808 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12811 * buffer.C (makeLaTeXFile): ditto.
12812 Also make loop operation more transparent.
12814 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12816 * ToolbarDefaults.C: remove trailing comma closing namespace.
12818 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12820 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12823 * trans.C (Load): comment out unused variable, allowed.
12825 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12827 * minibuffer.[Ch] (append_char): new method to recieve input from the
12828 drop-down completion browser. If a key was pressed, then recieve this
12829 char and append it to the existing string.
12830 (peek_event): modify the positioning data passed to the completion
12831 browser so that it can be placed above the minibuffer rather than below.
12832 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * LyXAction.C (init): alloe error-next for readonly documents.
12836 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12839 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12841 * bufferlist.C (readFile): create the buffer _after_ checking that
12844 * lyxfunc.C (verboseDispatch): fix handling of arguments
12846 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12848 * lyxrc.C: use string::erase() instead of initializing to "".
12851 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12853 * BufferView_pimpl.h:
12854 * BufferView_pimpl.C:
12857 * text2.C: tell X when we have made a selection for copying
12859 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12861 * BufferView_pimpl.C (MenuInsertLyXFile):
12862 * lyxfunc.C (menuNew):
12864 (doImport): add shortcuts to directory buttons
12866 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12869 * lyxfunc.C (setStatusMessage):
12870 (getStatusMessage): new methods
12871 (getStatus):use setStatusMessage instead of setErrorMessage
12872 (dispatch): when function is disabled, set error message here
12873 [instead of in getStatus previously]
12875 * BufferView_pimpl.C (workAreaButtonRelease): update
12876 toolbar/menubar here too.
12878 2002-01-13 Allan Rae <rae@lyx.org>
12880 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12881 Now seems indestructible. Remaining task is to audit all other
12882 code affected by deleteEmptyParagraphMechanism. One small quirk
12883 left is that an empty document with an error in the preamble can
12884 be made to report an error but no error box appears. I don't know
12886 (removeAutoInsets): Improved comments.
12888 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12891 * Thesaurus.C: update for Aiksaurus 0.14
12893 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12895 * text2.C (firstParagraph): removed member function, all uses
12896 replaces with ownerParagraph
12897 (redoParagraphs): here
12898 (updateInset): here
12899 (toggleAppendix): here
12900 * BufferView2.C (insertErrors): here
12901 (setCursorFromRow): here
12903 2002-01-13 Allan Rae <rae@lyx.org>
12905 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12906 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12907 There is still a way to segfault this although you may have to do this
12908 multiple times: Have an InsetERT with an unknown command in it.
12909 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12910 <down-arrow>, <Enter> again, View->DVI, BANG!
12912 * text2.C (setCursor):
12913 (deleteEmptyParagraphMechanism):
12914 * lyxtext.h (setCursor):
12915 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12916 Making use of the return value may help fix other bugs.
12918 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12920 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12922 * LyXView.C (updateMenubar): call MenuBar::update here
12923 (updateToolbar): but not here
12924 (showState): do not update toolbar/menubar
12926 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12927 should need to care about that.
12929 * lyxfunc.C (verboseDispatch): simplify a bit
12930 (getStatus): have a version which takes a pseudoaction, and
12931 another which requires a (kb_action,string).
12933 * LyXAction.C (retrieveActionArg): make it work also when action
12934 is not a pseudo-action.
12935 (getActionName): simplify a bit
12938 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12940 * lyxfunc.C (verboseDispatch): new families of methods with
12941 several ways to specify a command and a bool to indicate whether
12942 the command name and shortcut should be displayed in minibuffer
12943 (eventually, we could extend that to a finer bitmask like
12944 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12945 (dispatch): the pristine dispatch command which just, well,
12946 dispatchs! Note it still sets its result to minibuffer; I'm not
12949 * lyxfunc.h: remove setHintMessage
12951 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12953 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12955 * BufferView_pimpl.C (specialChar): delete new inset if we have
12956 not been able to insert it.
12958 * kbmap.C: revert to using int instead of kb_action, since all we
12959 are dealing with is pseudo-actions.
12961 * LyXAction.C (searchActionArg): change to return int instead of
12962 kb_action, since the result is a pseudoaction.
12964 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12966 * buffer.C (insertErtContents): Fix (partially) the font bug.
12968 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12970 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12971 as the other one is broken on my machine!
12973 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12976 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12978 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12980 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12981 reflect their actual use. Provide compatibility code for older lyxrc
12984 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12986 change names of popup font variables in line with the changes to lyxrc.C
12988 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12990 * buffer.C (asciiParagraph): avoid outputing a word twice after
12993 * lyxrc.C (getDescription): document that document_path and
12994 template_path can be empty.
12996 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12998 * LaTeXFeatures.C (getMacros):
12999 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13001 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13003 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13005 (getPackages): rename feature "floats" to "float". Use an array to
13006 iterate over 'simple' features (i.e. just a \usepackage). Add
13007 handling of "amsmath" (renamed from "amsstyle").
13009 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13011 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13014 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13016 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13017 FuncStaus::FuncStatus & FuncStaus::some_method().
13019 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13021 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13022 of the func_satus stuff. Edited and massaged in various ways by
13025 * lyxfunc.C (getStatus): use FuncStatus
13027 2002-01-08 Juergen Vigna <jug@sad.it>
13029 * text.C (nextBreakPoint): use function Inset::isChar().
13031 * paragraph.C (TeXOnePar): use function
13032 Inset::forceDefaultParagraphs.
13034 * buffer.C (latexParagraphs): use function
13035 Inset::forceDefaultParagraphs.
13037 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13039 * lyx_gui.C (init): set the style of the menu popups to
13040 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13042 2002-01-07 Juergen Vigna <jug@sad.it>
13044 * text.C (setHeightOfRow): small fix
13045 (prepareToPrint): don't look at alignment if we don't have the place
13048 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13050 * box.C: New file. Move the Box methods and functions out of box.h,
13051 following Lars' suggestion.
13053 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13055 * box.h: #include "support/LOstream.h", needed for inlined function.
13058 * lyxtextclasslist.C: added some using std declarations.
13060 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13062 * box.h: make signed dimensions to allow insets wider than
13063 the screen (bug #162)
13065 * BufferView_pimpl.C: add some insetHit debug
13067 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13069 * vc-backend.C: add FIXME
13071 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13073 * lyxfunc.C (getStatus): enable code for showing math font status
13076 2002-01-07 Juergen Vigna <jug@sad.it>
13078 * text.C (nextBreakPoint): removed debug output not needed anymore.
13080 2002-01-06 Juergen Vigna <jug@sad.it>
13082 * text.C (nextBreakPoint): fixed up this function we had this bug
13083 since ever but now hopefully we break row better.
13084 (insertChar): we have to check if an inset is the next char as it
13085 could now happen that a large inset is causing a break.
13087 2002-01-05 Juergen Vigna <jug@sad.it>
13089 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13090 if it doesn't like to be drawed.
13092 2002-01-04 Juergen Vigna <jug@sad.it>
13094 * BufferView2.C (lockInset): forgot to set a cursor.
13096 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13098 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13100 * FormMathsPanel.C:
13103 * form_maths_panel.C:
13104 * form_maths_panel.h:
13105 * form_maths_panel.fd: implemented sub- and super- buttons in math
13108 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13109 (or ^ space) to be used as in TeX (req'd by André).
13111 * lyxfunc.C: Allow ^ and _ again to be used both as
13112 super/subscript (mathed) and as themselves (in text).
13114 2002-01-03 Allan Rae <rae@lyx.org>
13116 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13117 "LyX" or the filename of the current buffer if it has one. This is a
13118 modified form of John Levon's patch.
13120 * XFormsView.C (setWindowTitle): also set icon title.
13122 * LyXView.h (setWindowTitle): signature changed.
13123 * XFormsView.h (setWindowTitle): ditto.
13125 2002-01-02 Juergen Vigna <jug@sad.it>
13127 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13129 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13131 * screen.C (topCursorVisible): introduce a temp var for
13132 text->cursor.row(), handle the case where this row is null. (kindo
13135 * text2.C (setCursor): add a couple of asserts.
13137 * paragraph.h (inset_iterator): add -> operator
13139 * paragraph.[Ch] (autoDeleteInsets): remove member function
13141 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13142 cursor pos correctly and handle inset deletion by itself.
13143 (insertErrors): move iterator declaration out of for expression
13145 * lyxtextclass.C: add <algorithm>
13147 * Makefile.am: added the new files to sources, removed layout.C
13149 * layout.C: removed file
13151 * layout.h: remove LYX_DUMMY_LAYOUT
13153 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13157 * lyxtextclass.[Ch]:
13158 * lyxtextclasslist.[Ch]: new files
13160 * include order changes to a lot of files, also changes because of
13163 2001-12-27 Juergen Vigna <jug@sad.it>
13165 * buffer.C (asciiParagraph): more fixes.
13167 * tabular.C (ascii): make ascii export support export of only the
13168 data separated by a column-delimiter.
13169 (ascii): better support for ascii export.
13171 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13173 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * tabular_funcs.C: use a "using std::getline" instead of the
13176 previous fix from Angus (necessary for cxx + lyxstring)
13178 2001-12-24 Juergen Vigna <jug@sad.it>
13180 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13182 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13183 problems. First check a minipage also if we have some ert-contents
13184 (not only on par->size(), second set the right depth of the paragraph
13185 on the relink to the root-paragraph-list!
13187 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13188 which then did not anymore update the main paragraphs on undo/redo!
13190 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13192 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13193 code. Support all font-changing funcs (even those which are not in
13194 menu currently). Support for reporting font settings in
13195 mathed (disabled until Andre provides a function on mathed's side).
13197 * func_status.h (toggle): small helper function to set toggle
13200 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13202 * tabular_funcs.C: getline -> std::getline
13204 2001-12-21 Juergen Vigna <jug@sad.it>
13206 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13207 accessed and could be 0 (I couldn't generate this but it seems
13210 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13213 * tabular_funcs.h: here and include iosfwd
13215 2001-12-20 Juergen Vigna <jug@sad.it>
13217 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13218 inside inset but undo_par was.
13220 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13222 * Thesaurus.C: always include <config.h> in sources.
13226 * box.h: do not include <config.h> in header files
13228 * text.C (paintLastRow): remove unused variable
13230 * text.C (transformChar):
13232 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13234 * Painter.C (text):
13235 * font.C (width): rewrite to use uppercase() instead of
13238 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13240 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13242 * lyxfind.C: clean up of find failure position change
13244 2001-12-20 Juergen Vigna <jug@sad.it>
13246 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13248 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13249 (TeXRow): added to LaTeX a single tabular row.
13250 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13251 (Latex): simplified and finally good LT-h/f support.
13252 (various_functions): just small adaptions for LT-h/f support.
13254 * tabular_funcs.[hC]: added and moved here all not classfunctions
13257 2001-12-19 Juergen Vigna <jug@sad.it>
13259 * tabular.[Ch]: better support for longtabular options (not finished
13262 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13264 * text.C (paintLastRow): use the label font instead of the font of
13265 the last character to compute the size of *_BOX. This makes more
13266 sense and avoids a crash with empty paragraphs.
13267 Use Painter::rectangle to draw EMPTY_BOX.
13269 2001-12-19 Juergen Vigna <jug@sad.it>
13271 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13272 the paragraphs if the replaced paragraph is not the first one!
13273 Tried to delete not used paragraphs but does not work yet so for
13274 now it's inside #ifdef's and by default off!
13276 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13278 * MenuBackend.C: include "lyx_main.h" instead of declaring
13279 lastfiles (actually was declared as LastFiles* instead of a
13282 2001-12-17 Juergen Vigna <jug@sad.it>
13284 * tabular.C (AppendColumn): applied John's fix
13286 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13290 * BufferView_pimpl.h:
13291 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13294 * box.h: new start of class for above
13296 * lyxfunc.C: ignore space-only minibuffer dispatches.
13297 Show the command name when it doesn't exist
13299 * minibuffer.C: don't add empty lines to the history
13301 * minibuffer.C: add a space on dropdown completion
13303 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13305 * text.C: fix line above/below drawing in insets
13307 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13309 * lyxlength.C (LyXLength): Initialize private variables.
13311 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13313 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13314 when inserting error insets.
13316 2001-12-13 Juergen Vigna <jug@sad.it>
13318 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13319 actually sometimes the before-paragraph.
13320 (setUndo): don't clear the redostack if we're not actually undoing!
13322 2001-12-06 Juergen Vigna <jug@sad.it>
13324 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13325 and fixed redoing of main paragraph, so we can use it now ;)
13327 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13329 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13331 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13334 2001-12-13 André Pönitz <poenitz@gmx.net>
13337 * undo_func.C: minor cleanup
13339 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13341 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13342 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13343 font in urw-fonts package which is marked as -urw-fontspecific and
13344 does not work (incidentally, changing the encoding in the
13345 fonts.dir of this package to -adobe-fontspecific fixes the
13348 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13349 is a crash when undoing first paragraph (Juergen, please take a
13350 look). THis does not mean the undo fix is wrong, just that it
13353 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13354 the (Paragraph*) version when needed instead of duplicating the
13357 * text.C (workWidth): use Inset::parOwner to find out where the
13358 inset has been inserted. This is a huge performance gain for large
13359 documents with lots of insets. If Inset::parOwner is not set, fall
13360 back on the brute force method
13362 * paragraph_pimpl.C (insertInset):
13363 * paragraph.C (Paragraph):
13364 (cutIntoMinibuffer): set parOwner of insets when
13365 inserting/removing them
13367 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13369 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13375 * mathed/formulabase.C:
13376 * mathed/math_cursor.[Ch]:
13377 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13380 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * lyxlength.[Ch] (operator!=): new function
13384 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13386 * text.C (workWidth): use Inset::parOwner to find out where the
13387 inset has been inserted. This is a huge performance gain for large
13388 documents with lots of insets. If Inset::parOwner is not set, fall
13389 back on the brute force method
13391 * paragraph_pimpl.C (insertInset):
13392 * paragraph.C (Paragraph):
13393 (cutIntoMinibuffer): set parOwner of insets when
13394 inserting/removing them
13396 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13398 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13400 * tabular-old.C (getTokenValue):
13401 * tabular.C (getTokenValue):
13402 (write_attribute): new versions for LyXLength
13403 (everywhere): adjust the use of widths
13405 * tabular.h: change the type of widths from string to LyXLength
13407 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13409 * paragraph.C: fixed missing line number count when exporting
13410 Environments to LaTeX file
13412 * buffer.C: added informational message for checking line numbers.
13414 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13416 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13417 paragraph, do the 'double space' part, but not the 'empty
13420 * text.C (workWidth): small optimization
13421 (getLengthMarkerHeight): use minimal size for negative lengths.
13423 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13425 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13427 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13429 2001-12-11 André Pönitz <poenitz@gmx.net>
13432 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13434 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13436 * text2.C: keep selection on a setFont()
13438 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13440 * lyx_cb.C: another bv->text misuse, from insert label
13442 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13445 * kbsequence.C: re-instate nmodifier mask
13447 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13449 * lyx_main.h: make lyxGUI private.
13451 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13453 * lyxfind.C: place the cursor correctly on failed search
13455 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13457 * text.C (getLengthMarkerHeight): for small heights, the arrows
13458 are not always on top/bottom of the text
13459 (drawLengthMarker): smaller arrows; take the left margin in
13460 account; draw also vfills.
13462 (paintLastRow): remove special code for vfill and standard spaces,
13463 since everything is handled in drawLengthMarker now.
13465 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * buffer.C (insertErtContents): try to handle font and language
13468 interaction a bit better.g
13470 * ColorHandler.C (updateColor): change the hash to cover the whole
13471 LColor enum, ws cleanup
13472 (getGCLinepars): ditto
13473 (getGCLinepars): only lookup in the linecache once.
13475 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13477 * iterators.C (operator++): Make the iterator more robust
13479 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13481 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13486 * text.C: better added space drawing
13488 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13491 * BufferView2.C: fix layout combo update on inset unlock
13493 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13495 * Makefile.am: don't compile unused files
13497 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13501 * LyXAction.C: remove old LFUN_LAYOUTNO
13503 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13505 * paragraph_pimpl.h:
13506 * paragraph_pimpl.C: isTextAt() doesn't need font param
13508 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13511 * lyxlex.C: little cleanup
13513 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13515 * BufferView_pimpl.C: fix insertAscii for insets
13517 2001-12-05 Juergen Vigna <jug@sad.it>
13519 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13520 set the right font on the "multi" paragraph paste!
13522 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * lyxlength.C: remove out-commented code.
13530 * BufferView_pimpl:
13544 * vc-backend.C: change "while(" to "while ("
13546 * lyxlength.[Ch]: add zero function to check if length is zero or
13548 * lyxgluelength.C: use it
13550 2001-12-05 Allan Rae <rae@lyx.org>
13552 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13553 Works for 2.95.3, from what I understand of Garst's reports this should
13554 work for other g++ versions. We're screwed if the abs(int) definition
13555 changed between bugfix releases of gcc.
13557 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13559 * text.C: fix chapter label offset !
13561 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13564 * text.C: fix hfill at end of line, clean up
13566 2001-12-04 Juergen Vigna <jug@sad.it>
13568 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13569 that we force an update of the inset and it's owners if neccessary.
13571 2001-12-03 Juergen Vigna <jug@sad.it>
13573 * text.C (rowLast): simplified code
13575 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13577 * lyxfunc.C: fix show options on timeout
13579 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13581 * screen.C (topCursorVisible): scroll half a page when the cursor
13582 reached top of bottom of screen
13584 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13586 * minibuffer.C: deactivate on loss of focus
13588 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13590 * vspace.[Ch] (operator!=): add operator.
13592 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13594 * BufferView_pimpl.C: refuse to open an inset when
13595 there's a selection.
13597 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13599 * BufferView_pimpl.C: allow to click on RHS of full row insets
13601 2001-11-30 Juergen Vigna <jug@sad.it>
13603 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13604 insets for undo reasons.
13606 2001-11-28 André Pönitz <poenitz@gmx.net>
13608 * vspace.[Ch]: cosmetical changes
13610 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13620 * kbsequence.C: part re-write of old kb code
13623 * WorkArea.C: remove Lgb_bug_find_hack
13625 2001-11-30 José Matos <jamatos@fep.up.pt>
13627 * buffer.C (makeDocBookFile): add a comment to point a hack.
13628 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13629 Fixed a double write of labels.
13631 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13634 * LaTeX.h Fixed bug in LaTeX class where it would not
13635 re-run latex if no depfiles were changed, but the .dvi was removed.
13637 2001-11-28 André Pönitz <poenitz@gmx.net>
13639 * all the files from the change on 2001/11/26:
13640 use lyx::layout_type instead of LyXTextClass::size_type
13641 use lyx::textclass_type instead of LyXTextClassList::size_type
13643 2001-11-29 Juergen Vigna <jug@sad.it>
13645 * text.C: added support for paragraph::isFreeSpacing()
13647 * buffer.C: same as above
13649 * paragraph.h: inserted isFreeSpacing() function to enable
13650 FreeSpacing inside InsetERT.
13652 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13653 of the paragraph's in the cut/copy buffer to 0!
13655 * text2.C (removeRow): remove the assert as it can!
13657 * lyxtext.h: added helper function firstRow returning firstrow and
13658 made firstrow private again.
13660 * BufferView2.C (lockInset): don't relock if we're already locked!
13662 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13663 the only paragraph.
13664 (removeRow): added Assert::(firstrow)
13666 * debug.C: forgot to add INSETTEXT here.
13668 2001-11-28 Juergen Vigna <jug@sad.it>
13670 * sp_spell.C (initialize): changed error text to more general
13671 spellchecker command use (not only ispell!)
13673 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13675 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13677 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13679 * vspace.C: initialise lyxgluelength on failure
13681 2001-11-28 Allan Rae <rae@lyx.org>
13683 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13684 declaration & definition that looks like a function declaration.
13686 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13688 * BufferView2.C (copy):
13689 (copyEnvironment): do not clear the selection when doing a copy.
13691 * text.C (paintFirstRow): compilation fix
13693 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13695 * tabular.C (Latex): correct line count when writing latex.
13697 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13699 * paragraph_pimpl.h:
13700 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13703 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13707 * LColor.C: change vfillline->added_space
13709 * text.C: add markers and text for added space
13711 * vspace.C: fix comment
13713 2001-11-28 André Pönitz <poenitz@gmx.net>
13715 * paragraph.C: whitespace changes
13716 * all the other files from the change on 2001/11/26:
13717 change *::pos_type into lyx::pos_type
13719 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13721 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13722 language of the document when inserting error insets.
13724 2001-11-26 André Pönitz <poenitz@gmx.net>
13726 * BufferView_pimpl.[Ch]:
13734 * paragraph_pimpl.[Ch]:
13737 * text2.C: reduce header dependencies, introduce type for positions
13739 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13741 * <various>: change to use Alert.h
13743 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13745 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13746 when encountering an unknown token.
13747 (readLyXformat2): Show an error message if there were unknown tokens.
13749 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13752 * BufferView_pimpl.C:
13756 * text2.C: use par->isInset()
13758 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13760 * paragraph_pimpl.h:
13761 * paragraph_pimpl.C: cleanup
13763 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13765 * text2.C (removeRow):
13766 * text.C (setHeightOfRow): remove useless (and costly) call to
13769 2001-11-20 Allan Rae <rae@lyx.org>
13771 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13772 Now need Inset*::checkInsertChar() to return true for appropriate
13773 cases so that the characters in the minibuffer will actually be
13776 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13778 * text.C: change the order of the includes.
13779 (workWidth): initialize it at once.
13780 (workWidth): make maxw unsigned
13781 (setHeightOfRow): remove unused variable (inset)
13782 (selectSelectedWord): remove unused variable (inset)
13783 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13785 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13787 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13788 server is not running.
13790 (closeConnection): add debug info when server is disabled.
13792 * ColorHandler.C (getGCForeground): send debug message to GUI
13795 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13797 * kbmap.C (bind): modify because return conventions of
13798 kb_sequence::parse have changed.
13800 * kbsequence.C (parse): only ignore spaces and not any stupid
13801 control character. This avoids tests like s[i] <= ' ', which are
13802 guaranteed to fail with 8bit characters and signed chars.
13803 Change return code to string::npos when there have been no error
13804 (0 was a bad idea when error is at first character)
13806 2001-11-14 José Matos <jamatos@fep.up.pt>
13809 * buffer.C (simpleDocBookOnePar): removed unused argument.
13811 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13813 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13814 insets which are part of a word. Paragraph::isLetter takes care of
13815 that now. Use Paragraph::isInset to identify insets.
13816 (selectSelectedWord): do not test for hyphenation break.
13818 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13819 that protected spaces are considered as spaces.
13821 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13824 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13827 * lyxserver.C: fix it. and small cleanup.
13829 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13831 * BufferView_pimpl.C: use inline helpers
13834 * LaTeXFeatures.C: fix typos
13837 * Spacing.C: move spacing_string into class
13839 * ToolbarDefaults.C: move stuff into namespace anon
13841 * layout.h: update enum
13843 * lyxfunc.C: use better debug
13845 * minibuffer.h: fix typo
13849 * WorkArea.C: add and use Debug::WORKAREA
13853 * text2.C: code re-organisation, inline helpers
13855 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13857 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13858 std::vector.empty().
13860 2001-11-09 Allan Rae <rae@lyx.org>
13862 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13863 '\n's after tables. Tabular and ERT inset work now makes this no
13866 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13869 * minibuffer.C: fix crash, improve drop-down completion
13871 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13874 * lyxserver.C: invalidate fd's when doing endPipe()
13876 2001-11-08 José Matos <jamatos@fep.up.pt>
13878 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13879 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13882 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13884 2001-11-07 José Matos <jamatos@fep.up.pt>
13887 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13890 * buffer.C (sgmlOpenTag):
13891 * buffer.C (sgmlCloseTag): removed debug info.
13893 * buffer.h (sgmlOpenTag):
13894 * buffer.h (sgmlCloseTag): made public.
13896 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13898 * buffer.C (saveParamsAsDefaults):
13899 * lyx_cb.C (MenuLayoutSave): remove
13901 * LyXAction.C (init):
13903 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13905 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13907 * buffer.C (setPaperStuff): removed from here...
13909 * bufferparams.C (setPaperStuff): ... and moved there.
13911 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13915 * XFormsView.C: add support for drop-down completion
13917 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13919 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13922 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13924 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13927 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13929 * lyx_main.C: change ref to known bugs
13931 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13933 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13934 to work around older babel problems.
13936 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13938 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13940 2001-10-24 Juergen Vigna <jug@sad.it>
13942 * tabular-old.C (ReadOld): below variable changes reflected.
13944 * tabular.[Ch]: added ltType struct for longtable header/footer
13945 defines and changed all instances where they are used. Added
13946 future support for double top/bottom rows.
13948 2001-10-24 José Matos <jamatos@fep.up.pt>
13950 * buffer.h (docbookHandleCaption):
13951 * buffer.C (docbookHandleCaption): removed unused function.
13952 (makeDocBookFile): moved docbook supported version to v4.1.
13954 2001-10-24 José Matos <jamatos@fep.up.pt>
13957 * tabular.C (docbookRow): new function to export docbook code of a row.
13958 (DocBook): now honors the longtable flags.
13960 2001-10-23 José Matos <jamatos@fep.up.pt>
13963 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13964 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13966 * buffer.C (makeLinuxDocFile):
13967 (makeDocBookFile): reworked the preamble, more clean, and with
13968 support for lyx defined entities. Changed the document declaration
13969 to be more XML friendly.
13971 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13972 if we need to output XML that should be done with a filter.
13974 2001-10-22 Juergen Vigna <jug@sad.it>
13976 * sp_pspell.h (class PSpell): add alive function needed in the
13977 controller to see if the spellchecker could be started.
13979 2001-10-22 Juergen Vigna <jug@sad.it>
13981 * buffer.C (insertStringAsLines): modify the font for inserting
13982 chars in certain conditions by calling checkInsertChar(font).
13984 2001-10-19 Juergen Vigna <jug@sad.it>
13986 * text.C (workWidth): use getRow instead of wrong algorithm.
13987 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13989 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13994 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13996 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13998 * text.C (workWidth): do not search for the exact row when
13999 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14000 optimization for big documents.
14002 2001-10-18 Juergen Vigna <jug@sad.it>
14004 * text.C (workWidth): new function with added Inset * parameter.
14006 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14008 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14010 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14011 change return type of getColumnNearX.
14014 * text.C (changeRegionCase): use uppercase/lowercase instead of
14017 (rightMargin): simplify code by factoring out the uses of
14022 (appendParagraph): use Paragraph::size_type
14024 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14026 * vspace.C (asLatexString): add a missing break
14028 2001-10-15 Herbert Voss <voss@perce.de>
14030 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14032 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14034 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14037 2001-10-10 André Pönitz <poenitz@gmx.net>
14039 * lyxfunc.C: removed greek_kb_flag.
14041 2001-10-10 Herbert Voss <voss@perce.de>
14043 * lyx_main.C: delete global string help_lyxdir.
14045 2001-10-09 Herbert Voss <voss@perce.de>
14047 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14049 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14051 * lyx_main.C: added global string help_lyxdir.
14053 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14055 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14057 * lyxrc.C (set_font_norm_type): support iso8859-4
14059 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14061 * LaTeX.C (deplog): add another regex for MikTeX
14063 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14065 * lyxrc.C (set_font_norm_type): support iso8859-3
14067 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14069 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14071 * LaTeXFeatures.C: remove special case of french and index
14073 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14074 before \begin{document}). This solves several incompatibilities.
14076 2001-10-03 Garst Reese <reese@isn.net>
14078 * lyx_cb.C: change CheckTex error msg.
14080 2001-10-03 José Matos <jamatos@fep.up.pt>
14082 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14084 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14086 * .cvsignore: update
14088 * lyx_main.C (commandLineVersionInfo): use new style version info.
14090 * buffer.C (writeFile):
14092 (makeLinuxDocFile):
14093 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14095 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14097 * version.h: update to use stuff in version.C
14099 * version.C.in: new file. Contains version information determined
14100 at compile time. This is a merging of version.h and
14103 2001-10-03 Juergen Vigna <jug@sad.it>
14105 * BufferView_pimpl.C (update): don't change "dirty" status in
14108 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14110 * WorkArea.C (c-tor): re-position version string slightly.
14112 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14114 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14115 revert to previous code.
14117 WorkArea.[Ch]: (show, destroySplash): methods removed.
14119 WorkArea.C: rework code so that it's an amalgam of the codes before and
14120 after the splash screen was moved to WorkArea.
14122 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14125 * vspace.C (inPixels):
14128 * buffer.C (insertStringAsLines):
14129 (asciiParagraph): fix types to be large enough
14131 * lyxlex_pimpl.h: change member status from short to int
14133 * layout.h: fix type of endlabeltype
14136 * kbsequence.C (parse): change return type to string::size_type
14138 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14141 * Bullet.C (bulletSize):
14142 (bulletEntry): do not use short ints as parameters
14144 * BufferView2.C (insertLyXFile): change a char to an int.
14146 * WorkArea.C (WorkArea): remove unneeded floats in computation
14148 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14150 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14152 * paragraph.C (asString): Do not ignore newline/hfill chars when
14153 copying to the clipboard.
14155 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14157 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14158 after a multi-line inset.
14160 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14162 * paragraph.C (validate): Set NeedLyXFootnoteCode
14164 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14166 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14167 and decrease-error to decrease.
14169 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14171 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14172 it more readable (should be equivalent)
14174 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14176 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14178 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14180 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14181 of a cursor (row, etc.) after a character has been deleted
14182 (deleteEmptyParagraphMechanism): call the method above on _all_
14183 cursors held by the LyXText when a double space has been
14186 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14188 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14190 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14192 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14193 background. Use greyOut() and the new show() methods to toggle between
14194 the foreground and background. Add code to remove the splash after
14195 its initial showing.
14197 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14198 (create_forms): no longer call Dialogs::showSplash.
14200 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14202 * .cvsignore: add version_info.h
14204 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14206 * version_info.h.in: new file
14208 * Makefile.am: add version_info.h.in
14210 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14211 version_info.h instead of VERSION_INFO
14213 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14215 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14216 The ERT inset now returns string().
14218 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14220 * lyxtext.h, text.C (selectNextWord): renamed as
14221 selectNextWordToSpellcheck.
14223 * text.C (selectNextWordToSpellcheck): Modified to not select
14224 words inside an ERT inset.
14226 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14228 * lyx_cb.C (MenuLayoutSave): change a bit the question
14230 * sp_base.h: include <sys/types.h>
14232 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14234 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14236 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14238 * several files: fix typos in user-visible strings
14240 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14242 * text2.C (pasteSelection): do not set the selection, since it
14243 will be cleared later. Actually, the intent was to fix the way the
14244 selection was set, but I figured rmoving the code was just as good.
14246 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14248 * FontLoader.C (available): Check if font is available without
14251 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14253 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14255 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14257 * lyxrc.[Ch]: added display_graphics variable and associated code.
14259 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14261 * bufferparams.C (hasClassDefaults): new method. Returns true if
14262 the buffer parameters correspond to known class defaults
14264 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14266 * XFormsView.C (show): set minimum size to the main window.
14268 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14270 * text2.C (copySelection):
14272 * lyxfind.C (LyXReplace):
14273 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14274 LyXText::selectionAsString.
14276 * paragraph.C (asString): add "label" argument to the second form
14278 * text2.C (selectionAsString): add "label" argument and pass it to
14279 Paragraph::asString.
14281 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14283 * lyx_main.C (commandLineHelp): remove version information
14285 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14287 * lyx_main.C: add -version commandline option
14289 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * paragraph.h: make the optional constructor arg required instead.
14292 some modifications to other files because of this.
14294 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14296 * lyxserver.C (C_LyXComm_callback): make it static
14298 * lyx_main.C (error_handler): make it static
14300 * lyx_gui.C (LyX_XErrHandler): make it static
14302 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14304 * WorkArea.C: make the extern "C" methods static.
14306 * Makefile.am (lyx_LDADD): simplify
14308 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14310 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14311 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14313 * LyXAction.C (init):
14314 * lyxfunc.C (dispatch): associated code removal.
14316 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14318 * lyxfont.h (isSymbolFont): shut off warning
14320 * text.C (setHeightOfRow):
14321 (getVisibleRow): fix crash with empty paragraphs which have a
14324 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14326 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14329 2001-09-04 José Matos <jamatos@fep.up.pt>
14332 * tabular.C (docbook): rename docBook method to docbook.
14334 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14336 * Makefile.am: add dependencies to main.o.
14338 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14340 * FontLoader.C (available): Return false if !lyxrc.use_gui
14342 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14344 * FontInfo.C (query):
14345 * converter.C (view):
14346 * importer.C (Import):
14347 * exporter.C (Export): Can not -> cannot.
14349 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14351 * BufferView_pimpl.C: allow to create index inset even if
14354 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14356 * buffer.C (getLists): replace boost::tie code with an explicit pair
14357 as boost::tie can break some compilers.
14359 * iterators.h: Added a std:: declaration to the return type of
14362 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14364 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14367 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14369 * iterators.[Ch]: New files. Provide paragraph iterators.
14371 * buffer.C (changeLanguage): Use paragraph iterators.
14372 (isMultiLingual): ditto
14374 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14376 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14378 * FontLoader.C: Support for cmr font.
14380 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14382 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14383 (available): New method.
14385 * FontInfo.C (getFontname): Use scalable fonts even when
14386 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14389 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14391 * converter.C (Formats::view): reverted! Incorrect fix.
14393 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14395 * converter.C (Formats::view): only output the -paper option
14396 if the dvi viewer is xdvi, thereby fixing bug #233429.
14398 2001-08-23 Herbert Voss <voss@perce>
14400 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14402 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14404 * Spacing.h (Spacing): Set space to Default on in the default
14407 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14409 * vc-backend.h (RCS::versionString): add RCS to version
14410 (CVS::versionString): add CVS to version
14412 * vc-backend.C (scanMaster): do not add CVS to version.
14413 (scanMaster): do not add RCS to version
14415 * lyxvc.C (versionString): new method
14417 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14419 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14421 * Spacing.C (set): initialize fval
14423 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14425 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14428 2001-08-16 Juergen Vigna <jug@sad.it>
14430 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14432 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14434 * BufferView_pimpl.C:
14437 * text2.C: setParagraph takes linespacing now
14439 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14441 * LyxAction.C: add internal LFUN_CITATION_INSERT
14443 * LyXView.C: actually apply fix
14445 * bufferlist.C: fix open non-existent file
14447 * lyxfind.C: fix indentation
14449 * lyxfunc.C: remove unneeded assert, fix typo
14451 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14453 * MenuBackend.C: use "Floatname List"
14455 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14457 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14458 when converting LaTeX layout to insetERT.
14459 Generate a non-collapsed float when reading old float
14461 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14463 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14466 2001-08-13 Juergen Vigna <jug@sad.it>
14468 * text.C (fill): return 0 instead of 20 as this seems to be the more
14471 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14473 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14476 2001-08-13 Juergen Vigna <jug@sad.it>
14478 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14480 (SearchBackward): comment out the unlocking of the inset_owner this
14481 should not be needed!
14483 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14485 * Many files: Remove inherit_language, and add latex_language
14487 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14488 collapsible insets.
14490 2001-08-10 Juergen Vigna <jug@sad.it>
14492 * text.C (prepareToPrint): fixed hfill-width in draw!
14494 * BufferView2.C (selectLastWord): save the selection cursor as this
14495 now is cleared in the function LyXText::clearSelection!
14497 2001-08-08 Juergen Vigna <jug@sad.it>
14499 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14500 BACKSPACE type functions.
14502 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14503 is only cutted from the document but not put in the cut-buffer, where
14504 still the old stuff should be.
14506 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14508 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14510 * tabular.C (SetWidthOfCell): fixed special case where the width
14512 (LeftLine): handle '|' in align_special.
14514 (LeftAlreadyDrawed): ditto
14515 (SetWidthOfCell): ditto
14517 2001-08-07 Juergen Vigna <jug@sad.it>
14519 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14521 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14524 * lyxlex.[hC]: ditto
14526 2001-08-06 Juergen Vigna <jug@sad.it>
14528 * text.C (getVisibleRow): fix up row clearing a bit.
14530 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14532 * minibuffer.C: make sure the X server sees the changes in the input.
14534 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14536 * paragraph.C (getFont): split into...
14537 (getLabelFont): this
14538 (getLayoutFont): and this
14539 * paragraph_pimpl.C (realizeFont): calling this
14541 * text2.C (getFont): split into...
14542 (getLayoutFont): this
14543 (getLabelFont): and this
14544 (realizeFont): all three calling this
14546 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14549 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14551 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14553 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14555 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14556 layouts from the Quote inset insertion.
14558 2001-08-03 Juergen Vigna <jug@sad.it>
14560 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14562 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14563 only if status not is already CHANGED_IN_DRAW (second level).
14565 * text.C (draw): don't set the need_break_row when inside an
14568 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14570 * buffer.C (parseSingleLyXformat2Token): handle more latex
14573 * bufferview_funcs.[hC]: change function names to
14574 begin with small char, adjust other files.
14576 2001-08-02 André Pönitz <poenitz@gmx.net>
14579 BufferView_pimpl.C: remove broken special code for math-greek
14581 2001-08-02 Juergen Vigna <jug@sad.it>
14583 * BufferView_pimpl.C (update): redone this function so that we
14584 update the text again if there was a CHANGE_IN_DRAW.
14586 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14587 (drawFromTo): added a new internal bool which is used by draw() and
14589 (general): some cursor drawing problems fixed.
14591 2001-08-01 Juergen Vigna <jug@sad.it>
14593 * lyxfind.C (LyXFind): fixed
14594 (SearchForward): ditto
14595 (SearchBackward): ditto
14597 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14598 spurius drawing of the cursor in the main area.
14600 * text2.C (status): small fix which could lead to a segfault!
14601 (clearSelection): remove unneeded BufferView param.
14603 2001-08-01 André Pönitz <poenitz@gmx.net>
14605 * lyxfunc.C: small change due to changed mathed interface
14607 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14609 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14611 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14613 * lyxfunc.c: fail gracefully if file doesn't exist
14618 * BufferView_pimpl.C: IsDirWriteable() proto changed
14620 * LyXView.C: fix updateWindowTitle() to store the last title
14622 2001-07-31 Juergen Vigna <jug@sad.it>
14624 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14625 the font (wrong since using of Paragraph::highestFontInRange).
14627 * paragraph.C (highestFontInRange): added a default_size parameter.
14629 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14630 (setHeightOfRow): reformat
14632 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14634 * converter.[hC] + affected files: move to (inital-char)lowercase
14637 * ParagraphParameters.C (ParagraphParameters): remove commented code
14639 * PainterBase.[Ch]: remove commented code
14641 * LaTeXFeatures.h: add "bool floats" for float.sty
14643 * LaTeXFeatures.C (LaTeXFeatures): init floats
14644 (require): handle float
14645 (getPackages): do it with floats
14647 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14649 * BufferView_pimpl.C (Dispatch): improve handling of
14650 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14652 * commandtags.h: #include lyxfont.h here temporarily to avoid
14655 * bufferlist.h: include LString.h here.
14657 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14659 * text2.C (getStringToIndex): new method.
14661 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14663 * *: Reduced header file dependencies all over.
14665 2001-07-30 Baruch Even <baruch@lyx.org>
14667 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14669 2001-07-29 Baruch Even <baruch@lyx.org>
14671 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14673 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14675 * ParameterStruct.h (endif): add a default constructor to make
14676 sure that all variables is initialized.
14678 * ParagraphParameters.C (ParagraphParameters): adjust
14680 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14682 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14683 index; also, check that there is something to index, and that it
14684 does not span over several paragraphs.
14685 (doubleClick): use WHOLE_WORD_STRICT for double click.
14687 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14689 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14692 2001-07-26 Baruch Even <baruch@lyx.org>
14694 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14695 an InsetFig figure, backwards compatible reading of old figure code.
14697 2001-07-27 Juergen Vigna <jug@sad.it>
14699 * text2.C: font.realize function adaption.
14701 * text.C (draw): add a warnings lyxerr text if needed.
14703 * layout.C: font.realize function adaption.
14705 * language.C: add inherit_language and implement it's handlings
14707 * bufferview_funcs.C (StyleReset): remove language parameter from
14708 font creation (should be language_inherit now).
14710 * bufferparams.C (writeFile): handle ignore_language.
14712 * paragraph.C (getFontSettings): the language has to be resolved
14713 otherwise we have problems in LyXFont!
14715 * lyxfont.C (lyxWriteChanges): added document_language parameter
14716 (update): removed unneeded language parameter
14718 * paragraph.C (validate): fixed wrong output of color-package when
14719 using interface colors for certain fonts in certain environments,
14720 which should not seen as that on the final output.
14722 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14724 * BufferView_pimpl.C:
14729 * LyXAction.C: add thesaurus support
14732 * lyxfind.C: add "once" parameter, for thesaurus, to not
14733 move to the next match
14735 2001-07-26 Juergen Vigna <jug@sad.it>
14737 * lyxfont.C (realize): honor ignore_language too!
14740 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14742 * text.C (draw): one place more for ignore_language to not draw
14745 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14747 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14749 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14751 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14752 the minipage conversion problem.
14754 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14756 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14759 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14761 * BufferView.h: don't forward declare WorkArea
14763 * BufferView.C: don't include WorkArea.h
14765 2001-07-25 André Pönitz <poenitz@gmx.net>
14769 * lyxfunc.C: new LFUN 'math-space'
14771 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14773 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14775 * text2.C (toggleInset): call open/close
14777 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14779 * lyxfunc.C (dispatch): add debug for the disabled case
14781 * font.C (buttonText): make similar to rectText
14783 * buffer.C (readInset): comment out parsing of insetlist and
14786 * PainterBase.C (rectText): small correction
14788 * BufferView_pimpl.C: comment out insettheorem and insetlist
14789 * LyXAction.C: ditto
14790 * commandtags.h: ditto
14792 2001-07-24 Juergen Vigna <jug@sad.it>
14794 * text.C (draw): honor the ignore_language.
14796 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14798 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14803 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14805 * lyxtext.h: remove unused (and unimplemented) methods
14807 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14809 * text.C (getVisibleRow): honor background color
14812 * Painter.h: remove default color argument for fillRectangle
14814 * text.C (backgroundColor): new method
14816 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14818 * text.C (getVisibleRow): adjust
14820 * font.[Ch] (rectText): new method, metrics
14821 (buttonText): new method, metrics
14823 * PainterBase.[hC]: make rectText and buttonText always draw and take
14826 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14828 * ToolbarDefaults.C (read):
14829 * MenuBackend.C (read): allow escaping in all strings
14831 * BufferView_pimpl.C (insertAndEditInset): new method.
14832 (Dispatch): use insertAndEditInset whenever appropriate.
14834 * BufferView_pimpl.C (insertNote): removed
14836 * BufferView_pimpl.C (smartQuote): new method, moved from
14837 BufferView; if an insetquote cannot be inserted, insert a '"'
14840 * BufferView2.C: remove insertCorrectQuote();
14842 * lyxfunc.C (getStatus): Add support for all remaingin
14843 inset-insert lfuns.
14845 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14847 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14848 command (necessary to pass " as parameter of self-insert.
14850 * text.C (selectWordWhenUnderCursor):
14851 (selectWord): add word_location parameter
14852 (selectWordWhenUnderCursor): same + remove special code for word
14854 (selectNextWord): use kind() to guess type of insetspecialchar,
14857 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14858 (insertErtContents): create ert insets as collapsed.
14859 (readInset): better compatibility code for Info inset.
14861 2001-07-20 Juergen Vigna <jug@sad.it>
14863 * lyxfunc.C (dispatch): use always LyXFind now!
14865 * text2.C (init): add a reinit flag so that the LyXText can be
14866 reinited instead of deleted and reallocated (used in InsetText).
14868 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14874 2001-07-18 Juergen Vigna <jug@sad.it>
14876 * text.C (selectNextWord): handle insets inside inset by calling
14877 always the bv->text functions so that we can go up the_locking_inset!
14879 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14880 in strange locations when inside an inset!
14882 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14883 handling to include insets.
14885 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14887 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14889 * LyXAction.C (init):
14891 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14892 LIGATURE_BREAK, since the name is so stupid.
14894 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14896 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14899 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14901 * sp_form.[Ch]: remove.
14903 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14905 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14908 * src/buffer.C (readInset): ditto.
14910 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14912 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14913 menuSeparator(), endOfSentenceDot(), ldots() and
14914 hyphenationPoint(), which are therefore removed.
14915 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14917 * LyXAction.C (init):
14918 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14920 * paragraph.C (getWord): removed.
14922 * BufferView_pimpl.C (Dispatch): use last word or selection for
14923 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14925 * lyx_main.C (queryUserLyXDir): do not ask before creating
14926 user_dir, except if it has been named explicitely.
14928 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14930 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14931 a document of zero size.
14933 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14935 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14936 approriately in the c-tor and in require().
14937 (getPackages): output the appropriate LaTeX for natbib support.
14939 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14940 variables "use_natbib" and "use_numerical_citations" when reading the
14942 (readInset): read the various natbib cite commands.
14943 (validate): white-space change.
14945 * bufferparams.[Ch]: new variables "bool use_natbib" and
14946 "bool use_numerical_citations".
14947 (writeFile): output them in the LyX file.
14949 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14951 * lyxfunc.C (getStatus): add support for all the inset insertion
14954 * text2.C (insertInset):
14955 * paragraph.C (insetAllowed):
14956 * BufferView_pimpl.C (insertInset): update to take in account the
14957 renaming of insertInsetAllowed
14959 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14961 * text2.C (getInset): new method. returns inset at cursor position.
14963 * BufferView_pimpl.C (Dispatch): changes because of this.
14965 * LyXAction.C (init): rename open-stuff to inset-toggle.
14967 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14969 * text2.C (toggleInset): renamed from openStuff; use
14972 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14974 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14976 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14978 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14980 * buffer.C (readLyXformat2): Add filename to the error dialog
14982 2001-07-18 Juergen Vigna <jug@sad.it>
14984 * tabular.C (GetCellNumber): put an assert here instead of the check!
14986 2001-07-17 Juergen Vigna <jug@sad.it>
14988 * BufferView_pimpl.C (toggleSelection): adapted too.
14990 * text.C (selectNextWord): adapted for use with insets.
14991 (selectSelectedWord): ditto
14993 2001-07-17 Juergen Vigna <jug@sad.it>
14995 * sp_spell.C (PSpell): fix initialitation order.
14997 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14999 * paragraph.C: spacing
15001 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15003 * sp_spell.C: repair language selection for pspell
15005 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15007 * lyxfunc.h: change more methods to begin with lower char.
15009 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15011 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15012 for unknown layouts.
15014 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15016 * buffer.C (readLyXformat2): Generate an error dialog if there are
15019 2001-07-16 Juergen Vigna <jug@sad.it>
15021 * sp_spell.C: always compile ISpell part.
15023 * lyxrc.C: added use_pspell entry and it's handling.
15025 2001-07-13 Juergen Vigna <jug@sad.it>
15027 * sp_spell.C: removed double includes.
15029 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15031 Consistent use of Lsstream.h:
15032 * Lsstream.h: added using std::stringstream for consistencies sake.
15034 * buffer.C: removed using std::stringstream
15036 * lyxfont.C (stateText):
15037 * paragraph.C (asString):
15038 * text.C (selectNextWord, selectSelectedWord):
15039 * text2.C (setCounter):
15040 * vspace.C (asString, asLatexString):
15041 std::ostringstream -> ostringstream.
15043 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15045 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15046 * commandtags.h: add LFUN_HELP_ABOUTLYX
15047 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15049 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15051 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15053 * lyx_gui_misc.C: remove spellchecker
15054 * lyxfunc.C: showSpellchecker
15056 * sp_ispell.h: added
15057 * sp_pspell.h: added
15058 * sp_spell.C: added
15059 * sp_form.[Ch]: removed
15060 * spellchecker.[Ch]: removed
15062 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15064 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15066 (simpleTeXSpecialChars): Simply print the input character without
15067 any special translation if pass_thru is set.
15069 * layout.h: Added bool pass_thru to layout class for being able to
15070 implement pass through of a paragraph for Literate Programming.
15072 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15073 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15074 * layout.C (Read): add "passthru" to list of layout tags and add
15075 code to set the pass_thru boolean when it is read.
15077 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15079 * trans_decl.h: remove allowed from KmodInfo
15081 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15082 remove allowed code
15085 * paragraph_pimpl.C (erase): use boost::prior
15087 * Painter.C (text): use data() instead of c_str() when length is
15089 * WorkArea.C (putClipboard): ditto
15090 * font.h (width): ditto
15092 * BufferView2.C: use it-> instead of (*it). for iterators
15094 * paragraph_pimpl.C: ditto
15095 * paragraph.C: ditto
15096 * minibuffer.C: ditto
15097 * language.C: ditto
15099 * encoding.C: ditto
15100 * counters.C: ditto
15101 * converter.C: ditto
15103 * Variables.C: ditto
15104 * TextCache.C: ditto
15105 * MenuBackend.C: ditto
15106 * LyXAction.C: ditto
15108 * FloatList.C: ditto
15109 * DepTable.C: ditto
15110 * ColorHandler.C (LyXColorHandler): ditto
15112 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15114 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15116 * text2.C (openStuff): reintroduce this method (which had been
15117 nuked in NEW_INSETS frenzy).
15119 * lyxfunc.C (Dispatch): when an action has not been handled, use
15120 its name in the error message, not its number.
15122 * paragraph.C (inInset): change method name to begin with lowercase.
15125 * text2.C: updates because of this.
15127 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15129 * ToolbarDefaults.C (add): add spaces in error message
15131 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15134 (readLyXformat2): rename return_par to first_par, use lyxlex's
15135 pushToken and remove the manual push handling.
15136 (parseSingleLyXformat2Token): add another ert comp. variable:
15137 in_tabular, rename return_par to first_par. handle newlines better
15139 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15141 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15143 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15145 * text2.C (getParFromID): removed
15147 * buffer.C (getParFromID): new method moved form lyxtext.
15148 * BufferView2.C (insertErrors): adjust
15149 (setCursorFromRow): adjust
15150 * BufferView_pimpl.C (restorePosition): adjust
15151 * lyxfunc.C (Dispatch): adjust
15152 * undo_funcs.C (textUndo): adjust
15154 (textHandleUndo): adjust
15155 (textHandleUndo): adjust
15157 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15159 * buffer.C: up' the LYX_FORMAT
15161 * lyxfont.h: turn NO_LATEX on as default
15163 * buffer.C (insertErtContents): new methods of tex style compability.
15164 (parseSingleLyXformat2Token): use it several places.
15165 * tabular.C (OldFormatRead): and here
15167 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15169 * text2.C: remove some commented code.
15172 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15173 * trans.C: changes because of the above.
15175 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15177 * text2.C (setCounter): Fix counters bug with bibliography layout.
15179 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15181 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15182 own member functions
15183 (simpleTeXSpecialChars): ditto
15185 2001-07-06 Juergen Vigna <jug@sad.it>
15187 * a lot of files: changed the access to LyXText::status and the
15188 call of undo-functions.
15190 * undo.[Ch]: added a inset_id to the undo informations.
15192 * undo_funcs.[Ch]: added and moved here all undo functions.
15194 * lyxtext.h: give the status enum a weight, made status_ a private
15195 variable and made accessor functions for it, removed the whole bunch
15196 of undo-functions as they are now in their own file, make some
15197 functions publically available. Added function ownerParagraph with
15200 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15201 made InInset() a const function, added getParFromID() function.
15203 * buffer.[Ch]: added const version for inset_iterator functions,
15204 added getInsetFromID() function.
15206 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15207 changed undo functions for new version.
15209 2001-07-05 Juergen Vigna <jug@sad.it>
15211 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15212 unknow mechanism does not call the proper constructor but only this
15213 one also if I request the other!?
15215 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15217 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15219 * text2.C (LyXText): use initialization lists.
15221 * lyxtext.h (Selection): initialize set_ and mark_
15222 (init): remove method
15224 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15226 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15228 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15230 * screen.[Ch]: change method names to begin with lowercase
15232 * BufferView_pimpl.C (updateScrollbar): simplify further and
15233 hopefully make it a bit faster.
15235 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15237 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15238 calling directly xforms functions.
15240 * Painter.C (Painter):
15241 * lyx_cb.C (MenuWrite):
15242 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15245 * lyx_gui.C: remove bogus guiruntime extern declaration.
15247 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15249 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15251 (redoDrawingOfParagraph): ditto
15252 (redoParagraphs): ditto
15253 (cutSelection): don't create a object for CutAndPaste use the
15254 static method directly
15255 (pasteSelection): ditto
15257 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15260 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15262 * modifications to some other files because of this.
15264 * Makefile.am (lyx_SOURCES): add XFormsView
15266 * XFormsView.[Ch]: new files
15268 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15269 the main window. Move the gui dependent stuff to XFormsView
15271 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15273 * tabular.C (GetCellInset): update cur_cell also in the row/col
15274 version of this function.
15276 * lyxfunc.C: no need to include figure_form.h here.
15282 * lyxvc.C: no need to include forms.h here.
15284 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15286 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15288 * lyxfunc.C (Dispatch):
15290 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15291 constructor argument.
15293 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15295 * paragraph.C (Paragraph): dont't clear, and just set layout.
15296 (makeSameLayout): use params's copy contructor.
15298 * ParagraphParameters.[Ch] (makeSame): delete method
15300 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15302 * Variables.[Ch]: fix indentation, rename set to isSet
15304 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15306 * lyxfunc.C (Dispatch): fix typo
15308 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15310 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15313 * bufferlist.C: include assert.h for emergencyWrite().
15315 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15317 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15318 give up at last (bug #425202) !
15320 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15326 * spellchecker.C: strip spellchecker options and bring up
15327 preferences tab instead
15329 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15331 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15332 the istringstream constructor
15334 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15336 * paragraph.C (getLayout): fix return value
15338 * paragraph.h: do not declare getLayout as inline.
15340 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15342 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15344 * lyxcursor.h (operator<): new func
15345 (operator>): new func
15346 (operator>=): new func
15347 (operator<=): new func
15349 * text.C (changeCase): use selection.start and selection.end
15350 (changeRegionCase): require from to be <= to. Require par to be a
15353 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15355 2001-06-27 Juergen Vigna <jug@sad.it>
15357 * text.C (cursorLeftOneWord): changed to return the cursor and added
15358 overlay with BufferView * parameter which calls this one.
15360 (selectWord): use new getWord function.
15361 (changeCase): renamed from changeWordCase as and extended to work
15362 also on selections.
15364 * lyxtext.h: added enum word_location
15366 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15367 changeCase as this operates now also on selections.
15369 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15371 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15373 * many files: send debug output to Debug::INFO instead of
15376 * converter.C (View):
15378 (Move): send debug output to Debug::FILES instead of console.
15380 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15382 * lyxfunc.C (getStatus): use func_status
15384 * func_status.h: new header, describing the results of
15385 LyXFunc::getStatus;
15387 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15390 2001-06-25 The LyX Project <jug@sad.it>
15392 * buffer.C (sgmlOpenTag):
15394 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15396 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15398 * text2.C: remove some dead code
15400 * tabular.C (GetCellInset): store the last cell checked (gotten)
15402 * tabular.h: add the helper for the speedup
15404 * lyxtext.h: remove some dead code
15406 2001-06-26 The LyX Project <Asger>
15408 * paragraph.C: Change export to LaTeX of alignment to
15409 \begin{center} and family for better roundtrip work with reLyX.
15411 * Tune the math drawing a bit.
15413 2001-06-25 The LyX Project <Asger>
15415 * LColor.C (LColor): New color for math background. New color
15418 2001-06-25 The LyX Project <jug@sad.it>
15420 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15422 * lyxfunc.C (Open):
15423 * bufferlist.C (newFile): do not restrict to files ending with
15426 * BufferView_pimpl.C (MenuInsertLyXFile):
15428 2001-06-24 The LyX Project <jug@sad.it>
15430 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15433 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15435 * lyxtext.h: rename most methods to begin with a small char.
15436 Lots of changes because of this.
15438 * paragraph.C (Paragraph): do not call fitToSize
15439 (erase): call Pimpl::erase
15440 (insertChar): call Pimpl::insertChar
15441 (insertInset): call Pipl::insertInset
15442 (breakParagraph): do not call fitToSize
15443 (breakParagraphConservative): do not call fitToSize
15444 (fitToSize): remove method
15446 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15448 2001-06-24 The LyX Project <Asger>
15450 * Fix Qt compilation^2
15452 2001-06-24 The LyX Project <jug@sad.it>
15454 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15455 depthHook(getDepth()-1).
15458 * ParagraphParameters.h:
15459 * ParameterStruct.h: change type of depth to unsigned int ==
15460 depth_type. Many adaptations to other files before of that.
15462 2001-06-24 The LyX Project <Asger>
15464 * Fix Qt compilation.
15466 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15468 * paragraph.h: renamed several methods to begin with small letter.
15469 several changes to many parts of the code because of this.
15471 2001-06-23 The LyX Project <jug@sad.it>
15473 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15474 rewritten to discard all double spaces when KeepEmpty is off
15475 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15476 to only handle newlines but not fiddle with spaces and friends.
15478 * lyxfunc.C (MenuNew): when doing 'new from template', use
15479 template_path as default directory
15481 2001-06-23 The LyX Project <Asger>
15483 * Clean-up of header file includes all over
15484 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15486 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15488 * paragraph.h: renamed from lyxparagraph.h
15490 2001-06-23 Asger <lyx@violet.home.sad.it>
15492 * Buffer.h: Removed Buffer::resize
15493 * BufferList.h: Removed BufferList::resize
15494 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15495 the document lazily when we change the width, or the font settings.
15497 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15499 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15501 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15503 * buffer.h: remove out of date comment
15505 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15508 * screen.C: fix "theoretical" GC leak
15510 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15512 * LaTeX.C (scanAuxFile):
15513 (deplog): remove trailing \r when reading stream (useful under
15516 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15518 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15519 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15520 and BufferView::theLockingInset(Inset*), so should use them and not
15521 access bv_->text->the_locking_inset directly.
15523 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15525 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15528 * tex-defs.h: remove old unused file
15530 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15532 * BufferView_pimpl.C: fix typo, remove minibuffer message
15533 when buffer has loaded
15535 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15537 * lyxfunc.C (Dispatch): use stringstream
15538 (MenuNew): use stringstream
15539 (Open): use stringstream
15541 * importer.C (Import): use stringstream
15543 * bufferview_funcs.C (CurrentState): use stringstream
15545 * LaTeX.C (run): use stringstream
15547 * BufferView_pimpl.C (savePosition): use stringstream
15548 (restorePosition): use stringstream
15549 (MenuInsertLyXFile): use stringstream
15551 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15564 * vspace.C: removed // -*- C++ -*- as first line.
15567 * version.h: added // -*- C++ -*- as first line.
15569 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15571 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15573 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15576 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15578 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15581 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * gettext.C: include LString.h even when --disable-nls is on.
15585 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15587 * converter.h (Get): changed argument type from int to
15588 FormatList::size_type to avoid unnecessary conversion.
15590 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15593 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15595 * gettext.h: include LString.h even when --disable-nls is on.
15597 2001-06-07 Juergen Vigna <jug@sad.it>
15599 * text.C (BreakAgain): subst spaces with tabs.
15601 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15602 (resizeInsetsLyXText): set force on resizeLyXText.
15604 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15606 * gettext.h (gettext_init):
15607 (locale_init): use a real definition instead of a macro
15609 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15611 * Bufferview_pimpl.C:
15613 * LColor.C: further lcolor tidies
15615 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15617 * BufferView_pimpl.C (updateScrollbar): simplify.
15619 * BufferView2.C: don't include insets/insetinfo.h, change
15620 prototype for insertInset and call the Pimpl version. let
15621 updateInset call Pimpl version.
15623 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15624 gotoInset to BufferView::Pimpl
15626 2001-06-01 Juergen Vigna <jug@sad.it>
15628 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15629 inside a LockingInset (is the update needed at all?).
15631 2001-05-31 Juergen Vigna <jug@sad.it>
15633 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15634 here not the old one otherwise how should we compare it afterwards
15637 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * FontInfo.C: bring C functions into global namespace when
15645 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15647 * LString.h: make sure config.h has been loaded before LString.h.
15649 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15650 (one for each char read by EatLine!).
15652 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15655 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15657 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15658 to the same as the par we break from
15660 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15662 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15664 * MenuBackend.C (expand): also create menu entries for wide
15665 versions of the floats.
15667 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15669 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15671 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15672 frontends/Makefile.am
15678 * tabular.C (getTokenValue): add std::
15680 * tabular-old.C (getTokenValue): add std::
15681 (getTokenValue): ditto
15682 (getTokenValue): ditto
15684 * screen.C (ToggleSelection): adjust
15686 * lyxtext.h: put selection cursors inside a Selection struct.
15688 * lyxfunc.C (moveCursorUpdate): adjust
15690 * lyxfont.C (latexWriteStartChanges): add std::
15692 * lyxfind.C: adjust
15694 * font.h: delete with(char const *, LyXFont const &)
15696 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15698 * FontInfo.C (getFontname): add std::
15700 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15701 (workAreaButtonPress): adjust
15702 (tripleClick): adjust
15704 (moveCursorUpdate): adjust
15707 * BufferView2.C (gotoInset): adjust
15709 2001-05-30 Juergen Vigna <jug@sad.it>
15711 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15712 to check pspell I add this as default as I now have new pspell
15713 libraries and they seem to use this.
15715 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15717 * text2.C (CutSelection): make the cursor valid before the call to
15720 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15722 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15723 relied on 0 terminated strings and other horrors. Bug found due to
15724 the new assert in lyxstring!
15726 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15729 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15731 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15734 * lyxfunc.C (processKeySym): change method of getting to the
15737 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15738 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15739 * BufferView_pimpl.[Ch]: here as private methods.
15741 2001-05-28 Juergen Vigna <jug@sad.it>
15743 * text.C (SetHeightOfRow): added the update() call again as it is
15744 needed to initialize inset dimensions!
15746 2001-05-16 Juergen Vigna <jug@sad.it>
15748 * text2.C (SetCharFont): Add new function with BufferView * and
15749 bool toggleall parameters for setting insets internal fonts.
15750 (SetFont): Freeze the undo as we may change fonts in Insets and
15751 all this change should be inside only one Undo!
15753 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15754 setting font's in insets as for them we have the SetFont function!
15756 2001-05-15 Juergen Vigna <jug@sad.it>
15758 * text2.C (ClearSelection): to be sure we REALLY don't have any
15761 * tabular.C (TeXCellPreamble): fixed the left border problem for
15764 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15766 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15769 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15771 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15772 LFUN_BREAKPARAGRAPH.
15774 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15775 help test to "internal only", similar for LFUN_INSERT_URL
15777 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15778 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15779 auto_region_delete and deadkeys.
15781 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15784 * LColor.C: remove some dead entries, tidy a little
15786 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15788 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15790 (Dispatch): implement LFUN_ESCAPE
15792 * commandtags.h: add LFUN_ESCAPE
15794 * LyXAction.C (init): add entry for LFUN_ESCAPE
15796 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15797 Remove commented code.
15798 (insertNote): moved here
15799 (open_new_inset): moved here
15801 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15804 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15806 * kbmap.C (findbinding): clean it up and make it work correctly.
15808 * lyx_main.C (init): do not pass argc and argv as parameters
15810 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15812 * buffer.C: fix path for OS/2 & Win32
15816 * lyx_main.C: Added os:: class.
15818 * os2_defines.h: update
15820 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15822 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15823 better by trying again with reduced state.
15825 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15827 * lyxrc.C (read): print error about invalid key sequence only when
15828 debugging (because not all latinX keysyms are known to some X
15831 * kbsequence.C (getiso): add a few std:: qualifiers
15832 (getiso): comment out extra return statement.
15834 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15836 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15838 (Dispatch): enhance the accent inset a bit. (not perfect)
15840 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15842 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15844 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15846 * bufferlist.C (emergencyWrite): fix assert() call
15848 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15850 * text.C (InsertChar): Added trivial patch to only send the "you
15851 can not do multiple spaces this way" message once during a
15854 2001-05-08 Baruch Even <baruch@lyx.org>
15856 * Makefile.am: Changed order of libraries to get LyX to link properly
15857 with the gnome frontend.
15859 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15861 * LaTeXFeatures.h: add a std:: qualifier
15863 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15865 * paragraph.C (String): use stringstream
15867 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15869 * paragraph.C (writeFile): remove footflag arg
15871 * buffer.C (makeLaTeXFile): use stringstream
15872 (latexParagraphs): remove footnot gurba
15874 * LaTeXFeatures.C (getPackages): use stringstream
15875 (getMacros): likewise
15876 (getTClassPreamble): likewise
15877 (getFloatDefinitions): new method
15879 * paragraph.C (writeFile): reindent
15882 * WorkArea.h: revert the xpos + etc changes.
15884 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15886 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15888 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15889 (pasteSelection): likewise
15890 * text2.C (CreateUndo): likewise
15892 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15894 * minibuffer.C (peek_event): temporarily reduce the functionality
15895 of the minibuffer (to allow args on lfuns)
15897 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15898 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15900 * buffer.C (readInset): add compability reading of old float
15901 lists, add reading of new style float list.
15902 (readInset): avoid reevaluation of inscmd.getCmdName()
15903 (getLists): reindent
15905 * MenuBackend.C (MenuItem): implement parsing of
15906 md_floatlistinsert and md_floatinsert.
15907 (expand::LastFiles): move initalizaton of iterators out of loop,
15908 avoid reevaluation.
15909 (expand::Documents): introduce typdedef vector<string> Strings,
15911 (expand::ExportFormats): introduce typedef vector<Format const *>
15912 Formats, and use it.
15913 (expand): implement FloatListInsert and FloatInsert.
15915 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15916 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15917 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15919 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15921 (Dispatch::LFUN_FLOAT_LIST): implement
15923 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15925 * LaTeX.C (run): Fix problem with --export code.
15927 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15929 * BufferView.[Ch] (workarea): removed.
15930 (getClipboard) new method; wrapper for workarea()->getClipboard()
15932 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15935 * WorkArea.h (width, height, xpos, ypos): These methods all
15936 returned the dimensions of the work_area sub-area of WorkArea,
15937 resulting in a position error if the WorkArea were resized. Now
15938 return the dimensions of the entire WorkArea.
15940 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15942 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15944 * LaTeX.C (deplog): correct the syntax of regex reg1
15946 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15948 * undo.C: remove !NEW_INSETS cruft
15950 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15952 * text2.C: remove !NEW_INSETS cruft
15954 * text.C: remove !NEW_INSETS cruft
15956 * tabular.C: remove !NEW_INSETS cruft
15958 * spellchecker.C: remove !NEW_INSETS cruft
15960 * lyxtext.h: remove !NEW_INSETS cruft
15962 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15964 * lyxfunc.C: remove !NEW_INSETS cruft
15966 * lyxfind.C: remove !NEW_INSETS cruft
15968 * lyx_cb.C: remove !NEW_INSETS cruft
15970 * figureForm.C: remove !NEW_INSETS cruft
15972 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15974 * buffer.[Ch]: remove !NEW_INSETS cruft
15976 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15978 * CutAndPaste.C: remove !NEW_INSETS cruft
15980 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15982 * BufferView2.C: remove !NEW_INSETS cruft
15984 * BufferView.h: remove !NEW_INSETS cruft
15986 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15988 * Lsstream.h: include LString.h before the sstream headers to
15989 fix problem with gcc 2.95.3 and lyxstring
15991 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15993 * lyx_main.C: add using directives when needed for C functions
15994 declared in std:: namespace.
15996 2001-04-27 Juergen Vigna <jug@sad.it>
15998 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15999 (SetHeightOfRow): comment out the update call should not be needed!
16001 2001-04-13 Juergen Vigna <jug@sad.it>
16003 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16004 (LyXTabular): tried to minimize operator= operations (and realized
16005 hopfully Lars wish).
16007 2001-04-27 Juergen Vigna <jug@sad.it>
16009 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16011 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16013 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16015 * buffer.C (readInset): hack to make listof algorithm work
16017 * BufferView_pimpl.C: hack to make listof algorithm work
16019 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16021 * LyXAction.C: removed all !NEW_INSETS cruft
16022 (init): moved lfun_item in method
16024 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16026 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16028 * BufferView2.C (theLockingInset): white space.
16030 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16032 * minibuffer.C: include <iostream>
16034 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16036 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16038 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16040 * text.[Ch] (TransposeChars): new method
16042 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16044 * call message directly through LyXView instead of through LyXFunc
16045 * BufferView2.C: adjust
16046 * BufferView_pimpl.C: adjust
16047 * FontLoader.C: adjust
16049 * bufferview_funcs.C: adjust
16050 * converter.C: adjust
16051 * figureForm.C: adjust
16052 * importer.C: adjust
16054 * lyx_gui_misc.C: adjust
16055 * lyxfunc.C: adjust
16058 + more files in subdirs
16060 * lyxparagraph.h (size): move up int file
16063 * adjust all uses of Assert to lyx::Assert.
16065 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16066 lyxfunctional in namespace lyx
16067 * layout.C (hasLayout): ditto
16070 (delete_layout): ditto
16071 (NumberOfClass): ditto
16072 * converter.C (GetFormat): ditto
16077 * bufferlist.C (getFileNames): ditto
16078 (emergencyWriteAll): ditto
16081 * MenuBackend.C (hasSubmenu): ditto
16084 * BufferView_pimpl.C (getInsetByCode): ditto
16086 2001-04-18 Juergen Vigna <jug@sad.it>
16088 * vspace.C (asLatexString): fixed the 100% problem.
16090 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16092 * lyxfunc.C (Dispatch):
16094 * minibuffer.h: add a few std:: qualifiers
16096 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16098 * minibuffer.[Ch]: reimplement so that commands is initiated and
16099 run from lyxfunc, simplified som handling, and made the completion
16100 and history code for complete. wip.
16102 * lyxfunc.C (processKeySym): call message
16103 (miniDispatch): new temporary method
16104 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16105 (LFUN_MESSAGE): implement
16106 (LFUN_MESSAGE_PUSH): implement
16107 (LFUN_MESSAGE_POP): implement
16108 (initMiniBuffer): the initial/defualt minibuffer message.
16110 * lyxfont.[Ch]: inline some more getters
16112 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16114 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16116 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16117 (AutoSave): use LFUN_MESSAGE
16118 (Reconfigure): ditto
16120 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16122 * figureForm.C: use LFUN_MESSAGE
16124 * converter.C (runLaTeX): use LFUN_MESSAGE
16126 * bufferview_funcs.C: use LFUN_MESSAGE
16128 (changeDepth): ditto
16130 * bufferparams.h: use boost::
16132 * bufferlist.h: inherit privately from noncopyable
16134 * bufferlist.C (loadLyXFile): remove some commented code.
16136 * buffer.C (runChktex): use LFUN_MESSAGE
16138 * ShareContainer.h: inherit privately from noncopyable
16140 * ParagraphParameters.[hC] (depth): inline it.
16142 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16144 (message): new method
16145 (messagePush): ditto
16146 (messagePop): ditto
16147 (show): init minibuffer
16148 (showState): direct call
16150 * LaTeX.[Ch]: inherit privately from noncopyable
16151 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16152 instead of WriteStatus.
16154 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16156 * BufferView_pimpl.C (buffer): don't init minibuffer
16157 (workAreaButtonPress): use LFUN_MESSAGE
16158 (workAreaButtonRelease): ditto
16159 (savePosition): ditto
16160 (restorePosition): ditto
16161 (MenuInsertLyXFile): ditto
16162 (workAreaExpose): don't init minibuffer
16163 (update): remove commented code, simplify
16165 * BufferView2.C (openStuff): use LFUN_MESSAGE
16166 (toggleFloat): ditto
16169 (copyEnvironment): ditto
16170 (pasteEnvironment): ditto
16175 (updateInset): remove some commented code
16177 * lastfiles.h: inherit privately from noncopyable
16180 * lyx_main.h: ditto
16182 * lyxlex_pimpl.h: ditto
16184 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16185 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16186 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16188 * LyXAction.h: inherit privately from noncopyable, add methods
16189 func_begin, func_end, returning iterators to the func map.
16191 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16192 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16193 (func_begin): new method
16194 (func_end): new method
16196 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16198 (copySelection): ditto
16199 (pasteSelection): ditto
16201 * BufferView.C: whitespace change
16202 * BufferView.h: inherit privately from noncopyable
16204 2001-04-16 Allan Rae <rae@lyx.org>
16206 * tabular-old.C (l_getline):
16207 * spellchecker.C (sc_check_word):
16208 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16209 an unrecognised preprocessor directive. So ensure they're wrapped.
16211 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16213 * src/exporter.C (Export): Give an error message when path to file
16216 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16218 * LaTeX.C (deplog): Always check that foundfile exists.
16220 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16223 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16225 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16227 * tabular.[Ch] (getLabelList): implement new method
16229 * minibuffer.h: comment ouf setTiimer
16231 * minibuffer.C (ExecutingCB): constify res
16232 (peek_event): constify s
16233 (Set): constify ntext
16234 (Init): constify nicename
16236 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16238 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16239 (savePosition): use two params to Minibuffer::Set
16240 (restorePosition): ditto
16242 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * lyx_main.C: include language.h
16246 * Makefile.am (lyx_main.o): add language.h
16248 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16254 * CutAndPaste.C: include gettext.h
16256 * lyxfont.h: remove old hack with ON and OFF.
16259 * lyxfont.h: do not include language.h...
16264 * bufferview_funcs.C:
16270 * paragraph.C: ... but do it here instead
16272 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16274 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16276 * tabular.C: small reformat
16278 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16281 (BreakParagraph): ditto
16282 (SetOnlyLayout): ditto
16285 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16288 * lastfiles.C: removed most using decl, add std:: where needed
16290 * buffer.C: ws changes
16292 * MenuBackend.C (class compare_format): put into anon namespace
16293 (expand): constify label, names, action, action2
16296 * text.C (SingleWidth): constify font
16297 (IsBoundary): constify rtl2
16298 (GetVisibleRow): constify ww
16300 * LaTeX.C (deplog): constify logfile
16302 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16304 (workAreaExpose): constify widthChange, heightChange
16306 * lyxrow.C (par): moved
16309 * lyxrow.h: as inlines here
16311 * lyxfont.h (shape): moved from lyxfont.C
16312 (emph): moved from lyxfont.C
16314 * lyxfont.C (LyXFont): use initialization list for all
16316 (shape): move to lyxfont.h as inline
16317 (emph): move to lyxfont.h as inline
16320 2001-04-04 Juergen Vigna <jug@sad.it>
16322 * vspace.C: had to include stdio.h for use of sscanf
16324 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16327 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16328 independent of xforms.
16330 2001-04-02 Juergen Vigna <jug@sad.it>
16332 * spellchecker.C: fixed namespace placing!
16334 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16336 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16337 the LyXParagraph * is 0.
16339 2001-03-29 Juergen Vigna <jug@sad.it>
16341 * vspace.C: added support for %, c%, p%, l%.
16342 (stringFromUnit): added helper function.
16343 (asLatexString): changed to give right results for the %-values.
16345 * buffer.C: convert the widthp in a width%.
16347 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16349 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16352 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16353 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16355 * lyx_cb.[Ch]: see above.
16357 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16361 * lyx.[Ch]: replaced by figure_form.[Ch].
16365 * lyxfunc.C: changed headers associated with above changes.
16367 2001-03-27 Juergen Vigna <jug@sad.it>
16369 * BufferView_pimpl.C: set the temporary cursor right!
16371 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16373 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16375 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16377 * LString.h: removed "using std::getline"!
16379 * BufferView_pimpl.C (Dispatch): changes due to changes in
16380 InsetInclude::Params.
16382 * buffer.C (tag_name): removed redundant break statements as they were
16383 producing lots of warnings with my compiler.
16385 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16387 * LString.h: add "using std::getline" when using the real <string>.
16389 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16391 * buffer.C: removed bitset usage.
16392 PAR_TAG moved to an anonymous name space.
16393 (tag_name): new funtion, also in the anonymous namespace.
16394 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16395 (makeDocBookFile): clean code. Completed transition from string arrays
16397 (SimpleDocBookOnePar): code clean.
16399 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16401 * tabular.C: add some comments.
16403 2001-03-22 Juergen Vigna <jug@sad.it>
16405 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16406 compatibility read a bit and fixed bug with minipage in different
16409 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16411 * buffer.C (pop_tag): removed.
16412 (push_tag): removed.
16413 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16414 array replaced with vector. Added support for CDATA sections.
16415 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16417 (makeDocBookFile): XML conformant declaration of CDATA section,
16418 fixed bug related to <emphasis> in the first paragraph char.
16419 (sgmlOpenTag): exclude empty tags.
16420 (sgmlCloseTag): ditto.
16422 * buffer.h (pop_tag): removed.
16423 (push_tag): removed.
16425 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16427 * language.h (Languages): added size_type and size().
16429 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16431 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16432 response on compability reading of minipages. One probliem is that
16433 the old usage of minipages was «flertydig»
16435 * several files here and in subdirs: don't use static at file
16436 scope use anon namespaces instead.
16438 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16440 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16441 LaTeX output. This is necessary for Literate document
16444 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16446 * buffer.C: insert hfill when needed.
16448 * tabular.C (l_getline): use string::erase, small whitespace change.
16450 * BufferView_pimpl.C: try the anon namespace.
16451 * WorkArea.C: ditto
16453 2001-03-16 Juergen Vigna <jug@sad.it>
16455 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16456 otherwise it won't open options-dialogs.
16458 * buffer.C: honor pextraWidth(p) on converting minipages.
16460 * tabular.C (l_getline): changed the functions to strip trailing \r.
16462 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16464 * BufferView_pimpl.C:
16465 * minibuffer..C: added "using SigC::slot" declaration.
16467 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16469 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16475 * paragraph.C: ditto
16477 * lyxtext.h: NO_PEXTRA
16479 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16481 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16482 * ParameterStruct.h: ditto
16483 * ParagraphParameters.h: ditto
16484 * lyxparagraph.h: ditto
16486 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16488 * buffer.C: add compability for minipage alignment.
16489 (latexParagraphs): remove unwanted pextra check.
16491 * several files: remove CXX_WORKING_NAMESPACES
16493 * buffer.C (pop_tag): tie is in namespace boost
16495 * BufferView.h: noncopyable is in namespace boost
16497 * lyx_main.h: ditto
16500 * lastfiles.h: ditto
16501 * bufferlist.h: ditto
16502 * ShareContainer.h: ditto
16504 * LyXAction.h: ditto
16507 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16509 * Merging changes from BRANCH_MVC back into HEAD.
16511 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16513 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16515 * BufferView_pimpl.C: change from intl.C
16519 * Makefile.am: move combox.*
16525 * intl.C: remove dialog (covered by prefs)
16527 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16529 * lyxfunc.C (Dispatch): removed redundant break statement.
16531 2001-03-14 Juergen Vigna <jug@sad.it>
16533 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16535 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16537 * buffer.C: add hack to fix compability reading of minipages.
16539 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16541 * buffer.C (getLists): Cleanup.
16543 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16545 * lyxfont.C (update): don't honor toggleall on font size.
16547 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16551 * Makefile.am: moved to frontends/xforms/
16555 * BufferView_pimpl.C: changes for moved mathpanel
16557 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16559 * gettext.h: fix gettext_init() in --disable-nls
16561 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16563 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16565 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16568 * lyx.h: strip external form
16570 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16572 * BufferView_pimpl.C: add comment, destroySplash()
16574 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16576 * BufferView_pimpl.C:
16580 * lyxfunc.C: use re-worked insetinclude
16582 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16584 * buffer.C: add using std::stringstream.
16586 * lyx_cb.C: readd using std::ios.
16588 * buffer.C: add using std::map.
16590 * BufferView_pimpl.C: add using std::vector.
16592 * ShareContainer.h: add std:: to swap.
16594 * buffer.h: add some typedefs
16595 * buffer.C (getLists): use them
16596 (getLists): renamed from getTocList.
16597 add a counter for the different float types and use it in the
16599 (getLists): use the same counter for the NEW_INSETS and the "non"
16602 * lyx_cb.h: remove unused items, includes, using etc.
16604 * ShareContainer.h: remove some commented code, add more comments
16605 and "documentation".
16607 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16609 * buffer.C (getTocList): make the list also when NEW_INSETS is
16612 * buffer.h: remove TocType
16614 * buffer.C (getTocList): change to return a map<string,
16615 vector<TocItem> >, implement for dynamic number of list.
16617 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16618 * text2.C (PasteSelection): adjust
16619 * CutAndPaste.C (pasteSelection): adjust
16621 * FloatList.C (FloatList): update from the new_insets branch.
16622 * Floating.[Ch]: ditto
16623 * LaTeXFeatures.C: ditto
16625 * lyxlex_pimpl.C: ditto
16627 * paragraph.C (Last): remove when NEW_INSETS is defined.
16629 * other file: changes because of the above.
16631 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16633 * lyxparagraph.h: rename next to next_, previous to previous_,
16634 make them private for NEW_INSETS. Rename Next() to next(),
16635 Previous() to previous().
16637 * other files: changes because of the above.
16639 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16642 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16645 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16647 * main.C (main): pass lyx_localedir to gettext_init().
16649 * gettext.h: remove locale_init and gettext_init macros
16651 * gettext.C (locale_init): new function
16652 (gettext_init): new function
16654 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16657 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16659 * Moved credits to frontends:
16660 * credits.[Ch]: removed
16661 * credits_form.[Ch]: removed
16662 * lyx_gui_misc.C: remove credits stuff
16665 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16667 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16669 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16670 unneeded destructor.
16672 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16673 a standalone pointer again.
16675 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16677 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16683 * ToolbarDefaults.C:
16692 * BufferView_pimpl.C: use new file dialog in GUII
16695 * lyx_cb.C: remove LayoutsCB to Toolbar
16697 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16699 * ShareContainer.h (get): add std:: qualifier
16701 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16703 * ShareContainer.h: define a proper ShareContainer::value_type
16704 type (and use typename to please compaq cxx)
16706 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16708 * lyxparagraph.h: move serveral local vars to
16709 ParameterStruct/ParagraphParameters., use ShareContainer in
16710 FontTable., make vars in FontTable private and add getter and
16713 * paragraph.C: changes because of the above.
16715 * lyxfont.h: remove copy constructor and copy assignment. (the
16716 default ones is ok), move number inside FontBits. move inlines to
16719 * lyxfont.C: add number to initializaton of statics, move several
16720 inlines here. constify several local vars. some whitespace
16721 cleanup. Dont hide outerscope variables.
16723 * Spacing.h: add two new constructors to match the set methods.
16725 * ShareContainer.h: new file, will perhaps be moved to support
16727 * ParameterStruct.h: new file
16729 * ParagraphParameters.h: new file
16731 * ParagraphParameters.C: new file
16733 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16734 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16736 * BufferView_pimpl.C: ParagraphParameter changes.
16737 * buffer.C: Likewise.
16738 * bufferview_funcs.C: Likewise.
16739 * text.C: Likewise.
16740 * text2.C: Likewise.
16742 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16744 * lyxfind.C (LyXReplace): do not redefine default argument in
16746 (IsStringInText): ditto
16747 (SearchForward): ditto
16748 (SearchBackward): ditto
16750 2001-03-06 Juergen Vigna <jug@sad.it>
16752 * lyxfind.C (IsStringInText): put parentes around expressions.
16754 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16756 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16758 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16760 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16762 * stl_string_fwd.h: add comment
16764 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16767 * tabular.C: remove unused DocBook methods
16773 killed DO_USE_DEFAULT_LANGUAGE
16775 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16777 * lyx_gui.C: do not include language.h.
16779 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16780 arguments in function implementation.
16782 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16784 * BufferView_pimpl.C: add <ctime>
16786 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16788 * BufferView_pimpl.C: add using std::find_if
16790 2001-02-27 José Matos <jamatos@fep.up.pt>
16792 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16795 2001-02-11 José Matos <jamatos@fep.up.pt>
16797 * buffer.C (makeDocBookFile): command styles now have a parameter as
16798 "title" by default.
16800 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16802 * layout_forms.[Ch]: removed
16803 * lyx_cb.[Ch]: out character
16804 * lyx_gui.C: out character
16805 * lyx_gui_misc.C: out character
16806 * bufferview_funcs.C: : out character,
16807 added toggleall as parameter in ToggleAndShow
16809 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16811 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16813 * text2.C (SetCurrentFont): Disable number property at boundary.
16815 2001-02-26 Juergen Vigna <jug@sad.it>
16817 * lyxfunc.C (getStatus): added a string argument override function so
16818 that this is correctly called from LyXFunc::Dispatch if it contains a
16819 do_not_use_argument which is used!
16820 (Dispatch): added check for "custom" export and call appropriate func.
16822 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16824 * lyxrc.C: Add language_command_local, language_use_babel and
16825 language_global_options.
16827 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16829 * buffer.C (makeLaTeXFile): Use language_use_babel and
16830 language_global_options.
16832 2001-02-23 Juergen Vigna <jug@sad.it>
16834 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16835 which works with LyXText and putted it inside BufferView. Here now we
16836 only call for that part the BufferView::Dispatch() function.
16838 * BufferView.C (Dispatch): added.
16840 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16841 functions which needs to use a LyXText over from LyXFunc.
16842 (MenuInsertLyXFile): added
16843 (getInsetByCode): added
16844 (moveCursorUpdate): added
16845 (static TEXT): added
16847 2001-02-22 Juergen Vigna <jug@sad.it>
16849 * BufferView_pimpl.C (update): call a status update to see if LyXText
16852 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16854 * vc-backend.C (revert): implement for CVS
16855 (getLog): implement for CVS
16857 2001-02-20 Juergen Vigna <jug@sad.it>
16859 * text2.C (ClearSelection): added BufferView param for inset_owner call
16861 * lyxfunc.C (TEXT): added this function and use it instead of
16862 directly owner->view()-text of getLyXText().
16864 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16866 * src/layout_forms.C: out preamble
16867 * src/layout_forms.h: out preamble
16868 * src/lyx_cb.C: out preamble
16869 * src/lyx_cb.h: out preamble
16870 * src/lyx_gui.C: out preamble
16871 * src/lyx_gui_misc.C: out preamble
16872 * src/lyxfunc.C: connect with guii preamble
16874 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16876 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16878 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16880 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16881 whether to run bibtex.
16883 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16885 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16887 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16889 * Makefile.am (lyx_SOURCES): removed bibforms.h
16891 * vspace.h: doxygen
16893 * text.C (GetVisibleRow): make several local vars const
16895 * tabular.C: small cleanup.
16897 * lyxserver.C (callback): use compare instead of strncmp
16899 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16900 inlines to after class or to paragraph.C
16902 * lyxfont.h: remove friend operator!=
16904 * converter.h: move friend bool operator< to non friend and after
16907 * combox.h: small cleanup
16909 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16910 to inlines after class def.
16912 * buffer.C (pop_tag): use string operations instead of strcmp
16914 * bmtable.c: doxygen, small cleanup
16916 * LaTeX.h: remove friend operator==
16918 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16930 * BufferView_pimpl.C:
16931 * BufferView.[Ch]: remove cruft
16933 2001-02-14 Juergen Vigna <jug@sad.it>
16935 * lyxfunc.C: removed #if 0 unused code
16937 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16939 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16941 * text2.C (SetSelection): added a BufferView * parameter
16943 2001-02-13 Juergen Vigna <jug@sad.it>
16945 * lyxfunc.C (Dispatch): fixed protected blank problem.
16946 * BufferView2.C (protectedBlank): added LyxText * parameter.
16948 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16949 (AppendColumn): same as above for column_info.
16951 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16952 (moveCursorUpdate): use a LyXText param for support of InsetText.
16954 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16955 (tripleClick): ditto
16957 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16959 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16961 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16963 * text2.C (SetSelection): set correct update status if inset_owner
16964 (ToggleFree): ditto
16966 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16968 * tabular.C: remove some commented code.
16970 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16972 * BufferView_pimpl.C: call hideSplash()
16974 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16977 * bibforms.h: remove
16980 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16981 add LFUN_CHILD_CREATE
16983 * counters.h: fix tiny typo
16988 * lyx.C: move splash to frontends/xforms/
16990 * lyx_gui_misc.C: move Include and Bibform to frontends
16992 * lyxvc.h: clarify comment
16994 * vspace.C: tiny housekeeping
16996 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16998 * text.C (PrepareToPrint): RTL Fix.
17000 * paragraph.C (GetUChar): New method.
17001 (String): Use GetUChar.
17003 * buffer.C (asciiParagraph): Use GetUChar.
17005 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17007 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17009 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17012 * buffer.C: rename to getLogName(), handle
17013 build log / latex log nicely
17015 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17018 * MenuBackend.h: remove support for reference menuitem type.
17020 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17022 * BufferView_pimpl.C: housekeeping
17023 * BufferView_pimpl.h:
17028 * minibuffer.h: move Timeout GUI-I
17030 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17032 * lyxrc.C (read): Update converters data-structures.
17034 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17036 * LaTeX.h (operator!=): add operator != for Aux_Info
17038 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17040 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17042 * LaTeXLog.C: deleted, useful code moved to Buffer
17045 * buffer.C: new function getLatexLogName()
17051 * lyxfunc.C: use frontends for LaTeX and VC logs
17053 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17055 * LaTeX.h: yet another std:: that Allan forgot.
17057 * Variables.C (set): renamed from isset(), because this clashes
17058 with some HP-UX macros (grr).
17060 2001-02-06 Allan Rae <rae@lyx.org>
17062 * LaTeX.h: Another bug fix. Missing std:: this time.
17064 2001-02-04 Allan Rae <rae@lyx.org>
17066 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17067 floats problem. I've left it commented out because it's not quite
17068 correct. It should also test that the current object is a table or
17069 figure inset. But I haven't gotten around to figuring out how to do
17070 that. I *think* it'll be something like: "table" == inset.type()
17072 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17075 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17077 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17078 all the citation/databases/styles in the auxilary file.
17079 (run): Rerun latex if there was a babel language error.
17081 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17083 * text.C (Backspace): Preserve the font when changing newline char
17085 (BreakParagraph): If the cursor is before a space, delete the space.
17087 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17089 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17091 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17092 new argument (code).
17093 (ChangeCitationsIfUnique): New method.
17095 * paragraph.C (GetPositionOfInset): Handle bibkey.
17097 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17099 * BufferView_pimpl.h: change type of Position::par_pos to
17100 LyXParagraph::size_type.
17102 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17104 * BufferView_pimpl.C (savePosition, restorePosition): Write
17105 messages to minibuffer.
17107 2001-01-28 José Matos <jamatos@fep.up.pt>
17109 * buffer.C (makeDocBookFile): adds support for document language.
17110 A silly restriction on the name of LatexCommand types where removed.
17111 Added support for CDATA sections, allows to chars unescaped, used
17112 among others in code, to avoid escape < and >.
17114 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17116 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17117 saved positions instrad of a stack. Furthermore, a position is
17118 stored using paragraph id/paragraph position.
17120 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17121 Remove LFUN_REF_BACK.
17123 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17125 * converter.C (dvipdfm_options): New method.
17127 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17129 * vspace.C (isValidLength): Fix for empty input string.
17131 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17133 * LyXAction.C (init): change description of LFUN_FIGURE to
17136 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17138 * LaTeX.C: add using directive
17140 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17142 * MenuBackend.C (expand): Fix the sorting of the formats.
17144 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17146 * lyx_main.C: tiny error message fix
17148 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17151 calling fl_initialize(). This fixes the problem with ',' as
17152 decimal separator in text files.
17154 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17156 * trans.C (process): Fix the keymap bug.
17158 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17160 * LaTeX.C (scanAuxFiles): New method. Provides support for
17161 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17162 (scanLogFile) Scan for "run BibTeX" messages.
17164 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17165 OT1 font encoding. Also, load the aecompl package if the ae
17168 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17170 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17172 * texrow.C (increasePos): turn two error messages into debug
17175 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17177 * LaTeX.C (scanAux): Handle the \@input macro.
17178 (runBibTeX): Use scanAux().
17180 * language.C (latex_options_): New field.
17182 * LaTeXFeatures.C (getMacros): Add language macros.
17184 * buffer.C (makeLaTeXFile): Small fix.
17186 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17188 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17190 * text2.C: add a using directive.
17192 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17197 * lyxfunc.C: kill LyXBell.
17199 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17201 * text.C (IsBoundary): Remove the error message
17203 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17205 * lyxrc.C (setDefaults): Correct initialization value for
17208 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17210 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17213 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17214 and GotoNextNote().
17216 * src/LyXAction.C: Added reference-next.
17218 * text.C (InsertChar): Use contains instead of strchr.
17220 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17222 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17224 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17225 alignment commands (when needed).
17227 * text.C (InsertChar): Add ':' to number separator chars.