1 2005-02-13 Angus Leeming <leeming@lyx.org>
3 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
4 only if lyxrc.path_prefix is not empty.
6 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * bufferparams.C (readGraphicsDriver): prevent crash
10 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
12 * text2.C (setCounter): check for inInset() == 0
14 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
17 but use update() to get correct screen display; use convert
18 instead of istringstream.
19 (getStatus): handle LFUN_GOTO_PARAGRAPH
21 * lyxfunc.C (dispatch, getStatus): do not handle
22 LFUN_GOTO_PARAGRAPH here.
24 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
26 * text3.C (dispatch): size() -> depth()
28 * text2.C: remove some debug output
30 * paragraph.C: ws changes only
32 * lyxfunc.C (getStatus): size() -> depth()
34 * dociterator.h (clear, push_back, pop_back, internalData,
35 operator[], resize, empty): new functions
36 Make StableDocIterator and operator== be friends. Don't inherit
37 from std::vector use a privat class variable slices_ instead.
40 * dociterator.C: update because of not inheriting from std::vector
41 anymore. Call explictly to slices_ instead. Use depth() instead of
42 size() and top() instead of back()
44 * cursor.C: chagne size() -> depth and back() -> top(). Also
45 remove some direct operator[](i) calls in favour of foo[i]
46 (getFont): remove some dead code
48 * bufferview_funcs.C (coordOffset): size() -> depth()
50 * buffer.C: ws changes only
52 * CutAndPaste.C (eraseSelection): back() -> top()
54 * BufferView_pimpl.C (selectionRequested): back() -> top()
56 * BufferView.C (setCursor): size() -> depth()
58 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
60 * text3.C (cursorPrevious): return true if depm changed something
62 (dispatch): rename sl to oldTopSlice, remove moving use the new
63 NoUpdate func attrib instead. Make sure that needsUpdate is set
64 for function that have NoUpdate, but where depm might have changed
67 * text2.C (cursorLeft): make us return true if depm changed
70 (cursorUpParagraph): ditto
71 (curosrDownParagraph): ditto
72 (cursorUp, cursorDown): ditto, make sure to read comments in code
73 (deleteEmptyParagraphMechanism): remove an assert, also return
74 true if just a single char was deleted.
76 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
77 cursor that we modify, to avoid modifying an active cursor before
78 we call setCursor. This allows depm to run. Also return true if
79 depm deleted something.
81 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
82 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
83 cursorDownParagraph, cursorPrevious and cursorNext, return true if
84 something was changed in the buffer because of them (ie. depm run)
86 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
87 debug messages. Make update by default be false. Make sure that
88 the result of update is retained throught several calls down to
91 * LyXAction.h: add a new func_attrib: NoUpdate
93 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
94 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
95 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
97 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
99 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
102 bv_->owner(), bv_->buffer() by direct references to the private
104 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
105 (getStatus): isSavedPosition() is in BufferView::Pimpl.
106 (fitCursor): center() is in BufferView::Pimpl.
107 (getStatus, trackChanges, dispatch): no need for a temporary buf
109 (fitCursor, workAreaDispatch): use workarea().workheight()
111 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
113 * CutAndPaste.C (pasteSelectionHelper): fix a crash
115 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
117 * buffer.C: format up to 241.
118 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
119 break if pasting into ERT
120 * lyxfunc.C (getStatus): suppress mathpanel and
121 LFUN_DIALOG_SHOW_NEW_INSET in ERT
123 2005-02-01 Angus Leeming <leeming@lyx.org>
125 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
127 2005-02-01 Angus Leeming <leeming@lyx.org>
129 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
130 calling fs::is_directory().
132 2005-01-31 Angus Leeming <leeming@lyx.org>
134 * lyx_main.C (priv_exec): specify explicitly the relative location
135 of the top level build directory when run in-place.
137 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
140 LyXText containing the cursor, not the top-level one.
142 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
144 (insertStringAsLines): rename par to pit; use temporary variable
145 par to hold a Paragraph; do not store par.layout() in a variable,
146 since the pointer may die when breaking paragraphs; pass pars to
147 breakParagraph() instead of Buffer::paragraphs().
149 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
151 * lyxlex_pimpl.h: #include <fstream>.
153 * BufferView.[Ch] (getLyXText): add a const version.
155 * BufferView_pimpl.C: add debug aids.
160 * paragraph_funcs.h: add commentary explaining what the class does.
163 * coordcache.[Ch]: add lots of commentary.
164 (startUpdating, doneUpdating): debug aids.
165 (arrays, insets, parPos, getParPos): accessors to private data.
167 * cursor_slice.[Ch] (text): add a const version.
168 * dociterator.[Ch] (text, innerText): add const versions.
170 * lyxtext.h (breakParagraph): change the keep_layout arg to a
173 * paragraph.C (getRow, pos2ros): add asserts.
175 * paragraph.h: add commentary. Lots of.
177 * paragraph.[Ch] (metrucs, draw): removed.
180 * rowpainter.[Ch]: const-correct changes.
182 * text.C: various obvious clean-ups. Removal of ancient cruft.
185 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
187 * vc-backend.C (find_file): rewrite to use boost.filesystem
190 * main.C (main): set default name check for boost.filesystem to
193 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
196 (actOnUpdatedPrefs): ditto
198 * lyx_main.C (init): rewrite to use boost.filesystem
199 (queryUserLyXDir): ditto
201 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
202 (getContentsOfAsciiFile): ditto
204 * lastfiles.C (readFile): rewrite to use boost.filesystem
206 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
208 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
211 * buffer.C (Buffer): adjust for destroydir
212 (getLogName): rewrite to use boost.filesystem
214 (save): use fs::copy_file (from fs_extras)
216 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
218 * LaTeX.C (run): rewrite to use boost.filesystem
219 (scanAuxFiles): ditto
220 (handleFoundFile): ditto
222 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
224 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
226 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
228 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
230 * lyxlayout.[Ch]: change some vars from float to double
232 * buffer.C (readFile): make a local var const
234 * Several files: use convert<> instead of atoi,strToXXX and friends
236 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
238 * LaTeXFeatures.[Ch]: Add a static list packages_ that
239 holds the contents of packages.lst. New functions getAvailable
240 and isAvailable to parse and check that list, resp.
244 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
246 * bufferparams.[Ch]: new param output_changes.
248 * Buffer.C: increase file format to 240.
249 Use output_changes and isVailable.
253 * paragraph_pimpl.C: Use output_changes and isVailable.
255 2005-01-23 Angus Leeming <leeming@lyx.org>
257 * output_latex.C: #include "insetbibitem.h", rather than
258 forward declare function bibitemWidest.
260 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
262 * lyx_main.C (init): make it compile on the Mac.
264 2005-01-20 Angus Leeming <leeming@lyx.org>
266 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
267 (setLyXMisc): (char string literal) != (char string literal) is
268 performing a comparison on the addresses. Convert one operand
269 explicitly to string to guarantee expected behaviour.
272 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
275 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
277 * output_plaintext.C: remove unneeded #include gzstream.h.
279 2005-01-20 Angus Leeming <leeming@lyx.org>
281 * SpellBase.h: rename some of the elements of the Result enum.
288 * pspell.C (check): ditto
290 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
292 * buffer.C: add #include <fstream>.
294 * lyx_main.C (init): Compile fix.
296 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
298 2005-01-20 Angus Leeming <leeming@lyx.org>
300 * mover.h: change commentary to reflect the changed meaning of
303 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * output_linuxdoc.C (linuxdocParagraphs): silence warning
307 * lyxfind.C (MatchString::operator()): remove bogus semicolon
309 2005-01-20 Angus Leeming <leeming@lyx.org>
311 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
312 printing diagnostic data by not dereferecing an iterator past the
315 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
317 * buffer.C (readHeader): use "&&" rather than "and".
319 * lyxserver.h (inPipeName, outPipeName): make these const.
321 2005-01-19 Angus Leeming <leeming@lyx.org>
323 * lyx_main.C (error_handler, init): protect SIGHUP with
324 #ifdef SIGHUP guards.
326 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
330 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * text.C (setHeightOfRow): add a margin at the top and bottom of
333 the document (bug 1761)
335 2005-01-17 Angus Leeming <leeming@lyx.org>
337 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
338 with "python ". Workaround for a brain-dead Windows.
340 2005-01-16 Angus Leeming <leeming@lyx.org>
342 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
343 for MacOSX and Windows to use prependEnvPath.
344 Strip out the hard-coded block to add elements to the PATH for
345 MacOSX and replace it with a call to prependEnvPath using the
346 contents of LyXRC::path_prefix.
347 (queryUserLyXDir): strip out the code to run reconfigure, instead
348 returning a boolean indicating the necessity to do so.
349 (reconfigureUserLyXDir): contains the code to reconfigure the
350 user support directory. Is now called after the various LyXRC data
351 files have been read.
353 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
355 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
357 * converter.[Ch] (convert): take a new parameter try_default. Use
358 a default converter (imagemagick) if try_default is true.
360 2005-01-13 Angus Leeming <leeming@lyx.org>
362 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
364 (write): output LyXRC::cygwin_path_fix as necessary.
366 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
369 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
371 2005-01-12 Angus Leeming <leeming@lyx.org>
373 * lyx_main.C (init): set the PATH variable to include the
374 directory containing the LyX binary when running on Mac or Windows.
376 2005-01-12 Angus Leeming <leeming@lyx.org>
378 * lyx_main.C (init): remove cruft that purports to set the locale
379 dir. It doesn't and is not needed anyway.
381 2005-01-10 Angus Leeming <leeming@lyx.org>
383 * Makefile.am: remove the lyx_main.C special casing.
385 * BufferView_pimpl.C:
391 * messages.C: use support/package.h to provide the paths to the
392 various directories used by LyX.
394 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
396 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
397 layout if pasting into an empty paragraph)
399 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
401 * tex-accent.C: add <string>
403 2005-01-06 José Matos <jamatos@lyx.org>
405 * ParagraphParameters.C (write): put every parameter in its own line.
406 * paragraph.C (write): reduce number of consecutive empty lines exported.
407 * buffer.C (LYX_FORMAT): increase file format to 239.
409 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
411 * everywhere: change support/tostr.h -> support/convert.h
413 * tabular.C: make all write_attributes templates, tostr -> convert
415 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
416 (emptyTag): and -> &&, and fix type for ret from getChar
417 (getFirstWord): fix type for ret from getChar
418 (onlyText): and -> &&
419 (simpleDocBookOnePar): and not -> && !, fix type for ret from
422 * toc.C (goTo, action):
423 * text3.C (dispatch):
424 * text.C (currentState):
425 * tex-accent.C (DoAccent):
428 * lyxfunc.C (menuNew):
429 * lyxfinc.C (replace):
430 * counters.C (laberItem):
431 * bufferview_funcs.C (font2string):
432 * bufferparams.C (writeFile):
433 * buffer.C (readFile):
435 * MenuBackend.C: tostr -> convert
437 * LaTeX.C (runMessage): fix format
438 (scanAuxFiles): tostr -> convert
440 * BufferView_pimpl.C (savePosition): fix format
441 (restorePosition): ditto
444 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
446 * Spacing.[Ch]: New method getValueAsString().
450 * ParagraphParameters.C:
453 * text3.C: store/read spacing value as string.
455 * rowpainter.C: change float value (spacing_val) to double.
457 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
458 broken custom document spacing).
460 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
462 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
463 namespace, also more use of temp references and const
465 * cursor.[Ch] (getStatus): move to lyxfunc.C
467 * bufferparams.C: reformat slightly
469 * bufferview_funcs.C (font2string): constify arg
475 * buffer_funcs.C: (many funcs): constify arg on function
476 definitions, also make more local vars const, also add ASSERTS on
479 * buffer.C (LYX_FORMAT): put const in correct place
480 (many funcs): constify arg on function definitions, also make
481 more local vars const
483 * aspell_local.h: remove "struct" from typdef setup
485 * aspell.C (check): make word_ok const
486 (nextMiss): simplify slightly
489 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
491 * lyxrc.[Ch]: store all float values as strings.
492 use int (not float) for lyxrc.dpi.
494 2005-01-04 Angus Leeming <leeming@lyx.org>
496 * lyx_cb.C (Reconfigure):
497 * lyx_main.C (queryUserLyXDir):
498 to run the <system_lyxdir>/configure correctly on Windows, prefix
499 the path to the script with "sh " when generating the string that
500 is passed to system().
502 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
504 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
506 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
508 * lyxlength.C (asLatexString): get rid of setprecision
510 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * text2.C (setLayout): remove unused variable endpit.
513 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
515 * paragraph.C (onlyText): remove unused variable style.
517 * cursor.C (bruteFind): remove unused variables beg and end.
519 * Makefile.am (dist_noinset_DATA): not needed anymore
521 * cheaders/*: remove.
523 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
525 * text3.C: fix LFUN_MATH_MODE.
527 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * buffer_funcs.C (countWords): new function. Counts words between
532 * BufferView_pimpl.C (getStatus, dispatch): handle
535 * LyXAction.C (init):
536 * lfuns.h: add LFUN_WORDS_COUNT.
538 2004-12-19 Angus Leeming <leeming@lyx.org>
540 * buffer.C (save): s/slashify_path/internal_path/.
542 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
544 * lyxfind.C (findChange): do not search for end of pars, because
545 the change tracker cannot handle this (fixes bug 1719).
547 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
549 * paragraph.[Ch] (autoBreakRows): remove
551 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
553 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
554 avoid using the paragraph one
556 * text2.C (LyXText, insertStringAsLines): adjust
558 2004-12-16 Angus Leeming <leeming@lyx.org>
562 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
564 2004-12-14 Angus Leeming <leeming@lyx.org>
566 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
568 * bufferlist.C (emergencyWrite):
569 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
572 2004-12-14 Angus Leeming <leeming@lyx.org>
574 * main.C: (main): no longer pass pointers to os::init.
576 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
578 * undo.C (textUndoOrRedo): simplify logic, fix a crash
579 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
581 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
584 * text3.C: remove selection_possible global flag
586 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
588 * text2.C (getSelectionSpan): remove
589 (changeDepth, changeDepthAllowed): adjust
591 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
593 * Makefile.am (BOOST_LIBS): use boost variables
595 2004-12-03 José Matos <jamatos@lyx.org>
597 * buffer.C: format up to 238.
599 2004-12-03 José Matos <jamatos@lyx.org>
601 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
603 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
605 * cursor.C (goUpDown): remove call to idxUpDown2
607 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
609 * tabular.[Ch]: use size_t-like types for cell, row and column
612 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
614 * lyxfunc.C (getStatus): do not lose previous information when
615 calling BufferView::getStatus; do not set a default "Command
616 disabled" message at the beginning, but just before returning.
618 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
620 * cursor.h (getStatus): add better comment from src/cursor.C
622 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
624 * text3.C (getStatus): return false when the lfun is not handled
626 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
628 * broken_headers.h: remove
630 * Makefile.am (lyx_SOURCES): remove broken_headers.h
632 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
634 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
637 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
638 top_y_, merge fitcursor with update
639 (updateScrollbar, scrollDocView, fitCursor, center, update): new
642 (workAreaDispatch): adapt to new coord scheme
643 (redoCurrentBuffer): remove
645 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
647 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
650 * coordcache.[Ch]: add paragraph cache and helpers
652 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
655 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
656 (targetX, setTargetX): introduce
658 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
659 baseline -> ascent, as the rest of lyx
661 * lyxtext.h: remove redoParagraphs, updateParPositions,
662 fullRebreak, redoParagraphInternal. move dist to anon namespace in
663 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
664 have ascent/descent (ascent is ascent of first par)
666 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
669 * paragraph.[Ch]: unify dimension handling with the rest of lyx
671 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
673 * pariterator.C: fix infinite loop introduced in par->pit renaming
675 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
676 in insets and LyXText, draw two off-screen paragraphs using
677 NullPainter, and adapt to new coord scheme
681 * text3.C: adapt lfun handlers to the new coord scheme, which
682 means: there's only guaranteed coord information for onscreen pars
683 plus one above and one below. This implies that one can do search
684 from y coordinates in the range [-1,workHeight]
686 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
688 * rename a lot of InsetOld to InsetBase
690 2004-11-25 Angus Leeming <leeming@lyx.org>
692 * BufferView_pimpl.C:
694 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
696 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
699 call BufferView::getStatus if LCursor::getStatus did nothing
700 (setStatusMessage, getStatusMessage): removed.
702 * FuncStatus.C (message): new methods. Used to provide an error
703 message indicating why a command is disabled.
704 (clear, |=, FuncStatus): update for message.
706 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
708 * lyxfunc.C (dispatch): always call sendDispatchMessage
710 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
713 * BufferView_pimpl.C:
727 * undo.C: par->pit renaming
729 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
731 * tabular.C (cellstruct): use initialization, store a shared_ptr
732 to insettext instead of the insettext directly, adjust to fit.
733 (operator=): new function
735 (rowstruct): use initialization
736 (columnstruct): use initialization
737 (ltType): use initialization
740 * lyxlength.h (swap): new function
742 * LColor.[Ch] (operator=): use the common semantics
744 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
746 * lyxfind.C (findNextChange): update the bufferview after setting
749 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
751 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
752 number of InsetOptArgs has already been inserted.
754 * output_latex.C (latexOptArgInsets): new method. This outputs all
755 the optarg insets, up to the limit defined in the layout file.
756 (optArgInset): removed
757 (TeXOnePar): call latexOptArgInsets; correctly update texrow
759 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
761 * paragraph.C (isLetter): remove special spellchecker-related
762 code; return true also for digits
763 (isWord, isKomma): remove
765 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
766 * lyxfind.C (MatchString()): use isLetter instead of isWord
768 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
770 * pariterator.h (operatir=): comment out un-implemented member
773 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
776 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
778 * lyxfont.h: include LColor.h to satisfy concept checks.
780 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
782 * pariterator.h: add typdefs for value_type, difference_type,
783 pointer and reference to satisfy concept checks. Also add default
784 constructor for same reason.
786 * pariterator.C (operator++): add post-increment operator to
787 satisfy concept checks.
789 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
792 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
794 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
795 checks. Also rename base_type to BaseType to follow naming
798 * FloatList.h: include Floating.h to satisfy concept checks.
800 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
802 * lyxfunc.C (getStatus): when the origin of the request is menu or
803 toolbar, and the LyXView does not have focus, do as if there was
806 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
807 FuncRequest to individual entries of LFUN_SEQUENCE
809 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
811 * output_latex.C (TeXOnePar): override runparams.moving_arg
812 according to the needprotect value of the current paragraph (bug
815 * paragraph.C (simpleTeXOnePar): no need to override
816 runparams.moving_args here
818 2004-11-14 John Spray <spray_john@users.sourceforge.net>
820 * vspace.C: fix off-by-one-error, related to fix #1682
822 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
824 * lengthcommon.C: a more general fix for bug 1682
826 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
828 * text.C (backspace): fix crash
830 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
832 * format.[Ch] (getFormatFromFile): new method
833 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
835 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
839 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
841 * lyxfunc.C (dispatch): remove the verbose argument
842 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
845 * kbmap.C (defkey): set the origin of func to KEYBOARD
847 * MenuBackend.C (MenuItem):
848 * ToolbarBackend.C (add): set the origin of func to UI
850 * funcrequest.[Ch]: add origin member, which indicates which part
851 of LyX requests an action
853 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
855 * converter.C (move): don't lie in the error message
856 * converter.h (isReachable, move): document
858 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
860 * buffer.C: remove unused using lyx::support::atoi
861 * paragraph_funcs.C: ditto
863 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
865 * bufferlist.C (exists): use bind and equal_to instead of
868 * lyxtextclasslist.C (NumberOfClass): ditto
870 * cursor.C (insert): use for_each instead of explicit for loop
872 * bufferlist.C (getFileNames): use std::transform and
873 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
875 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
878 * buffer.C (changeLanguage): use for_each instead of explicit for
880 (hasParWithID): implement using getParFromID
882 * LaTeXFeatures.C: ws change only
884 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
887 * BufferView_pimpl.C (trackChanges): use for_each instead of
890 2004-11-04 André Pönitz <poenitz@gmx.net>
893 * undo.C (textUndoOrRedo): fix crash when creating undo information.
895 * dociterator.C (asDocIterator): use hard assert again.
897 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
899 * lyxlength.C (asLatexString): rewrite so that it does not use
902 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
904 * text3.C (specialChar, dispatch): make sure cursor moves to the
905 right after inserting an inset
907 2004-11-02 José Matos <jamatos@lyx.org>
909 * output_docbook.C (docbook):
910 * paragraph.C (getID):
911 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
912 garantee that the output is always legal.
914 * tabular.C (docbook):
915 * outputprams.[Ch]: remove mixed contents.
917 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
919 * text2.C (setCounter): prevent endless loop
921 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
923 * exporter.C (copyFile): use the mover instead of support::copy()
924 * exporter.C (Export): pass format and latex name to copyFile()
925 * exporter.h (addExternalFile): document
926 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
928 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
930 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
932 2004-10-30 José Matos <jamatos@lyx.org>
934 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
935 text and no inset or font change. This allows to use CDATA
936 sections just for the whole paragraph.
938 2004-10-30 José Matos <jamatos@lyx.org>
940 * paragraph.C (getFirstWord): remove unused variable.
942 2004-10-30 José Matos <jamatos@lyx.org>
944 * paragraph.C (getFirstWord): the content should always be escaped
946 (simpleDocBookOnePar):
947 * output_docbook.C (makeEnvironment): replace reference to CDATA
950 2004-10-30 José Matos <jamatos@lyx.org>
952 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
954 2004-10-30 José Matos <jamatos@lyx.org>
956 * output_docbook.C (makeParagraphs):
957 * paragraph.[Ch] (emptyTag): for docbook and company, if the
958 standard paragraph has only a given type of content drop the wrapper.
960 2004-10-29 José Matos <jamatos@lyx.org>
962 * output_docbook.C (makeEnvironment):
964 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
966 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
968 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
969 (cleanID): sanitize any id.
971 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
973 * buffer.C, lyxlex_pimpl.C:
974 * lyxlex_pimpl.C (setFile):
975 s/getExtFromContents/getFormatFromContents/
977 2004-10-28 José Matos <jamatos@lyx.org>
979 * output_docbook.C (makeEnvironment): move id to broadest possible
982 * sgml.C (openTag): apply substitution of <> for all attributes.
984 2004-10-28 José Matos <jamatos@lyx.org>
986 * buffer.C (makeLinuxDocFile, makeDocBookFile):
987 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
988 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
990 * sgml.[Ch]: new version for open and closeTag for paragraph and
991 for strings. Now they handle the ids of paragraphs.
993 2004-10-26 Angus Leeming <leeming@lyx.org>
995 * Makefile.am: add mover.[Ch].
997 * converter.C (convert, move): use the new Movers to move external
998 files to the temp directory.
1000 * lyx_main.C (init): ensure that the global system_movers data
1003 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1006 * mover.[Ch]: new files, defining a Mover as a utility to move an
1007 external file between directories and, if necessary, manipulate this
1008 file using a helper script.
1010 2004-10-25 José Matos <jamatos@lyx.org>
1012 * output_docbook.C (makeCommand): merge two if's that tested the
1015 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1017 * sgml.C (escapeString): fix warning in a better way
1019 2004-10-25 José Matos <jamatos@lyx.org>
1021 * sgml.C (escapeString): import the require boosts header file for
1022 tie, and avoid a signed unsigned comparison.
1024 2004-10-25 José Matos <jamatos@lyx.org>
1026 * sgml.h: add #include <string>
1028 2004-10-25 José Matos <jamatos@lyx.org>
1030 * sgml.[Ch] (escapeString): new function to escape all the string.
1032 2004-10-24 José Matos <jamatos@lyx.org>
1034 * paragraph.[Ch] (getFirstWord): new function to get the first
1035 word. Useful for description.
1036 (simpleDocBookOnePar): remove depth argument, add another that
1037 says where to start the paragraph.
1039 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1040 use the new functions to fix cleanly the support for descriptions.
1042 2004-10-24 José Matos <jamatos@lyx.org>
1044 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1045 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1046 * output_linuxdoc.C (linuxdocParagraphs):
1047 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1048 add buffer as argument.
1050 2004-10-24 José Matos <jamatos@lyx.org>
1052 * output_docbook.C (makeEnvironment, searchEnvironment): place
1053 CDATA inside paragraphs and fix scope for listitems.
1055 2004-10-24 José Matos <jamatos@lyx.org>
1057 * output_docbook.C: remove using statement for stack.
1059 2004-10-23 José Matos <jamatos@lyx.org>
1061 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1062 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1063 docbook. The new scheme is recursive and makes use of iterators, the
1064 same as latex export works.
1065 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1066 directly with the paragraph contents. This code was moved up to
1067 output_docbook.C (docbookParagraphs).
1068 * sgml.C (openTag, closeTag): removed unneeded newlines.
1069 (closeEnvTags) removed.
1071 2004-10-23 André Pönitz <poenitz@gmx.net>
1073 * undo.C (textUndoOrRedo):
1074 * dociterator.C (asDocIterator): work around crash
1076 * cursor.C (getStatus): replace ASSERT by more verbose error message
1077 and manual correction of the problem. Should increase stability
1078 while providing more sensible information.
1080 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1082 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1084 * bufferlist.C (previous, next): new methods
1087 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1089 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1091 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1092 entities to preamble.
1094 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1096 * messages.C (Pimpl): strip off translation context information
1098 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1100 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1101 the cursor is correct (bug 1694)
1103 2004-10-13 José Matos <jamatos@lyx.org>
1105 * output_docbook.C (docbookParagraphs): fix closing tags in the
1106 end of the document.
1108 2004-10-09 José Matos <jamatos@lyx.org>
1110 * buffer.C: format up to 237.
1111 * bufferparams.C (write): use tostr to convert booleans to strings.
1113 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1115 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1117 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1119 * LaTeX.C: implement use of babel language in xindy.
1121 2004-10-05 José Matos <jamatos@lyx.org>
1123 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1124 Add new translators to help reading and writing the lyx file.
1126 2004-10-05 José Matos <jamatos@lyx.org>
1128 * ParagraphParameters.C (read):
1129 * text.C (readParToken): replace nexToken by more appropriate lex
1132 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1134 * LaTeX.C (runMakeIndex):
1135 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1136 (usually 'makeindex') configurable.
1138 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1139 with a variable rather than with a number.
1141 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1143 * output_latex.C (TeXOnePar): make sure font setting is the first
1144 thing that gets output (and the last at the end). Should fix bug
1147 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1149 * pch.h: use proper signal include
1151 * LaTeX.h: Use preferred calling of Boost.Signal
1154 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1156 * pch.h: dont include <boost/function/function0.hpp>
1158 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1160 * paragraph_pimpl.h: remove usage of ShareContainer
1162 * paragraph_pimpl.C: remove initialization of ShareContainer.
1164 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1168 * BufferView.C (putSelectionAt): change the semantics when
1169 backwards == true: now, this just swaps cursor and anchor wrt the
1172 * BufferView.h (putSelectionAt): add some documentation
1174 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1175 make sure backwardChar is done at least once (to avoid getting
1177 (findNextChange): use putSelectionAt in the forward direction
1178 (operator()): use Paragraph::isWord
1180 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1182 * Spacing.C (set): c_str fix
1184 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1186 * lyx_cb.C (Reconfigure): quote the name of configure script in
1187 case it contains spaces
1189 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1193 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1194 (BOOST_LIBS): use top_buildir when looking for the file
1196 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1198 * pch.h: do not use include boost/format.hpp, multiple symbols
1199 will result (gcc bug)
1202 2004-08-23 José Matos <jamatos@lyx.org>
1204 * bufferparams.C (readToken): fix reading of the author field.
1206 2004-08-20 José Matos <jamatos@lyx.org>
1208 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1210 2004-08-20 José Matos <jamatos@lyx.org>
1212 * lyxlex.[Ch] (findToken): remove function.
1214 * ParagraphParameters.C (findToken):
1215 * bufferparams.C (findToken): replace call for previous function
1216 with local copy. This local function has one more argument, the
1217 read string argument.
1219 2004-08-16 José Matos <jamatos@lyx.org>
1221 * ParagraphParameters.C (write):
1222 * Spacing.C (writeFile):
1223 * bufferparams.C (writeLaTeX):
1224 * lyx_cb.C (Reconfigure):
1225 * paragraph.C (write):
1226 * tabular.C (write): remove unnecessary space at end of line.
1229 2004-08-16 José Matos <jamatos@lyx.org>
1231 * text.C (readParagraph): remove debug message.
1233 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1235 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1238 * output_plaintext.C (asciiParagraph): set depth correctly
1240 * outputparams.h: add member depth
1242 * paragraph_funcs.C (ownerPar): remove.
1244 * text2.C (setCounter): remove first_pit; comment out some
1245 non-working code that uses ownerPar
1247 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1250 2004-08-16 José Matos <jamatos@lyx.org>
1252 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1253 For the same level of importance use the same chanel to report problems.
1254 (read): add code to deal with \begin_body and \end_body.
1257 2004-08-15 José Matos <jamatos@lyx.org>
1259 * lyxlex.C (getString): fix comment, buffer::readBody is now
1260 buffer:readDocument.
1262 * tex-strings.C (string_papersize): Default -> default,
1263 Custom -> custom, for consistency with other options.
1265 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1269 * Makefile.am: support pch
1271 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1273 * text.C (readParToken): remove the static LyXFont variable and
1274 pass it as a parameter instead. This fixes a nasty bug where an
1275 inset will be inserted with a bad font in some situations
1276 (readParagraph): adapt
1278 * text2.C (setCounter): reduce number of calls to pars_[pit]
1280 * text.C (singleWidth): add an assert, fix a test
1282 * rowpainter.C (paintText): reduce number of calls to singleWidth
1284 * paragraph.C (isHfill):
1285 (isNewline): ws only
1287 2004-08-14 André Pönitz <poenitz@gmx.net>
1292 * lyxtext.h (several functions): use a Paragraph & argument
1295 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1297 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1299 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1301 * text.C (singleWidth): remove useless test
1303 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1305 * tabular.h: remove bogus comments
1307 * tabular.C (getDescentOfRow):
1308 (isPartOfMultiColumn): add assertions
1310 * lyxlength.C (inPixels): remove #warning
1312 2004-08-14 André Pönitz <poenitz@gmx.net>
1314 * paragraph.h: inline getChar()
1316 * BufferView.h: remove unused declarations
1318 2004-08-14 José Matos <jamatos@lyx.org>
1320 * Buffer.[Ch] (readDocument): new name for old readBody.
1321 * Buffer.C: new file format, new keywords: \begin_document,
1322 \begin_header, \begin_body, \end_body.
1324 * bufferparams.C (readToken): replace all calls to lex.nextToken
1325 by lex.next(). Do the same to eatLine except where really needed.
1327 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1328 line when writing to the lyx file.
1330 * output_plaintext.C (asciiParagraph): fix Bibliography style
1333 * text.C (read): fix end of file handling.
1335 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1337 * MenuBackend.C (Menu::operator[]): new method to access
1338 individual menu items
1339 (Menu::hasFunc): new method. search for an item that corresponds
1341 (MenuBackend::specialMenu): new method
1342 (MenuBackend::expand): if a special menu has been set, skip
1343 entries whose func() appears in this menu
1345 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1347 * text3.C: use Debug::DEBUG a bit more
1349 * text.C (leftMargin): try to simplify a tiny bit change var x to
1350 l_margin. Dont output the wide margins always.
1351 (rightMargin): no margin in inner texts
1353 * rowpainter.h (nestMargin): new func
1354 (changebarMargin): new func
1355 (rightMargin): new func
1357 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1361 * factory.C (createInset): modify setDrawFrame
1363 * cursor.C: use Debug::DEBUG a bit more
1365 2004-08-14 André Pönitz <poenitz@gmx.net>
1368 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1369 cache for all insets in (at least partially) visible (top-level)
1372 * BufferView_pimpl.C: reset external coord cache before every update.
1373 This means the coord cache only contains valid entries.
1375 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1378 * BufferView_pimpl.C (getInsetByCode): move function out of class
1379 and change in to a template in anon namespace. Also fix to do what
1382 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1385 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1387 (breakParagraph): rename par to par_offset and use a local
1388 reference. Add code to keep the language over a rebreak.
1389 (breakParagraphConservative): rename par to par_offset, use a
1391 (mergeParagraph): ditto
1393 (isFirstInSequence): ditto
1394 (outerFont): rename pit to par_offset
1396 * paragraph.C: ws change
1397 * paragraph.h: ditto
1401 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1403 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1406 * paragraph.C (simpleTeXOnePar): when we have a \item with
1407 optional argument, enclose the argument with curly brackets (in
1408 case it contains a closing square bracket)
1412 * text3.C (checkInsetHit): constify
1414 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1416 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1417 documents (bug 1629)
1419 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1421 Fix toggling of collapsable insets with the mouse (bug 1558)
1423 * lyxfunc.C (dispatch): adapt to LCursor changes
1425 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1426 make sure that dispatch is not invoked twice
1428 * cursor.C (needsUpdate): new method
1429 (dispatch): return void
1430 (result): new method, to access the DispatchResult of the cursor.
1432 2004-08-13 José Matos <jamatos@lyx.org>
1434 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1436 2004-08-13 André Pönitz <poenitz@gmx.net>
1438 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1440 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1443 2004-08-12 André Pönitz <poenitz@gmx.net>
1445 * text3.C: take out the 'cursor right' form insertInset and only
1446 do it in those places when it is really needed. Fixes crash on
1449 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1451 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1453 * BufferView_pimpl.C (setBuffer): initialize the current font of
1454 the underlying LyXText
1456 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * kbsequence.C (print): use UI native formatting for menu
1461 * text.C (insertChar): call Paragraph::insertChar with a font
1464 * paragraph.C (insertInset, insertChar): the version that takes a
1465 LyXFont argument is now a wrapper around the other one (the
1466 opposite used to be true).
1468 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1469 argument. Font setting is done in Paragraph now.
1471 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1473 * outputparams.h: add new members intitle and lang.
1475 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1476 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1478 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * text3.C (dispatch): remove special handling of button 4 and 5,
1481 it is now taken care of in the frontend code.
1483 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1485 * Spacing.h: add <string> (STLPort compile fix)
1487 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1489 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1491 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1493 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1496 * converter.C (showMessage): inherit from unary_function, make
1499 * buffer.C (writeFile): initialize retval
1501 * InsetList.h: rename private variable list to list_
1502 * InsetList.[Ch]: adjust accordingly.
1504 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1506 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1507 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1508 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1509 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1510 * ParagraphParameters.C, LaTeXFeatures.C: replace
1511 "support/std_sstream.h" with <sstream>
1513 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1515 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1516 * lyxsocket.C (LyXServerSocket): ditto
1517 (serverCallback): ditto
1519 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1521 * LaTeXFeatures.C: check release date when loading jurabib.
1523 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1525 * lyxserver.C (startPipe): call register_socket_callback
1526 (endPipe): call unregister_socket_callback
1528 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1530 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1531 (LyXServerSocket): register the callback
1532 (LyXServerSocket): unregister the callback
1533 (fd): delete function
1534 (serverCallback): improve error checking and setup the callbacks.
1535 (dataCallback): change arg to fd.
1536 (writeln): new func (copied fro the client socket) used for server
1538 (LyXDataSocket): simplify
1539 (~LyXDataSocket): close ann unregiser callback
1540 (server): delete function
1541 (fd): delete function
1542 (readln): small changes, improve some std::string usage
1543 (writeln): constify a bit
1545 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1547 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1550 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1552 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1553 after it has been populated
1555 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1557 * text2.C (insertInset): move cursor when inserting inset.
1559 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1561 * kbmap.C (findbindings): a couple of new methods. returns a
1562 container of kb_sequence objects. The real work is done by the
1563 private recursive version
1564 (printbindings): uses findbindings to print out a bracketed list
1565 of bindings (renamed from findbinding).
1567 * MenuBackend.C (binding): use kb_keymap::findbindings
1569 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1571 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1573 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1575 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1577 * paragraph.C (isWord): return true on insets that report
1580 * text.C (getWord): use Paragraph::isWord to decide what is in a
1581 word and what is not; fix bug 1609.
1583 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1585 * tex-strings.C: add "none" to string_paperpackages[], fixes
1586 off-by-one-error in the paperpackage selection.
1589 * tex-strings.[Ch]: char const * string[n]
1590 -> char const * const string[]
1592 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1594 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1595 command, return early.
1597 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1599 * debug.h: add DEBUG to enum and fix size of ANY.
1601 * debug.C: add support for Debug::DEBUG
1602 (showTags): cast errorTags.level to unsigned int
1604 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1605 (redoCurrentBuffer): ditto
1606 (updateScrollbar): ditto
1607 * cursor.C (dispatch): ditto
1608 * text2.C (setLayout): ditto
1610 (updateCounters): ditto
1612 (deleteEmptyParagraphMechanism): ditto
1614 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1616 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1617 annotations to cleanup the Makefile slightly.
1619 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1621 * lyxrc.C: do not set user_email to a default value but use empty
1622 instead. The entry used to be translated, which does not work
1623 since at the point where lyxrc is constructed there is no
1624 translation service available
1626 * messages.C (getLocaleDir): remove and use directly
1627 lyx_localedir() instead
1629 2004-06-02 Angus Leeming <leeming@lyx.org>
1631 Fix crash caused by dereferencing null pointer 'exportdata' in
1632 OutputParams by creating a new ExportData variable on the heap,
1633 storing it in a boost::shared_ptr.
1634 The crash was triggered when generating an Instant Preview
1635 of an external inset.
1637 * Makefile.am: add outputparams.C
1639 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1640 (c-tor): allocate memory to it.
1642 * exporter.C (c-tor): associated changes.
1644 2004-06-01 Angus Leeming <leeming@lyx.org>
1646 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1647 contains data before calling isInset(0). (Bug 1513.)
1649 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1651 * exporter.C (checkOverwrite): new method
1652 * exporter.C (copyFile): new method
1653 * exporter.C (Export): copy referenced files to the document dir
1654 * exporter.[Ch]: new class ExportedFile
1655 * exporter.[Ch]: new class ExportData. Contains currently the
1656 names of referenced external files
1657 * outputparams.h: add exportdata member.
1659 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1661 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1664 2004-05-19 Angus Leeming <leeming@lyx.org>
1669 * lyxfunc.C: small changes due to the introduction of namespace
1670 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1672 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1674 * text3.C (dispatch): supress update when only moving the cursor
1675 * cursor.C (selHandle): remove commented code
1677 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1679 * paragraph.C (startTeXParParams): correct column count
1680 * CutAndPaste.C (pasteSelection): remove const_cast
1681 * output_docbook.C (docbookParagraphs): remove const_cast
1682 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1683 const_cast and return ParagraphList::const_iterator
1684 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1685 * output_plaintext.C (writeFileAscii): remove const_cast
1686 * paragraph.[Ch] (simpleTeXOnePar): make const
1687 * paragraph_funcs.C (outerPar): use const iterators
1688 * paragraph_pimpl.C (validate): use const iterators
1689 * text.C (setHeightOfRow): use const iterators
1691 2004-05-17 Angus Leeming <leeming@lyx.org>
1694 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1696 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1697 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1698 if the citation engine has changed.
1700 2004-05-14 José Matos <jamatos@lyx.org>
1702 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1703 if the textclass does not provide it. Have it different for sgml and
1705 support the language of document.
1706 * output_docbook.C (docbookParagraphs):
1707 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1708 first anchor as the id of the paragraph, remove special case code.
1709 * sgml.C (escapeChar): escape only < & >.
1711 2004-05-14 Angus Leeming <leeming@lyx.org>
1713 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1714 dependencies on src/frontends/controllers/biblio.h. Define a
1715 CiteEngine_enum wrapper class to enable the enum to be forward
1718 2004-05-12 Angus Leeming <leeming@lyx.org>
1720 * buffer.C: up LYX_FORMAT to 234.
1721 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1722 use_numerical_citations with a single biblio::CiteEngine cite_engine
1724 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1726 2004-05-13 José Matos <jamatos@lyx.org>
1729 * converter.C (Converter, readFlags): add xml member.
1730 * outputparams.h: add XML flavor.
1731 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1733 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1735 * lyxfunc.C (dispatch):
1736 (getStatus): fix handling of LFUN_SEQUENCE
1738 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1740 * debug.C (showLevel): do not forget the end-of-line marker
1742 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1744 * kbmap.C (read): do not stop parsing a bind file when an error
1747 2004-04-29 Angus Leeming <leeming@lyx.org>
1752 * text2.C: wrap a bunch of #warning statements
1753 inside #ifdef WITH_WARNINGS blocks.
1755 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1757 * buffer.C: increment format to 233.
1759 2004-04-28 Angus Leeming <leeming@lyx.org>
1761 * BufferView_pimpl.C:
1764 s/updateToolbar()/updateToolbars()/
1765 s/Toolbar.h/Toolbars.h/
1767 2004-04-28 Angus Leeming <leeming@lyx.org>
1769 * BufferView.[Ch] (c-tor):
1770 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1771 No longer passes these data to the WorkArea generator.
1773 2004-04-28 Angus Leeming <leeming@lyx.org>
1775 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1777 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1779 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1781 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1783 * output_latex.C (TeXEnvironment): make sure that there is a line
1784 break before \end{foo} for the last paragraph of a document
1785 (TeXOnePar): if the paragraph is at the end of the document (or
1786 inset) and the language has to be reset, then make sure that the
1787 line break is _before_ the language command, not after (fixes bug
1788 1225); also make sure that the language reset command is the first
1789 thing after the paragraph (to ensure proper nesting of
1790 environments and thus fix bug 1404)
1792 2004-04-21 John Levon <levon@movementarian.org>
1795 * ToolbarBackend.C: make "name" be a programmatic name
1796 and a gui_name field.
1798 * lyxfunc.C: display the minibuffer on M-x
1800 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1802 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1805 2004-04-19 Angus Leeming <leeming@lyx.org>
1807 * BufferView_pimpl.C (setBuffer): changed preview interface.
1809 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1812 2004-04-19 John Levon <levon@movementarian.org>
1814 * BufferView_pimpl.C:
1815 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1817 2004-04-05 Angus Leeming <leeming@lyx.org>
1819 * text.C (redoParagraphs): add call to updateCounters(), thereby
1820 fixing the missing "Figure #:" label from the caption of a
1823 2004-04-13 Angus Leeming <leeming@lyx.org>
1825 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1826 cursor is clicked out of an inset.
1828 2004-04-13 Angus Leeming <leeming@lyx.org>
1830 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1831 than an InsetOld one.
1833 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1835 * format.[Ch]: add editor to Format
1836 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1837 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1839 2004-04-08 André Pönitz <poenitz@gmx.net>
1841 * metricsinfo.h: remove PainterInfo::width member
1843 2004-04-08 Angus Leeming <leeming@lyx.org>
1845 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1846 "\providecommand" rather than "\newcommand", thereby preventing
1847 clashes with packages that define "\boldsymbol" themselves.
1850 2004-04-08 Angus Leeming <leeming@lyx.org>
1852 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1853 thereby squashing an unnecessary warning.
1855 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1857 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1860 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1862 * BufferView.C (setCursor): call redoParagraph (some insets could
1864 (putSelectionAt): remove the 'double update' trick
1866 * BufferView_pimpl.C (fitCursor): call refreshPar
1867 (workAreaDispatch): remove an uneeded update call
1868 (dispatch): remove some manual update calls
1870 * cursor.[Ch]: remove cached_y_, updatePos
1871 (selHandle): set noUpdate when appropriate
1873 * lyxfunc.C (dispatch): track if we need an update
1875 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1877 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1878 (paintSelection): cheap optimization, do not call cursorX when not
1880 (paintPars): change signature
1883 (paintTextInset): adjust
1887 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1889 * lengthcommon.C: compilation fix: remove explicit array size from
1890 unit_name[] and friends
1892 2004-04-05 Angus Leeming <leeming@lyx.org>
1894 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1896 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1897 present only for the preferences dialog.
1898 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1900 2004-04-05 Angus Leeming <leeming@lyx.org>
1902 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1903 to enable the frontends to export changes to lyxrc correctly.
1905 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1907 2004-04-07 André Pönitz <poenitz@gmx.net>
1909 * cursor.[Ch] (selClear, adjust): remove math
1911 * cursor_slice.C: more agressive assert
1914 * BufferView_pimpl.C: rework mouse event dispatch
1921 2004-04-05 André Pönitz <poenitz@gmx.net>
1923 * cursor.[Ch] (valign, halign...): remove unneeded functions
1925 2004-04-05 Angus Leeming <leeming@lyx.org>
1927 * lyxlength.[Ch] (unit_name et al.): const-correct.
1929 2004-04-05 Angus Leeming <leeming@lyx.org>
1931 * BufferView_pimpl.C:
1940 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1942 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1944 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1946 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1948 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1949 * BufferView_pimpl.[Ch] (getStatus)
1950 * BufferView.[Ch] (getStatus): add
1951 * lyxfunc.C (getStatus): move lfuns handled in
1952 BufferView::dispatch to te function above
1953 * Cursor.C (setSelection): set selection() = true
1955 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1957 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1959 2004-03-31 Angus Leeming <leeming@lyx.org>
1961 * lyxfunc.C (dispatch): Fall through to the generic
1962 Dialogs::show("preamble").
1964 2004-03-31 Angus Leeming <leeming@lyx.org>
1966 * lyxfunc.C (dispatch): Fall through to the generic
1967 Dialogs::show("spellchecker").
1969 2004-03-31 Angus Leeming <leeming@lyx.org>
1971 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1974 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1979 * insetiterator.[Ch]:
1984 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1986 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1988 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1989 insets where we are putting the cursor.
1991 2004-03-31 Angus Leeming <leeming@lyx.org>
1994 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1996 * lyxrc.[Ch] (read, write): overloaded member functions taking
1997 a std::[io]stream arguments.
1999 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2001 2004-03-31 Angus Leeming <leeming@lyx.org>
2003 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2004 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2006 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2007 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2009 2004-03-31 Angus Leeming <leeming@lyx.org>
2011 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2012 the LFUN_ALL_INSETS_TOGGLE code.
2014 2004-03-30 Angus Leeming <leeming@lyx.org>
2016 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2017 has died. Fall through to the generic Dialogs::show("document").
2019 2004-03-30 Angus Leeming <leeming@lyx.org>
2022 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2023 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2025 * lyxfunc.C (getStatus, dispatch): define the actions for these
2026 lfuns. Little more than a cut and pste job from ControlDocument.C
2028 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2030 2004-03-30 Angus Leeming <leeming@lyx.org>
2033 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2034 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2036 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2037 open/closed state of ollapsable insets. Usage:
2039 all-inset-toggle <state> <name>, where
2040 <state> == "open" || "closed" || "toggle" and
2041 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2043 * lyxtext.h, text2.C (toggleInset): removed.
2045 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2046 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2047 now passes LFUN_INSET_TOGGLE to the found inset.
2049 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2050 is now invoked as "all-insets-toggle toggle branch".
2052 2004-03-30 Angus Leeming <leeming@lyx.org>
2056 * pariterator.[Ch]: added/corrected header blurb.
2058 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2060 * dociterator.[Ch]: add an inset_ member
2061 (backwardPos): implemented
2062 (backwardPos, forwardPos): use inset_ when the stack is empty.
2063 (doc_iterator_begin, doc_iterator_end): implemented
2064 * pariterator.[Ch]: adjust, add begin, end
2065 * insetiterator.[Ch]: adjust, add begin, end
2069 * BufferView_pimpl.C:
2070 * CutAndPaste.C: adjust
2072 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2074 * buffer.C: increment file format to 232.
2075 * LaTeXFeatures.C: add bibtopic package.
2076 * bufferparams.[Ch]: param \use_bibtopic.
2078 * lyxrc.[Ch]: add lyxrc bibtex_command
2079 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2081 * buffer.C: increment file format to 231.
2083 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2085 * dociterator.C: implement forwardPar
2086 * iterators.[Ch]: remove, replaced by
2087 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2089 * BufferView_pimpl.C:
2092 * bufferview_funcs.C:
2098 * Makefile.am: adjust
2100 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2102 * CutAndPaste.C (pasteSelection): fix 2 crashes
2103 (eraseSelection): fix a crash
2104 * paragraph_funcs.C: remove a warning
2106 2004-03-28 Angus Leeming <leeming@lyx.org>
2109 * LyXAction.C (init): new LFUN_PRINT.
2111 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2113 2004-03-27 Angus Leeming <leeming@lyx.org>
2116 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2118 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2120 2004-03-27 Angus Leeming <leeming@lyx.org>
2122 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2123 insetlist always contains non-null pointers to insets.
2125 2004-03-26 Angus Leeming <leeming@lyx.org>
2127 * src/BufferView_pimpl.C:
2128 * src/CutAndPaste.C:
2131 * src/output_plaintext.C:
2132 * src/outputparams.h:
2133 * src/paragraph_funcs.C:
2137 * src/frontends/controllers/ControlErrorList.C:
2138 * src/frontends/gtk/FileDialogPrivate.C:
2139 * src/frontends/gtk/GPainter.C:
2140 * src/frontends/gtk/GToolbar.C:
2141 * src/frontends/qt2/QRef.C:
2142 * src/mathed/math_scriptinset.C: squash compiler warnings.
2144 2004-03-26 Angus Leeming <leeming@lyx.org>
2146 * ispell.C (LaunchIspell::start):
2147 * lyx_cb.C (AutoSaveBuffer::start):
2148 invoke run(DontWait) rather than runNonBlocking().
2150 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2152 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2154 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2156 * kbsequence.C (print): adjust
2158 * kbmap.C (printKeySym): rename and change signature
2159 (printKey): use LyXKeySym::print()
2161 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2163 * undo.C: add using std::advance to compile for stlport
2165 2004-03-24 Angus Leeming <leeming@lyx.org>
2167 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2168 it leads to a crash when no buffer is present.
2170 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2171 Martin Vermeer <martin.vermeer@hut.fi>
2173 * lyxfunc.C (dispatch):
2174 * bufferparams.C (readToken): use the new LColor::setColor
2176 * LColor.[Ch] (setColor): new version that takes two strings as
2177 argument and creates a new color entry if necessary
2179 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2181 * buffer.C (makeLaTeXFile): if the main latex file that is
2182 processed is usually a subdocument of some master, then pretend
2183 for a while that it is actually the master
2185 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2187 * buffer.C (getLabelList):
2188 (getBibkeyList): use getMasterBuffer()
2189 (getMasterBuffer): new method. Returns the main document in the
2190 case where one is using included documents.
2192 2004-03-25 André Pönitz <poenitz@gmx.net>
2196 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2198 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2200 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2201 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2203 * ParameterStruct.h: merge with ParagraphParameters
2205 * lyxtext.h: remove LyXText::parOffset() and getPar()
2207 * text3.C: Remove all 'manual' update calls. We do now one per user
2208 interaction which is completely sufficient.
2212 * BufferView_pimpl.C:
2213 * FontIterator.[Ch]:
2215 * ParagraphParameters.[Ch]:
2220 * cursor_slice.[Ch]:
2227 * output_docbook.[Ch]:
2228 * output_latex.[Ch]:
2229 * output_linuxdoc.[Ch]:
2230 * output_plaintext.[Ch]:
2232 * paragraph_funcs.[Ch]:
2233 * paragraph_pimpl.[Ch]:
2241 * frontends/controllers/ControlDocument.C:
2242 * frontends/controllers/ControlErrorList.C:
2243 * frontends/controllers/ControlSpellchecker.C:
2246 * insets/insetbase.h:
2247 * insets/insetbibitem.C:
2248 * insets/insetbox.C:
2249 * insets/insetbranch.C:
2250 * insets/insetcaption.C:
2251 * insets/insetcharstyle.C:
2252 * insets/insetcharstyle.h:
2253 * insets/insetcollapsable.C:
2254 * insets/insetcollapsable.h:
2255 * insets/insetert.C:
2256 * insets/insetfloat.C:
2257 * insets/insetfoot.C:
2258 * insets/insetmarginal.C:
2259 * insets/insetnote.C:
2260 * insets/insetoptarg.C:
2261 * insets/insettabular.C:
2262 * insets/insettext.C:
2263 * insets/insettext.h:
2264 * insets/insetwrap.C:
2265 * mathed/math_mboxinset.C:
2266 * mathed/math_nestinset.C:
2267 * mathed/math_scriptinset.C:
2268 * mathed/math_scriptinset.h:
2271 2004-03-24 Angus Leeming <leeming@lyx.org>
2273 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2274 deal with any child processes that have finished but are waiting to
2275 communicate this fact to the rest of LyX.
2277 2004-03-24 Angus Leeming <leeming@lyx.org>
2279 64-bit compile fixes.
2281 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2282 (c-tor): pass lyx::pos_types rather than ints.
2284 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2287 * text.C (Delete): compile fix.
2288 (getPar): ensure that function declaration is the same as that in
2291 2004-03-23 Angus Leeming <leeming@lyx.org>
2293 * ispell.C (LaunchIspell):
2294 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2295 a boost::shred_ptr rather than a std::auto_ptr.
2297 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2299 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2300 handle LFUN_FILE_INSERT_*
2302 * lyxrc.C (setDefaults, getDescription, output, read):
2303 * lyxrc.h: remove ps_command
2305 2004-03-22 Angus Leeming <leeming@lyx.org>
2307 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2308 Ensure that error_handler is processed once only and that all data
2309 is saved before attempting to output any warning messages.
2311 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2313 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2315 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2317 2004-03-19 André Pönitz <poenitz@gmx.net>
2319 * cursor.[Ch] (reset): take main text inset as argument
2321 * BufferView: adjust
2322 * BufferView_pimpl.C: adjust
2324 * paragraph.[Ch]: fix completely broken operator=()
2326 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2328 * LColor.C (getFromLyXName): make sure that the color name is used
2331 2004-03-17 Angus Leeming <leeming@lyx.org>
2334 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2336 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2337 dialog and to kill a forked process.
2339 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2341 * text2.C (setCursorFromCoordinates): fix font problem
2343 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2345 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2346 bogus "rebuild cursor" code
2348 2004-03-11 André Pönitz <poenitz@gmx.net>
2350 * buffer.[Ch]: use InsetText instead of LyXText as container for
2353 * dociterator.[Ch]: drop the BufferView * member which is not needed
2354 anymore after the change to buffer.C
2356 * paragraph_funcs.C:
2360 * BufferView_pimpl.[Ch]:
2362 * cursor_slice.[Ch]: adjust
2364 * text3.C: fix bug in mathDispatch
2366 2004-03-08 André Pönitz <poenitz@gmx.net>
2368 * undo.[Ch]: use 'StableDocumentIterator' as base for
2371 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2374 * bufferparams.[Ch]: add jurabib support and param.
2376 * LaTeX.C: add FIXME/comment.
2378 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2380 * buffer.C: increment file format to 230.
2382 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2384 * cursor.C (dispatch): avoid infinite loops
2386 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2388 * rowpainter.C (paintSelection): fix x coordinates
2390 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2392 * text.C (rowBreakPoint): fix breaking before displayed insets
2394 2004-03-01 André Pönitz <poenitz@gmx.net>
2396 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2398 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2402 * BufferView_pimpl.C:
2410 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2416 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2417 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2419 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2421 * Bidi.[Ch] (computeTables): const correctness
2422 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2423 fill_hfill, fill_label_hfill and x from Row
2424 * lyxtext.h: prepareToPrint returns a RowMetrics
2425 * rowPainter.C: adjust
2426 * text.C (prepareToPrint): use width, not textWidth. adjust
2427 (redoParagraphInternal, cursorX): adjust
2428 * text2.C (getColumnNearX): adjust
2429 (init): put a default value to the top LyXText::width
2431 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2433 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2435 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2437 * lyxtext.h: add FontIterator class
2439 * text.C (FontIterator, operator*, operator->, operator++): add
2440 (rowBreakPoint, setRowWidth): adjust (fixing a
2443 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2445 * BufferView_pimpl.C (workAreaDispatch): allow also
2446 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2448 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2450 * text.C (rowBreakPoint): fix a bug showing with very large insets
2452 2004-02-25 André Pönitz <poenitz@gmx.net>
2455 * cursor.[Ch]: move some mathed specific code to mathed
2457 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2459 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2460 use_tempdir in preferences
2461 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2463 * lyx_main.C: ensure that tempdir is valid
2464 * lyxlex.h: correct typo
2465 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2466 * paragraph.[Ch] (isMultiLingual): make const
2467 * cursor.[Ch] (openable): make const
2469 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2471 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2473 2004-02-20 André Pönitz <poenitz@gmx.net>
2475 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2477 * cursor.[Ch]: prepare for localized getStatus()
2483 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2485 2004-02-20 André Pönitz <poenitz@gmx.net>
2487 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2489 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2491 * text2.C (setCursorFromCoordinates): switch to absolute coords
2493 (cursorDown): adjust
2494 * text3.C (dispatch): adjust
2496 2004-02-16 André Pönitz <poenitz@gmx.net>
2498 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2501 * cursor_slice.[Ch]: remove unneeded acessor function
2503 * lyxtext.h: rename rtl() to isRTL()
2511 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2513 * rowpainter.C (paintSelection): coord fix
2515 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2517 * Spacing.C: compile fix
2519 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2521 * cursor.C (dispatch): restore current_ before returning
2523 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2525 * text2.C (cursorUp, cursorDown): fix coords
2528 2004-02-12 André Pönitz <poenitz@gmx.net>
2533 * text3.C: add LCursor & parameter to most cursor movement functions
2534 remove usage of LyXText::cursorRow() and cursorPar()
2536 * cursor.[Ch]: add textRow() needed members
2539 * BufferView_pimpl.C:
2542 * BufferView_pimpl.C: adjust
2544 2004-02-11 André Pönitz <poenitz@gmx.net>
2548 * BufferView_pimpl.C: shift undo/redo handling
2550 * cursor.[Ch]: fix mathed crash
2553 * lyxtext.h: move selectionAsText to LCursor
2561 * rowpainter.C: fix excessive drawing
2563 2004-02-06 André Pönitz <poenitz@gmx.net>
2566 * BufferView_pimpl.[Ch]:
2567 * text3.C: move some text specific LFUN handling
2569 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2571 * text3.C (checkInsetHit): adjust coords
2572 * text2.C (getColumnNearX): adjust coords
2573 (edit): adjust coords
2574 * text.C (getRowNearY): add two asserts
2576 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2579 * format.C: add using std::distance to compile on gcc 2.95/stlport
2581 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2583 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2585 2004-02-04 André Pönitz <poenitz@gmx.net>
2587 * BufferView.[Ch] (insertInset):
2588 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2593 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2595 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2596 on the default clause of the switch
2597 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2598 wasn't catched by LCursor::dispatch
2600 2004-02-03 André Pönitz <poenitz@gmx.net>
2603 * cursor.[Ch]: some additional asserts
2605 * undo.[Ch]: remove LyXText dependency in interface
2609 * lyxtext.h (firstPar, lastPar): remove dead functions
2614 * paragraph.[Ch]: adjust
2616 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2618 * lyxfind.C (find): fix argument order in call to ::find
2620 2004-02-02 André Pönitz <poenitz@gmx.net>
2622 * cursor.[Ch]: remove direct access to anchor
2624 * text.C: remove findText() hack
2626 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2628 * iterators.[Ch] (lockPath): remove in favour of...
2629 * BufferView.[Ch] (setCursor): this addition
2630 * BufferView.C (putSelectionAt): adjust
2631 * undo.C (performUndoOrRedo): adjust
2632 * lyxfunc.C (dispatch): adjust
2634 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2636 * iterators.C (lockPath): add a missing slice
2637 * undo.C (performUndoOrRedo): remove redundant positioning code
2639 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2641 * vc-backend.C (scanMaster): ";" -> ';'
2643 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2645 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2646 std::binary_function
2648 * lyxtextclass.C (compare_name): rename to...
2649 (LayoutNamesEqual): ...this
2651 * lyxlex_pimpl.C (compare_tags): inherit from
2652 std::binary_function, put back into anon namespace
2654 * lyxfind.C (MatchString): inherig from std::binary_function
2655 (findChange): use empty() istead of !size()
2657 * format.C (FormatNamesEqual): new functor
2664 * converter.C (compare_Converter): rename to...
2665 (ConverterEqual): ...this, and fixup a bit.
2666 (getConverter): use it, and make function const
2667 (getNumber): use it, and make function const
2671 * bufferlist.C: add using boost::bind
2673 * MenuBackend.C (MenuNamesEqual): new functor
2674 (hasMenu): use it, and make function const
2675 (hasSubmenu): use nested bind to get rid of compare_memfun.
2677 2004-01-30 André Pönitz <poenitz@gmx.net>
2679 * BufferView_pimpl.C:
2682 * cursor_slice.[Ch]:
2685 * paragraph_funcs.C:
2686 * paragraph_funcs.h:
2690 * text3.C: move some of the edit(x,y) handling to the insets
2691 some coordinate changes.
2693 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2695 * text.C: add using statements for std::advance and std::distance
2697 * paragraph.C: add using statement for std::distance
2699 * lyxfind.C: add using statement for std::advance
2701 * cursor.C (region): remove std:: from swap
2702 (openable): use nucleus in stead of operator->
2704 * BufferView.C: add using statements for std::distance and std::swap
2706 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2708 * iterators.C: Remove the pimple, move the needed structures to
2709 the header file. Create accessor for the positions stack.
2710 (asPosIterator): remove function
2712 * PosIterator.C (PosIterator): move constructors to top of file
2713 (PosIterator): reimplement the constructor taking a ParIterator in
2715 (setFrom): new function
2716 (operator!=): inline it
2718 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2720 * lyxfind.C (replaceAll): use std::advance
2722 * iterators.h: inherit from std::iterator.
2724 * PosIterator.C (advance, distance): remove
2725 * PosIterator.h: interit from std::iterator.
2727 2004-01-26 André Pönitz <poenitz@gmx.net>
2730 * BufferView_pimpl.[Ch]:
2734 * bufferview_funcs.C:
2744 * output_linuxdoc.C:
2745 * output_plaintext.C:
2747 * paragraph_funcs.[Ch]:
2748 * paragraph_pimpl.[Ch]:
2754 * text3.C: more IU: dumps most of the rest of the mathcursor
2755 implementation into cursor.[Ch]; "globalize" a bit of it.
2757 2004-01-25 Angus Leeming <leeming@lyx.org>
2759 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2761 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2763 * LaTeXFeatures.h: add nice_ and nice() const
2764 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2766 2004-01-20 André Pönitz <poenitz@gmx.net>
2769 * BufferView_pimpl.C:
2771 * bufferview_funcs.C:
2773 * cursor_slice.[Ch]:
2784 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2785 LCursor and mathcursor parts to LCursor and InsetBase.
2787 2004-01-15 André Pönitz <poenitz@gmx.net>
2789 * cursor_slice.[Ch]: add a few covienience functions
2791 * funcrequest.[Ch]: remove BufferView * member
2793 * BufferView_pimpl.C:
2800 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2802 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2804 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2805 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2807 2004-01-13 André Pönitz <poenitz@gmx.net>
2810 * lyxtext.h: hide cursor and selection anchor behind accessor function
2813 * BufferView_pimpl.[Ch]:
2815 * bufferview_funcs.C:
2825 * cursor_slice.[Ch]: some integer type changes for inset unification
2827 * lyxcursor.[hC]: remove, it's CursorSlice now.
2830 * BufferView_pimpl.[Ch]:
2831 * bufferview_funcs.C:
2837 * textcursor.[Ch]: adjust
2839 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2841 * text2.C (undoSpan): add and use
2842 * text.C (breakParagraph): use undoSpan (fix bug 578)
2845 2004-01-08 Angus Leeming <leeming@lyx.org>
2847 * BufferView_pimpl.C (MenuInsertLyXFile):
2848 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2849 * lyxfunc.C (menuNew, open, doImport):
2850 FileFilterList change to the FileDialog open and save functions.
2852 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2854 * ShareContainer.h: make isEqual and isUnique adaptable
2856 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2858 2004-01-07 Angus Leeming <leeming@lyx.org>
2861 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2863 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2865 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2866 functions replacing find, replace and replaceAll.
2868 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2869 LFUN_WORDFIND(FORWARD|BACKWARD).
2871 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2873 * text.C (breakParagraph): remove an outdated #warning
2875 2004-01-07 André Pönitz <poenitz@gmx.net>
2877 * lyxfind.C: somewhat clearer logic
2879 * text.C: prevent crash in cursorX on unitialized row cache
2881 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2883 * lyxcursor.[Ch] (operator>): add
2884 * textcursor.C (selStart, selEnd): use std::min and std::max
2886 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2888 * Chktex.C: include boost/format.hpp
2890 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2892 * InsetList.C: replace functor MathcIt with adaptable functor
2894 (insetIterator): modify accordingly
2896 * BranchList.h: move the BranchNamesEqual functor here from...
2897 * BranchList.C: ... to here
2899 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2901 (add): replace a finding loop with std::find_if.
2903 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2905 * output_docbook.C: moving LatexParam functionality into
2908 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2910 * buffer.C: increment format to 229.
2912 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2915 * lyx_sty.[Ch]: remove minipageindent_def
2921 * text3.C: remove LFUN_INSET_MINIPAGE
2923 2003-12-28 Angus Leeming <leeming@lyx.org>
2925 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2927 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2929 * text2.C (setParagraph): fix off-by-one crash
2931 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2933 * output_docbook.C: header stuff for AGU
2935 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2937 * text2.C (redoCursor): remove
2940 * BufferView_pimpl.C: remove calls to redoCursor and
2941 setCursor(cursor.par(), cursor.pos()) all around
2943 2003-12-15 Angus Leeming <leeming@lyx.org>
2945 * buffer.C: up the format to 228.
2947 2003-12-15 André Pönitz <poenitz@gmx.net>
2949 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2954 * BufferView_pimpl.C:
2963 2003-12-15 Angus Leeming <leeming@lyx.org>
2965 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2966 than getFromGUIName to manipulate the color.
2968 2003-12-14 Angus Leeming <leeming@lyx.org>
2970 * BranchList.[Ch]: minimize the API.
2971 (Branch::getBranch, getColor): now return a 'const &'.
2972 (Branch::setSelected) now returns a bool set to true if the
2973 selection status changes.
2974 (BranchList::clear, size, getColor, setColor, setSelected,
2975 allBranches, allSelected, separator): removed.
2976 (BranchList::find): new functions, returning the Branch with
2978 (BranchList::add, remove): return a bool indicating that
2979 the operation was successful.
2981 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2982 new InsetBranch::isBranchSlected member function.
2984 * LColor.[Ch]: mimimize the API.
2985 (fill): renamed as addColor and made private.
2986 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2987 versions of these functions taking a string arg have been removed.
2989 * bufferparams.C (readToken):
2990 * lyxfunc.C (dispatch):
2991 * lyxrc.C (read): changes due to the altered BranchList and
2994 * factory.C (createInset, readInset): changes due to altered
2997 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3000 * lyxfunc.C: remove insetminipage. "minipage-insert"
3001 now produces a frameless minipage box inset.
3003 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3005 * textcursor.[Ch] (selStart,selEnd): add new methods
3006 remove selection::start, end, use LyXCursor::operator<
3007 * lyxcursor.[Ch] (operator<): add
3008 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3009 * BufferView.[Ch] (unsetXSel): add
3010 * text2.C (clearSelection): use unsetXSel,adjust
3013 * rowpainter.C: adjust
3014 * bufferview_funcs.C (put_selection_at): adjust
3016 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3018 * BufferView_pimpl.C: small coord. correction
3020 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3022 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3023 dragging over the splash screen.
3025 2003-12-11 Angus Leeming <leeming@lyx.org>
3027 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3028 as it is now handled in LyXText::dispatch.
3030 * text3.C (doInsertInset): remove a level of nesting.
3032 2003-12-11 Angus Leeming <leeming@lyx.org>
3034 * factory.C (createInset): changes due to the changed interface to
3035 InsetCommandMailer::string2params.
3037 2003-12-10 Angus Leeming <leeming@lyx.org>
3039 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3040 'dialog-show-new-inset <inset name>'
3042 2003-12-10 Angus Leeming <leeming@lyx.org>
3044 * buffer.C: up the format to 227.
3046 * factory.C: the box inset is now identified simply by 'Box'.
3048 2003-12-10 Angus Leeming <leeming@lyx.org>
3050 * buffer.C: up the format to 226.
3052 * factory.C: the note inset is now identified simply by 'Note'.
3054 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3056 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3057 when a pit is enough. Standarize a couple of loops.
3059 2003-12-05 Angus Leeming <leeming@lyx.org>
3061 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3062 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3063 data to the re-worked "log" dialog.
3065 2003-12-03 André Pönitz <poenitz@gmx.net>
3071 * paragraph_funcs.C:
3073 * text2.C: use Inset::getText instead of Inset::getParagraph
3075 2003-12-03 André Pönitz <poenitz@gmx.net>
3079 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3080 InsetText::read() as LyXText::read()
3082 2003-12-02 Angus Leeming <leeming@lyx.org>
3084 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3085 type. Add a comment in the implementation that the function uses
3086 the stream's bad() function rather than fail() as the std::streams
3089 2003-12-02 André Pönitz <poenitz@gmx.net>
3091 * lyxlex.[Ch]: make interface more similar to std::stream
3093 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3095 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3097 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3099 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3101 * vspace.[Ch]: remove VSpace::NONE
3103 2003-12-01 André Pönitz <poenitz@gmx.net>
3106 * lyxtext.h: move ParagraphList member to LyXText
3107 rename LyXText::ownerParagraphs to LyXText::paragraph
3110 * bufferview_funcs.C:
3120 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3122 * undo.C: fix cursor positioning
3124 2003-12-01 John Levon <levon@movementarian.org>
3126 * BufferView_pimpl.C: fix a crash on exit with
3129 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3131 * BranchList.C: fix setSelected() method.
3133 2003-11-28 André Pönitz <poenitz@gmx.net>
3135 * ParagraphParameters.[Ch]:
3136 * ParameterStruct.h: remove space above/below from Paragraph to
3139 * BufferView_pimpl.C:
3145 * paragraph_funcs.C:
3151 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3153 * factory.C: Syntax change for CharStyles
3155 2003-11-28 André Pönitz <poenitz@gmx.net>
3160 * buffer.[Ch]: move LyXText member
3162 2003-11-28 André Pönitz <poenitz@gmx.net>
3164 * BufferView.[Ch]: make LyXText * text a private member
3166 * BufferView_pimpl.C:
3177 * output_plaintext.C: cleanup
3179 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3182 * lyxtextclass.[Ch]: parametrize SGML document header
3184 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3187 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3190 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3192 * text2.C (setFont): rework using PosIterator (no more recursive)
3193 (setCharFont): no more needed
3194 (setLayout): no more selection cursors fiddling (done by redoCursor)
3195 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3196 destroy remaining ones)
3198 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3200 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3202 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3205 * text3.C: adjust + re-allow multi par depth changes
3206 * textcursor.C: simplify a bit
3208 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3214 * src/output_docbook.C:
3215 * src/output_latex.C:
3220 * src/text2.C: Introducing a number of tags parametrizing various
3221 XML formats that we may want to support
3223 2003-11-25 André Pönitz <poenitz@gmx.net>
3225 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3227 * lyxtext.h (leftMargin/rightMargin): simplify interface
3234 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3236 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3237 master file to any child files. Fixes bug 546.
3239 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3241 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3243 2003-11-24 André Pönitz <poenitz@gmx.net>
3245 * rowpainter.C: simplification
3247 * text2.C (updateCounters): remove call to redoParagraph on
3248 changed labels as this is far too expensive.
3250 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3252 * converter.C (convert): fix a crash: this function gets
3253 called with buffer == 0 from importer code.
3255 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3257 * text3.C (cursorPrevious): make sure that we do not compare
3258 iterators form different containers.
3261 * rowpainter.C (paintSelection): make sure that we do not compare
3262 iterators from different containers.
3264 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3265 iterators from different ParagraphList containers.
3268 * text2.C (LyXText): change order of initialization slightly
3269 (operator=): new function. copy all variables except cache_par_
3270 (moveUp): make sure that we do not compare iterators from
3271 different ParagraphList constainers.
3274 * text.C (firstPar): new function
3275 (lastPar): new function
3276 (endPar): new function
3278 * lyxtext.h: move things around and group public functions, public
3279 variables, private functions, private variables
3281 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3283 * factory.C: change call to InsetERT constructor to avoid
3284 additional invocation of method status
3285 * text2.C (toggleInset): remove redundant update() call
3286 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3287 instead of a Bufferview pointer
3289 2003-11-21 André Pönitz <poenitz@gmx.net>
3291 * rowpainter.C: simplification
3293 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3295 * text3.C (dispatch): make possible to extend a word/row selection
3298 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3300 * lyxtext.h: x0_,y0_ -> xo_,yo_
3301 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3302 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3303 * rowpainter.C (paintRows): paint full paragraphs
3305 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3307 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3310 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3312 * lyxtext.h: add x0_, y0_
3313 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3314 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3316 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3318 * text2.C (setCursorIntern): move the x_target update here *
3319 * text3.C: change some bv() to true/false in calls to
3320 cursorUp/Down/Right/Left
3321 * cursor.C: use helper function.
3323 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3325 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3326 * paragraph_funcs.[Ch]: correct comment
3327 * rowpainter.C: do not paint selections away from bv->cursor()
3328 Fix a long standing selection painting bug.
3329 * text3.C: generalize mouse-selection code to LyXTexts other that
3331 * textcursor.C: do not use y coords if we can use par offsets
3333 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3335 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3336 cursor position after e.g. inset insert)
3338 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3340 * lyxfind.C (replace): adjust to locking removal + some
3343 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3345 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3348 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3351 * output_docbook.C: XML sanitation: new layout
3352 parameters InnerTag and CommandDepth
3354 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3356 * BufferView_pimpl.C:
3358 * text3.C: Fix the insertion and modification of button-style
3361 2003-11-13 André Pönitz <poenitz@gmx.net>
3363 * InsetList.[Ch]: remove deleteLyXText
3365 * paragraph.[Ch]: cache beginOfBody position
3370 * text3.C: remove superfluous update() calls
3374 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3376 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3377 * BufferView.C (fitLockedInsetCursor): remove
3378 * cursor.[Ch] (getDim): add
3379 * text.C (getRowNearY): add faster version
3380 * text3.C: remove some update calls
3382 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3394 * text3.C: The Character Style /XML short element patch.
3396 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3399 * factory.C: Small step to solving 'unable to insert some insets'
3402 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3404 * cursor.[Ch] (updatePos): new function for updating the y
3405 position of the tip inset
3406 * bufferview_funcs.C (put_selection_at):
3407 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3409 2003-11-11 André Pönitz <poenitz@gmx.net>
3411 * text.C: remove big comment on invalid Paragraph pointers as it is
3414 2003-11-11 André Pönitz <poenitz@gmx.net>
3416 * text_funcs.[Ch]: merge with ...
3424 * Makefile.am: remove text_funcs.[Ch]
3426 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3428 * cursor.C (getPos): return absolute cached y coord
3430 * BufferView_pimpl.C (fitCursor): new simplistic code
3431 (workAreaDispatch): add a fitCursor call
3433 2003-11-10 André Pönitz <poenitz@gmx.net>
3436 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3438 2003-11-10 André Pönitz <poenitz@gmx.net>
3440 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3441 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3442 indicate that the cursor needs to leave an inset
3444 * lyxtext.h: remove inset locking
3446 * cursor.[Ch]: re-implement functionality provided by inset locking
3449 * BufferView_pimpl.[Ch]:
3451 * bufferview_funcs.[Ch]:
3463 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3465 * PosIterator.[Ch]: replace the stack with a vector, add inset
3467 * iterators.[C]: adjust
3469 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3471 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3473 * paragraph_funcs.C (readParToken): put the correct id in the
3474 error item, not the id of the top paragraph
3476 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3478 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3479 * bufferview_funcs.C (put_selection_at): use the above
3481 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3483 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3485 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3487 * output_linuxdoc.h:
3488 * output_plaintext.h:
3490 * output_docbook.h: add #include statements
3492 2003-11-05 José Matos <jamatos@lyx.org>
3494 * output_docbook.[Ch]:
3495 * output_latex.[Ch]:
3496 * output_linuxdoc.[Ch]:
3497 * output_plaintext.[Ch]: New files for output formats.
3498 * output.[Ch]: New file for helper functions.
3501 * paragraph_funcs.[Ch]: output functions moved to new files.
3503 * outputparams.h: rename of latexrunparams.h
3511 * paragraph_funcs.[Ch]:
3512 * paragraph_pimpl.[Ch]:
3513 * tabular.[Ch]: rename ascii to plaintext
3514 and LatexRunParams to OutputParams.
3516 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3518 * iterators.[Ch] (text): require bv argument
3519 * undo.C (recordUndo):
3520 * lyxfunc.C (dispatch):
3521 * bufferview_funcs.C (put_selection_at): adjust
3523 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3525 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3527 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3529 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3532 2003-11-04 André Pönitz <poenitz@gmx.net>
3534 * cursor.[Ch]: restructure
3537 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3539 * iterators.[Ch] (asCursor): remove
3541 * lfuns.h: remove LFUN_INSET_EDIT
3547 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3549 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3551 * lyxfind.[Ch]: complete overhaul
3552 * BufferView_pimpl.C:
3554 * paragraph.[Ch] (insert): add
3556 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3560 * text.C: remove dead spellcheck code
3562 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * dispatchresult.h: add a val setter
3566 * cursor.C (dispatch): use a tempvar for data_[i]
3568 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3570 * PosIterator.[Ch]: compile fix
3572 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3574 * text.C (cursorPar): deactivate the cursor cache
3576 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3578 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3580 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * text3.C (dispatch): adjust for new DisptchResult semantics.
3584 * lyxfunc.C (dispatch): handle update when return from
3585 Cursor::dispatch, adjust for new DispatchResult semantics.
3587 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3588 DispatchResult(true) mean to not update. Add class functions for
3589 setting dispatched and update, as well as reading.
3591 * cursor.C (dispatch): don't handle update here
3593 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3596 * trans_mgr.C: adjust
3598 * paragraph_funcs.C (readParToken): exception safety
3600 * lyxvc.h: store the vcs pointer in a scoped_ptr
3603 * lyxsocket.C (serverCallback): exception safety
3605 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3607 * ispell.C (clone): make it return a auto_ptr
3609 * factory.C (createInset): exception safety
3610 (readInset): exception safety
3612 * bufferlist.C (newBuffer): exception safety
3614 * Thesaurus.C (Thesaurus): use initialization for aik_
3616 * MenuBackend.C (expandToc): exception safety.
3618 2003-11-03 André Pönitz <poenitz@gmx.net>
3622 * bufferview_funcs.C: remove getInsetFromId()
3625 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3631 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3633 * PosIterator.C (distance, advance): new
3634 * bufferview_funcs.[Ch] (put_selection_at): new
3635 * iterators.[Ch] (lockPath): new
3637 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3639 * iterators.[Ch] (asPosIterator): added
3640 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3641 * PosIterator.[Ch]: added
3643 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3647 * cursor.C (dispatch):
3648 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3650 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3651 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3652 contructor, add a class function dispatched. Remove operator>=
3654 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3656 * debug.C: only use the default constructor for debugstream
3659 * main.C (main): include debug.h and setup the lyxerr streambuf
3662 2003-10-31 José Matos <jamatos@lyx.org>
3664 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3666 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3667 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3668 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3669 * paragraph_pimpl.C (simpleTeXSpecialC):
3670 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3671 add LatexRunParams argument.
3673 * exporter.C (Export): change call accordingly.
3675 * latexrunparams.h: add new member to take care of the other backends.
3676 2003-10-30 José Matos <jamatos@lyx.org>
3678 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3679 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3680 factorise code for paragraph output.
3682 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3685 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * text3.C (dispatch):
3688 * lyxfunc.C (dispatch):
3689 * cursor.C (dispatch):
3690 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3692 * dispatchresult.h: make the dispatch_result_t ctor explicit
3694 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3697 * buffer.C: small refactoring of docbook stuff
3699 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3704 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3706 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3707 operator dispatch_result_t, and operators for == != and >=
3709 * cursor.C (dispatch): adjust for operator dispatch_result_t
3710 removal. comment out call to update
3712 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3714 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3725 * dispatchresult.h: new file, DispatchResult broken out of
3728 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3730 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3732 * text.C (rowBreakPoint): put a hack inside #if 0
3734 2003-10-28 André Pönitz <poenitz@gmx.net>
3738 * paragraph_funcs.C:
3741 * text2.C: general cleanup (lots of small stuff)
3743 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3745 * text2.C (cursorEnd): simple fix to the "end key goes to one
3746 before the end on last row" bug
3748 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3750 * text.C (backspace): fix the "zombie characters"
3752 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3754 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3756 2003-10-27 André Pönitz <poenitz@gmx.net>
3758 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3760 * factory.C: handle new InsetPagebreak, InsetLine
3762 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3763 and move handling into new InsetPagebreak, InsetLine
3765 * BufferView_pimpl.C:
3767 * ParagraphParameters.C:
3768 * ParameterStruct.h:
3773 * paragraph_funcs.C:
3774 * paragraph_pimpl.C:
3780 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3783 * lyxrow_funcs.[Ch]:
3789 * text3.C: remove lastPos uses in favour of Row::endpos
3791 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3793 * undo.C (performUndoOrRedo): fix two crashes by setting a
3794 cursor by hand and reordering some calls. Use bv->lockInset instead
3795 of inset->edit because the latter loses cursor information
3797 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3799 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3801 (rowBreakPoint): fix width. change point to point + 1.
3802 Add a missing check.
3804 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3807 * lyxfunc.C: fix (at least partly) the problems
3808 with the Nav menu and headers inside branch insets
3811 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3813 * paragraph.C (getChar): add strong asserts
3815 * lyxrow_funcs.C (lastPos): remove hideous hack
3817 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3818 (fill): adjust to that (avoid an infinite loop)
3820 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3822 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3824 2003-10-23 André Pönitz <poenitz@gmx.net>
3826 * RowList_fwd.h: change list<> to vector<> to gain speed
3827 after suggestion from Alfredo
3829 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3831 * lyxtext.h: move the bidi stuff from here...
3834 * Bidi.[Ch]: ... to here
3836 2003-10-23 André Pönitz <poenitz@gmx.net>
3839 * text.C (isLastRow, isFirstRow): new functions
3841 * paragraph.h: new width cache member
3843 * rowpainter.C: replace RowList::iterator with Row & where possible
3845 * lyxfunc.C: replace several view()->text with a single call
3847 * toc.C: fix 'unused' warning
3849 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3852 when woring with stream::pos_type
3853 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3855 2003-10-22 André Pönitz <poenitz@gmx.net>
3858 * text.C: use Row & instead of RowList::iterator
3860 * lyxrow.h: rename end() to endpos()
3866 2003-10-22 Angus Leeming <leeming@lyx.org>
3868 * buffer.[Ch] (fully_loaded): new member function, returning true
3869 only when the file has been loaded fully.
3870 Used to prevent the premature generation of previews and by the
3871 citation inset to prevent computation of the natbib-style label.
3873 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3874 templates are all set up.
3876 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3878 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3880 * text.C: fixed an "oops" in the "is a bit silly"
3883 2003-10-21 André Pönitz <poenitz@gmx.net>
3885 * FuncStatus.[Ch]: small stuff, whitespace
3887 * lyxfont.[Ch]: operator<<() for debug reasons
3891 * lyxtext.h: whitespace, spelling
3893 * paragraph.C: naming of variables
3896 * text2.C: small stuff
3899 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3901 * text.C: (1) finish off the inset display() work;
3902 (2) fix the "is a bit silly" bug (accessing char
3905 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3907 * text.C: re-introduce display() for insets, fixing the
3908 various bugs (stretch of line above, math inset
3911 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3913 * text.C (rightMargin): remove spurious semicolon
3915 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3918 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3920 * text3.C: fix one crash due to wrong cursor def
3922 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * vc-backend.C (scanMaster): make the regex static
3926 * LaTeX.C (scanAuxFile): make the regexs static
3928 * text3.C (doInsertInset, dispatch, dispatch):
3929 * text2.C (cursorUp, cursorDown):
3930 * text.C (selectNextWordToSpellcheck):
3931 * BufferView_pimpl.C (dispatch):
3932 * lyxfunc.C (dispatch): localDispatch -> dispatch
3934 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3936 * lyxsocket.C: include <cerrno>
3938 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3940 * lyxfunc.C (dispatch): remove textcache stuff
3942 * bufferlist.C (release): remove textcache stuff
3945 * TextCache.C: delete file
3946 * TextCache.h: delete file
3948 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3950 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3951 delete of the bv_->text.
3952 (resizeCurrentBuffer): remove texcache stuff
3953 (workAreaResize): ditto
3955 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3957 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3960 2003-10-16 André Pönitz <poenitz@gmx.net>
3967 * text3.C: speed up by storing y positions per paragraph plus per-row
3968 offset instead of having a 'full' y position in the row.
3970 2003-10-15 André Pönitz <poenitz@gmx.net>
3974 * undo.[Ch]: make undo aware of inner insets
3976 2003-10-14 Angus Leeming <leeming@lyx.org>
3978 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3979 static member functions LyX::ref() and LyX::cref.
3980 (lastfiles): new accessor functions for the new lastfiles_ member var.
3981 (addLyXView, views_): add a new LyXView to the list of views_.
3982 (updateInset): loop over all LyXViews to call their own updateInset
3983 member function, returning a pointer to the Buffer owning the inset.
3985 * BufferView_pimpl.C (loadLyXFile):
3986 * MenuBackend.C (expandLastfiles):
3987 * bufferlist.C (MenuWrite, QuitLyX):
3988 lastfiles is no longer a global variable.
3989 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3991 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3992 static function. Access through LyX::cref().emergencyCleanup().
3994 2003-10-14 André Pönitz <poenitz@gmx.net>
3996 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3998 * undo.[Ch]: restoring part of 'undo in insets'
4001 * undo_funcs.[Ch]: merge with undo.[Ch]
4003 * tabular.C: small cleansing stuff
4005 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4007 * paragraph_funcs.C (readParToken): report unknown insets as error
4008 boxes. Use the outer paragraph as location (also for unknown
4011 * factory.C (readInset): do not abort on reading an unknown inset.
4012 Eat it and return 0.
4014 2003-10-13 Angus Leeming <leeming@lyx.org>
4016 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4018 * lyxrc.C: displayTranslator is now a function,
4019 declared in GraphicsTypes.h.
4021 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4023 * format.C: new placeholder $$a to pass the socket address.
4025 * bufferlist.[Ch]: new function getBufferFromTmp.
4027 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4028 files in the temporary dir.
4030 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4032 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4034 * Makefile.am: add lyxsocket.[Ch].
4036 * lyx_main.C (error_handler): handle SIGPIPE.
4038 2003-10-13 André Pönitz <poenitz@gmx.net>
4040 * BufferView_pimpl.C:
4045 * undo_funcs.[Ch]: use paroffset_type instead of
4046 ParagraphList::iterators to prevent multiple conversion
4047 (and get a more robust interface)
4049 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4053 * text3.C (dispatch): ditto
4055 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4057 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4058 move the onlyfile, use onlyfile instead of foundfile in a couple
4061 * DepTable.C (update): flush the error stream a bit more
4063 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4065 * lyxserver.C (callback): adjust
4067 * lyxfunc.C (getStatus): add a missing brace in commented code
4068 (ensureBufferClean): reindent
4069 (dispatch): delete version taking a string
4071 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * LaTeX.C (deplog): move found file handlig from here...
4074 (handleFoundFile): .. to new function here.
4075 (deplog): make sure to discover several files mentioned on the
4078 2003-10-10 André Pönitz <poenitz@gmx.net>
4085 * text3.C: fix some of the tabular crashes
4087 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4089 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4091 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4093 2003-10-09 André Pönitz <poenitz@gmx.net>
4095 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4098 * BufferView_pimpl.C:
4099 * bufferview_funcs.C:
4110 * undo_funcs.C: adjust
4112 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * text2.C (incrementItemDepth): new function, use a backtracking
4115 algorithm to discover the correct item depth.
4116 (resetEnumCounterIfNeeded): new function, use a backtracking
4117 algorithm to discover if counter reset is needed.
4118 (setCounter): use them. Simplify a bit. Add different labels for
4119 different item depths for itemize.
4121 * paragraph.C (Paragraph): remove initialization of enumdepth
4124 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4125 enumerate and itemize. Change the type of itemdepth to signed char.
4127 2003-10-08 André Pönitz <poenitz@gmx.net>
4129 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4134 * tabular.[Ch]: fix crash after 'row-insert'
4136 2003-10-08 Angus Leeming <leeming@lyx.org>
4138 Fix doxygen warnings.
4140 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4141 Remove CutAndPaste:: prefix from header file declaration.
4143 * LColor.h (fill): remove LColor:: prefix from declaration.
4145 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4146 use lyx::depth_type rather than Paragraph::depth_type so that
4147 header file and .C file match.
4149 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4151 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4152 * aspell.C: \file aspell_local.C -> \file aspell.C
4153 * gettext.C: \file gettext.C -> \file src/gettext.C
4154 * gettext.h: \file gettext.h -> \file src/gettext.h
4155 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4156 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4157 * text.C: \file text.C -> \file src/text.C
4159 * toc.C: move comment so that doxygen is not confused.
4161 2003-10-07 Angus Leeming <leeming@lyx.org>
4163 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4165 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4168 * aspell_local.h: add forgotten std::string's.
4170 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4177 * text3.C: The Box patch. Fancybox support, minipage, parbox
4179 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4185 * ParagraphParameters.h:
4195 * lyxtextclasslist.h:
4198 * paragraph_pimpl.C:
4199 * textcursor.h: add <string> and other small fixes to make Lars'
4200 std::string patch compile with STLport.
4202 2003-10-06 Angus Leeming <leeming@lyx.org>
4204 * LColor.h: Add missing #include <string>.
4206 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4208 * All most all file in all subdirs: Make <string> be the prefered
4209 way of getting to std::string, add using declarations.
4211 2003-10-06 André Pönitz <poenitz@gmx.net>
4213 * metricsinfo.C: initialize LyXFont before changing attribute.
4214 (fixes the 'math in \emph is upright' bug)
4216 2003-10-06 André Pönitz <poenitz@gmx.net>
4218 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4220 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4223 * paragraph_pimpl.C: Small fixes to build using STLport
4225 2003-10-02 André Pönitz <poenitz@gmx.net>
4228 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4230 2003-10-01 André Pönitz <poenitz@gmx.net>
4232 * factory.C: assert early
4234 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4236 * lyx_main.C: remove the global debug object
4238 * debug.h: adjust for new debugstream
4240 * debug.C: adjust for new debugstream and keep the global debug
4243 2003-09-22 Angus Leeming <leeming@lyx.org>
4245 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4246 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4247 an incomplete class LyXFont.
4249 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4251 * factory.C: bug fix in branches
4253 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4255 * lyxfunc.C (processKeySym): adjust
4257 (dispatch): change arg name from ev to func, adjust
4258 (sendDispatchMessage): ditto
4260 * lyx_main.C (defaultKeyBindings): adjust keybindings
4261 (deadKeyBindings): ditto
4263 * kbsequence.C (addkey): return a FuncRequest
4265 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4267 * kbmap.C (bind): take a FuncRequest as arg, adjust
4270 (defkey): change to take a FuncRequest as arg, adjust
4271 (findbinding): take a FuncRequest as arg, adjust.
4273 * funcrequest.h (operator=): added
4275 * funcrequest.C (FuncRequest): default kb_action changed from
4276 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4278 * buffer.C (dispatch): simplify
4279 (dispatch): adjust to take a FuncRequest as arg, adjust
4281 * boost.C (assertion_failed): change assertion message slightly
4283 * ToolbarBackend.C (read): simplify
4285 * MenuBackend.C (binding): adjust call to findbinding, add a
4286 message if no binding is found.
4288 (expandToc): correct by adding a empty FuncRequest
4290 * LyXAction.C: include <boost/assert.hpp>
4291 (isPseudoAction): delete function
4292 (LookupFunc): change name to...
4293 (lookupFunc): this. change return type to FuncRequest.
4294 (getActionName): take kb_action as arg, simplify
4295 (funcHasFlag): add an assert, simplify.
4297 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * toc.C (action): return a FuncRequest, simplify
4301 * lyxfunc.C (processKeySym): adjust
4302 (getStatus): delete version that takes an int.
4304 (dispatch): delete version that takes action as int
4306 (sendDispatchMessage): simplify and adjust
4308 * funcrequest.C (getArg): take unsigned int as arg
4310 * ToolbarBackend.C (read): adjust
4311 (add): delete version that takes func as a string.
4312 (getIton): take a FuncRequest as arg
4314 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4317 * MenuBackend.C (MenuItem): add a new construct that only takes a
4318 Kind, simplify the constructor use for submenus.
4320 (expandLastfiles): adjust
4321 (expandDocuments): adjust
4322 (expandFormats): adjust
4323 (expandFloatListInsert): adjust
4324 (expandFloatInsert): adjust
4325 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4327 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4328 Remove class variables lyx_pseudo_map and lyx_arg_map
4330 * LyXAction.C (searchActionArg): delete function
4331 (getPseudoAction): delete function
4332 (retrieveActionArg): delete function
4333 (LookupFunc): make it return kb_action, simplify.
4334 (getActionName): simplify
4336 * factory.C (createInset): fix new bug
4338 2003-09-19 Angus Leeming <leeming@lyx.org>
4340 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4341 masterFilename_ parameter in the include inset.
4343 * factory.C (createInset): changes due to the changes to InsetInclude.
4345 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4347 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4349 2003-09-18 Angus Leeming <leeming@lyx.org>
4352 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4353 Inset::fillWithBibKeys.
4354 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4356 2003-09-18 Angus Leeming <leeming@lyx.org>
4358 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4360 (ctor): pass and store a 'Buffer const &'
4361 (buffer): new member function.
4363 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4364 '*this' to the LaTeXFeatures ctor.
4366 2003-09-18 Angus Leeming <leeming@lyx.org>
4372 * text.C: rename EnumLColor as LColor_color.
4374 2003-09-18 Angus Leeming <leeming@lyx.org>
4376 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4377 remove #include "insets/insetbase.h" from cursor.h.
4379 2003-09-18 Angus Leeming <leeming@lyx.org>
4381 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4382 InsetOld_code to remove #include "inset.h".
4384 * iterators.C: add #include "insets/inset.h"
4386 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4388 * BufferView.C: remove more locking stuff that apparently doesn't
4389 do anything sensible.
4391 2003-09-16 André Pönitz <poenitz@gmx.net>
4394 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4397 2003-09-16 Angus Leeming <leeming@lyx.org>
4399 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4401 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4404 * paragraph.h: remove #include "lyxfont.h". Forward declare
4407 2003-09-16 Angus Leeming <leeming@lyx.org>
4409 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4410 of support/textutils.h.
4411 (isWord): move the contents of support/textutils.h's IsWordChar here.
4417 * text2.C: add #include "paragraph.h".
4420 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4422 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * LaTeX.C: use namespace alias for lyx::support::os
4430 2003-09-16 Angus Leeming <leeming@lyx.org>
4433 * bufferview_funcs.C:
4436 * paragraph_pimpl.C:
4438 * text.C: add #include "LColor.h".
4440 2003-09-16 Angus Leeming <leeming@lyx.org>
4442 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4443 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4445 Store the FontBits::color variable as an int rather than as an
4446 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4449 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4450 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4451 string calls together.
4453 * lyxrc.C: add #include "LColor.h".
4455 2003-09-15 Angus Leeming <leeming@lyx.org>
4457 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4460 2003-09-15 Angus Leeming <leeming@lyx.org>
4462 * LColor.h: add an EnumLColor wrapper for LColor::color.
4464 * lyxfont.[Ch] (color, setColor, realColor):
4465 * lyxtext.h, text.C (backgroundColor):
4466 pass EnumLColor args to/from the functions, rather than LColor::color
4470 * lyxtext.h: forward declare EnumLColor.
4472 * lyx_main.C: add #include "LColor.h".
4474 2003-09-15 Angus Leeming <leeming@lyx.org>
4476 * .cvsignore: add lyx-gtk.
4478 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4483 * ParagraphParameters.C
4487 * bufferview_funcs.C
4497 * vc-backend.C: remove usage of STRCONV
4499 2003-09-15 Angus Leeming <leeming@lyx.org>
4501 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4502 explicitly define the color passed to the painter.
4504 2003-09-15 Angus Leeming <leeming@lyx.org>
4506 * bufferparams.C (BufferParams): reorder member initializers to avoid
4509 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4511 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4512 * text.C (updateRowPositions): remove an unusual nop
4514 2003-09-12 André Pönitz <poenitz@gmx.net>
4516 * BufferView_pimpl.C:
4525 * Counters.[Ch]: finish the 'automatic counters' job
4527 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4529 * aspell.C: include <boost/assert.cpp> (compile fix)
4531 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4533 * boost.C (assertion_failed): use lyx::support::abort instead of
4536 2003-09-10 Angus Leeming <leeming@lyx.org>
4538 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4539 with their _fwd progeny.
4541 2003-09-09 Angus Leeming <leeming@lyx.org>
4543 134 files throughtout the source tree: replace 'using namespace abc;'
4544 directives with the appropriate 'using abc::xyz;' declarations.
4546 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4548 * boost.C (emergencyCleanup): moved here from LAssert.c
4549 (assertion_failed): new function, called by BOOST_ASSERT
4551 * several files: change Assert to BOOST_ASSERT
4553 2003-09-09 Angus Leeming <leeming@lyx.org>
4555 * buffer.[Ch]: Add an Impl class and move Buffer's member
4556 variables into it. As a result move several header files out of
4559 Add header files to lots of .C files all over the tree as a result.
4561 2003-09-09 Angus Leeming <leeming@lyx.org>
4563 * buffer.[Ch]: make Buffer's member variables private. Add
4566 Lots of changes all over the tree as a result.
4568 2003-09-08 Angus Leeming <leeming@lyx.org>
4570 * graph.C: #include <config.h>.
4572 2003-09-08 Angus Leeming <leeming@lyx.org>
4576 * BufferView_pimpl.C:
4605 * toc.C: remove redundant using directives.
4607 2003-09-07 Angus Leeming <leeming@lyx.org>
4609 * LaTeXFeatures.h: remove #include "support/types.h".
4610 * ToolbarBackend.h: remove #include <algorithm>.
4611 * changes.h: remove #include <ctime>.
4612 * debug.h: remove #include <iosfwd>.
4613 * graph.h: remove #include "support/std_string.h".
4614 * lyx_main.h: remove #include <csignal>.
4615 * lyxlex_pimpl.h: remove #include <fstream>.
4616 * sgml.h: remove #include <algorithm>, <utility>.
4617 * toc.h: remove #include "support/std_ostream.h".
4618 Add #include <iosfwd>.
4620 2003-09-07 Angus Leeming <leeming@lyx.org>
4622 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4624 * converter.h: forward declare LatexRunParams.
4625 * encoding.h: remove #include "lyxrc.h".
4626 * lyxtext.h: remove #include "LColor.h".
4627 * lyxtextclass.h: remove #include "support/types.h".
4628 * trans.h: remove #include "tex-accent.h".
4629 * trans_mgr.h: remove #include "tex-accent.h".
4630 * insets/inset.h: remove #include "support/types.h", <vector>.
4631 * insets/insetcollapsable.h: remove #include "LColor.h".
4632 * insets/insetinclude.h: remove #include "dimension.h".
4633 * insets/insetlatexaccent.h: remove #include "dimension.h".
4634 * insets/insetoptarg.h:: remove #include "insettext.h".
4635 * insets/insettext.h: remove #include "dimension.h",
4636 <boost/shared_ptr.hpp>
4638 * insets/renderers.h: add #include "dimension.h".
4639 * insets/updatableinset.h: add #include "support/types.h".
4641 * many .C files: Associated changes.
4643 2003-09-06 Angus Leeming <leeming@lyx.org>
4645 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4646 one, inside testInvariant.
4648 * PrinterParams.C: new file.
4649 * PrinterParams.[Ch]: move the function bodies out of line.
4651 2003-09-06 Angus Leeming <leeming@lyx.org>
4653 * ParagraphParameters.h: forward declare ParameterStruct rather than
4654 including its header file.
4655 (depth): moved out-of-line.
4657 2003-09-06 Angus Leeming <leeming@lyx.org>
4659 * BufferView_pimpl.h:
4662 * lyxfunc.h: forward declare LyXKeySym rather than
4663 #include "frontends/LyXKeySym.h".
4665 * BufferView_pimpl.C:
4668 * lyxfunc.C: associated changes.
4670 2003-09-06 Angus Leeming <leeming@lyx.org>
4672 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4673 As a result, can remove the #include "insets/inset.h" from BufferView.h
4675 2003-09-06 Angus Leeming <leeming@lyx.org>
4677 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4678 As a result, can remove the #include "insets/inset.h" from BufferView.h
4680 2003-09-06 Angus Leeming <leeming@lyx.org>
4686 * bufferview_funcs.C:
4687 * BufferView_pimpl.C:
4692 * ParagraphParameters.C:
4697 * frontends/controllers/ControlDocument.C:
4698 * insets/insetcaption.C: rearrange the #includes into some sort of
4701 * buffer.h: remove #includes ErrorList.h, undo.h
4703 2003-09-06 Angus Leeming <leeming@lyx.org>
4705 * support/types.h: add a 'depth_type' typedef, used to store the
4706 nesting depth of a paragraph.
4709 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4710 defining explicitly.
4713 * paragraph_funcs.h:
4714 * ParagraphParameters.h:
4715 * sgml.h: use lyx::depth_type rather than Paragraph or
4716 ParameterStruct's depth_type.
4719 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4722 * BufferView_pimpl.C:
4724 * ParagraphParameters.C:
4727 * bufferview_funcs.C:
4734 * frontends/LyXView.C:
4735 * frontends/controllers/ControlDocument.C:
4736 * frontends/controllers/ControlErrorList.C:
4737 * insets/insetbibitem.C:
4738 * insets/insetbranch.C:
4739 * insets/insetcaption.C:
4740 * insets/insetcollapsable.C:
4741 * insets/insetenv.C:
4742 * insets/insetert.C:
4743 * insets/insetfloat.C:
4744 * insets/insetfoot.C:
4745 * insets/insetfootlike.C:
4746 * insets/insetnewline.C:
4747 * insets/insetquotes.C:
4748 * insets/insettabular.C:
4749 * insets/insettext.C:
4750 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4752 * frontends/controllers/ControlChanges.C: #include "changes.h".
4754 2003-09-06 Angus Leeming <leeming@lyx.org>
4756 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4757 than #including paragraph.h.
4760 * RowList.h: deleted. Superfluous.
4770 * insets/insettext.h: use ParagraphList_fwd.h rather than
4773 * paragraph.h: don't forward declare ParagraphList.
4776 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4777 rather than ParagraphList.h. paragraph.h is still needed for the
4778 Paragraph::depth_type parameters.
4780 * textcursor.h: enable it to compile stand-alone in light of the
4783 * bufferview_funcs.C:
4795 * frontends/controllers/ControlParagraph.C:
4796 * frontends/controllers/ControlTabular.C:
4797 * insets/insetmarginal.C:
4798 * insets/insetminipage.C:
4799 * insets/insetnote.C:
4800 * insets/insetoptarg.C: add header files needed to compile again.
4802 2003-09-06 Angus Leeming <leeming@lyx.org>
4804 * RowList_fwd.h: new file, forward-declaring Row rather than
4805 #including lyxrow.h.
4810 * insets/insettext.h: use it instead of RowList.h
4812 * bufferview_funcs.C:
4819 * text3.C: #include "RowList.h".
4821 2003-09-05 Angus Leeming <leeming@lyx.org>
4823 * factory.C (createInset):
4824 * vspace.C (c-tor): replace sscanf call with an istringstream.
4825 * ispell.C: re-add missing HP/UX headers.
4826 * lyxserver.C: re-add missing os2 headers.
4828 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4837 * text3.C: re-add missing system headers, needed for 2.95.2.
4839 2003-09-05 Angus Leeming <leeming@lyx.org>
4841 Changes most place everywhere due to the removal of using directives
4842 from support/std_sstream.h.
4844 2003-09-05 Angus Leeming <leeming@lyx.org>
4846 Replace LString.h with support/std_string.h,
4847 Lsstream.h with support/std_sstream.h,
4848 support/LIstream.h with support/std_istream.h,
4849 support/LOstream.h with support/std_ostream.h.
4851 Changes resulting throughout the tree.
4853 2003-09-05 Angus Leeming <leeming@lyx.org>
4855 * sgml.h: ensure that the header file can be compiled stand-alone.
4856 * *.C: strip out redundant #includes. (320 in total.)
4858 2003-09-04 Angus Leeming <leeming@lyx.org>
4860 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4861 here (from getPackages).
4863 * debug.[Ch]: add a new EXTERNAL tag.
4865 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4867 * text2.C (cursorEnd): simplify
4869 (getColumnNearX): adjust
4871 * text.C (computeBidiTables): adjust
4874 * rowpainter.C (paintChars): adjust
4875 (paintSelection): adjust
4876 (paintChangeBar): adjust
4879 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4881 (numberOfSeparators): adjust
4883 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4889 * text3.C: Restricts the mouse click functionality
4890 of insets like bibtex, include, toc and floatlist to the visible
4891 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4892 up the dialogs. Cursor has to be in front of the inset (i.e.
4893 start of row) for this to function.
4895 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4897 * bufferview_funcs.C (currentState): output row information
4899 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4901 * bufferview_funcs.C (currentState): output paragraph position
4903 2003-09-04 Angus Leeming <leeming@lyx.org>
4905 * FloatList.h: move out #include "Floating.h".
4906 * LaTeX.h: move out #include "DepTable.h".
4907 * LyXAction.h: move out #include "funcrequest.h".
4908 * buffer.h: move out #include "author.h", "iterators.h".
4909 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4910 * lyx_main.h: move out #include "errorlist.h".
4911 * lyxfunc.h: move out #include "FuncStatus.h".
4912 * lyxtext: move out #include "lyxcursor.h".
4913 * paragraph_pimpl.h: move out #include "counters.h".
4915 2003-09-03 Angus Leeming <leeming@lyx.org>
4917 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4918 preamble_snippets list, enabling us to add snippets to the preamble
4919 only if the snippet was not there already.
4921 2003-09-04 Angus Leeming <leeming@lyx.org>
4923 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4925 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4930 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4932 * BranchList.C: point fix, earlier forgotten
4934 2003-09-02 Angus Leeming <leeming@lyx.org>
4936 * box.C (contains): renamed from 'contained' after a fantastic
4939 2003-09-02 John Levon <levon@movementarian.org>
4945 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4947 2003-09-02 John Levon <levon@movementarian.org>
4949 * text2.C: simplification of cursorEnd(), including partial
4952 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4954 * buffer.C (readFile): add a space
4956 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4958 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4960 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * buffer.C (readFile): new function, take a filename and a
4963 ParagraphList::iterator
4965 (readFile): adjust, make it private. don't use setStream, make
4966 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4967 always contain the filename.
4969 * BufferView.C (insertLyXFile): simplify and make it work for
4972 2003-08-30 John Levon <levon@movementarian.org>
4974 * Makefile.am: fix dist (from Kayvan)
4976 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * most files: change to use const Buffer refs
4980 2003-08-27 André Pönitz <poenitz@gmx.net>
4982 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4983 on top of ownerPar().
4985 2003-08-27 John Levon <levon@movementarian.org>
4987 * funcrequest.C: properly initialise POD members
4989 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4991 * lyxtext.h (top_y): move top_y from here
4996 * BufferView_pimpl.[Ch]: to here
4997 * frontends/screen.C:
4998 * insets/insettabular.C:
4999 * insets/insettext.C: adjust
5000 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5002 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5005 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5007 2003-08-26 André Pönitz <poenitz@gmx.net>
5009 * paragraph_func.[Ch] (outerPar): new function
5012 * paragraph_funcs.C:
5013 * paragraph_funcs.h:
5014 * paragraph_pimpl.C:
5015 * text2.C: remove Inset::par_owner
5017 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5022 * text2.C: eliminates the needFullRow/display() stuff
5023 altogether, putting the logic in metrics/draw in the insets.
5025 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5027 * text2.C (redoParagraphInternal, redoParagraphs):
5028 * text.C (redoParagraph): add a call to updateRowPositions at the
5029 end of each 'metrics-like' call. Remove all others.
5030 (getRow): remove the 'y-computing' version.
5031 (getRowNearY): do not compute nor return the real y. Solve the
5032 'y < 0' problem and simplify.
5034 2003-08-22 Angus Leeming <leeming@lyx.org>
5036 * *.[Ch]: clean-up of licence and author blurbs.
5037 Also move config.h out of a few .h files and into a few .C files.
5039 2003-08-22 André Pönitz <poenitz@gmx.net>
5041 * lyxrow.[Ch]: add x_ and *fill_ members
5046 * text2.C: adjust/remove prepareToPrint() calls
5048 2003-08-22 André Pönitz <poenitz@gmx.net>
5050 * lyxrow.[Ch]: add end_ member
5052 * lyxrow_funcs.C: use LyXRow::end_
5054 * lyxtext.h (singleWidth): add LyXFont parameter
5057 * text2.C: adjust LyXText::singleWidth() calls
5059 * text.C (redoParagraph): simplify row breaking logic
5062 2003-08-19 André Pönitz <poenitz@gmx.net>
5064 * funcrequest.C: initialize button_ member
5067 * rowpainter.[Ch]: interface consolidation
5069 2003-08-18 André Pönitz <poenitz@gmx.net>
5072 * BufferView_pimpl.C:
5074 * paragraph_funcs.C:
5076 * text3.C: remove LyXScreen::draw() and fitCursor calls
5078 * BranchList.h: remove spurious semicolons
5080 * MenuBackend.C: fix branchlist related crash
5082 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5090 * bufferparams.[Ch]:
5094 * text3.C: implements the 'branch inset'
5095 idea. This allows the output of various versions of a document
5096 from a single source version, selectively outputing or suppressing
5097 output of parts of the text.
5098 This implementation contains a 'branch list editor' in a separate
5099 tab of the document settings dialog. Branches are user definable
5100 and have a "display colour" to distinguish them on-screen.
5102 ColorHandler was somewhat cleaned up.
5103 (1) make possible a dynamically growing LColor list by allowing
5104 the graphic context cache to grow along (vector);
5105 (2) eliminate an IMHO unnecessary step in colour allocation.
5107 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5109 * BufferView_pimpl.C: compile fix
5111 2003-08-15 André Pönitz <poenitz@gmx.net>
5113 * rowpainter.C: remove extra metrics calls
5115 * lyxtext.h: merge the two constructors into a single one,
5116 pass reference to owner's par list
5118 * BufferView_pimpl.C:
5122 2003-08-15 André Pönitz <poenitz@gmx.net>
5124 * lyxrow_funcs.[Ch]:
5127 * paragraph_funcs.C:
5132 * text_funcs.C: split LyXText::rowlist_ into individual
5133 Paragraph::rows_ chunks
5136 * BufferView_pimpl.[Ch]:
5139 * text3.C: remove toggleSelection()
5141 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5143 * bufferlist.C: beautify two alerts (shorter text of buttons)
5144 * buffer.C: Remove redundant ' ' from message
5146 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5147 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5148 rename VALIGN_CENTER to VALIGN_MIDDLE
5150 2003-08-11 André Pönitz <poenitz@gmx.net>
5152 * lyxtext.h (getPar):
5153 * text.C: new function
5155 2003-08-11 André Pönitz <poenitz@gmx.net>
5158 * tracer.[Ch]: remove unneeded files
5160 * InsetList.[Ch]: remove resizeInsetsLyXText()
5165 * text3.C: merge insertParagraphs() and appendParagraph()
5166 remove breakAgain(), update()
5168 * BufferView_pimpl.[Ch]:
5169 * bufferview_funcs.[Ch]:
5173 * tabular.C: adjust after text & InsetList changes.
5175 2003-08-08 André Pönitz <poenitz@gmx.net>
5177 * text.C (insertChar, backspace): replace rowlist fiddling
5178 with rebreak of full par
5181 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5182 checkParagraph, updateInset): removed
5184 2003-08-07 André Pönitz <poenitz@gmx.net>
5187 * text3.C: merge some LFUN handlers, remove dead code
5189 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5191 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5193 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5195 * text2.C (DEPM): fix part of bug 1255 and 1256
5197 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5199 * BufferView_pimpl.C (workAreaDispatch): change to use
5200 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5201 that are no mouse related.
5203 2003-08-05 André Pönitz <poenitz@gmx.net>
5206 * BufferView_pimpl.[Ch]:
5207 * bufferview_funcs.C:
5209 * text3.C: rip out "deep update"
5211 * textcursor.[Ch] (last_sel_cursor): remove unused member
5213 2003-08-04 André Pönitz <poenitz@gmx.net>
5216 * BufferView_pimpl.[Ch]:
5217 * ParagraphParameters.C:
5218 * bufferview_funcs.C:
5224 * text3.C: replace "complicated" BufferView::update(...) calls with
5227 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5229 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5231 * Makefile.am (lyx_SOURCES): add paper.h
5233 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5235 * Makefile.am: move things around so that both lyx-qt and
5236 lyx-xforms can be built (according to --with-frontend). Then lyx
5237 is a symbolic link to lyx-[firstfrontend]
5239 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5241 * Always use std::endl with lyxerr
5243 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5245 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5247 2003-08-01 André Pönitz <poenitz@gmx.net>
5250 * BufferView_pimpl.[Ch]:
5252 * text3.C: merge BufferView::repaint() and BufferView::update()
5254 2003-08-01 José Matos <jamatos@lyx.org>
5256 * buffer.[Ch]: file_format is no longer a buffer data element.
5258 2003-08-01 André Pönitz <poenitz@gmx.net>
5263 * text2.C: make redoParagraph more independent of current cursor
5265 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5267 * text2.C: remove unneeded members
5269 2003-07-30 André Pönitz <poenitz@gmx.net>
5271 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5273 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5274 create a single function...
5276 * paragraph_funcs.C (moveItem): ... here.
5279 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5281 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5283 * LColor.[Ch]: Add comment and greyedout logical colors.
5285 2003-07-30 André Pönitz <poenitz@gmx.net>
5287 * tabular.C: don't use Assert too heavily. This crashes where it
5290 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5292 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5293 is disabled (bug 1232)
5295 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5297 * factory.C: limited 'arg' scope
5299 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5301 * factory.C: fixed Note submenu issues
5303 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5305 * factory.C: submenu for Note/Comment/Greyedout
5307 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5310 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5312 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5315 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5316 greyedout. Patch provided by Jürgen Spitzmüller.
5318 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5320 * kbmap.C (read): fix error message when reading bind files
5322 2003-07-29 Angus Leeming <leeming@lyx.org>
5324 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5325 certainly does not do what it purports to do. I am doing it, and
5326 us, a favour by killing it.
5328 2003-07-28 José Matos <jamatos@lyx.org>
5330 * buffer.C (readBody, do_writeFile):
5331 * paragraph.C(readParagraph): \end_document replaces \the_end.
5333 2003-07-29 André Pönitz <poenitz@gmx.net>
5336 * BufferView_pimpl.[Ch]:
5340 * textcursor.[Ch]: remove toggleToggle & Co
5342 2003-07-28 José Matos <jamatos@fep.up.pt>
5344 * buffer.C (readParagraph):
5345 * params_func (readParToken, readParagraph):
5346 * paragraph.C (write): \layout -> \begin_layout.
5348 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5350 * lyxlex_pimpl.C (setFile): clean up slightly.
5352 * bufferparams.h: add compressed var
5354 * buffer_funcs.C (readFile): adjust for LyXLex change
5355 (newFile): ditto + simplify
5357 * buffer.C (writeFile): handle writing of compressed files
5359 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5360 Check if the file is compressed and set a bufferparm if so.
5362 * Makefile.am (lyx_LDADD): remove explicit -lz
5364 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5366 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5367 makeDocBookFile): put the real LyX version in the first line of
5371 * version.C.in: remove lyx_docversion
5373 * tabular.C (write_attribute): add a template-based version to
5374 write enums properly
5376 2003-07-28 André Pönitz <poenitz@gmx.net>
5381 * text3.C: use doubles again for x-coordinates. They are needed.
5383 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5385 * messages.C (getLocaleDir): use lyx_localedir()
5387 * lyxlex_pimpl.C (setFile): compress stuff
5389 * buffer.C (writeFile): add some compression stuff
5390 (do_writeFile): new func, dont call expliti close... will this
5393 * Makefile.am (lyx_LDADD): add -lz
5395 2003-07-28 José Matos <jamatos@fep.up.pt>
5397 * buffer.C: increment file format.
5398 * paragraph_funcs (readParagraph, readParToken):
5399 * paragraph.C (readParagraph): add \end_layout.
5401 2003-07-27 Angus Leeming <leeming@lyx.org>
5403 * Makefile.am: remove special casing for configure-time setting of
5404 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5406 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5407 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5409 2003-07-26 André Pönitz <poenitz@gmx.net>
5411 * paragraph_func.[Ch]:
5412 * paragraph.C (realizeFont): inline it whereever it is used
5417 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5420 2003-07-26 André Pönitz <poenitz@gmx.net>
5424 * text2.C: get rid of LyXText::need_break_row
5426 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5428 * toc.[Ch]: put namespace toc inside namespace lyx
5430 * MenuBackend.C (expandToc2): adjust for lyx::toc
5433 * lyxfunc.C (dispatch): adjust for lyx::find
5435 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5436 lyx::find instead. Reorganize a bit.
5437 (LyXReplace): rename to replace
5438 (LyXFind): rename to find
5440 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5443 2003-07-26 André Pönitz <poenitz@gmx.net>
5445 * text.C (setHeightOfRow): restrict scope of temporary variable
5447 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5448 code (never has been used?)
5450 2003-07-27 Asger Alstrup <alstrup@local>
5452 * text.C (fill): Optimise algorithm to exploit that we can reuse
5453 the LyXFont for many characters.
5454 (setHeightOfRow): Same thing.
5455 (rowBreakPoint): Same thing.
5457 2003-07-26 Asger Alstrup <alstrup@local>
5459 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5461 * text.C (singleWidth): Spurious font copying in hot-spot
5462 singleWidth avoided. Reorder tests for arabic for efficiency.
5464 * text.C (fill): handle empty paragraphs better.
5466 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5469 * encoding.h: add includes
5471 * lyxrc.C: remove reading of bind files
5473 * lyx_main.C (init): setup bindings and menus only if we have a
5476 * kbmap.C (read): new method. Do the actual reading of bind
5479 * converter.C (dvipdfm_options):
5482 (output): adapt PAPER_* enums.
5484 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5486 * bufferparams.h: remove paper-related enums from there
5488 * paper.h: New file. A trivial header file to hold paper-related
5489 enums. It should later expand to contain many paper-related
5492 * lyxrc.C: declare extern displayTranslator
5494 2003-07-27 José Matos <jamatos@fep.up.pt>
5496 * tabular.[Ch] (linuxdoc): add support for tables and figures
5499 2003-07-27 José Matos <jamatos@fep.up.pt>
5501 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5502 consistency in both functions.
5503 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5505 2003-07-26 Asger Alstrup <alstrup@local>
5507 * rowpainter.C (paintRows): Change algorithm to work directly on
5508 the insets rather than asking every character in the document
5509 whether its an inset.
5511 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5513 * buffer.C (openFileWrite): factorize some code
5515 2003-07-26 Angus Leeming <leeming@lyx.org>
5518 * lyx_main.[Ch]: replace occurances of system_tempdir with
5521 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * rename Inset to InsetOld
5525 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5527 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5528 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5529 which I think is a bit clearer. EDIT is gone, since it was
5530 premature optimisation, and broken for mathed anyway.
5531 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5532 with cursor positioning in insets as well (math insets still do not
5533 work, but that's a different story anyway.) It mysteriously
5534 crashes sometimes with undo in the first paragraph, but I'm fairly
5535 confident that this is a compiler bug.
5537 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * paragraph.C (Paragraph): adjust for new clone return type
5541 (copyIntoMinibuffer): ditto
5543 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5545 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5546 by not having a special case, and always doing a full rebreak of
5547 the document after undo.
5549 2003-07-23 Angus Leeming <leeming@lyx.org>
5551 * factory.C (createInset): InsetExternal::setParams now takes a
5554 2003-07-23 Angus Leeming <leeming@lyx.org>
5556 * factory.C (createInset): changed interface to the external and
5557 graphics mailers' string2params functions.
5559 2003-07-23 Angus Leeming <leeming@lyx.org>
5561 * factory.C (createInset): pass a
5562 Buffer const * parameter to InsetExternalMailer's string2params.
5564 2003-07-22 John Levon <levon@movementarian.org>
5566 * Thesaurus.h: include the right aiksaurus header
5568 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5570 * MenuBackend.C (expand): check menu shortcuts unconditionally
5572 2003-07-21 Angus Leeming <leeming@lyx.org>
5574 * factory.C (createInset): pass a
5575 buffer_path parameter to InsetGraphicsMailer's string2params.
5577 2003-07-21 Angus Leeming <leeming@lyx.org>
5579 * BufferView_pimpl.C (buffer):
5582 * lyxfunc.C (dispatch):
5583 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5584 rather than the grfx shortcut.
5586 2003-07-21 André Pönitz <poenitz@gmx.net>
5588 * rowpainter.C: remove unused variables
5591 * tabular_funcs.h: move to tabular.C
5592 * Makefile.am: adjust
5594 * tabular.[Ch]: basic optical cleaning
5596 * author.h: pass references, not values
5598 2003-07-18 André Pönitz <poenitz@gmx.net>
5606 * text3.C: two-phase drawing for InsetText and InsetTabular
5607 some float -> int changes.
5609 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5611 * lyx_main.C: fix the fix
5613 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5615 * lyx_main.C: fix a crash in batch mode if no files specified
5618 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5620 * format.[Ch] (papersize): moved to BufferParams
5621 * converter.[Ch] (dvips_options): moved to BufferParams
5622 (dvipdfm_options): moved to anon namespace
5623 * bufferparams.[Ch]: added above functions.
5625 2003-07-17 André Pönitz <poenitz@gmx.net>
5629 * text2.C: don't call inset->update() anymore
5631 * metricsinfo.[Ch]: add convenience constructor
5633 2003-07-16 André Pönitz <poenitz@gmx.net>
5638 * text2.C: replace the LyXCursor::irow_ member with
5639 on-demand computation of the value
5641 2003-07-16 John Levon <levon@movementarian.org>
5643 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5645 2003-07-15 André Pönitz <poenitz@gmx.net>
5648 * text2.C: remove no more needed refresh_row
5650 2003-07-15 André Pönitz <poenitz@gmx.net>
5655 * text3.C: refresh_status tristate -> need_update bool
5657 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5659 * lyxtext.h (init): remove reinit argument (act as if always true)
5660 * text2.C: adjust to that
5662 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5664 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5665 * text3.C: use it to delete selections in some cases
5666 (bugs 441, 673, 702, 954).
5668 2003-07-14 André Pönitz <poenitz@gmx.net>
5670 * rowpainter.[Ch]: reduce interface
5672 2003-07-14 André Pönitz <poenitz@gmx.net>
5674 * BufferView_pimpl.C:
5675 * text2.C: adjust after removing unused BufferView * argument
5677 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5679 * text2.C (init): fix a crash fired on resize
5681 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5683 * buffer.[Ch]: added new closing signal
5684 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5685 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5686 BufferView::Pimpl via the closing the signal
5688 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5690 * buffer.[Ch]: take out all bv-related from buffer
5692 * BufferView_pimpl.[Ch]: connect to new signals
5693 * CutAndPaste.C: removed useless asserts
5694 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5697 * lyxfunc.C: moved view-related funciontality from vc here
5698 * paragraph.C: removed outdated comments
5701 2003-07-10 André Pönitz <poenitz@gmx.net>
5703 * BufferView_pimpl.C:
5707 * text2.C: remove InsetText::InnerCache, clean up consequences
5709 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5711 * ispell.C: fix two typos in error messages
5713 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5715 * Extend Note inset to other forms of annotation like Comment
5716 and Greyedout. Right button click gives dialog.
5718 Files modified or added (+):
5722 * ControlNote.[Ch] +
5724 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5725 frontends/controllers
5729 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5731 * aspell.C: add missing namespace lyx::support
5733 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5735 * BufferView.[Ch] (newFile): Add
5736 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5737 * LaTeX.[Ch] (message): added this signal and use it
5738 * buffer.[Ch] (busy, message): added these signals and use them
5739 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5743 * importer.C: use buffer signals instead of direct bv calling
5744 * lyx_cb.[Ch] (ShowMessage): removed
5747 * paragraph_funcs.C:
5748 * text2.C: use buffer signals
5750 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * introduce namespace lyx::graphics
5754 2003-07-02 André Pönitz <poenitz@gmx.net>
5756 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5758 2003-07-01 André Pönitz <poenitz@gmx.net>
5765 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5766 text*.C to text_func.C
5768 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * introduce namespace lyx::support
5772 2003-06-30 André Pönitz <poenitz@gmx.net>
5777 * text.C: re-enable --with-included-string
5779 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * textcursor.C: add <config.h>
5783 * text.C (getWord): remove const from word_location arg
5785 * lyxvc.C (getLogFile): fix const type order
5787 * lyxtext.h: remove const from word_location arg, add arg name
5789 * lyxlayout.h: currect type on labeltype.
5791 * importer.C: correct \file
5793 * converter.C (intToFormat): use std:: on ret val, ws changes
5795 * bufferlist.h: correct \file
5797 * buffer.C (makeLinuxDocFile): fix const type order
5798 (makeDocBookFile): ditto
5799 (fillWithBibKeys): use std:: on stdlib args.
5801 * CutAndPaste.C: fix authors.
5802 (availableSelections): use std:: on return vector
5804 2003-06-27 André Pönitz <poenitz@gmx.net>
5806 * BufferView_pimpl.C:
5807 * bufferview_funcs.C:
5815 * text3.C: remove LyXCursor::row_ member
5818 * text.C: rename fullRebreak() to partialRebreak() and implement
5819 a fullRebreak() that really bereks fully
5821 * textcursor.h: new struct for cursor-related data
5823 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5825 * lyx_main.C (LyX): get full path of document loaded on the
5828 2003-06-26 André Pönitz <poenitz@gmx.net>
5830 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5831 remove unused/broken operator>,<,>=.
5833 * text.C: remove only use of broken operator<= in an Assert().
5835 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5837 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5838 moved errorlist_.clear to showErrorList
5840 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5842 * converter.C (scanLog, runLaTeX):
5843 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5844 move the bv->showErrorList call to the callers
5845 * lyxfunc.C: i.e. here...
5847 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5848 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5849 namespace, the second to...
5850 * buffer_funcs (BufferFormat, parseErrors): added
5851 * errorlist.C (ErrorList(TeXErrors const &)): removed
5853 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5855 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5857 2003-06-24 "Garst R. Reese" <reese@isn.net>
5861 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5863 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5865 * version.C.in: change docversion to 1.4
5867 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5869 * buffer.C: fix a bug just introduced
5871 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5873 * buffer.[Ch]: added the parseError signal and use it, removed
5875 * BufferView.[Ch] (addError): moved to ...
5876 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5877 to the Buffer::parseError signal to catch (guess what) parse errors
5878 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5880 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5882 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5883 ability to create a buffer and to return an existing one from
5884 the list. Moved these functions to...
5885 * buffer_funcs.[Ch]: added
5886 * BufferView.[Ch] (loadLyXFile): added
5887 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5888 job removed from bufferlist::loadLyXFile.
5889 * buffer.C (setReadOnly): make it work without view
5890 (i.e added an if (users))
5892 2003-06-19 Angus Leeming <leeming@lyx.org>
5895 * LyXAction.C (init):
5896 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5897 with LFUN_DIALOG_SHOW <name> <data>.
5899 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5901 * CutAndPaste.C (availableSelections): small compilation fix for
5902 ancient (gcc 2.9x) compilers
5904 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5906 * text3.C (cursorNext): add tmp var
5908 * text2.C (updateCounters): for function calling out of for clause
5909 (replaceSelectionWithString): ditto
5910 (insertStringAsParagraphs): ditto
5911 (getColumnNearX): add tmp var
5912 (setCursorFromCoordinates): add tmp var
5913 (cursorDownParagraph): add tmp var
5914 (deleteEmptyParagraphMechanism): add tmp var
5916 * text.C (insertChar): add tmp var
5918 * rowpainter.C (paintDepthBar): add tmp var
5920 * CutAndPaste.C (availableSelections): potentially check all
5921 paragraphs in a cut to fill the shown strings.
5923 2003-06-18 André Pönitz <poenitz@gmx.net>
5925 * kbmap.[Ch]: use vector<> instead of list<>
5927 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5929 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5930 pasteSelection with index
5932 * text2.C (pasteSelection): modify, call pasteSelection with index
5934 * paragraph.C (asString): reimplement version with no interval to
5935 call the one with interval.
5937 * lyxtext.h: add index arg to pasteSelection
5939 * MenuBackend.C (MenuItem): handle PasteRecent
5940 (Menu::read::Menutags): add md_pasterecent
5942 (expandPasteRecent): new function
5945 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5947 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5949 (availableSelections): new function
5951 2003-06-17 Angus Leeming <leeming@lyx.org>
5953 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5955 2003-06-17 Angus Leeming <leeming@lyx.org>
5958 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5960 * lyxfunc.C (dispatch): invoke it.
5962 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5964 * iterators.C (operator++, ParPosition): reintroduce some
5965 const_cast for the benefit of older compilers.
5967 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5969 * text3.C (dispatch): do not modify clipboard when doing
5970 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5971 LFUN_DELETE_SKIP on a selection selection
5973 2003-06-16 André Pönitz <poenitz@gmx.net>
5979 * tabular.[Ch]: IU of clone() and getLabelList();
5981 2003-06-13 André Pönitz <poenitz@gmx.net>
5983 * tabular.h: compactification
5985 2003-06-12 André Pönitz <poenitz@gmx.net>
5989 * tabular_funcs.h: some renaming plus whitespace
5991 2003-06-12 André Pönitz <poenitz@gmx.net>
5994 * BufferView_pimpl.C:
6000 * toc.C: Return a Paragraph & for ParIterator::operator*()
6002 2003-06-11 John Levon <levon@movementarian.org>
6006 * ToolbarBackend.C: add "Toolbars" section and
6009 2003-06-10 Angus Leeming <leeming@lyx.org>
6012 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6014 * lyxfunc.C (dispatch): invoke it.
6016 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * main.C: protect <ios> with HAVE_IOS
6019 (main): protect sync_with_stdio with HAVE_IOS
6021 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6023 * text2.C (cutSelection): adjust
6024 (pasteSelection): adjust
6026 * messages.C: handle get of empty string
6028 * main.C (main): use sync_with_stdio(false)
6030 * lyxfunc.C (dispatch): adjust
6032 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6033 (WriteAs): remove unneeded BufferView arg.
6035 * bufferparams.h: use correct types on papersize, papersize2 and
6038 * bufferparams.C (readToken): adjust for type
6039 (writeLaTeX): add missing cases to switch.
6041 * bufferlist.C (quitWriteBuffer): adjust
6044 * buffer.C (asciiParagraph): remove some commented code.
6046 * CutAndPaste.C: remove current_view extern variable.
6047 (cutSelection): add BufferParams arg.
6048 (eraseSelection): add BufferParams arg.
6049 (pasteSelection): add Buffer const & arg
6051 2003-06-07 John Levon <levon@movementarian.org>
6054 * paragraph_funcs.C:
6055 * paragraph_pimpl.C:
6059 * paragraph.C: allow InsetERT to freely space lines,
6060 and some consolidation of code
6062 2003-06-06 José Matos <jamatos@fep.up.pt>
6064 * buffer.C (makeDocBookFile): fix bug #821
6066 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6068 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6070 2003-06-04 Angus Leeming <leeming@lyx.org>
6072 * buffer.C: bump format to 224.
6074 2003-06-05 André Pönitz <poenitz@gmx.net>
6076 * text2.C (redoParagraphs): remove two const_cast<>
6078 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6080 * ParagraphList.h: remove last remnants of NO_STD_LIST
6082 2003-06-03 Angus Leeming <leeming@lyx.org>
6084 * factory.C (createInset): small change to the way InsetExternal's params
6087 2003-06-04 André Pönitz <poenitz@gmx.net>
6089 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6091 * paragraph_pimpl.h:
6092 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6094 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6096 * undo_funcs.C: make some simple cases of undo work again
6098 2003-06-03 John Levon <levon@movementarian.org>
6100 * ispell.C: HPUX doesn't have sys/select.h
6103 2003-06-03 John Levon <levon@movementarian.org>
6105 * CutAndPaste.C: update tabular and include inset
6110 * paragraph.C: remove owningBuffer(), don't pass Buffer
6113 * factory.C: insetGraphicsParams changed
6115 2003-06-02 John Levon <levon@movementarian.org>
6121 * text3.C: remove insetparent
6123 2003-06-02 John Levon <levon@movementarian.org>
6126 * buffer.C: fix inset_iterator.end(), move out of line
6129 2003-06-01 John Levon <levon@movementarian.org>
6131 * text3.C: use a proper cut/paste when doing inset
6132 insert (from Jürgen Spitzmüller)
6134 2003-06-01 John Levon <levon@movementarian.org>
6136 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6138 2003-05-30 André Pönitz <poenitz@gmx.net>
6140 * rowpainter.C: unify second drawing phase
6142 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6144 * trans_mgr.C: remove one case of current_view
6146 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6148 * paragraph_funcs.h: remove paragraph.h include
6150 * paragraph.h: delete NO_STD_LIST stuff
6152 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6154 * buffer.h: remove paragraph.h include
6156 * ParagraphList.C: delete file
6158 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6160 * toc.C (getTocList): adjust
6162 * paragraph_pimpl.C (validate): adjust
6164 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6166 * paragraph.C (Paragraph): adjust
6167 (getPositionOfInset): use const_iterator, adjust
6168 (bibitem): use const_iterator, adjust
6169 (setInsetOwner): adjust
6171 * iterators.C (operator++): adjust
6173 * InsetList.[Ch]: Replace selfmade iterator with standard
6174 vector::iterator also introduce const_iterator. Remove getPos,
6175 getInset and setInset from InsetTable. Adjust accordingly.
6177 * BufferView.C (lockInset): adjust
6178 (ChangeInsets): adjust
6180 * tabular.[Ch]: delete commented same_id functions
6182 2003-05-28 John Levon <levon@movementarian.org>
6184 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6186 2003-05-28 André Pönitz <poenitz@gmx.net>
6188 * metricsinfo.[Ch]: remove 'fullredraw' member
6190 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6192 * lyxtextclass.C (operator): remove caching.
6194 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6198 * text2.C (cursorBottom): adjust
6199 (setCounter): use ParagraphList::find, adjust
6201 * text.C (workWidth): use ParagraphList::find, adjust
6203 * lyxcursor.C (LyXCursor): adjust
6205 * buffer.C (inset_iterator): adjust
6207 * ParagraphList.h: make iterator(value_type) private, make
6208 ParagraphList a friend of iterator.
6210 * ParagraphList.C (find): new function
6212 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6214 2003-05-27 André Pönitz <poenitz@gmx.net>
6216 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6218 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6220 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6222 2003-05-26 John Levon <levon@movementarian.org>
6224 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6226 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6228 * remove same_id from function signatures, adjust.
6230 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6232 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6234 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6236 * paragraph.C (Paragraph): get rid of same_ids parameter
6238 * ParagraphList.C (insert): adjust
6241 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * paragraph_funcs.C (breakParagraph): adjust
6244 (breakParagraphConservative): adjust
6246 * buffer.C (readParagraph): adjust
6248 * ParagraphList.C (insert): take a reference instead of a pointer
6251 * paragraph.[Ch] (id): new function
6253 * bufferlist.C (newFile): adjust
6255 * ParagraphList.C (ParagraphList): adjust
6257 (push_back): take a reference instead of a pointer.
6259 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6261 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6264 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6265 set else use old code.
6267 * ParagraphList.C: remove all NO_NEXT code and only compile this
6268 code of NO_STD_LIST is set.
6270 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6272 * BufferView_pimpl.C:
6282 * graphics/GraphicsConverter.C:
6283 * graphics/PreviewLoader.C: header adjustment
6285 2003-05-23 Angus Leeming <leeming@lyx.org>
6287 * LaTeXFeatures.[Ch] (useBabel): new method.
6288 * bufferparams.C (writeLaTeX): use it.
6290 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6292 * ParagraphList.h (set): remove unused function.
6294 2003-05-23 André Pönitz <poenitz@gmx.net>
6297 * BufferView_pimpl.C:
6301 * undo_funcs.C: setUndo reworked
6303 * iterators.[Ch]: add access to topmost ParagraphList
6305 * lyxtext.[Ch] (workWidth): add a const
6307 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6309 * texrow.[Ch] (increasePos): remove function
6310 * exporter.C (export): removed unused var and outdated comment
6312 2003-05-23 Angus Leeming <leeming@lyx.org>
6314 * latexrunparams.h: rename fragile as moving_arg.
6315 * paragraph.C (simpleTeXOnePar): ditto.
6316 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6318 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6320 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6322 (textUndoOrRedo): comment out a currently unused var.
6324 * paragraph.h (NO_NEXT): enable NO_NEXT
6326 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6328 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6330 * exporter.C (Export): adjust for removeAutoInsets removal.
6332 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6334 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6336 * BufferView.[Ch] (removeAutoInsets): delete function
6338 2003-05-22 Angus Leeming <leeming@lyx.org>
6340 * latexrunparams.h: add a free_spacing variable.
6342 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6343 to pass moving_arg, as the data is stored in runparams.fragile.
6345 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6346 to Inset::latexOptional or to simpleTeXOnePar.
6348 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6349 free_spacing arg to Inset::latexOptional.
6351 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6354 2003-05-22 Angus Leeming <leeming@lyx.org>
6356 * latexrunparams.h: add fragile and use_babel variables.
6358 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6359 * buffer.C (makeLaTeXFile): store this returned value in
6360 runparams.use_babel, thus passing it to the inset::latex methods.
6362 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6363 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6365 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6366 longer has a fragile arg, as it is stored in runparams.fragile.
6368 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6369 moving_arg parameter as the data is stored in runparams.fragile.
6371 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6372 a fragile parameter as the data is stored in runparams.fragile.
6374 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6376 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6378 2003-05-22 Angus Leeming <leeming@lyx.org>
6380 * latexrunparams.h: add a 'bool nice' which defaults to false.
6382 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6383 now encapsulated within runparams.
6385 * bufferlist.C (updateIncludedTeXfiles):
6386 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6388 2003-05-22 Angus Leeming <leeming@lyx.org>
6390 * latexrunparams.h: new file containing struct LatexRunParams.
6391 * Makefile.am: add new file.
6393 * LaTeX.[Ch] (c-tor, run):
6394 * buffer.[Ch] (makeLaTeXFile):
6395 * bufferlist.[Ch] (updateIncludedTeXfiles):
6396 * converter.C (convert, scanLog):
6397 * converter.[Ch] (runLaTeX):
6398 * exporter.C (Export):
6399 * paragraph.[Ch] (simpleTeXOnePar):
6400 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6401 * paragraph_funcs.[Ch] (latexParagraphs):
6402 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6403 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6404 pass around a LatexRunParams parameter.
6406 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6408 * paragraph.[Ch]: remove unused constructor
6410 * ParagraphList.C (erase): new function, taking two iterators
6412 2003-05-22 André Pönitz <poenitz@gmx.net>
6414 * undo_funcs.C: remove duplicated code
6416 * iterator.[Ch]: operator=
6418 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6420 * tabular.C (SetMultiColumn): ws changes
6422 * rowpainter.C (paintFirst): get rid of a ->previous
6424 * lyx_cb.C (getPossibleLabel): parlist simplification
6426 * BufferView.C (ChangeInsets): simplify slightly.
6428 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6430 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6431 * lfuns.h: new LFUN_SPACE
6432 * lyxfunc.C: protected space has a new lfun
6433 * paragraph_funcs.C: read new space insets
6435 * factory.C: handle new space insets
6437 2003-05-22 André Pönitz <poenitz@gmx.net>
6440 * BufferView_pimpl.C:
6443 * undo_funcs.C: return a ParIterator from getParFromID.
6445 * iterators.[Ch]: add two const's
6447 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6449 * toc.C (getTocList): adjust
6451 * iterators.[Ch]: rework for parlist
6453 * buffer.C (par_iterator_begin): adjust
6454 (par_iterator_end): adjust
6456 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6458 * BufferView.C (removeAutoInsets): adjust
6459 (ChangeInsets): adjust
6461 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6463 * text.C (top_y): fix bug 1110
6465 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6467 * errorlist.[Ch]: added
6470 * BufferView_pimpl.C:
6471 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6474 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6476 * Makefile.am: ensure that lyx is relinked upon changes to the
6477 various "convenience" libs.
6479 2003-05-20 Angus Leeming <leeming@lyx.org>
6481 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6482 files are compiled in alphabetical order again.
6484 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6486 2003-05-19 Angus Leeming <leeming@lyx.org>
6488 * gettext.[Ch]: remove "char const * _(char const *)".
6490 2003-05-19 André Pönitz <poenitz@gmx.net>
6492 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6501 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6503 2003-05-19 André Pönitz <poenitz@gmx.net>
6507 * lyxtextclass.[Ch]:
6509 * paragraph_funcs.[Ch]:
6511 * text3.C: more insetenv work
6513 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6515 * ParagraphParameters.C (params2string): small bug fixed
6517 2003-05-16 André Pönitz <poenitz@gmx.net>
6520 * bufferview_funcs.C: patch from Kornel Benko to prevent
6521 crash when _(...) is called twice in a statement
6523 2003-05-16 André Pönitz <poenitz@gmx.net>
6530 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6532 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6534 * lyx_main.C (init): remove spurious static_cast
6536 2003-05-14 André Pönitz <poenitz@gmx.net>
6538 * BufferView.C: fix format string
6540 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6542 * BufferView.[Ch] (insertErrors): removed
6543 * BufferView.[Ch] (showErrorList): added
6544 * buffer.C (runChkTeX):
6545 * converter.C (scanLog): call showErrorList instead of inserterrors
6547 2003-05-13 André Pönitz <poenitz@gmx.net>
6549 * BufferView_pimpl.C:
6551 * bufferview_func.C:
6558 * tabular_funcs.h: tostr() from its own header
6560 * ParagraphParameters.C:
6565 * text3.C: STRCONV()
6567 2003-05-12 André Pönitz <poenitz@gmx.net>
6570 * BufferView_pimpl.C:
6574 * ParagraphParameters.C:
6578 * bufferview_funcs.C:
6591 * paragraph_funcs.C:
6595 * text3.C: boost::format -> bformat all over the place
6598 2003-05-09 André Pönitz <poenitz@gmx.net>
6600 * LColor.[Ch]: Pimpl the #include <map> away
6602 2003-05-09 John Levon <levon@movementarian.org>
6604 * bufferlist.C: never remove emergency saves
6606 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6608 * Makefile.am: better lib building
6610 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6612 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6614 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6615 (simpleTeXSpecialChars): adjust
6616 (simpleTeXSpecialChars): adjust
6617 * paragraph.C (simpleTeXOnePar): adjust
6618 * buffer.C (makeLaTeXFile): adjust
6620 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6622 * text2.C (changeDepth): parlist cleanup
6623 (getColumnNearX): ditto
6625 * rowpainter.C (getLabelFont): parlist cleanup
6627 * bufferlist.C (newFile): parlist cleanup
6629 * CutAndPaste.C (eraseSelection): parlist cleanup
6631 * BufferView_pimpl.C (trackChanges): parlist cleanup
6634 * BufferView.C (lockInset): parlist cleanup.
6635 (ChangeInsets): ditto
6637 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * CutAndPaste.h: Update file header.
6641 * CutAndPaste.C: Update file header.
6642 Store the parts cut out of the Document in a limited_stack.
6643 (copySelection): adjust
6644 (pasteSelection): new function, takes the index in the limited stack.
6645 (nrOfParagraphs): adjust
6646 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6647 simplify error inset insertion.
6648 (checkPastePossible): adjust
6650 2003-05-06 John Levon <levon@movementarian.org>
6652 * text2.C: don't cast wrap inset to float
6654 2003-05-05 André Pönitz <poenitz@gmx.net>
6657 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6659 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6660 few naked Paragraph *.
6662 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6664 * bufferparams.C: Output warning if a document with missing
6665 TeX document class is loaded
6666 * exporter.C: Disable TeX exports if the document class is missing
6669 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6670 isTeXClassAvailable()
6672 2003-05-03 John Levon <levon@movementarian.org>
6675 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6676 explicit cursor show/hide
6678 * BufferView_pimpl.h:
6679 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6680 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6682 * lyxfunc.C: hide cursor before dispatching.
6687 * text3.C: remove explicit cursor hides
6689 2003-05-02 André Pönitz <poenitz@gmx.net>
6691 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6694 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6697 * text2.C: tiny whitespace
6699 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6701 * undo_funcs.C: almost only ws changes.
6703 * ParagraphList.C (splice): just return if pl is empty.
6705 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6707 * ParagraphList.C (splice): new function.
6709 * CutAndPaste.C (pasteSelection): use it
6711 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * CutAndPaste.C (pasteSelection): remove the last next and
6714 previous from this file.
6716 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6718 * CutAndPaste.C (pasteSelection): more clean up, user proper
6719 ParagraphList functions for pasteing.
6721 * ParagraphList.C (insert): new function, three arg insert
6723 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6725 * ParagraphList.C (insert): new function, three arg insert
6727 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6730 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6732 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6734 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6736 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6738 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6740 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6741 (copySelection): clean up a bit.
6742 (pasteSelection): use make_pair
6744 * ParagraphList.C (ParagraphList): implement copy constructor
6745 (operator=): implement, base on copy constructor.
6748 * paragraph.C (erase): return a bool
6750 * paragraph_pimpl.C (erasePos): remove function, move contents...
6751 (erase): ... here. Return a bool.
6752 (erase): call erase instead of erasePos.
6754 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6756 * ParagraphList.h: define PitPosPair
6757 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6758 ParagraphList, fix a bug on pasting multiple pars
6759 * text2.C: change interface to C&P
6761 2003-04-30 André Pönitz <poenitz@gmx.net>
6763 * undo_func.C: revert part of yesterday's patch 2
6765 2003-04-30 John Levon <levon@movementarian.org>
6767 * LColor.C: s/tabular/table/
6769 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6771 * text3.C (dispatch): do not convert iterator -> pointer
6772 * undo_funcs.C (setCursorParUndo): ditto
6773 * text_funcs.C (transposeChars): ditto
6775 * text2.C (setLayout): ws changes only
6777 * text.C (breakParagraph): do not convert iterator -> pointer
6779 (acceptChange): ditto
6780 (rejectChange): ditto
6785 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6788 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6790 * text3.C (gotoInset): YABG (yet another bad getChar)
6792 2003-04-29 André Pönitz <poenitz@gmx.net>
6794 * paragraph.h: make operator= private unimplemented as long as
6797 * ParagraphList.C: whitespace
6800 * paragraph_pimpl.[Ch]:
6801 * paragraph_funcs.C:
6803 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6806 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6808 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6810 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6811 * paragraph.[Ch] (erase):
6812 * paragraph_pimpl.[Ch] (erase): change return type and value
6813 * text2.C (cutSelection): some rework
6815 2003-04-28 John Levon <levon@movementarian.org>
6817 * bufferlist.C: changes for unsaved changes dialog
6819 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * bufferlist.C (newFile): set language (messages_) for new
6824 * buffer.C (readFile): ws changes only.
6826 2003-04-28 André Pönitz <poenitz@gmx.net>
6831 * BufferView_pimpl.C:
6832 * BufferView.C: getParFromID related ParagraphList::iterator changes
6834 2003-04-28 André Pönitz <poenitz@gmx.net>
6836 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6839 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6841 * messages.C: remove one more localedir class variable.
6843 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * messages.C (getLocaleDir): singleton generation function
6847 (Messages): add a default constructor.
6849 * main.C (main): do not setup localedir here, do not call
6852 * gettext.C (_): use it.
6853 (gettext_init): delete funciton
6855 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * gettext.C (getLyXMessages): new singleton generating function.
6859 * buffer.C (updateDocLang): adjust
6861 * Makefile.am (messages.o): add target
6862 (main.o): remove target
6864 2003-04-27 John Levon <levon@movementarian.org>
6869 * lyxvc.C: specify cancel button in Alert::prompt
6871 2003-04-26 John Levon <levon@movementarian.org>
6876 * LyXAction.C: add LFUN_INSET_SETTINGS
6878 * lyxfunc.C: don't enable tabular-feature when there's
6879 just any locking inset
6881 2003-04-26 John Levon <levon@movementarian.org>
6883 * bufferlist.C: re-add Cancel to buffer close question
6885 * lyxfunc.C: fix import UI a bit
6887 2003-04-25 John Levon <levon@movementarian.org>
6889 * gettext.C: remove the broken asserts for now
6891 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6893 * messages.C: make case where setlocale cannot comply work better.
6895 * buffer.C (updateDocLang): new function
6896 (changeLanguage): use it
6899 * text2.C (setCounter): use B_ a bit.
6901 * lyxlayout.C (Read): be sure to trim the label strings.
6903 * messages.C (Messages): fix typo in comment
6905 * buffer.C (readFile): set message_ after file is loaded.
6906 (makeDocBookFile): remove double return
6907 (changeLanguage): reset message_ upon language change.
6908 (B_): new func, use this to get translated buffer strings.
6910 * main.C: add myself and Jean Marc as authors.
6912 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6914 * messages.[hC]: pimplify Messages, and three different pimpls to be
6915 used in different circumstances.
6917 * gettext.[Ch]: change for use with new message code.
6919 2003-04-24 André Pönitz <poenitz@gmx.net>
6921 * factory.C: support for eqref
6923 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * messages.[Ch]: add missing char
6927 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6929 * messages.[Ch]: New files
6931 2003-04-18 John Levon <levon@movementarian.org>
6935 * BufferView_pimpl.C:
6939 * text2.C: remove layout-copy/paste (bug 778)
6941 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6943 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6945 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6947 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6948 if they succeed. Act accordingly.
6950 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6952 * text2.C (setCharFont): adjust
6953 (setCounter): adjust
6954 (insertStringAsLines): adjust
6956 * text.C (leftMargin): adjust
6957 (setHeightOfRow): adjust
6959 * rowpainter.C (paintFirst): adjust
6962 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6964 (isFirstInSequence): ditto
6965 (getEndLabel): ditto
6968 * paragraph.C (getParLanguage): comment out some hard stuff.
6970 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6972 (simpleDocBookOnePar): ditto
6973 (makeDocBookFile): use ParagraphList::iterator
6975 * CutAndPaste.C (pasteSelection): adjust
6977 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * text2.C (getFont): adjust
6980 (getLayoutFont): adjust
6981 (getLabelFont): adjust
6983 * paragraph_funcs.C (TeXOnePar): adjust
6985 * buffer.C (simpleLinuxDocOnePar): adjust
6986 (simpleDocBookOnePar): adjust
6988 * CutAndPaste.C (pasteSelection): adjust
6990 * BufferView.C (getEncoding): adjust
6992 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6994 2003-04-16 John Levon <levon@movementarian.org>
6996 * lyxfind.C: use parlist stuff for search/changes
6998 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7000 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7002 * text2.C (deleteEmptyParagraphMechanism): adjust
7004 * text2.[Ch] (ownerParagraph): delete func (both of them
7006 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7008 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7010 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7012 * ParagraphList.C: prepare for NO_NEXT
7014 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7016 * text2.C (getFont): adjust
7017 (getLayoutFont): adjust
7018 (getLabelFont): adjust
7020 * paragraph.C (getFont): adjust
7021 (getLabelFont): adjust
7022 (getLayoutFont): adjust
7024 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7026 2003-04-15 John Levon <levon@movementarian.org>
7030 * lyx_main.C: handle Include in .ui files
7032 2003-04-15 John Levon <levon@movementarian.org>
7034 * MenuBackend.C: make the doc files length shorter
7037 * ToolbarBackend.C: handle toolbar placement flags,
7040 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7042 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7045 * paragraph_funcs.C (TeXOnePar): adjust
7047 * paragraph.C (getLabelFont): add outerfont arg, adjust
7048 (getLayoutFont): ditto
7049 (simpleTeXOnePar): adjust
7051 * paragraph_pimpl.C (realizeFont): delete func
7053 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7055 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7056 row argument, constify cur argument.
7058 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7060 * text2.C (getFont): adjust
7061 (getLayoutFont): adjust
7062 (getLabelFont): adjust
7064 * paragraph_funcs.C (TeXOnePar): adjust
7065 (outerFont): new func...
7066 (realizeFont): ...moved out from here, changed this to facilitate
7069 * paragraph.C (getFont): take outerfont as arg, adjust
7070 (simpleTeXOnePar): add outerfont arg, adjust
7072 * buffer.C (simpleLinuxDocOnePar): adjust
7073 (simpleDocBookOnePar): adjust
7075 * CutAndPaste.C (pasteSelection): adjust
7077 * BufferView.C (getEncoding): adjust
7079 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7081 * text2.C (setCharFont): adjust
7082 (setCounter): adjust
7084 * text.C (leftMargin): adjust
7085 (setHeightOfRow): adjust
7087 * rowpainter.C (paintFirst): adjust
7090 * paragraph_pimpl.C (realizeFont): adjust
7092 * paragraph.C (isFirstInSequence): move from here...
7093 * paragraph_funcs.C (isFirstInSequence): ...to here
7095 * paragraph.C (outerHook): move from here...
7096 * paragraph_funcs.C (outerHook): ...to here
7098 * paragraph.C (depthHook): move from here...
7099 * paragraph_funcs.C (depthHook): ...to here
7101 * paragraph.C (getEndLabel): move from here...
7102 * paragraph_funcs.C (getEndLabel): ...to here
7104 * text2.C (realizeFont): move from here...
7105 * paragraph_funcs.C (realizeFont): ...to here
7107 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7109 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7111 2003-04-14 Angus Leeming <leeming@lyx.org>
7113 * LColor.[Ch]: scrap LColor mathcursor.
7115 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7117 * lyxlex.[Ch] (text): delete function
7118 * trans.C (Load): adjust
7119 * paragraph_funcs.C (readParToken): adjust
7121 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7124 vector<char> instead of a char[].
7126 * lyxlex_pimpl.C (getString): adjust
7128 (lex): use getString
7132 * lyxlex.C (text): use pimpl_->getString()
7136 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7139 (makeFontEntriesLayoutSpecific): temp var for par.size()
7140 (setLayout): temp var for ownerParagraphs().end()
7141 (fullRebreak): temp var for rows().end()
7142 (selectionAsString): temp var for boost::next(startpit), realize
7143 that the while really is a regular for loop.
7144 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7145 setCursor in one place.
7146 (setParagraph): temp vr for ownerParagraphs().end()
7147 (updateCounters): make the while loop a for loop
7148 (cutSelection): temp var for ownerParagraphs().end()
7149 (updateInset): make the do {} while() a regular for loop
7150 (getCursorX): use temp vars
7151 (setCurrentFont): use temp vars
7152 (getColumnNearX): use temp vars
7154 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7156 * text.C (transformChar): use temp var for getChar
7157 (computeBidiTables): use temp var for row->par()
7158 (fill): move temp vars for row->par() and pit->layout() earlier in
7160 (labelFill): use temp var for row->par()
7161 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7162 asc and desc, realize that pit never changes and that firstpit is
7163 just a duplicate and not needed. Exchange rit->par() with pit in a
7165 (breakAgain): use a temp var for boost::next(rit)
7166 (breakAgainOneRow): ditto
7167 (breakParagraph): use a temp var for rows().begin()
7168 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7169 (cursorRightOneWord): use temp var for cursor.par() and
7170 cursor.pos(), remove usage of tmpcursor.
7171 (cursorLeftOneWord): use temp var for cursor.par() and
7172 cursor.pos() only set cur at end of function.
7174 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7176 * text.C, text2.C: exchange all usage of Paragraph::next with
7177 boost::next(ParagraphList::iterator)
7179 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7181 * text2.C (cursorTop): simplify implementation
7182 (cursorBottom): ditto
7183 (setParagraph): use ParagraphList::iterator
7184 (setCurrentFont): adjust
7185 (getColumnNearX): adjust
7186 (cursorRight): adjust
7187 (cursorLeft): remove usage of Paragraph::previous
7188 (cursorUpParagraph): ditto
7189 (deleteEmptyParagraphMechanism): slight cleanup
7191 * text.C (isBoundary): take a Paragraph const & instead of a
7193 (addressBreakPoint): ditto
7194 (leftMargin): remove usage of Paragraph::previous.
7195 (setHeightOfRow): ditto
7196 (cursorLeftOneWord): ditto
7197 (selectNextWordToSpellcheck): ditto
7200 (breakParagraph): remove one usage of Paragraph::next
7201 (redoParagraph): ditto
7202 (acceptChange): ditto
7203 (insertChar): adjust
7204 (rowBreakPoint): adjust
7206 * bufferview_funcs.C (toggleAndShow): adjust
7208 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7210 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7211 methods to access it.
7213 * text.C: Added updateRowPositions to compute all row positions.
7214 Make top_y and getRowNearY() to use the cached y position
7216 2003-04-11 John Levon <levon@movementarian.org>
7218 * text.C (rowBreakPoint): reintroduce the labelEnd
7219 checks, code copied from the row fill stuff. Deep voodoo.
7221 * text.C (fill): add a comment and debugging for the
7224 2003-04-11 John Levon <levon@movementarian.org>
7226 * text.C: make sure fullrow insets get wrapped to the next line,
7227 even when they're in a manual label
7229 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7231 * text2.C (insertParagraph): make it take ParagraphList::iterator
7233 (setLayout): make it return ParagraphList::iterator
7234 (redoParagraphs): ditto
7236 (checkParagraph): ditto
7238 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7240 * text2.C: adjust several funcs.
7241 (realizeFont): take a ParagraphList::iterator as arg.
7242 (getLayoutFont): ditto
7243 (getLabelFont): ditto
7244 (setCharFont): ditto
7246 * text.C: adjust several funcs.
7248 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7250 * text.C (selectNextWordToSpellcheck): don't accidentally
7253 2003-04-10 John Levon <levon@movementarian.org>
7255 * ToolbarBackend.C (getIcon): special handling for
7258 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7260 * text2.C (cursorRight): a getChar assert fixed
7262 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7264 * text2.C (getFont): change to take a ParagraphList::iterator
7265 instead of Paragraph*
7266 Adjust several functions.
7268 * text.C (transformChar): change to take a ParagraphList::iterator
7269 instead of Paragraph*
7270 (singleWidth): ditto
7271 Adjust several functions.
7273 * rowpainter.C: adjust several functions
7274 * rowpainter.h:store a ParagraphList::iterator and not a
7278 2003-04-09 John Levon <levon@movementarian.org>
7283 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7284 and the "help" bits as well
7286 2003-04-09 John Levon <levon@movementarian.org>
7289 * ToolbarBackend.C: allow multiple toolbars
7291 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * undo_funcs.C (setCursorParUndo): adjust
7295 * text_funcs.C (transposeChars): adjust
7297 * text3.C (gotoNextInset): adjust
7300 * text2.C (setLayout): adjust
7301 (changeDepth): adjust
7303 (redoParagraphs): adjust
7304 (selectionAsString): adjust
7305 (setParagraph): adjust
7306 (insertInset): adjust
7307 (cutSelection): adjust
7308 (copySelection): adjust
7309 (pasteSelection): adjust
7310 (insertStringAsLines): adjust
7311 (updateInset): adjust
7312 (setCursor): change to take a ParagraphList::iterator parameter
7313 (setCursorIntern): change to take a ParagraphList::iterator parameter
7314 (setCurrentFont): adjust
7315 (cursorLeft): adjust
7316 (cursorRight): adjust
7317 (deleteEmptyParagraphMechanism): adjust
7319 * text.C (breakParagraph): adjust
7320 (insertChar): adjust
7321 (acceptChange): adjust
7322 (rejectChange): adjust
7323 (selectNextWordToSpellcheck): adjust
7324 (changeCase): adjust
7328 * lyxfind.C (SearchForward): adjust
7329 (SearchBackward): adjust
7330 (nextChange): adjust
7332 * lyxcursor.C (par): adjust
7334 * lyxcursor.h: store a ParagraphList::iterator instead of a
7337 * lyx_cb.C (getPossibleLabel): adjust
7339 * bufferview_funcs.C (toggleAndShow): adjust
7341 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7344 * BufferView.C (removeAutoInsets): adjust
7345 (lockedInsetStoreUndo): adjust
7347 2003-04-09 John Levon <levon@movementarian.org>
7349 * ToolbarBackend.C: try icon without argument
7350 if with argument fails
7352 2003-04-08 John Levon <levon@movementarian.org>
7355 * ToolbarBackend.C: add getIcon(), handle tooltip,
7356 and change from "Icon" to "Item".
7358 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7360 * BufferView.C (lockInset): another bad getchar crunched
7362 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7364 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7367 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7369 * lyxfind.C (searchForward, searchBackwards): bug 782
7371 2003-04-07 John Levon <levon@movementarian.org>
7373 * paragraph.C: remove dead comment
7375 * text.C: remove troublesome depth-fiddling code
7376 in leftMargin() and rightMargin() (bug 1017)
7378 * text.C: fix breaking of rows in nested lists
7381 * text2.C (updateCounters): fix up depth values
7384 2003-04-07 John Levon <levon@movementarian.org>
7386 * BufferView_pimpl.C: clear message when doc finishes resizing,
7387 and after a mouse event
7389 * lyxfunc.C: clear message after exiting inset
7391 2003-04-07 John Levon <levon@movementarian.org>
7393 * bufferview_funcs.C: show math status not outside
7394 status in the statusbar
7396 2003-04-07 John Levon <levon@movementarian.org>
7398 * lyxfunc.C: note status changed after a depth change
7400 2003-04-04 Angus Leeming <leeming@lyx.org>
7402 * LaTeX.h: move AuxInfo operator==, != out of line.
7403 Remove LaTeX virtual destructor; nothing derives from it.
7404 Move operator()() out of public area and rename it startscript().
7405 Change protected for private.
7407 2003-04-04 Angus Leeming <leeming@lyx.org>
7410 * text2.C: remove unneeded #includes.
7412 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7414 * text2.C (dEPM): fix the heigth of the next row
7416 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7418 * text.C: squashed an invalid getChar requester + some ws changes
7420 2003-04-03 John Levon <levon@movementarian.org>
7422 * bufferview_funcs.h:
7423 * bufferview_funcs.C:
7426 * text2.C: make getStatus work for the env depth lfuns
7428 2003-04-03 John Levon <levon@movementarian.org>
7430 * bufferview_funcs.h:
7431 * bufferview_funcs.C:
7434 * text2.C: parlistize decDepth(), by merging it with incDepth()
7436 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7438 * lyxrow.h: store a ParagraphList::iterator instead of a
7439 Paragraph* and adjust other class functions to suit.
7441 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7444 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7446 * text2.C (setCursor): do not anchor to cursor row for the time being
7448 2003-04-02 John Levon <levon@movementarian.org>
7455 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7457 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7459 * paragraph.h: make ParagraphList and ParagraphList::iterator
7460 friends of Paragraph.
7462 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7464 * ParagraphList.C: Use the private next_ and previous_ from
7467 2003-04-01 John Levon <levon@movementarian.org>
7471 * Makefile.am: rename, remove defaults gunk
7474 * MenuBackend.C: remove defaults gunk
7477 * Languages.C: remove defaults gunk
7480 * lyx_main.C: error out if files couldn't be found.
7482 2003-04-02 John Levon <levon@movementarian.org>
7484 * text2.C: make incDepth() use parlist
7486 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7488 * undo_funcs.C (firstUndoParagraph): adjust
7490 * text3.C (gotoInset): adjust
7491 (dispatch): adjust, and rewrite loop.
7493 * text2.C (init): adjust, and rewrite loop.
7494 (redoParagraphs): adjust
7495 (updateInset): adjust, and rewrite loop.
7496 (deleteEmptyParagraphMechanism): adjust
7498 * tabular.C (LyXTabular): adjust
7499 (SetMultiColumn): adjust
7502 * lyxtext.[Ch] (ownerParagraph): delete function
7503 (ownerParagraphs): new function returns a ParagraphList.
7505 * BufferView.C (removeAutoInsets): adjust
7506 (insertErrors): adjust
7507 (setCursorFromRow): adjust
7509 2003-04-01 Angus Leeming <leeming@lyx.org>
7511 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7514 2003-04-02 John Levon <levon@movementarian.org>
7520 * text_funcs.C: make transposeChars a free function
7522 * lyxrow_funcs.C: remove wrong comment
7524 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7527 * rowpainter.C: adjust
7532 * lyxrow_funcs. [Ch]: new files
7534 * lyxrow.[Ch]: remove next and previous pointers
7535 (next,previous): remove accessor functions
7536 (isParEnd): move to lyxrow_funcs
7537 (lastPos): move to lyxrow_funcs
7538 (nextRowIsAllInset): move to lyxrow_funcs
7539 (lastPrintablePos): move to lyxrow_funcs
7540 (numberOfSeparators): move to lyxrow_funcs
7541 (numberOfHfills): move to lyxrow_funcs
7542 (numberOfLabelHfills): move to lyxrow_funcs
7543 (hfillExpansion): move to lyxrow_funcs
7547 * bufferview_funcs.C (toggleAndShow): adjust
7549 * RowList.h: Remove class RowList from file leave just a
7552 * RowList.C: delete file
7554 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7557 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7559 * text3.C (cursorPrevious): adjust
7560 (cursorNext): adjust
7563 * text2.C (redoHeightOfParagraph): adjust
7564 (redoDrawingOfParagraph): adjust
7567 * text.C (breakParagraph): adjust
7568 (insertChar): adjust
7571 * rowpainter.C (RowPainter): adjust
7572 (leftMargin): simplify and adjust
7573 (most rowpainter functions): adjust.
7575 * rowpainter.h: store the row as RowList::iterator not as Row*
7577 * lyxcursor.C (row): taka RowList::iterator as arg
7580 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7583 2003-04-01 Angus Leeming <leeming@lyx.org>
7585 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7586 stuff like bool Bool.
7588 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7590 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7593 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7598 * lyxtext.h (rows): drop one version and leve a const variant that
7599 returns a RowList::iterator.
7601 2003-03-31 Angus Leeming <leeming@lyx.org>
7603 * text.C (fill): ensure that the signature is the same as that in the
7606 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * text2.C (redoParagraphs): adjust
7609 (updateCounters): adjust
7610 (checkParagraph): adjust
7611 (getColumnNearX): adjust and reformat a bit.
7613 * text.C (top_y): adjust
7615 (leftMargin): adjust
7616 (prepareToPrint): adjust
7618 (getRowNearY): adjust
7620 * lyxtext.h: make rowlist_ mutable.
7622 * RowList.h: add const_iterator
7623 * RowList.C: adjust for RowList::const_iterator.
7625 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7628 2003-03-31 John Levon <levon@movementarian.org>
7631 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7633 * lyx_main.C: set default fonts from using lyx_gui funcs
7635 * exporter.C: pdf_mode moved from lyxrc
7638 * lyxfunc.C: changes from above
7640 2003-03-31 John Levon <levon@movementarian.org>
7642 * lyx_main.C: fix to the last fix
7644 2003-03-31 John Levon <levon@movementarian.org>
7646 * bufferlist.C: "Load original" -> "Load Original"
7652 * format.C: more Alert cleanups
7654 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7656 * text2.C (removeParagraph): make it take a RowList::iterator as
7658 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7659 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7661 * text.C (anchor_row): make it take a RowList::iterator as arg,
7663 (computeBidiTables): make it take a const reference to Row instead
7664 of Row pointer, adjust.
7665 (leftMargin): make it take a RowList::iterator as arg, adjust.
7666 (rowBreakPoint): adjust
7667 (breakAgainOneRow): make it take a RowList::iterator as arg,
7669 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7671 * bufferview_funcs.C (toggleAndShow): adjust
7673 2003-03-30 John Levon <levon@movementarian.org>
7677 * boost-inst.C: moved to support
7679 * several files: changes as a result
7681 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7683 * text2.C (LyXText): adjust.
7685 (removeRow): make it take a RowList::iterator as arg, adjust.
7686 (fullRebreak): adjust
7687 (deleteEmptyParagraphMechanism): adjust
7688 (clearPaint): adjust
7691 * text.C (top_y): adjust
7692 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7693 (breakAgain): make it take a RowList::iterator as arg, adjust.
7694 (breakParagraph): adjust
7695 (insertChar): adjust
7698 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7699 need_break_row, and refresh_row.
7701 * text3.C (dispatch): adjust
7703 * text2.C (checkParagraph): adjust
7705 (setCursorFromCoordinates): adjust
7707 * text.C (top_y): adjust
7709 (getRow): make it return a RowList::iterator, adjust
7710 (getRowNearY): make it return a RowList::iterator, adjust
7712 * text2.C (init): adjust
7713 (insertRow): remove function
7714 (insertParagraph): adjust
7715 (redoParagraphs): adjust
7716 (fullRebreak): adjust
7717 (updateCounters): adjust
7719 * text.C (top_y): rewrite to use RowList iterators.
7721 (setHeightOfRow): rewrite to sue RowList iterators.
7722 (appendParagraph): adjust
7723 (breakAgain): adjust
7724 (breakAgainOneRow): adjust
7725 (breakParagraph): adjust
7727 (getRowNearY): adjust, and remove commented code.
7729 * lyxtext.h (firstRow): delete function
7730 (lastRow): delete function
7731 (rows): new function (const and non-const versions.)
7732 (insertRow): delete function
7734 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7736 2003-03-29 John Levon <levon@movementarian.org>
7738 * BufferView_pimpl.C: always update scrollbar top
7739 because pasting text when we're anchored could mean we
7740 miss an update altogether
7742 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7744 * text2.C (init): use rowlist_.end() and not 0.
7745 (insertRow): change to take a RowList::iterator as arg, adjust
7747 (insertParagraph): change to take a RowList::iterator as arg,
7749 (redoParagraphs): remove some debug msgs.
7751 * text.C (appendParagraph): change to take a RowList::iterator
7752 arg, adjust for this.
7753 (breakAgain): add an assert
7754 (breakAgainOneRow): ditto
7756 2003-03-29 John Levon <levon@movementarian.org>
7758 * text2.C: do not clear selection after inc/decDepth
7761 2003-03-29 John Levon <levon@movementarian.org>
7764 * buffer.C: fix broken strerrors according to Lars
7766 2003-03-29 John Levon <levon@movementarian.org>
7768 * converters.C: more Alert cleanups
7770 2003-03-29 John Levon <levon@movementarian.org>
7772 * bufferview_funcs.C: remove pointless Alert
7774 * buffer.C: fix confusing error message when
7775 a template is chmoded 000
7777 2003-03-29 John Levon <levon@movementarian.org>
7781 * BufferView_pimpl.C: Alert fixes
7785 * tabular-old.C: remove unused table compat reading
7787 2003-03-29 John Levon <levon@movementarian.org>
7792 * lyx_cb.C: more Alert cleanups
7794 * lyxfunc.C: don't allow chktex if not latex document
7796 2003-03-29 John Levon <levon@movementarian.org>
7800 * buffer.C: warnings pushed down from support/,
7803 2003-03-29 John Levon <levon@movementarian.org>
7805 * lyxfunc.C: safety check for C-r (revert)
7807 2003-03-29 John Levon <levon@movementarian.org>
7810 * bufferlist.C: several UI fixes using Alert::prompt.
7811 Fix the pointless looping quit code. Fix stupid revert
7816 * lyx_cb.C: use Alert::prompt
7818 * lyx_main.C: remove a silly question
7820 * lyxfunc.C: remove a couple of silly questions,
7823 2003-03-28 John Levon <levon@movementarian.org>
7825 * text2.C: fix bug 974 (End on empty par)
7827 2003-03-28 John Levon <levon@movementarian.org>
7829 * BufferView_pimpl.C:
7831 * lfuns.h: remove do-nothing math greek lfuns
7833 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7835 * lyxgluelength.h (isValidGlueLength): add default arg on
7836 parameter 2. Remove default arg from friend in class.
7838 * lyxlength.h (isValidLength): add default arg on parameter 2.
7839 Remove default arg from friend in class.
7841 * text2.C (LyXText): adjust, initialize refresh_row.
7845 (insertParagraph): adjst
7846 (redoParagraphs): adjust
7847 (fullRebreak): adjust
7848 (updateCounters): adjust
7849 (deleteEmptyParagraphMechanism): first attempt at fixing a
7852 * text.C (top_y): adjust
7853 (setHeightOfRow): adjust
7855 (getRowNearY): adjust
7857 * lyxtext.h: include RowList.h
7858 (~LyXText): not needed anymore, deleted.
7859 (firstRow): modify for RowList
7860 (lastRow): new function
7861 Delete firstrow and lastrow class variables, add a Rowlist
7862 rowlist_ class variable.
7864 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7867 * RowList.C (insert): fix case where it == begin().
7869 2003-03-26 Angus Leeming <leeming@lyx.org>
7871 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7872 the thesaurus dialog.
7874 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7876 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7878 * RowList.[Ch]: new files
7880 * ParagraphList.C (erase): handle the case where it == begin
7883 2003-03-25 John Levon <levon@movementarian.org>
7887 * aspell.C: add new aspell support
7890 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7893 2003-03-25 Angus Leeming <leeming@lyx.org>
7896 * LyXAction.C (init): new LFUN_INSET_INSERT.
7898 * BufferView_pimpl.C (dispatch): split out part of the
7899 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7901 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7904 2003-03-25 Angus Leeming <leeming@lyx.org>
7906 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7908 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7911 * text3.C: remove useless row->height(0)
7913 2003-03-25 John Levon <levon@movementarian.org>
7917 * text3.C: rename the refreshing stuff to better names
7919 2003-03-24 John Levon <levon@movementarian.org>
7921 * BufferView_pimpl.h:
7922 * BufferView_pimpl.C: update layout choice on a mouse
7925 2003-03-23 John Levon <levon@movementarian.org>
7927 * Makefile.am: fix commandtags.h reference
7929 2003-03-22 John Levon <levon@movementarian.org>
7931 * BufferView_pimpl.C:
7936 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7938 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7941 * text.C: take the rtl methods out of line
7943 2003-03-21 André Pönitz <poenitz@gmx.net>
7945 * metricsinfo.[Ch]: new files containing structures to be passed around
7946 during the two-phase-drawing...
7948 2003-03-21 André Pönitz <poenitz@gmx.net>
7950 * lyxtextclass.C: read 'environment' tag.
7952 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7954 * text2.C (removeRow): fix bug 964
7956 2003-03-20 John Levon <levon@movementarian.org>
7960 * text2.C: paint cleanups. Inset::update() dropped font
7963 2003-03-19 John Levon <levon@movementarian.org>
7965 * lyxfunc.C: only fitcursor/markDirty if available()
7967 2003-03-19 John Levon <levon@movementarian.org>
7969 * commandtags.h: rename to ...
7971 * lfuns.h: ... this, and renumber / cleanup
7973 2003-03-19 John Levon <levon@movementarian.org>
7975 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7976 fit the cursor after an lfun
7980 * BufferView_pimpl.h:
7981 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7983 * LyXAction.C: layout-character should have ReadOnly
7985 * ParagraphParameters.C:
7987 * bufferview_funcs.C:
7994 * undo_funcs.C: changes from above
7996 2003-03-18 John Levon <levon@movementarian.org>
7998 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7999 remove it from update()
8001 * lyxfunc.C: update layout choice after an lfun
8003 * text3.C: remove extra updateLayoutChoice()s
8005 2003-03-18 John Levon <levon@movementarian.org>
8007 * text.C: top_y change means full repaint, fix
8008 a drawing bug with cursor movement
8010 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8014 * text2.C: anchor row on setCursor
8016 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8018 * lyxtext.h: remove almost all mutable keywords
8021 * text3.C: remove const keywords accordingly
8023 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8025 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8027 (TeXEnvironment): ditto
8030 2003-03-17 John Levon <levon@movementarian.org>
8032 * text.C (rowBreakPoint): remove attempt to fix displayed
8033 math insets inside a manual label
8035 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8037 * lyxtext.h: remove BufferView* as first arg from almost all class
8039 * other files: adjust.
8041 2003-03-17 John Levon <levon@movementarian.org>
8045 * text2.C: more paint cleanups
8047 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8050 * rowpainter.C: remove "smart" background painting code
8052 2003-03-16 John Levon <levon@movementarian.org>
8057 * text3.C: add helper functions for setting refresh_row/y
8059 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8061 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8062 newline inset which *can* get inserted in the pass_thru layouts.
8063 This is primarily for literate documents.
8065 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8067 * buffer.C: increment LYX_FORMAT to 223
8069 2003-03-14 André Pönitz <poenitz@gmx.net>
8071 * textclass.h: prepare for environment handling, ws changes
8072 * lyxlayout.C: read latexheader and latexfooter tags
8074 2003-03-14 John Levon <levon@movementarian.org>
8076 * text2.C: rewrite ::status() a bit
8078 2003-03-13 John Levon <levon@movementarian.org>
8080 * lyxtext.h: add some docs
8082 2003-03-13 John Levon <levon@movementarian.org>
8087 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8089 2003-03-13 John Levon <levon@movementarian.org>
8091 * text3.C: fix appendix redrawing
8093 2003-03-13 John Levon <levon@movementarian.org>
8095 * text.C (setHeightOfRow):
8097 * rowpainter.C: make appendix mark have the text
8098 "Appendix" so the user knows what it is
8101 * LColor.C: s/appendixline/appendix/ from above
8103 2003-03-13 John Levon <levon@movementarian.org>
8105 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8107 * text.C: fix a getChar(pos) bug properly
8109 2003-03-13 Angus Leeming <leeming@lyx.org>
8112 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8113 Probably only temporary. Let's see how things pan out.
8115 * BufferView.C (unlockInset):
8116 * BufferView_pimpl.C (fitCursor):
8117 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8119 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8120 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8122 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8123 new functions that convert ParagraphParameters to and from a string.
8125 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8126 BufferView::Pimpl's dispatch.
8127 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8129 2003-03-13 André Pönitz <poenitz@gmx.net>
8133 * factory.C: make it aware of InsetEnv
8135 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * text2.C (setCursor): never ask for one past last
8138 (setCursor): add some debugging messages.
8140 * text.C (singleWidth): never ask for one past last
8141 (singleWidth): ditto
8143 (rightMargin): ditto
8144 (rowBreakPoint): ditto
8145 (setHeightOfRow): ditto
8146 (prepareToPrint): ditto
8148 * rowpainter.C (paintBackground): never ask for one past last
8149 (paintText): never ask for one past last
8151 * paragraph_pimpl.C (getChar): make the assert stricter, never
8152 allow the one past last pos to be taken
8154 * paragraph.C (getChar): ws changes only
8156 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8157 (numberOfSeparators): ditto
8158 (numberOfHfills): ditto
8160 2003-03-12 John Levon <levon@movementarian.org>
8166 * paragraph_funcs.C: fix per-buffer authorlists
8168 2003-03-12 John Levon <levon@movementarian.org>
8170 * text.C: fix newline in right address
8172 2003-03-12 Angus Leeming <leeming@lyx.org>
8174 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8175 duplicate those in LyXFunc::dispatch.
8179 * ToolbarDefaults.C:
8180 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8181 Add LFUN_FONTFREE_UPDATE.
8183 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8184 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8186 * bufferview_func.[Ch]: several new functions to facilliate
8187 transfer of data to and from the character dialog.
8189 2003-03-12 John Levon <levon@movementarian.org>
8194 * paragraph_funcs.C:
8195 * paragraph_pimpl.C:
8199 * text3.C: remove META_NEWLINE in favour of an inset
8202 * rowpainter.C: remove paintNewline (done by inset)
8204 2003-03-12 John Levon <levon@movementarian.org>
8206 * paragraph_pimpl.C: complain about bad getChar()s
8207 for a while at least
8209 2003-03-12 John Levon <levon@movementarian.org>
8212 * buffer.C: move paragraph read into a separate function,
8213 a little renaming to reflect that.
8216 * bufferparams.C: remove the author_ids map, not necessary now
8219 * factory.C: moved Buffer::readInset to here
8221 * paragraph_funcs.h:
8222 * paragraph_funcs.C: readParagraph free function moved from
8225 * tabular.C: name change
8227 2003-03-12 John Levon <levon@movementarian.org>
8230 * ParagraphParameters.C: move par params input to
8233 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8234 behave like a normal read from the stream wrt reading
8235 a line vs. a \\token
8237 2003-03-12 John Levon <levon@movementarian.org>
8240 * ParagraphParameters.h:
8241 * ParagraphParameters.C: move output code to a
8244 2003-03-12 John Levon <levon@movementarian.org>
8246 * BufferView.C (insertLyXFile):
8249 * tabular.C: use a parlist iterator for creating the
8252 2003-03-12 John Levon <levon@movementarian.org>
8254 * buffer.C: make current_change static local not
8257 2003-03-12 John Levon <levon@movementarian.org>
8259 * buffer.C: fix insertStringAsLines for change tracking
8261 2003-03-12 John Levon <levon@movementarian.org>
8268 * bufferparams.C: move author list into params. Rename some
8269 functions. Move the header reading into a separate token
8270 loop. Move the header token reading into BufferParams.
8272 2003-03-12 John Levon <levon@movementarian.org>
8274 * changes.C: put debug inside lyxerr.debugging() checks
8276 2003-03-11 André Pönitz <poenitz@gmx.net>
8278 * factory.C: make it aware of InsetHFill
8280 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8282 * buffer.C (latexParagraphs): move function from here...
8283 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8286 2003-03-10 Angus Leeming <leeming@lyx.org>
8288 * LyXAction.C (init): fix bug in poplating array with multiple entries
8289 with the same LFUN (spotted by JMarc).
8291 2003-03-10 John Levon <levon@movementarian.org>
8294 * text2.C: move getColumnNearX() near its
8297 2003-03-10 John Levon <levon@movementarian.org>
8299 * text.C: fix break before a minipage
8301 2003-03-10 John Levon <levon@movementarian.org>
8303 * text.C: fix the last commit
8305 2003-03-09 John Levon <levon@movementarian.org>
8309 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8310 bug 365 (don't break before insets unless needed). Don't
8311 return a value > last under any circumstances.
8313 2003-03-09 Angus Leeming <leeming@lyx.org>
8315 * BufferView_pimpl.C (trackChanges, dispatch): call
8316 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8318 2003-03-09 Angus Leeming <leeming@lyx.org>
8320 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8321 than Dialogs::showAboutlyx().
8323 2003-03-09 Angus Leeming <leeming@lyx.org>
8325 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8326 than Dialogs::showTabularCreate().
8328 2003-03-09 John Levon <levon@movementarian.org>
8332 * text2.C: 3rd arg to nextBreakPoint was always the same.
8335 2003-03-08 John Levon <levon@movementarian.org>
8342 * text2.C: Remove the "main" bit from the "main body"
8345 2003-03-08 John Levon <levon@movementarian.org>
8347 * text.C (leftMargin): The left margin of an empty
8348 manual label paragraph should not include the label width
8351 * text.C (prepareToPrint): don't attempt to measure hfills
8352 for empty manual label paragraphs - the answer should be 0
8354 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8356 * CutAndPaste.C: remove commented code and reindent.
8358 2003-03-08 John Levon <levon@movementarian.org>
8361 * lyxfunc.C: move reloadBuffer()
8364 * BufferView.C: to here
8366 * lyxvc.C: add comment
8369 * vc-backend.C: call bv->reload() to avoid
8370 getStatus() check on MENURELOAD
8372 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8374 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8375 to an old format .dep file.
8377 2003-03-07 Angus Leeming <leeming@lyx.org>
8379 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8380 when the LFUN_MOUSE_RELEASE should have been handled by
8381 inset->localDispatch.
8383 2003-03-07 Angus Leeming <leeming@lyx.org>
8385 * BufferView_pimpl.C (dispatch):
8386 * LyXAction.C (init):
8387 * ToolbarDefaults.C (init):
8389 * lyxfunc.C (getStatus):
8390 remove LFUN_INSET_GRAPHICS.
8392 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8394 2003-03-07 Angus Leeming <leeming@lyx.org>
8397 * LyXAction.C (init):
8398 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8400 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8403 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8405 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8406 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8408 2003-03-07 Angus Leeming <leeming@lyx.org>
8410 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8413 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8415 * ParagraphList.C (front): new function
8418 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8420 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8421 and top_row_offset_. removed var first_y.
8423 * text2.C (LyXText, removeRow):
8425 * BufferView_pimpl.C:
8426 use these methods instead of using first_y
8428 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8430 * text2.C (pasteSelection): adjust for checkPastePossible
8432 * CutAndPaste.C: remove Paragraph * buf and replace with
8433 ParagraphList paragraphs.
8434 (DeleteBuffer): delete
8435 (cutSelection): change the tc type to textclass_type
8436 (copySelection): change the tc type to textclass_type
8437 (copySelection): adjust for ParagraphList
8438 (pasteSelection): change the tc type to textclass_type
8439 (pasteSelection): adjust for Paragraphlist
8440 (nrOfParagraphs): simplify for ParagraphList
8441 (checkPastePossible): simplify for ParagraphList
8442 (checkPastePossible): remove unused arg
8444 * ParagraphList.C (insert): handle the case where there are no
8447 * CutAndPaste.h: make CutAndPaste a namespace.
8449 * text3.C (dispatch): adjust
8451 * text.C (breakParagraph): add a ParagraphList as arg
8453 * paragraph_funcs.C (breakParagraph): change to take a
8454 BufferParams and a ParagraphList as args.
8455 (breakParagraphConservative): ditto
8456 (mergeParagraph): ditto
8457 (TeXDeeper): add a ParagraphList arg
8458 (TeXEnvironment): ditto
8461 * buffer.C (readLyXformat2): adjust
8462 (insertStringAsLines): adjust
8463 (latexParagraphs): adjust
8465 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8466 (cutSelection): adjust
8467 (pasteSelection): adjust
8469 * BufferView_pimpl.C (insertInset): adjust
8471 2003-03-05 Angus Leeming <leeming@lyx.org>
8474 * LyXAction.C (init):
8475 * BufferView_pimpl.C (dispatch):
8476 * lyxfunc.C (getStatus):
8477 remove LFUN_CHILD_INSERT.
8479 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8481 2003-03-05 Angus Leeming <leeming@lyx.org>
8484 * LyXAction.C (init):
8485 * src/factory.C (createInset):
8486 * lyxfunc.C (getStatus):
8487 * text3.C (dispatch):
8488 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8490 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8492 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8494 * ParagraphList.C (insert): handle insert right before end()
8495 (erase): fix cases where it can be first or last paragraph.
8497 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8499 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8500 Paragraph::next and Paragraph::previous
8503 * text.C (breakParagraph): adjust
8505 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8506 BufferParams& as arg.
8507 (breakParagraph): use ParagraphList::insert
8508 (breakParagraphConservative): take a Buffer* instead of a
8509 BufferParams& as arg.
8510 (breakParagraphConservative): use ParagraphList::insert.
8512 * buffer.C (insertStringAsLines): un-const it
8513 (insertStringAsLines): adjust
8515 * ParagraphList.C (insert): new function
8517 * CutAndPaste.C (pasteSelection): adjust
8519 * text.C (backspace): adjust
8521 * tabular.C (SetMultiColumn): adjust
8523 * CutAndPaste.C (cutSelection): adjust
8524 (pasteSelection): adjust
8526 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8527 Buffer const * as arg
8529 * ParagraphList.C (erase): new function
8530 * paragraph_funcs.C (mergeParagraph): use it
8531 (mergeParagraph): make it take a Buffer* instead of a
8532 BufferParams* as arg
8534 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8536 (breakParagraphConservative): ditto
8538 * paragraph.h: remove the breakParagraph friend
8540 * paragraph.C (eraseIntern): new function
8541 (setChange): new function
8543 * paragraph_funcs.C (mergeParagraph): make it take a
8544 ParagraphList::iterator instead of a Paragraph *, adjust
8547 * paragraph.h: move an #endif so that the change tracking stuff
8548 also works in the NO_NEXT case.
8550 2003-03-04 Angus Leeming <leeming@lyx.org>
8553 * LyXAction.C: new LFUN_INSET_MODIFY.
8555 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8556 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8558 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8560 * several files: ws changes only
8562 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8563 (TeXEnvironment): ditto
8566 * buffer.C (makeLaTeXFile): adjust
8567 (latexParagraphs): make it take ParagraphList::iterator as args
8569 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8571 * buffer.C (latexParagraphs): adjust
8573 * paragraph.C (TeXOnePar): move function...
8574 (optArgInset): move function...
8575 (TeXEnvironment): move function...
8576 * paragraph_pimpl.C (TeXDeeper): move function...
8577 * paragraph_funcs.C: ...here
8579 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8581 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * buffer.C (readInset): remove compability code for old Figure and
8586 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8588 * buffer.C: ws changes
8591 * BufferView_pimpl.C: ditto
8594 * bufferlist.h: ditto
8598 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8600 * converter.[Ch]: split into itself +
8603 * Makefile.am: += graph.[Ch] + format.[Ch]
8610 * lyxrc.C: added #include "format.h"
8612 2003-02-27 Angus Leeming <leeming@lyx.org>
8614 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8617 * factory.C (createInset): add "label" to the factory.
8619 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8620 string and do no more.
8622 2003-02-27 Angus Leeming <leeming@lyx.org>
8625 * LyXAction.C (init):
8626 * factory.C (createInset):
8627 * BufferView_pimpl.C (dispatch):
8628 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8630 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8632 * lyxfunc.C (dispatch):
8633 * text3.C (dispatch): pass name to params2string.
8635 2003-02-26 Angus Leeming <leeming@lyx.org>
8637 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8639 Rearrange the ~includes. Strip out the unnecessary ones.
8641 * factory.C (createInset): reformat.
8642 create new insets for the various LFUN_XYZ_APPLY lfuns.
8644 2003-02-26 John Levon <levon@movementarian.org>
8647 * lyxrow.C: add isParStart,isParEnd helpers
8649 * paragraph.h: make isInserted/DeletedText take refs
8651 * paragraph_funcs.h:
8652 * paragraph_funcs.C: remove #if 0'd code
8657 * text.C: use lyxrow helpers above.
8658 Move draw and paint routines to RowPainter.
8659 Make several methods use refs not pointers.
8660 Make backgroundColor() const.
8661 Add markChangeInDraw(), isInInset().
8662 Merge changeRegionCase into changeCase.
8663 Make workWidth() shouldn't-happen code into an Assert.
8666 * rowpainter.C: new class for painting a row.
8669 * vspace.C: make inPixels take a ref
8671 2003-02-26 Angus Leeming <leeming@lyx.org>
8673 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8676 2003-02-25 John Levon <levon@movementarian.org>
8678 * ispell.C: give the forked command a more accurate name
8680 2003-02-22 John Levon <levon@movementarian.org>
8683 * toc.C: make TocItem store an id not a Paragraph *
8686 2003-02-21 Angus Leeming <leeming@lyx.org>
8688 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8689 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8690 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8691 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8692 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8693 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8695 * BufferView_pimpl.C (dispatch):
8696 * LyXAction.C (init):
8697 * factory.C (createInset):
8698 * lyxfunc.C (getStatus, dispatch):
8699 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8701 2003-02-21 Angus Leeming <leeming@lyx.org>
8703 * BufferView_pimpl.C (MenuInsertLyXFile):
8704 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8705 * lyxfunc.C (menuNew, open, doImport):
8706 no longer pass a LyXView & to fileDlg.
8708 2003-02-21 Angus Leeming <leeming@lyx.org>
8710 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8711 * LyXAction.C: change, BIBKEY to BIBITEM.
8712 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8713 Change InsetBibKey to InsetBibitem.
8714 Change BIBKEY_CODE to BIBITEM_CODE.
8715 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8716 * factory.C: replace insetbib.h with insetbibitem.h.
8717 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8718 * paragraph.C: replace insetbib.h with insetbibitem.h.
8719 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8720 Change bibkey() to bibitem().
8721 * text.C: remove insetbib.h.
8722 * text2.C: replace insetbib.h with insetbibitem.h.
8723 change bibkey() to bibitem().
8724 * text3.C: remove insetbib.h.
8725 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8727 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8729 * lyxrc.C (output): enclose user email in quotes (in case there are
8732 2003-02-18 John Levon <levon@movementarian.org>
8734 * buffer.h: add std::
8736 2003-02-17 John Levon <levon@movementarian.org>
8742 * pspell.C: reworking. Especially in ispell, a large
8743 number of clean ups and bug fixes.
8745 * lyxfunc.C: fix revert to behave sensibly
8747 2003-02-17 André Pönitz <poenitz@gmx.net>
8750 * commandtags.h: new LFUN_INSERT_BIBKEY
8760 * paragraph_func.C: remove special bibkey handling
8762 2003-02-17 John Levon <levon@movementarian.org>
8764 * text.C (Delete): fix case where delete at the end of
8765 the very first paragraph would not merge the pars
8767 2003-02-17 John Levon <levon@movementarian.org>
8769 * lyxrow.C: fix lastPrintablePos()
8771 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8773 * bufferparams.C (writeLaTeX): add a std:here
8775 * buffer.C: and remove a using directive there
8777 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8779 * buffer.C (makeLaTeXFile): move the code that generates the
8782 * bufferparams.C (writeLaTeX): ... in this new method
8784 * LaTeXFeatures.C (getEncodingSet): make const
8785 (getLanguages): make const
8787 * MenuBackend.C (binding): returns the binding associated to this
8789 (add): sets the status of each item by calling getStatus. Adds
8791 (read): add support for OptSubMenu
8792 (expand): remove extra separator at the end of expanded menu
8794 2003-02-15 John Levon <levon@movementarian.org>
8797 * BufferView_pimpl.C:
8799 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8800 inset code that had no actual effect. Remove unneeded status
8803 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8805 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8808 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8810 * text.C (drawLengthMarker): also draw an arrow marker for
8811 symbolic lengths (medskip...)
8813 2003-02-14 John Levon <levon@movementarian.org>
8816 * tabular.C: better method names
8818 2003-02-14 John Levon <levon@movementarian.org>
8820 * BufferView_pimpl.C:
8825 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8826 it's a more accurate name. Remove some pointless uses.
8828 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8830 * text2.C (LyXText): change order of initilizers to shut off
8833 2003-02-14 John Levon <levon@movementarian.org>
8835 * buffer.C: use ParIterator for getParFromID()
8839 * paragraph_pimpl.h:
8840 * paragraph_pimpl.C: remove unused getParFromID()
8842 2003-02-14 John Levon <levon@movementarian.org>
8844 * buffer.C: remove some very old #if 0'd parse code
8846 2003-02-13 John Levon <levon@movementarian.org>
8850 * text2.C: move hfillExpansion(), numberOfSeparators(),
8851 rowLast(), rowLastPrintable(), numberofHfills(),
8852 numberOfLabelHfills() ...
8855 * lyxrow.C: ... to member functions here.
8860 * text.C: remove LyXText::beginningOfMainBody(), and call
8861 p->beginningOfMainBody() directly. Move the check for
8862 LABEL_MANUAL into the latter.
8869 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8875 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8876 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8878 2003-02-13 John Levon <levon@movementarian.org>
8880 * CutAndPaste.C: remove debug
8882 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8884 * paragraph.C (asString): remove two unused variables
8886 * lyxtextclass.C (readTitleType):
8888 (LyXTextClass): handle new members titletype_ and titlename_
8890 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8892 2003-02-09 John Levon <levon@movementarian.org>
8895 * buffer.C: replace hand-coded list with a map for the dep clean
8897 2003-02-08 John Levon <levon@movementarian.org>
8899 * LaTeX.C: consolidate code into showRunMessage() helper
8901 2003-02-08 John Levon <levon@movementarian.org>
8906 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8907 and pass the size in explicitly
8909 * BufferView_pimpl.h:
8910 * BufferView_pimpl.C:
8912 * BufferView.C: add getCurrentChange()
8914 * BufferView_pimpl.h:
8915 * BufferView_pimpl.C: handle change lfuns
8917 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8918 for changes. Mark pasted paragraphs as new.
8920 * support/lyxtime.h:
8921 * support/lyxtime.C:
8922 * DepTable.C: abstract time_t as lyx::time_type
8925 * LColor.C: add colours for new text, deleted text, changebars
8927 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8928 package use "usenames" option.
8932 * LyXAction.C: add change lfuns
8936 * author.C: author handling
8939 * buffer.C: add a per-buffer author list, with first entry as
8940 current author. Handle new .lyx tokens for change tracking. Output
8941 author list to .lyx file. Output dvipost stuff to .tex preamble.
8942 Bump lyx format to 222.
8945 * bufferlist.C: add setCurrentAuthor() to reset current author details
8949 * bufferparams.C: add param for tracking
8951 * bufferview_funcs.C: output change info in minibuffer
8955 * changes.C: add change-tracking structure
8958 * debug.C: add CHANGES debug flag
8961 * lyxfind.C: add code for finding the next change piece
8964 * lyxrc.C: add user_name and user_email
8967 * lyxrow.C: add a metric for the top of the text line
8970 * text.C: implement accept/rejectChange()
8973 * text.C: paint changebars. Paint new/deleted text in the chosen
8974 colours. Strike through deleted text.
8978 * paragraph_pimpl.h:
8979 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8980 in the current change to the insert functions. Rework erase to
8981 mark text as deleted, adding an eraseIntern() and a range-based
8982 erase(). Implement per-paragraph change lookup and
8985 * paragraph_funcs.C: Fixup paste for change tracking.
8987 * tabular.C: mark added row/columns as new.
8989 * text.C: fix rowLast() to never return -1. Don't allow
8990 spellchecking of deleted text. Track transpose changes. Don't
8991 allow paragraph break or merge where appropriate.
8993 * text2.C: leave cursor at end of selection after a cut.
8995 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8997 * text.C (getLengthMarkerHeight):
8998 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8999 visible on screen too.
9001 2003-02-07 John Levon <levon@movementarian.org>
9003 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9005 2003-02-05 Angus Leeming <leeming@lyx.org>
9007 * lyxserver.C (read_ready): revert my patch of 11 September last year
9008 as it sends PC cpu through the roof. Presumably this means that
9009 the lyxserver will no longer run on an Alpha...
9011 2003-01-30 Angus Leeming <leeming@lyx.org>
9013 * factory.C (createInset): create an InsetCommandParam of type "index"
9014 and use it to 'do the right thing'.
9016 * text2.C (getStringToIndex): ensure that cursor position is always
9017 reset to the reset_cursor position.
9019 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9021 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9024 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9028 * lyxfunc.C: Output messages with identical spelling, punctuation,
9031 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9033 * MenuBackend.C (expandFormats): List only viewable export formats
9036 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9039 * lyxfunc.C (getStatus): Make sure that formats other than
9040 "fax" can also be disabled
9042 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9044 * text3.C (dispatch): put the lfuns that insert insets in 3
9045 groups, and call doInsertInset with appropriate arguments.
9046 (doInsertInset): new function, that creates an inset and inserts
9047 it according to some boolean parameters.
9049 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9051 * buffer.C (readFile): remember to pass on 'par' when calling
9052 readFile recursively.
9054 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9056 * MenuBackend.C (expandFormats): add "..." to import formats.
9058 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9060 * paragraph.C (asString): Remove XForms RTL hacks.
9062 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9063 * buffer.C: fix typo
9065 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9067 * Makefile.am (LIBS): delete var
9068 (lyx_LDADD): add @LIBS@ here instead.
9070 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9072 * Clarify the meaning of "wheel mouse jump"
9074 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9076 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9079 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9081 * importer.C (Loaders): do not preallocate 3 elements in the
9082 vector, since one ends up with 6 elements otherwise
9084 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9086 * DepTable.C (write): write the file name as last element of the
9087 .dep file (because it may contain spaces)
9088 (read): read info in the right order
9090 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9092 * paragraph_pimpl.C (simpleTeXBlanks):
9093 (simpleTeXSpecialChars):
9094 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9096 * tabular.C (latex): add some missing case statements. Reindent.
9098 * MenuBackend.C (expandToc): remove unused variable.
9100 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9109 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9112 2003-01-05 John Levon <levon@movementarian.org>
9115 * BufferView.C: add getEncoding()
9118 * kbsequence.C: do not store last keypress
9121 * lyxfunc.C: store last keypress here instead. Pass encoding
9124 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9126 * lyx_main.C (init): remove annoying error message when following
9127 symbolic links (bug #780)
9129 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9131 * text.C (insertChar):
9132 * lyxrc.C (getDescription): remove extra spaces
9134 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9136 * lyxrc.C (getDescription): remove extra spaces
9138 2002-12-20 John Levon <levon@movementarian.org>
9140 * text3.C: hack fix for page up/down across tall rows
9142 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9144 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9147 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9149 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9150 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9151 thesaurus is not compiled in
9153 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9155 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9157 2002-12-16 Angus Leeming <leeming@lyx.org>
9160 * lyx_main.C (init): remove override_x_deadkeys stuff.
9162 2002-12-12 John Levon <levon@movementarian.org>
9164 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9165 insert. Only remove shift modifier under strict
9168 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9170 * MenuBackend.C (expandToc): fix crash.
9172 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9174 * MenuBackend.C (expandToc): gettext on float names.
9176 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9178 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9179 implement bool empty() [bug 490]
9181 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9183 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9185 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9187 * several files: ws changes
9189 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9191 * text2.C (setCounter): clean up a bit, use boost.format.
9192 (updateCounters): initialize par upon declaration.
9194 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9195 if the layout exists. We do not just store the layout any more.
9196 (SwitchLayoutsBetweenClasses): use boost.format
9198 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * converter.C (convert): if from and to files are the same, use a
9201 temporary files as intermediary
9203 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9206 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9208 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9210 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9212 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9214 * tabular.C (asciiPrintCell): use string(size, char) instead of
9217 * sgml.C (openTag): fix order of arguments to string constructor
9220 * lyxfunc.C (dispatch): use boost.format
9222 * lots of files: change "c" -> 'c'
9224 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9226 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9228 2002-11-25 Angus Leeming <leeming@lyx.org>
9230 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9232 * lyx_main.C (init): compile fix.
9234 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9236 * lyx_cb.C (start): boost.formatify
9237 do not include <iostream>
9239 * lengthcommon.C: ws only
9241 * boost-inst.C,BoostFormat.h: add more explict instantations
9243 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9245 * lots of files: handle USE_BOOST_FORMAT
9247 2002-11-21 John Levon <levon@movementarian.org>
9249 * pspell.C: fix compile
9251 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9253 * lyxfunc.C (dispatch): use boost::format
9257 * lyxfont.C (stateText): use boost::format
9259 * lyx_main.C (LyX): use boost::format
9261 (queryUserLyXDir): ditto
9264 (typedef boost::function): use the recommened syntax.
9266 * importer.C (Import): use boost::format
9268 * debug.C (showLevel): use boost::format
9270 * converter.C (view): use boost::format
9275 * bufferview_funcs.C (currentState): use boost::format
9277 * bufferlist.C (emergencyWrite): use boost::format
9279 * buffer.C (readLyXformat2): use boost::format
9280 (parseSingleLyXformat2Token): ditto
9282 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9284 * LaTeX.C (run): use boost::format
9286 * Chktex.C (scanLogFile): use boost::format
9288 * BufferView_pimpl.C (savePosition): use boost::format
9289 (restorePosition): ditto
9290 (MenuInsertLyXFile): ditto
9292 * BoostFormat.h: help file for explicit instation.
9294 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9296 * tabular.C (latex): Support for block alignment in fixed width
9299 2002-11-17 John Levon <levon@movementarian.org>
9301 * BufferView_pimpl.C:
9303 * lyxfunc.C: split filedialog into open/save
9305 2002-11-08 Juergen Vigna <jug@sad.it>
9307 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9308 by my last patch (hopefully).
9310 2002-11-08 John Levon <levon@movementarian.org>
9319 * toc.C: ParConstIterator, and use it (from Lars)
9321 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9323 * lyxtextclass.[Ch]: revise and add doxygen comments
9325 2002-11-07 John Levon <levon@movementarian.org>
9327 * text.C: fix progress value for spellchecker
9329 * toc.C: fix navigate menu for insetwrap inside minipage
9331 * paragraph_funcs.C: added FIXME for suspect code
9333 2002-11-07 John Levon <levon@movementarian.org>
9335 * BufferView_pimpl.C: fix redrawing of insets
9338 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9340 * text2.C (updateCounters): fix bug 668
9342 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9344 * text3.C (dispatch): Do not make the buffer dirty when moving the
9347 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9349 * vc-backend.C: STRCONV
9352 * text2.C (setCounter): STRCONV
9354 * paragraph.C (asString): STRCONV
9356 * lyxlength.C (asString): STRCONV
9357 (asLatexString): ditto
9359 * lyxgluelength.C (asString): STRCONV
9360 (asLatexString): ditto
9362 * lyxfunc.C (dispatch): STRCONV
9365 * lyxfont.C (stateText): STRCONV
9367 * importer.C (Import): STRCONV
9369 * counters.C (labelItem): STRCONV
9370 (numberLabel): ditto
9371 (numberLabel): remove unused ostringstream o
9376 * bufferview_funcs.C (currentState): STRCONV
9378 * buffer.C (readFile): STRCONV
9379 (asciiParagraph): ditto
9380 (makeLaTeXFile): ditto
9382 * Spacing.C (writeEnvirBegin): STRCONV
9384 * LaTeXFeatures.C (getLanguages): STRCONV
9385 (getPackages): ditto
9387 (getBabelOptions): ditto
9388 (getTClassPreamble): ditto
9389 (getLyXSGMLEntities): ditto
9390 (getIncludedFiles): ditto
9394 (scanAuxFile): ditto
9397 * LString.h: add the STRCONV macros
9399 * BufferView_pimpl.C (savePosition): STRCONV
9400 (restorePosition): ditto
9401 (MenuInsertLyXFile): ditto
9403 * vc-backend.C (scanMaster): change from submatch[...] to
9406 * funcrequest.C: include config.h
9408 * factory.C: include config.h
9410 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9412 * box.C: include config.h
9414 * LaTeX.C (scanAuxFile): change from submatch[...] to
9418 2002-10-25 Angus Leeming <leeming@lyx.org>
9420 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9422 * ispell.[Ch] (setError): new method.
9423 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9424 Use setError() insetead of goto END.
9426 * lyx_cb.C (AutoSave): move out child process into new class
9429 2002-10-30 John Levon <levon@movementarian.org>
9431 * text3.C: make start appendix undoable
9433 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9435 * lyxlength.C (inPixels): Fix returned value.
9437 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9440 2002-10-24 Angus Leeming <leeming@lyx.org>
9442 * lyxgluelength.h: no need to forward declare BufferParams
9443 or BufferView, so don't.
9445 2002-10-21 John Levon <levon@movementarian.org>
9447 * BufferView.C: menuUndo ->undo, redo
9449 * BufferView.h: document, remove dead, make some methods private
9451 * paragraph_funcs.h:
9452 * paragraph_funcs.C:
9453 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9458 * sgml.C: move sgml open/close tag into sgml.C
9460 * bufferview_funcs.h: unused prototype
9463 * lyxfunc.C: remove unused
9466 * text.C: remove unused
9468 2002-10-21 John Levon <levon@movementarian.org>
9472 * BufferView_pimpl.h:
9473 * BufferView_pimpl.C: fix mouse wheel handling based on
9474 patch from Darren Freeman
9476 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9478 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9480 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9482 * lyxlength.C (inPixels): Fix hanfling of negative length.
9483 Fix LyXLength::MU case.
9485 2002-10-16 John Levon <levon@movementarian.org>
9487 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9489 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9491 * converter.C (view): add support for $$i (file name) and $$p
9492 (file path) for the viewer command. If $$i is not specified, then
9493 it is appended to the command (for compatibility with old syntax)
9495 2002-10-14 Juergen Vigna <jug@sad.it>
9497 * undo_funcs.C (textHandleUndo): alter the order in which the
9498 new undopar is added to the LyXText, as we have to set first
9499 the right prev/next and then add it as otherwise the rebuild of
9500 LyXText is not correct. Also reset the cursor to the right paragraph,
9501 with this IMO we could remove the hack in "redoParagraphs()".
9503 2002-10-09 Angus Leeming <leeming@lyx.org>
9505 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9506 to turn off an optimisation if a new inset is to be inserted.
9508 2002-10-11 André Pönitz <poenitz@gmx.net>
9510 * lyxtext.h: make some functions public to allow access
9511 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9513 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9515 * text3.C (dispatch): when changing layout, avoid an infinite loop
9518 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9520 * lyxrc.C (read): treat a viewer or converter command of "none" as
9523 * MenuBackend.C (expandFormats): for an update, also allow the
9524 formats that are not viewable
9526 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9527 script if it is newer than the lyxrc.defaults in user directory
9529 2002-10-07 André Pönitz <poenitz@gmx.net>
9531 * text.C: Vitaly Lipatov's small i18n fix
9533 2002-09-25 Angus Leeming <leeming@lyx.org>
9535 * ispell.h: doxygen fix.
9537 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9539 * buffer.h (readFile): Add a new argument to the method, to allow
9540 reading of old-format templates.
9542 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9544 * toc.C (getTocList): Get TOC from InsetWrap.
9546 2002-09-16 John Levon <levon@movementarian.org>
9548 * lyxfunc.C: check tabular for cut/copy too
9550 2002-09-12 John Levon <levon@movementarian.org>
9555 * factory.C: add header
9557 * paragraph_funcs.h:
9558 * paragraph_funcs.C: cleanup
9560 2002-09-11 John Levon <levon@movementarian.org>
9562 * PrinterParams.h: odd/even default to true
9564 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9566 * PrinterParams.h: update printer parameters for new xforms dialog
9568 2002-09-11 Angus Leeming <leeming@lyx.org>
9570 * lyxserver.C (read_ready): re-write to make it more transparent
9571 and to make it work in coherent fashion under Tru64 Unix.
9573 2002-09-11 André Pönitz <poenitz@gmx.net>
9577 * text3.C: implement LFUN_WORDSEL
9579 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9581 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9582 make floatlist_ a boost::shared_ptr<FloatList>
9584 * lyxtextclass.C: include FloatList.h
9585 (LyXTextClass): initialize floatlist_
9586 (TextClassTags): add TC_NOFLOAT
9587 (Read): match "nofloat" to TC_NOFLOAT and use it.
9588 (readFloat): modify call to floatlist_
9592 * FloatList.[Ch] (FloatList): remove commented out float
9594 (erase): new function
9596 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9598 * MenuBackend.C (expandToc): fix crash when there is no document
9601 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9603 * many files: Add insetwrap.
9605 2002-09-09 John Levon <levon@movementarian.org>
9607 * text2.C: remove confusing and awkward depth wraparound
9609 2002-09-09 John Levon <levon@movementarian.org>
9611 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9614 * buffer.C: remove getIncludeonlyList()
9617 * lyxfunc.C: remove headers
9619 2002-09-09 Juergen Vigna <jug@sad.it>
9621 * text.C (getColumnNearX): fix form Michael this is most
9622 probably a cut&paste bug.
9624 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9626 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9628 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9629 references, ws changes.
9631 * text2.C (init): update counters after init
9632 (insertParagraph): no need to set counter on idividual paragraphs.
9633 (setCounter): access the counters object in the textclass object
9634 on in the buffer object.
9635 (updateCounters): ditto
9637 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9638 shared_ptr<Counters> to avoid loading counters.h in all
9640 (LyXTextClass): initialize ctrs_
9641 (TextClassTags): add TC_COUNTER, and ...
9642 (Read): use it here.
9643 (CounterTags): new tags
9644 (readCounter): new function
9645 (counters): new funtion
9646 (defaultLayoutName): return a const reference
9648 * counters.C (Counters): remove contructor
9649 (newCounter): remove a couple of unneeded statements.
9650 (newCounter): simplify a bit.
9651 (numberLabel): some small formatting changes.
9653 * buffer.[Ch]: remove all traces of counters, move the Counters
9654 object to the LyXTextClass.
9656 2002-09-06 Alain Castera <castera@in2p3.fr>
9658 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9659 package to set the horizontal alignment on fixed width columns.
9662 * lyx_sty.h: added tabularnewline macro def.
9664 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9666 2002-09-06 John Levon <levon@movementarian.org>
9668 * LyXAction.C: tooltips for sub/superscript
9670 * MenuBackend.C: a bit more verbose
9672 * lyxfunc.C: tiny clean
9674 * undo_funcs.C: document undo_frozen
9676 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9678 * counters.C (Counters): add missing algorithm counter.
9680 * text2.C (setCounter): lookup the counter with layouts latexname
9681 instead of by section number.
9682 (setCounter): use a hackish way to lookup the correct enum
9684 a float name->type change
9685 reset enum couners with counter name directly instead of depth value.
9687 * counters.C (Counters): remove the push_backs, change to use the
9688 float type not the float name.
9689 (labelItem): remove unused string, float name->type change
9691 * counters.h: don't include vector, loose the enums and sects vectors
9693 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9695 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9696 (Read): add float->TC_FLOAT to textclassTags
9697 (Read): and handle it in the switch
9698 (readFloat): new function
9700 * FloatList.C (FloatList): comment out the hardcoded float
9703 * lyxlayout.h: ws change.
9705 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9707 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9709 2002-09-03 Angus Leeming <leeming@lyx.org>
9711 * BufferView_pimpl.h: qualified name is not allowed in member
9712 declaration: WorkArea & Pimpl::workarea() const;
9714 * factory.C: added using std::endl directive.
9716 * text3.C: added using std::find and std::vector directives.
9718 2002-08-29 André Pönitz <poenitz@gmx.net>
9721 * text2.C: remove unused member number_of_rows
9724 * BufferView2.C: remove file, move contents to...
9725 * BufferView.C: ... here
9727 * BufferView_pimpl.C:
9728 * factory.C: move more inset creation to factory
9730 * vspace.C: avoid direct usage of LyXText, ws changes
9733 don't provide direct access to WorkArea, use two simple
9734 acessors haveSelction() and workHeight() instead
9737 2002-08-29 John Levon <levon@movementarian.org>
9739 * BufferView_pimpl.C (dispatch): do not continue when
9742 2002-08-28 André Pönitz <poenitz@gmx.net>
9744 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9747 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9749 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9751 * buffer.C: increment LYX_FORMAT to 221
9753 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9754 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9756 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9758 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9760 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9762 * factory.C (createInset): use LyXTextClass::floats
9764 * MenuBackend.C (expandFloatListInsert):
9765 (expandFloatInsert):
9768 * text2.C (setCounter):
9770 * LaTeXFeatures.C (useFloat):
9771 (getFloatDefinitions):
9773 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9775 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9776 floatlist_, with accessor floats().
9778 * FloatList.h: remove global FloatList
9780 2002-08-26 André Pönitz <poenitz@gmx.net>
9782 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9786 * BufferView_pimpl.C:
9787 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9789 2002-08-25 John Levon <levon@movementarian.org>
9791 * LyXAction.C: fix margin note description
9793 2002-08-24 John Levon <levon@movementarian.org>
9797 * bufferview_funcs.C:
9799 * undo_funcs.C: cleanups
9801 * lyxfunc.C: disable CUT/COPY when no selection
9803 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9805 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9806 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9808 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9809 Add backward compatibility to "mono", "gray" and "no".
9811 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9813 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9814 (and file_format >= 200).
9816 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9818 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9820 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9822 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9824 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9826 * BufferView_pimpl.C:
9833 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9834 inset and code to make it work with the paragraph code. The inset
9835 can be anywhere in the paragraph, but will only do the expected
9836 thing in LaTeX if the layout file contains the parameter line
9838 (or more generally, a nonzero value) for that layout.
9840 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9842 * paragraph.h: remove the declaration of undefined counters class
9845 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9847 * text2.C (setCounter): fixed enumeration mis-count as reported by
9848 Dr. Richard Hawkins.
9850 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9852 * paragraph_funcs.h: remove some unneeded includes
9854 * text.C (backspace): pasteParagraph now in global scipe
9856 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9857 (pasteSelection): ditto
9859 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9860 * paragraph_funcs.C (pasteParagraph): ... here
9862 2002-08-20 André Pönitz <poenitz@gmx.net>
9864 * commandtags.h: new LFUNs for swapping/copying table row/colums
9867 * lyxfunc.C: support for new lfuns
9869 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9872 * buffer.[Ch]: remove NO_COMPABILITY stuff
9874 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9876 * boost.C (throw_exception): new file, with helper function for
9877 boost compiled without exceptions.
9882 * ParameterStruct.h:
9883 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9885 * bufferlist.C (emergencyWriteAll): use boost bind
9887 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9889 * text.C: include paragraph_funcs.h
9890 (breakParagraph): breakParagraph is now in global scope
9892 * paragraph_funcs.[Ch]: new files
9894 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9897 * buffer.C: include paragraph_funcs.h
9898 (insertStringAsLines): breakParagraph is now in global scope
9900 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9903 * CutAndPaste.C: include paragraph_funcs.h
9904 (cutSelection): breakParagraphConservative is now in global scope
9905 (pasteSelection): ditto
9907 * buffer.h: declare oprator== and operator!= for
9908 Buffer::inset_iterator
9910 * bufferlist.C (emergencyWrite): don't use fmt(...)
9912 * text3.C: add using std::endl
9914 * BufferView.C (moveCursorUpdate): remove default arg
9916 2002-08-20 André Pönitz <poenitz@gmx.net>
9918 * buffer.[Ch]: move inline functions to .C
9921 * BufferView_pimpl.C:
9923 * buffer.[Ch]: use improved inset_iterator
9926 * paragraph.[Ch]: write one paragraph at a time
9928 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9930 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9931 style if style is not specified.
9933 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9935 * text2.C (setCounter): when searching for right label for a
9936 caption, make sure to recurse to parent insets (so that a caption
9937 in a minipage in a figure float works) (bug #568)
9939 2002-08-20 André Pönitz <poenitz@gmx.net>
9941 * text3.C: new file for LyXText::dispatch() and helpers
9943 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9945 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9947 2002-08-19 André Pönitz <poenitz@gmx.net>
9950 * text.C: new LyXText::dispatch()
9952 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9954 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9956 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9958 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9961 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9963 * Makefile.am: use $(variables) instead of @substitutions@
9965 2002-08-15 André Pönitz <poenitz@gmx.net>
9968 * BufferView_pimpl.C: streamlining mathed <-> outer world
9972 * LyXAction.C: remove unused LFUN_MATH
9974 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9976 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9978 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9980 * paragraph.C (Paragraph): reformat a bit
9981 (cutIntoMinibuffer): use builtin InsetList function instad of
9985 * buffer.C: include boost/bind.hpp, add using std::for_each
9986 (writeFileAscii): use ParagraphList iterators
9987 (validate): use for_each for validate traversal of paragraphs
9988 (getBibkeyList): use ParagraphList iterators
9989 (resizeInsets): use for_each to resizeInsetsLyXText for all
9991 (getParFromID): use ParagraphList iterators
9993 * BufferView2.C (lockInset): use paragraph list and iterators
9995 2002-08-14 John Levon <levon@movementarian.org>
9997 * lyxserver.C: remove spurious xforms include
9999 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10001 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10003 2002-08-13 André Pönitz <poenitz@gmx.net>
10006 * lyxfunc.C: further cleaning
10008 2002-08-13 André Pönitz <poenitz@gmx.net>
10010 * funcrequest.h: new constructor
10012 * funcrequest.C: move stuff here from .h
10015 * BufferView_pimpl.C:
10018 * lyxfunc.C: subsequent changes
10020 * lyxfunc.h: new view() member function
10022 * lyxfunc.C: subsequent changes
10024 2002-08-13 Angus Leeming <leeming@lyx.org>
10027 * BufferView_pimpl.C:
10035 changes due to the changed LyXView interface that now returns references
10036 to member variables not pointers.
10038 2002-08-13 Angus Leeming <leeming@lyx.org>
10040 * WordLangTuple (word, lang_code): return references to strings,
10045 * lyxtext.h: forward-declare WordLangTuple.
10050 * text.C: #include "WordLangTuple.h".
10053 * text.C: (selectNextWordToSpellcheck): constify return type.
10055 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10061 * paragraph_pimpl.h:
10064 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10065 suggested by Angus.
10066 Made updateCounter always count from start of buffer, and removed
10067 second argument (par).
10068 Reverted floats number display to '#'. Perhaps I'll try again when the
10069 code base is sanitized a bit.
10071 2002-08-12 Angus Leeming <leeming@lyx.org>
10073 * buffer.[Ch] (getLabelList): constify.
10075 2002-08-07 André Pönitz <poenitz@gmx.net>
10077 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10079 * funcrequest.h: extension to keep mouse (x,y) position
10081 2002-08-12 Juergen Vigna <jug@sad.it>
10083 * BufferView2.C (insertErrors): forbid undo when inserting error
10086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10088 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10090 * ParagraphList.[Ch]: new files
10092 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10094 * BufferView2.C (lockInset): ParagraphList changes
10097 * bufferlist.C: ditto
10101 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10103 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10104 unused class variable counter_,
10106 * paragraph.[Ch] (getFirstCounter): delete unused function
10108 * counters.C: include LAssert.h
10109 (reset): add a new function with no arg, change other version to
10110 not have def. arg and to not allow empty arg.
10112 * text2.C (setCounter): remove empty arg from call to Counters::reset
10114 2002-08-11 John Levon <levon@movementarian.org>
10116 * Makefile.am: add WordLangTuple.h
10118 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10120 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10121 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10123 * insets/insettext.C: InsetList changes
10125 * graphics/GraphicsSupport.C (operator()): InsetList changes
10127 * toc.C (getTocList): InsetList changes
10129 * paragraph_pimpl.[Ch]: InsetList changes
10131 * paragraph.[Ch]: InsetList changes
10133 * buffer.C (inset_iterator): InsetList changes
10134 (setParagraph): ditto
10135 * buffer.h (inset_iterator): ditto
10136 * iterators.C (operator++): ditto
10137 * iterators.h: ditto
10139 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10141 * InsetList.[Ch]: new files, most InsetList handling moved out of
10144 * BufferView2.C (removeAutoInsets): InsetList changes
10146 (ChangeInsets): ditto
10148 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10150 * paragraph_pimpl.h (empty): new function
10152 * paragraph.[Ch] (empty): new function
10154 * other files: use the new Paragraph::empty function
10156 2002-08-09 John Levon <levon@movementarian.org>
10158 * lyxtext.h: remove unused refresh_height
10160 2002-08-09 John Levon <levon@movementarian.org>
10167 * paragraph.C: move sgml char escaping out of paragraph
10170 * paragraph.C: remove id setter
10174 * paragraph_pimpl.C: remove dead tex_code_break_column
10176 * bufferview_funcs.C: small cleanup
10178 * lyxfunc.C: remove dead proto
10180 * lyxtext.h: make some stuff private. Remove some dead stuff.
10182 * lyxgluelength.C: make as[LyX]String() readable
10184 2002-08-08 John Levon <levon@movementarian.org>
10189 * ToolbarDefaults.C:
10192 * toc.C: lyxaction cleanup
10194 2002-08-08 John Levon <levon@movementarian.org>
10196 * BufferView2.C: small cleanup
10199 * lyxfind.C: move unnecessary header into the .C
10201 2002-08-08 John Levon <levon@movementarian.org>
10203 * funcrequest.h: just tedious nonsense
10206 * lyx_main.C: cleanups
10209 * vspace.C: remove dead header lyx_main.h
10211 2002-08-07 Angus Leeming <leeming@lyx.org>
10214 * paragraph_pimpl.h:
10215 Forward declare class Counters in paragraph.h by moving the ctrs member
10216 variable into Paragraph::Pimpl.
10217 (counters): new method, returning a reference to pimpl_->ctrs.
10219 * text2.C: ensuing changes.
10221 2002-08-07 John Levon <levon@movementarian.org>
10223 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10225 * BufferView_pimpl.C: announce X selection on double/triple
10228 * lyx_main.C: use correct bool in batch dispatch
10230 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10232 2002-08-07 André Pönitz <poenitz@gmx.net>
10234 * funcrequest.h: new class to wrap a kb_action and its argument
10237 * BufferView_pimpl[Ch]:
10241 * lyxrc.C: subsequent changes
10244 2002-08-07 John Levon <levon@movementarian.org>
10246 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10247 document options change.
10249 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10254 * makefile.am: move counters functionality over from
10255 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10257 2002-08-06 John Levon <levon@movementarian.org>
10259 * WordLangTuple.h: new file for word + language code tuple
10270 * BufferView2.C: use WordLangTuple
10273 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10275 2002-08-06 John Levon <levon@movementarian.org>
10277 * lyx_main.C: fix cmdline batch handling
10279 2002-08-06 André Pönitz <poenitz@gmx.net>
10281 * lyxrc.C: set default for show_banner to true
10283 2002-08-06 John Levon <levon@movementarian.org>
10285 * pspell.C: fix a crash, and allow new aspell to work
10287 2002-08-06 John Levon <levon@movementarian.org>
10290 * kbmap.C: small cleanup
10293 * vspace.C: add const
10295 2002-08-05 John Levon <levon@movementarian.org>
10297 * LyXAction.C: back to tabular-insert
10299 2002-08-04 John Levon <levon@movementarian.org>
10302 * BufferView.C: cosmetic change
10304 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10314 * BufferView2.C: purge all "Lyx" not "LyX" strings
10317 * lyxcursor.C: attempt to add some documentation
10322 * ToolbarDefaults.C:
10323 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10324 merge with LFUN_TABULAR_INSERT
10331 * pspell.C: split up i/pspell implementations into separate
10332 files, many cleanups
10334 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10336 * text2.C: some cleanup
10338 * lyxfunc.C: don't check for isp_command == "none" any more, it
10339 didn't make any sense
10341 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10346 * makefile.am: move counters functionality over
10347 from text2.C/paragraph.[Ch] to counters.[Ch], and
10349 2002-08-02 John Levon <levon@movementarian.org>
10351 * buffer.C: s/lyxconvert/lyx2lyx/
10353 2002-08-02 Angus Leeming <leeming@lyx.org>
10355 * lyxlex.C: revert John's change as it breaks reading of the user
10358 2002-08-02 Angus Leeming <leeming@lyx.org>
10360 * importer.C (Import):
10361 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10362 changes due to LyXView::view() now returning a boost::shared_ptr.
10364 2002-08-02 John Levon <levon@movementarian.org>
10366 * lyxlex.C: small cleanup
10368 2002-08-02 John Levon <levon@movementarian.org>
10370 * text2.C (status): small cleanup, no logic change
10372 2002-08-01 John Levon <levon@movementarian.org>
10375 * buffer.C (writeFile): don't output alerts, caller
10379 * lyx_cb.C: from above
10381 * lyxfunc.C: allow to open non-existent files
10383 2002-07-31 John Levon <levon@movementarian.org>
10385 * lyxserver.C: don't let incidental errors get
10388 2002-07-30 John Levon <levon@movementarian.org>
10390 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10392 2002-07-30 John Levon <levon@movementarian.org>
10395 * lyxserver.C: remove I/O callback too
10397 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10399 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10402 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10404 * many files: strip,frontStrip -> trim,ltrim,rtrim
10406 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10408 * PrinterParams.h: remove extern containsOnly, and include
10409 support/lstrings.h instead.
10411 * LaTeX.C (scanAuxFile): modify because of strip changes
10413 * buffer.C (makeLaTeXFile): ditto
10414 * bufferparams.C (writeFile): ditt
10415 * lyxfont.C (stateText): ditto
10416 * lyxserver.C (read_ready): ditto
10417 * vc-backend.C (scanMaster): ditto
10419 * BufferView_pimpl.h: ws changes
10421 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10423 2002-07-26 André Pönitz <poenitz@gmx.net>
10425 * kb_sequence.C: remove unnedred usings
10427 2002-07-26 Juergen Vigna <jug@sad.it>
10429 * lyxfind.C (LyXReplace): we have to check better if the returned
10430 text is not of theLockingInset()->getLockingInset().
10432 2002-07-25 Juergen Vigna <jug@sad.it>
10434 * lyxfind.C (LyXReplace): don't replace if we don't get the
10437 * undo_funcs.C (createUndo): remove debugging code.
10439 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10441 * buffer.C (parseSingleLyXformat2Token): Use default placement
10442 when reading old floats.
10444 * FloatList.C (FloatList): Change the default placement of figure
10445 and tables to "tbp".
10447 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10449 * MenuBackend.C: using std::max
10451 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10453 * MenuBackend.C (expandToc):
10454 (expandToc2): code moved from xforms menu frontend. It is now
10455 generic and TOCs are transparent to menu frontends.
10457 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10459 * toc.C (getTocList): protect against buf=0
10461 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10462 Menu as first parameter. Now, this calls itself recursively to
10463 expand a whole tree (this will be useful for TOC handling)
10464 (expandFloatInsert): remove 'wide' version of floats
10466 * MenuBackend.h (submenuname): returns the name of the submenu.
10467 (submenu): returns the submenu itself, provided it has been
10468 created by MenuBackend::expand
10470 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10472 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10473 insets which have noFontChange == true. (bug #172)
10475 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10477 * BufferView_pimpl.C: add connection objects and use them...
10480 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10482 * MenuBackend.C (expandLastfiles):
10485 (expandFloatListInsert):
10486 (expandFloatInsert):
10487 (expand): split expand in parts
10489 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10491 * lyx_gui.C: use lyx_gui::exit()
10493 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10495 * LyXAction.C: show the failing pseudo action
10497 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10499 * buffer.C (readFile): Run the lyxconvert script in order to read
10502 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10506 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10508 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10512 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10514 2002-07-22 Herbert Voss <voss@lyx.org>
10517 * lyxlength.[Ch]: add support for the vertical lengths
10519 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10521 * toc.[Ch]: std:: fixes
10523 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10525 * lyxrc.C: do not include lyx_main.h
10527 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10533 * BufferView2.C: include "lyxlex.h"
10536 * bufferparams.h: do not #include "lyxlex.h"
10538 * lyxtextclasslist.C (Add): remove method
10539 (classlist): renamed to classlist_
10541 * paragraph_pimpl.C:
10545 * bufferview_funcs.C:
10550 * toc.C (getTocList): use BufferParams::getLyXTextClass
10552 * toc.C (getTocList): use InsetFloat::addToToc
10554 * toc.[Ch]: new files, containing helper functions to handle table
10557 * lyxfunc.C (dispatch): no need to remove spaces around command
10559 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10560 first command of the sequence; it is not very clever, but I do not
10561 have a better idea, actually
10563 * LyXAction.C (LookupFunc): make sure to remove space at the
10564 beginning and end of the command
10566 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10568 * MenuBackend.C (getMenubar): new method: return the menubar of
10570 (read): treat differently reading of menu and menubar (in
10571 particular, the menubar has no name now)
10572 (Menu::menubar): remove
10574 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10577 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10579 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10580 a bibitem inset in a RTL paragraph.
10582 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10584 * paragraph_pimpl.C: constify
10586 * BufferView_pimpl.C:
10588 * lyxfunc.C: fix dispatch in a nicer way
10590 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * lyxfunc.C (dispatch):
10593 * BufferView_pimpl.C:
10594 * BufferView_pimpl.h:
10596 * BufferView.h: rename Dispatch() to dispatch()
10598 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10600 * lyxlayout.C (Read): honor DependsOn tag
10602 * lyxlayout.[Ch] (depends_on): new method
10604 * version.C.in: update lyx_docversion
10606 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10608 * paragraph.C (validate): remove from here...
10609 * paragraph_pimpl.C (validate): ... and move here
10610 (isTextAt): make it const
10612 * buffer.C (getLists): ws cleanup
10614 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10616 * language.C (read): Use iso8859-1 encoding in latex_lang
10617 (this prevents LyX from crashing when using iso10646-1 encoding).
10619 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10621 * text2.C (toggleInset): if cursor is inside an inset, close the
10622 inset and leave cursor _after_ it
10624 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10626 * lyxfunc.C: move minibuffer completion handling out of here
10628 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10630 * BufferView_pimpl.C:
10631 * LaTeX.C: fix dispatch calls
10633 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10635 * text.C (drawChars): Fix Arabic text rendering.
10637 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10641 * lyxfunc.C: remove message-push/pop
10645 * lyxfunc.C: rationalise some code by removing verboseDispatch
10646 in favour of a bool argument to dispatch()
10648 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10650 * lyx_main.C (init): make sure to read symlinks as absolute paths
10652 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10655 * lyxfunc.C: no need for commandshortcut to be a member
10657 2002-07-15 André Pönitz <poenitz@gmx.net>
10659 * converter.C: add support for $$s (scripts from lib/scripts dir)
10660 * lyx_main.C: white space
10662 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10666 * lyxrc.C: remove second exit confirmation
10668 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10673 * BufferView_pimpl.h:
10674 * BufferView_pimpl.C:
10675 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10677 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10679 * MenuBackend.C (expand): add numeric shortcuts to document menu
10681 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10683 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10685 * lyxfont.C (setLyXFamily):
10692 * buffer.C (asciiParagraph): use ascii_lowercase
10694 2002-07-15 Mike Fabian <mfabian@suse.de>
10696 * lyxlex_pimpl.C (search_kw):
10697 * lyxlex.C (getLongString):
10698 * converter.h (operator<):
10699 * converter.C (operator<):
10700 * buffer.C (parseSingleLyXformat2Token):
10702 * ToolbarDefaults.C (read):
10703 * MenuBackend.C (checkShortcuts):
10705 * LColor.C (getFromGUIName):
10706 (getFromLyXName): use the compare_ascii_no_case instead of
10707 compare_no_case, because in turkish, 'i' is not the lowercase
10708 version of 'I', and thus turkish locale breaks parsing of tags.
10710 2002-07-16 Angus Leeming <leeming@lyx.org>
10712 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10713 now takes a Buffer const & argument.
10715 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10717 * BufferView.C (resize): check there's a buffer to resize
10719 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10721 * lyxfunc.C: remove dead code
10724 * lyxserver.C: use lyx_guii::set_read_callback
10726 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10728 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10729 an inset in a RTL paragraph.
10731 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10733 * lyxfunc.C: repaint after a font size update
10735 2002-07-15 André Pönitz <poenitz@gmx.net>
10737 * lyxlength.C: inBP should be able to return negative values
10739 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10741 * lyxfunc.C: use lyx_gui::update_fonts()
10743 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10745 * lyxfunc.C: use lyx_gui::update_color()
10747 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10753 * lyxrc.C: remove file->new asks for name option, and let
10754 buffer-new take an argument
10756 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10758 * BufferView_pimpl.C: remove unneeded extra repaint()
10760 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10762 * LyXAction.C: allow command-sequence with NoBuffer
10764 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10766 2002-07-10 Angus Leeming <leeming@lyx.org>
10768 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10770 2002-07-09 Angus Leeming <leeming@lyx.org>
10772 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10774 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10776 * lengthcommon.h: whitespace
10778 * lyxfunc.C: update scrollbar after goto paragraph
10780 * lyxtext.h: factor out page break drawing, and fix it so
10781 page break/added space paints as selected nicely
10783 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10785 * BufferView_pimpl.C: add FIXMEs, clean up a little
10787 2002-07-09 André Pönitz <poenitz@gmx.net>
10789 * lyxfont.[Ch]: support for wasy symbols
10791 2002-07-08 André Pönitz <poenitz@gmx.net>
10793 * BufferView_pimpl.C: apply John's patch for #93.
10795 2002-07-05 Angus Leeming <leeming@lyx.org>
10797 * BufferView_pimpl.C (buffer): generate previews if desired.
10799 * LColor.h: add "preview" to the color enum.
10801 * LColor.C (LColor): add a corresponding entry to the items array.
10803 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10806 2002-07-05 Angus Leeming <leeming@lyx.org>
10808 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10809 The body of the code is now in the method that is passed an ostream &
10810 rather than a file name.
10811 Pass an additional only_preamble parameter, useful for the forthcoming
10814 2002-07-03 André Pönitz <poenitz@gmx.net>
10816 * lyxfunc.C: simplify getStatus() a bit for math stuff
10818 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10820 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10822 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10824 * text.C (changeRegionCase): do not change case of all the
10825 document when region ends at paragraph end (bug #461)
10827 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10829 * paragraph.C (startTeXParParams):
10830 (endTeXParParams): add \protect when necessary
10832 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10834 * BufferView_pimpl.C (workAreaExpose): remove warning
10836 2002-06-27 Angus Leeming <leeming@lyx.org>
10838 * Makefile.am: add lyxlayout_ptr_fwd.h.
10840 2002-06-26 André Pönitz <poenitz@gmx.net>
10842 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10844 2002-06-25 Angus Leeming <leeming@lyx.org>
10846 * lyxfunc.C (dispatch): Comment out the call to
10847 grfx::GCache::changeDisplay. The method no longer exists now that the
10848 pixmap generation part of the graphics loader has been moved into
10851 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10853 * text2.C: layout as layout
10855 * text.C: layout as layout
10857 * tabular.C (OldFormatRead): layout as layout
10859 * paragraph_pimpl.C (TeXDeeper): layout as layout
10860 (realizeFont): layout as layout
10862 * paragraph.C (writeFile): layout as layout
10863 (validate): layout as layout
10864 (getFont): layout as layout
10865 (getLabelFont): layout as layout
10866 (getLayoutFont): layout as layout
10867 (breakParagraph): layout as layout
10868 (stripLeadingSpaces): layout as layout
10869 (getEndLabel): layout as layout
10870 (getMaxDepthAfter): layout as layout
10871 (applyLayout): layout as layout
10872 (TeXOnePar): layout as layout
10873 (simpleTeXOnePar): layout as layout
10874 (TeXEnvironment): layout as layout
10875 (layout): layout as layout
10876 (layout): layout as layout
10878 * lyxtextclass.C (compare_name): new functor to work with
10879 shared_ptr, layout as layout
10880 (Read): layout as layout
10881 (hasLayout): layout as layout
10882 (operator): layout as layout
10883 (delete_layout): layout as layout
10884 (defaultLayout): layout as layout
10886 * lyxlayout_ptr_fwd.h: new file
10888 * lyxlayout.C (Read): layout as layout
10890 * lyx_cb.C (MenuInsertLabel): layout as layout
10892 * bufferlist.C (newFile): layout as layout
10894 * buffer.C (readLyXformat2): layout as layout
10895 (parseSingleLyXformat2Token): layout as layout
10896 (insertStringAsLines): layout as layout
10897 (asciiParagraph): layout as layout
10898 (latexParagraphs): layout as layout
10899 (makeLinuxDocFile): layout as layout
10900 (simpleLinuxDocOnePar): layout as layout
10901 (makeDocBookFile): layout as layout
10902 (simpleDocBookOnePar): layout as layout
10903 (getLists): layout as layout
10905 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10907 * CutAndPaste.C (cutSelection): layout as layout
10908 (pasteSelection): layout as layout
10909 (SwitchLayoutsBetweenClasses): layout as layout
10911 * BufferView_pimpl.C (Dispatch): layout as layout
10912 (smartQuote): layout as layout
10914 * BufferView2.C (unlockInset): layout as layout
10916 2002-06-24 André Pönitz <poenitz@gmx.net>
10918 * lyxfunc.C: fix #487
10920 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10924 * lyxfunc.C: remove display_shortcuts, show_banner
10926 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10928 * Buffer_pimpl.C: oops, update on resize
10930 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10937 * BufferView.C: use repaint()
10939 * BufferView_pimpl.h:
10940 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10941 as it's a clearer description. Remove superfluous
10944 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10946 * text.C: fix bug 488. Not ideal, but getting
10947 getWord() to work properly for the insets that
10948 matter is more difficult ...
10950 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10952 * BufferView_pimpl.C:
10955 * lyxfunc.C: remove the six million index lyxfuncs to just
10956 one, and DTRT (bug 458)
10958 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10962 * BufferView_pimpl.h:
10963 * BufferView_pimpl.C: clean up resize() stuff,
10964 and unnecessary updateScreen()s
10966 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10970 * BufferView_pimpl.h:
10971 * BufferView_pimpl.C:
10974 * minibuffer.C: remove focus management of workarea,
10975 not needed. Use screen's greyOut()
10977 2002-06-17 Herbert Voss <voss@lyx.org>
10979 * converter.C: (convert) do not post a message, when converting
10980 fails, let the calling function decide what to do in this case
10982 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10984 * lyxfunc.C: tidy up a little
10986 2002-06-16 <alstrup@diku.dk>
10988 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10989 Got rid of FORMS_H_LOCATION include. Now we are
10992 2002-06-15 LyX Development team <lyx@rilke>
10994 * buffer.[Ch] (sgmlOpenTag):
10995 (sgmlCloseTag): Added support for avoiding pernicious mixed
10996 content. Return number of lines written.
10998 (makeLinuxDocFile):
10999 (makeDocBookFile): Fixed calls to sgml*Tag.
11000 Simple white space clean.
11002 (simpleDocBookOnePar): Simple white space clean.
11004 * tabular.[Ch] (docBook): Renamed to docbook and got another
11005 argument to related with the pernicious mixed content.
11007 (docbookRow): Fixed calls for docbook inset method.
11009 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11011 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11012 so it's X11 independent.
11016 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11018 2002-06-15 Lyx Development team <lyx@electronia>
11020 * intl.h: Renamed getTrans to getTransManager.
11022 2002-06-14 Angus Leeming <leeming@lyx.org>
11024 * Makefile.am: nuke forgotten stl_string_fwd.h.
11026 2002-06-12 Angus Leeming <leeming@lyx.org>
11028 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11030 2002-06-13 Angus Leeming <leeming@lyx.org>
11033 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11035 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11037 * kbmap.C (getiso): add support for cyrillic and greek
11039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11043 * BufferView_pimpl.h:
11044 * BufferView_pimpl.C: move bogus scrolling logic
11047 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11050 * BufferView_pimpl.C: view->resize() change
11052 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11054 * BufferView_pimpl.C: topCursorVisible
11057 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11061 * lyx_gui.C: move to frontends/
11065 * lyx_main.C: changes from above
11067 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11074 * lyx_main.C: minor tidy
11076 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11078 * BufferView_pimpl.h:
11079 * BufferView_pimpl.C:
11081 * BufferView.C: make painter() const,
11084 * BufferView2.C: use screen() accessor
11087 * lyx_main.C: some minor cleanup
11089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11091 * BufferView_pimpl.h:
11092 * BufferView_pimpl.C: remove enter/leaveView,
11095 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11100 * BufferView_pimpl.h:
11101 * BufferView_pimpl.C: only construct screen once,
11104 * lyxrc.C: remove pointless comment
11106 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11109 * BufferView.C: remove active() and belowMouse()
11111 * BufferView_pimpl.h:
11112 * BufferView_pimpl.C: use workarea() not workarea_,
11113 and make it use a scoped_ptr instead
11115 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11117 * lyx_gui.C: add debug message on BadWindow
11119 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11121 * sp_spell.C: fdopen is not part of the C++ standard.
11123 * paragraph.C (InsetIterator): use >= instead of ==
11125 2002-06-07 Angus Leeming <leeming@lyx.org>
11127 Fixes needed to compile with Compaq cxx 6.5.
11128 * BufferView_pimpl.C:
11135 * lyxtextclasslist.C:
11140 all c-library variables have been moved into namespace std. Wrap
11141 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11146 Add a using std::abs declaration.
11148 * kbmap.h (modifier_pair):
11149 * paragraph.h (InsetTable, InsetList):
11150 * lyxfont.h (FontBits):
11151 type definition made public.
11153 * bufferlist.C (emergencyWriteAll): the compiler complains that
11154 there is more than one possible lyx::class_fun template to choose from.
11155 I re-named the void specialisation as lyx::void_class_fun.
11157 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11159 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11160 the compiler is is unable to find tostr in write_attribute.
11162 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11164 * buffer.C (sgmlError): hide #warning
11166 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11168 * xtl/*: get rid of xtl, which is not in use anyway
11170 * LyXAction.C (init):
11171 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11172 were unimplemented xtl experimentation
11174 2002-06-04 André Pönitz <poenitz@gmx.net>
11176 * lyxfunc.C: disable array operation on simple formulae
11178 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11180 * converter.C: constify a bit
11182 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11184 * lyx_gui.C: check xforms version correctly
11186 2002-04-30 Herbert Voss <voss@lyx.org>
11188 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11191 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11193 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11194 attempt to register it with a VCS)
11196 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11198 * lyx_main.C (init): honor variables LYX_DIR_13x and
11201 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11205 * lyx_main.C: fix a crash on bad command line,
11206 and give a useful exit status on error
11208 * lyxfunc.C (doImport): allow -i lyx to work
11210 2002-03-30 André Pönitz <poenitz@gmx.net>
11212 * lyxfunc.C: mathed font changes
11214 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11229 * trans_mgr.h: srcdocs, and some minor cleanups
11231 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11233 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11234 call getFont all the time)
11236 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11238 * switch from SigC signals to boost::signals
11240 2002-05-29 André Pönitz <poenitz@gmx.net>
11242 * paragraph_pimpl.C (getChar): don't call size() too often...
11244 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11246 * paragraph_pimpl.C (insertChar): do not try to update tables when
11247 appending (pos == size())
11249 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11250 in order to reduce drastically the number of comparisons needed to
11251 parse a large document
11253 2002-05-29 André Pönitz <poenitz@gmx.net>
11259 * textclasslist.[Ch]:
11260 * sp_ispell.h: whitespace change
11262 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11264 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11265 lyxaction directly now.
11267 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11271 * lyxvc.C: remove unused headers
11273 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11280 * undo_funcs.C: some cleanups. Use shared_ptr
11281 and a template for the undo stacks.
11283 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11285 * BufferView_pimpl.h:
11286 * BufferView_pimpl.C:
11293 * text2.C: use key_state/mouse_state
11295 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11297 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11300 * chset.C: change include order
11301 (loadFile): use boost regex and get rid of LRegex and LSubstring
11303 * Makefile.am (BOOST_LIBS): new variable
11304 (lyx_LDADD): use it
11306 * LaTeX.C: change include order.
11307 (scanAuxFile): use boost regex and get rid of LRegex and
11311 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11316 * FontInfo.C: moved to frontends/xforms/
11319 * FontLoader.C: moved into frontends for GUIIzation
11324 * lyxfunc.C: changes from above
11326 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11328 * LColor.C: remove spurious X include
11330 * BufferView_pimpl.C:
11335 * text2.C: move font metrics to frontends/
11337 2002-05-24 Juergen Vigna <jug@sad.it>
11339 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11340 setting the undo_cursor.
11342 * ParagraphParameters.h: include local includes first.
11344 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11346 * BufferView_pimpl.C:
11347 * BufferView_pimpl.h:
11351 * screen.C: move WorkArea into frontends/
11357 * BufferView2.C: move LyXScreen into frontends/
11361 * lyx_gui.C: move lyxlookup into frontends/xforms/
11363 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11366 * BufferView_pimpl.C:
11376 * bufferview_funcs.C:
11389 * vc-backend.C: move LyX/XFormsView into frontends/
11391 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11403 * text2.C: move Painter to frontends/
11405 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * buffer.C: comment out some some code that depend upon lyx_format
11410 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11411 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11413 * buffer.h (NO_COMPABILITY): turn off compability
11415 * ColorHandler.C: include scoped_array.hpp
11417 * font.C: Use more specific smart_ptr header.
11420 * ShareContainer.h: ditto
11421 * lyx_main.h: ditto
11423 * FontInfo.h: ditto
11424 * BufferView_pimpl.h: ditto
11425 * ColorHandler.h: ditto
11427 * kbmap.C (defkey): change call to shared_ptr::reset
11429 2002-05-21 Juergen Vigna <jug@sad.it>
11431 * buffer.C (insertErtContents): fix to insert ert asis if it is
11432 non empty. Skip it completely if it contains only whitespaces.
11434 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11436 * BufferView_pimpl.C:
11437 * BufferView2.C: clear selection on paste (bug 393)
11439 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11441 * DepTable.C: include ctime
11443 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11445 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11447 2002-05-14 Juergen Vigna <jug@sad.it>
11449 * text.C (breakParagraph): fixed function to honor the keepempty
11450 layout in the right maner and also to permit the right breaking
11451 algorithm on empty or non empyt keepempty paragraphs.
11453 * paragraph.C (breakParagraph): we have to check also if the par
11454 is really empty (!size()) for isempty otherwise we do the wrong
11457 2002-05-10 Juergen Vigna <jug@sad.it>
11459 * buffer.[Ch] : The following are only changes to the ert
11460 compatibility read reading old LaTeX layout and font stuff and
11461 convert it to ERTInsets.
11463 * buffer.h: added isErtInset().
11465 * buffer.C (struct ErtComp): add a fromlayout bool to check
11466 if we're inside a LaTeX layout.
11467 (isErtInset): new helper function.
11468 (insertErtContents): look for other ert insets before this one
11469 and insert the contents there, so that we don't have subsequent
11470 ERT insets with nothing between them. This way we create only one
11471 inset with multiple paragraphs. Also check if we don't insert only
11472 spaces ' ' as they are ignored anyway afterwards in the .tex file
11473 so if we have only spaces we will ignore this latex part in the
11475 (parseSingleLyXformat2Token \\layout): better compatibility when
11476 reading layout-latex stuff.
11477 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11479 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11480 stuff after reading the inset only get the information back from
11483 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11485 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11487 * LaTeXFeatures.C (getBabelOptions): New method.
11489 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11491 * BufferView_pimpl.C (Dispatch): work around missing argument for
11494 2002-05-08 Juergen Vigna <jug@sad.it>
11496 * text.C (leftMargin): handle paragraph leftindent.
11498 * paragraph.C (writeFile): write the new \\leftindent tag.
11499 (validate): handle leftindent code.
11500 (TeXEnvironment): handle paragraphleftindent code again.
11502 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11504 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11505 for paragrap_extra indent code and new token \\leftindent.
11506 (latexParagraphs): handle the leftindent as environment.
11508 * ParameterStruct.h: added leftindent support.
11510 * ParagraphParameters.C (leftIndent): added support functions for
11511 the paragraph left indent.
11513 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11516 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11518 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11521 * text.C (computeBidiTables): No bidi in insetERT.
11523 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11526 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11528 * version.C.in: pre 5
11530 2002-05-02 José Matos <jamatos@fep.up.pt>
11531 * buffer.C (makeDocBookFile): white space changes, add newline to
11533 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11535 * tabular.C (docBook): fix typo.
11537 2002-05-03 Juergen Vigna <jug@sad.it>
11539 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11540 change in LyXText as we can not be sure it was not freed.
11541 (drawOneRow): remove unused code.
11543 * text.C (drawInset): redo the calculation of the need_break_row as
11544 it could have a row which was already freed.
11545 (draw): look at the return value of drawInset and return false if
11546 it also returned false.
11547 (paintRowText): look at the return value of draw and return false if
11548 it also returned false.
11550 * lyxtext.h: added bool return type to drawInset() and draw() so that
11551 if we have a change in the row so that the rowbreak has to be redone
11552 we abort drawing as it will be called again.
11554 2002-05-02 Juergen Vigna <jug@sad.it>
11556 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11557 a change in the maintext also if we're inside an inset.
11558 (Dispatch): set the cursor again after a break line and after the
11559 screen has been updated as it could be we're in a different row.
11561 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11562 to set the cursor behind the pargraph with > size().
11563 (setCursor): check also for the same paragraph when checking where
11564 to put the cursor if we have a NFR inset.
11566 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11567 parts of layout read further up as it still was in the wrong
11570 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11572 * screen.C (drawFromTo): change sine fullRebreak always return
11575 * buffer.C (parseSingleLyXformat2Token): reindent some
11577 * BufferView_pimpl.C (update): change since fullRebreak always
11579 (Dispatch): git rid of the last hardcoded "Standard"s.
11581 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * text2.[Ch] (fullRebreak): make it return void now that we always
11586 2002-04-30 Juergen Vigna <jug@sad.it>
11588 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11589 ert compatibility check for "latex" layout.
11591 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11593 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11594 minipages: use col% instead of p%, and also use the current font.
11595 (makeLaTeXFile): Fix use babel condition.
11596 (parseSingleLyXformat2Token): Correct font when reading old floats.
11598 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11600 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11601 inserting list of floats.
11603 2002-04-25 Herbert Voss <voss@lyx.org>
11605 * MenuBackend.C (expand): don't add the graphics extensions to the
11608 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11610 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11611 non-existing layout, do not complain if it was the default layout
11612 of the original class (bug #342)
11614 2002-04-24 Juergen Vigna <jug@sad.it>
11616 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11617 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11619 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11621 * buffer.C (getBibkeyList): If using \bibliography, return the
11622 option field with the reference itself. Enables us to provide natbib
11623 support when using \bibliography.
11625 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11627 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11629 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11630 natbib is provided by the LaTeX class.
11632 2002-04-23 Juergen Vigna <jug@sad.it>
11634 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11637 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11639 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11641 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11643 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11644 ensuremath around textordmasculine, textordfeminine and
11647 2002-04-19 Juergen Vigna <jug@sad.it>
11649 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11650 reinitializing the buffer otherwise row-dimensions may be wrong.
11651 (update): reset also the selection cursors if they do exits otherwise
11652 their x/y positions may be wrong.
11654 * text2.C (cursorDown): don't enter the inset if we came from a row
11655 above and are one row over the inset.
11657 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11658 really leaving an inset.
11660 2002-04-18 Juergen Vigna <jug@sad.it>
11662 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11663 of the selected paragraph does not have the selected layout also if
11666 * text2.C (setLayout): fixed bug which did not change last selected
11669 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11670 changed the read and substituted \\end_float with \\end_inset!
11672 * BufferView_pimpl.C (cursorPrevious):
11673 (cursorNext): fixed to make it work with rows heigher than the work
11674 area without moving the cursor only the draw of the row.
11675 (workAreaMotionNotify): fix jumping over high rows.
11677 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11679 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11682 2002-04-16 Juergen Vigna <jug@sad.it>
11684 * text2.C (setCursor): set also the irow().
11685 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11687 (cursorDown): support for locking an inset if the x_fix value goes
11688 inside it. That way I can transverse insets too with cursor up/down.
11690 * lyxrow.h: added irow helper function same as other (i) functions.
11692 * BufferView_pimpl.C (cursorPrevious):
11693 (cursorNext): fixed for insets!
11695 2002-04-15 Juergen Vigna <jug@sad.it>
11697 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11698 position otherwise it is wrong in some cases.
11700 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11701 inside the inset before the call.
11703 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11705 * buffer.[Ch] (getBibkeyList): make it const.
11707 2002-04-12 Juergen Vigna <jug@sad.it>
11709 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11711 * text2.C (getCursorX): new helper function
11712 (setCursor): compute also ix_
11713 (setCursorFromCoordinates): set also ix.
11715 * lyxcursor.h: added ix_ and helper functions.
11717 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11719 * buffer.C (insertStringAsLines): dont break paragraph if the this
11720 paragraph is inside an inset which does not permit it!
11722 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11723 also with no chars on this paragraph.
11724 (paintRowText): only paint stuff if it's inside the workarea!
11726 * paragraph.C (breakParagraph): honor keepempty flag and break the
11727 paragraph always below not above.
11729 * BufferView2.C (unlockInset): update the paragraph layout on inset
11730 unlock as we changed paragraph in such a case.
11732 * lyxfind.C (LyXFind): clear the former selection if not found!
11734 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11735 again called in insertChar().
11737 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11738 an inset which uses the whole row!
11739 (rightMargin): ditto.
11740 (insertChar): force a rebreak if we inserted an inset!
11742 2002-03-28 Herbert Voss <voss@lyx.org>
11744 * lyxlength.[Ch]: add inBP() to get the right PS-point
11745 units (BigPoint). With inPixels we have rounding errors
11747 2002-04-11 Juergen Vigna <jug@sad.it>
11749 * text2.C (setCursorFromCoordinates): set iy to the right value.
11750 (setCursor): add check if row->previous exists!
11752 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11753 an old float_type as this was the case in the old code!
11755 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11757 * BufferView2.C (showLockedInsetCursor): use iy
11758 (fitLockedInsetCursor): ditto
11760 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11761 locked insets as there we have the right value now.
11763 * lyxcursor.C: added iy_ variable and iy functions to set to the
11764 baseline of cursor-y of the locked inset.
11766 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11767 (setCursor): fixed for insets which need a full row.
11769 * text.C (rowLastPrintable): don't ignore the last space when before
11770 an inset which needs a full row.
11771 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11772 as last character of a row when before a inset which needs a full row.
11774 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * version.C.in: update date
11778 * text2.C (fullRebreak): try to always return true and see what
11781 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11783 * MenuBackend.C (expand): use Floating::listName
11785 * FloatList.C (FloatList): add listName argument to the built-in
11788 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11789 text associated with the float.
11791 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11793 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11795 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11797 * ShareContainer.h: add a couple of missing typenames.
11799 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11801 * lyxrc.C (getDescription): use _() correctly rather than N_().
11803 2002-03-28 Herbert Voss <voss@lyx.org>
11805 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11806 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11808 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11810 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11811 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11813 2002-03-29 Juergen Vigna <jug@sad.it>
11815 * lyxfunc.C (dispatch): add a missing fitCursor call.
11817 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11818 it was scrolled by a cursor move, so return the bool status.
11820 * BufferView.C (fitCursor): return the bool flag also to the outside
11821 world as this is needed.
11823 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11825 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11826 call the edit() as it is not needed (and wrong) IMO.
11827 (workAreaButtonPress): set the screen_first variable before evt.
11828 unlock the inset as this may change screen_first and then we have
11829 a wrong y position for the click!
11831 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11833 * MenuBackend.C (expand): another translation that I missed
11835 2002-03-28 Juergen Vigna <jug@sad.it>
11837 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11839 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11841 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11843 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11845 * MenuBackend.C (expand): fix export/view/update when there is no
11848 2002-03-27 Herbert Voss <voss@lyx.org>
11850 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11853 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11855 * bufferview_funcs.C (currentState): only show paragraph number
11856 for is DEVEL_VERSION is set.
11858 * lyxfunc.C (dispatch): put warning in INFO channel
11860 * MenuBackend.C (expand): translate the name of floats
11862 * FloatList.C (FloatList): mark the float names for translation
11864 * converter.C (convert): use LibScriptSearch
11866 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11868 * MenuBackend.C (defaults): fix default menu (we might as well get
11871 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11873 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11876 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * lyxvc.C: reorder includes.
11880 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11882 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11885 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11887 * CutAndPaste.C: change layouts earlier on paste
11888 to avoid crashing when calling getFont()
11890 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11892 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11895 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11897 * WorkArea.C: remove 'Pending' debug message.
11899 * most files: ws cleanup
11901 * buffer.[Ch]: ws changes
11903 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11905 2002-03-21 Juergen Vigna <jug@sad.it>
11907 * tabular.C (SetMultiColumn): collapse also the contents of the
11908 cells and set the last border right. Added a Buffer const * param.
11910 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11912 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11915 2002-03-19 Juergen Vigna <jug@sad.it>
11917 * text2.C (clearSelection): reset also xsel_cache.
11919 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11920 where it needs to be called (John tells us to do so too :)
11921 (selectionLost): reset sel_cache.
11923 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11925 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11927 * text2.C (setCursorIntern): put debuging code in INSETS channel
11929 2002-03-19 André Pönitz <poenitz@gmx.net>
11931 * lyxfunc.C: tiny whitespace change
11933 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11935 * ToolbarDefaults.C (init):
11936 * LyXAction.C (init):
11938 * BufferView_pimpl.C (Dispatch):
11939 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11941 2002-03-19 Allan Rae <rae@lyx.org>
11943 * exporter.C (Export): removeAutoInsets before doing anything else.
11944 While I've just introduced a dependency on BufferView this really is
11945 the best place to clean the buffer otherwise you need to cleanup in
11946 a dozen places before calling export or cleanup in a dozen functions
11949 * converter.C (runLaTeX):
11950 (scanLog): Better handling of removeAutoInsets and screen updates.
11952 * lyxfunc.C (dispatch): small whitespace changes
11954 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11956 * WorkArea.C (C_WorkAreaEvent): return a value.
11957 (event_cb): return 1 if we handled the event, 0 otherwise.
11959 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11961 2002-03-18 Juergen Vigna <jug@sad.it>
11963 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11964 (GetAdditionalWidth): ditto.
11965 (RightLine): ditto.
11968 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11969 inset if we're there actually (probably not used right now but this
11970 is the direction to go for unifying code).
11971 (paste): disable code to clear the selection.
11973 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11974 inside an InsetText and move the check further up as it is in the
11977 * text2.C (pasteSelection): set a selection over the pasted text.
11979 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11981 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11982 and libgraphics to build on Cygwin.
11984 2002-03-15 Juergen Vigna <jug@sad.it>
11986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11987 inserting an Inset into the paragraph. I know this is not the best
11988 fix but we already use current_view in CutAndPaste so we will remove
11989 all of it's using at the same time.
11991 * buffer.C (sgmlError): deactivated function till it is rewritten in
11992 the right mode, now it can create problems.
11994 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11995 before accessing it.
11997 2002-03-14 Juergen Vigna <jug@sad.it>
11999 * undo_funcs.C (textHandleUndo): do the right thing when updating
12000 the inset after the undo/redo.
12002 * text2.C (setCursor): just some testcode for #44 not ready yet.
12004 * undo_funcs.C (textHandleUndo): set the next() and previous()
12005 pointers of the paragraph to 0 before deleting otherwise we have
12006 problems with the Paragraph::[destructor].
12008 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12009 on a paragraph insertion.
12011 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12013 * buffer.C (asciiParagraph): use += operator for char append to
12016 * paragraph.C (getFontSettings): compare >= not just >
12017 (highestFontInRange): ditto
12020 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12022 * paragraph.C: change several algorithm to be more appripriate for
12023 the problem domain. This is lookip in FontList and in the InsetList.
12025 2002-03-13 André Pönitz <poenitz@gmx.net>
12028 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12030 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12035 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12037 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12039 * Painter.C (display): anon helper function, adjust code for this
12041 (pixmap): remove function.
12043 * Painter.h: remove private display variable.
12045 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12047 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12049 * WorkArea.[Ch]: remove figinset_canvas cruft.
12051 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12053 * lyxtextclass.C (operator): add one item cache optimization.
12055 * bufferlist.h: doxy changes
12057 * bufferlist.C: ws changes
12059 * DepTable.[Ch] (ext_exist): place const in the right spot.
12061 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12063 (workAreaExpose): call resizeInsets when the with BufferView changes.
12064 (Dispatch): adjust for protectedBlank removal
12065 (specialChar): call updateInset if the insert went ok.
12067 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12068 specialChar instead.
12070 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12072 * BufferView.h: doxy change
12074 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12076 * lyxtextclass.C (operator[]): remove non-const version
12077 (defaultLayout): remove non-const version
12079 2002-03-12 Juergen Vigna <jug@sad.it>
12081 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12082 did resize the LyXText too.
12084 * buffer.C (readLyXformat2): set layout information on newly allocated
12087 * tabular.C (OldFormatRead): set layout information on the paragraph.
12089 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12091 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12093 2002-03-11 Juergen Vigna <jug@sad.it>
12095 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12097 (resizeCurrentBuffer): force also the insets to resize themselfes.
12098 (moveCursorUpdate): fixed up for InsetText.
12100 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12103 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12104 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12105 value of Dialogs::tooltipsEnabled().
12106 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12108 2002-03-08 Juergen Vigna <jug@sad.it>
12110 * BufferView_pimpl.C (updateInset): update inset inside inset also
12111 if it isn't inside theLockingInset().
12113 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12115 * buffer.C (asciiParagraph): redo some of the word and line length
12117 (getLists): look for Caption instead of caption.
12119 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12121 * buffer.C (Buffer): initialize niceFile to true
12123 (makeLinuxDocFile):
12124 (makeDocBookFile): make sure niceFile is true on exit
12126 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12128 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12130 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12132 * LyXSendto.C: remove.
12133 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12134 * lyx_gui.C: remove now-redundant comment.
12135 * ColorHandler.h: remove forward declaration of class WorkArea.
12136 * lyxfunc.C: remove #include "WorkArea.h".
12138 2002-03-07 Juergen Vigna <jug@sad.it>
12140 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12141 got moved away with the DEPM and also set the inset_owner always
12142 right which before could have been omitted.
12144 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12147 wanted layout is not found.
12149 2002-03-07 Juergen Vigna <jug@sad.it>
12151 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12153 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12155 * paragraph.C (breakParagraph): use default layout not layout of
12157 (Paragraph): clear ParagraphParameters.
12159 2002-03-06 Juergen Vigna <jug@sad.it>
12161 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12162 otherwise it would not be a valid lenght. Fixed a special case in
12163 the minipage compatibility read where we end the document with a
12166 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12167 was set as it could be 0 for InsetTexts first entry.
12169 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12171 * paragraph.C (writeFile): if layout is empty write out
12172 defaultLayoutName().
12174 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12175 file without named layout we set layout to defaultLayoutName().
12177 2002-03-06 Juergen Vigna <jug@sad.it>
12179 * CutAndPaste.C (copySelection): set layout for new paragraph.
12181 * text.C (prepareToPrint): leave ERT inset left aligned
12182 (leftMargin): don't indent paragraphs inside ERT insets
12184 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12186 * paragraph.C (breakParagraph): dont call clear do the work manually
12188 * paragraph.[Ch] (clear): remove function
12190 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12192 * paragraph.C (Paragraph): dont call clear, the work has already
12195 * lyxtextclass.C (operator): assert if n is empty
12197 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12198 work manually instead.
12200 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12202 * BufferView_pimpl.C: protect selectionLost against text == 0
12204 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * text.C (breakParagraph): fix a setting layout to '0' problem.
12208 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12210 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12211 final location of file, for the included files, and graphics.
12213 2002-03-05 Juergen Vigna <jug@sad.it>
12215 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12217 2002-03-04 Juergen Vigna <jug@sad.it>
12219 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12221 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12222 last column of multicolumn cells.
12223 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12225 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12227 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12228 file if it doesn't go to a temporary file.
12230 * buffer.C (sgmlOpenTag):
12231 (sgmlCloseTag): remove extra newline insertion.
12233 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12235 * text.C (getRowNearY): comment out debug msg
12237 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12239 * text2.C: first -> first_y
12241 * text.C (getRowNearY): add some attemts at a possible
12242 optimization, not working.
12244 * tabular.[Ch]: add BufferParams to several function so that newly
12245 created paragraph can be initialized to he default layotu for the
12248 * tabular-old.C (ReadOld): add buf->params to call of Init
12250 * screen.C: rename text->first to text->first_y
12252 * paragraph.C (breakParagraph): always set layout in the broken
12255 * lyxtextclass.C (Read): remove lowercase
12258 (delete_layout): ditto
12260 * lyxtext.h: rename first -> first_y
12262 * lyxlayout.C (Read): remove lowercase
12265 (obsoleted_by): ditto
12267 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12269 * buffer.C (insertErtContents): add params are to InsetERT
12270 (parseSingleLyXformat2Token): add code to check if a paragraphs
12271 layout really exist.
12272 (parseSingleLyXformat2Token): add params to several inset
12274 (asciiParagraph): remove lowercase, do the layout comparisons with
12277 * BufferView_pimpl.C (cursorNext): first -> first_y
12278 (resizeCurrentBuffer): first -> first_y
12279 (updateScrollbar): first -> first_y
12280 (scrollCB): first -> first_y
12281 (workAreaMotionNotify): first -> first_y
12282 (workAreaButtonPress): first -> first_y
12283 (checkInsetHit): first -> first_y
12284 (cursorPrevious): first -> first_y
12285 (cursorNext): first -> first_y
12286 (Dispatch): add buffer_->params to severl inset contructors
12288 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12290 * lyxlayout.C (Read): remove some debug info that I forgot.
12292 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12293 clean up the code slightly.
12294 (makeLinuxDocFile): ditto
12295 (makeDocBookFile): ditto
12297 * text2.C: layout as string
12299 * text.C: layout as string
12301 * paragraph_pimpl.C: layout as string
12303 * paragraph.[Ch]: layout as string
12305 * lyxtextclasslist.[Ch]: layout as string
12307 * lyxtextclass.[Ch]: layout as string
12309 * lyxtext.h: layout as string
12311 * lyxlayout.[Ch]: layout as string
12313 * lyx_cb.C: layout as string
12315 * bufferview_funcs.C: layout as string
12317 * bufferparams.C: layout as string
12319 * buffer.C: layout as string
12321 * LyXView.[Ch]: layout as string
12323 * LaTeXFeatures.[Ch]: layout as string
12325 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12327 * BufferView_pimpl.C: change current_layout to string, remove
12332 (workAreaButtonRelease): layout as string
12334 * BufferView2.C (unlockInset): adjust
12336 * vspace.C (asLatexCommand): use an explict temp variable.
12338 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12340 * Makefile.am: use FRONTEND_*
12342 2002-03-01 Juergen Vigna <jug@sad.it>
12344 * tabular.C (SetWidthOfMulticolCell): changed to something better
12345 I hope but still work in progress.
12346 (recalculateMulticolumnsOfColumn): renamed function from
12347 recalculateMulticolCells as it is more appropriate now.
12348 (SetWidthOfCell): calculate multicols better.
12350 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12352 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12354 * lyxfunc.C (processKeySym): print sequence also if it is
12355 `deleted' (complete)
12357 * kbsequence.C (print): print sequence even if it is deleted
12358 (complete would be a better word, actually).
12360 * lyxfunc.C (dispatch): print complete options after a prefix key
12362 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12364 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12366 * text2.C (setCharFont): eliminate setCharFont code duplication.
12368 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12370 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12371 LFUN_TABULAR_FEATURE (bug #177)
12373 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12375 * Makefile.am: remove figure.h
12377 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12379 * Bufferview_pimpl.C:
12391 * text2.C: remove #include "lyx_gui_misc.h".
12393 * LaTeX.C: added #include <cstdio>
12395 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12397 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12398 that the paragraph following this one can have.
12400 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12402 * vspace.C (asLatexCommand): fix bogus gcc warning
12404 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12406 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12408 * text2.C (setLayout): get rid of redundant code
12410 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12412 * text2.C (incDepth): make sure depth cannot be increased beyond
12415 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12417 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12418 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12420 * PainterBase.h (image):
12421 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12422 a LyXImage const *.
12424 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12428 * BufferView_pimpl.C:
12429 * BufferView_pimpl.h:
12449 * sp_spell.C: remove fig inset, and the crap house of
12450 cards that follows it
12452 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12457 * os2_errortable.h:
12458 * nt_defines.h: move .h into support/
12460 * vms_defines.h: remove
12462 * WorkArea.C: add space in debug output
12466 * buffer.C: add WITH_WARNINGS
12470 * bufferlist.C: s/retrive/retrieve/, add docs
12479 * chset.C: add docs
12481 * lyxgui.C: add ID to X error handler
12483 * lyxtestclass.c: fix typo
12485 2002-02-26 Juergen Vigna <jug@sad.it>
12487 * tabular_funcs.C (write_attribute): changed so that some default
12488 attributes are not written at all.
12489 (getTokenValue): set default values before trying to read the
12490 value so we have the return value always set as default if we don't
12491 find the token we search for.
12493 * tabular.C (Write): write bools as bools not as strings!
12495 2002-02-22 Juergen Vigna <jug@sad.it>
12497 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12498 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12500 * text.C (leftMargin): don't add an indent for paragraphs inside
12501 tabular cells (fix #208).
12503 2002-02-21 José Matos <jamatos@fep.up.pt>
12505 * tabular.C (docBook): fixed support for long tables.
12507 2002-02-20 Juergen Vigna <jug@sad.it>
12509 * text2.C (getFont): get the drawing font of the Inset if this
12510 paragraph is inside an inset (only important for InsetERT for now).
12512 * buffer.C (insertErtContents): use new lanugage params in ERT
12515 * CutAndPaste.C: commenting out seemingly uneeded code.
12517 2002-02-19 Allan Rae <rae@lyx.org>
12519 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12520 Iterators might be simple to use but they also get invalidated.
12521 (removeAutoInsets): renamed saved cursor tracking variables and added
12522 some comments to clarify what everything does.
12524 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12531 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12532 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12535 * vc-backend.h: remove #include "support/syscall.h"
12539 * converter.C: rearrange #includes in Lars' approved fashion.
12541 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12542 forward declare class Timeout in the header file.
12544 * XFormsView.C: changes due to the above.
12546 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12547 similar to LyXView.
12549 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12550 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12552 2002-02-18 José Matos <jamatos@fep.up.pt>
12554 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12557 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12559 * a lot of small ws changes
12560 * add a lot of using std::XXX
12561 * use std construcs some places where approp.
12562 * use some exisint stuff from lyxfunctional where approp.
12563 * Make file changes to use partial linking (lets test this now...)
12565 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12569 remove #include "support/syscontr.h" as it's redundant. Always has been.
12577 change Systemcalls::System to Systemcalls::Wait and
12578 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12579 No change of functionality, just reflects the stripped down Systemcalls
12582 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12584 * debug.[Ch]: add a GRAPHICS type to the enum.
12586 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12588 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12590 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12593 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12595 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12596 match the changes below.
12598 * text2.C (toggleInset): if there is not editable inset at cursor
12599 position, try to see if cursor is _inside_ a collapsable inset
12602 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12604 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12605 document menu has a nice checkbox
12607 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12609 * lyxlength.C (asLatexString): change PW to output as percent of
12612 * lengthcommon.C: change '%' to 't%'
12614 * lyxfunc.C (dispatch): a few comments from Martin
12616 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12620 * BufferView_pimpl.h:
12621 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12624 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12626 * vspace.C (inPixels): fix compiler warning
12628 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12630 * lyxfunc.C (getStatus): fix status message for disabled commands.
12632 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12634 * BufferView_pimpl.C: fix crash on close buffer
12635 during selection (#227)
12637 2002-01-27 Herbert Voss <voss@lyx.org>
12639 * buffer.C: link old Figure to new graphic inset
12641 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12643 * FontLoader.C (getFontinfo): Change the latex font names in order
12644 to match the names of type1inst.
12646 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12648 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12650 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12651 (extchanged): ditto
12653 (remove_files_with_extension): ditto
12654 (remove_file): ditto
12657 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12658 document is smaller than the work area height. Do not initialize
12659 static variables to 0.
12661 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12663 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12665 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12666 LFUN_LAYOUT_PARAGRAPHS.
12668 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12669 tabular. It is possible to provide a possible cell, which will
12670 typically be the actcell from the corresponding insettabular
12672 * lyxfunc.C (getStatus): small cleanup; disable
12673 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12676 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12678 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12680 * paragraph.C (startTeXParParams):
12681 (endTeXParParams): new methods. The LaTeX code to
12682 start/end paragraph formatting
12683 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12684 empty (fixes bug #200)
12686 * vspace.C (inPixels): adapt to the change below
12687 (inPixels): [later] more cleanups (remove unused variables)
12689 * lyxlength.C (inPixels): change to use a width and a height as
12692 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12694 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12695 Replaced with \paperwidth
12697 * DepTable.C (insert): add std:: qualifier
12699 2002-01-18 Allan Rae <rae@lyx.org>
12701 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12704 * text.C (drawInset): Turned out I didn't know enough about how
12705 rebreaking worked. This fixes most of the redraw problems. I see
12706 an occasional cursor trail when a line is broken now and the cursor
12707 placement can seem out by a few pixels also after a rebreak.
12709 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12711 * buffer.C (parseSingleLyXformat2Token): update because minipage
12712 width is now a LyXLength
12714 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12716 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12719 2002-01-17 Juergen Vigna <jug@sad.it>
12721 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12723 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12724 is set correctly and the inset is updated correctly.
12726 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12729 the beginning of the loop.
12731 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12733 * lyxrc.C: improve help for use_scalable_fonts
12735 2002-01-17 Allan Rae <rae@lyx.org>
12737 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12739 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12741 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12742 make sure to set their inset_owner to the right value (bug #171)
12744 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12747 * DepTable.C: Implement mtime checking to reduce time spent doing
12750 2002-01-16 Juergen Vigna <jug@sad.it>
12752 * tabular.C (GetAdditionalHeight): one of error fixed.
12754 * lyxrc.C (output): small fix in writing use_pspell.
12756 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12758 * sp_base.h: #include LString.h
12760 2002-01-16 Allan Rae <rae@lyx.org>
12762 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12763 Can someone check this please?
12765 * text.C (drawInset): It was possible that p.row would be removed by
12766 breakAgainOneRow upsetting a few other settings. There may be another
12767 small tweak possible by setting need_break_row = 0 when p.row has been
12768 removed but I don't know enough about the logic here.
12770 2002-01-15 Allan Rae <rae@lyx.org>
12772 * text.C (insertChar): removed conditional truism.
12774 * BufferView2.C (removeAutoInsets): More tweaks.
12775 cur_par_prev could be a stray pointer. Check for trailing empty line
12776 in case last line was cur_par and only had an error inset on it.
12778 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12780 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12783 * vc-backend.C (most methods):
12784 * exporter.C (Export):
12785 * converter.C (convert):
12787 * LyXSendto.C (SendtoApplyCB):
12788 * lyxfunc.C (dispatch):
12792 * lyx_cb.C (AutoSave):
12794 * BufferView_pimpl.C (MenuInsertLyXFile):
12795 * buffer.C (runChktex): use Buffer::filePath().
12797 * buffer.h: rename filename to filename_; rename filepath to
12798 filepath_ and make it private
12799 (filePath): new method
12801 * buffer.C (writeFile): use fileName()
12804 * lyx_main.C (init): fix starting of LyX when the binary is a
12805 link from so,ewhere else.
12807 * minibuffer.C: include <cctype> for isprint
12809 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12811 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12812 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12813 name clash with InsetCollapsable's width function.
12815 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * lastfiles.C: include <iterator>
12819 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12821 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12824 * buffer.C (makeLaTeXFile): ditto.
12825 Also make loop operation more transparent.
12827 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12829 * ToolbarDefaults.C: remove trailing comma closing namespace.
12831 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12833 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12836 * trans.C (Load): comment out unused variable, allowed.
12838 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12840 * minibuffer.[Ch] (append_char): new method to recieve input from the
12841 drop-down completion browser. If a key was pressed, then recieve this
12842 char and append it to the existing string.
12843 (peek_event): modify the positioning data passed to the completion
12844 browser so that it can be placed above the minibuffer rather than below.
12845 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12847 * LyXAction.C (init): alloe error-next for readonly documents.
12849 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12852 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12854 * bufferlist.C (readFile): create the buffer _after_ checking that
12857 * lyxfunc.C (verboseDispatch): fix handling of arguments
12859 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12861 * lyxrc.C: use string::erase() instead of initializing to "".
12864 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12866 * BufferView_pimpl.h:
12867 * BufferView_pimpl.C:
12870 * text2.C: tell X when we have made a selection for copying
12872 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12874 * BufferView_pimpl.C (MenuInsertLyXFile):
12875 * lyxfunc.C (menuNew):
12877 (doImport): add shortcuts to directory buttons
12879 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12882 * lyxfunc.C (setStatusMessage):
12883 (getStatusMessage): new methods
12884 (getStatus):use setStatusMessage instead of setErrorMessage
12885 (dispatch): when function is disabled, set error message here
12886 [instead of in getStatus previously]
12888 * BufferView_pimpl.C (workAreaButtonRelease): update
12889 toolbar/menubar here too.
12891 2002-01-13 Allan Rae <rae@lyx.org>
12893 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12894 Now seems indestructible. Remaining task is to audit all other
12895 code affected by deleteEmptyParagraphMechanism. One small quirk
12896 left is that an empty document with an error in the preamble can
12897 be made to report an error but no error box appears. I don't know
12899 (removeAutoInsets): Improved comments.
12901 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12904 * Thesaurus.C: update for Aiksaurus 0.14
12906 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12908 * text2.C (firstParagraph): removed member function, all uses
12909 replaces with ownerParagraph
12910 (redoParagraphs): here
12911 (updateInset): here
12912 (toggleAppendix): here
12913 * BufferView2.C (insertErrors): here
12914 (setCursorFromRow): here
12916 2002-01-13 Allan Rae <rae@lyx.org>
12918 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12919 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12920 There is still a way to segfault this although you may have to do this
12921 multiple times: Have an InsetERT with an unknown command in it.
12922 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12923 <down-arrow>, <Enter> again, View->DVI, BANG!
12925 * text2.C (setCursor):
12926 (deleteEmptyParagraphMechanism):
12927 * lyxtext.h (setCursor):
12928 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12929 Making use of the return value may help fix other bugs.
12931 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12933 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12935 * LyXView.C (updateMenubar): call MenuBar::update here
12936 (updateToolbar): but not here
12937 (showState): do not update toolbar/menubar
12939 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12940 should need to care about that.
12942 * lyxfunc.C (verboseDispatch): simplify a bit
12943 (getStatus): have a version which takes a pseudoaction, and
12944 another which requires a (kb_action,string).
12946 * LyXAction.C (retrieveActionArg): make it work also when action
12947 is not a pseudo-action.
12948 (getActionName): simplify a bit
12951 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12953 * lyxfunc.C (verboseDispatch): new families of methods with
12954 several ways to specify a command and a bool to indicate whether
12955 the command name and shortcut should be displayed in minibuffer
12956 (eventually, we could extend that to a finer bitmask like
12957 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12958 (dispatch): the pristine dispatch command which just, well,
12959 dispatchs! Note it still sets its result to minibuffer; I'm not
12962 * lyxfunc.h: remove setHintMessage
12964 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12966 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12968 * BufferView_pimpl.C (specialChar): delete new inset if we have
12969 not been able to insert it.
12971 * kbmap.C: revert to using int instead of kb_action, since all we
12972 are dealing with is pseudo-actions.
12974 * LyXAction.C (searchActionArg): change to return int instead of
12975 kb_action, since the result is a pseudoaction.
12977 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12979 * buffer.C (insertErtContents): Fix (partially) the font bug.
12981 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12983 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12984 as the other one is broken on my machine!
12986 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12989 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12991 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12993 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12994 reflect their actual use. Provide compatibility code for older lyxrc
12997 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12999 change names of popup font variables in line with the changes to lyxrc.C
13001 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13003 * buffer.C (asciiParagraph): avoid outputing a word twice after
13006 * lyxrc.C (getDescription): document that document_path and
13007 template_path can be empty.
13009 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13011 * LaTeXFeatures.C (getMacros):
13012 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13014 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13016 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13018 (getPackages): rename feature "floats" to "float". Use an array to
13019 iterate over 'simple' features (i.e. just a \usepackage). Add
13020 handling of "amsmath" (renamed from "amsstyle").
13022 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13024 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13027 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13029 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13030 FuncStaus::FuncStatus & FuncStaus::some_method().
13032 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13034 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13035 of the func_satus stuff. Edited and massaged in various ways by
13038 * lyxfunc.C (getStatus): use FuncStatus
13040 2002-01-08 Juergen Vigna <jug@sad.it>
13042 * text.C (nextBreakPoint): use function Inset::isChar().
13044 * paragraph.C (TeXOnePar): use function
13045 Inset::forceDefaultParagraphs.
13047 * buffer.C (latexParagraphs): use function
13048 Inset::forceDefaultParagraphs.
13050 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13052 * lyx_gui.C (init): set the style of the menu popups to
13053 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13055 2002-01-07 Juergen Vigna <jug@sad.it>
13057 * text.C (setHeightOfRow): small fix
13058 (prepareToPrint): don't look at alignment if we don't have the place
13061 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13063 * box.C: New file. Move the Box methods and functions out of box.h,
13064 following Lars' suggestion.
13066 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13068 * box.h: #include "support/LOstream.h", needed for inlined function.
13071 * lyxtextclasslist.C: added some using std declarations.
13073 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13075 * box.h: make signed dimensions to allow insets wider than
13076 the screen (bug #162)
13078 * BufferView_pimpl.C: add some insetHit debug
13080 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13082 * vc-backend.C: add FIXME
13084 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13086 * lyxfunc.C (getStatus): enable code for showing math font status
13089 2002-01-07 Juergen Vigna <jug@sad.it>
13091 * text.C (nextBreakPoint): removed debug output not needed anymore.
13093 2002-01-06 Juergen Vigna <jug@sad.it>
13095 * text.C (nextBreakPoint): fixed up this function we had this bug
13096 since ever but now hopefully we break row better.
13097 (insertChar): we have to check if an inset is the next char as it
13098 could now happen that a large inset is causing a break.
13100 2002-01-05 Juergen Vigna <jug@sad.it>
13102 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13103 if it doesn't like to be drawed.
13105 2002-01-04 Juergen Vigna <jug@sad.it>
13107 * BufferView2.C (lockInset): forgot to set a cursor.
13109 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13111 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13113 * FormMathsPanel.C:
13116 * form_maths_panel.C:
13117 * form_maths_panel.h:
13118 * form_maths_panel.fd: implemented sub- and super- buttons in math
13121 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13122 (or ^ space) to be used as in TeX (req'd by André).
13124 * lyxfunc.C: Allow ^ and _ again to be used both as
13125 super/subscript (mathed) and as themselves (in text).
13127 2002-01-03 Allan Rae <rae@lyx.org>
13129 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13130 "LyX" or the filename of the current buffer if it has one. This is a
13131 modified form of John Levon's patch.
13133 * XFormsView.C (setWindowTitle): also set icon title.
13135 * LyXView.h (setWindowTitle): signature changed.
13136 * XFormsView.h (setWindowTitle): ditto.
13138 2002-01-02 Juergen Vigna <jug@sad.it>
13140 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13142 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * screen.C (topCursorVisible): introduce a temp var for
13145 text->cursor.row(), handle the case where this row is null. (kindo
13148 * text2.C (setCursor): add a couple of asserts.
13150 * paragraph.h (inset_iterator): add -> operator
13152 * paragraph.[Ch] (autoDeleteInsets): remove member function
13154 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13155 cursor pos correctly and handle inset deletion by itself.
13156 (insertErrors): move iterator declaration out of for expression
13158 * lyxtextclass.C: add <algorithm>
13160 * Makefile.am: added the new files to sources, removed layout.C
13162 * layout.C: removed file
13164 * layout.h: remove LYX_DUMMY_LAYOUT
13166 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13170 * lyxtextclass.[Ch]:
13171 * lyxtextclasslist.[Ch]: new files
13173 * include order changes to a lot of files, also changes because of
13176 2001-12-27 Juergen Vigna <jug@sad.it>
13178 * buffer.C (asciiParagraph): more fixes.
13180 * tabular.C (ascii): make ascii export support export of only the
13181 data separated by a column-delimiter.
13182 (ascii): better support for ascii export.
13184 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13186 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13188 * tabular_funcs.C: use a "using std::getline" instead of the
13189 previous fix from Angus (necessary for cxx + lyxstring)
13191 2001-12-24 Juergen Vigna <jug@sad.it>
13193 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13195 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13196 problems. First check a minipage also if we have some ert-contents
13197 (not only on par->size(), second set the right depth of the paragraph
13198 on the relink to the root-paragraph-list!
13200 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13201 which then did not anymore update the main paragraphs on undo/redo!
13203 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13205 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13206 code. Support all font-changing funcs (even those which are not in
13207 menu currently). Support for reporting font settings in
13208 mathed (disabled until Andre provides a function on mathed's side).
13210 * func_status.h (toggle): small helper function to set toggle
13213 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13215 * tabular_funcs.C: getline -> std::getline
13217 2001-12-21 Juergen Vigna <jug@sad.it>
13219 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13220 accessed and could be 0 (I couldn't generate this but it seems
13223 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13226 * tabular_funcs.h: here and include iosfwd
13228 2001-12-20 Juergen Vigna <jug@sad.it>
13230 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13231 inside inset but undo_par was.
13233 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13235 * Thesaurus.C: always include <config.h> in sources.
13239 * box.h: do not include <config.h> in header files
13241 * text.C (paintLastRow): remove unused variable
13243 * text.C (transformChar):
13245 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13247 * Painter.C (text):
13248 * font.C (width): rewrite to use uppercase() instead of
13251 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13253 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13255 * lyxfind.C: clean up of find failure position change
13257 2001-12-20 Juergen Vigna <jug@sad.it>
13259 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13261 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13262 (TeXRow): added to LaTeX a single tabular row.
13263 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13264 (Latex): simplified and finally good LT-h/f support.
13265 (various_functions): just small adaptions for LT-h/f support.
13267 * tabular_funcs.[hC]: added and moved here all not classfunctions
13270 2001-12-19 Juergen Vigna <jug@sad.it>
13272 * tabular.[Ch]: better support for longtabular options (not finished
13275 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13277 * text.C (paintLastRow): use the label font instead of the font of
13278 the last character to compute the size of *_BOX. This makes more
13279 sense and avoids a crash with empty paragraphs.
13280 Use Painter::rectangle to draw EMPTY_BOX.
13282 2001-12-19 Juergen Vigna <jug@sad.it>
13284 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13285 the paragraphs if the replaced paragraph is not the first one!
13286 Tried to delete not used paragraphs but does not work yet so for
13287 now it's inside #ifdef's and by default off!
13289 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13291 * MenuBackend.C: include "lyx_main.h" instead of declaring
13292 lastfiles (actually was declared as LastFiles* instead of a
13295 2001-12-17 Juergen Vigna <jug@sad.it>
13297 * tabular.C (AppendColumn): applied John's fix
13299 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13303 * BufferView_pimpl.h:
13304 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13307 * box.h: new start of class for above
13309 * lyxfunc.C: ignore space-only minibuffer dispatches.
13310 Show the command name when it doesn't exist
13312 * minibuffer.C: don't add empty lines to the history
13314 * minibuffer.C: add a space on dropdown completion
13316 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13318 * text.C: fix line above/below drawing in insets
13320 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13322 * lyxlength.C (LyXLength): Initialize private variables.
13324 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13326 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13327 when inserting error insets.
13329 2001-12-13 Juergen Vigna <jug@sad.it>
13331 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13332 actually sometimes the before-paragraph.
13333 (setUndo): don't clear the redostack if we're not actually undoing!
13335 2001-12-06 Juergen Vigna <jug@sad.it>
13337 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13338 and fixed redoing of main paragraph, so we can use it now ;)
13340 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13342 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13344 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13347 2001-12-13 André Pönitz <poenitz@gmx.net>
13350 * undo_func.C: minor cleanup
13352 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13354 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13355 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13356 font in urw-fonts package which is marked as -urw-fontspecific and
13357 does not work (incidentally, changing the encoding in the
13358 fonts.dir of this package to -adobe-fontspecific fixes the
13361 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13362 is a crash when undoing first paragraph (Juergen, please take a
13363 look). THis does not mean the undo fix is wrong, just that it
13366 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13367 the (Paragraph*) version when needed instead of duplicating the
13370 * text.C (workWidth): use Inset::parOwner to find out where the
13371 inset has been inserted. This is a huge performance gain for large
13372 documents with lots of insets. If Inset::parOwner is not set, fall
13373 back on the brute force method
13375 * paragraph_pimpl.C (insertInset):
13376 * paragraph.C (Paragraph):
13377 (cutIntoMinibuffer): set parOwner of insets when
13378 inserting/removing them
13380 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13382 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13388 * mathed/formulabase.C:
13389 * mathed/math_cursor.[Ch]:
13390 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13393 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13395 * lyxlength.[Ch] (operator!=): new function
13397 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13399 * text.C (workWidth): use Inset::parOwner to find out where the
13400 inset has been inserted. This is a huge performance gain for large
13401 documents with lots of insets. If Inset::parOwner is not set, fall
13402 back on the brute force method
13404 * paragraph_pimpl.C (insertInset):
13405 * paragraph.C (Paragraph):
13406 (cutIntoMinibuffer): set parOwner of insets when
13407 inserting/removing them
13409 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13411 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13413 * tabular-old.C (getTokenValue):
13414 * tabular.C (getTokenValue):
13415 (write_attribute): new versions for LyXLength
13416 (everywhere): adjust the use of widths
13418 * tabular.h: change the type of widths from string to LyXLength
13420 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13422 * paragraph.C: fixed missing line number count when exporting
13423 Environments to LaTeX file
13425 * buffer.C: added informational message for checking line numbers.
13427 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13429 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13430 paragraph, do the 'double space' part, but not the 'empty
13433 * text.C (workWidth): small optimization
13434 (getLengthMarkerHeight): use minimal size for negative lengths.
13436 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13438 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13440 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13442 2001-12-11 André Pönitz <poenitz@gmx.net>
13445 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13447 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13449 * text2.C: keep selection on a setFont()
13451 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13453 * lyx_cb.C: another bv->text misuse, from insert label
13455 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13458 * kbsequence.C: re-instate nmodifier mask
13460 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13462 * lyx_main.h: make lyxGUI private.
13464 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13466 * lyxfind.C: place the cursor correctly on failed search
13468 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13470 * text.C (getLengthMarkerHeight): for small heights, the arrows
13471 are not always on top/bottom of the text
13472 (drawLengthMarker): smaller arrows; take the left margin in
13473 account; draw also vfills.
13475 (paintLastRow): remove special code for vfill and standard spaces,
13476 since everything is handled in drawLengthMarker now.
13478 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13480 * buffer.C (insertErtContents): try to handle font and language
13481 interaction a bit better.g
13483 * ColorHandler.C (updateColor): change the hash to cover the whole
13484 LColor enum, ws cleanup
13485 (getGCLinepars): ditto
13486 (getGCLinepars): only lookup in the linecache once.
13488 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13490 * iterators.C (operator++): Make the iterator more robust
13492 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13494 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13496 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13499 * text.C: better added space drawing
13501 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13504 * BufferView2.C: fix layout combo update on inset unlock
13506 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13508 * Makefile.am: don't compile unused files
13510 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13514 * LyXAction.C: remove old LFUN_LAYOUTNO
13516 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13518 * paragraph_pimpl.h:
13519 * paragraph_pimpl.C: isTextAt() doesn't need font param
13521 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13524 * lyxlex.C: little cleanup
13526 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13528 * BufferView_pimpl.C: fix insertAscii for insets
13530 2001-12-05 Juergen Vigna <jug@sad.it>
13532 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13533 set the right font on the "multi" paragraph paste!
13535 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13541 * lyxlength.C: remove out-commented code.
13543 * BufferView_pimpl:
13557 * vc-backend.C: change "while(" to "while ("
13559 * lyxlength.[Ch]: add zero function to check if length is zero or
13561 * lyxgluelength.C: use it
13563 2001-12-05 Allan Rae <rae@lyx.org>
13565 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13566 Works for 2.95.3, from what I understand of Garst's reports this should
13567 work for other g++ versions. We're screwed if the abs(int) definition
13568 changed between bugfix releases of gcc.
13570 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13572 * text.C: fix chapter label offset !
13574 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13577 * text.C: fix hfill at end of line, clean up
13579 2001-12-04 Juergen Vigna <jug@sad.it>
13581 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13582 that we force an update of the inset and it's owners if neccessary.
13584 2001-12-03 Juergen Vigna <jug@sad.it>
13586 * text.C (rowLast): simplified code
13588 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13590 * lyxfunc.C: fix show options on timeout
13592 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13594 * screen.C (topCursorVisible): scroll half a page when the cursor
13595 reached top of bottom of screen
13597 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13599 * minibuffer.C: deactivate on loss of focus
13601 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13603 * vspace.[Ch] (operator!=): add operator.
13605 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13607 * BufferView_pimpl.C: refuse to open an inset when
13608 there's a selection.
13610 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13612 * BufferView_pimpl.C: allow to click on RHS of full row insets
13614 2001-11-30 Juergen Vigna <jug@sad.it>
13616 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13617 insets for undo reasons.
13619 2001-11-28 André Pönitz <poenitz@gmx.net>
13621 * vspace.[Ch]: cosmetical changes
13623 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13633 * kbsequence.C: part re-write of old kb code
13636 * WorkArea.C: remove Lgb_bug_find_hack
13638 2001-11-30 José Matos <jamatos@fep.up.pt>
13640 * buffer.C (makeDocBookFile): add a comment to point a hack.
13641 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13642 Fixed a double write of labels.
13644 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13647 * LaTeX.h Fixed bug in LaTeX class where it would not
13648 re-run latex if no depfiles were changed, but the .dvi was removed.
13650 2001-11-28 André Pönitz <poenitz@gmx.net>
13652 * all the files from the change on 2001/11/26:
13653 use lyx::layout_type instead of LyXTextClass::size_type
13654 use lyx::textclass_type instead of LyXTextClassList::size_type
13656 2001-11-29 Juergen Vigna <jug@sad.it>
13658 * text.C: added support for paragraph::isFreeSpacing()
13660 * buffer.C: same as above
13662 * paragraph.h: inserted isFreeSpacing() function to enable
13663 FreeSpacing inside InsetERT.
13665 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13666 of the paragraph's in the cut/copy buffer to 0!
13668 * text2.C (removeRow): remove the assert as it can!
13670 * lyxtext.h: added helper function firstRow returning firstrow and
13671 made firstrow private again.
13673 * BufferView2.C (lockInset): don't relock if we're already locked!
13675 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13676 the only paragraph.
13677 (removeRow): added Assert::(firstrow)
13679 * debug.C: forgot to add INSETTEXT here.
13681 2001-11-28 Juergen Vigna <jug@sad.it>
13683 * sp_spell.C (initialize): changed error text to more general
13684 spellchecker command use (not only ispell!)
13686 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13688 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13690 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13692 * vspace.C: initialise lyxgluelength on failure
13694 2001-11-28 Allan Rae <rae@lyx.org>
13696 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13697 declaration & definition that looks like a function declaration.
13699 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13701 * BufferView2.C (copy):
13702 (copyEnvironment): do not clear the selection when doing a copy.
13704 * text.C (paintFirstRow): compilation fix
13706 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13708 * tabular.C (Latex): correct line count when writing latex.
13710 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13712 * paragraph_pimpl.h:
13713 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13716 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13720 * LColor.C: change vfillline->added_space
13722 * text.C: add markers and text for added space
13724 * vspace.C: fix comment
13726 2001-11-28 André Pönitz <poenitz@gmx.net>
13728 * paragraph.C: whitespace changes
13729 * all the other files from the change on 2001/11/26:
13730 change *::pos_type into lyx::pos_type
13732 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13734 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13735 language of the document when inserting error insets.
13737 2001-11-26 André Pönitz <poenitz@gmx.net>
13739 * BufferView_pimpl.[Ch]:
13747 * paragraph_pimpl.[Ch]:
13750 * text2.C: reduce header dependencies, introduce type for positions
13752 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13754 * <various>: change to use Alert.h
13756 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13758 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13759 when encountering an unknown token.
13760 (readLyXformat2): Show an error message if there were unknown tokens.
13762 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13765 * BufferView_pimpl.C:
13769 * text2.C: use par->isInset()
13771 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13773 * paragraph_pimpl.h:
13774 * paragraph_pimpl.C: cleanup
13776 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13778 * text2.C (removeRow):
13779 * text.C (setHeightOfRow): remove useless (and costly) call to
13782 2001-11-20 Allan Rae <rae@lyx.org>
13784 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13785 Now need Inset*::checkInsertChar() to return true for appropriate
13786 cases so that the characters in the minibuffer will actually be
13789 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13791 * text.C: change the order of the includes.
13792 (workWidth): initialize it at once.
13793 (workWidth): make maxw unsigned
13794 (setHeightOfRow): remove unused variable (inset)
13795 (selectSelectedWord): remove unused variable (inset)
13796 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13798 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13800 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13801 server is not running.
13803 (closeConnection): add debug info when server is disabled.
13805 * ColorHandler.C (getGCForeground): send debug message to GUI
13808 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13810 * kbmap.C (bind): modify because return conventions of
13811 kb_sequence::parse have changed.
13813 * kbsequence.C (parse): only ignore spaces and not any stupid
13814 control character. This avoids tests like s[i] <= ' ', which are
13815 guaranteed to fail with 8bit characters and signed chars.
13816 Change return code to string::npos when there have been no error
13817 (0 was a bad idea when error is at first character)
13819 2001-11-14 José Matos <jamatos@fep.up.pt>
13822 * buffer.C (simpleDocBookOnePar): removed unused argument.
13824 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13826 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13827 insets which are part of a word. Paragraph::isLetter takes care of
13828 that now. Use Paragraph::isInset to identify insets.
13829 (selectSelectedWord): do not test for hyphenation break.
13831 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13832 that protected spaces are considered as spaces.
13834 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13837 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13840 * lyxserver.C: fix it. and small cleanup.
13842 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13844 * BufferView_pimpl.C: use inline helpers
13847 * LaTeXFeatures.C: fix typos
13850 * Spacing.C: move spacing_string into class
13852 * ToolbarDefaults.C: move stuff into namespace anon
13854 * layout.h: update enum
13856 * lyxfunc.C: use better debug
13858 * minibuffer.h: fix typo
13862 * WorkArea.C: add and use Debug::WORKAREA
13866 * text2.C: code re-organisation, inline helpers
13868 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13870 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13871 std::vector.empty().
13873 2001-11-09 Allan Rae <rae@lyx.org>
13875 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13876 '\n's after tables. Tabular and ERT inset work now makes this no
13879 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13882 * minibuffer.C: fix crash, improve drop-down completion
13884 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13887 * lyxserver.C: invalidate fd's when doing endPipe()
13889 2001-11-08 José Matos <jamatos@fep.up.pt>
13891 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13892 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13895 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13897 2001-11-07 José Matos <jamatos@fep.up.pt>
13900 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13903 * buffer.C (sgmlOpenTag):
13904 * buffer.C (sgmlCloseTag): removed debug info.
13906 * buffer.h (sgmlOpenTag):
13907 * buffer.h (sgmlCloseTag): made public.
13909 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * buffer.C (saveParamsAsDefaults):
13912 * lyx_cb.C (MenuLayoutSave): remove
13914 * LyXAction.C (init):
13916 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13918 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13920 * buffer.C (setPaperStuff): removed from here...
13922 * bufferparams.C (setPaperStuff): ... and moved there.
13924 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13928 * XFormsView.C: add support for drop-down completion
13930 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13932 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13935 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13940 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13942 * lyx_main.C: change ref to known bugs
13944 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13946 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13947 to work around older babel problems.
13949 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13951 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13953 2001-10-24 Juergen Vigna <jug@sad.it>
13955 * tabular-old.C (ReadOld): below variable changes reflected.
13957 * tabular.[Ch]: added ltType struct for longtable header/footer
13958 defines and changed all instances where they are used. Added
13959 future support for double top/bottom rows.
13961 2001-10-24 José Matos <jamatos@fep.up.pt>
13963 * buffer.h (docbookHandleCaption):
13964 * buffer.C (docbookHandleCaption): removed unused function.
13965 (makeDocBookFile): moved docbook supported version to v4.1.
13967 2001-10-24 José Matos <jamatos@fep.up.pt>
13970 * tabular.C (docbookRow): new function to export docbook code of a row.
13971 (DocBook): now honors the longtable flags.
13973 2001-10-23 José Matos <jamatos@fep.up.pt>
13976 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13977 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13979 * buffer.C (makeLinuxDocFile):
13980 (makeDocBookFile): reworked the preamble, more clean, and with
13981 support for lyx defined entities. Changed the document declaration
13982 to be more XML friendly.
13984 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13985 if we need to output XML that should be done with a filter.
13987 2001-10-22 Juergen Vigna <jug@sad.it>
13989 * sp_pspell.h (class PSpell): add alive function needed in the
13990 controller to see if the spellchecker could be started.
13992 2001-10-22 Juergen Vigna <jug@sad.it>
13994 * buffer.C (insertStringAsLines): modify the font for inserting
13995 chars in certain conditions by calling checkInsertChar(font).
13997 2001-10-19 Juergen Vigna <jug@sad.it>
13999 * text.C (workWidth): use getRow instead of wrong algorithm.
14000 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14002 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14007 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14009 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * text.C (workWidth): do not search for the exact row when
14012 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14013 optimization for big documents.
14015 2001-10-18 Juergen Vigna <jug@sad.it>
14017 * text.C (workWidth): new function with added Inset * parameter.
14019 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14021 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14023 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14024 change return type of getColumnNearX.
14027 * text.C (changeRegionCase): use uppercase/lowercase instead of
14030 (rightMargin): simplify code by factoring out the uses of
14035 (appendParagraph): use Paragraph::size_type
14037 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14039 * vspace.C (asLatexString): add a missing break
14041 2001-10-15 Herbert Voss <voss@perce.de>
14043 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14045 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14047 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14050 2001-10-10 André Pönitz <poenitz@gmx.net>
14052 * lyxfunc.C: removed greek_kb_flag.
14054 2001-10-10 Herbert Voss <voss@perce.de>
14056 * lyx_main.C: delete global string help_lyxdir.
14058 2001-10-09 Herbert Voss <voss@perce.de>
14060 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14062 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14064 * lyx_main.C: added global string help_lyxdir.
14066 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14068 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14070 * lyxrc.C (set_font_norm_type): support iso8859-4
14072 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14074 * LaTeX.C (deplog): add another regex for MikTeX
14076 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14078 * lyxrc.C (set_font_norm_type): support iso8859-3
14080 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14082 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14084 * LaTeXFeatures.C: remove special case of french and index
14086 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14087 before \begin{document}). This solves several incompatibilities.
14089 2001-10-03 Garst Reese <reese@isn.net>
14091 * lyx_cb.C: change CheckTex error msg.
14093 2001-10-03 José Matos <jamatos@fep.up.pt>
14095 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14097 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14099 * .cvsignore: update
14101 * lyx_main.C (commandLineVersionInfo): use new style version info.
14103 * buffer.C (writeFile):
14105 (makeLinuxDocFile):
14106 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14108 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14110 * version.h: update to use stuff in version.C
14112 * version.C.in: new file. Contains version information determined
14113 at compile time. This is a merging of version.h and
14116 2001-10-03 Juergen Vigna <jug@sad.it>
14118 * BufferView_pimpl.C (update): don't change "dirty" status in
14121 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14123 * WorkArea.C (c-tor): re-position version string slightly.
14125 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14127 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14128 revert to previous code.
14130 WorkArea.[Ch]: (show, destroySplash): methods removed.
14132 WorkArea.C: rework code so that it's an amalgam of the codes before and
14133 after the splash screen was moved to WorkArea.
14135 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * vspace.C (inPixels):
14141 * buffer.C (insertStringAsLines):
14142 (asciiParagraph): fix types to be large enough
14144 * lyxlex_pimpl.h: change member status from short to int
14146 * layout.h: fix type of endlabeltype
14149 * kbsequence.C (parse): change return type to string::size_type
14151 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14154 * Bullet.C (bulletSize):
14155 (bulletEntry): do not use short ints as parameters
14157 * BufferView2.C (insertLyXFile): change a char to an int.
14159 * WorkArea.C (WorkArea): remove unneeded floats in computation
14161 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14163 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14165 * paragraph.C (asString): Do not ignore newline/hfill chars when
14166 copying to the clipboard.
14168 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14170 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14171 after a multi-line inset.
14173 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14175 * paragraph.C (validate): Set NeedLyXFootnoteCode
14177 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14179 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14180 and decrease-error to decrease.
14182 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14184 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14185 it more readable (should be equivalent)
14187 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14189 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14191 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14193 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14194 of a cursor (row, etc.) after a character has been deleted
14195 (deleteEmptyParagraphMechanism): call the method above on _all_
14196 cursors held by the LyXText when a double space has been
14199 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14201 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14203 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14205 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14206 background. Use greyOut() and the new show() methods to toggle between
14207 the foreground and background. Add code to remove the splash after
14208 its initial showing.
14210 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14211 (create_forms): no longer call Dialogs::showSplash.
14213 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14215 * .cvsignore: add version_info.h
14217 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14219 * version_info.h.in: new file
14221 * Makefile.am: add version_info.h.in
14223 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14224 version_info.h instead of VERSION_INFO
14226 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14228 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14229 The ERT inset now returns string().
14231 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14233 * lyxtext.h, text.C (selectNextWord): renamed as
14234 selectNextWordToSpellcheck.
14236 * text.C (selectNextWordToSpellcheck): Modified to not select
14237 words inside an ERT inset.
14239 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14241 * lyx_cb.C (MenuLayoutSave): change a bit the question
14243 * sp_base.h: include <sys/types.h>
14245 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14247 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14249 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14251 * several files: fix typos in user-visible strings
14253 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14255 * text2.C (pasteSelection): do not set the selection, since it
14256 will be cleared later. Actually, the intent was to fix the way the
14257 selection was set, but I figured rmoving the code was just as good.
14259 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14261 * FontLoader.C (available): Check if font is available without
14264 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14266 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14268 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14270 * lyxrc.[Ch]: added display_graphics variable and associated code.
14272 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14274 * bufferparams.C (hasClassDefaults): new method. Returns true if
14275 the buffer parameters correspond to known class defaults
14277 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14279 * XFormsView.C (show): set minimum size to the main window.
14281 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14283 * text2.C (copySelection):
14285 * lyxfind.C (LyXReplace):
14286 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14287 LyXText::selectionAsString.
14289 * paragraph.C (asString): add "label" argument to the second form
14291 * text2.C (selectionAsString): add "label" argument and pass it to
14292 Paragraph::asString.
14294 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14296 * lyx_main.C (commandLineHelp): remove version information
14298 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14300 * lyx_main.C: add -version commandline option
14302 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14304 * paragraph.h: make the optional constructor arg required instead.
14305 some modifications to other files because of this.
14307 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14309 * lyxserver.C (C_LyXComm_callback): make it static
14311 * lyx_main.C (error_handler): make it static
14313 * lyx_gui.C (LyX_XErrHandler): make it static
14315 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14317 * WorkArea.C: make the extern "C" methods static.
14319 * Makefile.am (lyx_LDADD): simplify
14321 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14323 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14324 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14326 * LyXAction.C (init):
14327 * lyxfunc.C (dispatch): associated code removal.
14329 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * lyxfont.h (isSymbolFont): shut off warning
14333 * text.C (setHeightOfRow):
14334 (getVisibleRow): fix crash with empty paragraphs which have a
14337 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14339 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14342 2001-09-04 José Matos <jamatos@fep.up.pt>
14345 * tabular.C (docbook): rename docBook method to docbook.
14347 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14349 * Makefile.am: add dependencies to main.o.
14351 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14353 * FontLoader.C (available): Return false if !lyxrc.use_gui
14355 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14357 * FontInfo.C (query):
14358 * converter.C (view):
14359 * importer.C (Import):
14360 * exporter.C (Export): Can not -> cannot.
14362 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14364 * BufferView_pimpl.C: allow to create index inset even if
14367 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14369 * buffer.C (getLists): replace boost::tie code with an explicit pair
14370 as boost::tie can break some compilers.
14372 * iterators.h: Added a std:: declaration to the return type of
14375 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14377 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14380 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14382 * iterators.[Ch]: New files. Provide paragraph iterators.
14384 * buffer.C (changeLanguage): Use paragraph iterators.
14385 (isMultiLingual): ditto
14387 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14389 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14391 * FontLoader.C: Support for cmr font.
14393 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14395 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14396 (available): New method.
14398 * FontInfo.C (getFontname): Use scalable fonts even when
14399 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14402 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14404 * converter.C (Formats::view): reverted! Incorrect fix.
14406 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14408 * converter.C (Formats::view): only output the -paper option
14409 if the dvi viewer is xdvi, thereby fixing bug #233429.
14411 2001-08-23 Herbert Voss <voss@perce>
14413 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14415 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14417 * Spacing.h (Spacing): Set space to Default on in the default
14420 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14422 * vc-backend.h (RCS::versionString): add RCS to version
14423 (CVS::versionString): add CVS to version
14425 * vc-backend.C (scanMaster): do not add CVS to version.
14426 (scanMaster): do not add RCS to version
14428 * lyxvc.C (versionString): new method
14430 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14432 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14434 * Spacing.C (set): initialize fval
14436 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14438 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14441 2001-08-16 Juergen Vigna <jug@sad.it>
14443 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14445 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14447 * BufferView_pimpl.C:
14450 * text2.C: setParagraph takes linespacing now
14452 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14454 * LyxAction.C: add internal LFUN_CITATION_INSERT
14456 * LyXView.C: actually apply fix
14458 * bufferlist.C: fix open non-existent file
14460 * lyxfind.C: fix indentation
14462 * lyxfunc.C: remove unneeded assert, fix typo
14464 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14466 * MenuBackend.C: use "Floatname List"
14468 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14470 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14471 when converting LaTeX layout to insetERT.
14472 Generate a non-collapsed float when reading old float
14474 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14476 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14479 2001-08-13 Juergen Vigna <jug@sad.it>
14481 * text.C (fill): return 0 instead of 20 as this seems to be the more
14484 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14486 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14489 2001-08-13 Juergen Vigna <jug@sad.it>
14491 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14493 (SearchBackward): comment out the unlocking of the inset_owner this
14494 should not be needed!
14496 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14498 * Many files: Remove inherit_language, and add latex_language
14500 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14501 collapsible insets.
14503 2001-08-10 Juergen Vigna <jug@sad.it>
14505 * text.C (prepareToPrint): fixed hfill-width in draw!
14507 * BufferView2.C (selectLastWord): save the selection cursor as this
14508 now is cleared in the function LyXText::clearSelection!
14510 2001-08-08 Juergen Vigna <jug@sad.it>
14512 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14513 BACKSPACE type functions.
14515 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14516 is only cutted from the document but not put in the cut-buffer, where
14517 still the old stuff should be.
14519 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14521 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14523 * tabular.C (SetWidthOfCell): fixed special case where the width
14525 (LeftLine): handle '|' in align_special.
14527 (LeftAlreadyDrawed): ditto
14528 (SetWidthOfCell): ditto
14530 2001-08-07 Juergen Vigna <jug@sad.it>
14532 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14534 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14536 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14537 * lyxlex.[hC]: ditto
14539 2001-08-06 Juergen Vigna <jug@sad.it>
14541 * text.C (getVisibleRow): fix up row clearing a bit.
14543 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14545 * minibuffer.C: make sure the X server sees the changes in the input.
14547 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14549 * paragraph.C (getFont): split into...
14550 (getLabelFont): this
14551 (getLayoutFont): and this
14552 * paragraph_pimpl.C (realizeFont): calling this
14554 * text2.C (getFont): split into...
14555 (getLayoutFont): this
14556 (getLabelFont): and this
14557 (realizeFont): all three calling this
14559 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14562 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14564 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14566 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14568 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14569 layouts from the Quote inset insertion.
14571 2001-08-03 Juergen Vigna <jug@sad.it>
14573 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14575 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14576 only if status not is already CHANGED_IN_DRAW (second level).
14578 * text.C (draw): don't set the need_break_row when inside an
14581 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14583 * buffer.C (parseSingleLyXformat2Token): handle more latex
14586 * bufferview_funcs.[hC]: change function names to
14587 begin with small char, adjust other files.
14589 2001-08-02 André Pönitz <poenitz@gmx.net>
14592 BufferView_pimpl.C: remove broken special code for math-greek
14594 2001-08-02 Juergen Vigna <jug@sad.it>
14596 * BufferView_pimpl.C (update): redone this function so that we
14597 update the text again if there was a CHANGE_IN_DRAW.
14599 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14600 (drawFromTo): added a new internal bool which is used by draw() and
14602 (general): some cursor drawing problems fixed.
14604 2001-08-01 Juergen Vigna <jug@sad.it>
14606 * lyxfind.C (LyXFind): fixed
14607 (SearchForward): ditto
14608 (SearchBackward): ditto
14610 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14611 spurius drawing of the cursor in the main area.
14613 * text2.C (status): small fix which could lead to a segfault!
14614 (clearSelection): remove unneeded BufferView param.
14616 2001-08-01 André Pönitz <poenitz@gmx.net>
14618 * lyxfunc.C: small change due to changed mathed interface
14620 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14622 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14624 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14626 * lyxfunc.c: fail gracefully if file doesn't exist
14631 * BufferView_pimpl.C: IsDirWriteable() proto changed
14633 * LyXView.C: fix updateWindowTitle() to store the last title
14635 2001-07-31 Juergen Vigna <jug@sad.it>
14637 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14638 the font (wrong since using of Paragraph::highestFontInRange).
14640 * paragraph.C (highestFontInRange): added a default_size parameter.
14642 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14643 (setHeightOfRow): reformat
14645 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14647 * converter.[hC] + affected files: move to (inital-char)lowercase
14650 * ParagraphParameters.C (ParagraphParameters): remove commented code
14652 * PainterBase.[Ch]: remove commented code
14654 * LaTeXFeatures.h: add "bool floats" for float.sty
14656 * LaTeXFeatures.C (LaTeXFeatures): init floats
14657 (require): handle float
14658 (getPackages): do it with floats
14660 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14662 * BufferView_pimpl.C (Dispatch): improve handling of
14663 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14665 * commandtags.h: #include lyxfont.h here temporarily to avoid
14668 * bufferlist.h: include LString.h here.
14670 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14672 * text2.C (getStringToIndex): new method.
14674 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14676 * *: Reduced header file dependencies all over.
14678 2001-07-30 Baruch Even <baruch@lyx.org>
14680 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14682 2001-07-29 Baruch Even <baruch@lyx.org>
14684 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14686 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14688 * ParameterStruct.h (endif): add a default constructor to make
14689 sure that all variables is initialized.
14691 * ParagraphParameters.C (ParagraphParameters): adjust
14693 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14695 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14696 index; also, check that there is something to index, and that it
14697 does not span over several paragraphs.
14698 (doubleClick): use WHOLE_WORD_STRICT for double click.
14700 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14702 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14705 2001-07-26 Baruch Even <baruch@lyx.org>
14707 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14708 an InsetFig figure, backwards compatible reading of old figure code.
14710 2001-07-27 Juergen Vigna <jug@sad.it>
14712 * text2.C: font.realize function adaption.
14714 * text.C (draw): add a warnings lyxerr text if needed.
14716 * layout.C: font.realize function adaption.
14718 * language.C: add inherit_language and implement it's handlings
14720 * bufferview_funcs.C (StyleReset): remove language parameter from
14721 font creation (should be language_inherit now).
14723 * bufferparams.C (writeFile): handle ignore_language.
14725 * paragraph.C (getFontSettings): the language has to be resolved
14726 otherwise we have problems in LyXFont!
14728 * lyxfont.C (lyxWriteChanges): added document_language parameter
14729 (update): removed unneeded language parameter
14731 * paragraph.C (validate): fixed wrong output of color-package when
14732 using interface colors for certain fonts in certain environments,
14733 which should not seen as that on the final output.
14735 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14737 * BufferView_pimpl.C:
14742 * LyXAction.C: add thesaurus support
14745 * lyxfind.C: add "once" parameter, for thesaurus, to not
14746 move to the next match
14748 2001-07-26 Juergen Vigna <jug@sad.it>
14750 * lyxfont.C (realize): honor ignore_language too!
14753 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14755 * text.C (draw): one place more for ignore_language to not draw
14758 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14760 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14762 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14764 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14765 the minipage conversion problem.
14767 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14769 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14772 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14774 * BufferView.h: don't forward declare WorkArea
14776 * BufferView.C: don't include WorkArea.h
14778 2001-07-25 André Pönitz <poenitz@gmx.net>
14782 * lyxfunc.C: new LFUN 'math-space'
14784 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14786 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14788 * text2.C (toggleInset): call open/close
14790 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14792 * lyxfunc.C (dispatch): add debug for the disabled case
14794 * font.C (buttonText): make similar to rectText
14796 * buffer.C (readInset): comment out parsing of insetlist and
14799 * PainterBase.C (rectText): small correction
14801 * BufferView_pimpl.C: comment out insettheorem and insetlist
14802 * LyXAction.C: ditto
14803 * commandtags.h: ditto
14805 2001-07-24 Juergen Vigna <jug@sad.it>
14807 * text.C (draw): honor the ignore_language.
14809 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14811 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14816 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14818 * lyxtext.h: remove unused (and unimplemented) methods
14820 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14822 * text.C (getVisibleRow): honor background color
14825 * Painter.h: remove default color argument for fillRectangle
14827 * text.C (backgroundColor): new method
14829 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14831 * text.C (getVisibleRow): adjust
14833 * font.[Ch] (rectText): new method, metrics
14834 (buttonText): new method, metrics
14836 * PainterBase.[hC]: make rectText and buttonText always draw and take
14839 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14841 * ToolbarDefaults.C (read):
14842 * MenuBackend.C (read): allow escaping in all strings
14844 * BufferView_pimpl.C (insertAndEditInset): new method.
14845 (Dispatch): use insertAndEditInset whenever appropriate.
14847 * BufferView_pimpl.C (insertNote): removed
14849 * BufferView_pimpl.C (smartQuote): new method, moved from
14850 BufferView; if an insetquote cannot be inserted, insert a '"'
14853 * BufferView2.C: remove insertCorrectQuote();
14855 * lyxfunc.C (getStatus): Add support for all remaingin
14856 inset-insert lfuns.
14858 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14860 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14861 command (necessary to pass " as parameter of self-insert.
14863 * text.C (selectWordWhenUnderCursor):
14864 (selectWord): add word_location parameter
14865 (selectWordWhenUnderCursor): same + remove special code for word
14867 (selectNextWord): use kind() to guess type of insetspecialchar,
14870 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14871 (insertErtContents): create ert insets as collapsed.
14872 (readInset): better compatibility code for Info inset.
14874 2001-07-20 Juergen Vigna <jug@sad.it>
14876 * lyxfunc.C (dispatch): use always LyXFind now!
14878 * text2.C (init): add a reinit flag so that the LyXText can be
14879 reinited instead of deleted and reallocated (used in InsetText).
14881 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14887 2001-07-18 Juergen Vigna <jug@sad.it>
14889 * text.C (selectNextWord): handle insets inside inset by calling
14890 always the bv->text functions so that we can go up the_locking_inset!
14892 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14893 in strange locations when inside an inset!
14895 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14896 handling to include insets.
14898 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14900 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14902 * LyXAction.C (init):
14904 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14905 LIGATURE_BREAK, since the name is so stupid.
14907 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14909 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14912 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14914 * sp_form.[Ch]: remove.
14916 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14918 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14921 * src/buffer.C (readInset): ditto.
14923 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14925 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14926 menuSeparator(), endOfSentenceDot(), ldots() and
14927 hyphenationPoint(), which are therefore removed.
14928 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14930 * LyXAction.C (init):
14931 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14933 * paragraph.C (getWord): removed.
14935 * BufferView_pimpl.C (Dispatch): use last word or selection for
14936 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14938 * lyx_main.C (queryUserLyXDir): do not ask before creating
14939 user_dir, except if it has been named explicitely.
14941 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14943 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14944 a document of zero size.
14946 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14948 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14949 approriately in the c-tor and in require().
14950 (getPackages): output the appropriate LaTeX for natbib support.
14952 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14953 variables "use_natbib" and "use_numerical_citations" when reading the
14955 (readInset): read the various natbib cite commands.
14956 (validate): white-space change.
14958 * bufferparams.[Ch]: new variables "bool use_natbib" and
14959 "bool use_numerical_citations".
14960 (writeFile): output them in the LyX file.
14962 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14964 * lyxfunc.C (getStatus): add support for all the inset insertion
14967 * text2.C (insertInset):
14968 * paragraph.C (insetAllowed):
14969 * BufferView_pimpl.C (insertInset): update to take in account the
14970 renaming of insertInsetAllowed
14972 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14974 * text2.C (getInset): new method. returns inset at cursor position.
14976 * BufferView_pimpl.C (Dispatch): changes because of this.
14978 * LyXAction.C (init): rename open-stuff to inset-toggle.
14980 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14982 * text2.C (toggleInset): renamed from openStuff; use
14985 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14987 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14989 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14991 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14993 * buffer.C (readLyXformat2): Add filename to the error dialog
14995 2001-07-18 Juergen Vigna <jug@sad.it>
14997 * tabular.C (GetCellNumber): put an assert here instead of the check!
14999 2001-07-17 Juergen Vigna <jug@sad.it>
15001 * BufferView_pimpl.C (toggleSelection): adapted too.
15003 * text.C (selectNextWord): adapted for use with insets.
15004 (selectSelectedWord): ditto
15006 2001-07-17 Juergen Vigna <jug@sad.it>
15008 * sp_spell.C (PSpell): fix initialitation order.
15010 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15012 * paragraph.C: spacing
15014 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15016 * sp_spell.C: repair language selection for pspell
15018 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15020 * lyxfunc.h: change more methods to begin with lower char.
15022 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15024 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15025 for unknown layouts.
15027 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15029 * buffer.C (readLyXformat2): Generate an error dialog if there are
15032 2001-07-16 Juergen Vigna <jug@sad.it>
15034 * sp_spell.C: always compile ISpell part.
15036 * lyxrc.C: added use_pspell entry and it's handling.
15038 2001-07-13 Juergen Vigna <jug@sad.it>
15040 * sp_spell.C: removed double includes.
15042 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15044 Consistent use of Lsstream.h:
15045 * Lsstream.h: added using std::stringstream for consistencies sake.
15047 * buffer.C: removed using std::stringstream
15049 * lyxfont.C (stateText):
15050 * paragraph.C (asString):
15051 * text.C (selectNextWord, selectSelectedWord):
15052 * text2.C (setCounter):
15053 * vspace.C (asString, asLatexString):
15054 std::ostringstream -> ostringstream.
15056 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15058 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15059 * commandtags.h: add LFUN_HELP_ABOUTLYX
15060 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15062 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15064 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15066 * lyx_gui_misc.C: remove spellchecker
15067 * lyxfunc.C: showSpellchecker
15069 * sp_ispell.h: added
15070 * sp_pspell.h: added
15071 * sp_spell.C: added
15072 * sp_form.[Ch]: removed
15073 * spellchecker.[Ch]: removed
15075 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15077 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15079 (simpleTeXSpecialChars): Simply print the input character without
15080 any special translation if pass_thru is set.
15082 * layout.h: Added bool pass_thru to layout class for being able to
15083 implement pass through of a paragraph for Literate Programming.
15085 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15086 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15087 * layout.C (Read): add "passthru" to list of layout tags and add
15088 code to set the pass_thru boolean when it is read.
15090 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15092 * trans_decl.h: remove allowed from KmodInfo
15094 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15095 remove allowed code
15098 * paragraph_pimpl.C (erase): use boost::prior
15100 * Painter.C (text): use data() instead of c_str() when length is
15102 * WorkArea.C (putClipboard): ditto
15103 * font.h (width): ditto
15105 * BufferView2.C: use it-> instead of (*it). for iterators
15107 * paragraph_pimpl.C: ditto
15108 * paragraph.C: ditto
15109 * minibuffer.C: ditto
15110 * language.C: ditto
15112 * encoding.C: ditto
15113 * counters.C: ditto
15114 * converter.C: ditto
15116 * Variables.C: ditto
15117 * TextCache.C: ditto
15118 * MenuBackend.C: ditto
15119 * LyXAction.C: ditto
15121 * FloatList.C: ditto
15122 * DepTable.C: ditto
15123 * ColorHandler.C (LyXColorHandler): ditto
15125 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15127 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15129 * text2.C (openStuff): reintroduce this method (which had been
15130 nuked in NEW_INSETS frenzy).
15132 * lyxfunc.C (Dispatch): when an action has not been handled, use
15133 its name in the error message, not its number.
15135 * paragraph.C (inInset): change method name to begin with lowercase.
15138 * text2.C: updates because of this.
15140 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15142 * ToolbarDefaults.C (add): add spaces in error message
15144 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15146 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15147 (readLyXformat2): rename return_par to first_par, use lyxlex's
15148 pushToken and remove the manual push handling.
15149 (parseSingleLyXformat2Token): add another ert comp. variable:
15150 in_tabular, rename return_par to first_par. handle newlines better
15152 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15156 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15158 * text2.C (getParFromID): removed
15160 * buffer.C (getParFromID): new method moved form lyxtext.
15161 * BufferView2.C (insertErrors): adjust
15162 (setCursorFromRow): adjust
15163 * BufferView_pimpl.C (restorePosition): adjust
15164 * lyxfunc.C (Dispatch): adjust
15165 * undo_funcs.C (textUndo): adjust
15167 (textHandleUndo): adjust
15168 (textHandleUndo): adjust
15170 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15172 * buffer.C: up' the LYX_FORMAT
15174 * lyxfont.h: turn NO_LATEX on as default
15176 * buffer.C (insertErtContents): new methods of tex style compability.
15177 (parseSingleLyXformat2Token): use it several places.
15178 * tabular.C (OldFormatRead): and here
15180 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * text2.C: remove some commented code.
15185 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15186 * trans.C: changes because of the above.
15188 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15190 * text2.C (setCounter): Fix counters bug with bibliography layout.
15192 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15194 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15195 own member functions
15196 (simpleTeXSpecialChars): ditto
15198 2001-07-06 Juergen Vigna <jug@sad.it>
15200 * a lot of files: changed the access to LyXText::status and the
15201 call of undo-functions.
15203 * undo.[Ch]: added a inset_id to the undo informations.
15205 * undo_funcs.[Ch]: added and moved here all undo functions.
15207 * lyxtext.h: give the status enum a weight, made status_ a private
15208 variable and made accessor functions for it, removed the whole bunch
15209 of undo-functions as they are now in their own file, make some
15210 functions publically available. Added function ownerParagraph with
15213 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15214 made InInset() a const function, added getParFromID() function.
15216 * buffer.[Ch]: added const version for inset_iterator functions,
15217 added getInsetFromID() function.
15219 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15220 changed undo functions for new version.
15222 2001-07-05 Juergen Vigna <jug@sad.it>
15224 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15225 unknow mechanism does not call the proper constructor but only this
15226 one also if I request the other!?
15228 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15230 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15232 * text2.C (LyXText): use initialization lists.
15234 * lyxtext.h (Selection): initialize set_ and mark_
15235 (init): remove method
15237 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15239 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15241 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15243 * screen.[Ch]: change method names to begin with lowercase
15245 * BufferView_pimpl.C (updateScrollbar): simplify further and
15246 hopefully make it a bit faster.
15248 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15250 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15251 calling directly xforms functions.
15253 * Painter.C (Painter):
15254 * lyx_cb.C (MenuWrite):
15255 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15258 * lyx_gui.C: remove bogus guiruntime extern declaration.
15260 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15262 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15264 (redoDrawingOfParagraph): ditto
15265 (redoParagraphs): ditto
15266 (cutSelection): don't create a object for CutAndPaste use the
15267 static method directly
15268 (pasteSelection): ditto
15270 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15273 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15275 * modifications to some other files because of this.
15277 * Makefile.am (lyx_SOURCES): add XFormsView
15279 * XFormsView.[Ch]: new files
15281 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15282 the main window. Move the gui dependent stuff to XFormsView
15284 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15286 * tabular.C (GetCellInset): update cur_cell also in the row/col
15287 version of this function.
15289 * lyxfunc.C: no need to include figure_form.h here.
15295 * lyxvc.C: no need to include forms.h here.
15297 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15299 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15301 * lyxfunc.C (Dispatch):
15303 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15304 constructor argument.
15306 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15308 * paragraph.C (Paragraph): dont't clear, and just set layout.
15309 (makeSameLayout): use params's copy contructor.
15311 * ParagraphParameters.[Ch] (makeSame): delete method
15313 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15315 * Variables.[Ch]: fix indentation, rename set to isSet
15317 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15319 * lyxfunc.C (Dispatch): fix typo
15321 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15323 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15326 * bufferlist.C: include assert.h for emergencyWrite().
15328 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15330 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15331 give up at last (bug #425202) !
15333 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15339 * spellchecker.C: strip spellchecker options and bring up
15340 preferences tab instead
15342 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15344 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15345 the istringstream constructor
15347 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15349 * paragraph.C (getLayout): fix return value
15351 * paragraph.h: do not declare getLayout as inline.
15353 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15355 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15357 * lyxcursor.h (operator<): new func
15358 (operator>): new func
15359 (operator>=): new func
15360 (operator<=): new func
15362 * text.C (changeCase): use selection.start and selection.end
15363 (changeRegionCase): require from to be <= to. Require par to be a
15366 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15368 2001-06-27 Juergen Vigna <jug@sad.it>
15370 * text.C (cursorLeftOneWord): changed to return the cursor and added
15371 overlay with BufferView * parameter which calls this one.
15373 (selectWord): use new getWord function.
15374 (changeCase): renamed from changeWordCase as and extended to work
15375 also on selections.
15377 * lyxtext.h: added enum word_location
15379 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15380 changeCase as this operates now also on selections.
15382 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15384 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15386 * many files: send debug output to Debug::INFO instead of
15389 * converter.C (View):
15391 (Move): send debug output to Debug::FILES instead of console.
15393 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15395 * lyxfunc.C (getStatus): use func_status
15397 * func_status.h: new header, describing the results of
15398 LyXFunc::getStatus;
15400 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15403 2001-06-25 The LyX Project <jug@sad.it>
15405 * buffer.C (sgmlOpenTag):
15407 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15409 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15411 * text2.C: remove some dead code
15413 * tabular.C (GetCellInset): store the last cell checked (gotten)
15415 * tabular.h: add the helper for the speedup
15417 * lyxtext.h: remove some dead code
15419 2001-06-26 The LyX Project <Asger>
15421 * paragraph.C: Change export to LaTeX of alignment to
15422 \begin{center} and family for better roundtrip work with reLyX.
15424 * Tune the math drawing a bit.
15426 2001-06-25 The LyX Project <Asger>
15428 * LColor.C (LColor): New color for math background. New color
15431 2001-06-25 The LyX Project <jug@sad.it>
15433 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15435 * lyxfunc.C (Open):
15436 * bufferlist.C (newFile): do not restrict to files ending with
15439 * BufferView_pimpl.C (MenuInsertLyXFile):
15441 2001-06-24 The LyX Project <jug@sad.it>
15443 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15446 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15448 * lyxtext.h: rename most methods to begin with a small char.
15449 Lots of changes because of this.
15451 * paragraph.C (Paragraph): do not call fitToSize
15452 (erase): call Pimpl::erase
15453 (insertChar): call Pimpl::insertChar
15454 (insertInset): call Pipl::insertInset
15455 (breakParagraph): do not call fitToSize
15456 (breakParagraphConservative): do not call fitToSize
15457 (fitToSize): remove method
15459 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15461 2001-06-24 The LyX Project <Asger>
15463 * Fix Qt compilation^2
15465 2001-06-24 The LyX Project <jug@sad.it>
15467 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15468 depthHook(getDepth()-1).
15471 * ParagraphParameters.h:
15472 * ParameterStruct.h: change type of depth to unsigned int ==
15473 depth_type. Many adaptations to other files before of that.
15475 2001-06-24 The LyX Project <Asger>
15477 * Fix Qt compilation.
15479 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15481 * paragraph.h: renamed several methods to begin with small letter.
15482 several changes to many parts of the code because of this.
15484 2001-06-23 The LyX Project <jug@sad.it>
15486 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15487 rewritten to discard all double spaces when KeepEmpty is off
15488 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15489 to only handle newlines but not fiddle with spaces and friends.
15491 * lyxfunc.C (MenuNew): when doing 'new from template', use
15492 template_path as default directory
15494 2001-06-23 The LyX Project <Asger>
15496 * Clean-up of header file includes all over
15497 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15499 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15501 * paragraph.h: renamed from lyxparagraph.h
15503 2001-06-23 Asger <lyx@violet.home.sad.it>
15505 * Buffer.h: Removed Buffer::resize
15506 * BufferList.h: Removed BufferList::resize
15507 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15508 the document lazily when we change the width, or the font settings.
15510 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15512 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15514 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15516 * buffer.h: remove out of date comment
15518 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15521 * screen.C: fix "theoretical" GC leak
15523 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15525 * LaTeX.C (scanAuxFile):
15526 (deplog): remove trailing \r when reading stream (useful under
15529 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15531 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15532 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15533 and BufferView::theLockingInset(Inset*), so should use them and not
15534 access bv_->text->the_locking_inset directly.
15536 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15538 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15541 * tex-defs.h: remove old unused file
15543 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15545 * BufferView_pimpl.C: fix typo, remove minibuffer message
15546 when buffer has loaded
15548 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15550 * lyxfunc.C (Dispatch): use stringstream
15551 (MenuNew): use stringstream
15552 (Open): use stringstream
15554 * importer.C (Import): use stringstream
15556 * bufferview_funcs.C (CurrentState): use stringstream
15558 * LaTeX.C (run): use stringstream
15560 * BufferView_pimpl.C (savePosition): use stringstream
15561 (restorePosition): use stringstream
15562 (MenuInsertLyXFile): use stringstream
15564 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15577 * vspace.C: removed // -*- C++ -*- as first line.
15580 * version.h: added // -*- C++ -*- as first line.
15582 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15584 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15586 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15589 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15591 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15594 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15596 * gettext.C: include LString.h even when --disable-nls is on.
15598 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15600 * converter.h (Get): changed argument type from int to
15601 FormatList::size_type to avoid unnecessary conversion.
15603 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15606 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15608 * gettext.h: include LString.h even when --disable-nls is on.
15610 2001-06-07 Juergen Vigna <jug@sad.it>
15612 * text.C (BreakAgain): subst spaces with tabs.
15614 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15615 (resizeInsetsLyXText): set force on resizeLyXText.
15617 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15619 * gettext.h (gettext_init):
15620 (locale_init): use a real definition instead of a macro
15622 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15624 * Bufferview_pimpl.C:
15626 * LColor.C: further lcolor tidies
15628 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15630 * BufferView_pimpl.C (updateScrollbar): simplify.
15632 * BufferView2.C: don't include insets/insetinfo.h, change
15633 prototype for insertInset and call the Pimpl version. let
15634 updateInset call Pimpl version.
15636 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15637 gotoInset to BufferView::Pimpl
15639 2001-06-01 Juergen Vigna <jug@sad.it>
15641 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15642 inside a LockingInset (is the update needed at all?).
15644 2001-05-31 Juergen Vigna <jug@sad.it>
15646 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15647 here not the old one otherwise how should we compare it afterwards
15650 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15655 * FontInfo.C: bring C functions into global namespace when
15658 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15660 * LString.h: make sure config.h has been loaded before LString.h.
15662 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15663 (one for each char read by EatLine!).
15665 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15668 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15670 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15671 to the same as the par we break from
15673 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15675 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15677 * MenuBackend.C (expand): also create menu entries for wide
15678 versions of the floats.
15680 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15682 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15684 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15685 frontends/Makefile.am
15691 * tabular.C (getTokenValue): add std::
15693 * tabular-old.C (getTokenValue): add std::
15694 (getTokenValue): ditto
15695 (getTokenValue): ditto
15697 * screen.C (ToggleSelection): adjust
15699 * lyxtext.h: put selection cursors inside a Selection struct.
15701 * lyxfunc.C (moveCursorUpdate): adjust
15703 * lyxfont.C (latexWriteStartChanges): add std::
15705 * lyxfind.C: adjust
15707 * font.h: delete with(char const *, LyXFont const &)
15709 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15711 * FontInfo.C (getFontname): add std::
15713 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15714 (workAreaButtonPress): adjust
15715 (tripleClick): adjust
15717 (moveCursorUpdate): adjust
15720 * BufferView2.C (gotoInset): adjust
15722 2001-05-30 Juergen Vigna <jug@sad.it>
15724 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15725 to check pspell I add this as default as I now have new pspell
15726 libraries and they seem to use this.
15728 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15730 * text2.C (CutSelection): make the cursor valid before the call to
15733 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15735 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15736 relied on 0 terminated strings and other horrors. Bug found due to
15737 the new assert in lyxstring!
15739 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15742 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15744 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15747 * lyxfunc.C (processKeySym): change method of getting to the
15750 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15751 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15752 * BufferView_pimpl.[Ch]: here as private methods.
15754 2001-05-28 Juergen Vigna <jug@sad.it>
15756 * text.C (SetHeightOfRow): added the update() call again as it is
15757 needed to initialize inset dimensions!
15759 2001-05-16 Juergen Vigna <jug@sad.it>
15761 * text2.C (SetCharFont): Add new function with BufferView * and
15762 bool toggleall parameters for setting insets internal fonts.
15763 (SetFont): Freeze the undo as we may change fonts in Insets and
15764 all this change should be inside only one Undo!
15766 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15767 setting font's in insets as for them we have the SetFont function!
15769 2001-05-15 Juergen Vigna <jug@sad.it>
15771 * text2.C (ClearSelection): to be sure we REALLY don't have any
15774 * tabular.C (TeXCellPreamble): fixed the left border problem for
15777 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15779 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15782 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15784 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15785 LFUN_BREAKPARAGRAPH.
15787 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15788 help test to "internal only", similar for LFUN_INSERT_URL
15790 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15791 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15792 auto_region_delete and deadkeys.
15794 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15797 * LColor.C: remove some dead entries, tidy a little
15799 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15801 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15803 (Dispatch): implement LFUN_ESCAPE
15805 * commandtags.h: add LFUN_ESCAPE
15807 * LyXAction.C (init): add entry for LFUN_ESCAPE
15809 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15810 Remove commented code.
15811 (insertNote): moved here
15812 (open_new_inset): moved here
15814 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15817 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15819 * kbmap.C (findbinding): clean it up and make it work correctly.
15821 * lyx_main.C (init): do not pass argc and argv as parameters
15823 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15825 * buffer.C: fix path for OS/2 & Win32
15829 * lyx_main.C: Added os:: class.
15831 * os2_defines.h: update
15833 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15835 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15836 better by trying again with reduced state.
15838 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15840 * lyxrc.C (read): print error about invalid key sequence only when
15841 debugging (because not all latinX keysyms are known to some X
15844 * kbsequence.C (getiso): add a few std:: qualifiers
15845 (getiso): comment out extra return statement.
15847 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15849 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15851 (Dispatch): enhance the accent inset a bit. (not perfect)
15853 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15855 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15857 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15859 * bufferlist.C (emergencyWrite): fix assert() call
15861 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15863 * text.C (InsertChar): Added trivial patch to only send the "you
15864 can not do multiple spaces this way" message once during a
15867 2001-05-08 Baruch Even <baruch@lyx.org>
15869 * Makefile.am: Changed order of libraries to get LyX to link properly
15870 with the gnome frontend.
15872 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15874 * LaTeXFeatures.h: add a std:: qualifier
15876 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15878 * paragraph.C (String): use stringstream
15880 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15882 * paragraph.C (writeFile): remove footflag arg
15884 * buffer.C (makeLaTeXFile): use stringstream
15885 (latexParagraphs): remove footnot gurba
15887 * LaTeXFeatures.C (getPackages): use stringstream
15888 (getMacros): likewise
15889 (getTClassPreamble): likewise
15890 (getFloatDefinitions): new method
15892 * paragraph.C (writeFile): reindent
15895 * WorkArea.h: revert the xpos + etc changes.
15897 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15899 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15901 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15902 (pasteSelection): likewise
15903 * text2.C (CreateUndo): likewise
15905 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15907 * minibuffer.C (peek_event): temporarily reduce the functionality
15908 of the minibuffer (to allow args on lfuns)
15910 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15911 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15913 * buffer.C (readInset): add compability reading of old float
15914 lists, add reading of new style float list.
15915 (readInset): avoid reevaluation of inscmd.getCmdName()
15916 (getLists): reindent
15918 * MenuBackend.C (MenuItem): implement parsing of
15919 md_floatlistinsert and md_floatinsert.
15920 (expand::LastFiles): move initalizaton of iterators out of loop,
15921 avoid reevaluation.
15922 (expand::Documents): introduce typdedef vector<string> Strings,
15924 (expand::ExportFormats): introduce typedef vector<Format const *>
15925 Formats, and use it.
15926 (expand): implement FloatListInsert and FloatInsert.
15928 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15929 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15930 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15932 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15934 (Dispatch::LFUN_FLOAT_LIST): implement
15936 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15938 * LaTeX.C (run): Fix problem with --export code.
15940 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15942 * BufferView.[Ch] (workarea): removed.
15943 (getClipboard) new method; wrapper for workarea()->getClipboard()
15945 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15948 * WorkArea.h (width, height, xpos, ypos): These methods all
15949 returned the dimensions of the work_area sub-area of WorkArea,
15950 resulting in a position error if the WorkArea were resized. Now
15951 return the dimensions of the entire WorkArea.
15953 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15955 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * LaTeX.C (deplog): correct the syntax of regex reg1
15959 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15961 * undo.C: remove !NEW_INSETS cruft
15963 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15965 * text2.C: remove !NEW_INSETS cruft
15967 * text.C: remove !NEW_INSETS cruft
15969 * tabular.C: remove !NEW_INSETS cruft
15971 * spellchecker.C: remove !NEW_INSETS cruft
15973 * lyxtext.h: remove !NEW_INSETS cruft
15975 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15977 * lyxfunc.C: remove !NEW_INSETS cruft
15979 * lyxfind.C: remove !NEW_INSETS cruft
15981 * lyx_cb.C: remove !NEW_INSETS cruft
15983 * figureForm.C: remove !NEW_INSETS cruft
15985 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15987 * buffer.[Ch]: remove !NEW_INSETS cruft
15989 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15991 * CutAndPaste.C: remove !NEW_INSETS cruft
15993 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15995 * BufferView2.C: remove !NEW_INSETS cruft
15997 * BufferView.h: remove !NEW_INSETS cruft
15999 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16001 * Lsstream.h: include LString.h before the sstream headers to
16002 fix problem with gcc 2.95.3 and lyxstring
16004 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16006 * lyx_main.C: add using directives when needed for C functions
16007 declared in std:: namespace.
16009 2001-04-27 Juergen Vigna <jug@sad.it>
16011 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16012 (SetHeightOfRow): comment out the update call should not be needed!
16014 2001-04-13 Juergen Vigna <jug@sad.it>
16016 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16017 (LyXTabular): tried to minimize operator= operations (and realized
16018 hopfully Lars wish).
16020 2001-04-27 Juergen Vigna <jug@sad.it>
16022 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16024 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16026 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16028 * buffer.C (readInset): hack to make listof algorithm work
16030 * BufferView_pimpl.C: hack to make listof algorithm work
16032 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16034 * LyXAction.C: removed all !NEW_INSETS cruft
16035 (init): moved lfun_item in method
16037 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16039 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16041 * BufferView2.C (theLockingInset): white space.
16043 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16045 * minibuffer.C: include <iostream>
16047 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16049 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16051 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16053 * text.[Ch] (TransposeChars): new method
16055 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16057 * call message directly through LyXView instead of through LyXFunc
16058 * BufferView2.C: adjust
16059 * BufferView_pimpl.C: adjust
16060 * FontLoader.C: adjust
16062 * bufferview_funcs.C: adjust
16063 * converter.C: adjust
16064 * figureForm.C: adjust
16065 * importer.C: adjust
16067 * lyx_gui_misc.C: adjust
16068 * lyxfunc.C: adjust
16071 + more files in subdirs
16073 * lyxparagraph.h (size): move up int file
16076 * adjust all uses of Assert to lyx::Assert.
16078 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16079 lyxfunctional in namespace lyx
16080 * layout.C (hasLayout): ditto
16083 (delete_layout): ditto
16084 (NumberOfClass): ditto
16085 * converter.C (GetFormat): ditto
16090 * bufferlist.C (getFileNames): ditto
16091 (emergencyWriteAll): ditto
16094 * MenuBackend.C (hasSubmenu): ditto
16097 * BufferView_pimpl.C (getInsetByCode): ditto
16099 2001-04-18 Juergen Vigna <jug@sad.it>
16101 * vspace.C (asLatexString): fixed the 100% problem.
16103 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16105 * lyxfunc.C (Dispatch):
16107 * minibuffer.h: add a few std:: qualifiers
16109 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16111 * minibuffer.[Ch]: reimplement so that commands is initiated and
16112 run from lyxfunc, simplified som handling, and made the completion
16113 and history code for complete. wip.
16115 * lyxfunc.C (processKeySym): call message
16116 (miniDispatch): new temporary method
16117 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16118 (LFUN_MESSAGE): implement
16119 (LFUN_MESSAGE_PUSH): implement
16120 (LFUN_MESSAGE_POP): implement
16121 (initMiniBuffer): the initial/defualt minibuffer message.
16123 * lyxfont.[Ch]: inline some more getters
16125 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16127 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16129 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16130 (AutoSave): use LFUN_MESSAGE
16131 (Reconfigure): ditto
16133 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16135 * figureForm.C: use LFUN_MESSAGE
16137 * converter.C (runLaTeX): use LFUN_MESSAGE
16139 * bufferview_funcs.C: use LFUN_MESSAGE
16141 (changeDepth): ditto
16143 * bufferparams.h: use boost::
16145 * bufferlist.h: inherit privately from noncopyable
16147 * bufferlist.C (loadLyXFile): remove some commented code.
16149 * buffer.C (runChktex): use LFUN_MESSAGE
16151 * ShareContainer.h: inherit privately from noncopyable
16153 * ParagraphParameters.[hC] (depth): inline it.
16155 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16157 (message): new method
16158 (messagePush): ditto
16159 (messagePop): ditto
16160 (show): init minibuffer
16161 (showState): direct call
16163 * LaTeX.[Ch]: inherit privately from noncopyable
16164 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16165 instead of WriteStatus.
16167 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16169 * BufferView_pimpl.C (buffer): don't init minibuffer
16170 (workAreaButtonPress): use LFUN_MESSAGE
16171 (workAreaButtonRelease): ditto
16172 (savePosition): ditto
16173 (restorePosition): ditto
16174 (MenuInsertLyXFile): ditto
16175 (workAreaExpose): don't init minibuffer
16176 (update): remove commented code, simplify
16178 * BufferView2.C (openStuff): use LFUN_MESSAGE
16179 (toggleFloat): ditto
16182 (copyEnvironment): ditto
16183 (pasteEnvironment): ditto
16188 (updateInset): remove some commented code
16190 * lastfiles.h: inherit privately from noncopyable
16193 * lyx_main.h: ditto
16195 * lyxlex_pimpl.h: ditto
16197 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16198 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16199 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16201 * LyXAction.h: inherit privately from noncopyable, add methods
16202 func_begin, func_end, returning iterators to the func map.
16204 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16205 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16206 (func_begin): new method
16207 (func_end): new method
16209 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16211 (copySelection): ditto
16212 (pasteSelection): ditto
16214 * BufferView.C: whitespace change
16215 * BufferView.h: inherit privately from noncopyable
16217 2001-04-16 Allan Rae <rae@lyx.org>
16219 * tabular-old.C (l_getline):
16220 * spellchecker.C (sc_check_word):
16221 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16222 an unrecognised preprocessor directive. So ensure they're wrapped.
16224 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16226 * src/exporter.C (Export): Give an error message when path to file
16229 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16231 * LaTeX.C (deplog): Always check that foundfile exists.
16233 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16236 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16238 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16240 * tabular.[Ch] (getLabelList): implement new method
16242 * minibuffer.h: comment ouf setTiimer
16244 * minibuffer.C (ExecutingCB): constify res
16245 (peek_event): constify s
16246 (Set): constify ntext
16247 (Init): constify nicename
16249 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16251 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16252 (savePosition): use two params to Minibuffer::Set
16253 (restorePosition): ditto
16255 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16257 * lyx_main.C: include language.h
16259 * Makefile.am (lyx_main.o): add language.h
16261 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16267 * CutAndPaste.C: include gettext.h
16269 * lyxfont.h: remove old hack with ON and OFF.
16272 * lyxfont.h: do not include language.h...
16277 * bufferview_funcs.C:
16283 * paragraph.C: ... but do it here instead
16285 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16287 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16289 * tabular.C: small reformat
16291 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16294 (BreakParagraph): ditto
16295 (SetOnlyLayout): ditto
16298 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16301 * lastfiles.C: removed most using decl, add std:: where needed
16303 * buffer.C: ws changes
16305 * MenuBackend.C (class compare_format): put into anon namespace
16306 (expand): constify label, names, action, action2
16309 * text.C (SingleWidth): constify font
16310 (IsBoundary): constify rtl2
16311 (GetVisibleRow): constify ww
16313 * LaTeX.C (deplog): constify logfile
16315 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16317 (workAreaExpose): constify widthChange, heightChange
16319 * lyxrow.C (par): moved
16322 * lyxrow.h: as inlines here
16324 * lyxfont.h (shape): moved from lyxfont.C
16325 (emph): moved from lyxfont.C
16327 * lyxfont.C (LyXFont): use initialization list for all
16329 (shape): move to lyxfont.h as inline
16330 (emph): move to lyxfont.h as inline
16333 2001-04-04 Juergen Vigna <jug@sad.it>
16335 * vspace.C: had to include stdio.h for use of sscanf
16337 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16340 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16341 independent of xforms.
16343 2001-04-02 Juergen Vigna <jug@sad.it>
16345 * spellchecker.C: fixed namespace placing!
16347 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16349 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16350 the LyXParagraph * is 0.
16352 2001-03-29 Juergen Vigna <jug@sad.it>
16354 * vspace.C: added support for %, c%, p%, l%.
16355 (stringFromUnit): added helper function.
16356 (asLatexString): changed to give right results for the %-values.
16358 * buffer.C: convert the widthp in a width%.
16360 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16362 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16365 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16366 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16368 * lyx_cb.[Ch]: see above.
16370 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16374 * lyx.[Ch]: replaced by figure_form.[Ch].
16378 * lyxfunc.C: changed headers associated with above changes.
16380 2001-03-27 Juergen Vigna <jug@sad.it>
16382 * BufferView_pimpl.C: set the temporary cursor right!
16384 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16386 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16388 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16390 * LString.h: removed "using std::getline"!
16392 * BufferView_pimpl.C (Dispatch): changes due to changes in
16393 InsetInclude::Params.
16395 * buffer.C (tag_name): removed redundant break statements as they were
16396 producing lots of warnings with my compiler.
16398 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16400 * LString.h: add "using std::getline" when using the real <string>.
16402 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16404 * buffer.C: removed bitset usage.
16405 PAR_TAG moved to an anonymous name space.
16406 (tag_name): new funtion, also in the anonymous namespace.
16407 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16408 (makeDocBookFile): clean code. Completed transition from string arrays
16410 (SimpleDocBookOnePar): code clean.
16412 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16414 * tabular.C: add some comments.
16416 2001-03-22 Juergen Vigna <jug@sad.it>
16418 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16419 compatibility read a bit and fixed bug with minipage in different
16422 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16424 * buffer.C (pop_tag): removed.
16425 (push_tag): removed.
16426 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16427 array replaced with vector. Added support for CDATA sections.
16428 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16430 (makeDocBookFile): XML conformant declaration of CDATA section,
16431 fixed bug related to <emphasis> in the first paragraph char.
16432 (sgmlOpenTag): exclude empty tags.
16433 (sgmlCloseTag): ditto.
16435 * buffer.h (pop_tag): removed.
16436 (push_tag): removed.
16438 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16440 * language.h (Languages): added size_type and size().
16442 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16444 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16445 response on compability reading of minipages. One probliem is that
16446 the old usage of minipages was «flertydig»
16448 * several files here and in subdirs: don't use static at file
16449 scope use anon namespaces instead.
16451 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16453 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16454 LaTeX output. This is necessary for Literate document
16457 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16459 * buffer.C: insert hfill when needed.
16461 * tabular.C (l_getline): use string::erase, small whitespace change.
16463 * BufferView_pimpl.C: try the anon namespace.
16464 * WorkArea.C: ditto
16466 2001-03-16 Juergen Vigna <jug@sad.it>
16468 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16469 otherwise it won't open options-dialogs.
16471 * buffer.C: honor pextraWidth(p) on converting minipages.
16473 * tabular.C (l_getline): changed the functions to strip trailing \r.
16475 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16477 * BufferView_pimpl.C:
16478 * minibuffer..C: added "using SigC::slot" declaration.
16480 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16482 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16488 * paragraph.C: ditto
16490 * lyxtext.h: NO_PEXTRA
16492 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16494 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16495 * ParameterStruct.h: ditto
16496 * ParagraphParameters.h: ditto
16497 * lyxparagraph.h: ditto
16499 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16501 * buffer.C: add compability for minipage alignment.
16502 (latexParagraphs): remove unwanted pextra check.
16504 * several files: remove CXX_WORKING_NAMESPACES
16506 * buffer.C (pop_tag): tie is in namespace boost
16508 * BufferView.h: noncopyable is in namespace boost
16510 * lyx_main.h: ditto
16513 * lastfiles.h: ditto
16514 * bufferlist.h: ditto
16515 * ShareContainer.h: ditto
16517 * LyXAction.h: ditto
16520 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16522 * Merging changes from BRANCH_MVC back into HEAD.
16524 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16526 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16528 * BufferView_pimpl.C: change from intl.C
16532 * Makefile.am: move combox.*
16538 * intl.C: remove dialog (covered by prefs)
16540 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16542 * lyxfunc.C (Dispatch): removed redundant break statement.
16544 2001-03-14 Juergen Vigna <jug@sad.it>
16546 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16548 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16550 * buffer.C: add hack to fix compability reading of minipages.
16552 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16554 * buffer.C (getLists): Cleanup.
16556 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16558 * lyxfont.C (update): don't honor toggleall on font size.
16560 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16564 * Makefile.am: moved to frontends/xforms/
16568 * BufferView_pimpl.C: changes for moved mathpanel
16570 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16572 * gettext.h: fix gettext_init() in --disable-nls
16574 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16576 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16578 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16581 * lyx.h: strip external form
16583 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16585 * BufferView_pimpl.C: add comment, destroySplash()
16587 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16589 * BufferView_pimpl.C:
16593 * lyxfunc.C: use re-worked insetinclude
16595 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16597 * buffer.C: add using std::stringstream.
16599 * lyx_cb.C: readd using std::ios.
16601 * buffer.C: add using std::map.
16603 * BufferView_pimpl.C: add using std::vector.
16605 * ShareContainer.h: add std:: to swap.
16607 * buffer.h: add some typedefs
16608 * buffer.C (getLists): use them
16609 (getLists): renamed from getTocList.
16610 add a counter for the different float types and use it in the
16612 (getLists): use the same counter for the NEW_INSETS and the "non"
16615 * lyx_cb.h: remove unused items, includes, using etc.
16617 * ShareContainer.h: remove some commented code, add more comments
16618 and "documentation".
16620 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16622 * buffer.C (getTocList): make the list also when NEW_INSETS is
16625 * buffer.h: remove TocType
16627 * buffer.C (getTocList): change to return a map<string,
16628 vector<TocItem> >, implement for dynamic number of list.
16630 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16631 * text2.C (PasteSelection): adjust
16632 * CutAndPaste.C (pasteSelection): adjust
16634 * FloatList.C (FloatList): update from the new_insets branch.
16635 * Floating.[Ch]: ditto
16636 * LaTeXFeatures.C: ditto
16638 * lyxlex_pimpl.C: ditto
16640 * paragraph.C (Last): remove when NEW_INSETS is defined.
16642 * other file: changes because of the above.
16644 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16646 * lyxparagraph.h: rename next to next_, previous to previous_,
16647 make them private for NEW_INSETS. Rename Next() to next(),
16648 Previous() to previous().
16650 * other files: changes because of the above.
16652 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16655 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16658 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16660 * main.C (main): pass lyx_localedir to gettext_init().
16662 * gettext.h: remove locale_init and gettext_init macros
16664 * gettext.C (locale_init): new function
16665 (gettext_init): new function
16667 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16670 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16672 * Moved credits to frontends:
16673 * credits.[Ch]: removed
16674 * credits_form.[Ch]: removed
16675 * lyx_gui_misc.C: remove credits stuff
16678 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16680 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16682 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16683 unneeded destructor.
16685 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16686 a standalone pointer again.
16688 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16690 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16696 * ToolbarDefaults.C:
16705 * BufferView_pimpl.C: use new file dialog in GUII
16708 * lyx_cb.C: remove LayoutsCB to Toolbar
16710 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16712 * ShareContainer.h (get): add std:: qualifier
16714 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16716 * ShareContainer.h: define a proper ShareContainer::value_type
16717 type (and use typename to please compaq cxx)
16719 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16721 * lyxparagraph.h: move serveral local vars to
16722 ParameterStruct/ParagraphParameters., use ShareContainer in
16723 FontTable., make vars in FontTable private and add getter and
16726 * paragraph.C: changes because of the above.
16728 * lyxfont.h: remove copy constructor and copy assignment. (the
16729 default ones is ok), move number inside FontBits. move inlines to
16732 * lyxfont.C: add number to initializaton of statics, move several
16733 inlines here. constify several local vars. some whitespace
16734 cleanup. Dont hide outerscope variables.
16736 * Spacing.h: add two new constructors to match the set methods.
16738 * ShareContainer.h: new file, will perhaps be moved to support
16740 * ParameterStruct.h: new file
16742 * ParagraphParameters.h: new file
16744 * ParagraphParameters.C: new file
16746 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16747 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16749 * BufferView_pimpl.C: ParagraphParameter changes.
16750 * buffer.C: Likewise.
16751 * bufferview_funcs.C: Likewise.
16752 * text.C: Likewise.
16753 * text2.C: Likewise.
16755 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16757 * lyxfind.C (LyXReplace): do not redefine default argument in
16759 (IsStringInText): ditto
16760 (SearchForward): ditto
16761 (SearchBackward): ditto
16763 2001-03-06 Juergen Vigna <jug@sad.it>
16765 * lyxfind.C (IsStringInText): put parentes around expressions.
16767 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16769 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16771 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16773 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16775 * stl_string_fwd.h: add comment
16777 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16780 * tabular.C: remove unused DocBook methods
16786 killed DO_USE_DEFAULT_LANGUAGE
16788 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16790 * lyx_gui.C: do not include language.h.
16792 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16793 arguments in function implementation.
16795 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16797 * BufferView_pimpl.C: add <ctime>
16799 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16801 * BufferView_pimpl.C: add using std::find_if
16803 2001-02-27 José Matos <jamatos@fep.up.pt>
16805 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16808 2001-02-11 José Matos <jamatos@fep.up.pt>
16810 * buffer.C (makeDocBookFile): command styles now have a parameter as
16811 "title" by default.
16813 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16815 * layout_forms.[Ch]: removed
16816 * lyx_cb.[Ch]: out character
16817 * lyx_gui.C: out character
16818 * lyx_gui_misc.C: out character
16819 * bufferview_funcs.C: : out character,
16820 added toggleall as parameter in ToggleAndShow
16822 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16824 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16826 * text2.C (SetCurrentFont): Disable number property at boundary.
16828 2001-02-26 Juergen Vigna <jug@sad.it>
16830 * lyxfunc.C (getStatus): added a string argument override function so
16831 that this is correctly called from LyXFunc::Dispatch if it contains a
16832 do_not_use_argument which is used!
16833 (Dispatch): added check for "custom" export and call appropriate func.
16835 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16837 * lyxrc.C: Add language_command_local, language_use_babel and
16838 language_global_options.
16840 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16842 * buffer.C (makeLaTeXFile): Use language_use_babel and
16843 language_global_options.
16845 2001-02-23 Juergen Vigna <jug@sad.it>
16847 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16848 which works with LyXText and putted it inside BufferView. Here now we
16849 only call for that part the BufferView::Dispatch() function.
16851 * BufferView.C (Dispatch): added.
16853 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16854 functions which needs to use a LyXText over from LyXFunc.
16855 (MenuInsertLyXFile): added
16856 (getInsetByCode): added
16857 (moveCursorUpdate): added
16858 (static TEXT): added
16860 2001-02-22 Juergen Vigna <jug@sad.it>
16862 * BufferView_pimpl.C (update): call a status update to see if LyXText
16865 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16867 * vc-backend.C (revert): implement for CVS
16868 (getLog): implement for CVS
16870 2001-02-20 Juergen Vigna <jug@sad.it>
16872 * text2.C (ClearSelection): added BufferView param for inset_owner call
16874 * lyxfunc.C (TEXT): added this function and use it instead of
16875 directly owner->view()-text of getLyXText().
16877 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16879 * src/layout_forms.C: out preamble
16880 * src/layout_forms.h: out preamble
16881 * src/lyx_cb.C: out preamble
16882 * src/lyx_cb.h: out preamble
16883 * src/lyx_gui.C: out preamble
16884 * src/lyx_gui_misc.C: out preamble
16885 * src/lyxfunc.C: connect with guii preamble
16887 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16889 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16891 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16893 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16894 whether to run bibtex.
16896 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16898 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16900 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16902 * Makefile.am (lyx_SOURCES): removed bibforms.h
16904 * vspace.h: doxygen
16906 * text.C (GetVisibleRow): make several local vars const
16908 * tabular.C: small cleanup.
16910 * lyxserver.C (callback): use compare instead of strncmp
16912 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16913 inlines to after class or to paragraph.C
16915 * lyxfont.h: remove friend operator!=
16917 * converter.h: move friend bool operator< to non friend and after
16920 * combox.h: small cleanup
16922 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16923 to inlines after class def.
16925 * buffer.C (pop_tag): use string operations instead of strcmp
16927 * bmtable.c: doxygen, small cleanup
16929 * LaTeX.h: remove friend operator==
16931 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16943 * BufferView_pimpl.C:
16944 * BufferView.[Ch]: remove cruft
16946 2001-02-14 Juergen Vigna <jug@sad.it>
16948 * lyxfunc.C: removed #if 0 unused code
16950 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16952 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16954 * text2.C (SetSelection): added a BufferView * parameter
16956 2001-02-13 Juergen Vigna <jug@sad.it>
16958 * lyxfunc.C (Dispatch): fixed protected blank problem.
16959 * BufferView2.C (protectedBlank): added LyxText * parameter.
16961 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16962 (AppendColumn): same as above for column_info.
16964 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16965 (moveCursorUpdate): use a LyXText param for support of InsetText.
16967 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16968 (tripleClick): ditto
16970 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16972 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16974 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16976 * text2.C (SetSelection): set correct update status if inset_owner
16977 (ToggleFree): ditto
16979 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16981 * tabular.C: remove some commented code.
16983 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16985 * BufferView_pimpl.C: call hideSplash()
16987 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16990 * bibforms.h: remove
16993 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16994 add LFUN_CHILD_CREATE
16996 * counters.h: fix tiny typo
17001 * lyx.C: move splash to frontends/xforms/
17003 * lyx_gui_misc.C: move Include and Bibform to frontends
17005 * lyxvc.h: clarify comment
17007 * vspace.C: tiny housekeeping
17009 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17011 * text.C (PrepareToPrint): RTL Fix.
17013 * paragraph.C (GetUChar): New method.
17014 (String): Use GetUChar.
17016 * buffer.C (asciiParagraph): Use GetUChar.
17018 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17020 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17022 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17025 * buffer.C: rename to getLogName(), handle
17026 build log / latex log nicely
17028 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17031 * MenuBackend.h: remove support for reference menuitem type.
17033 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17035 * BufferView_pimpl.C: housekeeping
17036 * BufferView_pimpl.h:
17041 * minibuffer.h: move Timeout GUI-I
17043 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17045 * lyxrc.C (read): Update converters data-structures.
17047 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17049 * LaTeX.h (operator!=): add operator != for Aux_Info
17051 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17053 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17055 * LaTeXLog.C: deleted, useful code moved to Buffer
17058 * buffer.C: new function getLatexLogName()
17064 * lyxfunc.C: use frontends for LaTeX and VC logs
17066 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17068 * LaTeX.h: yet another std:: that Allan forgot.
17070 * Variables.C (set): renamed from isset(), because this clashes
17071 with some HP-UX macros (grr).
17073 2001-02-06 Allan Rae <rae@lyx.org>
17075 * LaTeX.h: Another bug fix. Missing std:: this time.
17077 2001-02-04 Allan Rae <rae@lyx.org>
17079 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17080 floats problem. I've left it commented out because it's not quite
17081 correct. It should also test that the current object is a table or
17082 figure inset. But I haven't gotten around to figuring out how to do
17083 that. I *think* it'll be something like: "table" == inset.type()
17085 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17088 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17090 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17091 all the citation/databases/styles in the auxilary file.
17092 (run): Rerun latex if there was a babel language error.
17094 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17096 * text.C (Backspace): Preserve the font when changing newline char
17098 (BreakParagraph): If the cursor is before a space, delete the space.
17100 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17102 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17104 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17105 new argument (code).
17106 (ChangeCitationsIfUnique): New method.
17108 * paragraph.C (GetPositionOfInset): Handle bibkey.
17110 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17112 * BufferView_pimpl.h: change type of Position::par_pos to
17113 LyXParagraph::size_type.
17115 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17117 * BufferView_pimpl.C (savePosition, restorePosition): Write
17118 messages to minibuffer.
17120 2001-01-28 José Matos <jamatos@fep.up.pt>
17122 * buffer.C (makeDocBookFile): adds support for document language.
17123 A silly restriction on the name of LatexCommand types where removed.
17124 Added support for CDATA sections, allows to chars unescaped, used
17125 among others in code, to avoid escape < and >.
17127 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17129 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17130 saved positions instrad of a stack. Furthermore, a position is
17131 stored using paragraph id/paragraph position.
17133 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17134 Remove LFUN_REF_BACK.
17136 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17138 * converter.C (dvipdfm_options): New method.
17140 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17142 * vspace.C (isValidLength): Fix for empty input string.
17144 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17146 * LyXAction.C (init): change description of LFUN_FIGURE to
17149 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17151 * LaTeX.C: add using directive
17153 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17155 * MenuBackend.C (expand): Fix the sorting of the formats.
17157 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17159 * lyx_main.C: tiny error message fix
17161 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17163 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17164 calling fl_initialize(). This fixes the problem with ',' as
17165 decimal separator in text files.
17167 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17169 * trans.C (process): Fix the keymap bug.
17171 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17173 * LaTeX.C (scanAuxFiles): New method. Provides support for
17174 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17175 (scanLogFile) Scan for "run BibTeX" messages.
17177 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17178 OT1 font encoding. Also, load the aecompl package if the ae
17181 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17183 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17185 * texrow.C (increasePos): turn two error messages into debug
17188 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17190 * LaTeX.C (scanAux): Handle the \@input macro.
17191 (runBibTeX): Use scanAux().
17193 * language.C (latex_options_): New field.
17195 * LaTeXFeatures.C (getMacros): Add language macros.
17197 * buffer.C (makeLaTeXFile): Small fix.
17199 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17201 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17203 * text2.C: add a using directive.
17205 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17210 * lyxfunc.C: kill LyXBell.
17212 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17214 * text.C (IsBoundary): Remove the error message
17216 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17218 * lyxrc.C (setDefaults): Correct initialization value for
17221 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17223 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17226 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17227 and GotoNextNote().
17229 * src/LyXAction.C: Added reference-next.
17231 * text.C (InsertChar): Use contains instead of strchr.
17233 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17235 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17237 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17238 alignment commands (when needed).
17240 * text.C (InsertChar): Add ':' to number separator chars.