1 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * CutAndPaste.C (pasteSelectionHelper): fix a crash
5 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * buffer.C: format up to 241.
8 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
9 break if pasting into ERT
10 * lyxfunc.C (getStatus): suppress mathpanel and
11 LFUN_DIALOG_SHOW_NEW_INSET in ERT
13 2005-02-01 Angus Leeming <leeming@lyx.org>
15 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
17 2005-02-01 Angus Leeming <leeming@lyx.org>
19 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
20 calling fs::is_directory().
22 2005-01-31 Angus Leeming <leeming@lyx.org>
24 * lyx_main.C (priv_exec): specify explicitly the relative location
25 of the top level build directory when run in-place.
27 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
30 LyXText containing the cursor, not the top-level one.
32 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
34 (insertStringAsLines): rename par to pit; use temporary variable
35 par to hold a Paragraph; do not store par.layout() in a variable,
36 since the pointer may die when breaking paragraphs; pass pars to
37 breakParagraph() instead of Buffer::paragraphs().
39 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
41 * lyxlex_pimpl.h: #include <fstream>.
43 * BufferView.[Ch] (getLyXText): add a const version.
45 * BufferView_pimpl.C: add debug aids.
50 * paragraph_funcs.h: add commentary explaining what the class does.
53 * coordcache.[Ch]: add lots of commentary.
54 (startUpdating, doneUpdating): debug aids.
55 (arrays, insets, parPos, getParPos): accessors to private data.
57 * cursor_slice.[Ch] (text): add a const version.
58 * dociterator.[Ch] (text, innerText): add const versions.
60 * lyxtext.h (breakParagraph): change the keep_layout arg to a
63 * paragraph.C (getRow, pos2ros): add asserts.
65 * paragraph.h: add commentary. Lots of.
67 * paragraph.[Ch] (metrucs, draw): removed.
70 * rowpainter.[Ch]: const-correct changes.
72 * text.C: various obvious clean-ups. Removal of ancient cruft.
75 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
77 * vc-backend.C (find_file): rewrite to use boost.filesystem
80 * main.C (main): set default name check for boost.filesystem to
83 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
86 (actOnUpdatedPrefs): ditto
88 * lyx_main.C (init): rewrite to use boost.filesystem
89 (queryUserLyXDir): ditto
91 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
92 (getContentsOfAsciiFile): ditto
94 * lastfiles.C (readFile): rewrite to use boost.filesystem
96 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
98 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
101 * buffer.C (Buffer): adjust for destroydir
102 (getLogName): rewrite to use boost.filesystem
104 (save): use fs::copy_file (from fs_extras)
106 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
108 * LaTeX.C (run): rewrite to use boost.filesystem
109 (scanAuxFiles): ditto
110 (handleFoundFile): ditto
112 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
114 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
116 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
118 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
120 * lyxlayout.[Ch]: change some vars from float to double
122 * buffer.C (readFile): make a local var const
124 * Several files: use convert<> instead of atoi,strToXXX and friends
126 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
128 * LaTeXFeatures.[Ch]: Add a static list packages_ that
129 holds the contents of packages.lst. New functions getAvailable
130 and isAvailable to parse and check that list, resp.
134 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
136 * bufferparams.[Ch]: new param output_changes.
138 * Buffer.C: increase file format to 240.
139 Use output_changes and isVailable.
143 * paragraph_pimpl.C: Use output_changes and isVailable.
145 2005-01-23 Angus Leeming <leeming@lyx.org>
147 * output_latex.C: #include "insetbibitem.h", rather than
148 forward declare function bibitemWidest.
150 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
152 * lyx_main.C (init): make it compile on the Mac.
154 2005-01-20 Angus Leeming <leeming@lyx.org>
156 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
157 (setLyXMisc): (char string literal) != (char string literal) is
158 performing a comparison on the addresses. Convert one operand
159 explicitly to string to guarantee expected behaviour.
162 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
165 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
167 * output_plaintext.C: remove unneeded #include gzstream.h.
169 2005-01-20 Angus Leeming <leeming@lyx.org>
171 * SpellBase.h: rename some of the elements of the Result enum.
178 * pspell.C (check): ditto
180 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
182 * buffer.C: add #include <fstream>.
184 * lyx_main.C (init): Compile fix.
186 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
188 2005-01-20 Angus Leeming <leeming@lyx.org>
190 * mover.h: change commentary to reflect the changed meaning of
193 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * output_linuxdoc.C (linuxdocParagraphs): silence warning
197 * lyxfind.C (MatchString::operator()): remove bogus semicolon
199 2005-01-20 Angus Leeming <leeming@lyx.org>
201 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
202 printing diagnostic data by not dereferecing an iterator past the
205 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
207 * buffer.C (readHeader): use "&&" rather than "and".
209 * lyxserver.h (inPipeName, outPipeName): make these const.
211 2005-01-19 Angus Leeming <leeming@lyx.org>
213 * lyx_main.C (error_handler, init): protect SIGHUP with
214 #ifdef SIGHUP guards.
216 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
220 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
222 * text.C (setHeightOfRow): add a margin at the top and bottom of
223 the document (bug 1761)
225 2005-01-17 Angus Leeming <leeming@lyx.org>
227 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
228 with "python ". Workaround for a brain-dead Windows.
230 2005-01-16 Angus Leeming <leeming@lyx.org>
232 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
233 for MacOSX and Windows to use prependEnvPath.
234 Strip out the hard-coded block to add elements to the PATH for
235 MacOSX and replace it with a call to prependEnvPath using the
236 contents of LyXRC::path_prefix.
237 (queryUserLyXDir): strip out the code to run reconfigure, instead
238 returning a boolean indicating the necessity to do so.
239 (reconfigureUserLyXDir): contains the code to reconfigure the
240 user support directory. Is now called after the various LyXRC data
241 files have been read.
243 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
245 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
247 * converter.[Ch] (convert): take a new parameter try_default. Use
248 a default converter (imagemagick) if try_default is true.
250 2005-01-13 Angus Leeming <leeming@lyx.org>
252 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
254 (write): output LyXRC::cygwin_path_fix as necessary.
256 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
259 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
261 2005-01-12 Angus Leeming <leeming@lyx.org>
263 * lyx_main.C (init): set the PATH variable to include the
264 directory containing the LyX binary when running on Mac or Windows.
266 2005-01-12 Angus Leeming <leeming@lyx.org>
268 * lyx_main.C (init): remove cruft that purports to set the locale
269 dir. It doesn't and is not needed anyway.
271 2005-01-10 Angus Leeming <leeming@lyx.org>
273 * Makefile.am: remove the lyx_main.C special casing.
275 * BufferView_pimpl.C:
281 * messages.C: use support/package.h to provide the paths to the
282 various directories used by LyX.
284 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
286 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
287 layout if pasting into an empty paragraph)
289 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
291 * tex-accent.C: add <string>
293 2005-01-06 José Matos <jamatos@lyx.org>
295 * ParagraphParameters.C (write): put every parameter in its own line.
296 * paragraph.C (write): reduce number of consecutive empty lines exported.
297 * buffer.C (LYX_FORMAT): increase file format to 239.
299 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
301 * everywhere: change support/tostr.h -> support/convert.h
303 * tabular.C: make all write_attributes templates, tostr -> convert
305 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
306 (emptyTag): and -> &&, and fix type for ret from getChar
307 (getFirstWord): fix type for ret from getChar
308 (onlyText): and -> &&
309 (simpleDocBookOnePar): and not -> && !, fix type for ret from
312 * toc.C (goTo, action):
313 * text3.C (dispatch):
314 * text.C (currentState):
315 * tex-accent.C (DoAccent):
318 * lyxfunc.C (menuNew):
319 * lyxfinc.C (replace):
320 * counters.C (laberItem):
321 * bufferview_funcs.C (font2string):
322 * bufferparams.C (writeFile):
323 * buffer.C (readFile):
325 * MenuBackend.C: tostr -> convert
327 * LaTeX.C (runMessage): fix format
328 (scanAuxFiles): tostr -> convert
330 * BufferView_pimpl.C (savePosition): fix format
331 (restorePosition): ditto
334 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
336 * Spacing.[Ch]: New method getValueAsString().
340 * ParagraphParameters.C:
343 * text3.C: store/read spacing value as string.
345 * rowpainter.C: change float value (spacing_val) to double.
347 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
348 broken custom document spacing).
350 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
352 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
353 namespace, also more use of temp references and const
355 * cursor.[Ch] (getStatus): move to lyxfunc.C
357 * bufferparams.C: reformat slightly
359 * bufferview_funcs.C (font2string): constify arg
365 * buffer_funcs.C: (many funcs): constify arg on function
366 definitions, also make more local vars const, also add ASSERTS on
369 * buffer.C (LYX_FORMAT): put const in correct place
370 (many funcs): constify arg on function definitions, also make
371 more local vars const
373 * aspell_local.h: remove "struct" from typdef setup
375 * aspell.C (check): make word_ok const
376 (nextMiss): simplify slightly
379 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
381 * lyxrc.[Ch]: store all float values as strings.
382 use int (not float) for lyxrc.dpi.
384 2005-01-04 Angus Leeming <leeming@lyx.org>
386 * lyx_cb.C (Reconfigure):
387 * lyx_main.C (queryUserLyXDir):
388 to run the <system_lyxdir>/configure correctly on Windows, prefix
389 the path to the script with "sh " when generating the string that
390 is passed to system().
392 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
394 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
396 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * lyxlength.C (asLatexString): get rid of setprecision
400 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
402 * text2.C (setLayout): remove unused variable endpit.
403 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
405 * paragraph.C (onlyText): remove unused variable style.
407 * cursor.C (bruteFind): remove unused variables beg and end.
409 * Makefile.am (dist_noinset_DATA): not needed anymore
411 * cheaders/*: remove.
413 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
415 * text3.C: fix LFUN_MATH_MODE.
417 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * buffer_funcs.C (countWords): new function. Counts words between
422 * BufferView_pimpl.C (getStatus, dispatch): handle
425 * LyXAction.C (init):
426 * lfuns.h: add LFUN_WORDS_COUNT.
428 2004-12-19 Angus Leeming <leeming@lyx.org>
430 * buffer.C (save): s/slashify_path/internal_path/.
432 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434 * lyxfind.C (findChange): do not search for end of pars, because
435 the change tracker cannot handle this (fixes bug 1719).
437 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
439 * paragraph.[Ch] (autoBreakRows): remove
441 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
443 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
444 avoid using the paragraph one
446 * text2.C (LyXText, insertStringAsLines): adjust
448 2004-12-16 Angus Leeming <leeming@lyx.org>
452 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
454 2004-12-14 Angus Leeming <leeming@lyx.org>
456 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
458 * bufferlist.C (emergencyWrite):
459 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
462 2004-12-14 Angus Leeming <leeming@lyx.org>
464 * main.C: (main): no longer pass pointers to os::init.
466 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
468 * undo.C (textUndoOrRedo): simplify logic, fix a crash
469 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
471 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
474 * text3.C: remove selection_possible global flag
476 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
478 * text2.C (getSelectionSpan): remove
479 (changeDepth, changeDepthAllowed): adjust
481 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
483 * Makefile.am (BOOST_LIBS): use boost variables
485 2004-12-03 José Matos <jamatos@lyx.org>
487 * buffer.C: format up to 238.
489 2004-12-03 José Matos <jamatos@lyx.org>
491 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
493 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
495 * cursor.C (goUpDown): remove call to idxUpDown2
497 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
499 * tabular.[Ch]: use size_t-like types for cell, row and column
502 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
504 * lyxfunc.C (getStatus): do not lose previous information when
505 calling BufferView::getStatus; do not set a default "Command
506 disabled" message at the beginning, but just before returning.
508 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
510 * cursor.h (getStatus): add better comment from src/cursor.C
512 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
514 * text3.C (getStatus): return false when the lfun is not handled
516 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * broken_headers.h: remove
520 * Makefile.am (lyx_SOURCES): remove broken_headers.h
522 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
524 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
527 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
528 top_y_, merge fitcursor with update
529 (updateScrollbar, scrollDocView, fitCursor, center, update): new
532 (workAreaDispatch): adapt to new coord scheme
533 (redoCurrentBuffer): remove
535 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
537 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
540 * coordcache.[Ch]: add paragraph cache and helpers
542 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
545 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
546 (targetX, setTargetX): introduce
548 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
549 baseline -> ascent, as the rest of lyx
551 * lyxtext.h: remove redoParagraphs, updateParPositions,
552 fullRebreak, redoParagraphInternal. move dist to anon namespace in
553 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
554 have ascent/descent (ascent is ascent of first par)
556 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
559 * paragraph.[Ch]: unify dimension handling with the rest of lyx
561 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
563 * pariterator.C: fix infinite loop introduced in par->pit renaming
565 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
566 in insets and LyXText, draw two off-screen paragraphs using
567 NullPainter, and adapt to new coord scheme
571 * text3.C: adapt lfun handlers to the new coord scheme, which
572 means: there's only guaranteed coord information for onscreen pars
573 plus one above and one below. This implies that one can do search
574 from y coordinates in the range [-1,workHeight]
576 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
578 * rename a lot of InsetOld to InsetBase
580 2004-11-25 Angus Leeming <leeming@lyx.org>
582 * BufferView_pimpl.C:
584 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
586 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
588 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
589 call BufferView::getStatus if LCursor::getStatus did nothing
590 (setStatusMessage, getStatusMessage): removed.
592 * FuncStatus.C (message): new methods. Used to provide an error
593 message indicating why a command is disabled.
594 (clear, |=, FuncStatus): update for message.
596 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
598 * lyxfunc.C (dispatch): always call sendDispatchMessage
600 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
603 * BufferView_pimpl.C:
617 * undo.C: par->pit renaming
619 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
621 * tabular.C (cellstruct): use initialization, store a shared_ptr
622 to insettext instead of the insettext directly, adjust to fit.
623 (operator=): new function
625 (rowstruct): use initialization
626 (columnstruct): use initialization
627 (ltType): use initialization
630 * lyxlength.h (swap): new function
632 * LColor.[Ch] (operator=): use the common semantics
634 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * lyxfind.C (findNextChange): update the bufferview after setting
639 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
642 number of InsetOptArgs has already been inserted.
644 * output_latex.C (latexOptArgInsets): new method. This outputs all
645 the optarg insets, up to the limit defined in the layout file.
646 (optArgInset): removed
647 (TeXOnePar): call latexOptArgInsets; correctly update texrow
649 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
651 * paragraph.C (isLetter): remove special spellchecker-related
652 code; return true also for digits
653 (isWord, isKomma): remove
655 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
656 * lyxfind.C (MatchString()): use isLetter instead of isWord
658 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
660 * pariterator.h (operatir=): comment out un-implemented member
663 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
666 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
668 * lyxfont.h: include LColor.h to satisfy concept checks.
670 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
672 * pariterator.h: add typdefs for value_type, difference_type,
673 pointer and reference to satisfy concept checks. Also add default
674 constructor for same reason.
676 * pariterator.C (operator++): add post-increment operator to
677 satisfy concept checks.
679 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
682 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
684 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
685 checks. Also rename base_type to BaseType to follow naming
688 * FloatList.h: include Floating.h to satisfy concept checks.
690 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
692 * lyxfunc.C (getStatus): when the origin of the request is menu or
693 toolbar, and the LyXView does not have focus, do as if there was
696 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
697 FuncRequest to individual entries of LFUN_SEQUENCE
699 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
701 * output_latex.C (TeXOnePar): override runparams.moving_arg
702 according to the needprotect value of the current paragraph (bug
705 * paragraph.C (simpleTeXOnePar): no need to override
706 runparams.moving_args here
708 2004-11-14 John Spray <spray_john@users.sourceforge.net>
710 * vspace.C: fix off-by-one-error, related to fix #1682
712 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
714 * lengthcommon.C: a more general fix for bug 1682
716 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
718 * text.C (backspace): fix crash
720 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * format.[Ch] (getFormatFromFile): new method
723 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
725 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
727 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
729 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
731 * lyxfunc.C (dispatch): remove the verbose argument
732 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
735 * kbmap.C (defkey): set the origin of func to KEYBOARD
737 * MenuBackend.C (MenuItem):
738 * ToolbarBackend.C (add): set the origin of func to UI
740 * funcrequest.[Ch]: add origin member, which indicates which part
741 of LyX requests an action
743 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
745 * converter.C (move): don't lie in the error message
746 * converter.h (isReachable, move): document
748 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
750 * buffer.C: remove unused using lyx::support::atoi
751 * paragraph_funcs.C: ditto
753 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
755 * bufferlist.C (exists): use bind and equal_to instead of
758 * lyxtextclasslist.C (NumberOfClass): ditto
760 * cursor.C (insert): use for_each instead of explicit for loop
762 * bufferlist.C (getFileNames): use std::transform and
763 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
765 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
768 * buffer.C (changeLanguage): use for_each instead of explicit for
770 (hasParWithID): implement using getParFromID
772 * LaTeXFeatures.C: ws change only
774 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
777 * BufferView_pimpl.C (trackChanges): use for_each instead of
780 2004-11-04 André Pönitz <poenitz@gmx.net>
783 * undo.C (textUndoOrRedo): fix crash when creating undo information.
785 * dociterator.C (asDocIterator): use hard assert again.
787 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
789 * lyxlength.C (asLatexString): rewrite so that it does not use
792 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
794 * text3.C (specialChar, dispatch): make sure cursor moves to the
795 right after inserting an inset
797 2004-11-02 José Matos <jamatos@lyx.org>
799 * output_docbook.C (docbook):
800 * paragraph.C (getID):
801 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
802 garantee that the output is always legal.
804 * tabular.C (docbook):
805 * outputprams.[Ch]: remove mixed contents.
807 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
809 * text2.C (setCounter): prevent endless loop
811 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
813 * exporter.C (copyFile): use the mover instead of support::copy()
814 * exporter.C (Export): pass format and latex name to copyFile()
815 * exporter.h (addExternalFile): document
816 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
818 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
820 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
822 2004-10-30 José Matos <jamatos@lyx.org>
824 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
825 text and no inset or font change. This allows to use CDATA
826 sections just for the whole paragraph.
828 2004-10-30 José Matos <jamatos@lyx.org>
830 * paragraph.C (getFirstWord): remove unused variable.
832 2004-10-30 José Matos <jamatos@lyx.org>
834 * paragraph.C (getFirstWord): the content should always be escaped
836 (simpleDocBookOnePar):
837 * output_docbook.C (makeEnvironment): replace reference to CDATA
840 2004-10-30 José Matos <jamatos@lyx.org>
842 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
844 2004-10-30 José Matos <jamatos@lyx.org>
846 * output_docbook.C (makeParagraphs):
847 * paragraph.[Ch] (emptyTag): for docbook and company, if the
848 standard paragraph has only a given type of content drop the wrapper.
850 2004-10-29 José Matos <jamatos@lyx.org>
852 * output_docbook.C (makeEnvironment):
854 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
856 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
858 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
859 (cleanID): sanitize any id.
861 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
863 * buffer.C, lyxlex_pimpl.C:
864 * lyxlex_pimpl.C (setFile):
865 s/getExtFromContents/getFormatFromContents/
867 2004-10-28 José Matos <jamatos@lyx.org>
869 * output_docbook.C (makeEnvironment): move id to broadest possible
872 * sgml.C (openTag): apply substitution of <> for all attributes.
874 2004-10-28 José Matos <jamatos@lyx.org>
876 * buffer.C (makeLinuxDocFile, makeDocBookFile):
877 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
878 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
880 * sgml.[Ch]: new version for open and closeTag for paragraph and
881 for strings. Now they handle the ids of paragraphs.
883 2004-10-26 Angus Leeming <leeming@lyx.org>
885 * Makefile.am: add mover.[Ch].
887 * converter.C (convert, move): use the new Movers to move external
888 files to the temp directory.
890 * lyx_main.C (init): ensure that the global system_movers data
893 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
896 * mover.[Ch]: new files, defining a Mover as a utility to move an
897 external file between directories and, if necessary, manipulate this
898 file using a helper script.
900 2004-10-25 José Matos <jamatos@lyx.org>
902 * output_docbook.C (makeCommand): merge two if's that tested the
905 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
907 * sgml.C (escapeString): fix warning in a better way
909 2004-10-25 José Matos <jamatos@lyx.org>
911 * sgml.C (escapeString): import the require boosts header file for
912 tie, and avoid a signed unsigned comparison.
914 2004-10-25 José Matos <jamatos@lyx.org>
916 * sgml.h: add #include <string>
918 2004-10-25 José Matos <jamatos@lyx.org>
920 * sgml.[Ch] (escapeString): new function to escape all the string.
922 2004-10-24 José Matos <jamatos@lyx.org>
924 * paragraph.[Ch] (getFirstWord): new function to get the first
925 word. Useful for description.
926 (simpleDocBookOnePar): remove depth argument, add another that
927 says where to start the paragraph.
929 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
930 use the new functions to fix cleanly the support for descriptions.
932 2004-10-24 José Matos <jamatos@lyx.org>
934 * buffer.C (makeLinuxDocFile, makeDocBookFile):
935 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
936 * output_linuxdoc.C (linuxdocParagraphs):
937 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
938 add buffer as argument.
940 2004-10-24 José Matos <jamatos@lyx.org>
942 * output_docbook.C (makeEnvironment, searchEnvironment): place
943 CDATA inside paragraphs and fix scope for listitems.
945 2004-10-24 José Matos <jamatos@lyx.org>
947 * output_docbook.C: remove using statement for stack.
949 2004-10-23 José Matos <jamatos@lyx.org>
951 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
952 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
953 docbook. The new scheme is recursive and makes use of iterators, the
954 same as latex export works.
955 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
956 directly with the paragraph contents. This code was moved up to
957 output_docbook.C (docbookParagraphs).
958 * sgml.C (openTag, closeTag): removed unneeded newlines.
959 (closeEnvTags) removed.
961 2004-10-23 André Pönitz <poenitz@gmx.net>
963 * undo.C (textUndoOrRedo):
964 * dociterator.C (asDocIterator): work around crash
966 * cursor.C (getStatus): replace ASSERT by more verbose error message
967 and manual correction of the problem. Should increase stability
968 while providing more sensible information.
970 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
972 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
974 * bufferlist.C (previous, next): new methods
977 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
979 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
981 * buffer.C (makeDocBookFile): add dsssl stylesheet control
982 entities to preamble.
984 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
986 * messages.C (Pimpl): strip off translation context information
988 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
990 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
991 the cursor is correct (bug 1694)
993 2004-10-13 José Matos <jamatos@lyx.org>
995 * output_docbook.C (docbookParagraphs): fix closing tags in the
998 2004-10-09 José Matos <jamatos@lyx.org>
1000 * buffer.C: format up to 237.
1001 * bufferparams.C (write): use tostr to convert booleans to strings.
1003 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1005 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1007 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1009 * LaTeX.C: implement use of babel language in xindy.
1011 2004-10-05 José Matos <jamatos@lyx.org>
1013 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1014 Add new translators to help reading and writing the lyx file.
1016 2004-10-05 José Matos <jamatos@lyx.org>
1018 * ParagraphParameters.C (read):
1019 * text.C (readParToken): replace nexToken by more appropriate lex
1022 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1024 * LaTeX.C (runMakeIndex):
1025 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1026 (usually 'makeindex') configurable.
1028 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1029 with a variable rather than with a number.
1031 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1033 * output_latex.C (TeXOnePar): make sure font setting is the first
1034 thing that gets output (and the last at the end). Should fix bug
1037 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1039 * pch.h: use proper signal include
1041 * LaTeX.h: Use preferred calling of Boost.Signal
1044 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1046 * pch.h: dont include <boost/function/function0.hpp>
1048 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1050 * paragraph_pimpl.h: remove usage of ShareContainer
1052 * paragraph_pimpl.C: remove initialization of ShareContainer.
1054 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1058 * BufferView.C (putSelectionAt): change the semantics when
1059 backwards == true: now, this just swaps cursor and anchor wrt the
1062 * BufferView.h (putSelectionAt): add some documentation
1064 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1065 make sure backwardChar is done at least once (to avoid getting
1067 (findNextChange): use putSelectionAt in the forward direction
1068 (operator()): use Paragraph::isWord
1070 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1072 * Spacing.C (set): c_str fix
1074 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1076 * lyx_cb.C (Reconfigure): quote the name of configure script in
1077 case it contains spaces
1079 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1083 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1084 (BOOST_LIBS): use top_buildir when looking for the file
1086 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1088 * pch.h: do not use include boost/format.hpp, multiple symbols
1089 will result (gcc bug)
1092 2004-08-23 José Matos <jamatos@lyx.org>
1094 * bufferparams.C (readToken): fix reading of the author field.
1096 2004-08-20 José Matos <jamatos@lyx.org>
1098 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1100 2004-08-20 José Matos <jamatos@lyx.org>
1102 * lyxlex.[Ch] (findToken): remove function.
1104 * ParagraphParameters.C (findToken):
1105 * bufferparams.C (findToken): replace call for previous function
1106 with local copy. This local function has one more argument, the
1107 read string argument.
1109 2004-08-16 José Matos <jamatos@lyx.org>
1111 * ParagraphParameters.C (write):
1112 * Spacing.C (writeFile):
1113 * bufferparams.C (writeLaTeX):
1114 * lyx_cb.C (Reconfigure):
1115 * paragraph.C (write):
1116 * tabular.C (write): remove unnecessary space at end of line.
1119 2004-08-16 José Matos <jamatos@lyx.org>
1121 * text.C (readParagraph): remove debug message.
1123 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1125 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1128 * output_plaintext.C (asciiParagraph): set depth correctly
1130 * outputparams.h: add member depth
1132 * paragraph_funcs.C (ownerPar): remove.
1134 * text2.C (setCounter): remove first_pit; comment out some
1135 non-working code that uses ownerPar
1137 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1140 2004-08-16 José Matos <jamatos@lyx.org>
1142 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1143 For the same level of importance use the same chanel to report problems.
1144 (read): add code to deal with \begin_body and \end_body.
1147 2004-08-15 José Matos <jamatos@lyx.org>
1149 * lyxlex.C (getString): fix comment, buffer::readBody is now
1150 buffer:readDocument.
1152 * tex-strings.C (string_papersize): Default -> default,
1153 Custom -> custom, for consistency with other options.
1155 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1159 * Makefile.am: support pch
1161 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1163 * text.C (readParToken): remove the static LyXFont variable and
1164 pass it as a parameter instead. This fixes a nasty bug where an
1165 inset will be inserted with a bad font in some situations
1166 (readParagraph): adapt
1168 * text2.C (setCounter): reduce number of calls to pars_[pit]
1170 * text.C (singleWidth): add an assert, fix a test
1172 * rowpainter.C (paintText): reduce number of calls to singleWidth
1174 * paragraph.C (isHfill):
1175 (isNewline): ws only
1177 2004-08-14 André Pönitz <poenitz@gmx.net>
1182 * lyxtext.h (several functions): use a Paragraph & argument
1185 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1187 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1189 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1191 * text.C (singleWidth): remove useless test
1193 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * tabular.h: remove bogus comments
1197 * tabular.C (getDescentOfRow):
1198 (isPartOfMultiColumn): add assertions
1200 * lyxlength.C (inPixels): remove #warning
1202 2004-08-14 André Pönitz <poenitz@gmx.net>
1204 * paragraph.h: inline getChar()
1206 * BufferView.h: remove unused declarations
1208 2004-08-14 José Matos <jamatos@lyx.org>
1210 * Buffer.[Ch] (readDocument): new name for old readBody.
1211 * Buffer.C: new file format, new keywords: \begin_document,
1212 \begin_header, \begin_body, \end_body.
1214 * bufferparams.C (readToken): replace all calls to lex.nextToken
1215 by lex.next(). Do the same to eatLine except where really needed.
1217 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1218 line when writing to the lyx file.
1220 * output_plaintext.C (asciiParagraph): fix Bibliography style
1223 * text.C (read): fix end of file handling.
1225 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1227 * MenuBackend.C (Menu::operator[]): new method to access
1228 individual menu items
1229 (Menu::hasFunc): new method. search for an item that corresponds
1231 (MenuBackend::specialMenu): new method
1232 (MenuBackend::expand): if a special menu has been set, skip
1233 entries whose func() appears in this menu
1235 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1237 * text3.C: use Debug::DEBUG a bit more
1239 * text.C (leftMargin): try to simplify a tiny bit change var x to
1240 l_margin. Dont output the wide margins always.
1241 (rightMargin): no margin in inner texts
1243 * rowpainter.h (nestMargin): new func
1244 (changebarMargin): new func
1245 (rightMargin): new func
1247 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1251 * factory.C (createInset): modify setDrawFrame
1253 * cursor.C: use Debug::DEBUG a bit more
1255 2004-08-14 André Pönitz <poenitz@gmx.net>
1258 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1259 cache for all insets in (at least partially) visible (top-level)
1262 * BufferView_pimpl.C: reset external coord cache before every update.
1263 This means the coord cache only contains valid entries.
1265 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1268 * BufferView_pimpl.C (getInsetByCode): move function out of class
1269 and change in to a template in anon namespace. Also fix to do what
1272 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1275 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1277 (breakParagraph): rename par to par_offset and use a local
1278 reference. Add code to keep the language over a rebreak.
1279 (breakParagraphConservative): rename par to par_offset, use a
1281 (mergeParagraph): ditto
1283 (isFirstInSequence): ditto
1284 (outerFont): rename pit to par_offset
1286 * paragraph.C: ws change
1287 * paragraph.h: ditto
1291 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1296 * paragraph.C (simpleTeXOnePar): when we have a \item with
1297 optional argument, enclose the argument with curly brackets (in
1298 case it contains a closing square bracket)
1302 * text3.C (checkInsetHit): constify
1304 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1307 documents (bug 1629)
1309 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1311 Fix toggling of collapsable insets with the mouse (bug 1558)
1313 * lyxfunc.C (dispatch): adapt to LCursor changes
1315 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1316 make sure that dispatch is not invoked twice
1318 * cursor.C (needsUpdate): new method
1319 (dispatch): return void
1320 (result): new method, to access the DispatchResult of the cursor.
1322 2004-08-13 José Matos <jamatos@lyx.org>
1324 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1326 2004-08-13 André Pönitz <poenitz@gmx.net>
1328 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1330 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1333 2004-08-12 André Pönitz <poenitz@gmx.net>
1335 * text3.C: take out the 'cursor right' form insertInset and only
1336 do it in those places when it is really needed. Fixes crash on
1339 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1341 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1343 * BufferView_pimpl.C (setBuffer): initialize the current font of
1344 the underlying LyXText
1346 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1348 * kbsequence.C (print): use UI native formatting for menu
1351 * text.C (insertChar): call Paragraph::insertChar with a font
1354 * paragraph.C (insertInset, insertChar): the version that takes a
1355 LyXFont argument is now a wrapper around the other one (the
1356 opposite used to be true).
1358 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1359 argument. Font setting is done in Paragraph now.
1361 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1363 * outputparams.h: add new members intitle and lang.
1365 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1366 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1368 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1370 * text3.C (dispatch): remove special handling of button 4 and 5,
1371 it is now taken care of in the frontend code.
1373 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1375 * Spacing.h: add <string> (STLPort compile fix)
1377 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1379 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1381 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1383 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1386 * converter.C (showMessage): inherit from unary_function, make
1389 * buffer.C (writeFile): initialize retval
1391 * InsetList.h: rename private variable list to list_
1392 * InsetList.[Ch]: adjust accordingly.
1394 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1396 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1397 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1398 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1399 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1400 * ParagraphParameters.C, LaTeXFeatures.C: replace
1401 "support/std_sstream.h" with <sstream>
1403 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1405 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1406 * lyxsocket.C (LyXServerSocket): ditto
1407 (serverCallback): ditto
1409 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1411 * LaTeXFeatures.C: check release date when loading jurabib.
1413 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1415 * lyxserver.C (startPipe): call register_socket_callback
1416 (endPipe): call unregister_socket_callback
1418 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1420 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1421 (LyXServerSocket): register the callback
1422 (LyXServerSocket): unregister the callback
1423 (fd): delete function
1424 (serverCallback): improve error checking and setup the callbacks.
1425 (dataCallback): change arg to fd.
1426 (writeln): new func (copied fro the client socket) used for server
1428 (LyXDataSocket): simplify
1429 (~LyXDataSocket): close ann unregiser callback
1430 (server): delete function
1431 (fd): delete function
1432 (readln): small changes, improve some std::string usage
1433 (writeln): constify a bit
1435 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1437 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1440 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1443 after it has been populated
1445 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1447 * text2.C (insertInset): move cursor when inserting inset.
1449 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1451 * kbmap.C (findbindings): a couple of new methods. returns a
1452 container of kb_sequence objects. The real work is done by the
1453 private recursive version
1454 (printbindings): uses findbindings to print out a bracketed list
1455 of bindings (renamed from findbinding).
1457 * MenuBackend.C (binding): use kb_keymap::findbindings
1459 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1461 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1463 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1465 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1467 * paragraph.C (isWord): return true on insets that report
1470 * text.C (getWord): use Paragraph::isWord to decide what is in a
1471 word and what is not; fix bug 1609.
1473 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1475 * tex-strings.C: add "none" to string_paperpackages[], fixes
1476 off-by-one-error in the paperpackage selection.
1479 * tex-strings.[Ch]: char const * string[n]
1480 -> char const * const string[]
1482 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1484 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1485 command, return early.
1487 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1489 * debug.h: add DEBUG to enum and fix size of ANY.
1491 * debug.C: add support for Debug::DEBUG
1492 (showTags): cast errorTags.level to unsigned int
1494 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1495 (redoCurrentBuffer): ditto
1496 (updateScrollbar): ditto
1497 * cursor.C (dispatch): ditto
1498 * text2.C (setLayout): ditto
1500 (updateCounters): ditto
1502 (deleteEmptyParagraphMechanism): ditto
1504 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1506 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1507 annotations to cleanup the Makefile slightly.
1509 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * lyxrc.C: do not set user_email to a default value but use empty
1512 instead. The entry used to be translated, which does not work
1513 since at the point where lyxrc is constructed there is no
1514 translation service available
1516 * messages.C (getLocaleDir): remove and use directly
1517 lyx_localedir() instead
1519 2004-06-02 Angus Leeming <leeming@lyx.org>
1521 Fix crash caused by dereferencing null pointer 'exportdata' in
1522 OutputParams by creating a new ExportData variable on the heap,
1523 storing it in a boost::shared_ptr.
1524 The crash was triggered when generating an Instant Preview
1525 of an external inset.
1527 * Makefile.am: add outputparams.C
1529 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1530 (c-tor): allocate memory to it.
1532 * exporter.C (c-tor): associated changes.
1534 2004-06-01 Angus Leeming <leeming@lyx.org>
1536 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1537 contains data before calling isInset(0). (Bug 1513.)
1539 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1541 * exporter.C (checkOverwrite): new method
1542 * exporter.C (copyFile): new method
1543 * exporter.C (Export): copy referenced files to the document dir
1544 * exporter.[Ch]: new class ExportedFile
1545 * exporter.[Ch]: new class ExportData. Contains currently the
1546 names of referenced external files
1547 * outputparams.h: add exportdata member.
1549 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1551 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1554 2004-05-19 Angus Leeming <leeming@lyx.org>
1559 * lyxfunc.C: small changes due to the introduction of namespace
1560 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1562 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1564 * text3.C (dispatch): supress update when only moving the cursor
1565 * cursor.C (selHandle): remove commented code
1567 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1569 * paragraph.C (startTeXParParams): correct column count
1570 * CutAndPaste.C (pasteSelection): remove const_cast
1571 * output_docbook.C (docbookParagraphs): remove const_cast
1572 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1573 const_cast and return ParagraphList::const_iterator
1574 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1575 * output_plaintext.C (writeFileAscii): remove const_cast
1576 * paragraph.[Ch] (simpleTeXOnePar): make const
1577 * paragraph_funcs.C (outerPar): use const iterators
1578 * paragraph_pimpl.C (validate): use const iterators
1579 * text.C (setHeightOfRow): use const iterators
1581 2004-05-17 Angus Leeming <leeming@lyx.org>
1584 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1586 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1587 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1588 if the citation engine has changed.
1590 2004-05-14 José Matos <jamatos@lyx.org>
1592 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1593 if the textclass does not provide it. Have it different for sgml and
1595 support the language of document.
1596 * output_docbook.C (docbookParagraphs):
1597 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1598 first anchor as the id of the paragraph, remove special case code.
1599 * sgml.C (escapeChar): escape only < & >.
1601 2004-05-14 Angus Leeming <leeming@lyx.org>
1603 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1604 dependencies on src/frontends/controllers/biblio.h. Define a
1605 CiteEngine_enum wrapper class to enable the enum to be forward
1608 2004-05-12 Angus Leeming <leeming@lyx.org>
1610 * buffer.C: up LYX_FORMAT to 234.
1611 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1612 use_numerical_citations with a single biblio::CiteEngine cite_engine
1614 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1616 2004-05-13 José Matos <jamatos@lyx.org>
1619 * converter.C (Converter, readFlags): add xml member.
1620 * outputparams.h: add XML flavor.
1621 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1623 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1625 * lyxfunc.C (dispatch):
1626 (getStatus): fix handling of LFUN_SEQUENCE
1628 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1630 * debug.C (showLevel): do not forget the end-of-line marker
1632 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1634 * kbmap.C (read): do not stop parsing a bind file when an error
1637 2004-04-29 Angus Leeming <leeming@lyx.org>
1642 * text2.C: wrap a bunch of #warning statements
1643 inside #ifdef WITH_WARNINGS blocks.
1645 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1647 * buffer.C: increment format to 233.
1649 2004-04-28 Angus Leeming <leeming@lyx.org>
1651 * BufferView_pimpl.C:
1654 s/updateToolbar()/updateToolbars()/
1655 s/Toolbar.h/Toolbars.h/
1657 2004-04-28 Angus Leeming <leeming@lyx.org>
1659 * BufferView.[Ch] (c-tor):
1660 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1661 No longer passes these data to the WorkArea generator.
1663 2004-04-28 Angus Leeming <leeming@lyx.org>
1665 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1667 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1669 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1671 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1673 * output_latex.C (TeXEnvironment): make sure that there is a line
1674 break before \end{foo} for the last paragraph of a document
1675 (TeXOnePar): if the paragraph is at the end of the document (or
1676 inset) and the language has to be reset, then make sure that the
1677 line break is _before_ the language command, not after (fixes bug
1678 1225); also make sure that the language reset command is the first
1679 thing after the paragraph (to ensure proper nesting of
1680 environments and thus fix bug 1404)
1682 2004-04-21 John Levon <levon@movementarian.org>
1685 * ToolbarBackend.C: make "name" be a programmatic name
1686 and a gui_name field.
1688 * lyxfunc.C: display the minibuffer on M-x
1690 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1692 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1695 2004-04-19 Angus Leeming <leeming@lyx.org>
1697 * BufferView_pimpl.C (setBuffer): changed preview interface.
1699 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1702 2004-04-19 John Levon <levon@movementarian.org>
1704 * BufferView_pimpl.C:
1705 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1707 2004-04-05 Angus Leeming <leeming@lyx.org>
1709 * text.C (redoParagraphs): add call to updateCounters(), thereby
1710 fixing the missing "Figure #:" label from the caption of a
1713 2004-04-13 Angus Leeming <leeming@lyx.org>
1715 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1716 cursor is clicked out of an inset.
1718 2004-04-13 Angus Leeming <leeming@lyx.org>
1720 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1721 than an InsetOld one.
1723 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1725 * format.[Ch]: add editor to Format
1726 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1727 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1729 2004-04-08 André Pönitz <poenitz@gmx.net>
1731 * metricsinfo.h: remove PainterInfo::width member
1733 2004-04-08 Angus Leeming <leeming@lyx.org>
1735 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1736 "\providecommand" rather than "\newcommand", thereby preventing
1737 clashes with packages that define "\boldsymbol" themselves.
1740 2004-04-08 Angus Leeming <leeming@lyx.org>
1742 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1743 thereby squashing an unnecessary warning.
1745 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1747 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1750 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1752 * BufferView.C (setCursor): call redoParagraph (some insets could
1754 (putSelectionAt): remove the 'double update' trick
1756 * BufferView_pimpl.C (fitCursor): call refreshPar
1757 (workAreaDispatch): remove an uneeded update call
1758 (dispatch): remove some manual update calls
1760 * cursor.[Ch]: remove cached_y_, updatePos
1761 (selHandle): set noUpdate when appropriate
1763 * lyxfunc.C (dispatch): track if we need an update
1765 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1767 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1768 (paintSelection): cheap optimization, do not call cursorX when not
1770 (paintPars): change signature
1773 (paintTextInset): adjust
1777 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1779 * lengthcommon.C: compilation fix: remove explicit array size from
1780 unit_name[] and friends
1782 2004-04-05 Angus Leeming <leeming@lyx.org>
1784 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1786 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1787 present only for the preferences dialog.
1788 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1790 2004-04-05 Angus Leeming <leeming@lyx.org>
1792 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1793 to enable the frontends to export changes to lyxrc correctly.
1795 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1797 2004-04-07 André Pönitz <poenitz@gmx.net>
1799 * cursor.[Ch] (selClear, adjust): remove math
1801 * cursor_slice.C: more agressive assert
1804 * BufferView_pimpl.C: rework mouse event dispatch
1811 2004-04-05 André Pönitz <poenitz@gmx.net>
1813 * cursor.[Ch] (valign, halign...): remove unneeded functions
1815 2004-04-05 Angus Leeming <leeming@lyx.org>
1817 * lyxlength.[Ch] (unit_name et al.): const-correct.
1819 2004-04-05 Angus Leeming <leeming@lyx.org>
1821 * BufferView_pimpl.C:
1830 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1832 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1834 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1836 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1838 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1839 * BufferView_pimpl.[Ch] (getStatus)
1840 * BufferView.[Ch] (getStatus): add
1841 * lyxfunc.C (getStatus): move lfuns handled in
1842 BufferView::dispatch to te function above
1843 * Cursor.C (setSelection): set selection() = true
1845 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1847 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1849 2004-03-31 Angus Leeming <leeming@lyx.org>
1851 * lyxfunc.C (dispatch): Fall through to the generic
1852 Dialogs::show("preamble").
1854 2004-03-31 Angus Leeming <leeming@lyx.org>
1856 * lyxfunc.C (dispatch): Fall through to the generic
1857 Dialogs::show("spellchecker").
1859 2004-03-31 Angus Leeming <leeming@lyx.org>
1861 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1864 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1869 * insetiterator.[Ch]:
1874 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1876 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1878 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1879 insets where we are putting the cursor.
1881 2004-03-31 Angus Leeming <leeming@lyx.org>
1884 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1886 * lyxrc.[Ch] (read, write): overloaded member functions taking
1887 a std::[io]stream arguments.
1889 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1891 2004-03-31 Angus Leeming <leeming@lyx.org>
1893 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1894 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1896 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1897 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1899 2004-03-31 Angus Leeming <leeming@lyx.org>
1901 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1902 the LFUN_ALL_INSETS_TOGGLE code.
1904 2004-03-30 Angus Leeming <leeming@lyx.org>
1906 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1907 has died. Fall through to the generic Dialogs::show("document").
1909 2004-03-30 Angus Leeming <leeming@lyx.org>
1912 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1913 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1915 * lyxfunc.C (getStatus, dispatch): define the actions for these
1916 lfuns. Little more than a cut and pste job from ControlDocument.C
1918 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1920 2004-03-30 Angus Leeming <leeming@lyx.org>
1923 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1924 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1926 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1927 open/closed state of ollapsable insets. Usage:
1929 all-inset-toggle <state> <name>, where
1930 <state> == "open" || "closed" || "toggle" and
1931 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1933 * lyxtext.h, text2.C (toggleInset): removed.
1935 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1936 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1937 now passes LFUN_INSET_TOGGLE to the found inset.
1939 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1940 is now invoked as "all-insets-toggle toggle branch".
1942 2004-03-30 Angus Leeming <leeming@lyx.org>
1946 * pariterator.[Ch]: added/corrected header blurb.
1948 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1950 * dociterator.[Ch]: add an inset_ member
1951 (backwardPos): implemented
1952 (backwardPos, forwardPos): use inset_ when the stack is empty.
1953 (doc_iterator_begin, doc_iterator_end): implemented
1954 * pariterator.[Ch]: adjust, add begin, end
1955 * insetiterator.[Ch]: adjust, add begin, end
1959 * BufferView_pimpl.C:
1960 * CutAndPaste.C: adjust
1962 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1964 * buffer.C: increment file format to 232.
1965 * LaTeXFeatures.C: add bibtopic package.
1966 * bufferparams.[Ch]: param \use_bibtopic.
1968 * lyxrc.[Ch]: add lyxrc bibtex_command
1969 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1971 * buffer.C: increment file format to 231.
1973 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1975 * dociterator.C: implement forwardPar
1976 * iterators.[Ch]: remove, replaced by
1977 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1979 * BufferView_pimpl.C:
1982 * bufferview_funcs.C:
1988 * Makefile.am: adjust
1990 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1992 * CutAndPaste.C (pasteSelection): fix 2 crashes
1993 (eraseSelection): fix a crash
1994 * paragraph_funcs.C: remove a warning
1996 2004-03-28 Angus Leeming <leeming@lyx.org>
1999 * LyXAction.C (init): new LFUN_PRINT.
2001 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2003 2004-03-27 Angus Leeming <leeming@lyx.org>
2006 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2008 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2010 2004-03-27 Angus Leeming <leeming@lyx.org>
2012 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2013 insetlist always contains non-null pointers to insets.
2015 2004-03-26 Angus Leeming <leeming@lyx.org>
2017 * src/BufferView_pimpl.C:
2018 * src/CutAndPaste.C:
2021 * src/output_plaintext.C:
2022 * src/outputparams.h:
2023 * src/paragraph_funcs.C:
2027 * src/frontends/controllers/ControlErrorList.C:
2028 * src/frontends/gtk/FileDialogPrivate.C:
2029 * src/frontends/gtk/GPainter.C:
2030 * src/frontends/gtk/GToolbar.C:
2031 * src/frontends/qt2/QRef.C:
2032 * src/mathed/math_scriptinset.C: squash compiler warnings.
2034 2004-03-26 Angus Leeming <leeming@lyx.org>
2036 * ispell.C (LaunchIspell::start):
2037 * lyx_cb.C (AutoSaveBuffer::start):
2038 invoke run(DontWait) rather than runNonBlocking().
2040 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2042 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2044 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2046 * kbsequence.C (print): adjust
2048 * kbmap.C (printKeySym): rename and change signature
2049 (printKey): use LyXKeySym::print()
2051 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2053 * undo.C: add using std::advance to compile for stlport
2055 2004-03-24 Angus Leeming <leeming@lyx.org>
2057 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2058 it leads to a crash when no buffer is present.
2060 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2061 Martin Vermeer <martin.vermeer@hut.fi>
2063 * lyxfunc.C (dispatch):
2064 * bufferparams.C (readToken): use the new LColor::setColor
2066 * LColor.[Ch] (setColor): new version that takes two strings as
2067 argument and creates a new color entry if necessary
2069 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2071 * buffer.C (makeLaTeXFile): if the main latex file that is
2072 processed is usually a subdocument of some master, then pretend
2073 for a while that it is actually the master
2075 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2077 * buffer.C (getLabelList):
2078 (getBibkeyList): use getMasterBuffer()
2079 (getMasterBuffer): new method. Returns the main document in the
2080 case where one is using included documents.
2082 2004-03-25 André Pönitz <poenitz@gmx.net>
2086 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2088 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2090 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2091 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2093 * ParameterStruct.h: merge with ParagraphParameters
2095 * lyxtext.h: remove LyXText::parOffset() and getPar()
2097 * text3.C: Remove all 'manual' update calls. We do now one per user
2098 interaction which is completely sufficient.
2102 * BufferView_pimpl.C:
2103 * FontIterator.[Ch]:
2105 * ParagraphParameters.[Ch]:
2110 * cursor_slice.[Ch]:
2117 * output_docbook.[Ch]:
2118 * output_latex.[Ch]:
2119 * output_linuxdoc.[Ch]:
2120 * output_plaintext.[Ch]:
2122 * paragraph_funcs.[Ch]:
2123 * paragraph_pimpl.[Ch]:
2131 * frontends/controllers/ControlDocument.C:
2132 * frontends/controllers/ControlErrorList.C:
2133 * frontends/controllers/ControlSpellchecker.C:
2136 * insets/insetbase.h:
2137 * insets/insetbibitem.C:
2138 * insets/insetbox.C:
2139 * insets/insetbranch.C:
2140 * insets/insetcaption.C:
2141 * insets/insetcharstyle.C:
2142 * insets/insetcharstyle.h:
2143 * insets/insetcollapsable.C:
2144 * insets/insetcollapsable.h:
2145 * insets/insetert.C:
2146 * insets/insetfloat.C:
2147 * insets/insetfoot.C:
2148 * insets/insetmarginal.C:
2149 * insets/insetnote.C:
2150 * insets/insetoptarg.C:
2151 * insets/insettabular.C:
2152 * insets/insettext.C:
2153 * insets/insettext.h:
2154 * insets/insetwrap.C:
2155 * mathed/math_mboxinset.C:
2156 * mathed/math_nestinset.C:
2157 * mathed/math_scriptinset.C:
2158 * mathed/math_scriptinset.h:
2161 2004-03-24 Angus Leeming <leeming@lyx.org>
2163 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2164 deal with any child processes that have finished but are waiting to
2165 communicate this fact to the rest of LyX.
2167 2004-03-24 Angus Leeming <leeming@lyx.org>
2169 64-bit compile fixes.
2171 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2172 (c-tor): pass lyx::pos_types rather than ints.
2174 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2177 * text.C (Delete): compile fix.
2178 (getPar): ensure that function declaration is the same as that in
2181 2004-03-23 Angus Leeming <leeming@lyx.org>
2183 * ispell.C (LaunchIspell):
2184 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2185 a boost::shred_ptr rather than a std::auto_ptr.
2187 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2189 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2190 handle LFUN_FILE_INSERT_*
2192 * lyxrc.C (setDefaults, getDescription, output, read):
2193 * lyxrc.h: remove ps_command
2195 2004-03-22 Angus Leeming <leeming@lyx.org>
2197 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2198 Ensure that error_handler is processed once only and that all data
2199 is saved before attempting to output any warning messages.
2201 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2203 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2205 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2207 2004-03-19 André Pönitz <poenitz@gmx.net>
2209 * cursor.[Ch] (reset): take main text inset as argument
2211 * BufferView: adjust
2212 * BufferView_pimpl.C: adjust
2214 * paragraph.[Ch]: fix completely broken operator=()
2216 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2218 * LColor.C (getFromLyXName): make sure that the color name is used
2221 2004-03-17 Angus Leeming <leeming@lyx.org>
2224 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2226 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2227 dialog and to kill a forked process.
2229 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2231 * text2.C (setCursorFromCoordinates): fix font problem
2233 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2235 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2236 bogus "rebuild cursor" code
2238 2004-03-11 André Pönitz <poenitz@gmx.net>
2240 * buffer.[Ch]: use InsetText instead of LyXText as container for
2243 * dociterator.[Ch]: drop the BufferView * member which is not needed
2244 anymore after the change to buffer.C
2246 * paragraph_funcs.C:
2250 * BufferView_pimpl.[Ch]:
2252 * cursor_slice.[Ch]: adjust
2254 * text3.C: fix bug in mathDispatch
2256 2004-03-08 André Pönitz <poenitz@gmx.net>
2258 * undo.[Ch]: use 'StableDocumentIterator' as base for
2261 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2264 * bufferparams.[Ch]: add jurabib support and param.
2266 * LaTeX.C: add FIXME/comment.
2268 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2270 * buffer.C: increment file format to 230.
2272 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2274 * cursor.C (dispatch): avoid infinite loops
2276 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2278 * rowpainter.C (paintSelection): fix x coordinates
2280 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2282 * text.C (rowBreakPoint): fix breaking before displayed insets
2284 2004-03-01 André Pönitz <poenitz@gmx.net>
2286 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2288 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2292 * BufferView_pimpl.C:
2300 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2306 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2307 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2309 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2311 * Bidi.[Ch] (computeTables): const correctness
2312 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2313 fill_hfill, fill_label_hfill and x from Row
2314 * lyxtext.h: prepareToPrint returns a RowMetrics
2315 * rowPainter.C: adjust
2316 * text.C (prepareToPrint): use width, not textWidth. adjust
2317 (redoParagraphInternal, cursorX): adjust
2318 * text2.C (getColumnNearX): adjust
2319 (init): put a default value to the top LyXText::width
2321 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2323 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2325 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2327 * lyxtext.h: add FontIterator class
2329 * text.C (FontIterator, operator*, operator->, operator++): add
2330 (rowBreakPoint, setRowWidth): adjust (fixing a
2333 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2335 * BufferView_pimpl.C (workAreaDispatch): allow also
2336 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2338 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2340 * text.C (rowBreakPoint): fix a bug showing with very large insets
2342 2004-02-25 André Pönitz <poenitz@gmx.net>
2345 * cursor.[Ch]: move some mathed specific code to mathed
2347 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2349 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2350 use_tempdir in preferences
2351 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2353 * lyx_main.C: ensure that tempdir is valid
2354 * lyxlex.h: correct typo
2355 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2356 * paragraph.[Ch] (isMultiLingual): make const
2357 * cursor.[Ch] (openable): make const
2359 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2361 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2363 2004-02-20 André Pönitz <poenitz@gmx.net>
2365 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2367 * cursor.[Ch]: prepare for localized getStatus()
2373 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2375 2004-02-20 André Pönitz <poenitz@gmx.net>
2377 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2379 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2381 * text2.C (setCursorFromCoordinates): switch to absolute coords
2383 (cursorDown): adjust
2384 * text3.C (dispatch): adjust
2386 2004-02-16 André Pönitz <poenitz@gmx.net>
2388 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2391 * cursor_slice.[Ch]: remove unneeded acessor function
2393 * lyxtext.h: rename rtl() to isRTL()
2401 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2403 * rowpainter.C (paintSelection): coord fix
2405 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2407 * Spacing.C: compile fix
2409 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2411 * cursor.C (dispatch): restore current_ before returning
2413 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2415 * text2.C (cursorUp, cursorDown): fix coords
2418 2004-02-12 André Pönitz <poenitz@gmx.net>
2423 * text3.C: add LCursor & parameter to most cursor movement functions
2424 remove usage of LyXText::cursorRow() and cursorPar()
2426 * cursor.[Ch]: add textRow() needed members
2429 * BufferView_pimpl.C:
2432 * BufferView_pimpl.C: adjust
2434 2004-02-11 André Pönitz <poenitz@gmx.net>
2438 * BufferView_pimpl.C: shift undo/redo handling
2440 * cursor.[Ch]: fix mathed crash
2443 * lyxtext.h: move selectionAsText to LCursor
2451 * rowpainter.C: fix excessive drawing
2453 2004-02-06 André Pönitz <poenitz@gmx.net>
2456 * BufferView_pimpl.[Ch]:
2457 * text3.C: move some text specific LFUN handling
2459 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2461 * text3.C (checkInsetHit): adjust coords
2462 * text2.C (getColumnNearX): adjust coords
2463 (edit): adjust coords
2464 * text.C (getRowNearY): add two asserts
2466 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2469 * format.C: add using std::distance to compile on gcc 2.95/stlport
2471 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2473 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2475 2004-02-04 André Pönitz <poenitz@gmx.net>
2477 * BufferView.[Ch] (insertInset):
2478 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2483 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2485 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2486 on the default clause of the switch
2487 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2488 wasn't catched by LCursor::dispatch
2490 2004-02-03 André Pönitz <poenitz@gmx.net>
2493 * cursor.[Ch]: some additional asserts
2495 * undo.[Ch]: remove LyXText dependency in interface
2499 * lyxtext.h (firstPar, lastPar): remove dead functions
2504 * paragraph.[Ch]: adjust
2506 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2508 * lyxfind.C (find): fix argument order in call to ::find
2510 2004-02-02 André Pönitz <poenitz@gmx.net>
2512 * cursor.[Ch]: remove direct access to anchor
2514 * text.C: remove findText() hack
2516 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2518 * iterators.[Ch] (lockPath): remove in favour of...
2519 * BufferView.[Ch] (setCursor): this addition
2520 * BufferView.C (putSelectionAt): adjust
2521 * undo.C (performUndoOrRedo): adjust
2522 * lyxfunc.C (dispatch): adjust
2524 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2526 * iterators.C (lockPath): add a missing slice
2527 * undo.C (performUndoOrRedo): remove redundant positioning code
2529 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2531 * vc-backend.C (scanMaster): ";" -> ';'
2533 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2535 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2536 std::binary_function
2538 * lyxtextclass.C (compare_name): rename to...
2539 (LayoutNamesEqual): ...this
2541 * lyxlex_pimpl.C (compare_tags): inherit from
2542 std::binary_function, put back into anon namespace
2544 * lyxfind.C (MatchString): inherig from std::binary_function
2545 (findChange): use empty() istead of !size()
2547 * format.C (FormatNamesEqual): new functor
2554 * converter.C (compare_Converter): rename to...
2555 (ConverterEqual): ...this, and fixup a bit.
2556 (getConverter): use it, and make function const
2557 (getNumber): use it, and make function const
2561 * bufferlist.C: add using boost::bind
2563 * MenuBackend.C (MenuNamesEqual): new functor
2564 (hasMenu): use it, and make function const
2565 (hasSubmenu): use nested bind to get rid of compare_memfun.
2567 2004-01-30 André Pönitz <poenitz@gmx.net>
2569 * BufferView_pimpl.C:
2572 * cursor_slice.[Ch]:
2575 * paragraph_funcs.C:
2576 * paragraph_funcs.h:
2580 * text3.C: move some of the edit(x,y) handling to the insets
2581 some coordinate changes.
2583 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2585 * text.C: add using statements for std::advance and std::distance
2587 * paragraph.C: add using statement for std::distance
2589 * lyxfind.C: add using statement for std::advance
2591 * cursor.C (region): remove std:: from swap
2592 (openable): use nucleus in stead of operator->
2594 * BufferView.C: add using statements for std::distance and std::swap
2596 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2598 * iterators.C: Remove the pimple, move the needed structures to
2599 the header file. Create accessor for the positions stack.
2600 (asPosIterator): remove function
2602 * PosIterator.C (PosIterator): move constructors to top of file
2603 (PosIterator): reimplement the constructor taking a ParIterator in
2605 (setFrom): new function
2606 (operator!=): inline it
2608 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2610 * lyxfind.C (replaceAll): use std::advance
2612 * iterators.h: inherit from std::iterator.
2614 * PosIterator.C (advance, distance): remove
2615 * PosIterator.h: interit from std::iterator.
2617 2004-01-26 André Pönitz <poenitz@gmx.net>
2620 * BufferView_pimpl.[Ch]:
2624 * bufferview_funcs.C:
2634 * output_linuxdoc.C:
2635 * output_plaintext.C:
2637 * paragraph_funcs.[Ch]:
2638 * paragraph_pimpl.[Ch]:
2644 * text3.C: more IU: dumps most of the rest of the mathcursor
2645 implementation into cursor.[Ch]; "globalize" a bit of it.
2647 2004-01-25 Angus Leeming <leeming@lyx.org>
2649 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2651 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2653 * LaTeXFeatures.h: add nice_ and nice() const
2654 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2656 2004-01-20 André Pönitz <poenitz@gmx.net>
2659 * BufferView_pimpl.C:
2661 * bufferview_funcs.C:
2663 * cursor_slice.[Ch]:
2674 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2675 LCursor and mathcursor parts to LCursor and InsetBase.
2677 2004-01-15 André Pönitz <poenitz@gmx.net>
2679 * cursor_slice.[Ch]: add a few covienience functions
2681 * funcrequest.[Ch]: remove BufferView * member
2683 * BufferView_pimpl.C:
2690 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2692 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2694 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2695 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2697 2004-01-13 André Pönitz <poenitz@gmx.net>
2700 * lyxtext.h: hide cursor and selection anchor behind accessor function
2703 * BufferView_pimpl.[Ch]:
2705 * bufferview_funcs.C:
2715 * cursor_slice.[Ch]: some integer type changes for inset unification
2717 * lyxcursor.[hC]: remove, it's CursorSlice now.
2720 * BufferView_pimpl.[Ch]:
2721 * bufferview_funcs.C:
2727 * textcursor.[Ch]: adjust
2729 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2731 * text2.C (undoSpan): add and use
2732 * text.C (breakParagraph): use undoSpan (fix bug 578)
2735 2004-01-08 Angus Leeming <leeming@lyx.org>
2737 * BufferView_pimpl.C (MenuInsertLyXFile):
2738 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2739 * lyxfunc.C (menuNew, open, doImport):
2740 FileFilterList change to the FileDialog open and save functions.
2742 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2744 * ShareContainer.h: make isEqual and isUnique adaptable
2746 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2748 2004-01-07 Angus Leeming <leeming@lyx.org>
2751 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2753 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2755 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2756 functions replacing find, replace and replaceAll.
2758 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2759 LFUN_WORDFIND(FORWARD|BACKWARD).
2761 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2763 * text.C (breakParagraph): remove an outdated #warning
2765 2004-01-07 André Pönitz <poenitz@gmx.net>
2767 * lyxfind.C: somewhat clearer logic
2769 * text.C: prevent crash in cursorX on unitialized row cache
2771 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2773 * lyxcursor.[Ch] (operator>): add
2774 * textcursor.C (selStart, selEnd): use std::min and std::max
2776 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2778 * Chktex.C: include boost/format.hpp
2780 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2782 * InsetList.C: replace functor MathcIt with adaptable functor
2784 (insetIterator): modify accordingly
2786 * BranchList.h: move the BranchNamesEqual functor here from...
2787 * BranchList.C: ... to here
2789 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2791 (add): replace a finding loop with std::find_if.
2793 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2795 * output_docbook.C: moving LatexParam functionality into
2798 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2800 * buffer.C: increment format to 229.
2802 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2805 * lyx_sty.[Ch]: remove minipageindent_def
2811 * text3.C: remove LFUN_INSET_MINIPAGE
2813 2003-12-28 Angus Leeming <leeming@lyx.org>
2815 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2817 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2819 * text2.C (setParagraph): fix off-by-one crash
2821 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2823 * output_docbook.C: header stuff for AGU
2825 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2827 * text2.C (redoCursor): remove
2830 * BufferView_pimpl.C: remove calls to redoCursor and
2831 setCursor(cursor.par(), cursor.pos()) all around
2833 2003-12-15 Angus Leeming <leeming@lyx.org>
2835 * buffer.C: up the format to 228.
2837 2003-12-15 André Pönitz <poenitz@gmx.net>
2839 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2844 * BufferView_pimpl.C:
2853 2003-12-15 Angus Leeming <leeming@lyx.org>
2855 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2856 than getFromGUIName to manipulate the color.
2858 2003-12-14 Angus Leeming <leeming@lyx.org>
2860 * BranchList.[Ch]: minimize the API.
2861 (Branch::getBranch, getColor): now return a 'const &'.
2862 (Branch::setSelected) now returns a bool set to true if the
2863 selection status changes.
2864 (BranchList::clear, size, getColor, setColor, setSelected,
2865 allBranches, allSelected, separator): removed.
2866 (BranchList::find): new functions, returning the Branch with
2868 (BranchList::add, remove): return a bool indicating that
2869 the operation was successful.
2871 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2872 new InsetBranch::isBranchSlected member function.
2874 * LColor.[Ch]: mimimize the API.
2875 (fill): renamed as addColor and made private.
2876 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2877 versions of these functions taking a string arg have been removed.
2879 * bufferparams.C (readToken):
2880 * lyxfunc.C (dispatch):
2881 * lyxrc.C (read): changes due to the altered BranchList and
2884 * factory.C (createInset, readInset): changes due to altered
2887 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2890 * lyxfunc.C: remove insetminipage. "minipage-insert"
2891 now produces a frameless minipage box inset.
2893 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2895 * textcursor.[Ch] (selStart,selEnd): add new methods
2896 remove selection::start, end, use LyXCursor::operator<
2897 * lyxcursor.[Ch] (operator<): add
2898 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2899 * BufferView.[Ch] (unsetXSel): add
2900 * text2.C (clearSelection): use unsetXSel,adjust
2903 * rowpainter.C: adjust
2904 * bufferview_funcs.C (put_selection_at): adjust
2906 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2908 * BufferView_pimpl.C: small coord. correction
2910 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2912 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2913 dragging over the splash screen.
2915 2003-12-11 Angus Leeming <leeming@lyx.org>
2917 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2918 as it is now handled in LyXText::dispatch.
2920 * text3.C (doInsertInset): remove a level of nesting.
2922 2003-12-11 Angus Leeming <leeming@lyx.org>
2924 * factory.C (createInset): changes due to the changed interface to
2925 InsetCommandMailer::string2params.
2927 2003-12-10 Angus Leeming <leeming@lyx.org>
2929 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2930 'dialog-show-new-inset <inset name>'
2932 2003-12-10 Angus Leeming <leeming@lyx.org>
2934 * buffer.C: up the format to 227.
2936 * factory.C: the box inset is now identified simply by 'Box'.
2938 2003-12-10 Angus Leeming <leeming@lyx.org>
2940 * buffer.C: up the format to 226.
2942 * factory.C: the note inset is now identified simply by 'Note'.
2944 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2946 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2947 when a pit is enough. Standarize a couple of loops.
2949 2003-12-05 Angus Leeming <leeming@lyx.org>
2951 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2952 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2953 data to the re-worked "log" dialog.
2955 2003-12-03 André Pönitz <poenitz@gmx.net>
2961 * paragraph_funcs.C:
2963 * text2.C: use Inset::getText instead of Inset::getParagraph
2965 2003-12-03 André Pönitz <poenitz@gmx.net>
2969 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2970 InsetText::read() as LyXText::read()
2972 2003-12-02 Angus Leeming <leeming@lyx.org>
2974 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2975 type. Add a comment in the implementation that the function uses
2976 the stream's bad() function rather than fail() as the std::streams
2979 2003-12-02 André Pönitz <poenitz@gmx.net>
2981 * lyxlex.[Ch]: make interface more similar to std::stream
2983 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2985 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2987 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2989 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2991 * vspace.[Ch]: remove VSpace::NONE
2993 2003-12-01 André Pönitz <poenitz@gmx.net>
2996 * lyxtext.h: move ParagraphList member to LyXText
2997 rename LyXText::ownerParagraphs to LyXText::paragraph
3000 * bufferview_funcs.C:
3010 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3012 * undo.C: fix cursor positioning
3014 2003-12-01 John Levon <levon@movementarian.org>
3016 * BufferView_pimpl.C: fix a crash on exit with
3019 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3021 * BranchList.C: fix setSelected() method.
3023 2003-11-28 André Pönitz <poenitz@gmx.net>
3025 * ParagraphParameters.[Ch]:
3026 * ParameterStruct.h: remove space above/below from Paragraph to
3029 * BufferView_pimpl.C:
3035 * paragraph_funcs.C:
3041 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3043 * factory.C: Syntax change for CharStyles
3045 2003-11-28 André Pönitz <poenitz@gmx.net>
3050 * buffer.[Ch]: move LyXText member
3052 2003-11-28 André Pönitz <poenitz@gmx.net>
3054 * BufferView.[Ch]: make LyXText * text a private member
3056 * BufferView_pimpl.C:
3067 * output_plaintext.C: cleanup
3069 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3072 * lyxtextclass.[Ch]: parametrize SGML document header
3074 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3077 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3080 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3082 * text2.C (setFont): rework using PosIterator (no more recursive)
3083 (setCharFont): no more needed
3084 (setLayout): no more selection cursors fiddling (done by redoCursor)
3085 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3086 destroy remaining ones)
3088 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3090 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3092 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3095 * text3.C: adjust + re-allow multi par depth changes
3096 * textcursor.C: simplify a bit
3098 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3104 * src/output_docbook.C:
3105 * src/output_latex.C:
3110 * src/text2.C: Introducing a number of tags parametrizing various
3111 XML formats that we may want to support
3113 2003-11-25 André Pönitz <poenitz@gmx.net>
3115 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3117 * lyxtext.h (leftMargin/rightMargin): simplify interface
3124 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3126 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3127 master file to any child files. Fixes bug 546.
3129 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3131 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3133 2003-11-24 André Pönitz <poenitz@gmx.net>
3135 * rowpainter.C: simplification
3137 * text2.C (updateCounters): remove call to redoParagraph on
3138 changed labels as this is far too expensive.
3140 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3142 * converter.C (convert): fix a crash: this function gets
3143 called with buffer == 0 from importer code.
3145 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3147 * text3.C (cursorPrevious): make sure that we do not compare
3148 iterators form different containers.
3151 * rowpainter.C (paintSelection): make sure that we do not compare
3152 iterators from different containers.
3154 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3155 iterators from different ParagraphList containers.
3158 * text2.C (LyXText): change order of initialization slightly
3159 (operator=): new function. copy all variables except cache_par_
3160 (moveUp): make sure that we do not compare iterators from
3161 different ParagraphList constainers.
3164 * text.C (firstPar): new function
3165 (lastPar): new function
3166 (endPar): new function
3168 * lyxtext.h: move things around and group public functions, public
3169 variables, private functions, private variables
3171 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3173 * factory.C: change call to InsetERT constructor to avoid
3174 additional invocation of method status
3175 * text2.C (toggleInset): remove redundant update() call
3176 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3177 instead of a Bufferview pointer
3179 2003-11-21 André Pönitz <poenitz@gmx.net>
3181 * rowpainter.C: simplification
3183 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3185 * text3.C (dispatch): make possible to extend a word/row selection
3188 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3190 * lyxtext.h: x0_,y0_ -> xo_,yo_
3191 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3192 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3193 * rowpainter.C (paintRows): paint full paragraphs
3195 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3197 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3200 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3202 * lyxtext.h: add x0_, y0_
3203 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3204 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3206 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3208 * text2.C (setCursorIntern): move the x_target update here *
3209 * text3.C: change some bv() to true/false in calls to
3210 cursorUp/Down/Right/Left
3211 * cursor.C: use helper function.
3213 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3215 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3216 * paragraph_funcs.[Ch]: correct comment
3217 * rowpainter.C: do not paint selections away from bv->cursor()
3218 Fix a long standing selection painting bug.
3219 * text3.C: generalize mouse-selection code to LyXTexts other that
3221 * textcursor.C: do not use y coords if we can use par offsets
3223 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3225 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3226 cursor position after e.g. inset insert)
3228 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3230 * lyxfind.C (replace): adjust to locking removal + some
3233 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3235 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3238 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3241 * output_docbook.C: XML sanitation: new layout
3242 parameters InnerTag and CommandDepth
3244 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3246 * BufferView_pimpl.C:
3248 * text3.C: Fix the insertion and modification of button-style
3251 2003-11-13 André Pönitz <poenitz@gmx.net>
3253 * InsetList.[Ch]: remove deleteLyXText
3255 * paragraph.[Ch]: cache beginOfBody position
3260 * text3.C: remove superfluous update() calls
3264 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3266 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3267 * BufferView.C (fitLockedInsetCursor): remove
3268 * cursor.[Ch] (getDim): add
3269 * text.C (getRowNearY): add faster version
3270 * text3.C: remove some update calls
3272 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3284 * text3.C: The Character Style /XML short element patch.
3286 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3289 * factory.C: Small step to solving 'unable to insert some insets'
3292 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3294 * cursor.[Ch] (updatePos): new function for updating the y
3295 position of the tip inset
3296 * bufferview_funcs.C (put_selection_at):
3297 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3299 2003-11-11 André Pönitz <poenitz@gmx.net>
3301 * text.C: remove big comment on invalid Paragraph pointers as it is
3304 2003-11-11 André Pönitz <poenitz@gmx.net>
3306 * text_funcs.[Ch]: merge with ...
3314 * Makefile.am: remove text_funcs.[Ch]
3316 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3318 * cursor.C (getPos): return absolute cached y coord
3320 * BufferView_pimpl.C (fitCursor): new simplistic code
3321 (workAreaDispatch): add a fitCursor call
3323 2003-11-10 André Pönitz <poenitz@gmx.net>
3326 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3328 2003-11-10 André Pönitz <poenitz@gmx.net>
3330 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3331 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3332 indicate that the cursor needs to leave an inset
3334 * lyxtext.h: remove inset locking
3336 * cursor.[Ch]: re-implement functionality provided by inset locking
3339 * BufferView_pimpl.[Ch]:
3341 * bufferview_funcs.[Ch]:
3353 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3355 * PosIterator.[Ch]: replace the stack with a vector, add inset
3357 * iterators.[C]: adjust
3359 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3361 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3363 * paragraph_funcs.C (readParToken): put the correct id in the
3364 error item, not the id of the top paragraph
3366 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3368 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3369 * bufferview_funcs.C (put_selection_at): use the above
3371 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3373 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3375 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3377 * output_linuxdoc.h:
3378 * output_plaintext.h:
3380 * output_docbook.h: add #include statements
3382 2003-11-05 José Matos <jamatos@lyx.org>
3384 * output_docbook.[Ch]:
3385 * output_latex.[Ch]:
3386 * output_linuxdoc.[Ch]:
3387 * output_plaintext.[Ch]: New files for output formats.
3388 * output.[Ch]: New file for helper functions.
3391 * paragraph_funcs.[Ch]: output functions moved to new files.
3393 * outputparams.h: rename of latexrunparams.h
3401 * paragraph_funcs.[Ch]:
3402 * paragraph_pimpl.[Ch]:
3403 * tabular.[Ch]: rename ascii to plaintext
3404 and LatexRunParams to OutputParams.
3406 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3408 * iterators.[Ch] (text): require bv argument
3409 * undo.C (recordUndo):
3410 * lyxfunc.C (dispatch):
3411 * bufferview_funcs.C (put_selection_at): adjust
3413 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3415 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3417 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3419 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3422 2003-11-04 André Pönitz <poenitz@gmx.net>
3424 * cursor.[Ch]: restructure
3427 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3429 * iterators.[Ch] (asCursor): remove
3431 * lfuns.h: remove LFUN_INSET_EDIT
3437 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3439 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3441 * lyxfind.[Ch]: complete overhaul
3442 * BufferView_pimpl.C:
3444 * paragraph.[Ch] (insert): add
3446 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3450 * text.C: remove dead spellcheck code
3452 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3454 * dispatchresult.h: add a val setter
3456 * cursor.C (dispatch): use a tempvar for data_[i]
3458 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3460 * PosIterator.[Ch]: compile fix
3462 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3464 * text.C (cursorPar): deactivate the cursor cache
3466 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3468 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3470 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3472 * text3.C (dispatch): adjust for new DisptchResult semantics.
3474 * lyxfunc.C (dispatch): handle update when return from
3475 Cursor::dispatch, adjust for new DispatchResult semantics.
3477 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3478 DispatchResult(true) mean to not update. Add class functions for
3479 setting dispatched and update, as well as reading.
3481 * cursor.C (dispatch): don't handle update here
3483 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3485 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3486 * trans_mgr.C: adjust
3488 * paragraph_funcs.C (readParToken): exception safety
3490 * lyxvc.h: store the vcs pointer in a scoped_ptr
3493 * lyxsocket.C (serverCallback): exception safety
3495 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3497 * ispell.C (clone): make it return a auto_ptr
3499 * factory.C (createInset): exception safety
3500 (readInset): exception safety
3502 * bufferlist.C (newBuffer): exception safety
3504 * Thesaurus.C (Thesaurus): use initialization for aik_
3506 * MenuBackend.C (expandToc): exception safety.
3508 2003-11-03 André Pönitz <poenitz@gmx.net>
3512 * bufferview_funcs.C: remove getInsetFromId()
3515 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3521 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3523 * PosIterator.C (distance, advance): new
3524 * bufferview_funcs.[Ch] (put_selection_at): new
3525 * iterators.[Ch] (lockPath): new
3527 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3529 * iterators.[Ch] (asPosIterator): added
3530 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3531 * PosIterator.[Ch]: added
3533 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3537 * cursor.C (dispatch):
3538 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3540 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3541 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3542 contructor, add a class function dispatched. Remove operator>=
3544 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * debug.C: only use the default constructor for debugstream
3549 * main.C (main): include debug.h and setup the lyxerr streambuf
3552 2003-10-31 José Matos <jamatos@lyx.org>
3554 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3556 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3557 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3558 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3559 * paragraph_pimpl.C (simpleTeXSpecialC):
3560 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3561 add LatexRunParams argument.
3563 * exporter.C (Export): change call accordingly.
3565 * latexrunparams.h: add new member to take care of the other backends.
3566 2003-10-30 José Matos <jamatos@lyx.org>
3568 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3569 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3570 factorise code for paragraph output.
3572 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3575 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * text3.C (dispatch):
3578 * lyxfunc.C (dispatch):
3579 * cursor.C (dispatch):
3580 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3582 * dispatchresult.h: make the dispatch_result_t ctor explicit
3584 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3587 * buffer.C: small refactoring of docbook stuff
3589 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3594 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3596 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3597 operator dispatch_result_t, and operators for == != and >=
3599 * cursor.C (dispatch): adjust for operator dispatch_result_t
3600 removal. comment out call to update
3602 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3604 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3615 * dispatchresult.h: new file, DispatchResult broken out of
3618 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3620 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3622 * text.C (rowBreakPoint): put a hack inside #if 0
3624 2003-10-28 André Pönitz <poenitz@gmx.net>
3628 * paragraph_funcs.C:
3631 * text2.C: general cleanup (lots of small stuff)
3633 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3635 * text2.C (cursorEnd): simple fix to the "end key goes to one
3636 before the end on last row" bug
3638 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3640 * text.C (backspace): fix the "zombie characters"
3642 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3644 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3646 2003-10-27 André Pönitz <poenitz@gmx.net>
3648 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3650 * factory.C: handle new InsetPagebreak, InsetLine
3652 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3653 and move handling into new InsetPagebreak, InsetLine
3655 * BufferView_pimpl.C:
3657 * ParagraphParameters.C:
3658 * ParameterStruct.h:
3663 * paragraph_funcs.C:
3664 * paragraph_pimpl.C:
3670 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3673 * lyxrow_funcs.[Ch]:
3679 * text3.C: remove lastPos uses in favour of Row::endpos
3681 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3683 * undo.C (performUndoOrRedo): fix two crashes by setting a
3684 cursor by hand and reordering some calls. Use bv->lockInset instead
3685 of inset->edit because the latter loses cursor information
3687 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3689 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3691 (rowBreakPoint): fix width. change point to point + 1.
3692 Add a missing check.
3694 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3697 * lyxfunc.C: fix (at least partly) the problems
3698 with the Nav menu and headers inside branch insets
3701 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3703 * paragraph.C (getChar): add strong asserts
3705 * lyxrow_funcs.C (lastPos): remove hideous hack
3707 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3708 (fill): adjust to that (avoid an infinite loop)
3710 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3712 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3714 2003-10-23 André Pönitz <poenitz@gmx.net>
3716 * RowList_fwd.h: change list<> to vector<> to gain speed
3717 after suggestion from Alfredo
3719 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3721 * lyxtext.h: move the bidi stuff from here...
3724 * Bidi.[Ch]: ... to here
3726 2003-10-23 André Pönitz <poenitz@gmx.net>
3729 * text.C (isLastRow, isFirstRow): new functions
3731 * paragraph.h: new width cache member
3733 * rowpainter.C: replace RowList::iterator with Row & where possible
3735 * lyxfunc.C: replace several view()->text with a single call
3737 * toc.C: fix 'unused' warning
3739 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3742 when woring with stream::pos_type
3743 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3745 2003-10-22 André Pönitz <poenitz@gmx.net>
3748 * text.C: use Row & instead of RowList::iterator
3750 * lyxrow.h: rename end() to endpos()
3756 2003-10-22 Angus Leeming <leeming@lyx.org>
3758 * buffer.[Ch] (fully_loaded): new member function, returning true
3759 only when the file has been loaded fully.
3760 Used to prevent the premature generation of previews and by the
3761 citation inset to prevent computation of the natbib-style label.
3763 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3764 templates are all set up.
3766 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3768 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3770 * text.C: fixed an "oops" in the "is a bit silly"
3773 2003-10-21 André Pönitz <poenitz@gmx.net>
3775 * FuncStatus.[Ch]: small stuff, whitespace
3777 * lyxfont.[Ch]: operator<<() for debug reasons
3781 * lyxtext.h: whitespace, spelling
3783 * paragraph.C: naming of variables
3786 * text2.C: small stuff
3789 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3791 * text.C: (1) finish off the inset display() work;
3792 (2) fix the "is a bit silly" bug (accessing char
3795 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3797 * text.C: re-introduce display() for insets, fixing the
3798 various bugs (stretch of line above, math inset
3801 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3803 * text.C (rightMargin): remove spurious semicolon
3805 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3808 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3810 * text3.C: fix one crash due to wrong cursor def
3812 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3814 * vc-backend.C (scanMaster): make the regex static
3816 * LaTeX.C (scanAuxFile): make the regexs static
3818 * text3.C (doInsertInset, dispatch, dispatch):
3819 * text2.C (cursorUp, cursorDown):
3820 * text.C (selectNextWordToSpellcheck):
3821 * BufferView_pimpl.C (dispatch):
3822 * lyxfunc.C (dispatch): localDispatch -> dispatch
3824 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3826 * lyxsocket.C: include <cerrno>
3828 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * lyxfunc.C (dispatch): remove textcache stuff
3832 * bufferlist.C (release): remove textcache stuff
3835 * TextCache.C: delete file
3836 * TextCache.h: delete file
3838 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3840 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3841 delete of the bv_->text.
3842 (resizeCurrentBuffer): remove texcache stuff
3843 (workAreaResize): ditto
3845 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3847 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3850 2003-10-16 André Pönitz <poenitz@gmx.net>
3857 * text3.C: speed up by storing y positions per paragraph plus per-row
3858 offset instead of having a 'full' y position in the row.
3860 2003-10-15 André Pönitz <poenitz@gmx.net>
3864 * undo.[Ch]: make undo aware of inner insets
3866 2003-10-14 Angus Leeming <leeming@lyx.org>
3868 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3869 static member functions LyX::ref() and LyX::cref.
3870 (lastfiles): new accessor functions for the new lastfiles_ member var.
3871 (addLyXView, views_): add a new LyXView to the list of views_.
3872 (updateInset): loop over all LyXViews to call their own updateInset
3873 member function, returning a pointer to the Buffer owning the inset.
3875 * BufferView_pimpl.C (loadLyXFile):
3876 * MenuBackend.C (expandLastfiles):
3877 * bufferlist.C (MenuWrite, QuitLyX):
3878 lastfiles is no longer a global variable.
3879 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3881 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3882 static function. Access through LyX::cref().emergencyCleanup().
3884 2003-10-14 André Pönitz <poenitz@gmx.net>
3886 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3888 * undo.[Ch]: restoring part of 'undo in insets'
3891 * undo_funcs.[Ch]: merge with undo.[Ch]
3893 * tabular.C: small cleansing stuff
3895 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3897 * paragraph_funcs.C (readParToken): report unknown insets as error
3898 boxes. Use the outer paragraph as location (also for unknown
3901 * factory.C (readInset): do not abort on reading an unknown inset.
3902 Eat it and return 0.
3904 2003-10-13 Angus Leeming <leeming@lyx.org>
3906 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3908 * lyxrc.C: displayTranslator is now a function,
3909 declared in GraphicsTypes.h.
3911 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3913 * format.C: new placeholder $$a to pass the socket address.
3915 * bufferlist.[Ch]: new function getBufferFromTmp.
3917 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3918 files in the temporary dir.
3920 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3922 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3924 * Makefile.am: add lyxsocket.[Ch].
3926 * lyx_main.C (error_handler): handle SIGPIPE.
3928 2003-10-13 André Pönitz <poenitz@gmx.net>
3930 * BufferView_pimpl.C:
3935 * undo_funcs.[Ch]: use paroffset_type instead of
3936 ParagraphList::iterators to prevent multiple conversion
3937 (and get a more robust interface)
3939 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3941 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3943 * text3.C (dispatch): ditto
3945 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3948 move the onlyfile, use onlyfile instead of foundfile in a couple
3951 * DepTable.C (update): flush the error stream a bit more
3953 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * lyxserver.C (callback): adjust
3957 * lyxfunc.C (getStatus): add a missing brace in commented code
3958 (ensureBufferClean): reindent
3959 (dispatch): delete version taking a string
3961 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3963 * LaTeX.C (deplog): move found file handlig from here...
3964 (handleFoundFile): .. to new function here.
3965 (deplog): make sure to discover several files mentioned on the
3968 2003-10-10 André Pönitz <poenitz@gmx.net>
3975 * text3.C: fix some of the tabular crashes
3977 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3979 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3981 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3983 2003-10-09 André Pönitz <poenitz@gmx.net>
3985 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3988 * BufferView_pimpl.C:
3989 * bufferview_funcs.C:
4000 * undo_funcs.C: adjust
4002 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4004 * text2.C (incrementItemDepth): new function, use a backtracking
4005 algorithm to discover the correct item depth.
4006 (resetEnumCounterIfNeeded): new function, use a backtracking
4007 algorithm to discover if counter reset is needed.
4008 (setCounter): use them. Simplify a bit. Add different labels for
4009 different item depths for itemize.
4011 * paragraph.C (Paragraph): remove initialization of enumdepth
4014 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4015 enumerate and itemize. Change the type of itemdepth to signed char.
4017 2003-10-08 André Pönitz <poenitz@gmx.net>
4019 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4024 * tabular.[Ch]: fix crash after 'row-insert'
4026 2003-10-08 Angus Leeming <leeming@lyx.org>
4028 Fix doxygen warnings.
4030 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4031 Remove CutAndPaste:: prefix from header file declaration.
4033 * LColor.h (fill): remove LColor:: prefix from declaration.
4035 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4036 use lyx::depth_type rather than Paragraph::depth_type so that
4037 header file and .C file match.
4039 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4041 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4042 * aspell.C: \file aspell_local.C -> \file aspell.C
4043 * gettext.C: \file gettext.C -> \file src/gettext.C
4044 * gettext.h: \file gettext.h -> \file src/gettext.h
4045 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4046 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4047 * text.C: \file text.C -> \file src/text.C
4049 * toc.C: move comment so that doxygen is not confused.
4051 2003-10-07 Angus Leeming <leeming@lyx.org>
4053 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4055 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4058 * aspell_local.h: add forgotten std::string's.
4060 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4067 * text3.C: The Box patch. Fancybox support, minipage, parbox
4069 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4075 * ParagraphParameters.h:
4085 * lyxtextclasslist.h:
4088 * paragraph_pimpl.C:
4089 * textcursor.h: add <string> and other small fixes to make Lars'
4090 std::string patch compile with STLport.
4092 2003-10-06 Angus Leeming <leeming@lyx.org>
4094 * LColor.h: Add missing #include <string>.
4096 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * All most all file in all subdirs: Make <string> be the prefered
4099 way of getting to std::string, add using declarations.
4101 2003-10-06 André Pönitz <poenitz@gmx.net>
4103 * metricsinfo.C: initialize LyXFont before changing attribute.
4104 (fixes the 'math in \emph is upright' bug)
4106 2003-10-06 André Pönitz <poenitz@gmx.net>
4108 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4110 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4113 * paragraph_pimpl.C: Small fixes to build using STLport
4115 2003-10-02 André Pönitz <poenitz@gmx.net>
4118 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4120 2003-10-01 André Pönitz <poenitz@gmx.net>
4122 * factory.C: assert early
4124 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * lyx_main.C: remove the global debug object
4128 * debug.h: adjust for new debugstream
4130 * debug.C: adjust for new debugstream and keep the global debug
4133 2003-09-22 Angus Leeming <leeming@lyx.org>
4135 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4136 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4137 an incomplete class LyXFont.
4139 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4141 * factory.C: bug fix in branches
4143 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4145 * lyxfunc.C (processKeySym): adjust
4147 (dispatch): change arg name from ev to func, adjust
4148 (sendDispatchMessage): ditto
4150 * lyx_main.C (defaultKeyBindings): adjust keybindings
4151 (deadKeyBindings): ditto
4153 * kbsequence.C (addkey): return a FuncRequest
4155 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4157 * kbmap.C (bind): take a FuncRequest as arg, adjust
4160 (defkey): change to take a FuncRequest as arg, adjust
4161 (findbinding): take a FuncRequest as arg, adjust.
4163 * funcrequest.h (operator=): added
4165 * funcrequest.C (FuncRequest): default kb_action changed from
4166 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4168 * buffer.C (dispatch): simplify
4169 (dispatch): adjust to take a FuncRequest as arg, adjust
4171 * boost.C (assertion_failed): change assertion message slightly
4173 * ToolbarBackend.C (read): simplify
4175 * MenuBackend.C (binding): adjust call to findbinding, add a
4176 message if no binding is found.
4178 (expandToc): correct by adding a empty FuncRequest
4180 * LyXAction.C: include <boost/assert.hpp>
4181 (isPseudoAction): delete function
4182 (LookupFunc): change name to...
4183 (lookupFunc): this. change return type to FuncRequest.
4184 (getActionName): take kb_action as arg, simplify
4185 (funcHasFlag): add an assert, simplify.
4187 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * toc.C (action): return a FuncRequest, simplify
4191 * lyxfunc.C (processKeySym): adjust
4192 (getStatus): delete version that takes an int.
4194 (dispatch): delete version that takes action as int
4196 (sendDispatchMessage): simplify and adjust
4198 * funcrequest.C (getArg): take unsigned int as arg
4200 * ToolbarBackend.C (read): adjust
4201 (add): delete version that takes func as a string.
4202 (getIton): take a FuncRequest as arg
4204 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4207 * MenuBackend.C (MenuItem): add a new construct that only takes a
4208 Kind, simplify the constructor use for submenus.
4210 (expandLastfiles): adjust
4211 (expandDocuments): adjust
4212 (expandFormats): adjust
4213 (expandFloatListInsert): adjust
4214 (expandFloatInsert): adjust
4215 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4217 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4218 Remove class variables lyx_pseudo_map and lyx_arg_map
4220 * LyXAction.C (searchActionArg): delete function
4221 (getPseudoAction): delete function
4222 (retrieveActionArg): delete function
4223 (LookupFunc): make it return kb_action, simplify.
4224 (getActionName): simplify
4226 * factory.C (createInset): fix new bug
4228 2003-09-19 Angus Leeming <leeming@lyx.org>
4230 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4231 masterFilename_ parameter in the include inset.
4233 * factory.C (createInset): changes due to the changes to InsetInclude.
4235 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4237 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4239 2003-09-18 Angus Leeming <leeming@lyx.org>
4242 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4243 Inset::fillWithBibKeys.
4244 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4246 2003-09-18 Angus Leeming <leeming@lyx.org>
4248 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4250 (ctor): pass and store a 'Buffer const &'
4251 (buffer): new member function.
4253 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4254 '*this' to the LaTeXFeatures ctor.
4256 2003-09-18 Angus Leeming <leeming@lyx.org>
4262 * text.C: rename EnumLColor as LColor_color.
4264 2003-09-18 Angus Leeming <leeming@lyx.org>
4266 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4267 remove #include "insets/insetbase.h" from cursor.h.
4269 2003-09-18 Angus Leeming <leeming@lyx.org>
4271 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4272 InsetOld_code to remove #include "inset.h".
4274 * iterators.C: add #include "insets/inset.h"
4276 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4278 * BufferView.C: remove more locking stuff that apparently doesn't
4279 do anything sensible.
4281 2003-09-16 André Pönitz <poenitz@gmx.net>
4284 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4287 2003-09-16 Angus Leeming <leeming@lyx.org>
4289 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4291 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4294 * paragraph.h: remove #include "lyxfont.h". Forward declare
4297 2003-09-16 Angus Leeming <leeming@lyx.org>
4299 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4300 of support/textutils.h.
4301 (isWord): move the contents of support/textutils.h's IsWordChar here.
4307 * text2.C: add #include "paragraph.h".
4310 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4312 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * LaTeX.C: use namespace alias for lyx::support::os
4320 2003-09-16 Angus Leeming <leeming@lyx.org>
4323 * bufferview_funcs.C:
4326 * paragraph_pimpl.C:
4328 * text.C: add #include "LColor.h".
4330 2003-09-16 Angus Leeming <leeming@lyx.org>
4332 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4333 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4335 Store the FontBits::color variable as an int rather than as an
4336 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4339 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4340 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4341 string calls together.
4343 * lyxrc.C: add #include "LColor.h".
4345 2003-09-15 Angus Leeming <leeming@lyx.org>
4347 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4350 2003-09-15 Angus Leeming <leeming@lyx.org>
4352 * LColor.h: add an EnumLColor wrapper for LColor::color.
4354 * lyxfont.[Ch] (color, setColor, realColor):
4355 * lyxtext.h, text.C (backgroundColor):
4356 pass EnumLColor args to/from the functions, rather than LColor::color
4360 * lyxtext.h: forward declare EnumLColor.
4362 * lyx_main.C: add #include "LColor.h".
4364 2003-09-15 Angus Leeming <leeming@lyx.org>
4366 * .cvsignore: add lyx-gtk.
4368 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4373 * ParagraphParameters.C
4377 * bufferview_funcs.C
4387 * vc-backend.C: remove usage of STRCONV
4389 2003-09-15 Angus Leeming <leeming@lyx.org>
4391 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4392 explicitly define the color passed to the painter.
4394 2003-09-15 Angus Leeming <leeming@lyx.org>
4396 * bufferparams.C (BufferParams): reorder member initializers to avoid
4399 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4401 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4402 * text.C (updateRowPositions): remove an unusual nop
4404 2003-09-12 André Pönitz <poenitz@gmx.net>
4406 * BufferView_pimpl.C:
4415 * Counters.[Ch]: finish the 'automatic counters' job
4417 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4419 * aspell.C: include <boost/assert.cpp> (compile fix)
4421 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4423 * boost.C (assertion_failed): use lyx::support::abort instead of
4426 2003-09-10 Angus Leeming <leeming@lyx.org>
4428 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4429 with their _fwd progeny.
4431 2003-09-09 Angus Leeming <leeming@lyx.org>
4433 134 files throughtout the source tree: replace 'using namespace abc;'
4434 directives with the appropriate 'using abc::xyz;' declarations.
4436 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4438 * boost.C (emergencyCleanup): moved here from LAssert.c
4439 (assertion_failed): new function, called by BOOST_ASSERT
4441 * several files: change Assert to BOOST_ASSERT
4443 2003-09-09 Angus Leeming <leeming@lyx.org>
4445 * buffer.[Ch]: Add an Impl class and move Buffer's member
4446 variables into it. As a result move several header files out of
4449 Add header files to lots of .C files all over the tree as a result.
4451 2003-09-09 Angus Leeming <leeming@lyx.org>
4453 * buffer.[Ch]: make Buffer's member variables private. Add
4456 Lots of changes all over the tree as a result.
4458 2003-09-08 Angus Leeming <leeming@lyx.org>
4460 * graph.C: #include <config.h>.
4462 2003-09-08 Angus Leeming <leeming@lyx.org>
4466 * BufferView_pimpl.C:
4495 * toc.C: remove redundant using directives.
4497 2003-09-07 Angus Leeming <leeming@lyx.org>
4499 * LaTeXFeatures.h: remove #include "support/types.h".
4500 * ToolbarBackend.h: remove #include <algorithm>.
4501 * changes.h: remove #include <ctime>.
4502 * debug.h: remove #include <iosfwd>.
4503 * graph.h: remove #include "support/std_string.h".
4504 * lyx_main.h: remove #include <csignal>.
4505 * lyxlex_pimpl.h: remove #include <fstream>.
4506 * sgml.h: remove #include <algorithm>, <utility>.
4507 * toc.h: remove #include "support/std_ostream.h".
4508 Add #include <iosfwd>.
4510 2003-09-07 Angus Leeming <leeming@lyx.org>
4512 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4514 * converter.h: forward declare LatexRunParams.
4515 * encoding.h: remove #include "lyxrc.h".
4516 * lyxtext.h: remove #include "LColor.h".
4517 * lyxtextclass.h: remove #include "support/types.h".
4518 * trans.h: remove #include "tex-accent.h".
4519 * trans_mgr.h: remove #include "tex-accent.h".
4520 * insets/inset.h: remove #include "support/types.h", <vector>.
4521 * insets/insetcollapsable.h: remove #include "LColor.h".
4522 * insets/insetinclude.h: remove #include "dimension.h".
4523 * insets/insetlatexaccent.h: remove #include "dimension.h".
4524 * insets/insetoptarg.h:: remove #include "insettext.h".
4525 * insets/insettext.h: remove #include "dimension.h",
4526 <boost/shared_ptr.hpp>
4528 * insets/renderers.h: add #include "dimension.h".
4529 * insets/updatableinset.h: add #include "support/types.h".
4531 * many .C files: Associated changes.
4533 2003-09-06 Angus Leeming <leeming@lyx.org>
4535 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4536 one, inside testInvariant.
4538 * PrinterParams.C: new file.
4539 * PrinterParams.[Ch]: move the function bodies out of line.
4541 2003-09-06 Angus Leeming <leeming@lyx.org>
4543 * ParagraphParameters.h: forward declare ParameterStruct rather than
4544 including its header file.
4545 (depth): moved out-of-line.
4547 2003-09-06 Angus Leeming <leeming@lyx.org>
4549 * BufferView_pimpl.h:
4552 * lyxfunc.h: forward declare LyXKeySym rather than
4553 #include "frontends/LyXKeySym.h".
4555 * BufferView_pimpl.C:
4558 * lyxfunc.C: associated changes.
4560 2003-09-06 Angus Leeming <leeming@lyx.org>
4562 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4563 As a result, can remove the #include "insets/inset.h" from BufferView.h
4565 2003-09-06 Angus Leeming <leeming@lyx.org>
4567 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4568 As a result, can remove the #include "insets/inset.h" from BufferView.h
4570 2003-09-06 Angus Leeming <leeming@lyx.org>
4576 * bufferview_funcs.C:
4577 * BufferView_pimpl.C:
4582 * ParagraphParameters.C:
4587 * frontends/controllers/ControlDocument.C:
4588 * insets/insetcaption.C: rearrange the #includes into some sort of
4591 * buffer.h: remove #includes ErrorList.h, undo.h
4593 2003-09-06 Angus Leeming <leeming@lyx.org>
4595 * support/types.h: add a 'depth_type' typedef, used to store the
4596 nesting depth of a paragraph.
4599 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4600 defining explicitly.
4603 * paragraph_funcs.h:
4604 * ParagraphParameters.h:
4605 * sgml.h: use lyx::depth_type rather than Paragraph or
4606 ParameterStruct's depth_type.
4609 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4612 * BufferView_pimpl.C:
4614 * ParagraphParameters.C:
4617 * bufferview_funcs.C:
4624 * frontends/LyXView.C:
4625 * frontends/controllers/ControlDocument.C:
4626 * frontends/controllers/ControlErrorList.C:
4627 * insets/insetbibitem.C:
4628 * insets/insetbranch.C:
4629 * insets/insetcaption.C:
4630 * insets/insetcollapsable.C:
4631 * insets/insetenv.C:
4632 * insets/insetert.C:
4633 * insets/insetfloat.C:
4634 * insets/insetfoot.C:
4635 * insets/insetfootlike.C:
4636 * insets/insetnewline.C:
4637 * insets/insetquotes.C:
4638 * insets/insettabular.C:
4639 * insets/insettext.C:
4640 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4642 * frontends/controllers/ControlChanges.C: #include "changes.h".
4644 2003-09-06 Angus Leeming <leeming@lyx.org>
4646 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4647 than #including paragraph.h.
4650 * RowList.h: deleted. Superfluous.
4660 * insets/insettext.h: use ParagraphList_fwd.h rather than
4663 * paragraph.h: don't forward declare ParagraphList.
4666 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4667 rather than ParagraphList.h. paragraph.h is still needed for the
4668 Paragraph::depth_type parameters.
4670 * textcursor.h: enable it to compile stand-alone in light of the
4673 * bufferview_funcs.C:
4685 * frontends/controllers/ControlParagraph.C:
4686 * frontends/controllers/ControlTabular.C:
4687 * insets/insetmarginal.C:
4688 * insets/insetminipage.C:
4689 * insets/insetnote.C:
4690 * insets/insetoptarg.C: add header files needed to compile again.
4692 2003-09-06 Angus Leeming <leeming@lyx.org>
4694 * RowList_fwd.h: new file, forward-declaring Row rather than
4695 #including lyxrow.h.
4700 * insets/insettext.h: use it instead of RowList.h
4702 * bufferview_funcs.C:
4709 * text3.C: #include "RowList.h".
4711 2003-09-05 Angus Leeming <leeming@lyx.org>
4713 * factory.C (createInset):
4714 * vspace.C (c-tor): replace sscanf call with an istringstream.
4715 * ispell.C: re-add missing HP/UX headers.
4716 * lyxserver.C: re-add missing os2 headers.
4718 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4727 * text3.C: re-add missing system headers, needed for 2.95.2.
4729 2003-09-05 Angus Leeming <leeming@lyx.org>
4731 Changes most place everywhere due to the removal of using directives
4732 from support/std_sstream.h.
4734 2003-09-05 Angus Leeming <leeming@lyx.org>
4736 Replace LString.h with support/std_string.h,
4737 Lsstream.h with support/std_sstream.h,
4738 support/LIstream.h with support/std_istream.h,
4739 support/LOstream.h with support/std_ostream.h.
4741 Changes resulting throughout the tree.
4743 2003-09-05 Angus Leeming <leeming@lyx.org>
4745 * sgml.h: ensure that the header file can be compiled stand-alone.
4746 * *.C: strip out redundant #includes. (320 in total.)
4748 2003-09-04 Angus Leeming <leeming@lyx.org>
4750 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4751 here (from getPackages).
4753 * debug.[Ch]: add a new EXTERNAL tag.
4755 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4757 * text2.C (cursorEnd): simplify
4759 (getColumnNearX): adjust
4761 * text.C (computeBidiTables): adjust
4764 * rowpainter.C (paintChars): adjust
4765 (paintSelection): adjust
4766 (paintChangeBar): adjust
4769 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4771 (numberOfSeparators): adjust
4773 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4779 * text3.C: Restricts the mouse click functionality
4780 of insets like bibtex, include, toc and floatlist to the visible
4781 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4782 up the dialogs. Cursor has to be in front of the inset (i.e.
4783 start of row) for this to function.
4785 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4787 * bufferview_funcs.C (currentState): output row information
4789 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4791 * bufferview_funcs.C (currentState): output paragraph position
4793 2003-09-04 Angus Leeming <leeming@lyx.org>
4795 * FloatList.h: move out #include "Floating.h".
4796 * LaTeX.h: move out #include "DepTable.h".
4797 * LyXAction.h: move out #include "funcrequest.h".
4798 * buffer.h: move out #include "author.h", "iterators.h".
4799 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4800 * lyx_main.h: move out #include "errorlist.h".
4801 * lyxfunc.h: move out #include "FuncStatus.h".
4802 * lyxtext: move out #include "lyxcursor.h".
4803 * paragraph_pimpl.h: move out #include "counters.h".
4805 2003-09-03 Angus Leeming <leeming@lyx.org>
4807 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4808 preamble_snippets list, enabling us to add snippets to the preamble
4809 only if the snippet was not there already.
4811 2003-09-04 Angus Leeming <leeming@lyx.org>
4813 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4815 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4817 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4820 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4822 * BranchList.C: point fix, earlier forgotten
4824 2003-09-02 Angus Leeming <leeming@lyx.org>
4826 * box.C (contains): renamed from 'contained' after a fantastic
4829 2003-09-02 John Levon <levon@movementarian.org>
4835 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4837 2003-09-02 John Levon <levon@movementarian.org>
4839 * text2.C: simplification of cursorEnd(), including partial
4842 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * buffer.C (readFile): add a space
4846 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4848 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4850 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * buffer.C (readFile): new function, take a filename and a
4853 ParagraphList::iterator
4855 (readFile): adjust, make it private. don't use setStream, make
4856 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4857 always contain the filename.
4859 * BufferView.C (insertLyXFile): simplify and make it work for
4862 2003-08-30 John Levon <levon@movementarian.org>
4864 * Makefile.am: fix dist (from Kayvan)
4866 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * most files: change to use const Buffer refs
4870 2003-08-27 André Pönitz <poenitz@gmx.net>
4872 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4873 on top of ownerPar().
4875 2003-08-27 John Levon <levon@movementarian.org>
4877 * funcrequest.C: properly initialise POD members
4879 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4881 * lyxtext.h (top_y): move top_y from here
4886 * BufferView_pimpl.[Ch]: to here
4887 * frontends/screen.C:
4888 * insets/insettabular.C:
4889 * insets/insettext.C: adjust
4890 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4892 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4895 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4897 2003-08-26 André Pönitz <poenitz@gmx.net>
4899 * paragraph_func.[Ch] (outerPar): new function
4902 * paragraph_funcs.C:
4903 * paragraph_funcs.h:
4904 * paragraph_pimpl.C:
4905 * text2.C: remove Inset::par_owner
4907 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4912 * text2.C: eliminates the needFullRow/display() stuff
4913 altogether, putting the logic in metrics/draw in the insets.
4915 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4917 * text2.C (redoParagraphInternal, redoParagraphs):
4918 * text.C (redoParagraph): add a call to updateRowPositions at the
4919 end of each 'metrics-like' call. Remove all others.
4920 (getRow): remove the 'y-computing' version.
4921 (getRowNearY): do not compute nor return the real y. Solve the
4922 'y < 0' problem and simplify.
4924 2003-08-22 Angus Leeming <leeming@lyx.org>
4926 * *.[Ch]: clean-up of licence and author blurbs.
4927 Also move config.h out of a few .h files and into a few .C files.
4929 2003-08-22 André Pönitz <poenitz@gmx.net>
4931 * lyxrow.[Ch]: add x_ and *fill_ members
4936 * text2.C: adjust/remove prepareToPrint() calls
4938 2003-08-22 André Pönitz <poenitz@gmx.net>
4940 * lyxrow.[Ch]: add end_ member
4942 * lyxrow_funcs.C: use LyXRow::end_
4944 * lyxtext.h (singleWidth): add LyXFont parameter
4947 * text2.C: adjust LyXText::singleWidth() calls
4949 * text.C (redoParagraph): simplify row breaking logic
4952 2003-08-19 André Pönitz <poenitz@gmx.net>
4954 * funcrequest.C: initialize button_ member
4957 * rowpainter.[Ch]: interface consolidation
4959 2003-08-18 André Pönitz <poenitz@gmx.net>
4962 * BufferView_pimpl.C:
4964 * paragraph_funcs.C:
4966 * text3.C: remove LyXScreen::draw() and fitCursor calls
4968 * BranchList.h: remove spurious semicolons
4970 * MenuBackend.C: fix branchlist related crash
4972 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4980 * bufferparams.[Ch]:
4984 * text3.C: implements the 'branch inset'
4985 idea. This allows the output of various versions of a document
4986 from a single source version, selectively outputing or suppressing
4987 output of parts of the text.
4988 This implementation contains a 'branch list editor' in a separate
4989 tab of the document settings dialog. Branches are user definable
4990 and have a "display colour" to distinguish them on-screen.
4992 ColorHandler was somewhat cleaned up.
4993 (1) make possible a dynamically growing LColor list by allowing
4994 the graphic context cache to grow along (vector);
4995 (2) eliminate an IMHO unnecessary step in colour allocation.
4997 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4999 * BufferView_pimpl.C: compile fix
5001 2003-08-15 André Pönitz <poenitz@gmx.net>
5003 * rowpainter.C: remove extra metrics calls
5005 * lyxtext.h: merge the two constructors into a single one,
5006 pass reference to owner's par list
5008 * BufferView_pimpl.C:
5012 2003-08-15 André Pönitz <poenitz@gmx.net>
5014 * lyxrow_funcs.[Ch]:
5017 * paragraph_funcs.C:
5022 * text_funcs.C: split LyXText::rowlist_ into individual
5023 Paragraph::rows_ chunks
5026 * BufferView_pimpl.[Ch]:
5029 * text3.C: remove toggleSelection()
5031 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5033 * bufferlist.C: beautify two alerts (shorter text of buttons)
5034 * buffer.C: Remove redundant ' ' from message
5036 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5037 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5038 rename VALIGN_CENTER to VALIGN_MIDDLE
5040 2003-08-11 André Pönitz <poenitz@gmx.net>
5042 * lyxtext.h (getPar):
5043 * text.C: new function
5045 2003-08-11 André Pönitz <poenitz@gmx.net>
5048 * tracer.[Ch]: remove unneeded files
5050 * InsetList.[Ch]: remove resizeInsetsLyXText()
5055 * text3.C: merge insertParagraphs() and appendParagraph()
5056 remove breakAgain(), update()
5058 * BufferView_pimpl.[Ch]:
5059 * bufferview_funcs.[Ch]:
5063 * tabular.C: adjust after text & InsetList changes.
5065 2003-08-08 André Pönitz <poenitz@gmx.net>
5067 * text.C (insertChar, backspace): replace rowlist fiddling
5068 with rebreak of full par
5071 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5072 checkParagraph, updateInset): removed
5074 2003-08-07 André Pönitz <poenitz@gmx.net>
5077 * text3.C: merge some LFUN handlers, remove dead code
5079 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5081 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5083 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5085 * text2.C (DEPM): fix part of bug 1255 and 1256
5087 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5089 * BufferView_pimpl.C (workAreaDispatch): change to use
5090 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5091 that are no mouse related.
5093 2003-08-05 André Pönitz <poenitz@gmx.net>
5096 * BufferView_pimpl.[Ch]:
5097 * bufferview_funcs.C:
5099 * text3.C: rip out "deep update"
5101 * textcursor.[Ch] (last_sel_cursor): remove unused member
5103 2003-08-04 André Pönitz <poenitz@gmx.net>
5106 * BufferView_pimpl.[Ch]:
5107 * ParagraphParameters.C:
5108 * bufferview_funcs.C:
5114 * text3.C: replace "complicated" BufferView::update(...) calls with
5117 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5119 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5121 * Makefile.am (lyx_SOURCES): add paper.h
5123 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5125 * Makefile.am: move things around so that both lyx-qt and
5126 lyx-xforms can be built (according to --with-frontend). Then lyx
5127 is a symbolic link to lyx-[firstfrontend]
5129 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5131 * Always use std::endl with lyxerr
5133 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5135 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5137 2003-08-01 André Pönitz <poenitz@gmx.net>
5140 * BufferView_pimpl.[Ch]:
5142 * text3.C: merge BufferView::repaint() and BufferView::update()
5144 2003-08-01 José Matos <jamatos@lyx.org>
5146 * buffer.[Ch]: file_format is no longer a buffer data element.
5148 2003-08-01 André Pönitz <poenitz@gmx.net>
5153 * text2.C: make redoParagraph more independent of current cursor
5155 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5157 * text2.C: remove unneeded members
5159 2003-07-30 André Pönitz <poenitz@gmx.net>
5161 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5163 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5164 create a single function...
5166 * paragraph_funcs.C (moveItem): ... here.
5169 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5171 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5173 * LColor.[Ch]: Add comment and greyedout logical colors.
5175 2003-07-30 André Pönitz <poenitz@gmx.net>
5177 * tabular.C: don't use Assert too heavily. This crashes where it
5180 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5182 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5183 is disabled (bug 1232)
5185 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5187 * factory.C: limited 'arg' scope
5189 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5191 * factory.C: fixed Note submenu issues
5193 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5195 * factory.C: submenu for Note/Comment/Greyedout
5197 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5200 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5202 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5205 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5206 greyedout. Patch provided by Jürgen Spitzmüller.
5208 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5210 * kbmap.C (read): fix error message when reading bind files
5212 2003-07-29 Angus Leeming <leeming@lyx.org>
5214 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5215 certainly does not do what it purports to do. I am doing it, and
5216 us, a favour by killing it.
5218 2003-07-28 José Matos <jamatos@lyx.org>
5220 * buffer.C (readBody, do_writeFile):
5221 * paragraph.C(readParagraph): \end_document replaces \the_end.
5223 2003-07-29 André Pönitz <poenitz@gmx.net>
5226 * BufferView_pimpl.[Ch]:
5230 * textcursor.[Ch]: remove toggleToggle & Co
5232 2003-07-28 José Matos <jamatos@fep.up.pt>
5234 * buffer.C (readParagraph):
5235 * params_func (readParToken, readParagraph):
5236 * paragraph.C (write): \layout -> \begin_layout.
5238 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5240 * lyxlex_pimpl.C (setFile): clean up slightly.
5242 * bufferparams.h: add compressed var
5244 * buffer_funcs.C (readFile): adjust for LyXLex change
5245 (newFile): ditto + simplify
5247 * buffer.C (writeFile): handle writing of compressed files
5249 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5250 Check if the file is compressed and set a bufferparm if so.
5252 * Makefile.am (lyx_LDADD): remove explicit -lz
5254 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5256 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5257 makeDocBookFile): put the real LyX version in the first line of
5261 * version.C.in: remove lyx_docversion
5263 * tabular.C (write_attribute): add a template-based version to
5264 write enums properly
5266 2003-07-28 André Pönitz <poenitz@gmx.net>
5271 * text3.C: use doubles again for x-coordinates. They are needed.
5273 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * messages.C (getLocaleDir): use lyx_localedir()
5277 * lyxlex_pimpl.C (setFile): compress stuff
5279 * buffer.C (writeFile): add some compression stuff
5280 (do_writeFile): new func, dont call expliti close... will this
5283 * Makefile.am (lyx_LDADD): add -lz
5285 2003-07-28 José Matos <jamatos@fep.up.pt>
5287 * buffer.C: increment file format.
5288 * paragraph_funcs (readParagraph, readParToken):
5289 * paragraph.C (readParagraph): add \end_layout.
5291 2003-07-27 Angus Leeming <leeming@lyx.org>
5293 * Makefile.am: remove special casing for configure-time setting of
5294 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5296 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5297 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5299 2003-07-26 André Pönitz <poenitz@gmx.net>
5301 * paragraph_func.[Ch]:
5302 * paragraph.C (realizeFont): inline it whereever it is used
5307 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5310 2003-07-26 André Pönitz <poenitz@gmx.net>
5314 * text2.C: get rid of LyXText::need_break_row
5316 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * toc.[Ch]: put namespace toc inside namespace lyx
5320 * MenuBackend.C (expandToc2): adjust for lyx::toc
5323 * lyxfunc.C (dispatch): adjust for lyx::find
5325 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5326 lyx::find instead. Reorganize a bit.
5327 (LyXReplace): rename to replace
5328 (LyXFind): rename to find
5330 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5333 2003-07-26 André Pönitz <poenitz@gmx.net>
5335 * text.C (setHeightOfRow): restrict scope of temporary variable
5337 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5338 code (never has been used?)
5340 2003-07-27 Asger Alstrup <alstrup@local>
5342 * text.C (fill): Optimise algorithm to exploit that we can reuse
5343 the LyXFont for many characters.
5344 (setHeightOfRow): Same thing.
5345 (rowBreakPoint): Same thing.
5347 2003-07-26 Asger Alstrup <alstrup@local>
5349 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5351 * text.C (singleWidth): Spurious font copying in hot-spot
5352 singleWidth avoided. Reorder tests for arabic for efficiency.
5354 * text.C (fill): handle empty paragraphs better.
5356 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5359 * encoding.h: add includes
5361 * lyxrc.C: remove reading of bind files
5363 * lyx_main.C (init): setup bindings and menus only if we have a
5366 * kbmap.C (read): new method. Do the actual reading of bind
5369 * converter.C (dvipdfm_options):
5372 (output): adapt PAPER_* enums.
5374 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5376 * bufferparams.h: remove paper-related enums from there
5378 * paper.h: New file. A trivial header file to hold paper-related
5379 enums. It should later expand to contain many paper-related
5382 * lyxrc.C: declare extern displayTranslator
5384 2003-07-27 José Matos <jamatos@fep.up.pt>
5386 * tabular.[Ch] (linuxdoc): add support for tables and figures
5389 2003-07-27 José Matos <jamatos@fep.up.pt>
5391 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5392 consistency in both functions.
5393 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5395 2003-07-26 Asger Alstrup <alstrup@local>
5397 * rowpainter.C (paintRows): Change algorithm to work directly on
5398 the insets rather than asking every character in the document
5399 whether its an inset.
5401 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5403 * buffer.C (openFileWrite): factorize some code
5405 2003-07-26 Angus Leeming <leeming@lyx.org>
5408 * lyx_main.[Ch]: replace occurances of system_tempdir with
5411 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * rename Inset to InsetOld
5415 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5417 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5418 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5419 which I think is a bit clearer. EDIT is gone, since it was
5420 premature optimisation, and broken for mathed anyway.
5421 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5422 with cursor positioning in insets as well (math insets still do not
5423 work, but that's a different story anyway.) It mysteriously
5424 crashes sometimes with undo in the first paragraph, but I'm fairly
5425 confident that this is a compiler bug.
5427 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5429 * paragraph.C (Paragraph): adjust for new clone return type
5431 (copyIntoMinibuffer): ditto
5433 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5435 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5436 by not having a special case, and always doing a full rebreak of
5437 the document after undo.
5439 2003-07-23 Angus Leeming <leeming@lyx.org>
5441 * factory.C (createInset): InsetExternal::setParams now takes a
5444 2003-07-23 Angus Leeming <leeming@lyx.org>
5446 * factory.C (createInset): changed interface to the external and
5447 graphics mailers' string2params functions.
5449 2003-07-23 Angus Leeming <leeming@lyx.org>
5451 * factory.C (createInset): pass a
5452 Buffer const * parameter to InsetExternalMailer's string2params.
5454 2003-07-22 John Levon <levon@movementarian.org>
5456 * Thesaurus.h: include the right aiksaurus header
5458 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5460 * MenuBackend.C (expand): check menu shortcuts unconditionally
5462 2003-07-21 Angus Leeming <leeming@lyx.org>
5464 * factory.C (createInset): pass a
5465 buffer_path parameter to InsetGraphicsMailer's string2params.
5467 2003-07-21 Angus Leeming <leeming@lyx.org>
5469 * BufferView_pimpl.C (buffer):
5472 * lyxfunc.C (dispatch):
5473 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5474 rather than the grfx shortcut.
5476 2003-07-21 André Pönitz <poenitz@gmx.net>
5478 * rowpainter.C: remove unused variables
5481 * tabular_funcs.h: move to tabular.C
5482 * Makefile.am: adjust
5484 * tabular.[Ch]: basic optical cleaning
5486 * author.h: pass references, not values
5488 2003-07-18 André Pönitz <poenitz@gmx.net>
5496 * text3.C: two-phase drawing for InsetText and InsetTabular
5497 some float -> int changes.
5499 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5501 * lyx_main.C: fix the fix
5503 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5505 * lyx_main.C: fix a crash in batch mode if no files specified
5508 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5510 * format.[Ch] (papersize): moved to BufferParams
5511 * converter.[Ch] (dvips_options): moved to BufferParams
5512 (dvipdfm_options): moved to anon namespace
5513 * bufferparams.[Ch]: added above functions.
5515 2003-07-17 André Pönitz <poenitz@gmx.net>
5519 * text2.C: don't call inset->update() anymore
5521 * metricsinfo.[Ch]: add convenience constructor
5523 2003-07-16 André Pönitz <poenitz@gmx.net>
5528 * text2.C: replace the LyXCursor::irow_ member with
5529 on-demand computation of the value
5531 2003-07-16 John Levon <levon@movementarian.org>
5533 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5535 2003-07-15 André Pönitz <poenitz@gmx.net>
5538 * text2.C: remove no more needed refresh_row
5540 2003-07-15 André Pönitz <poenitz@gmx.net>
5545 * text3.C: refresh_status tristate -> need_update bool
5547 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5549 * lyxtext.h (init): remove reinit argument (act as if always true)
5550 * text2.C: adjust to that
5552 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5554 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5555 * text3.C: use it to delete selections in some cases
5556 (bugs 441, 673, 702, 954).
5558 2003-07-14 André Pönitz <poenitz@gmx.net>
5560 * rowpainter.[Ch]: reduce interface
5562 2003-07-14 André Pönitz <poenitz@gmx.net>
5564 * BufferView_pimpl.C:
5565 * text2.C: adjust after removing unused BufferView * argument
5567 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5569 * text2.C (init): fix a crash fired on resize
5571 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5573 * buffer.[Ch]: added new closing signal
5574 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5575 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5576 BufferView::Pimpl via the closing the signal
5578 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5580 * buffer.[Ch]: take out all bv-related from buffer
5582 * BufferView_pimpl.[Ch]: connect to new signals
5583 * CutAndPaste.C: removed useless asserts
5584 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5587 * lyxfunc.C: moved view-related funciontality from vc here
5588 * paragraph.C: removed outdated comments
5591 2003-07-10 André Pönitz <poenitz@gmx.net>
5593 * BufferView_pimpl.C:
5597 * text2.C: remove InsetText::InnerCache, clean up consequences
5599 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5601 * ispell.C: fix two typos in error messages
5603 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5605 * Extend Note inset to other forms of annotation like Comment
5606 and Greyedout. Right button click gives dialog.
5608 Files modified or added (+):
5612 * ControlNote.[Ch] +
5614 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5615 frontends/controllers
5619 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5621 * aspell.C: add missing namespace lyx::support
5623 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5625 * BufferView.[Ch] (newFile): Add
5626 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5627 * LaTeX.[Ch] (message): added this signal and use it
5628 * buffer.[Ch] (busy, message): added these signals and use them
5629 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5633 * importer.C: use buffer signals instead of direct bv calling
5634 * lyx_cb.[Ch] (ShowMessage): removed
5637 * paragraph_funcs.C:
5638 * text2.C: use buffer signals
5640 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * introduce namespace lyx::graphics
5644 2003-07-02 André Pönitz <poenitz@gmx.net>
5646 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5648 2003-07-01 André Pönitz <poenitz@gmx.net>
5655 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5656 text*.C to text_func.C
5658 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * introduce namespace lyx::support
5662 2003-06-30 André Pönitz <poenitz@gmx.net>
5667 * text.C: re-enable --with-included-string
5669 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * textcursor.C: add <config.h>
5673 * text.C (getWord): remove const from word_location arg
5675 * lyxvc.C (getLogFile): fix const type order
5677 * lyxtext.h: remove const from word_location arg, add arg name
5679 * lyxlayout.h: currect type on labeltype.
5681 * importer.C: correct \file
5683 * converter.C (intToFormat): use std:: on ret val, ws changes
5685 * bufferlist.h: correct \file
5687 * buffer.C (makeLinuxDocFile): fix const type order
5688 (makeDocBookFile): ditto
5689 (fillWithBibKeys): use std:: on stdlib args.
5691 * CutAndPaste.C: fix authors.
5692 (availableSelections): use std:: on return vector
5694 2003-06-27 André Pönitz <poenitz@gmx.net>
5696 * BufferView_pimpl.C:
5697 * bufferview_funcs.C:
5705 * text3.C: remove LyXCursor::row_ member
5708 * text.C: rename fullRebreak() to partialRebreak() and implement
5709 a fullRebreak() that really bereks fully
5711 * textcursor.h: new struct for cursor-related data
5713 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5715 * lyx_main.C (LyX): get full path of document loaded on the
5718 2003-06-26 André Pönitz <poenitz@gmx.net>
5720 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5721 remove unused/broken operator>,<,>=.
5723 * text.C: remove only use of broken operator<= in an Assert().
5725 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5727 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5728 moved errorlist_.clear to showErrorList
5730 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5732 * converter.C (scanLog, runLaTeX):
5733 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5734 move the bv->showErrorList call to the callers
5735 * lyxfunc.C: i.e. here...
5737 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5738 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5739 namespace, the second to...
5740 * buffer_funcs (BufferFormat, parseErrors): added
5741 * errorlist.C (ErrorList(TeXErrors const &)): removed
5743 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5745 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5747 2003-06-24 "Garst R. Reese" <reese@isn.net>
5751 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5753 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5755 * version.C.in: change docversion to 1.4
5757 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5759 * buffer.C: fix a bug just introduced
5761 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5763 * buffer.[Ch]: added the parseError signal and use it, removed
5765 * BufferView.[Ch] (addError): moved to ...
5766 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5767 to the Buffer::parseError signal to catch (guess what) parse errors
5768 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5770 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5772 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5773 ability to create a buffer and to return an existing one from
5774 the list. Moved these functions to...
5775 * buffer_funcs.[Ch]: added
5776 * BufferView.[Ch] (loadLyXFile): added
5777 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5778 job removed from bufferlist::loadLyXFile.
5779 * buffer.C (setReadOnly): make it work without view
5780 (i.e added an if (users))
5782 2003-06-19 Angus Leeming <leeming@lyx.org>
5785 * LyXAction.C (init):
5786 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5787 with LFUN_DIALOG_SHOW <name> <data>.
5789 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5791 * CutAndPaste.C (availableSelections): small compilation fix for
5792 ancient (gcc 2.9x) compilers
5794 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * text3.C (cursorNext): add tmp var
5798 * text2.C (updateCounters): for function calling out of for clause
5799 (replaceSelectionWithString): ditto
5800 (insertStringAsParagraphs): ditto
5801 (getColumnNearX): add tmp var
5802 (setCursorFromCoordinates): add tmp var
5803 (cursorDownParagraph): add tmp var
5804 (deleteEmptyParagraphMechanism): add tmp var
5806 * text.C (insertChar): add tmp var
5808 * rowpainter.C (paintDepthBar): add tmp var
5810 * CutAndPaste.C (availableSelections): potentially check all
5811 paragraphs in a cut to fill the shown strings.
5813 2003-06-18 André Pönitz <poenitz@gmx.net>
5815 * kbmap.[Ch]: use vector<> instead of list<>
5817 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5819 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5820 pasteSelection with index
5822 * text2.C (pasteSelection): modify, call pasteSelection with index
5824 * paragraph.C (asString): reimplement version with no interval to
5825 call the one with interval.
5827 * lyxtext.h: add index arg to pasteSelection
5829 * MenuBackend.C (MenuItem): handle PasteRecent
5830 (Menu::read::Menutags): add md_pasterecent
5832 (expandPasteRecent): new function
5835 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5837 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5839 (availableSelections): new function
5841 2003-06-17 Angus Leeming <leeming@lyx.org>
5843 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5845 2003-06-17 Angus Leeming <leeming@lyx.org>
5848 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5850 * lyxfunc.C (dispatch): invoke it.
5852 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5854 * iterators.C (operator++, ParPosition): reintroduce some
5855 const_cast for the benefit of older compilers.
5857 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5859 * text3.C (dispatch): do not modify clipboard when doing
5860 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5861 LFUN_DELETE_SKIP on a selection selection
5863 2003-06-16 André Pönitz <poenitz@gmx.net>
5869 * tabular.[Ch]: IU of clone() and getLabelList();
5871 2003-06-13 André Pönitz <poenitz@gmx.net>
5873 * tabular.h: compactification
5875 2003-06-12 André Pönitz <poenitz@gmx.net>
5879 * tabular_funcs.h: some renaming plus whitespace
5881 2003-06-12 André Pönitz <poenitz@gmx.net>
5884 * BufferView_pimpl.C:
5890 * toc.C: Return a Paragraph & for ParIterator::operator*()
5892 2003-06-11 John Levon <levon@movementarian.org>
5896 * ToolbarBackend.C: add "Toolbars" section and
5899 2003-06-10 Angus Leeming <leeming@lyx.org>
5902 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5904 * lyxfunc.C (dispatch): invoke it.
5906 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * main.C: protect <ios> with HAVE_IOS
5909 (main): protect sync_with_stdio with HAVE_IOS
5911 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5913 * text2.C (cutSelection): adjust
5914 (pasteSelection): adjust
5916 * messages.C: handle get of empty string
5918 * main.C (main): use sync_with_stdio(false)
5920 * lyxfunc.C (dispatch): adjust
5922 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5923 (WriteAs): remove unneeded BufferView arg.
5925 * bufferparams.h: use correct types on papersize, papersize2 and
5928 * bufferparams.C (readToken): adjust for type
5929 (writeLaTeX): add missing cases to switch.
5931 * bufferlist.C (quitWriteBuffer): adjust
5934 * buffer.C (asciiParagraph): remove some commented code.
5936 * CutAndPaste.C: remove current_view extern variable.
5937 (cutSelection): add BufferParams arg.
5938 (eraseSelection): add BufferParams arg.
5939 (pasteSelection): add Buffer const & arg
5941 2003-06-07 John Levon <levon@movementarian.org>
5944 * paragraph_funcs.C:
5945 * paragraph_pimpl.C:
5949 * paragraph.C: allow InsetERT to freely space lines,
5950 and some consolidation of code
5952 2003-06-06 José Matos <jamatos@fep.up.pt>
5954 * buffer.C (makeDocBookFile): fix bug #821
5956 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5958 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5960 2003-06-04 Angus Leeming <leeming@lyx.org>
5962 * buffer.C: bump format to 224.
5964 2003-06-05 André Pönitz <poenitz@gmx.net>
5966 * text2.C (redoParagraphs): remove two const_cast<>
5968 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5970 * ParagraphList.h: remove last remnants of NO_STD_LIST
5972 2003-06-03 Angus Leeming <leeming@lyx.org>
5974 * factory.C (createInset): small change to the way InsetExternal's params
5977 2003-06-04 André Pönitz <poenitz@gmx.net>
5979 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5981 * paragraph_pimpl.h:
5982 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5984 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5986 * undo_funcs.C: make some simple cases of undo work again
5988 2003-06-03 John Levon <levon@movementarian.org>
5990 * ispell.C: HPUX doesn't have sys/select.h
5993 2003-06-03 John Levon <levon@movementarian.org>
5995 * CutAndPaste.C: update tabular and include inset
6000 * paragraph.C: remove owningBuffer(), don't pass Buffer
6003 * factory.C: insetGraphicsParams changed
6005 2003-06-02 John Levon <levon@movementarian.org>
6011 * text3.C: remove insetparent
6013 2003-06-02 John Levon <levon@movementarian.org>
6016 * buffer.C: fix inset_iterator.end(), move out of line
6019 2003-06-01 John Levon <levon@movementarian.org>
6021 * text3.C: use a proper cut/paste when doing inset
6022 insert (from Jürgen Spitzmüller)
6024 2003-06-01 John Levon <levon@movementarian.org>
6026 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6028 2003-05-30 André Pönitz <poenitz@gmx.net>
6030 * rowpainter.C: unify second drawing phase
6032 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * trans_mgr.C: remove one case of current_view
6036 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6038 * paragraph_funcs.h: remove paragraph.h include
6040 * paragraph.h: delete NO_STD_LIST stuff
6042 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6044 * buffer.h: remove paragraph.h include
6046 * ParagraphList.C: delete file
6048 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6050 * toc.C (getTocList): adjust
6052 * paragraph_pimpl.C (validate): adjust
6054 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6056 * paragraph.C (Paragraph): adjust
6057 (getPositionOfInset): use const_iterator, adjust
6058 (bibitem): use const_iterator, adjust
6059 (setInsetOwner): adjust
6061 * iterators.C (operator++): adjust
6063 * InsetList.[Ch]: Replace selfmade iterator with standard
6064 vector::iterator also introduce const_iterator. Remove getPos,
6065 getInset and setInset from InsetTable. Adjust accordingly.
6067 * BufferView.C (lockInset): adjust
6068 (ChangeInsets): adjust
6070 * tabular.[Ch]: delete commented same_id functions
6072 2003-05-28 John Levon <levon@movementarian.org>
6074 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6076 2003-05-28 André Pönitz <poenitz@gmx.net>
6078 * metricsinfo.[Ch]: remove 'fullredraw' member
6080 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6082 * lyxtextclass.C (operator): remove caching.
6084 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6088 * text2.C (cursorBottom): adjust
6089 (setCounter): use ParagraphList::find, adjust
6091 * text.C (workWidth): use ParagraphList::find, adjust
6093 * lyxcursor.C (LyXCursor): adjust
6095 * buffer.C (inset_iterator): adjust
6097 * ParagraphList.h: make iterator(value_type) private, make
6098 ParagraphList a friend of iterator.
6100 * ParagraphList.C (find): new function
6102 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6104 2003-05-27 André Pönitz <poenitz@gmx.net>
6106 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6108 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6110 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6112 2003-05-26 John Levon <levon@movementarian.org>
6114 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6116 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * remove same_id from function signatures, adjust.
6120 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6124 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6126 * paragraph.C (Paragraph): get rid of same_ids parameter
6128 * ParagraphList.C (insert): adjust
6131 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6133 * paragraph_funcs.C (breakParagraph): adjust
6134 (breakParagraphConservative): adjust
6136 * buffer.C (readParagraph): adjust
6138 * ParagraphList.C (insert): take a reference instead of a pointer
6141 * paragraph.[Ch] (id): new function
6143 * bufferlist.C (newFile): adjust
6145 * ParagraphList.C (ParagraphList): adjust
6147 (push_back): take a reference instead of a pointer.
6149 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6151 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6154 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6155 set else use old code.
6157 * ParagraphList.C: remove all NO_NEXT code and only compile this
6158 code of NO_STD_LIST is set.
6160 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6162 * BufferView_pimpl.C:
6172 * graphics/GraphicsConverter.C:
6173 * graphics/PreviewLoader.C: header adjustment
6175 2003-05-23 Angus Leeming <leeming@lyx.org>
6177 * LaTeXFeatures.[Ch] (useBabel): new method.
6178 * bufferparams.C (writeLaTeX): use it.
6180 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6182 * ParagraphList.h (set): remove unused function.
6184 2003-05-23 André Pönitz <poenitz@gmx.net>
6187 * BufferView_pimpl.C:
6191 * undo_funcs.C: setUndo reworked
6193 * iterators.[Ch]: add access to topmost ParagraphList
6195 * lyxtext.[Ch] (workWidth): add a const
6197 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6199 * texrow.[Ch] (increasePos): remove function
6200 * exporter.C (export): removed unused var and outdated comment
6202 2003-05-23 Angus Leeming <leeming@lyx.org>
6204 * latexrunparams.h: rename fragile as moving_arg.
6205 * paragraph.C (simpleTeXOnePar): ditto.
6206 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6208 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6212 (textUndoOrRedo): comment out a currently unused var.
6214 * paragraph.h (NO_NEXT): enable NO_NEXT
6216 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6218 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6220 * exporter.C (Export): adjust for removeAutoInsets removal.
6222 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6224 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6226 * BufferView.[Ch] (removeAutoInsets): delete function
6228 2003-05-22 Angus Leeming <leeming@lyx.org>
6230 * latexrunparams.h: add a free_spacing variable.
6232 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6233 to pass moving_arg, as the data is stored in runparams.fragile.
6235 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6236 to Inset::latexOptional or to simpleTeXOnePar.
6238 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6239 free_spacing arg to Inset::latexOptional.
6241 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6244 2003-05-22 Angus Leeming <leeming@lyx.org>
6246 * latexrunparams.h: add fragile and use_babel variables.
6248 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6249 * buffer.C (makeLaTeXFile): store this returned value in
6250 runparams.use_babel, thus passing it to the inset::latex methods.
6252 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6253 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6255 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6256 longer has a fragile arg, as it is stored in runparams.fragile.
6258 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6259 moving_arg parameter as the data is stored in runparams.fragile.
6261 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6262 a fragile parameter as the data is stored in runparams.fragile.
6264 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6268 2003-05-22 Angus Leeming <leeming@lyx.org>
6270 * latexrunparams.h: add a 'bool nice' which defaults to false.
6272 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6273 now encapsulated within runparams.
6275 * bufferlist.C (updateIncludedTeXfiles):
6276 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6278 2003-05-22 Angus Leeming <leeming@lyx.org>
6280 * latexrunparams.h: new file containing struct LatexRunParams.
6281 * Makefile.am: add new file.
6283 * LaTeX.[Ch] (c-tor, run):
6284 * buffer.[Ch] (makeLaTeXFile):
6285 * bufferlist.[Ch] (updateIncludedTeXfiles):
6286 * converter.C (convert, scanLog):
6287 * converter.[Ch] (runLaTeX):
6288 * exporter.C (Export):
6289 * paragraph.[Ch] (simpleTeXOnePar):
6290 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6291 * paragraph_funcs.[Ch] (latexParagraphs):
6292 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6293 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6294 pass around a LatexRunParams parameter.
6296 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6298 * paragraph.[Ch]: remove unused constructor
6300 * ParagraphList.C (erase): new function, taking two iterators
6302 2003-05-22 André Pönitz <poenitz@gmx.net>
6304 * undo_funcs.C: remove duplicated code
6306 * iterator.[Ch]: operator=
6308 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6310 * tabular.C (SetMultiColumn): ws changes
6312 * rowpainter.C (paintFirst): get rid of a ->previous
6314 * lyx_cb.C (getPossibleLabel): parlist simplification
6316 * BufferView.C (ChangeInsets): simplify slightly.
6318 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6320 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6321 * lfuns.h: new LFUN_SPACE
6322 * lyxfunc.C: protected space has a new lfun
6323 * paragraph_funcs.C: read new space insets
6325 * factory.C: handle new space insets
6327 2003-05-22 André Pönitz <poenitz@gmx.net>
6330 * BufferView_pimpl.C:
6333 * undo_funcs.C: return a ParIterator from getParFromID.
6335 * iterators.[Ch]: add two const's
6337 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6339 * toc.C (getTocList): adjust
6341 * iterators.[Ch]: rework for parlist
6343 * buffer.C (par_iterator_begin): adjust
6344 (par_iterator_end): adjust
6346 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6348 * BufferView.C (removeAutoInsets): adjust
6349 (ChangeInsets): adjust
6351 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6353 * text.C (top_y): fix bug 1110
6355 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6357 * errorlist.[Ch]: added
6360 * BufferView_pimpl.C:
6361 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6364 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * Makefile.am: ensure that lyx is relinked upon changes to the
6367 various "convenience" libs.
6369 2003-05-20 Angus Leeming <leeming@lyx.org>
6371 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6372 files are compiled in alphabetical order again.
6374 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6376 2003-05-19 Angus Leeming <leeming@lyx.org>
6378 * gettext.[Ch]: remove "char const * _(char const *)".
6380 2003-05-19 André Pönitz <poenitz@gmx.net>
6382 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6391 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6393 2003-05-19 André Pönitz <poenitz@gmx.net>
6397 * lyxtextclass.[Ch]:
6399 * paragraph_funcs.[Ch]:
6401 * text3.C: more insetenv work
6403 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6405 * ParagraphParameters.C (params2string): small bug fixed
6407 2003-05-16 André Pönitz <poenitz@gmx.net>
6410 * bufferview_funcs.C: patch from Kornel Benko to prevent
6411 crash when _(...) is called twice in a statement
6413 2003-05-16 André Pönitz <poenitz@gmx.net>
6420 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6422 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6424 * lyx_main.C (init): remove spurious static_cast
6426 2003-05-14 André Pönitz <poenitz@gmx.net>
6428 * BufferView.C: fix format string
6430 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6432 * BufferView.[Ch] (insertErrors): removed
6433 * BufferView.[Ch] (showErrorList): added
6434 * buffer.C (runChkTeX):
6435 * converter.C (scanLog): call showErrorList instead of inserterrors
6437 2003-05-13 André Pönitz <poenitz@gmx.net>
6439 * BufferView_pimpl.C:
6441 * bufferview_func.C:
6448 * tabular_funcs.h: tostr() from its own header
6450 * ParagraphParameters.C:
6455 * text3.C: STRCONV()
6457 2003-05-12 André Pönitz <poenitz@gmx.net>
6460 * BufferView_pimpl.C:
6464 * ParagraphParameters.C:
6468 * bufferview_funcs.C:
6481 * paragraph_funcs.C:
6485 * text3.C: boost::format -> bformat all over the place
6488 2003-05-09 André Pönitz <poenitz@gmx.net>
6490 * LColor.[Ch]: Pimpl the #include <map> away
6492 2003-05-09 John Levon <levon@movementarian.org>
6494 * bufferlist.C: never remove emergency saves
6496 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6498 * Makefile.am: better lib building
6500 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6502 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6504 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6505 (simpleTeXSpecialChars): adjust
6506 (simpleTeXSpecialChars): adjust
6507 * paragraph.C (simpleTeXOnePar): adjust
6508 * buffer.C (makeLaTeXFile): adjust
6510 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6512 * text2.C (changeDepth): parlist cleanup
6513 (getColumnNearX): ditto
6515 * rowpainter.C (getLabelFont): parlist cleanup
6517 * bufferlist.C (newFile): parlist cleanup
6519 * CutAndPaste.C (eraseSelection): parlist cleanup
6521 * BufferView_pimpl.C (trackChanges): parlist cleanup
6524 * BufferView.C (lockInset): parlist cleanup.
6525 (ChangeInsets): ditto
6527 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * CutAndPaste.h: Update file header.
6531 * CutAndPaste.C: Update file header.
6532 Store the parts cut out of the Document in a limited_stack.
6533 (copySelection): adjust
6534 (pasteSelection): new function, takes the index in the limited stack.
6535 (nrOfParagraphs): adjust
6536 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6537 simplify error inset insertion.
6538 (checkPastePossible): adjust
6540 2003-05-06 John Levon <levon@movementarian.org>
6542 * text2.C: don't cast wrap inset to float
6544 2003-05-05 André Pönitz <poenitz@gmx.net>
6547 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6549 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6550 few naked Paragraph *.
6552 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6554 * bufferparams.C: Output warning if a document with missing
6555 TeX document class is loaded
6556 * exporter.C: Disable TeX exports if the document class is missing
6559 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6560 isTeXClassAvailable()
6562 2003-05-03 John Levon <levon@movementarian.org>
6565 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6566 explicit cursor show/hide
6568 * BufferView_pimpl.h:
6569 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6570 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6572 * lyxfunc.C: hide cursor before dispatching.
6577 * text3.C: remove explicit cursor hides
6579 2003-05-02 André Pönitz <poenitz@gmx.net>
6581 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6584 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6587 * text2.C: tiny whitespace
6589 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * undo_funcs.C: almost only ws changes.
6593 * ParagraphList.C (splice): just return if pl is empty.
6595 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6597 * ParagraphList.C (splice): new function.
6599 * CutAndPaste.C (pasteSelection): use it
6601 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * CutAndPaste.C (pasteSelection): remove the last next and
6604 previous from this file.
6606 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6608 * CutAndPaste.C (pasteSelection): more clean up, user proper
6609 ParagraphList functions for pasteing.
6611 * ParagraphList.C (insert): new function, three arg insert
6613 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * ParagraphList.C (insert): new function, three arg insert
6617 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6620 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6622 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6624 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6626 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6628 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6631 (copySelection): clean up a bit.
6632 (pasteSelection): use make_pair
6634 * ParagraphList.C (ParagraphList): implement copy constructor
6635 (operator=): implement, base on copy constructor.
6638 * paragraph.C (erase): return a bool
6640 * paragraph_pimpl.C (erasePos): remove function, move contents...
6641 (erase): ... here. Return a bool.
6642 (erase): call erase instead of erasePos.
6644 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6646 * ParagraphList.h: define PitPosPair
6647 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6648 ParagraphList, fix a bug on pasting multiple pars
6649 * text2.C: change interface to C&P
6651 2003-04-30 André Pönitz <poenitz@gmx.net>
6653 * undo_func.C: revert part of yesterday's patch 2
6655 2003-04-30 John Levon <levon@movementarian.org>
6657 * LColor.C: s/tabular/table/
6659 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * text3.C (dispatch): do not convert iterator -> pointer
6662 * undo_funcs.C (setCursorParUndo): ditto
6663 * text_funcs.C (transposeChars): ditto
6665 * text2.C (setLayout): ws changes only
6667 * text.C (breakParagraph): do not convert iterator -> pointer
6669 (acceptChange): ditto
6670 (rejectChange): ditto
6675 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6678 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6680 * text3.C (gotoInset): YABG (yet another bad getChar)
6682 2003-04-29 André Pönitz <poenitz@gmx.net>
6684 * paragraph.h: make operator= private unimplemented as long as
6687 * ParagraphList.C: whitespace
6690 * paragraph_pimpl.[Ch]:
6691 * paragraph_funcs.C:
6693 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6696 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6698 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6700 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6701 * paragraph.[Ch] (erase):
6702 * paragraph_pimpl.[Ch] (erase): change return type and value
6703 * text2.C (cutSelection): some rework
6705 2003-04-28 John Levon <levon@movementarian.org>
6707 * bufferlist.C: changes for unsaved changes dialog
6709 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * bufferlist.C (newFile): set language (messages_) for new
6714 * buffer.C (readFile): ws changes only.
6716 2003-04-28 André Pönitz <poenitz@gmx.net>
6721 * BufferView_pimpl.C:
6722 * BufferView.C: getParFromID related ParagraphList::iterator changes
6724 2003-04-28 André Pönitz <poenitz@gmx.net>
6726 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6729 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * messages.C: remove one more localedir class variable.
6733 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6735 * messages.C (getLocaleDir): singleton generation function
6737 (Messages): add a default constructor.
6739 * main.C (main): do not setup localedir here, do not call
6742 * gettext.C (_): use it.
6743 (gettext_init): delete funciton
6745 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6747 * gettext.C (getLyXMessages): new singleton generating function.
6749 * buffer.C (updateDocLang): adjust
6751 * Makefile.am (messages.o): add target
6752 (main.o): remove target
6754 2003-04-27 John Levon <levon@movementarian.org>
6759 * lyxvc.C: specify cancel button in Alert::prompt
6761 2003-04-26 John Levon <levon@movementarian.org>
6766 * LyXAction.C: add LFUN_INSET_SETTINGS
6768 * lyxfunc.C: don't enable tabular-feature when there's
6769 just any locking inset
6771 2003-04-26 John Levon <levon@movementarian.org>
6773 * bufferlist.C: re-add Cancel to buffer close question
6775 * lyxfunc.C: fix import UI a bit
6777 2003-04-25 John Levon <levon@movementarian.org>
6779 * gettext.C: remove the broken asserts for now
6781 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6783 * messages.C: make case where setlocale cannot comply work better.
6785 * buffer.C (updateDocLang): new function
6786 (changeLanguage): use it
6789 * text2.C (setCounter): use B_ a bit.
6791 * lyxlayout.C (Read): be sure to trim the label strings.
6793 * messages.C (Messages): fix typo in comment
6795 * buffer.C (readFile): set message_ after file is loaded.
6796 (makeDocBookFile): remove double return
6797 (changeLanguage): reset message_ upon language change.
6798 (B_): new func, use this to get translated buffer strings.
6800 * main.C: add myself and Jean Marc as authors.
6802 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6804 * messages.[hC]: pimplify Messages, and three different pimpls to be
6805 used in different circumstances.
6807 * gettext.[Ch]: change for use with new message code.
6809 2003-04-24 André Pönitz <poenitz@gmx.net>
6811 * factory.C: support for eqref
6813 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6815 * messages.[Ch]: add missing char
6817 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6819 * messages.[Ch]: New files
6821 2003-04-18 John Levon <levon@movementarian.org>
6825 * BufferView_pimpl.C:
6829 * text2.C: remove layout-copy/paste (bug 778)
6831 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6833 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6835 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6837 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6838 if they succeed. Act accordingly.
6840 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6842 * text2.C (setCharFont): adjust
6843 (setCounter): adjust
6844 (insertStringAsLines): adjust
6846 * text.C (leftMargin): adjust
6847 (setHeightOfRow): adjust
6849 * rowpainter.C (paintFirst): adjust
6852 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6854 (isFirstInSequence): ditto
6855 (getEndLabel): ditto
6858 * paragraph.C (getParLanguage): comment out some hard stuff.
6860 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6862 (simpleDocBookOnePar): ditto
6863 (makeDocBookFile): use ParagraphList::iterator
6865 * CutAndPaste.C (pasteSelection): adjust
6867 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6869 * text2.C (getFont): adjust
6870 (getLayoutFont): adjust
6871 (getLabelFont): adjust
6873 * paragraph_funcs.C (TeXOnePar): adjust
6875 * buffer.C (simpleLinuxDocOnePar): adjust
6876 (simpleDocBookOnePar): adjust
6878 * CutAndPaste.C (pasteSelection): adjust
6880 * BufferView.C (getEncoding): adjust
6882 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6884 2003-04-16 John Levon <levon@movementarian.org>
6886 * lyxfind.C: use parlist stuff for search/changes
6888 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6892 * text2.C (deleteEmptyParagraphMechanism): adjust
6894 * text2.[Ch] (ownerParagraph): delete func (both of them
6896 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6900 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * ParagraphList.C: prepare for NO_NEXT
6904 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6906 * text2.C (getFont): adjust
6907 (getLayoutFont): adjust
6908 (getLabelFont): adjust
6910 * paragraph.C (getFont): adjust
6911 (getLabelFont): adjust
6912 (getLayoutFont): adjust
6914 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6916 2003-04-15 John Levon <levon@movementarian.org>
6920 * lyx_main.C: handle Include in .ui files
6922 2003-04-15 John Levon <levon@movementarian.org>
6924 * MenuBackend.C: make the doc files length shorter
6927 * ToolbarBackend.C: handle toolbar placement flags,
6930 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6932 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6935 * paragraph_funcs.C (TeXOnePar): adjust
6937 * paragraph.C (getLabelFont): add outerfont arg, adjust
6938 (getLayoutFont): ditto
6939 (simpleTeXOnePar): adjust
6941 * paragraph_pimpl.C (realizeFont): delete func
6943 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6945 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6946 row argument, constify cur argument.
6948 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6950 * text2.C (getFont): adjust
6951 (getLayoutFont): adjust
6952 (getLabelFont): adjust
6954 * paragraph_funcs.C (TeXOnePar): adjust
6955 (outerFont): new func...
6956 (realizeFont): ...moved out from here, changed this to facilitate
6959 * paragraph.C (getFont): take outerfont as arg, adjust
6960 (simpleTeXOnePar): add outerfont arg, adjust
6962 * buffer.C (simpleLinuxDocOnePar): adjust
6963 (simpleDocBookOnePar): adjust
6965 * CutAndPaste.C (pasteSelection): adjust
6967 * BufferView.C (getEncoding): adjust
6969 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6971 * text2.C (setCharFont): adjust
6972 (setCounter): adjust
6974 * text.C (leftMargin): adjust
6975 (setHeightOfRow): adjust
6977 * rowpainter.C (paintFirst): adjust
6980 * paragraph_pimpl.C (realizeFont): adjust
6982 * paragraph.C (isFirstInSequence): move from here...
6983 * paragraph_funcs.C (isFirstInSequence): ...to here
6985 * paragraph.C (outerHook): move from here...
6986 * paragraph_funcs.C (outerHook): ...to here
6988 * paragraph.C (depthHook): move from here...
6989 * paragraph_funcs.C (depthHook): ...to here
6991 * paragraph.C (getEndLabel): move from here...
6992 * paragraph_funcs.C (getEndLabel): ...to here
6994 * text2.C (realizeFont): move from here...
6995 * paragraph_funcs.C (realizeFont): ...to here
6997 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6999 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7001 2003-04-14 Angus Leeming <leeming@lyx.org>
7003 * LColor.[Ch]: scrap LColor mathcursor.
7005 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * lyxlex.[Ch] (text): delete function
7008 * trans.C (Load): adjust
7009 * paragraph_funcs.C (readParToken): adjust
7011 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7013 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7014 vector<char> instead of a char[].
7016 * lyxlex_pimpl.C (getString): adjust
7018 (lex): use getString
7022 * lyxlex.C (text): use pimpl_->getString()
7026 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7028 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7029 (makeFontEntriesLayoutSpecific): temp var for par.size()
7030 (setLayout): temp var for ownerParagraphs().end()
7031 (fullRebreak): temp var for rows().end()
7032 (selectionAsString): temp var for boost::next(startpit), realize
7033 that the while really is a regular for loop.
7034 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7035 setCursor in one place.
7036 (setParagraph): temp vr for ownerParagraphs().end()
7037 (updateCounters): make the while loop a for loop
7038 (cutSelection): temp var for ownerParagraphs().end()
7039 (updateInset): make the do {} while() a regular for loop
7040 (getCursorX): use temp vars
7041 (setCurrentFont): use temp vars
7042 (getColumnNearX): use temp vars
7044 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7046 * text.C (transformChar): use temp var for getChar
7047 (computeBidiTables): use temp var for row->par()
7048 (fill): move temp vars for row->par() and pit->layout() earlier in
7050 (labelFill): use temp var for row->par()
7051 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7052 asc and desc, realize that pit never changes and that firstpit is
7053 just a duplicate and not needed. Exchange rit->par() with pit in a
7055 (breakAgain): use a temp var for boost::next(rit)
7056 (breakAgainOneRow): ditto
7057 (breakParagraph): use a temp var for rows().begin()
7058 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7059 (cursorRightOneWord): use temp var for cursor.par() and
7060 cursor.pos(), remove usage of tmpcursor.
7061 (cursorLeftOneWord): use temp var for cursor.par() and
7062 cursor.pos() only set cur at end of function.
7064 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7066 * text.C, text2.C: exchange all usage of Paragraph::next with
7067 boost::next(ParagraphList::iterator)
7069 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7071 * text2.C (cursorTop): simplify implementation
7072 (cursorBottom): ditto
7073 (setParagraph): use ParagraphList::iterator
7074 (setCurrentFont): adjust
7075 (getColumnNearX): adjust
7076 (cursorRight): adjust
7077 (cursorLeft): remove usage of Paragraph::previous
7078 (cursorUpParagraph): ditto
7079 (deleteEmptyParagraphMechanism): slight cleanup
7081 * text.C (isBoundary): take a Paragraph const & instead of a
7083 (addressBreakPoint): ditto
7084 (leftMargin): remove usage of Paragraph::previous.
7085 (setHeightOfRow): ditto
7086 (cursorLeftOneWord): ditto
7087 (selectNextWordToSpellcheck): ditto
7090 (breakParagraph): remove one usage of Paragraph::next
7091 (redoParagraph): ditto
7092 (acceptChange): ditto
7093 (insertChar): adjust
7094 (rowBreakPoint): adjust
7096 * bufferview_funcs.C (toggleAndShow): adjust
7098 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7100 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7101 methods to access it.
7103 * text.C: Added updateRowPositions to compute all row positions.
7104 Make top_y and getRowNearY() to use the cached y position
7106 2003-04-11 John Levon <levon@movementarian.org>
7108 * text.C (rowBreakPoint): reintroduce the labelEnd
7109 checks, code copied from the row fill stuff. Deep voodoo.
7111 * text.C (fill): add a comment and debugging for the
7114 2003-04-11 John Levon <levon@movementarian.org>
7116 * text.C: make sure fullrow insets get wrapped to the next line,
7117 even when they're in a manual label
7119 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7121 * text2.C (insertParagraph): make it take ParagraphList::iterator
7123 (setLayout): make it return ParagraphList::iterator
7124 (redoParagraphs): ditto
7126 (checkParagraph): ditto
7128 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7130 * text2.C: adjust several funcs.
7131 (realizeFont): take a ParagraphList::iterator as arg.
7132 (getLayoutFont): ditto
7133 (getLabelFont): ditto
7134 (setCharFont): ditto
7136 * text.C: adjust several funcs.
7138 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7140 * text.C (selectNextWordToSpellcheck): don't accidentally
7143 2003-04-10 John Levon <levon@movementarian.org>
7145 * ToolbarBackend.C (getIcon): special handling for
7148 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7150 * text2.C (cursorRight): a getChar assert fixed
7152 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * text2.C (getFont): change to take a ParagraphList::iterator
7155 instead of Paragraph*
7156 Adjust several functions.
7158 * text.C (transformChar): change to take a ParagraphList::iterator
7159 instead of Paragraph*
7160 (singleWidth): ditto
7161 Adjust several functions.
7163 * rowpainter.C: adjust several functions
7164 * rowpainter.h:store a ParagraphList::iterator and not a
7168 2003-04-09 John Levon <levon@movementarian.org>
7173 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7174 and the "help" bits as well
7176 2003-04-09 John Levon <levon@movementarian.org>
7179 * ToolbarBackend.C: allow multiple toolbars
7181 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * undo_funcs.C (setCursorParUndo): adjust
7185 * text_funcs.C (transposeChars): adjust
7187 * text3.C (gotoNextInset): adjust
7190 * text2.C (setLayout): adjust
7191 (changeDepth): adjust
7193 (redoParagraphs): adjust
7194 (selectionAsString): adjust
7195 (setParagraph): adjust
7196 (insertInset): adjust
7197 (cutSelection): adjust
7198 (copySelection): adjust
7199 (pasteSelection): adjust
7200 (insertStringAsLines): adjust
7201 (updateInset): adjust
7202 (setCursor): change to take a ParagraphList::iterator parameter
7203 (setCursorIntern): change to take a ParagraphList::iterator parameter
7204 (setCurrentFont): adjust
7205 (cursorLeft): adjust
7206 (cursorRight): adjust
7207 (deleteEmptyParagraphMechanism): adjust
7209 * text.C (breakParagraph): adjust
7210 (insertChar): adjust
7211 (acceptChange): adjust
7212 (rejectChange): adjust
7213 (selectNextWordToSpellcheck): adjust
7214 (changeCase): adjust
7218 * lyxfind.C (SearchForward): adjust
7219 (SearchBackward): adjust
7220 (nextChange): adjust
7222 * lyxcursor.C (par): adjust
7224 * lyxcursor.h: store a ParagraphList::iterator instead of a
7227 * lyx_cb.C (getPossibleLabel): adjust
7229 * bufferview_funcs.C (toggleAndShow): adjust
7231 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7234 * BufferView.C (removeAutoInsets): adjust
7235 (lockedInsetStoreUndo): adjust
7237 2003-04-09 John Levon <levon@movementarian.org>
7239 * ToolbarBackend.C: try icon without argument
7240 if with argument fails
7242 2003-04-08 John Levon <levon@movementarian.org>
7245 * ToolbarBackend.C: add getIcon(), handle tooltip,
7246 and change from "Icon" to "Item".
7248 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7250 * BufferView.C (lockInset): another bad getchar crunched
7252 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7254 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7257 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7259 * lyxfind.C (searchForward, searchBackwards): bug 782
7261 2003-04-07 John Levon <levon@movementarian.org>
7263 * paragraph.C: remove dead comment
7265 * text.C: remove troublesome depth-fiddling code
7266 in leftMargin() and rightMargin() (bug 1017)
7268 * text.C: fix breaking of rows in nested lists
7271 * text2.C (updateCounters): fix up depth values
7274 2003-04-07 John Levon <levon@movementarian.org>
7276 * BufferView_pimpl.C: clear message when doc finishes resizing,
7277 and after a mouse event
7279 * lyxfunc.C: clear message after exiting inset
7281 2003-04-07 John Levon <levon@movementarian.org>
7283 * bufferview_funcs.C: show math status not outside
7284 status in the statusbar
7286 2003-04-07 John Levon <levon@movementarian.org>
7288 * lyxfunc.C: note status changed after a depth change
7290 2003-04-04 Angus Leeming <leeming@lyx.org>
7292 * LaTeX.h: move AuxInfo operator==, != out of line.
7293 Remove LaTeX virtual destructor; nothing derives from it.
7294 Move operator()() out of public area and rename it startscript().
7295 Change protected for private.
7297 2003-04-04 Angus Leeming <leeming@lyx.org>
7300 * text2.C: remove unneeded #includes.
7302 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7304 * text2.C (dEPM): fix the heigth of the next row
7306 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7308 * text.C: squashed an invalid getChar requester + some ws changes
7310 2003-04-03 John Levon <levon@movementarian.org>
7312 * bufferview_funcs.h:
7313 * bufferview_funcs.C:
7316 * text2.C: make getStatus work for the env depth lfuns
7318 2003-04-03 John Levon <levon@movementarian.org>
7320 * bufferview_funcs.h:
7321 * bufferview_funcs.C:
7324 * text2.C: parlistize decDepth(), by merging it with incDepth()
7326 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7328 * lyxrow.h: store a ParagraphList::iterator instead of a
7329 Paragraph* and adjust other class functions to suit.
7331 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7334 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7336 * text2.C (setCursor): do not anchor to cursor row for the time being
7338 2003-04-02 John Levon <levon@movementarian.org>
7345 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7347 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * paragraph.h: make ParagraphList and ParagraphList::iterator
7350 friends of Paragraph.
7352 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7354 * ParagraphList.C: Use the private next_ and previous_ from
7357 2003-04-01 John Levon <levon@movementarian.org>
7361 * Makefile.am: rename, remove defaults gunk
7364 * MenuBackend.C: remove defaults gunk
7367 * Languages.C: remove defaults gunk
7370 * lyx_main.C: error out if files couldn't be found.
7372 2003-04-02 John Levon <levon@movementarian.org>
7374 * text2.C: make incDepth() use parlist
7376 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * undo_funcs.C (firstUndoParagraph): adjust
7380 * text3.C (gotoInset): adjust
7381 (dispatch): adjust, and rewrite loop.
7383 * text2.C (init): adjust, and rewrite loop.
7384 (redoParagraphs): adjust
7385 (updateInset): adjust, and rewrite loop.
7386 (deleteEmptyParagraphMechanism): adjust
7388 * tabular.C (LyXTabular): adjust
7389 (SetMultiColumn): adjust
7392 * lyxtext.[Ch] (ownerParagraph): delete function
7393 (ownerParagraphs): new function returns a ParagraphList.
7395 * BufferView.C (removeAutoInsets): adjust
7396 (insertErrors): adjust
7397 (setCursorFromRow): adjust
7399 2003-04-01 Angus Leeming <leeming@lyx.org>
7401 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7404 2003-04-02 John Levon <levon@movementarian.org>
7410 * text_funcs.C: make transposeChars a free function
7412 * lyxrow_funcs.C: remove wrong comment
7414 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7417 * rowpainter.C: adjust
7422 * lyxrow_funcs. [Ch]: new files
7424 * lyxrow.[Ch]: remove next and previous pointers
7425 (next,previous): remove accessor functions
7426 (isParEnd): move to lyxrow_funcs
7427 (lastPos): move to lyxrow_funcs
7428 (nextRowIsAllInset): move to lyxrow_funcs
7429 (lastPrintablePos): move to lyxrow_funcs
7430 (numberOfSeparators): move to lyxrow_funcs
7431 (numberOfHfills): move to lyxrow_funcs
7432 (numberOfLabelHfills): move to lyxrow_funcs
7433 (hfillExpansion): move to lyxrow_funcs
7437 * bufferview_funcs.C (toggleAndShow): adjust
7439 * RowList.h: Remove class RowList from file leave just a
7442 * RowList.C: delete file
7444 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7447 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7449 * text3.C (cursorPrevious): adjust
7450 (cursorNext): adjust
7453 * text2.C (redoHeightOfParagraph): adjust
7454 (redoDrawingOfParagraph): adjust
7457 * text.C (breakParagraph): adjust
7458 (insertChar): adjust
7461 * rowpainter.C (RowPainter): adjust
7462 (leftMargin): simplify and adjust
7463 (most rowpainter functions): adjust.
7465 * rowpainter.h: store the row as RowList::iterator not as Row*
7467 * lyxcursor.C (row): taka RowList::iterator as arg
7470 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7473 2003-04-01 Angus Leeming <leeming@lyx.org>
7475 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7476 stuff like bool Bool.
7478 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7480 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7483 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7485 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7488 * lyxtext.h (rows): drop one version and leve a const variant that
7489 returns a RowList::iterator.
7491 2003-03-31 Angus Leeming <leeming@lyx.org>
7493 * text.C (fill): ensure that the signature is the same as that in the
7496 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7498 * text2.C (redoParagraphs): adjust
7499 (updateCounters): adjust
7500 (checkParagraph): adjust
7501 (getColumnNearX): adjust and reformat a bit.
7503 * text.C (top_y): adjust
7505 (leftMargin): adjust
7506 (prepareToPrint): adjust
7508 (getRowNearY): adjust
7510 * lyxtext.h: make rowlist_ mutable.
7512 * RowList.h: add const_iterator
7513 * RowList.C: adjust for RowList::const_iterator.
7515 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7518 2003-03-31 John Levon <levon@movementarian.org>
7521 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7523 * lyx_main.C: set default fonts from using lyx_gui funcs
7525 * exporter.C: pdf_mode moved from lyxrc
7528 * lyxfunc.C: changes from above
7530 2003-03-31 John Levon <levon@movementarian.org>
7532 * lyx_main.C: fix to the last fix
7534 2003-03-31 John Levon <levon@movementarian.org>
7536 * bufferlist.C: "Load original" -> "Load Original"
7542 * format.C: more Alert cleanups
7544 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * text2.C (removeParagraph): make it take a RowList::iterator as
7548 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7549 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7551 * text.C (anchor_row): make it take a RowList::iterator as arg,
7553 (computeBidiTables): make it take a const reference to Row instead
7554 of Row pointer, adjust.
7555 (leftMargin): make it take a RowList::iterator as arg, adjust.
7556 (rowBreakPoint): adjust
7557 (breakAgainOneRow): make it take a RowList::iterator as arg,
7559 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7561 * bufferview_funcs.C (toggleAndShow): adjust
7563 2003-03-30 John Levon <levon@movementarian.org>
7567 * boost-inst.C: moved to support
7569 * several files: changes as a result
7571 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7573 * text2.C (LyXText): adjust.
7575 (removeRow): make it take a RowList::iterator as arg, adjust.
7576 (fullRebreak): adjust
7577 (deleteEmptyParagraphMechanism): adjust
7578 (clearPaint): adjust
7581 * text.C (top_y): adjust
7582 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7583 (breakAgain): make it take a RowList::iterator as arg, adjust.
7584 (breakParagraph): adjust
7585 (insertChar): adjust
7588 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7589 need_break_row, and refresh_row.
7591 * text3.C (dispatch): adjust
7593 * text2.C (checkParagraph): adjust
7595 (setCursorFromCoordinates): adjust
7597 * text.C (top_y): adjust
7599 (getRow): make it return a RowList::iterator, adjust
7600 (getRowNearY): make it return a RowList::iterator, adjust
7602 * text2.C (init): adjust
7603 (insertRow): remove function
7604 (insertParagraph): adjust
7605 (redoParagraphs): adjust
7606 (fullRebreak): adjust
7607 (updateCounters): adjust
7609 * text.C (top_y): rewrite to use RowList iterators.
7611 (setHeightOfRow): rewrite to sue RowList iterators.
7612 (appendParagraph): adjust
7613 (breakAgain): adjust
7614 (breakAgainOneRow): adjust
7615 (breakParagraph): adjust
7617 (getRowNearY): adjust, and remove commented code.
7619 * lyxtext.h (firstRow): delete function
7620 (lastRow): delete function
7621 (rows): new function (const and non-const versions.)
7622 (insertRow): delete function
7624 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7626 2003-03-29 John Levon <levon@movementarian.org>
7628 * BufferView_pimpl.C: always update scrollbar top
7629 because pasting text when we're anchored could mean we
7630 miss an update altogether
7632 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7634 * text2.C (init): use rowlist_.end() and not 0.
7635 (insertRow): change to take a RowList::iterator as arg, adjust
7637 (insertParagraph): change to take a RowList::iterator as arg,
7639 (redoParagraphs): remove some debug msgs.
7641 * text.C (appendParagraph): change to take a RowList::iterator
7642 arg, adjust for this.
7643 (breakAgain): add an assert
7644 (breakAgainOneRow): ditto
7646 2003-03-29 John Levon <levon@movementarian.org>
7648 * text2.C: do not clear selection after inc/decDepth
7651 2003-03-29 John Levon <levon@movementarian.org>
7654 * buffer.C: fix broken strerrors according to Lars
7656 2003-03-29 John Levon <levon@movementarian.org>
7658 * converters.C: more Alert cleanups
7660 2003-03-29 John Levon <levon@movementarian.org>
7662 * bufferview_funcs.C: remove pointless Alert
7664 * buffer.C: fix confusing error message when
7665 a template is chmoded 000
7667 2003-03-29 John Levon <levon@movementarian.org>
7671 * BufferView_pimpl.C: Alert fixes
7675 * tabular-old.C: remove unused table compat reading
7677 2003-03-29 John Levon <levon@movementarian.org>
7682 * lyx_cb.C: more Alert cleanups
7684 * lyxfunc.C: don't allow chktex if not latex document
7686 2003-03-29 John Levon <levon@movementarian.org>
7690 * buffer.C: warnings pushed down from support/,
7693 2003-03-29 John Levon <levon@movementarian.org>
7695 * lyxfunc.C: safety check for C-r (revert)
7697 2003-03-29 John Levon <levon@movementarian.org>
7700 * bufferlist.C: several UI fixes using Alert::prompt.
7701 Fix the pointless looping quit code. Fix stupid revert
7706 * lyx_cb.C: use Alert::prompt
7708 * lyx_main.C: remove a silly question
7710 * lyxfunc.C: remove a couple of silly questions,
7713 2003-03-28 John Levon <levon@movementarian.org>
7715 * text2.C: fix bug 974 (End on empty par)
7717 2003-03-28 John Levon <levon@movementarian.org>
7719 * BufferView_pimpl.C:
7721 * lfuns.h: remove do-nothing math greek lfuns
7723 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * lyxgluelength.h (isValidGlueLength): add default arg on
7726 parameter 2. Remove default arg from friend in class.
7728 * lyxlength.h (isValidLength): add default arg on parameter 2.
7729 Remove default arg from friend in class.
7731 * text2.C (LyXText): adjust, initialize refresh_row.
7735 (insertParagraph): adjst
7736 (redoParagraphs): adjust
7737 (fullRebreak): adjust
7738 (updateCounters): adjust
7739 (deleteEmptyParagraphMechanism): first attempt at fixing a
7742 * text.C (top_y): adjust
7743 (setHeightOfRow): adjust
7745 (getRowNearY): adjust
7747 * lyxtext.h: include RowList.h
7748 (~LyXText): not needed anymore, deleted.
7749 (firstRow): modify for RowList
7750 (lastRow): new function
7751 Delete firstrow and lastrow class variables, add a Rowlist
7752 rowlist_ class variable.
7754 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7757 * RowList.C (insert): fix case where it == begin().
7759 2003-03-26 Angus Leeming <leeming@lyx.org>
7761 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7762 the thesaurus dialog.
7764 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7768 * RowList.[Ch]: new files
7770 * ParagraphList.C (erase): handle the case where it == begin
7773 2003-03-25 John Levon <levon@movementarian.org>
7777 * aspell.C: add new aspell support
7780 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7783 2003-03-25 Angus Leeming <leeming@lyx.org>
7786 * LyXAction.C (init): new LFUN_INSET_INSERT.
7788 * BufferView_pimpl.C (dispatch): split out part of the
7789 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7791 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7794 2003-03-25 Angus Leeming <leeming@lyx.org>
7796 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7798 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7801 * text3.C: remove useless row->height(0)
7803 2003-03-25 John Levon <levon@movementarian.org>
7807 * text3.C: rename the refreshing stuff to better names
7809 2003-03-24 John Levon <levon@movementarian.org>
7811 * BufferView_pimpl.h:
7812 * BufferView_pimpl.C: update layout choice on a mouse
7815 2003-03-23 John Levon <levon@movementarian.org>
7817 * Makefile.am: fix commandtags.h reference
7819 2003-03-22 John Levon <levon@movementarian.org>
7821 * BufferView_pimpl.C:
7826 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7828 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7831 * text.C: take the rtl methods out of line
7833 2003-03-21 André Pönitz <poenitz@gmx.net>
7835 * metricsinfo.[Ch]: new files containing structures to be passed around
7836 during the two-phase-drawing...
7838 2003-03-21 André Pönitz <poenitz@gmx.net>
7840 * lyxtextclass.C: read 'environment' tag.
7842 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7844 * text2.C (removeRow): fix bug 964
7846 2003-03-20 John Levon <levon@movementarian.org>
7850 * text2.C: paint cleanups. Inset::update() dropped font
7853 2003-03-19 John Levon <levon@movementarian.org>
7855 * lyxfunc.C: only fitcursor/markDirty if available()
7857 2003-03-19 John Levon <levon@movementarian.org>
7859 * commandtags.h: rename to ...
7861 * lfuns.h: ... this, and renumber / cleanup
7863 2003-03-19 John Levon <levon@movementarian.org>
7865 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7866 fit the cursor after an lfun
7870 * BufferView_pimpl.h:
7871 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7873 * LyXAction.C: layout-character should have ReadOnly
7875 * ParagraphParameters.C:
7877 * bufferview_funcs.C:
7884 * undo_funcs.C: changes from above
7886 2003-03-18 John Levon <levon@movementarian.org>
7888 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7889 remove it from update()
7891 * lyxfunc.C: update layout choice after an lfun
7893 * text3.C: remove extra updateLayoutChoice()s
7895 2003-03-18 John Levon <levon@movementarian.org>
7897 * text.C: top_y change means full repaint, fix
7898 a drawing bug with cursor movement
7900 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7904 * text2.C: anchor row on setCursor
7906 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7908 * lyxtext.h: remove almost all mutable keywords
7911 * text3.C: remove const keywords accordingly
7913 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7915 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7917 (TeXEnvironment): ditto
7920 2003-03-17 John Levon <levon@movementarian.org>
7922 * text.C (rowBreakPoint): remove attempt to fix displayed
7923 math insets inside a manual label
7925 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * lyxtext.h: remove BufferView* as first arg from almost all class
7929 * other files: adjust.
7931 2003-03-17 John Levon <levon@movementarian.org>
7935 * text2.C: more paint cleanups
7937 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7940 * rowpainter.C: remove "smart" background painting code
7942 2003-03-16 John Levon <levon@movementarian.org>
7947 * text3.C: add helper functions for setting refresh_row/y
7949 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7951 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7952 newline inset which *can* get inserted in the pass_thru layouts.
7953 This is primarily for literate documents.
7955 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7957 * buffer.C: increment LYX_FORMAT to 223
7959 2003-03-14 André Pönitz <poenitz@gmx.net>
7961 * textclass.h: prepare for environment handling, ws changes
7962 * lyxlayout.C: read latexheader and latexfooter tags
7964 2003-03-14 John Levon <levon@movementarian.org>
7966 * text2.C: rewrite ::status() a bit
7968 2003-03-13 John Levon <levon@movementarian.org>
7970 * lyxtext.h: add some docs
7972 2003-03-13 John Levon <levon@movementarian.org>
7977 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7979 2003-03-13 John Levon <levon@movementarian.org>
7981 * text3.C: fix appendix redrawing
7983 2003-03-13 John Levon <levon@movementarian.org>
7985 * text.C (setHeightOfRow):
7987 * rowpainter.C: make appendix mark have the text
7988 "Appendix" so the user knows what it is
7991 * LColor.C: s/appendixline/appendix/ from above
7993 2003-03-13 John Levon <levon@movementarian.org>
7995 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7997 * text.C: fix a getChar(pos) bug properly
7999 2003-03-13 Angus Leeming <leeming@lyx.org>
8002 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8003 Probably only temporary. Let's see how things pan out.
8005 * BufferView.C (unlockInset):
8006 * BufferView_pimpl.C (fitCursor):
8007 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8009 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8010 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8012 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8013 new functions that convert ParagraphParameters to and from a string.
8015 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8016 BufferView::Pimpl's dispatch.
8017 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8019 2003-03-13 André Pönitz <poenitz@gmx.net>
8023 * factory.C: make it aware of InsetEnv
8025 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * text2.C (setCursor): never ask for one past last
8028 (setCursor): add some debugging messages.
8030 * text.C (singleWidth): never ask for one past last
8031 (singleWidth): ditto
8033 (rightMargin): ditto
8034 (rowBreakPoint): ditto
8035 (setHeightOfRow): ditto
8036 (prepareToPrint): ditto
8038 * rowpainter.C (paintBackground): never ask for one past last
8039 (paintText): never ask for one past last
8041 * paragraph_pimpl.C (getChar): make the assert stricter, never
8042 allow the one past last pos to be taken
8044 * paragraph.C (getChar): ws changes only
8046 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8047 (numberOfSeparators): ditto
8048 (numberOfHfills): ditto
8050 2003-03-12 John Levon <levon@movementarian.org>
8056 * paragraph_funcs.C: fix per-buffer authorlists
8058 2003-03-12 John Levon <levon@movementarian.org>
8060 * text.C: fix newline in right address
8062 2003-03-12 Angus Leeming <leeming@lyx.org>
8064 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8065 duplicate those in LyXFunc::dispatch.
8069 * ToolbarDefaults.C:
8070 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8071 Add LFUN_FONTFREE_UPDATE.
8073 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8074 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8076 * bufferview_func.[Ch]: several new functions to facilliate
8077 transfer of data to and from the character dialog.
8079 2003-03-12 John Levon <levon@movementarian.org>
8084 * paragraph_funcs.C:
8085 * paragraph_pimpl.C:
8089 * text3.C: remove META_NEWLINE in favour of an inset
8092 * rowpainter.C: remove paintNewline (done by inset)
8094 2003-03-12 John Levon <levon@movementarian.org>
8096 * paragraph_pimpl.C: complain about bad getChar()s
8097 for a while at least
8099 2003-03-12 John Levon <levon@movementarian.org>
8102 * buffer.C: move paragraph read into a separate function,
8103 a little renaming to reflect that.
8106 * bufferparams.C: remove the author_ids map, not necessary now
8109 * factory.C: moved Buffer::readInset to here
8111 * paragraph_funcs.h:
8112 * paragraph_funcs.C: readParagraph free function moved from
8115 * tabular.C: name change
8117 2003-03-12 John Levon <levon@movementarian.org>
8120 * ParagraphParameters.C: move par params input to
8123 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8124 behave like a normal read from the stream wrt reading
8125 a line vs. a \\token
8127 2003-03-12 John Levon <levon@movementarian.org>
8130 * ParagraphParameters.h:
8131 * ParagraphParameters.C: move output code to a
8134 2003-03-12 John Levon <levon@movementarian.org>
8136 * BufferView.C (insertLyXFile):
8139 * tabular.C: use a parlist iterator for creating the
8142 2003-03-12 John Levon <levon@movementarian.org>
8144 * buffer.C: make current_change static local not
8147 2003-03-12 John Levon <levon@movementarian.org>
8149 * buffer.C: fix insertStringAsLines for change tracking
8151 2003-03-12 John Levon <levon@movementarian.org>
8158 * bufferparams.C: move author list into params. Rename some
8159 functions. Move the header reading into a separate token
8160 loop. Move the header token reading into BufferParams.
8162 2003-03-12 John Levon <levon@movementarian.org>
8164 * changes.C: put debug inside lyxerr.debugging() checks
8166 2003-03-11 André Pönitz <poenitz@gmx.net>
8168 * factory.C: make it aware of InsetHFill
8170 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8172 * buffer.C (latexParagraphs): move function from here...
8173 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8176 2003-03-10 Angus Leeming <leeming@lyx.org>
8178 * LyXAction.C (init): fix bug in poplating array with multiple entries
8179 with the same LFUN (spotted by JMarc).
8181 2003-03-10 John Levon <levon@movementarian.org>
8184 * text2.C: move getColumnNearX() near its
8187 2003-03-10 John Levon <levon@movementarian.org>
8189 * text.C: fix break before a minipage
8191 2003-03-10 John Levon <levon@movementarian.org>
8193 * text.C: fix the last commit
8195 2003-03-09 John Levon <levon@movementarian.org>
8199 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8200 bug 365 (don't break before insets unless needed). Don't
8201 return a value > last under any circumstances.
8203 2003-03-09 Angus Leeming <leeming@lyx.org>
8205 * BufferView_pimpl.C (trackChanges, dispatch): call
8206 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8208 2003-03-09 Angus Leeming <leeming@lyx.org>
8210 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8211 than Dialogs::showAboutlyx().
8213 2003-03-09 Angus Leeming <leeming@lyx.org>
8215 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8216 than Dialogs::showTabularCreate().
8218 2003-03-09 John Levon <levon@movementarian.org>
8222 * text2.C: 3rd arg to nextBreakPoint was always the same.
8225 2003-03-08 John Levon <levon@movementarian.org>
8232 * text2.C: Remove the "main" bit from the "main body"
8235 2003-03-08 John Levon <levon@movementarian.org>
8237 * text.C (leftMargin): The left margin of an empty
8238 manual label paragraph should not include the label width
8241 * text.C (prepareToPrint): don't attempt to measure hfills
8242 for empty manual label paragraphs - the answer should be 0
8244 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * CutAndPaste.C: remove commented code and reindent.
8248 2003-03-08 John Levon <levon@movementarian.org>
8251 * lyxfunc.C: move reloadBuffer()
8254 * BufferView.C: to here
8256 * lyxvc.C: add comment
8259 * vc-backend.C: call bv->reload() to avoid
8260 getStatus() check on MENURELOAD
8262 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8264 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8265 to an old format .dep file.
8267 2003-03-07 Angus Leeming <leeming@lyx.org>
8269 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8270 when the LFUN_MOUSE_RELEASE should have been handled by
8271 inset->localDispatch.
8273 2003-03-07 Angus Leeming <leeming@lyx.org>
8275 * BufferView_pimpl.C (dispatch):
8276 * LyXAction.C (init):
8277 * ToolbarDefaults.C (init):
8279 * lyxfunc.C (getStatus):
8280 remove LFUN_INSET_GRAPHICS.
8282 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8284 2003-03-07 Angus Leeming <leeming@lyx.org>
8287 * LyXAction.C (init):
8288 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8290 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8293 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8295 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8296 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8298 2003-03-07 Angus Leeming <leeming@lyx.org>
8300 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8303 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8305 * ParagraphList.C (front): new function
8308 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8310 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8311 and top_row_offset_. removed var first_y.
8313 * text2.C (LyXText, removeRow):
8315 * BufferView_pimpl.C:
8316 use these methods instead of using first_y
8318 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8320 * text2.C (pasteSelection): adjust for checkPastePossible
8322 * CutAndPaste.C: remove Paragraph * buf and replace with
8323 ParagraphList paragraphs.
8324 (DeleteBuffer): delete
8325 (cutSelection): change the tc type to textclass_type
8326 (copySelection): change the tc type to textclass_type
8327 (copySelection): adjust for ParagraphList
8328 (pasteSelection): change the tc type to textclass_type
8329 (pasteSelection): adjust for Paragraphlist
8330 (nrOfParagraphs): simplify for ParagraphList
8331 (checkPastePossible): simplify for ParagraphList
8332 (checkPastePossible): remove unused arg
8334 * ParagraphList.C (insert): handle the case where there are no
8337 * CutAndPaste.h: make CutAndPaste a namespace.
8339 * text3.C (dispatch): adjust
8341 * text.C (breakParagraph): add a ParagraphList as arg
8343 * paragraph_funcs.C (breakParagraph): change to take a
8344 BufferParams and a ParagraphList as args.
8345 (breakParagraphConservative): ditto
8346 (mergeParagraph): ditto
8347 (TeXDeeper): add a ParagraphList arg
8348 (TeXEnvironment): ditto
8351 * buffer.C (readLyXformat2): adjust
8352 (insertStringAsLines): adjust
8353 (latexParagraphs): adjust
8355 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8356 (cutSelection): adjust
8357 (pasteSelection): adjust
8359 * BufferView_pimpl.C (insertInset): adjust
8361 2003-03-05 Angus Leeming <leeming@lyx.org>
8364 * LyXAction.C (init):
8365 * BufferView_pimpl.C (dispatch):
8366 * lyxfunc.C (getStatus):
8367 remove LFUN_CHILD_INSERT.
8369 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8371 2003-03-05 Angus Leeming <leeming@lyx.org>
8374 * LyXAction.C (init):
8375 * src/factory.C (createInset):
8376 * lyxfunc.C (getStatus):
8377 * text3.C (dispatch):
8378 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8380 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8382 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8384 * ParagraphList.C (insert): handle insert right before end()
8385 (erase): fix cases where it can be first or last paragraph.
8387 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8389 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8390 Paragraph::next and Paragraph::previous
8393 * text.C (breakParagraph): adjust
8395 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8396 BufferParams& as arg.
8397 (breakParagraph): use ParagraphList::insert
8398 (breakParagraphConservative): take a Buffer* instead of a
8399 BufferParams& as arg.
8400 (breakParagraphConservative): use ParagraphList::insert.
8402 * buffer.C (insertStringAsLines): un-const it
8403 (insertStringAsLines): adjust
8405 * ParagraphList.C (insert): new function
8407 * CutAndPaste.C (pasteSelection): adjust
8409 * text.C (backspace): adjust
8411 * tabular.C (SetMultiColumn): adjust
8413 * CutAndPaste.C (cutSelection): adjust
8414 (pasteSelection): adjust
8416 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8417 Buffer const * as arg
8419 * ParagraphList.C (erase): new function
8420 * paragraph_funcs.C (mergeParagraph): use it
8421 (mergeParagraph): make it take a Buffer* instead of a
8422 BufferParams* as arg
8424 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8426 (breakParagraphConservative): ditto
8428 * paragraph.h: remove the breakParagraph friend
8430 * paragraph.C (eraseIntern): new function
8431 (setChange): new function
8433 * paragraph_funcs.C (mergeParagraph): make it take a
8434 ParagraphList::iterator instead of a Paragraph *, adjust
8437 * paragraph.h: move an #endif so that the change tracking stuff
8438 also works in the NO_NEXT case.
8440 2003-03-04 Angus Leeming <leeming@lyx.org>
8443 * LyXAction.C: new LFUN_INSET_MODIFY.
8445 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8446 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8448 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8450 * several files: ws changes only
8452 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8453 (TeXEnvironment): ditto
8456 * buffer.C (makeLaTeXFile): adjust
8457 (latexParagraphs): make it take ParagraphList::iterator as args
8459 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8461 * buffer.C (latexParagraphs): adjust
8463 * paragraph.C (TeXOnePar): move function...
8464 (optArgInset): move function...
8465 (TeXEnvironment): move function...
8466 * paragraph_pimpl.C (TeXDeeper): move function...
8467 * paragraph_funcs.C: ...here
8469 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8471 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8473 * buffer.C (readInset): remove compability code for old Figure and
8476 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8478 * buffer.C: ws changes
8481 * BufferView_pimpl.C: ditto
8484 * bufferlist.h: ditto
8488 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8490 * converter.[Ch]: split into itself +
8493 * Makefile.am: += graph.[Ch] + format.[Ch]
8500 * lyxrc.C: added #include "format.h"
8502 2003-02-27 Angus Leeming <leeming@lyx.org>
8504 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8507 * factory.C (createInset): add "label" to the factory.
8509 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8510 string and do no more.
8512 2003-02-27 Angus Leeming <leeming@lyx.org>
8515 * LyXAction.C (init):
8516 * factory.C (createInset):
8517 * BufferView_pimpl.C (dispatch):
8518 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8520 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8522 * lyxfunc.C (dispatch):
8523 * text3.C (dispatch): pass name to params2string.
8525 2003-02-26 Angus Leeming <leeming@lyx.org>
8527 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8529 Rearrange the ~includes. Strip out the unnecessary ones.
8531 * factory.C (createInset): reformat.
8532 create new insets for the various LFUN_XYZ_APPLY lfuns.
8534 2003-02-26 John Levon <levon@movementarian.org>
8537 * lyxrow.C: add isParStart,isParEnd helpers
8539 * paragraph.h: make isInserted/DeletedText take refs
8541 * paragraph_funcs.h:
8542 * paragraph_funcs.C: remove #if 0'd code
8547 * text.C: use lyxrow helpers above.
8548 Move draw and paint routines to RowPainter.
8549 Make several methods use refs not pointers.
8550 Make backgroundColor() const.
8551 Add markChangeInDraw(), isInInset().
8552 Merge changeRegionCase into changeCase.
8553 Make workWidth() shouldn't-happen code into an Assert.
8556 * rowpainter.C: new class for painting a row.
8559 * vspace.C: make inPixels take a ref
8561 2003-02-26 Angus Leeming <leeming@lyx.org>
8563 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8566 2003-02-25 John Levon <levon@movementarian.org>
8568 * ispell.C: give the forked command a more accurate name
8570 2003-02-22 John Levon <levon@movementarian.org>
8573 * toc.C: make TocItem store an id not a Paragraph *
8576 2003-02-21 Angus Leeming <leeming@lyx.org>
8578 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8579 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8580 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8581 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8582 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8583 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8585 * BufferView_pimpl.C (dispatch):
8586 * LyXAction.C (init):
8587 * factory.C (createInset):
8588 * lyxfunc.C (getStatus, dispatch):
8589 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8591 2003-02-21 Angus Leeming <leeming@lyx.org>
8593 * BufferView_pimpl.C (MenuInsertLyXFile):
8594 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8595 * lyxfunc.C (menuNew, open, doImport):
8596 no longer pass a LyXView & to fileDlg.
8598 2003-02-21 Angus Leeming <leeming@lyx.org>
8600 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8601 * LyXAction.C: change, BIBKEY to BIBITEM.
8602 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8603 Change InsetBibKey to InsetBibitem.
8604 Change BIBKEY_CODE to BIBITEM_CODE.
8605 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8606 * factory.C: replace insetbib.h with insetbibitem.h.
8607 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8608 * paragraph.C: replace insetbib.h with insetbibitem.h.
8609 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8610 Change bibkey() to bibitem().
8611 * text.C: remove insetbib.h.
8612 * text2.C: replace insetbib.h with insetbibitem.h.
8613 change bibkey() to bibitem().
8614 * text3.C: remove insetbib.h.
8615 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8617 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8619 * lyxrc.C (output): enclose user email in quotes (in case there are
8622 2003-02-18 John Levon <levon@movementarian.org>
8624 * buffer.h: add std::
8626 2003-02-17 John Levon <levon@movementarian.org>
8632 * pspell.C: reworking. Especially in ispell, a large
8633 number of clean ups and bug fixes.
8635 * lyxfunc.C: fix revert to behave sensibly
8637 2003-02-17 André Pönitz <poenitz@gmx.net>
8640 * commandtags.h: new LFUN_INSERT_BIBKEY
8650 * paragraph_func.C: remove special bibkey handling
8652 2003-02-17 John Levon <levon@movementarian.org>
8654 * text.C (Delete): fix case where delete at the end of
8655 the very first paragraph would not merge the pars
8657 2003-02-17 John Levon <levon@movementarian.org>
8659 * lyxrow.C: fix lastPrintablePos()
8661 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8663 * bufferparams.C (writeLaTeX): add a std:here
8665 * buffer.C: and remove a using directive there
8667 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8669 * buffer.C (makeLaTeXFile): move the code that generates the
8672 * bufferparams.C (writeLaTeX): ... in this new method
8674 * LaTeXFeatures.C (getEncodingSet): make const
8675 (getLanguages): make const
8677 * MenuBackend.C (binding): returns the binding associated to this
8679 (add): sets the status of each item by calling getStatus. Adds
8681 (read): add support for OptSubMenu
8682 (expand): remove extra separator at the end of expanded menu
8684 2003-02-15 John Levon <levon@movementarian.org>
8687 * BufferView_pimpl.C:
8689 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8690 inset code that had no actual effect. Remove unneeded status
8693 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8695 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8698 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8700 * text.C (drawLengthMarker): also draw an arrow marker for
8701 symbolic lengths (medskip...)
8703 2003-02-14 John Levon <levon@movementarian.org>
8706 * tabular.C: better method names
8708 2003-02-14 John Levon <levon@movementarian.org>
8710 * BufferView_pimpl.C:
8715 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8716 it's a more accurate name. Remove some pointless uses.
8718 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8720 * text2.C (LyXText): change order of initilizers to shut off
8723 2003-02-14 John Levon <levon@movementarian.org>
8725 * buffer.C: use ParIterator for getParFromID()
8729 * paragraph_pimpl.h:
8730 * paragraph_pimpl.C: remove unused getParFromID()
8732 2003-02-14 John Levon <levon@movementarian.org>
8734 * buffer.C: remove some very old #if 0'd parse code
8736 2003-02-13 John Levon <levon@movementarian.org>
8740 * text2.C: move hfillExpansion(), numberOfSeparators(),
8741 rowLast(), rowLastPrintable(), numberofHfills(),
8742 numberOfLabelHfills() ...
8745 * lyxrow.C: ... to member functions here.
8750 * text.C: remove LyXText::beginningOfMainBody(), and call
8751 p->beginningOfMainBody() directly. Move the check for
8752 LABEL_MANUAL into the latter.
8759 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8765 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8766 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8768 2003-02-13 John Levon <levon@movementarian.org>
8770 * CutAndPaste.C: remove debug
8772 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8774 * paragraph.C (asString): remove two unused variables
8776 * lyxtextclass.C (readTitleType):
8778 (LyXTextClass): handle new members titletype_ and titlename_
8780 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8782 2003-02-09 John Levon <levon@movementarian.org>
8785 * buffer.C: replace hand-coded list with a map for the dep clean
8787 2003-02-08 John Levon <levon@movementarian.org>
8789 * LaTeX.C: consolidate code into showRunMessage() helper
8791 2003-02-08 John Levon <levon@movementarian.org>
8796 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8797 and pass the size in explicitly
8799 * BufferView_pimpl.h:
8800 * BufferView_pimpl.C:
8802 * BufferView.C: add getCurrentChange()
8804 * BufferView_pimpl.h:
8805 * BufferView_pimpl.C: handle change lfuns
8807 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8808 for changes. Mark pasted paragraphs as new.
8810 * support/lyxtime.h:
8811 * support/lyxtime.C:
8812 * DepTable.C: abstract time_t as lyx::time_type
8815 * LColor.C: add colours for new text, deleted text, changebars
8817 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8818 package use "usenames" option.
8822 * LyXAction.C: add change lfuns
8826 * author.C: author handling
8829 * buffer.C: add a per-buffer author list, with first entry as
8830 current author. Handle new .lyx tokens for change tracking. Output
8831 author list to .lyx file. Output dvipost stuff to .tex preamble.
8832 Bump lyx format to 222.
8835 * bufferlist.C: add setCurrentAuthor() to reset current author details
8839 * bufferparams.C: add param for tracking
8841 * bufferview_funcs.C: output change info in minibuffer
8845 * changes.C: add change-tracking structure
8848 * debug.C: add CHANGES debug flag
8851 * lyxfind.C: add code for finding the next change piece
8854 * lyxrc.C: add user_name and user_email
8857 * lyxrow.C: add a metric for the top of the text line
8860 * text.C: implement accept/rejectChange()
8863 * text.C: paint changebars. Paint new/deleted text in the chosen
8864 colours. Strike through deleted text.
8868 * paragraph_pimpl.h:
8869 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8870 in the current change to the insert functions. Rework erase to
8871 mark text as deleted, adding an eraseIntern() and a range-based
8872 erase(). Implement per-paragraph change lookup and
8875 * paragraph_funcs.C: Fixup paste for change tracking.
8877 * tabular.C: mark added row/columns as new.
8879 * text.C: fix rowLast() to never return -1. Don't allow
8880 spellchecking of deleted text. Track transpose changes. Don't
8881 allow paragraph break or merge where appropriate.
8883 * text2.C: leave cursor at end of selection after a cut.
8885 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8887 * text.C (getLengthMarkerHeight):
8888 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8889 visible on screen too.
8891 2003-02-07 John Levon <levon@movementarian.org>
8893 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8895 2003-02-05 Angus Leeming <leeming@lyx.org>
8897 * lyxserver.C (read_ready): revert my patch of 11 September last year
8898 as it sends PC cpu through the roof. Presumably this means that
8899 the lyxserver will no longer run on an Alpha...
8901 2003-01-30 Angus Leeming <leeming@lyx.org>
8903 * factory.C (createInset): create an InsetCommandParam of type "index"
8904 and use it to 'do the right thing'.
8906 * text2.C (getStringToIndex): ensure that cursor position is always
8907 reset to the reset_cursor position.
8909 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8911 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8914 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8918 * lyxfunc.C: Output messages with identical spelling, punctuation,
8921 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8923 * MenuBackend.C (expandFormats): List only viewable export formats
8926 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8929 * lyxfunc.C (getStatus): Make sure that formats other than
8930 "fax" can also be disabled
8932 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8934 * text3.C (dispatch): put the lfuns that insert insets in 3
8935 groups, and call doInsertInset with appropriate arguments.
8936 (doInsertInset): new function, that creates an inset and inserts
8937 it according to some boolean parameters.
8939 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8941 * buffer.C (readFile): remember to pass on 'par' when calling
8942 readFile recursively.
8944 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8946 * MenuBackend.C (expandFormats): add "..." to import formats.
8948 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8950 * paragraph.C (asString): Remove XForms RTL hacks.
8952 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8953 * buffer.C: fix typo
8955 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8957 * Makefile.am (LIBS): delete var
8958 (lyx_LDADD): add @LIBS@ here instead.
8960 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8962 * Clarify the meaning of "wheel mouse jump"
8964 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8966 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8969 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8971 * importer.C (Loaders): do not preallocate 3 elements in the
8972 vector, since one ends up with 6 elements otherwise
8974 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8976 * DepTable.C (write): write the file name as last element of the
8977 .dep file (because it may contain spaces)
8978 (read): read info in the right order
8980 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8982 * paragraph_pimpl.C (simpleTeXBlanks):
8983 (simpleTeXSpecialChars):
8984 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8986 * tabular.C (latex): add some missing case statements. Reindent.
8988 * MenuBackend.C (expandToc): remove unused variable.
8990 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8999 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9002 2003-01-05 John Levon <levon@movementarian.org>
9005 * BufferView.C: add getEncoding()
9008 * kbsequence.C: do not store last keypress
9011 * lyxfunc.C: store last keypress here instead. Pass encoding
9014 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9016 * lyx_main.C (init): remove annoying error message when following
9017 symbolic links (bug #780)
9019 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9021 * text.C (insertChar):
9022 * lyxrc.C (getDescription): remove extra spaces
9024 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9026 * lyxrc.C (getDescription): remove extra spaces
9028 2002-12-20 John Levon <levon@movementarian.org>
9030 * text3.C: hack fix for page up/down across tall rows
9032 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9034 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9037 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9039 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9040 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9041 thesaurus is not compiled in
9043 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9045 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9047 2002-12-16 Angus Leeming <leeming@lyx.org>
9050 * lyx_main.C (init): remove override_x_deadkeys stuff.
9052 2002-12-12 John Levon <levon@movementarian.org>
9054 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9055 insert. Only remove shift modifier under strict
9058 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9060 * MenuBackend.C (expandToc): fix crash.
9062 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9064 * MenuBackend.C (expandToc): gettext on float names.
9066 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9068 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9069 implement bool empty() [bug 490]
9071 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9073 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9075 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9077 * several files: ws changes
9079 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9081 * text2.C (setCounter): clean up a bit, use boost.format.
9082 (updateCounters): initialize par upon declaration.
9084 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9085 if the layout exists. We do not just store the layout any more.
9086 (SwitchLayoutsBetweenClasses): use boost.format
9088 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9090 * converter.C (convert): if from and to files are the same, use a
9091 temporary files as intermediary
9093 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9096 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9098 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9100 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9102 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9104 * tabular.C (asciiPrintCell): use string(size, char) instead of
9107 * sgml.C (openTag): fix order of arguments to string constructor
9110 * lyxfunc.C (dispatch): use boost.format
9112 * lots of files: change "c" -> 'c'
9114 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9116 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9118 2002-11-25 Angus Leeming <leeming@lyx.org>
9120 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9122 * lyx_main.C (init): compile fix.
9124 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9126 * lyx_cb.C (start): boost.formatify
9127 do not include <iostream>
9129 * lengthcommon.C: ws only
9131 * boost-inst.C,BoostFormat.h: add more explict instantations
9133 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9135 * lots of files: handle USE_BOOST_FORMAT
9137 2002-11-21 John Levon <levon@movementarian.org>
9139 * pspell.C: fix compile
9141 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * lyxfunc.C (dispatch): use boost::format
9147 * lyxfont.C (stateText): use boost::format
9149 * lyx_main.C (LyX): use boost::format
9151 (queryUserLyXDir): ditto
9154 (typedef boost::function): use the recommened syntax.
9156 * importer.C (Import): use boost::format
9158 * debug.C (showLevel): use boost::format
9160 * converter.C (view): use boost::format
9165 * bufferview_funcs.C (currentState): use boost::format
9167 * bufferlist.C (emergencyWrite): use boost::format
9169 * buffer.C (readLyXformat2): use boost::format
9170 (parseSingleLyXformat2Token): ditto
9172 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9174 * LaTeX.C (run): use boost::format
9176 * Chktex.C (scanLogFile): use boost::format
9178 * BufferView_pimpl.C (savePosition): use boost::format
9179 (restorePosition): ditto
9180 (MenuInsertLyXFile): ditto
9182 * BoostFormat.h: help file for explicit instation.
9184 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9186 * tabular.C (latex): Support for block alignment in fixed width
9189 2002-11-17 John Levon <levon@movementarian.org>
9191 * BufferView_pimpl.C:
9193 * lyxfunc.C: split filedialog into open/save
9195 2002-11-08 Juergen Vigna <jug@sad.it>
9197 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9198 by my last patch (hopefully).
9200 2002-11-08 John Levon <levon@movementarian.org>
9209 * toc.C: ParConstIterator, and use it (from Lars)
9211 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9213 * lyxtextclass.[Ch]: revise and add doxygen comments
9215 2002-11-07 John Levon <levon@movementarian.org>
9217 * text.C: fix progress value for spellchecker
9219 * toc.C: fix navigate menu for insetwrap inside minipage
9221 * paragraph_funcs.C: added FIXME for suspect code
9223 2002-11-07 John Levon <levon@movementarian.org>
9225 * BufferView_pimpl.C: fix redrawing of insets
9228 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9230 * text2.C (updateCounters): fix bug 668
9232 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9234 * text3.C (dispatch): Do not make the buffer dirty when moving the
9237 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9239 * vc-backend.C: STRCONV
9242 * text2.C (setCounter): STRCONV
9244 * paragraph.C (asString): STRCONV
9246 * lyxlength.C (asString): STRCONV
9247 (asLatexString): ditto
9249 * lyxgluelength.C (asString): STRCONV
9250 (asLatexString): ditto
9252 * lyxfunc.C (dispatch): STRCONV
9255 * lyxfont.C (stateText): STRCONV
9257 * importer.C (Import): STRCONV
9259 * counters.C (labelItem): STRCONV
9260 (numberLabel): ditto
9261 (numberLabel): remove unused ostringstream o
9266 * bufferview_funcs.C (currentState): STRCONV
9268 * buffer.C (readFile): STRCONV
9269 (asciiParagraph): ditto
9270 (makeLaTeXFile): ditto
9272 * Spacing.C (writeEnvirBegin): STRCONV
9274 * LaTeXFeatures.C (getLanguages): STRCONV
9275 (getPackages): ditto
9277 (getBabelOptions): ditto
9278 (getTClassPreamble): ditto
9279 (getLyXSGMLEntities): ditto
9280 (getIncludedFiles): ditto
9284 (scanAuxFile): ditto
9287 * LString.h: add the STRCONV macros
9289 * BufferView_pimpl.C (savePosition): STRCONV
9290 (restorePosition): ditto
9291 (MenuInsertLyXFile): ditto
9293 * vc-backend.C (scanMaster): change from submatch[...] to
9296 * funcrequest.C: include config.h
9298 * factory.C: include config.h
9300 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9302 * box.C: include config.h
9304 * LaTeX.C (scanAuxFile): change from submatch[...] to
9308 2002-10-25 Angus Leeming <leeming@lyx.org>
9310 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9312 * ispell.[Ch] (setError): new method.
9313 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9314 Use setError() insetead of goto END.
9316 * lyx_cb.C (AutoSave): move out child process into new class
9319 2002-10-30 John Levon <levon@movementarian.org>
9321 * text3.C: make start appendix undoable
9323 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9325 * lyxlength.C (inPixels): Fix returned value.
9327 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9330 2002-10-24 Angus Leeming <leeming@lyx.org>
9332 * lyxgluelength.h: no need to forward declare BufferParams
9333 or BufferView, so don't.
9335 2002-10-21 John Levon <levon@movementarian.org>
9337 * BufferView.C: menuUndo ->undo, redo
9339 * BufferView.h: document, remove dead, make some methods private
9341 * paragraph_funcs.h:
9342 * paragraph_funcs.C:
9343 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9348 * sgml.C: move sgml open/close tag into sgml.C
9350 * bufferview_funcs.h: unused prototype
9353 * lyxfunc.C: remove unused
9356 * text.C: remove unused
9358 2002-10-21 John Levon <levon@movementarian.org>
9362 * BufferView_pimpl.h:
9363 * BufferView_pimpl.C: fix mouse wheel handling based on
9364 patch from Darren Freeman
9366 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9368 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9370 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9372 * lyxlength.C (inPixels): Fix hanfling of negative length.
9373 Fix LyXLength::MU case.
9375 2002-10-16 John Levon <levon@movementarian.org>
9377 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9379 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9381 * converter.C (view): add support for $$i (file name) and $$p
9382 (file path) for the viewer command. If $$i is not specified, then
9383 it is appended to the command (for compatibility with old syntax)
9385 2002-10-14 Juergen Vigna <jug@sad.it>
9387 * undo_funcs.C (textHandleUndo): alter the order in which the
9388 new undopar is added to the LyXText, as we have to set first
9389 the right prev/next and then add it as otherwise the rebuild of
9390 LyXText is not correct. Also reset the cursor to the right paragraph,
9391 with this IMO we could remove the hack in "redoParagraphs()".
9393 2002-10-09 Angus Leeming <leeming@lyx.org>
9395 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9396 to turn off an optimisation if a new inset is to be inserted.
9398 2002-10-11 André Pönitz <poenitz@gmx.net>
9400 * lyxtext.h: make some functions public to allow access
9401 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9403 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9405 * text3.C (dispatch): when changing layout, avoid an infinite loop
9408 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9410 * lyxrc.C (read): treat a viewer or converter command of "none" as
9413 * MenuBackend.C (expandFormats): for an update, also allow the
9414 formats that are not viewable
9416 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9417 script if it is newer than the lyxrc.defaults in user directory
9419 2002-10-07 André Pönitz <poenitz@gmx.net>
9421 * text.C: Vitaly Lipatov's small i18n fix
9423 2002-09-25 Angus Leeming <leeming@lyx.org>
9425 * ispell.h: doxygen fix.
9427 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9429 * buffer.h (readFile): Add a new argument to the method, to allow
9430 reading of old-format templates.
9432 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9434 * toc.C (getTocList): Get TOC from InsetWrap.
9436 2002-09-16 John Levon <levon@movementarian.org>
9438 * lyxfunc.C: check tabular for cut/copy too
9440 2002-09-12 John Levon <levon@movementarian.org>
9445 * factory.C: add header
9447 * paragraph_funcs.h:
9448 * paragraph_funcs.C: cleanup
9450 2002-09-11 John Levon <levon@movementarian.org>
9452 * PrinterParams.h: odd/even default to true
9454 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9456 * PrinterParams.h: update printer parameters for new xforms dialog
9458 2002-09-11 Angus Leeming <leeming@lyx.org>
9460 * lyxserver.C (read_ready): re-write to make it more transparent
9461 and to make it work in coherent fashion under Tru64 Unix.
9463 2002-09-11 André Pönitz <poenitz@gmx.net>
9467 * text3.C: implement LFUN_WORDSEL
9469 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9471 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9472 make floatlist_ a boost::shared_ptr<FloatList>
9474 * lyxtextclass.C: include FloatList.h
9475 (LyXTextClass): initialize floatlist_
9476 (TextClassTags): add TC_NOFLOAT
9477 (Read): match "nofloat" to TC_NOFLOAT and use it.
9478 (readFloat): modify call to floatlist_
9482 * FloatList.[Ch] (FloatList): remove commented out float
9484 (erase): new function
9486 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9488 * MenuBackend.C (expandToc): fix crash when there is no document
9491 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9493 * many files: Add insetwrap.
9495 2002-09-09 John Levon <levon@movementarian.org>
9497 * text2.C: remove confusing and awkward depth wraparound
9499 2002-09-09 John Levon <levon@movementarian.org>
9501 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9504 * buffer.C: remove getIncludeonlyList()
9507 * lyxfunc.C: remove headers
9509 2002-09-09 Juergen Vigna <jug@sad.it>
9511 * text.C (getColumnNearX): fix form Michael this is most
9512 probably a cut&paste bug.
9514 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9516 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9518 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9519 references, ws changes.
9521 * text2.C (init): update counters after init
9522 (insertParagraph): no need to set counter on idividual paragraphs.
9523 (setCounter): access the counters object in the textclass object
9524 on in the buffer object.
9525 (updateCounters): ditto
9527 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9528 shared_ptr<Counters> to avoid loading counters.h in all
9530 (LyXTextClass): initialize ctrs_
9531 (TextClassTags): add TC_COUNTER, and ...
9532 (Read): use it here.
9533 (CounterTags): new tags
9534 (readCounter): new function
9535 (counters): new funtion
9536 (defaultLayoutName): return a const reference
9538 * counters.C (Counters): remove contructor
9539 (newCounter): remove a couple of unneeded statements.
9540 (newCounter): simplify a bit.
9541 (numberLabel): some small formatting changes.
9543 * buffer.[Ch]: remove all traces of counters, move the Counters
9544 object to the LyXTextClass.
9546 2002-09-06 Alain Castera <castera@in2p3.fr>
9548 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9549 package to set the horizontal alignment on fixed width columns.
9552 * lyx_sty.h: added tabularnewline macro def.
9554 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9556 2002-09-06 John Levon <levon@movementarian.org>
9558 * LyXAction.C: tooltips for sub/superscript
9560 * MenuBackend.C: a bit more verbose
9562 * lyxfunc.C: tiny clean
9564 * undo_funcs.C: document undo_frozen
9566 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9568 * counters.C (Counters): add missing algorithm counter.
9570 * text2.C (setCounter): lookup the counter with layouts latexname
9571 instead of by section number.
9572 (setCounter): use a hackish way to lookup the correct enum
9574 a float name->type change
9575 reset enum couners with counter name directly instead of depth value.
9577 * counters.C (Counters): remove the push_backs, change to use the
9578 float type not the float name.
9579 (labelItem): remove unused string, float name->type change
9581 * counters.h: don't include vector, loose the enums and sects vectors
9583 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9585 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9586 (Read): add float->TC_FLOAT to textclassTags
9587 (Read): and handle it in the switch
9588 (readFloat): new function
9590 * FloatList.C (FloatList): comment out the hardcoded float
9593 * lyxlayout.h: ws change.
9595 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9597 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9599 2002-09-03 Angus Leeming <leeming@lyx.org>
9601 * BufferView_pimpl.h: qualified name is not allowed in member
9602 declaration: WorkArea & Pimpl::workarea() const;
9604 * factory.C: added using std::endl directive.
9606 * text3.C: added using std::find and std::vector directives.
9608 2002-08-29 André Pönitz <poenitz@gmx.net>
9611 * text2.C: remove unused member number_of_rows
9614 * BufferView2.C: remove file, move contents to...
9615 * BufferView.C: ... here
9617 * BufferView_pimpl.C:
9618 * factory.C: move more inset creation to factory
9620 * vspace.C: avoid direct usage of LyXText, ws changes
9623 don't provide direct access to WorkArea, use two simple
9624 acessors haveSelction() and workHeight() instead
9627 2002-08-29 John Levon <levon@movementarian.org>
9629 * BufferView_pimpl.C (dispatch): do not continue when
9632 2002-08-28 André Pönitz <poenitz@gmx.net>
9634 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9637 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9639 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9641 * buffer.C: increment LYX_FORMAT to 221
9643 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9644 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9646 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9648 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9650 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9652 * factory.C (createInset): use LyXTextClass::floats
9654 * MenuBackend.C (expandFloatListInsert):
9655 (expandFloatInsert):
9658 * text2.C (setCounter):
9660 * LaTeXFeatures.C (useFloat):
9661 (getFloatDefinitions):
9663 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9665 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9666 floatlist_, with accessor floats().
9668 * FloatList.h: remove global FloatList
9670 2002-08-26 André Pönitz <poenitz@gmx.net>
9672 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9676 * BufferView_pimpl.C:
9677 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9679 2002-08-25 John Levon <levon@movementarian.org>
9681 * LyXAction.C: fix margin note description
9683 2002-08-24 John Levon <levon@movementarian.org>
9687 * bufferview_funcs.C:
9689 * undo_funcs.C: cleanups
9691 * lyxfunc.C: disable CUT/COPY when no selection
9693 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9695 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9696 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9698 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9699 Add backward compatibility to "mono", "gray" and "no".
9701 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9703 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9704 (and file_format >= 200).
9706 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9708 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9710 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9712 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9714 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9716 * BufferView_pimpl.C:
9723 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9724 inset and code to make it work with the paragraph code. The inset
9725 can be anywhere in the paragraph, but will only do the expected
9726 thing in LaTeX if the layout file contains the parameter line
9728 (or more generally, a nonzero value) for that layout.
9730 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9732 * paragraph.h: remove the declaration of undefined counters class
9735 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9737 * text2.C (setCounter): fixed enumeration mis-count as reported by
9738 Dr. Richard Hawkins.
9740 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9742 * paragraph_funcs.h: remove some unneeded includes
9744 * text.C (backspace): pasteParagraph now in global scipe
9746 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9747 (pasteSelection): ditto
9749 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9750 * paragraph_funcs.C (pasteParagraph): ... here
9752 2002-08-20 André Pönitz <poenitz@gmx.net>
9754 * commandtags.h: new LFUNs for swapping/copying table row/colums
9757 * lyxfunc.C: support for new lfuns
9759 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9762 * buffer.[Ch]: remove NO_COMPABILITY stuff
9764 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9766 * boost.C (throw_exception): new file, with helper function for
9767 boost compiled without exceptions.
9772 * ParameterStruct.h:
9773 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9775 * bufferlist.C (emergencyWriteAll): use boost bind
9777 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9779 * text.C: include paragraph_funcs.h
9780 (breakParagraph): breakParagraph is now in global scope
9782 * paragraph_funcs.[Ch]: new files
9784 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9787 * buffer.C: include paragraph_funcs.h
9788 (insertStringAsLines): breakParagraph is now in global scope
9790 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9793 * CutAndPaste.C: include paragraph_funcs.h
9794 (cutSelection): breakParagraphConservative is now in global scope
9795 (pasteSelection): ditto
9797 * buffer.h: declare oprator== and operator!= for
9798 Buffer::inset_iterator
9800 * bufferlist.C (emergencyWrite): don't use fmt(...)
9802 * text3.C: add using std::endl
9804 * BufferView.C (moveCursorUpdate): remove default arg
9806 2002-08-20 André Pönitz <poenitz@gmx.net>
9808 * buffer.[Ch]: move inline functions to .C
9811 * BufferView_pimpl.C:
9813 * buffer.[Ch]: use improved inset_iterator
9816 * paragraph.[Ch]: write one paragraph at a time
9818 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9820 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9821 style if style is not specified.
9823 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * text2.C (setCounter): when searching for right label for a
9826 caption, make sure to recurse to parent insets (so that a caption
9827 in a minipage in a figure float works) (bug #568)
9829 2002-08-20 André Pönitz <poenitz@gmx.net>
9831 * text3.C: new file for LyXText::dispatch() and helpers
9833 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9835 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9837 2002-08-19 André Pönitz <poenitz@gmx.net>
9840 * text.C: new LyXText::dispatch()
9842 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9844 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9846 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9848 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9851 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9853 * Makefile.am: use $(variables) instead of @substitutions@
9855 2002-08-15 André Pönitz <poenitz@gmx.net>
9858 * BufferView_pimpl.C: streamlining mathed <-> outer world
9862 * LyXAction.C: remove unused LFUN_MATH
9864 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9866 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9868 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9870 * paragraph.C (Paragraph): reformat a bit
9871 (cutIntoMinibuffer): use builtin InsetList function instad of
9875 * buffer.C: include boost/bind.hpp, add using std::for_each
9876 (writeFileAscii): use ParagraphList iterators
9877 (validate): use for_each for validate traversal of paragraphs
9878 (getBibkeyList): use ParagraphList iterators
9879 (resizeInsets): use for_each to resizeInsetsLyXText for all
9881 (getParFromID): use ParagraphList iterators
9883 * BufferView2.C (lockInset): use paragraph list and iterators
9885 2002-08-14 John Levon <levon@movementarian.org>
9887 * lyxserver.C: remove spurious xforms include
9889 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9891 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9893 2002-08-13 André Pönitz <poenitz@gmx.net>
9896 * lyxfunc.C: further cleaning
9898 2002-08-13 André Pönitz <poenitz@gmx.net>
9900 * funcrequest.h: new constructor
9902 * funcrequest.C: move stuff here from .h
9905 * BufferView_pimpl.C:
9908 * lyxfunc.C: subsequent changes
9910 * lyxfunc.h: new view() member function
9912 * lyxfunc.C: subsequent changes
9914 2002-08-13 Angus Leeming <leeming@lyx.org>
9917 * BufferView_pimpl.C:
9925 changes due to the changed LyXView interface that now returns references
9926 to member variables not pointers.
9928 2002-08-13 Angus Leeming <leeming@lyx.org>
9930 * WordLangTuple (word, lang_code): return references to strings,
9935 * lyxtext.h: forward-declare WordLangTuple.
9940 * text.C: #include "WordLangTuple.h".
9943 * text.C: (selectNextWordToSpellcheck): constify return type.
9945 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9951 * paragraph_pimpl.h:
9954 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9956 Made updateCounter always count from start of buffer, and removed
9957 second argument (par).
9958 Reverted floats number display to '#'. Perhaps I'll try again when the
9959 code base is sanitized a bit.
9961 2002-08-12 Angus Leeming <leeming@lyx.org>
9963 * buffer.[Ch] (getLabelList): constify.
9965 2002-08-07 André Pönitz <poenitz@gmx.net>
9967 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9969 * funcrequest.h: extension to keep mouse (x,y) position
9971 2002-08-12 Juergen Vigna <jug@sad.it>
9973 * BufferView2.C (insertErrors): forbid undo when inserting error
9976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9978 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9980 * ParagraphList.[Ch]: new files
9982 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9984 * BufferView2.C (lockInset): ParagraphList changes
9987 * bufferlist.C: ditto
9991 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9993 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9994 unused class variable counter_,
9996 * paragraph.[Ch] (getFirstCounter): delete unused function
9998 * counters.C: include LAssert.h
9999 (reset): add a new function with no arg, change other version to
10000 not have def. arg and to not allow empty arg.
10002 * text2.C (setCounter): remove empty arg from call to Counters::reset
10004 2002-08-11 John Levon <levon@movementarian.org>
10006 * Makefile.am: add WordLangTuple.h
10008 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10010 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10011 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10013 * insets/insettext.C: InsetList changes
10015 * graphics/GraphicsSupport.C (operator()): InsetList changes
10017 * toc.C (getTocList): InsetList changes
10019 * paragraph_pimpl.[Ch]: InsetList changes
10021 * paragraph.[Ch]: InsetList changes
10023 * buffer.C (inset_iterator): InsetList changes
10024 (setParagraph): ditto
10025 * buffer.h (inset_iterator): ditto
10026 * iterators.C (operator++): ditto
10027 * iterators.h: ditto
10029 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10031 * InsetList.[Ch]: new files, most InsetList handling moved out of
10034 * BufferView2.C (removeAutoInsets): InsetList changes
10036 (ChangeInsets): ditto
10038 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10040 * paragraph_pimpl.h (empty): new function
10042 * paragraph.[Ch] (empty): new function
10044 * other files: use the new Paragraph::empty function
10046 2002-08-09 John Levon <levon@movementarian.org>
10048 * lyxtext.h: remove unused refresh_height
10050 2002-08-09 John Levon <levon@movementarian.org>
10057 * paragraph.C: move sgml char escaping out of paragraph
10060 * paragraph.C: remove id setter
10064 * paragraph_pimpl.C: remove dead tex_code_break_column
10066 * bufferview_funcs.C: small cleanup
10068 * lyxfunc.C: remove dead proto
10070 * lyxtext.h: make some stuff private. Remove some dead stuff.
10072 * lyxgluelength.C: make as[LyX]String() readable
10074 2002-08-08 John Levon <levon@movementarian.org>
10079 * ToolbarDefaults.C:
10082 * toc.C: lyxaction cleanup
10084 2002-08-08 John Levon <levon@movementarian.org>
10086 * BufferView2.C: small cleanup
10089 * lyxfind.C: move unnecessary header into the .C
10091 2002-08-08 John Levon <levon@movementarian.org>
10093 * funcrequest.h: just tedious nonsense
10096 * lyx_main.C: cleanups
10099 * vspace.C: remove dead header lyx_main.h
10101 2002-08-07 Angus Leeming <leeming@lyx.org>
10104 * paragraph_pimpl.h:
10105 Forward declare class Counters in paragraph.h by moving the ctrs member
10106 variable into Paragraph::Pimpl.
10107 (counters): new method, returning a reference to pimpl_->ctrs.
10109 * text2.C: ensuing changes.
10111 2002-08-07 John Levon <levon@movementarian.org>
10113 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10115 * BufferView_pimpl.C: announce X selection on double/triple
10118 * lyx_main.C: use correct bool in batch dispatch
10120 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10122 2002-08-07 André Pönitz <poenitz@gmx.net>
10124 * funcrequest.h: new class to wrap a kb_action and its argument
10127 * BufferView_pimpl[Ch]:
10131 * lyxrc.C: subsequent changes
10134 2002-08-07 John Levon <levon@movementarian.org>
10136 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10137 document options change.
10139 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10144 * makefile.am: move counters functionality over from
10145 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10147 2002-08-06 John Levon <levon@movementarian.org>
10149 * WordLangTuple.h: new file for word + language code tuple
10160 * BufferView2.C: use WordLangTuple
10163 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10165 2002-08-06 John Levon <levon@movementarian.org>
10167 * lyx_main.C: fix cmdline batch handling
10169 2002-08-06 André Pönitz <poenitz@gmx.net>
10171 * lyxrc.C: set default for show_banner to true
10173 2002-08-06 John Levon <levon@movementarian.org>
10175 * pspell.C: fix a crash, and allow new aspell to work
10177 2002-08-06 John Levon <levon@movementarian.org>
10180 * kbmap.C: small cleanup
10183 * vspace.C: add const
10185 2002-08-05 John Levon <levon@movementarian.org>
10187 * LyXAction.C: back to tabular-insert
10189 2002-08-04 John Levon <levon@movementarian.org>
10192 * BufferView.C: cosmetic change
10194 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10204 * BufferView2.C: purge all "Lyx" not "LyX" strings
10207 * lyxcursor.C: attempt to add some documentation
10212 * ToolbarDefaults.C:
10213 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10214 merge with LFUN_TABULAR_INSERT
10221 * pspell.C: split up i/pspell implementations into separate
10222 files, many cleanups
10224 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10226 * text2.C: some cleanup
10228 * lyxfunc.C: don't check for isp_command == "none" any more, it
10229 didn't make any sense
10231 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10236 * makefile.am: move counters functionality over
10237 from text2.C/paragraph.[Ch] to counters.[Ch], and
10239 2002-08-02 John Levon <levon@movementarian.org>
10241 * buffer.C: s/lyxconvert/lyx2lyx/
10243 2002-08-02 Angus Leeming <leeming@lyx.org>
10245 * lyxlex.C: revert John's change as it breaks reading of the user
10248 2002-08-02 Angus Leeming <leeming@lyx.org>
10250 * importer.C (Import):
10251 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10252 changes due to LyXView::view() now returning a boost::shared_ptr.
10254 2002-08-02 John Levon <levon@movementarian.org>
10256 * lyxlex.C: small cleanup
10258 2002-08-02 John Levon <levon@movementarian.org>
10260 * text2.C (status): small cleanup, no logic change
10262 2002-08-01 John Levon <levon@movementarian.org>
10265 * buffer.C (writeFile): don't output alerts, caller
10269 * lyx_cb.C: from above
10271 * lyxfunc.C: allow to open non-existent files
10273 2002-07-31 John Levon <levon@movementarian.org>
10275 * lyxserver.C: don't let incidental errors get
10278 2002-07-30 John Levon <levon@movementarian.org>
10280 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10282 2002-07-30 John Levon <levon@movementarian.org>
10285 * lyxserver.C: remove I/O callback too
10287 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10289 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10292 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10294 * many files: strip,frontStrip -> trim,ltrim,rtrim
10296 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10298 * PrinterParams.h: remove extern containsOnly, and include
10299 support/lstrings.h instead.
10301 * LaTeX.C (scanAuxFile): modify because of strip changes
10303 * buffer.C (makeLaTeXFile): ditto
10304 * bufferparams.C (writeFile): ditt
10305 * lyxfont.C (stateText): ditto
10306 * lyxserver.C (read_ready): ditto
10307 * vc-backend.C (scanMaster): ditto
10309 * BufferView_pimpl.h: ws changes
10311 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10313 2002-07-26 André Pönitz <poenitz@gmx.net>
10315 * kb_sequence.C: remove unnedred usings
10317 2002-07-26 Juergen Vigna <jug@sad.it>
10319 * lyxfind.C (LyXReplace): we have to check better if the returned
10320 text is not of theLockingInset()->getLockingInset().
10322 2002-07-25 Juergen Vigna <jug@sad.it>
10324 * lyxfind.C (LyXReplace): don't replace if we don't get the
10327 * undo_funcs.C (createUndo): remove debugging code.
10329 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10331 * buffer.C (parseSingleLyXformat2Token): Use default placement
10332 when reading old floats.
10334 * FloatList.C (FloatList): Change the default placement of figure
10335 and tables to "tbp".
10337 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10339 * MenuBackend.C: using std::max
10341 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10343 * MenuBackend.C (expandToc):
10344 (expandToc2): code moved from xforms menu frontend. It is now
10345 generic and TOCs are transparent to menu frontends.
10347 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10349 * toc.C (getTocList): protect against buf=0
10351 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10352 Menu as first parameter. Now, this calls itself recursively to
10353 expand a whole tree (this will be useful for TOC handling)
10354 (expandFloatInsert): remove 'wide' version of floats
10356 * MenuBackend.h (submenuname): returns the name of the submenu.
10357 (submenu): returns the submenu itself, provided it has been
10358 created by MenuBackend::expand
10360 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10362 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10363 insets which have noFontChange == true. (bug #172)
10365 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10367 * BufferView_pimpl.C: add connection objects and use them...
10370 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10372 * MenuBackend.C (expandLastfiles):
10375 (expandFloatListInsert):
10376 (expandFloatInsert):
10377 (expand): split expand in parts
10379 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10381 * lyx_gui.C: use lyx_gui::exit()
10383 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10385 * LyXAction.C: show the failing pseudo action
10387 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10389 * buffer.C (readFile): Run the lyxconvert script in order to read
10392 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10396 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10398 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10402 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10404 2002-07-22 Herbert Voss <voss@lyx.org>
10407 * lyxlength.[Ch]: add support for the vertical lengths
10409 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10411 * toc.[Ch]: std:: fixes
10413 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10415 * lyxrc.C: do not include lyx_main.h
10417 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10423 * BufferView2.C: include "lyxlex.h"
10426 * bufferparams.h: do not #include "lyxlex.h"
10428 * lyxtextclasslist.C (Add): remove method
10429 (classlist): renamed to classlist_
10431 * paragraph_pimpl.C:
10435 * bufferview_funcs.C:
10440 * toc.C (getTocList): use BufferParams::getLyXTextClass
10442 * toc.C (getTocList): use InsetFloat::addToToc
10444 * toc.[Ch]: new files, containing helper functions to handle table
10447 * lyxfunc.C (dispatch): no need to remove spaces around command
10449 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10450 first command of the sequence; it is not very clever, but I do not
10451 have a better idea, actually
10453 * LyXAction.C (LookupFunc): make sure to remove space at the
10454 beginning and end of the command
10456 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10458 * MenuBackend.C (getMenubar): new method: return the menubar of
10460 (read): treat differently reading of menu and menubar (in
10461 particular, the menubar has no name now)
10462 (Menu::menubar): remove
10464 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10467 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10469 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10470 a bibitem inset in a RTL paragraph.
10472 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10474 * paragraph_pimpl.C: constify
10476 * BufferView_pimpl.C:
10478 * lyxfunc.C: fix dispatch in a nicer way
10480 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10482 * lyxfunc.C (dispatch):
10483 * BufferView_pimpl.C:
10484 * BufferView_pimpl.h:
10486 * BufferView.h: rename Dispatch() to dispatch()
10488 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10490 * lyxlayout.C (Read): honor DependsOn tag
10492 * lyxlayout.[Ch] (depends_on): new method
10494 * version.C.in: update lyx_docversion
10496 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10498 * paragraph.C (validate): remove from here...
10499 * paragraph_pimpl.C (validate): ... and move here
10500 (isTextAt): make it const
10502 * buffer.C (getLists): ws cleanup
10504 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10506 * language.C (read): Use iso8859-1 encoding in latex_lang
10507 (this prevents LyX from crashing when using iso10646-1 encoding).
10509 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10511 * text2.C (toggleInset): if cursor is inside an inset, close the
10512 inset and leave cursor _after_ it
10514 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10516 * lyxfunc.C: move minibuffer completion handling out of here
10518 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10520 * BufferView_pimpl.C:
10521 * LaTeX.C: fix dispatch calls
10523 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10525 * text.C (drawChars): Fix Arabic text rendering.
10527 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10531 * lyxfunc.C: remove message-push/pop
10535 * lyxfunc.C: rationalise some code by removing verboseDispatch
10536 in favour of a bool argument to dispatch()
10538 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10540 * lyx_main.C (init): make sure to read symlinks as absolute paths
10542 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10545 * lyxfunc.C: no need for commandshortcut to be a member
10547 2002-07-15 André Pönitz <poenitz@gmx.net>
10549 * converter.C: add support for $$s (scripts from lib/scripts dir)
10550 * lyx_main.C: white space
10552 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10556 * lyxrc.C: remove second exit confirmation
10558 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10563 * BufferView_pimpl.h:
10564 * BufferView_pimpl.C:
10565 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10567 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10569 * MenuBackend.C (expand): add numeric shortcuts to document menu
10571 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10573 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10575 * lyxfont.C (setLyXFamily):
10582 * buffer.C (asciiParagraph): use ascii_lowercase
10584 2002-07-15 Mike Fabian <mfabian@suse.de>
10586 * lyxlex_pimpl.C (search_kw):
10587 * lyxlex.C (getLongString):
10588 * converter.h (operator<):
10589 * converter.C (operator<):
10590 * buffer.C (parseSingleLyXformat2Token):
10592 * ToolbarDefaults.C (read):
10593 * MenuBackend.C (checkShortcuts):
10595 * LColor.C (getFromGUIName):
10596 (getFromLyXName): use the compare_ascii_no_case instead of
10597 compare_no_case, because in turkish, 'i' is not the lowercase
10598 version of 'I', and thus turkish locale breaks parsing of tags.
10600 2002-07-16 Angus Leeming <leeming@lyx.org>
10602 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10603 now takes a Buffer const & argument.
10605 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10607 * BufferView.C (resize): check there's a buffer to resize
10609 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10611 * lyxfunc.C: remove dead code
10614 * lyxserver.C: use lyx_guii::set_read_callback
10616 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10618 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10619 an inset in a RTL paragraph.
10621 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10623 * lyxfunc.C: repaint after a font size update
10625 2002-07-15 André Pönitz <poenitz@gmx.net>
10627 * lyxlength.C: inBP should be able to return negative values
10629 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10631 * lyxfunc.C: use lyx_gui::update_fonts()
10633 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10635 * lyxfunc.C: use lyx_gui::update_color()
10637 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10643 * lyxrc.C: remove file->new asks for name option, and let
10644 buffer-new take an argument
10646 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10648 * BufferView_pimpl.C: remove unneeded extra repaint()
10650 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10652 * LyXAction.C: allow command-sequence with NoBuffer
10654 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10656 2002-07-10 Angus Leeming <leeming@lyx.org>
10658 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10660 2002-07-09 Angus Leeming <leeming@lyx.org>
10662 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10664 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10666 * lengthcommon.h: whitespace
10668 * lyxfunc.C: update scrollbar after goto paragraph
10670 * lyxtext.h: factor out page break drawing, and fix it so
10671 page break/added space paints as selected nicely
10673 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10675 * BufferView_pimpl.C: add FIXMEs, clean up a little
10677 2002-07-09 André Pönitz <poenitz@gmx.net>
10679 * lyxfont.[Ch]: support for wasy symbols
10681 2002-07-08 André Pönitz <poenitz@gmx.net>
10683 * BufferView_pimpl.C: apply John's patch for #93.
10685 2002-07-05 Angus Leeming <leeming@lyx.org>
10687 * BufferView_pimpl.C (buffer): generate previews if desired.
10689 * LColor.h: add "preview" to the color enum.
10691 * LColor.C (LColor): add a corresponding entry to the items array.
10693 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10696 2002-07-05 Angus Leeming <leeming@lyx.org>
10698 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10699 The body of the code is now in the method that is passed an ostream &
10700 rather than a file name.
10701 Pass an additional only_preamble parameter, useful for the forthcoming
10704 2002-07-03 André Pönitz <poenitz@gmx.net>
10706 * lyxfunc.C: simplify getStatus() a bit for math stuff
10708 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10710 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10712 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10714 * text.C (changeRegionCase): do not change case of all the
10715 document when region ends at paragraph end (bug #461)
10717 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10719 * paragraph.C (startTeXParParams):
10720 (endTeXParParams): add \protect when necessary
10722 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10724 * BufferView_pimpl.C (workAreaExpose): remove warning
10726 2002-06-27 Angus Leeming <leeming@lyx.org>
10728 * Makefile.am: add lyxlayout_ptr_fwd.h.
10730 2002-06-26 André Pönitz <poenitz@gmx.net>
10732 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10734 2002-06-25 Angus Leeming <leeming@lyx.org>
10736 * lyxfunc.C (dispatch): Comment out the call to
10737 grfx::GCache::changeDisplay. The method no longer exists now that the
10738 pixmap generation part of the graphics loader has been moved into
10741 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10743 * text2.C: layout as layout
10745 * text.C: layout as layout
10747 * tabular.C (OldFormatRead): layout as layout
10749 * paragraph_pimpl.C (TeXDeeper): layout as layout
10750 (realizeFont): layout as layout
10752 * paragraph.C (writeFile): layout as layout
10753 (validate): layout as layout
10754 (getFont): layout as layout
10755 (getLabelFont): layout as layout
10756 (getLayoutFont): layout as layout
10757 (breakParagraph): layout as layout
10758 (stripLeadingSpaces): layout as layout
10759 (getEndLabel): layout as layout
10760 (getMaxDepthAfter): layout as layout
10761 (applyLayout): layout as layout
10762 (TeXOnePar): layout as layout
10763 (simpleTeXOnePar): layout as layout
10764 (TeXEnvironment): layout as layout
10765 (layout): layout as layout
10766 (layout): layout as layout
10768 * lyxtextclass.C (compare_name): new functor to work with
10769 shared_ptr, layout as layout
10770 (Read): layout as layout
10771 (hasLayout): layout as layout
10772 (operator): layout as layout
10773 (delete_layout): layout as layout
10774 (defaultLayout): layout as layout
10776 * lyxlayout_ptr_fwd.h: new file
10778 * lyxlayout.C (Read): layout as layout
10780 * lyx_cb.C (MenuInsertLabel): layout as layout
10782 * bufferlist.C (newFile): layout as layout
10784 * buffer.C (readLyXformat2): layout as layout
10785 (parseSingleLyXformat2Token): layout as layout
10786 (insertStringAsLines): layout as layout
10787 (asciiParagraph): layout as layout
10788 (latexParagraphs): layout as layout
10789 (makeLinuxDocFile): layout as layout
10790 (simpleLinuxDocOnePar): layout as layout
10791 (makeDocBookFile): layout as layout
10792 (simpleDocBookOnePar): layout as layout
10793 (getLists): layout as layout
10795 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10797 * CutAndPaste.C (cutSelection): layout as layout
10798 (pasteSelection): layout as layout
10799 (SwitchLayoutsBetweenClasses): layout as layout
10801 * BufferView_pimpl.C (Dispatch): layout as layout
10802 (smartQuote): layout as layout
10804 * BufferView2.C (unlockInset): layout as layout
10806 2002-06-24 André Pönitz <poenitz@gmx.net>
10808 * lyxfunc.C: fix #487
10810 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10814 * lyxfunc.C: remove display_shortcuts, show_banner
10816 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10818 * Buffer_pimpl.C: oops, update on resize
10820 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10827 * BufferView.C: use repaint()
10829 * BufferView_pimpl.h:
10830 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10831 as it's a clearer description. Remove superfluous
10834 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10836 * text.C: fix bug 488. Not ideal, but getting
10837 getWord() to work properly for the insets that
10838 matter is more difficult ...
10840 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10842 * BufferView_pimpl.C:
10845 * lyxfunc.C: remove the six million index lyxfuncs to just
10846 one, and DTRT (bug 458)
10848 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10852 * BufferView_pimpl.h:
10853 * BufferView_pimpl.C: clean up resize() stuff,
10854 and unnecessary updateScreen()s
10856 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10860 * BufferView_pimpl.h:
10861 * BufferView_pimpl.C:
10864 * minibuffer.C: remove focus management of workarea,
10865 not needed. Use screen's greyOut()
10867 2002-06-17 Herbert Voss <voss@lyx.org>
10869 * converter.C: (convert) do not post a message, when converting
10870 fails, let the calling function decide what to do in this case
10872 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10874 * lyxfunc.C: tidy up a little
10876 2002-06-16 <alstrup@diku.dk>
10878 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10879 Got rid of FORMS_H_LOCATION include. Now we are
10882 2002-06-15 LyX Development team <lyx@rilke>
10884 * buffer.[Ch] (sgmlOpenTag):
10885 (sgmlCloseTag): Added support for avoiding pernicious mixed
10886 content. Return number of lines written.
10888 (makeLinuxDocFile):
10889 (makeDocBookFile): Fixed calls to sgml*Tag.
10890 Simple white space clean.
10892 (simpleDocBookOnePar): Simple white space clean.
10894 * tabular.[Ch] (docBook): Renamed to docbook and got another
10895 argument to related with the pernicious mixed content.
10897 (docbookRow): Fixed calls for docbook inset method.
10899 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10901 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10902 so it's X11 independent.
10906 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10908 2002-06-15 Lyx Development team <lyx@electronia>
10910 * intl.h: Renamed getTrans to getTransManager.
10912 2002-06-14 Angus Leeming <leeming@lyx.org>
10914 * Makefile.am: nuke forgotten stl_string_fwd.h.
10916 2002-06-12 Angus Leeming <leeming@lyx.org>
10918 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10920 2002-06-13 Angus Leeming <leeming@lyx.org>
10923 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10925 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10927 * kbmap.C (getiso): add support for cyrillic and greek
10929 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10933 * BufferView_pimpl.h:
10934 * BufferView_pimpl.C: move bogus scrolling logic
10937 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10940 * BufferView_pimpl.C: view->resize() change
10942 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10944 * BufferView_pimpl.C: topCursorVisible
10947 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10951 * lyx_gui.C: move to frontends/
10955 * lyx_main.C: changes from above
10957 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10964 * lyx_main.C: minor tidy
10966 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10968 * BufferView_pimpl.h:
10969 * BufferView_pimpl.C:
10971 * BufferView.C: make painter() const,
10974 * BufferView2.C: use screen() accessor
10977 * lyx_main.C: some minor cleanup
10979 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10981 * BufferView_pimpl.h:
10982 * BufferView_pimpl.C: remove enter/leaveView,
10985 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10990 * BufferView_pimpl.h:
10991 * BufferView_pimpl.C: only construct screen once,
10994 * lyxrc.C: remove pointless comment
10996 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10999 * BufferView.C: remove active() and belowMouse()
11001 * BufferView_pimpl.h:
11002 * BufferView_pimpl.C: use workarea() not workarea_,
11003 and make it use a scoped_ptr instead
11005 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11007 * lyx_gui.C: add debug message on BadWindow
11009 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * sp_spell.C: fdopen is not part of the C++ standard.
11013 * paragraph.C (InsetIterator): use >= instead of ==
11015 2002-06-07 Angus Leeming <leeming@lyx.org>
11017 Fixes needed to compile with Compaq cxx 6.5.
11018 * BufferView_pimpl.C:
11025 * lyxtextclasslist.C:
11030 all c-library variables have been moved into namespace std. Wrap
11031 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11036 Add a using std::abs declaration.
11038 * kbmap.h (modifier_pair):
11039 * paragraph.h (InsetTable, InsetList):
11040 * lyxfont.h (FontBits):
11041 type definition made public.
11043 * bufferlist.C (emergencyWriteAll): the compiler complains that
11044 there is more than one possible lyx::class_fun template to choose from.
11045 I re-named the void specialisation as lyx::void_class_fun.
11047 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11049 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11050 the compiler is is unable to find tostr in write_attribute.
11052 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11054 * buffer.C (sgmlError): hide #warning
11056 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11058 * xtl/*: get rid of xtl, which is not in use anyway
11060 * LyXAction.C (init):
11061 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11062 were unimplemented xtl experimentation
11064 2002-06-04 André Pönitz <poenitz@gmx.net>
11066 * lyxfunc.C: disable array operation on simple formulae
11068 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11070 * converter.C: constify a bit
11072 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11074 * lyx_gui.C: check xforms version correctly
11076 2002-04-30 Herbert Voss <voss@lyx.org>
11078 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11081 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11083 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11084 attempt to register it with a VCS)
11086 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11088 * lyx_main.C (init): honor variables LYX_DIR_13x and
11091 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11095 * lyx_main.C: fix a crash on bad command line,
11096 and give a useful exit status on error
11098 * lyxfunc.C (doImport): allow -i lyx to work
11100 2002-03-30 André Pönitz <poenitz@gmx.net>
11102 * lyxfunc.C: mathed font changes
11104 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11119 * trans_mgr.h: srcdocs, and some minor cleanups
11121 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11124 call getFont all the time)
11126 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11128 * switch from SigC signals to boost::signals
11130 2002-05-29 André Pönitz <poenitz@gmx.net>
11132 * paragraph_pimpl.C (getChar): don't call size() too often...
11134 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11136 * paragraph_pimpl.C (insertChar): do not try to update tables when
11137 appending (pos == size())
11139 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11140 in order to reduce drastically the number of comparisons needed to
11141 parse a large document
11143 2002-05-29 André Pönitz <poenitz@gmx.net>
11149 * textclasslist.[Ch]:
11150 * sp_ispell.h: whitespace change
11152 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11154 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11155 lyxaction directly now.
11157 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11161 * lyxvc.C: remove unused headers
11163 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11170 * undo_funcs.C: some cleanups. Use shared_ptr
11171 and a template for the undo stacks.
11173 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11175 * BufferView_pimpl.h:
11176 * BufferView_pimpl.C:
11183 * text2.C: use key_state/mouse_state
11185 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11187 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11190 * chset.C: change include order
11191 (loadFile): use boost regex and get rid of LRegex and LSubstring
11193 * Makefile.am (BOOST_LIBS): new variable
11194 (lyx_LDADD): use it
11196 * LaTeX.C: change include order.
11197 (scanAuxFile): use boost regex and get rid of LRegex and
11201 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11206 * FontInfo.C: moved to frontends/xforms/
11209 * FontLoader.C: moved into frontends for GUIIzation
11214 * lyxfunc.C: changes from above
11216 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11218 * LColor.C: remove spurious X include
11220 * BufferView_pimpl.C:
11225 * text2.C: move font metrics to frontends/
11227 2002-05-24 Juergen Vigna <jug@sad.it>
11229 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11230 setting the undo_cursor.
11232 * ParagraphParameters.h: include local includes first.
11234 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11236 * BufferView_pimpl.C:
11237 * BufferView_pimpl.h:
11241 * screen.C: move WorkArea into frontends/
11247 * BufferView2.C: move LyXScreen into frontends/
11251 * lyx_gui.C: move lyxlookup into frontends/xforms/
11253 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11256 * BufferView_pimpl.C:
11266 * bufferview_funcs.C:
11279 * vc-backend.C: move LyX/XFormsView into frontends/
11281 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11293 * text2.C: move Painter to frontends/
11295 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11297 * buffer.C: comment out some some code that depend upon lyx_format
11300 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11301 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11303 * buffer.h (NO_COMPABILITY): turn off compability
11305 * ColorHandler.C: include scoped_array.hpp
11307 * font.C: Use more specific smart_ptr header.
11310 * ShareContainer.h: ditto
11311 * lyx_main.h: ditto
11313 * FontInfo.h: ditto
11314 * BufferView_pimpl.h: ditto
11315 * ColorHandler.h: ditto
11317 * kbmap.C (defkey): change call to shared_ptr::reset
11319 2002-05-21 Juergen Vigna <jug@sad.it>
11321 * buffer.C (insertErtContents): fix to insert ert asis if it is
11322 non empty. Skip it completely if it contains only whitespaces.
11324 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11326 * BufferView_pimpl.C:
11327 * BufferView2.C: clear selection on paste (bug 393)
11329 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11331 * DepTable.C: include ctime
11333 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11335 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11337 2002-05-14 Juergen Vigna <jug@sad.it>
11339 * text.C (breakParagraph): fixed function to honor the keepempty
11340 layout in the right maner and also to permit the right breaking
11341 algorithm on empty or non empyt keepempty paragraphs.
11343 * paragraph.C (breakParagraph): we have to check also if the par
11344 is really empty (!size()) for isempty otherwise we do the wrong
11347 2002-05-10 Juergen Vigna <jug@sad.it>
11349 * buffer.[Ch] : The following are only changes to the ert
11350 compatibility read reading old LaTeX layout and font stuff and
11351 convert it to ERTInsets.
11353 * buffer.h: added isErtInset().
11355 * buffer.C (struct ErtComp): add a fromlayout bool to check
11356 if we're inside a LaTeX layout.
11357 (isErtInset): new helper function.
11358 (insertErtContents): look for other ert insets before this one
11359 and insert the contents there, so that we don't have subsequent
11360 ERT insets with nothing between them. This way we create only one
11361 inset with multiple paragraphs. Also check if we don't insert only
11362 spaces ' ' as they are ignored anyway afterwards in the .tex file
11363 so if we have only spaces we will ignore this latex part in the
11365 (parseSingleLyXformat2Token \\layout): better compatibility when
11366 reading layout-latex stuff.
11367 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11369 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11370 stuff after reading the inset only get the information back from
11373 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11375 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11377 * LaTeXFeatures.C (getBabelOptions): New method.
11379 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11381 * BufferView_pimpl.C (Dispatch): work around missing argument for
11384 2002-05-08 Juergen Vigna <jug@sad.it>
11386 * text.C (leftMargin): handle paragraph leftindent.
11388 * paragraph.C (writeFile): write the new \\leftindent tag.
11389 (validate): handle leftindent code.
11390 (TeXEnvironment): handle paragraphleftindent code again.
11392 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11394 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11395 for paragrap_extra indent code and new token \\leftindent.
11396 (latexParagraphs): handle the leftindent as environment.
11398 * ParameterStruct.h: added leftindent support.
11400 * ParagraphParameters.C (leftIndent): added support functions for
11401 the paragraph left indent.
11403 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11406 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11408 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11411 * text.C (computeBidiTables): No bidi in insetERT.
11413 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11416 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11418 * version.C.in: pre 5
11420 2002-05-02 José Matos <jamatos@fep.up.pt>
11421 * buffer.C (makeDocBookFile): white space changes, add newline to
11423 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11425 * tabular.C (docBook): fix typo.
11427 2002-05-03 Juergen Vigna <jug@sad.it>
11429 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11430 change in LyXText as we can not be sure it was not freed.
11431 (drawOneRow): remove unused code.
11433 * text.C (drawInset): redo the calculation of the need_break_row as
11434 it could have a row which was already freed.
11435 (draw): look at the return value of drawInset and return false if
11436 it also returned false.
11437 (paintRowText): look at the return value of draw and return false if
11438 it also returned false.
11440 * lyxtext.h: added bool return type to drawInset() and draw() so that
11441 if we have a change in the row so that the rowbreak has to be redone
11442 we abort drawing as it will be called again.
11444 2002-05-02 Juergen Vigna <jug@sad.it>
11446 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11447 a change in the maintext also if we're inside an inset.
11448 (Dispatch): set the cursor again after a break line and after the
11449 screen has been updated as it could be we're in a different row.
11451 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11452 to set the cursor behind the pargraph with > size().
11453 (setCursor): check also for the same paragraph when checking where
11454 to put the cursor if we have a NFR inset.
11456 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11457 parts of layout read further up as it still was in the wrong
11460 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11462 * screen.C (drawFromTo): change sine fullRebreak always return
11465 * buffer.C (parseSingleLyXformat2Token): reindent some
11467 * BufferView_pimpl.C (update): change since fullRebreak always
11469 (Dispatch): git rid of the last hardcoded "Standard"s.
11471 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11473 * text2.[Ch] (fullRebreak): make it return void now that we always
11476 2002-04-30 Juergen Vigna <jug@sad.it>
11478 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11479 ert compatibility check for "latex" layout.
11481 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11483 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11484 minipages: use col% instead of p%, and also use the current font.
11485 (makeLaTeXFile): Fix use babel condition.
11486 (parseSingleLyXformat2Token): Correct font when reading old floats.
11488 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11490 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11491 inserting list of floats.
11493 2002-04-25 Herbert Voss <voss@lyx.org>
11495 * MenuBackend.C (expand): don't add the graphics extensions to the
11498 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11500 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11501 non-existing layout, do not complain if it was the default layout
11502 of the original class (bug #342)
11504 2002-04-24 Juergen Vigna <jug@sad.it>
11506 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11507 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11509 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11511 * buffer.C (getBibkeyList): If using \bibliography, return the
11512 option field with the reference itself. Enables us to provide natbib
11513 support when using \bibliography.
11515 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11517 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11519 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11520 natbib is provided by the LaTeX class.
11522 2002-04-23 Juergen Vigna <jug@sad.it>
11524 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11527 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11529 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11531 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11533 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11534 ensuremath around textordmasculine, textordfeminine and
11537 2002-04-19 Juergen Vigna <jug@sad.it>
11539 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11540 reinitializing the buffer otherwise row-dimensions may be wrong.
11541 (update): reset also the selection cursors if they do exits otherwise
11542 their x/y positions may be wrong.
11544 * text2.C (cursorDown): don't enter the inset if we came from a row
11545 above and are one row over the inset.
11547 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11548 really leaving an inset.
11550 2002-04-18 Juergen Vigna <jug@sad.it>
11552 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11553 of the selected paragraph does not have the selected layout also if
11556 * text2.C (setLayout): fixed bug which did not change last selected
11559 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11560 changed the read and substituted \\end_float with \\end_inset!
11562 * BufferView_pimpl.C (cursorPrevious):
11563 (cursorNext): fixed to make it work with rows heigher than the work
11564 area without moving the cursor only the draw of the row.
11565 (workAreaMotionNotify): fix jumping over high rows.
11567 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11572 2002-04-16 Juergen Vigna <jug@sad.it>
11574 * text2.C (setCursor): set also the irow().
11575 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11577 (cursorDown): support for locking an inset if the x_fix value goes
11578 inside it. That way I can transverse insets too with cursor up/down.
11580 * lyxrow.h: added irow helper function same as other (i) functions.
11582 * BufferView_pimpl.C (cursorPrevious):
11583 (cursorNext): fixed for insets!
11585 2002-04-15 Juergen Vigna <jug@sad.it>
11587 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11588 position otherwise it is wrong in some cases.
11590 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11591 inside the inset before the call.
11593 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11595 * buffer.[Ch] (getBibkeyList): make it const.
11597 2002-04-12 Juergen Vigna <jug@sad.it>
11599 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11601 * text2.C (getCursorX): new helper function
11602 (setCursor): compute also ix_
11603 (setCursorFromCoordinates): set also ix.
11605 * lyxcursor.h: added ix_ and helper functions.
11607 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11609 * buffer.C (insertStringAsLines): dont break paragraph if the this
11610 paragraph is inside an inset which does not permit it!
11612 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11613 also with no chars on this paragraph.
11614 (paintRowText): only paint stuff if it's inside the workarea!
11616 * paragraph.C (breakParagraph): honor keepempty flag and break the
11617 paragraph always below not above.
11619 * BufferView2.C (unlockInset): update the paragraph layout on inset
11620 unlock as we changed paragraph in such a case.
11622 * lyxfind.C (LyXFind): clear the former selection if not found!
11624 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11625 again called in insertChar().
11627 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11628 an inset which uses the whole row!
11629 (rightMargin): ditto.
11630 (insertChar): force a rebreak if we inserted an inset!
11632 2002-03-28 Herbert Voss <voss@lyx.org>
11634 * lyxlength.[Ch]: add inBP() to get the right PS-point
11635 units (BigPoint). With inPixels we have rounding errors
11637 2002-04-11 Juergen Vigna <jug@sad.it>
11639 * text2.C (setCursorFromCoordinates): set iy to the right value.
11640 (setCursor): add check if row->previous exists!
11642 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11643 an old float_type as this was the case in the old code!
11645 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11647 * BufferView2.C (showLockedInsetCursor): use iy
11648 (fitLockedInsetCursor): ditto
11650 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11651 locked insets as there we have the right value now.
11653 * lyxcursor.C: added iy_ variable and iy functions to set to the
11654 baseline of cursor-y of the locked inset.
11656 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11657 (setCursor): fixed for insets which need a full row.
11659 * text.C (rowLastPrintable): don't ignore the last space when before
11660 an inset which needs a full row.
11661 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11662 as last character of a row when before a inset which needs a full row.
11664 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * version.C.in: update date
11668 * text2.C (fullRebreak): try to always return true and see what
11671 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11673 * MenuBackend.C (expand): use Floating::listName
11675 * FloatList.C (FloatList): add listName argument to the built-in
11678 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11679 text associated with the float.
11681 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11683 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11685 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11687 * ShareContainer.h: add a couple of missing typenames.
11689 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11691 * lyxrc.C (getDescription): use _() correctly rather than N_().
11693 2002-03-28 Herbert Voss <voss@lyx.org>
11695 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11696 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11698 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11700 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11701 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11703 2002-03-29 Juergen Vigna <jug@sad.it>
11705 * lyxfunc.C (dispatch): add a missing fitCursor call.
11707 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11708 it was scrolled by a cursor move, so return the bool status.
11710 * BufferView.C (fitCursor): return the bool flag also to the outside
11711 world as this is needed.
11713 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11715 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11716 call the edit() as it is not needed (and wrong) IMO.
11717 (workAreaButtonPress): set the screen_first variable before evt.
11718 unlock the inset as this may change screen_first and then we have
11719 a wrong y position for the click!
11721 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11723 * MenuBackend.C (expand): another translation that I missed
11725 2002-03-28 Juergen Vigna <jug@sad.it>
11727 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11729 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11731 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11733 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11735 * MenuBackend.C (expand): fix export/view/update when there is no
11738 2002-03-27 Herbert Voss <voss@lyx.org>
11740 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11743 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11745 * bufferview_funcs.C (currentState): only show paragraph number
11746 for is DEVEL_VERSION is set.
11748 * lyxfunc.C (dispatch): put warning in INFO channel
11750 * MenuBackend.C (expand): translate the name of floats
11752 * FloatList.C (FloatList): mark the float names for translation
11754 * converter.C (convert): use LibScriptSearch
11756 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11758 * MenuBackend.C (defaults): fix default menu (we might as well get
11761 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11763 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11766 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * lyxvc.C: reorder includes.
11770 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11772 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11775 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11777 * CutAndPaste.C: change layouts earlier on paste
11778 to avoid crashing when calling getFont()
11780 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11782 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11785 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * WorkArea.C: remove 'Pending' debug message.
11789 * most files: ws cleanup
11791 * buffer.[Ch]: ws changes
11793 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11795 2002-03-21 Juergen Vigna <jug@sad.it>
11797 * tabular.C (SetMultiColumn): collapse also the contents of the
11798 cells and set the last border right. Added a Buffer const * param.
11800 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11802 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11805 2002-03-19 Juergen Vigna <jug@sad.it>
11807 * text2.C (clearSelection): reset also xsel_cache.
11809 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11810 where it needs to be called (John tells us to do so too :)
11811 (selectionLost): reset sel_cache.
11813 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11815 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11817 * text2.C (setCursorIntern): put debuging code in INSETS channel
11819 2002-03-19 André Pönitz <poenitz@gmx.net>
11821 * lyxfunc.C: tiny whitespace change
11823 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11825 * ToolbarDefaults.C (init):
11826 * LyXAction.C (init):
11828 * BufferView_pimpl.C (Dispatch):
11829 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11831 2002-03-19 Allan Rae <rae@lyx.org>
11833 * exporter.C (Export): removeAutoInsets before doing anything else.
11834 While I've just introduced a dependency on BufferView this really is
11835 the best place to clean the buffer otherwise you need to cleanup in
11836 a dozen places before calling export or cleanup in a dozen functions
11839 * converter.C (runLaTeX):
11840 (scanLog): Better handling of removeAutoInsets and screen updates.
11842 * lyxfunc.C (dispatch): small whitespace changes
11844 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11846 * WorkArea.C (C_WorkAreaEvent): return a value.
11847 (event_cb): return 1 if we handled the event, 0 otherwise.
11849 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11851 2002-03-18 Juergen Vigna <jug@sad.it>
11853 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11854 (GetAdditionalWidth): ditto.
11855 (RightLine): ditto.
11858 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11859 inset if we're there actually (probably not used right now but this
11860 is the direction to go for unifying code).
11861 (paste): disable code to clear the selection.
11863 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11864 inside an InsetText and move the check further up as it is in the
11867 * text2.C (pasteSelection): set a selection over the pasted text.
11869 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11871 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11872 and libgraphics to build on Cygwin.
11874 2002-03-15 Juergen Vigna <jug@sad.it>
11876 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11877 inserting an Inset into the paragraph. I know this is not the best
11878 fix but we already use current_view in CutAndPaste so we will remove
11879 all of it's using at the same time.
11881 * buffer.C (sgmlError): deactivated function till it is rewritten in
11882 the right mode, now it can create problems.
11884 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11885 before accessing it.
11887 2002-03-14 Juergen Vigna <jug@sad.it>
11889 * undo_funcs.C (textHandleUndo): do the right thing when updating
11890 the inset after the undo/redo.
11892 * text2.C (setCursor): just some testcode for #44 not ready yet.
11894 * undo_funcs.C (textHandleUndo): set the next() and previous()
11895 pointers of the paragraph to 0 before deleting otherwise we have
11896 problems with the Paragraph::[destructor].
11898 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11899 on a paragraph insertion.
11901 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * buffer.C (asciiParagraph): use += operator for char append to
11906 * paragraph.C (getFontSettings): compare >= not just >
11907 (highestFontInRange): ditto
11910 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11912 * paragraph.C: change several algorithm to be more appripriate for
11913 the problem domain. This is lookip in FontList and in the InsetList.
11915 2002-03-13 André Pönitz <poenitz@gmx.net>
11918 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11920 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11925 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11927 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11929 * Painter.C (display): anon helper function, adjust code for this
11931 (pixmap): remove function.
11933 * Painter.h: remove private display variable.
11935 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11937 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11939 * WorkArea.[Ch]: remove figinset_canvas cruft.
11941 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11943 * lyxtextclass.C (operator): add one item cache optimization.
11945 * bufferlist.h: doxy changes
11947 * bufferlist.C: ws changes
11949 * DepTable.[Ch] (ext_exist): place const in the right spot.
11951 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11953 (workAreaExpose): call resizeInsets when the with BufferView changes.
11954 (Dispatch): adjust for protectedBlank removal
11955 (specialChar): call updateInset if the insert went ok.
11957 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11958 specialChar instead.
11960 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11962 * BufferView.h: doxy change
11964 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11966 * lyxtextclass.C (operator[]): remove non-const version
11967 (defaultLayout): remove non-const version
11969 2002-03-12 Juergen Vigna <jug@sad.it>
11971 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11972 did resize the LyXText too.
11974 * buffer.C (readLyXformat2): set layout information on newly allocated
11977 * tabular.C (OldFormatRead): set layout information on the paragraph.
11979 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11981 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11983 2002-03-11 Juergen Vigna <jug@sad.it>
11985 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11987 (resizeCurrentBuffer): force also the insets to resize themselfes.
11988 (moveCursorUpdate): fixed up for InsetText.
11990 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11993 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11994 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11995 value of Dialogs::tooltipsEnabled().
11996 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11998 2002-03-08 Juergen Vigna <jug@sad.it>
12000 * BufferView_pimpl.C (updateInset): update inset inside inset also
12001 if it isn't inside theLockingInset().
12003 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * buffer.C (asciiParagraph): redo some of the word and line length
12007 (getLists): look for Caption instead of caption.
12009 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12011 * buffer.C (Buffer): initialize niceFile to true
12013 (makeLinuxDocFile):
12014 (makeDocBookFile): make sure niceFile is true on exit
12016 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12018 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12020 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12022 * LyXSendto.C: remove.
12023 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12024 * lyx_gui.C: remove now-redundant comment.
12025 * ColorHandler.h: remove forward declaration of class WorkArea.
12026 * lyxfunc.C: remove #include "WorkArea.h".
12028 2002-03-07 Juergen Vigna <jug@sad.it>
12030 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12031 got moved away with the DEPM and also set the inset_owner always
12032 right which before could have been omitted.
12034 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12036 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12037 wanted layout is not found.
12039 2002-03-07 Juergen Vigna <jug@sad.it>
12041 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12043 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * paragraph.C (breakParagraph): use default layout not layout of
12047 (Paragraph): clear ParagraphParameters.
12049 2002-03-06 Juergen Vigna <jug@sad.it>
12051 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12052 otherwise it would not be a valid lenght. Fixed a special case in
12053 the minipage compatibility read where we end the document with a
12056 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12057 was set as it could be 0 for InsetTexts first entry.
12059 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12061 * paragraph.C (writeFile): if layout is empty write out
12062 defaultLayoutName().
12064 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12065 file without named layout we set layout to defaultLayoutName().
12067 2002-03-06 Juergen Vigna <jug@sad.it>
12069 * CutAndPaste.C (copySelection): set layout for new paragraph.
12071 * text.C (prepareToPrint): leave ERT inset left aligned
12072 (leftMargin): don't indent paragraphs inside ERT insets
12074 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12076 * paragraph.C (breakParagraph): dont call clear do the work manually
12078 * paragraph.[Ch] (clear): remove function
12080 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12082 * paragraph.C (Paragraph): dont call clear, the work has already
12085 * lyxtextclass.C (operator): assert if n is empty
12087 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12088 work manually instead.
12090 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12092 * BufferView_pimpl.C: protect selectionLost against text == 0
12094 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * text.C (breakParagraph): fix a setting layout to '0' problem.
12098 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12100 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12101 final location of file, for the included files, and graphics.
12103 2002-03-05 Juergen Vigna <jug@sad.it>
12105 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12107 2002-03-04 Juergen Vigna <jug@sad.it>
12109 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12111 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12112 last column of multicolumn cells.
12113 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12115 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12117 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12118 file if it doesn't go to a temporary file.
12120 * buffer.C (sgmlOpenTag):
12121 (sgmlCloseTag): remove extra newline insertion.
12123 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12125 * text.C (getRowNearY): comment out debug msg
12127 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12129 * text2.C: first -> first_y
12131 * text.C (getRowNearY): add some attemts at a possible
12132 optimization, not working.
12134 * tabular.[Ch]: add BufferParams to several function so that newly
12135 created paragraph can be initialized to he default layotu for the
12138 * tabular-old.C (ReadOld): add buf->params to call of Init
12140 * screen.C: rename text->first to text->first_y
12142 * paragraph.C (breakParagraph): always set layout in the broken
12145 * lyxtextclass.C (Read): remove lowercase
12148 (delete_layout): ditto
12150 * lyxtext.h: rename first -> first_y
12152 * lyxlayout.C (Read): remove lowercase
12155 (obsoleted_by): ditto
12157 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12159 * buffer.C (insertErtContents): add params are to InsetERT
12160 (parseSingleLyXformat2Token): add code to check if a paragraphs
12161 layout really exist.
12162 (parseSingleLyXformat2Token): add params to several inset
12164 (asciiParagraph): remove lowercase, do the layout comparisons with
12167 * BufferView_pimpl.C (cursorNext): first -> first_y
12168 (resizeCurrentBuffer): first -> first_y
12169 (updateScrollbar): first -> first_y
12170 (scrollCB): first -> first_y
12171 (workAreaMotionNotify): first -> first_y
12172 (workAreaButtonPress): first -> first_y
12173 (checkInsetHit): first -> first_y
12174 (cursorPrevious): first -> first_y
12175 (cursorNext): first -> first_y
12176 (Dispatch): add buffer_->params to severl inset contructors
12178 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * lyxlayout.C (Read): remove some debug info that I forgot.
12182 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12183 clean up the code slightly.
12184 (makeLinuxDocFile): ditto
12185 (makeDocBookFile): ditto
12187 * text2.C: layout as string
12189 * text.C: layout as string
12191 * paragraph_pimpl.C: layout as string
12193 * paragraph.[Ch]: layout as string
12195 * lyxtextclasslist.[Ch]: layout as string
12197 * lyxtextclass.[Ch]: layout as string
12199 * lyxtext.h: layout as string
12201 * lyxlayout.[Ch]: layout as string
12203 * lyx_cb.C: layout as string
12205 * bufferview_funcs.C: layout as string
12207 * bufferparams.C: layout as string
12209 * buffer.C: layout as string
12211 * LyXView.[Ch]: layout as string
12213 * LaTeXFeatures.[Ch]: layout as string
12215 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12217 * BufferView_pimpl.C: change current_layout to string, remove
12222 (workAreaButtonRelease): layout as string
12224 * BufferView2.C (unlockInset): adjust
12226 * vspace.C (asLatexCommand): use an explict temp variable.
12228 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12230 * Makefile.am: use FRONTEND_*
12232 2002-03-01 Juergen Vigna <jug@sad.it>
12234 * tabular.C (SetWidthOfMulticolCell): changed to something better
12235 I hope but still work in progress.
12236 (recalculateMulticolumnsOfColumn): renamed function from
12237 recalculateMulticolCells as it is more appropriate now.
12238 (SetWidthOfCell): calculate multicols better.
12240 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12242 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12244 * lyxfunc.C (processKeySym): print sequence also if it is
12245 `deleted' (complete)
12247 * kbsequence.C (print): print sequence even if it is deleted
12248 (complete would be a better word, actually).
12250 * lyxfunc.C (dispatch): print complete options after a prefix key
12252 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12254 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12256 * text2.C (setCharFont): eliminate setCharFont code duplication.
12258 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12260 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12261 LFUN_TABULAR_FEATURE (bug #177)
12263 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12265 * Makefile.am: remove figure.h
12267 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12269 * Bufferview_pimpl.C:
12281 * text2.C: remove #include "lyx_gui_misc.h".
12283 * LaTeX.C: added #include <cstdio>
12285 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12287 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12288 that the paragraph following this one can have.
12290 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12292 * vspace.C (asLatexCommand): fix bogus gcc warning
12294 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12296 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12298 * text2.C (setLayout): get rid of redundant code
12300 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12302 * text2.C (incDepth): make sure depth cannot be increased beyond
12305 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12307 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12308 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12310 * PainterBase.h (image):
12311 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12312 a LyXImage const *.
12314 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12318 * BufferView_pimpl.C:
12319 * BufferView_pimpl.h:
12339 * sp_spell.C: remove fig inset, and the crap house of
12340 cards that follows it
12342 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12347 * os2_errortable.h:
12348 * nt_defines.h: move .h into support/
12350 * vms_defines.h: remove
12352 * WorkArea.C: add space in debug output
12356 * buffer.C: add WITH_WARNINGS
12360 * bufferlist.C: s/retrive/retrieve/, add docs
12369 * chset.C: add docs
12371 * lyxgui.C: add ID to X error handler
12373 * lyxtestclass.c: fix typo
12375 2002-02-26 Juergen Vigna <jug@sad.it>
12377 * tabular_funcs.C (write_attribute): changed so that some default
12378 attributes are not written at all.
12379 (getTokenValue): set default values before trying to read the
12380 value so we have the return value always set as default if we don't
12381 find the token we search for.
12383 * tabular.C (Write): write bools as bools not as strings!
12385 2002-02-22 Juergen Vigna <jug@sad.it>
12387 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12388 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12390 * text.C (leftMargin): don't add an indent for paragraphs inside
12391 tabular cells (fix #208).
12393 2002-02-21 José Matos <jamatos@fep.up.pt>
12395 * tabular.C (docBook): fixed support for long tables.
12397 2002-02-20 Juergen Vigna <jug@sad.it>
12399 * text2.C (getFont): get the drawing font of the Inset if this
12400 paragraph is inside an inset (only important for InsetERT for now).
12402 * buffer.C (insertErtContents): use new lanugage params in ERT
12405 * CutAndPaste.C: commenting out seemingly uneeded code.
12407 2002-02-19 Allan Rae <rae@lyx.org>
12409 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12410 Iterators might be simple to use but they also get invalidated.
12411 (removeAutoInsets): renamed saved cursor tracking variables and added
12412 some comments to clarify what everything does.
12414 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12421 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12422 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12425 * vc-backend.h: remove #include "support/syscall.h"
12429 * converter.C: rearrange #includes in Lars' approved fashion.
12431 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12432 forward declare class Timeout in the header file.
12434 * XFormsView.C: changes due to the above.
12436 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12437 similar to LyXView.
12439 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12440 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12442 2002-02-18 José Matos <jamatos@fep.up.pt>
12444 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12447 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12449 * a lot of small ws changes
12450 * add a lot of using std::XXX
12451 * use std construcs some places where approp.
12452 * use some exisint stuff from lyxfunctional where approp.
12453 * Make file changes to use partial linking (lets test this now...)
12455 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12459 remove #include "support/syscontr.h" as it's redundant. Always has been.
12467 change Systemcalls::System to Systemcalls::Wait and
12468 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12469 No change of functionality, just reflects the stripped down Systemcalls
12472 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12474 * debug.[Ch]: add a GRAPHICS type to the enum.
12476 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12478 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12480 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12483 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12485 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12486 match the changes below.
12488 * text2.C (toggleInset): if there is not editable inset at cursor
12489 position, try to see if cursor is _inside_ a collapsable inset
12492 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12494 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12495 document menu has a nice checkbox
12497 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12499 * lyxlength.C (asLatexString): change PW to output as percent of
12502 * lengthcommon.C: change '%' to 't%'
12504 * lyxfunc.C (dispatch): a few comments from Martin
12506 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12510 * BufferView_pimpl.h:
12511 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12514 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12516 * vspace.C (inPixels): fix compiler warning
12518 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12520 * lyxfunc.C (getStatus): fix status message for disabled commands.
12522 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12524 * BufferView_pimpl.C: fix crash on close buffer
12525 during selection (#227)
12527 2002-01-27 Herbert Voss <voss@lyx.org>
12529 * buffer.C: link old Figure to new graphic inset
12531 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12533 * FontLoader.C (getFontinfo): Change the latex font names in order
12534 to match the names of type1inst.
12536 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12538 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12540 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12541 (extchanged): ditto
12543 (remove_files_with_extension): ditto
12544 (remove_file): ditto
12547 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12548 document is smaller than the work area height. Do not initialize
12549 static variables to 0.
12551 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12553 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12555 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12556 LFUN_LAYOUT_PARAGRAPHS.
12558 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12559 tabular. It is possible to provide a possible cell, which will
12560 typically be the actcell from the corresponding insettabular
12562 * lyxfunc.C (getStatus): small cleanup; disable
12563 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12566 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12568 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12570 * paragraph.C (startTeXParParams):
12571 (endTeXParParams): new methods. The LaTeX code to
12572 start/end paragraph formatting
12573 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12574 empty (fixes bug #200)
12576 * vspace.C (inPixels): adapt to the change below
12577 (inPixels): [later] more cleanups (remove unused variables)
12579 * lyxlength.C (inPixels): change to use a width and a height as
12582 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12584 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12585 Replaced with \paperwidth
12587 * DepTable.C (insert): add std:: qualifier
12589 2002-01-18 Allan Rae <rae@lyx.org>
12591 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12594 * text.C (drawInset): Turned out I didn't know enough about how
12595 rebreaking worked. This fixes most of the redraw problems. I see
12596 an occasional cursor trail when a line is broken now and the cursor
12597 placement can seem out by a few pixels also after a rebreak.
12599 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12601 * buffer.C (parseSingleLyXformat2Token): update because minipage
12602 width is now a LyXLength
12604 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12606 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12609 2002-01-17 Juergen Vigna <jug@sad.it>
12611 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12613 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12614 is set correctly and the inset is updated correctly.
12616 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12618 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12619 the beginning of the loop.
12621 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12623 * lyxrc.C: improve help for use_scalable_fonts
12625 2002-01-17 Allan Rae <rae@lyx.org>
12627 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12629 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12631 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12632 make sure to set their inset_owner to the right value (bug #171)
12634 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12637 * DepTable.C: Implement mtime checking to reduce time spent doing
12640 2002-01-16 Juergen Vigna <jug@sad.it>
12642 * tabular.C (GetAdditionalHeight): one of error fixed.
12644 * lyxrc.C (output): small fix in writing use_pspell.
12646 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12648 * sp_base.h: #include LString.h
12650 2002-01-16 Allan Rae <rae@lyx.org>
12652 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12653 Can someone check this please?
12655 * text.C (drawInset): It was possible that p.row would be removed by
12656 breakAgainOneRow upsetting a few other settings. There may be another
12657 small tweak possible by setting need_break_row = 0 when p.row has been
12658 removed but I don't know enough about the logic here.
12660 2002-01-15 Allan Rae <rae@lyx.org>
12662 * text.C (insertChar): removed conditional truism.
12664 * BufferView2.C (removeAutoInsets): More tweaks.
12665 cur_par_prev could be a stray pointer. Check for trailing empty line
12666 in case last line was cur_par and only had an error inset on it.
12668 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12670 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12673 * vc-backend.C (most methods):
12674 * exporter.C (Export):
12675 * converter.C (convert):
12677 * LyXSendto.C (SendtoApplyCB):
12678 * lyxfunc.C (dispatch):
12682 * lyx_cb.C (AutoSave):
12684 * BufferView_pimpl.C (MenuInsertLyXFile):
12685 * buffer.C (runChktex): use Buffer::filePath().
12687 * buffer.h: rename filename to filename_; rename filepath to
12688 filepath_ and make it private
12689 (filePath): new method
12691 * buffer.C (writeFile): use fileName()
12694 * lyx_main.C (init): fix starting of LyX when the binary is a
12695 link from so,ewhere else.
12697 * minibuffer.C: include <cctype> for isprint
12699 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12701 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12702 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12703 name clash with InsetCollapsable's width function.
12705 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * lastfiles.C: include <iterator>
12709 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12711 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12714 * buffer.C (makeLaTeXFile): ditto.
12715 Also make loop operation more transparent.
12717 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12719 * ToolbarDefaults.C: remove trailing comma closing namespace.
12721 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12723 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12726 * trans.C (Load): comment out unused variable, allowed.
12728 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12730 * minibuffer.[Ch] (append_char): new method to recieve input from the
12731 drop-down completion browser. If a key was pressed, then recieve this
12732 char and append it to the existing string.
12733 (peek_event): modify the positioning data passed to the completion
12734 browser so that it can be placed above the minibuffer rather than below.
12735 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * LyXAction.C (init): alloe error-next for readonly documents.
12739 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12742 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12744 * bufferlist.C (readFile): create the buffer _after_ checking that
12747 * lyxfunc.C (verboseDispatch): fix handling of arguments
12749 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12751 * lyxrc.C: use string::erase() instead of initializing to "".
12754 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12756 * BufferView_pimpl.h:
12757 * BufferView_pimpl.C:
12760 * text2.C: tell X when we have made a selection for copying
12762 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12764 * BufferView_pimpl.C (MenuInsertLyXFile):
12765 * lyxfunc.C (menuNew):
12767 (doImport): add shortcuts to directory buttons
12769 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12772 * lyxfunc.C (setStatusMessage):
12773 (getStatusMessage): new methods
12774 (getStatus):use setStatusMessage instead of setErrorMessage
12775 (dispatch): when function is disabled, set error message here
12776 [instead of in getStatus previously]
12778 * BufferView_pimpl.C (workAreaButtonRelease): update
12779 toolbar/menubar here too.
12781 2002-01-13 Allan Rae <rae@lyx.org>
12783 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12784 Now seems indestructible. Remaining task is to audit all other
12785 code affected by deleteEmptyParagraphMechanism. One small quirk
12786 left is that an empty document with an error in the preamble can
12787 be made to report an error but no error box appears. I don't know
12789 (removeAutoInsets): Improved comments.
12791 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12794 * Thesaurus.C: update for Aiksaurus 0.14
12796 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12798 * text2.C (firstParagraph): removed member function, all uses
12799 replaces with ownerParagraph
12800 (redoParagraphs): here
12801 (updateInset): here
12802 (toggleAppendix): here
12803 * BufferView2.C (insertErrors): here
12804 (setCursorFromRow): here
12806 2002-01-13 Allan Rae <rae@lyx.org>
12808 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12809 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12810 There is still a way to segfault this although you may have to do this
12811 multiple times: Have an InsetERT with an unknown command in it.
12812 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12813 <down-arrow>, <Enter> again, View->DVI, BANG!
12815 * text2.C (setCursor):
12816 (deleteEmptyParagraphMechanism):
12817 * lyxtext.h (setCursor):
12818 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12819 Making use of the return value may help fix other bugs.
12821 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12823 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12825 * LyXView.C (updateMenubar): call MenuBar::update here
12826 (updateToolbar): but not here
12827 (showState): do not update toolbar/menubar
12829 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12830 should need to care about that.
12832 * lyxfunc.C (verboseDispatch): simplify a bit
12833 (getStatus): have a version which takes a pseudoaction, and
12834 another which requires a (kb_action,string).
12836 * LyXAction.C (retrieveActionArg): make it work also when action
12837 is not a pseudo-action.
12838 (getActionName): simplify a bit
12841 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12843 * lyxfunc.C (verboseDispatch): new families of methods with
12844 several ways to specify a command and a bool to indicate whether
12845 the command name and shortcut should be displayed in minibuffer
12846 (eventually, we could extend that to a finer bitmask like
12847 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12848 (dispatch): the pristine dispatch command which just, well,
12849 dispatchs! Note it still sets its result to minibuffer; I'm not
12852 * lyxfunc.h: remove setHintMessage
12854 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12856 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12858 * BufferView_pimpl.C (specialChar): delete new inset if we have
12859 not been able to insert it.
12861 * kbmap.C: revert to using int instead of kb_action, since all we
12862 are dealing with is pseudo-actions.
12864 * LyXAction.C (searchActionArg): change to return int instead of
12865 kb_action, since the result is a pseudoaction.
12867 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12869 * buffer.C (insertErtContents): Fix (partially) the font bug.
12871 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12873 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12874 as the other one is broken on my machine!
12876 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12879 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12881 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12883 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12884 reflect their actual use. Provide compatibility code for older lyxrc
12887 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12889 change names of popup font variables in line with the changes to lyxrc.C
12891 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12893 * buffer.C (asciiParagraph): avoid outputing a word twice after
12896 * lyxrc.C (getDescription): document that document_path and
12897 template_path can be empty.
12899 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12901 * LaTeXFeatures.C (getMacros):
12902 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12904 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12906 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12908 (getPackages): rename feature "floats" to "float". Use an array to
12909 iterate over 'simple' features (i.e. just a \usepackage). Add
12910 handling of "amsmath" (renamed from "amsstyle").
12912 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12914 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12917 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12919 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12920 FuncStaus::FuncStatus & FuncStaus::some_method().
12922 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12924 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12925 of the func_satus stuff. Edited and massaged in various ways by
12928 * lyxfunc.C (getStatus): use FuncStatus
12930 2002-01-08 Juergen Vigna <jug@sad.it>
12932 * text.C (nextBreakPoint): use function Inset::isChar().
12934 * paragraph.C (TeXOnePar): use function
12935 Inset::forceDefaultParagraphs.
12937 * buffer.C (latexParagraphs): use function
12938 Inset::forceDefaultParagraphs.
12940 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12942 * lyx_gui.C (init): set the style of the menu popups to
12943 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12945 2002-01-07 Juergen Vigna <jug@sad.it>
12947 * text.C (setHeightOfRow): small fix
12948 (prepareToPrint): don't look at alignment if we don't have the place
12951 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12953 * box.C: New file. Move the Box methods and functions out of box.h,
12954 following Lars' suggestion.
12956 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12958 * box.h: #include "support/LOstream.h", needed for inlined function.
12961 * lyxtextclasslist.C: added some using std declarations.
12963 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12965 * box.h: make signed dimensions to allow insets wider than
12966 the screen (bug #162)
12968 * BufferView_pimpl.C: add some insetHit debug
12970 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12972 * vc-backend.C: add FIXME
12974 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12976 * lyxfunc.C (getStatus): enable code for showing math font status
12979 2002-01-07 Juergen Vigna <jug@sad.it>
12981 * text.C (nextBreakPoint): removed debug output not needed anymore.
12983 2002-01-06 Juergen Vigna <jug@sad.it>
12985 * text.C (nextBreakPoint): fixed up this function we had this bug
12986 since ever but now hopefully we break row better.
12987 (insertChar): we have to check if an inset is the next char as it
12988 could now happen that a large inset is causing a break.
12990 2002-01-05 Juergen Vigna <jug@sad.it>
12992 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12993 if it doesn't like to be drawed.
12995 2002-01-04 Juergen Vigna <jug@sad.it>
12997 * BufferView2.C (lockInset): forgot to set a cursor.
12999 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13001 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13003 * FormMathsPanel.C:
13006 * form_maths_panel.C:
13007 * form_maths_panel.h:
13008 * form_maths_panel.fd: implemented sub- and super- buttons in math
13011 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13012 (or ^ space) to be used as in TeX (req'd by André).
13014 * lyxfunc.C: Allow ^ and _ again to be used both as
13015 super/subscript (mathed) and as themselves (in text).
13017 2002-01-03 Allan Rae <rae@lyx.org>
13019 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13020 "LyX" or the filename of the current buffer if it has one. This is a
13021 modified form of John Levon's patch.
13023 * XFormsView.C (setWindowTitle): also set icon title.
13025 * LyXView.h (setWindowTitle): signature changed.
13026 * XFormsView.h (setWindowTitle): ditto.
13028 2002-01-02 Juergen Vigna <jug@sad.it>
13030 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13032 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13034 * screen.C (topCursorVisible): introduce a temp var for
13035 text->cursor.row(), handle the case where this row is null. (kindo
13038 * text2.C (setCursor): add a couple of asserts.
13040 * paragraph.h (inset_iterator): add -> operator
13042 * paragraph.[Ch] (autoDeleteInsets): remove member function
13044 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13045 cursor pos correctly and handle inset deletion by itself.
13046 (insertErrors): move iterator declaration out of for expression
13048 * lyxtextclass.C: add <algorithm>
13050 * Makefile.am: added the new files to sources, removed layout.C
13052 * layout.C: removed file
13054 * layout.h: remove LYX_DUMMY_LAYOUT
13056 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13060 * lyxtextclass.[Ch]:
13061 * lyxtextclasslist.[Ch]: new files
13063 * include order changes to a lot of files, also changes because of
13066 2001-12-27 Juergen Vigna <jug@sad.it>
13068 * buffer.C (asciiParagraph): more fixes.
13070 * tabular.C (ascii): make ascii export support export of only the
13071 data separated by a column-delimiter.
13072 (ascii): better support for ascii export.
13074 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13076 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13078 * tabular_funcs.C: use a "using std::getline" instead of the
13079 previous fix from Angus (necessary for cxx + lyxstring)
13081 2001-12-24 Juergen Vigna <jug@sad.it>
13083 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13085 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13086 problems. First check a minipage also if we have some ert-contents
13087 (not only on par->size(), second set the right depth of the paragraph
13088 on the relink to the root-paragraph-list!
13090 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13091 which then did not anymore update the main paragraphs on undo/redo!
13093 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13095 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13096 code. Support all font-changing funcs (even those which are not in
13097 menu currently). Support for reporting font settings in
13098 mathed (disabled until Andre provides a function on mathed's side).
13100 * func_status.h (toggle): small helper function to set toggle
13103 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13105 * tabular_funcs.C: getline -> std::getline
13107 2001-12-21 Juergen Vigna <jug@sad.it>
13109 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13110 accessed and could be 0 (I couldn't generate this but it seems
13113 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13116 * tabular_funcs.h: here and include iosfwd
13118 2001-12-20 Juergen Vigna <jug@sad.it>
13120 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13121 inside inset but undo_par was.
13123 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13125 * Thesaurus.C: always include <config.h> in sources.
13129 * box.h: do not include <config.h> in header files
13131 * text.C (paintLastRow): remove unused variable
13133 * text.C (transformChar):
13135 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13137 * Painter.C (text):
13138 * font.C (width): rewrite to use uppercase() instead of
13141 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13143 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13145 * lyxfind.C: clean up of find failure position change
13147 2001-12-20 Juergen Vigna <jug@sad.it>
13149 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13151 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13152 (TeXRow): added to LaTeX a single tabular row.
13153 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13154 (Latex): simplified and finally good LT-h/f support.
13155 (various_functions): just small adaptions for LT-h/f support.
13157 * tabular_funcs.[hC]: added and moved here all not classfunctions
13160 2001-12-19 Juergen Vigna <jug@sad.it>
13162 * tabular.[Ch]: better support for longtabular options (not finished
13165 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13167 * text.C (paintLastRow): use the label font instead of the font of
13168 the last character to compute the size of *_BOX. This makes more
13169 sense and avoids a crash with empty paragraphs.
13170 Use Painter::rectangle to draw EMPTY_BOX.
13172 2001-12-19 Juergen Vigna <jug@sad.it>
13174 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13175 the paragraphs if the replaced paragraph is not the first one!
13176 Tried to delete not used paragraphs but does not work yet so for
13177 now it's inside #ifdef's and by default off!
13179 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13181 * MenuBackend.C: include "lyx_main.h" instead of declaring
13182 lastfiles (actually was declared as LastFiles* instead of a
13185 2001-12-17 Juergen Vigna <jug@sad.it>
13187 * tabular.C (AppendColumn): applied John's fix
13189 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13193 * BufferView_pimpl.h:
13194 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13197 * box.h: new start of class for above
13199 * lyxfunc.C: ignore space-only minibuffer dispatches.
13200 Show the command name when it doesn't exist
13202 * minibuffer.C: don't add empty lines to the history
13204 * minibuffer.C: add a space on dropdown completion
13206 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13208 * text.C: fix line above/below drawing in insets
13210 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * lyxlength.C (LyXLength): Initialize private variables.
13214 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13216 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13217 when inserting error insets.
13219 2001-12-13 Juergen Vigna <jug@sad.it>
13221 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13222 actually sometimes the before-paragraph.
13223 (setUndo): don't clear the redostack if we're not actually undoing!
13225 2001-12-06 Juergen Vigna <jug@sad.it>
13227 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13228 and fixed redoing of main paragraph, so we can use it now ;)
13230 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13232 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13234 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13237 2001-12-13 André Pönitz <poenitz@gmx.net>
13240 * undo_func.C: minor cleanup
13242 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13244 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13245 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13246 font in urw-fonts package which is marked as -urw-fontspecific and
13247 does not work (incidentally, changing the encoding in the
13248 fonts.dir of this package to -adobe-fontspecific fixes the
13251 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13252 is a crash when undoing first paragraph (Juergen, please take a
13253 look). THis does not mean the undo fix is wrong, just that it
13256 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13257 the (Paragraph*) version when needed instead of duplicating the
13260 * text.C (workWidth): use Inset::parOwner to find out where the
13261 inset has been inserted. This is a huge performance gain for large
13262 documents with lots of insets. If Inset::parOwner is not set, fall
13263 back on the brute force method
13265 * paragraph_pimpl.C (insertInset):
13266 * paragraph.C (Paragraph):
13267 (cutIntoMinibuffer): set parOwner of insets when
13268 inserting/removing them
13270 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13272 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13278 * mathed/formulabase.C:
13279 * mathed/math_cursor.[Ch]:
13280 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13283 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * lyxlength.[Ch] (operator!=): new function
13287 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13289 * text.C (workWidth): use Inset::parOwner to find out where the
13290 inset has been inserted. This is a huge performance gain for large
13291 documents with lots of insets. If Inset::parOwner is not set, fall
13292 back on the brute force method
13294 * paragraph_pimpl.C (insertInset):
13295 * paragraph.C (Paragraph):
13296 (cutIntoMinibuffer): set parOwner of insets when
13297 inserting/removing them
13299 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13301 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13303 * tabular-old.C (getTokenValue):
13304 * tabular.C (getTokenValue):
13305 (write_attribute): new versions for LyXLength
13306 (everywhere): adjust the use of widths
13308 * tabular.h: change the type of widths from string to LyXLength
13310 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13312 * paragraph.C: fixed missing line number count when exporting
13313 Environments to LaTeX file
13315 * buffer.C: added informational message for checking line numbers.
13317 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13319 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13320 paragraph, do the 'double space' part, but not the 'empty
13323 * text.C (workWidth): small optimization
13324 (getLengthMarkerHeight): use minimal size for negative lengths.
13326 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13328 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13330 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13332 2001-12-11 André Pönitz <poenitz@gmx.net>
13335 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13337 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13339 * text2.C: keep selection on a setFont()
13341 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13343 * lyx_cb.C: another bv->text misuse, from insert label
13345 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13348 * kbsequence.C: re-instate nmodifier mask
13350 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13352 * lyx_main.h: make lyxGUI private.
13354 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13356 * lyxfind.C: place the cursor correctly on failed search
13358 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13360 * text.C (getLengthMarkerHeight): for small heights, the arrows
13361 are not always on top/bottom of the text
13362 (drawLengthMarker): smaller arrows; take the left margin in
13363 account; draw also vfills.
13365 (paintLastRow): remove special code for vfill and standard spaces,
13366 since everything is handled in drawLengthMarker now.
13368 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13370 * buffer.C (insertErtContents): try to handle font and language
13371 interaction a bit better.g
13373 * ColorHandler.C (updateColor): change the hash to cover the whole
13374 LColor enum, ws cleanup
13375 (getGCLinepars): ditto
13376 (getGCLinepars): only lookup in the linecache once.
13378 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13380 * iterators.C (operator++): Make the iterator more robust
13382 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13384 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13386 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13389 * text.C: better added space drawing
13391 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13394 * BufferView2.C: fix layout combo update on inset unlock
13396 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13398 * Makefile.am: don't compile unused files
13400 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13404 * LyXAction.C: remove old LFUN_LAYOUTNO
13406 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13408 * paragraph_pimpl.h:
13409 * paragraph_pimpl.C: isTextAt() doesn't need font param
13411 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13414 * lyxlex.C: little cleanup
13416 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13418 * BufferView_pimpl.C: fix insertAscii for insets
13420 2001-12-05 Juergen Vigna <jug@sad.it>
13422 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13423 set the right font on the "multi" paragraph paste!
13425 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * lyxlength.C: remove out-commented code.
13433 * BufferView_pimpl:
13447 * vc-backend.C: change "while(" to "while ("
13449 * lyxlength.[Ch]: add zero function to check if length is zero or
13451 * lyxgluelength.C: use it
13453 2001-12-05 Allan Rae <rae@lyx.org>
13455 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13456 Works for 2.95.3, from what I understand of Garst's reports this should
13457 work for other g++ versions. We're screwed if the abs(int) definition
13458 changed between bugfix releases of gcc.
13460 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13462 * text.C: fix chapter label offset !
13464 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13467 * text.C: fix hfill at end of line, clean up
13469 2001-12-04 Juergen Vigna <jug@sad.it>
13471 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13472 that we force an update of the inset and it's owners if neccessary.
13474 2001-12-03 Juergen Vigna <jug@sad.it>
13476 * text.C (rowLast): simplified code
13478 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13480 * lyxfunc.C: fix show options on timeout
13482 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13484 * screen.C (topCursorVisible): scroll half a page when the cursor
13485 reached top of bottom of screen
13487 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13489 * minibuffer.C: deactivate on loss of focus
13491 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13493 * vspace.[Ch] (operator!=): add operator.
13495 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13497 * BufferView_pimpl.C: refuse to open an inset when
13498 there's a selection.
13500 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13502 * BufferView_pimpl.C: allow to click on RHS of full row insets
13504 2001-11-30 Juergen Vigna <jug@sad.it>
13506 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13507 insets for undo reasons.
13509 2001-11-28 André Pönitz <poenitz@gmx.net>
13511 * vspace.[Ch]: cosmetical changes
13513 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13523 * kbsequence.C: part re-write of old kb code
13526 * WorkArea.C: remove Lgb_bug_find_hack
13528 2001-11-30 José Matos <jamatos@fep.up.pt>
13530 * buffer.C (makeDocBookFile): add a comment to point a hack.
13531 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13532 Fixed a double write of labels.
13534 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13537 * LaTeX.h Fixed bug in LaTeX class where it would not
13538 re-run latex if no depfiles were changed, but the .dvi was removed.
13540 2001-11-28 André Pönitz <poenitz@gmx.net>
13542 * all the files from the change on 2001/11/26:
13543 use lyx::layout_type instead of LyXTextClass::size_type
13544 use lyx::textclass_type instead of LyXTextClassList::size_type
13546 2001-11-29 Juergen Vigna <jug@sad.it>
13548 * text.C: added support for paragraph::isFreeSpacing()
13550 * buffer.C: same as above
13552 * paragraph.h: inserted isFreeSpacing() function to enable
13553 FreeSpacing inside InsetERT.
13555 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13556 of the paragraph's in the cut/copy buffer to 0!
13558 * text2.C (removeRow): remove the assert as it can!
13560 * lyxtext.h: added helper function firstRow returning firstrow and
13561 made firstrow private again.
13563 * BufferView2.C (lockInset): don't relock if we're already locked!
13565 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13566 the only paragraph.
13567 (removeRow): added Assert::(firstrow)
13569 * debug.C: forgot to add INSETTEXT here.
13571 2001-11-28 Juergen Vigna <jug@sad.it>
13573 * sp_spell.C (initialize): changed error text to more general
13574 spellchecker command use (not only ispell!)
13576 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13578 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13580 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13582 * vspace.C: initialise lyxgluelength on failure
13584 2001-11-28 Allan Rae <rae@lyx.org>
13586 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13587 declaration & definition that looks like a function declaration.
13589 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13591 * BufferView2.C (copy):
13592 (copyEnvironment): do not clear the selection when doing a copy.
13594 * text.C (paintFirstRow): compilation fix
13596 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13598 * tabular.C (Latex): correct line count when writing latex.
13600 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13602 * paragraph_pimpl.h:
13603 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13606 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13610 * LColor.C: change vfillline->added_space
13612 * text.C: add markers and text for added space
13614 * vspace.C: fix comment
13616 2001-11-28 André Pönitz <poenitz@gmx.net>
13618 * paragraph.C: whitespace changes
13619 * all the other files from the change on 2001/11/26:
13620 change *::pos_type into lyx::pos_type
13622 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13624 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13625 language of the document when inserting error insets.
13627 2001-11-26 André Pönitz <poenitz@gmx.net>
13629 * BufferView_pimpl.[Ch]:
13637 * paragraph_pimpl.[Ch]:
13640 * text2.C: reduce header dependencies, introduce type for positions
13642 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13644 * <various>: change to use Alert.h
13646 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13648 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13649 when encountering an unknown token.
13650 (readLyXformat2): Show an error message if there were unknown tokens.
13652 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13655 * BufferView_pimpl.C:
13659 * text2.C: use par->isInset()
13661 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13663 * paragraph_pimpl.h:
13664 * paragraph_pimpl.C: cleanup
13666 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13668 * text2.C (removeRow):
13669 * text.C (setHeightOfRow): remove useless (and costly) call to
13672 2001-11-20 Allan Rae <rae@lyx.org>
13674 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13675 Now need Inset*::checkInsertChar() to return true for appropriate
13676 cases so that the characters in the minibuffer will actually be
13679 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13681 * text.C: change the order of the includes.
13682 (workWidth): initialize it at once.
13683 (workWidth): make maxw unsigned
13684 (setHeightOfRow): remove unused variable (inset)
13685 (selectSelectedWord): remove unused variable (inset)
13686 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13688 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13690 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13691 server is not running.
13693 (closeConnection): add debug info when server is disabled.
13695 * ColorHandler.C (getGCForeground): send debug message to GUI
13698 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13700 * kbmap.C (bind): modify because return conventions of
13701 kb_sequence::parse have changed.
13703 * kbsequence.C (parse): only ignore spaces and not any stupid
13704 control character. This avoids tests like s[i] <= ' ', which are
13705 guaranteed to fail with 8bit characters and signed chars.
13706 Change return code to string::npos when there have been no error
13707 (0 was a bad idea when error is at first character)
13709 2001-11-14 José Matos <jamatos@fep.up.pt>
13712 * buffer.C (simpleDocBookOnePar): removed unused argument.
13714 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13717 insets which are part of a word. Paragraph::isLetter takes care of
13718 that now. Use Paragraph::isInset to identify insets.
13719 (selectSelectedWord): do not test for hyphenation break.
13721 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13722 that protected spaces are considered as spaces.
13724 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13727 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13730 * lyxserver.C: fix it. and small cleanup.
13732 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13734 * BufferView_pimpl.C: use inline helpers
13737 * LaTeXFeatures.C: fix typos
13740 * Spacing.C: move spacing_string into class
13742 * ToolbarDefaults.C: move stuff into namespace anon
13744 * layout.h: update enum
13746 * lyxfunc.C: use better debug
13748 * minibuffer.h: fix typo
13752 * WorkArea.C: add and use Debug::WORKAREA
13756 * text2.C: code re-organisation, inline helpers
13758 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13760 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13761 std::vector.empty().
13763 2001-11-09 Allan Rae <rae@lyx.org>
13765 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13766 '\n's after tables. Tabular and ERT inset work now makes this no
13769 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13772 * minibuffer.C: fix crash, improve drop-down completion
13774 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13777 * lyxserver.C: invalidate fd's when doing endPipe()
13779 2001-11-08 José Matos <jamatos@fep.up.pt>
13781 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13782 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13785 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13787 2001-11-07 José Matos <jamatos@fep.up.pt>
13790 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13793 * buffer.C (sgmlOpenTag):
13794 * buffer.C (sgmlCloseTag): removed debug info.
13796 * buffer.h (sgmlOpenTag):
13797 * buffer.h (sgmlCloseTag): made public.
13799 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13801 * buffer.C (saveParamsAsDefaults):
13802 * lyx_cb.C (MenuLayoutSave): remove
13804 * LyXAction.C (init):
13806 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13808 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13810 * buffer.C (setPaperStuff): removed from here...
13812 * bufferparams.C (setPaperStuff): ... and moved there.
13814 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13818 * XFormsView.C: add support for drop-down completion
13820 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13822 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13825 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13827 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13830 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13832 * lyx_main.C: change ref to known bugs
13834 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13836 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13837 to work around older babel problems.
13839 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13841 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13843 2001-10-24 Juergen Vigna <jug@sad.it>
13845 * tabular-old.C (ReadOld): below variable changes reflected.
13847 * tabular.[Ch]: added ltType struct for longtable header/footer
13848 defines and changed all instances where they are used. Added
13849 future support for double top/bottom rows.
13851 2001-10-24 José Matos <jamatos@fep.up.pt>
13853 * buffer.h (docbookHandleCaption):
13854 * buffer.C (docbookHandleCaption): removed unused function.
13855 (makeDocBookFile): moved docbook supported version to v4.1.
13857 2001-10-24 José Matos <jamatos@fep.up.pt>
13860 * tabular.C (docbookRow): new function to export docbook code of a row.
13861 (DocBook): now honors the longtable flags.
13863 2001-10-23 José Matos <jamatos@fep.up.pt>
13866 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13867 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13869 * buffer.C (makeLinuxDocFile):
13870 (makeDocBookFile): reworked the preamble, more clean, and with
13871 support for lyx defined entities. Changed the document declaration
13872 to be more XML friendly.
13874 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13875 if we need to output XML that should be done with a filter.
13877 2001-10-22 Juergen Vigna <jug@sad.it>
13879 * sp_pspell.h (class PSpell): add alive function needed in the
13880 controller to see if the spellchecker could be started.
13882 2001-10-22 Juergen Vigna <jug@sad.it>
13884 * buffer.C (insertStringAsLines): modify the font for inserting
13885 chars in certain conditions by calling checkInsertChar(font).
13887 2001-10-19 Juergen Vigna <jug@sad.it>
13889 * text.C (workWidth): use getRow instead of wrong algorithm.
13890 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13892 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13897 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13899 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13901 * text.C (workWidth): do not search for the exact row when
13902 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13903 optimization for big documents.
13905 2001-10-18 Juergen Vigna <jug@sad.it>
13907 * text.C (workWidth): new function with added Inset * parameter.
13909 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13913 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13914 change return type of getColumnNearX.
13917 * text.C (changeRegionCase): use uppercase/lowercase instead of
13920 (rightMargin): simplify code by factoring out the uses of
13925 (appendParagraph): use Paragraph::size_type
13927 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13929 * vspace.C (asLatexString): add a missing break
13931 2001-10-15 Herbert Voss <voss@perce.de>
13933 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13935 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13940 2001-10-10 André Pönitz <poenitz@gmx.net>
13942 * lyxfunc.C: removed greek_kb_flag.
13944 2001-10-10 Herbert Voss <voss@perce.de>
13946 * lyx_main.C: delete global string help_lyxdir.
13948 2001-10-09 Herbert Voss <voss@perce.de>
13950 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13952 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13954 * lyx_main.C: added global string help_lyxdir.
13956 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13958 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13960 * lyxrc.C (set_font_norm_type): support iso8859-4
13962 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13964 * LaTeX.C (deplog): add another regex for MikTeX
13966 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13968 * lyxrc.C (set_font_norm_type): support iso8859-3
13970 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13972 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13974 * LaTeXFeatures.C: remove special case of french and index
13976 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13977 before \begin{document}). This solves several incompatibilities.
13979 2001-10-03 Garst Reese <reese@isn.net>
13981 * lyx_cb.C: change CheckTex error msg.
13983 2001-10-03 José Matos <jamatos@fep.up.pt>
13985 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13987 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13989 * .cvsignore: update
13991 * lyx_main.C (commandLineVersionInfo): use new style version info.
13993 * buffer.C (writeFile):
13995 (makeLinuxDocFile):
13996 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13998 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14000 * version.h: update to use stuff in version.C
14002 * version.C.in: new file. Contains version information determined
14003 at compile time. This is a merging of version.h and
14006 2001-10-03 Juergen Vigna <jug@sad.it>
14008 * BufferView_pimpl.C (update): don't change "dirty" status in
14011 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14013 * WorkArea.C (c-tor): re-position version string slightly.
14015 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14017 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14018 revert to previous code.
14020 WorkArea.[Ch]: (show, destroySplash): methods removed.
14022 WorkArea.C: rework code so that it's an amalgam of the codes before and
14023 after the splash screen was moved to WorkArea.
14025 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14028 * vspace.C (inPixels):
14031 * buffer.C (insertStringAsLines):
14032 (asciiParagraph): fix types to be large enough
14034 * lyxlex_pimpl.h: change member status from short to int
14036 * layout.h: fix type of endlabeltype
14039 * kbsequence.C (parse): change return type to string::size_type
14041 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14044 * Bullet.C (bulletSize):
14045 (bulletEntry): do not use short ints as parameters
14047 * BufferView2.C (insertLyXFile): change a char to an int.
14049 * WorkArea.C (WorkArea): remove unneeded floats in computation
14051 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14053 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14055 * paragraph.C (asString): Do not ignore newline/hfill chars when
14056 copying to the clipboard.
14058 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14060 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14061 after a multi-line inset.
14063 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14065 * paragraph.C (validate): Set NeedLyXFootnoteCode
14067 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14069 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14070 and decrease-error to decrease.
14072 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14074 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14075 it more readable (should be equivalent)
14077 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14079 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14081 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14083 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14084 of a cursor (row, etc.) after a character has been deleted
14085 (deleteEmptyParagraphMechanism): call the method above on _all_
14086 cursors held by the LyXText when a double space has been
14089 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14091 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14093 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14095 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14096 background. Use greyOut() and the new show() methods to toggle between
14097 the foreground and background. Add code to remove the splash after
14098 its initial showing.
14100 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14101 (create_forms): no longer call Dialogs::showSplash.
14103 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14105 * .cvsignore: add version_info.h
14107 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14109 * version_info.h.in: new file
14111 * Makefile.am: add version_info.h.in
14113 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14114 version_info.h instead of VERSION_INFO
14116 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14118 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14119 The ERT inset now returns string().
14121 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14123 * lyxtext.h, text.C (selectNextWord): renamed as
14124 selectNextWordToSpellcheck.
14126 * text.C (selectNextWordToSpellcheck): Modified to not select
14127 words inside an ERT inset.
14129 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14131 * lyx_cb.C (MenuLayoutSave): change a bit the question
14133 * sp_base.h: include <sys/types.h>
14135 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14137 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14139 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14141 * several files: fix typos in user-visible strings
14143 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14145 * text2.C (pasteSelection): do not set the selection, since it
14146 will be cleared later. Actually, the intent was to fix the way the
14147 selection was set, but I figured rmoving the code was just as good.
14149 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14151 * FontLoader.C (available): Check if font is available without
14154 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14156 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14158 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14160 * lyxrc.[Ch]: added display_graphics variable and associated code.
14162 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14164 * bufferparams.C (hasClassDefaults): new method. Returns true if
14165 the buffer parameters correspond to known class defaults
14167 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14169 * XFormsView.C (show): set minimum size to the main window.
14171 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14173 * text2.C (copySelection):
14175 * lyxfind.C (LyXReplace):
14176 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14177 LyXText::selectionAsString.
14179 * paragraph.C (asString): add "label" argument to the second form
14181 * text2.C (selectionAsString): add "label" argument and pass it to
14182 Paragraph::asString.
14184 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14186 * lyx_main.C (commandLineHelp): remove version information
14188 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14190 * lyx_main.C: add -version commandline option
14192 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14194 * paragraph.h: make the optional constructor arg required instead.
14195 some modifications to other files because of this.
14197 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14199 * lyxserver.C (C_LyXComm_callback): make it static
14201 * lyx_main.C (error_handler): make it static
14203 * lyx_gui.C (LyX_XErrHandler): make it static
14205 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14207 * WorkArea.C: make the extern "C" methods static.
14209 * Makefile.am (lyx_LDADD): simplify
14211 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14213 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14214 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14216 * LyXAction.C (init):
14217 * lyxfunc.C (dispatch): associated code removal.
14219 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14221 * lyxfont.h (isSymbolFont): shut off warning
14223 * text.C (setHeightOfRow):
14224 (getVisibleRow): fix crash with empty paragraphs which have a
14227 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14229 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14232 2001-09-04 José Matos <jamatos@fep.up.pt>
14235 * tabular.C (docbook): rename docBook method to docbook.
14237 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14239 * Makefile.am: add dependencies to main.o.
14241 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14243 * FontLoader.C (available): Return false if !lyxrc.use_gui
14245 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14247 * FontInfo.C (query):
14248 * converter.C (view):
14249 * importer.C (Import):
14250 * exporter.C (Export): Can not -> cannot.
14252 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14254 * BufferView_pimpl.C: allow to create index inset even if
14257 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14259 * buffer.C (getLists): replace boost::tie code with an explicit pair
14260 as boost::tie can break some compilers.
14262 * iterators.h: Added a std:: declaration to the return type of
14265 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14267 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14270 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14272 * iterators.[Ch]: New files. Provide paragraph iterators.
14274 * buffer.C (changeLanguage): Use paragraph iterators.
14275 (isMultiLingual): ditto
14277 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14279 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14281 * FontLoader.C: Support for cmr font.
14283 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14285 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14286 (available): New method.
14288 * FontInfo.C (getFontname): Use scalable fonts even when
14289 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14292 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14294 * converter.C (Formats::view): reverted! Incorrect fix.
14296 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14298 * converter.C (Formats::view): only output the -paper option
14299 if the dvi viewer is xdvi, thereby fixing bug #233429.
14301 2001-08-23 Herbert Voss <voss@perce>
14303 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14305 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14307 * Spacing.h (Spacing): Set space to Default on in the default
14310 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14312 * vc-backend.h (RCS::versionString): add RCS to version
14313 (CVS::versionString): add CVS to version
14315 * vc-backend.C (scanMaster): do not add CVS to version.
14316 (scanMaster): do not add RCS to version
14318 * lyxvc.C (versionString): new method
14320 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14322 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * Spacing.C (set): initialize fval
14326 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14328 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14331 2001-08-16 Juergen Vigna <jug@sad.it>
14333 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14335 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14337 * BufferView_pimpl.C:
14340 * text2.C: setParagraph takes linespacing now
14342 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14344 * LyxAction.C: add internal LFUN_CITATION_INSERT
14346 * LyXView.C: actually apply fix
14348 * bufferlist.C: fix open non-existent file
14350 * lyxfind.C: fix indentation
14352 * lyxfunc.C: remove unneeded assert, fix typo
14354 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14356 * MenuBackend.C: use "Floatname List"
14358 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14360 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14361 when converting LaTeX layout to insetERT.
14362 Generate a non-collapsed float when reading old float
14364 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14366 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14369 2001-08-13 Juergen Vigna <jug@sad.it>
14371 * text.C (fill): return 0 instead of 20 as this seems to be the more
14374 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14376 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14379 2001-08-13 Juergen Vigna <jug@sad.it>
14381 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14383 (SearchBackward): comment out the unlocking of the inset_owner this
14384 should not be needed!
14386 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14388 * Many files: Remove inherit_language, and add latex_language
14390 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14391 collapsible insets.
14393 2001-08-10 Juergen Vigna <jug@sad.it>
14395 * text.C (prepareToPrint): fixed hfill-width in draw!
14397 * BufferView2.C (selectLastWord): save the selection cursor as this
14398 now is cleared in the function LyXText::clearSelection!
14400 2001-08-08 Juergen Vigna <jug@sad.it>
14402 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14403 BACKSPACE type functions.
14405 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14406 is only cutted from the document but not put in the cut-buffer, where
14407 still the old stuff should be.
14409 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14411 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14413 * tabular.C (SetWidthOfCell): fixed special case where the width
14415 (LeftLine): handle '|' in align_special.
14417 (LeftAlreadyDrawed): ditto
14418 (SetWidthOfCell): ditto
14420 2001-08-07 Juergen Vigna <jug@sad.it>
14422 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14424 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14426 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14427 * lyxlex.[hC]: ditto
14429 2001-08-06 Juergen Vigna <jug@sad.it>
14431 * text.C (getVisibleRow): fix up row clearing a bit.
14433 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14435 * minibuffer.C: make sure the X server sees the changes in the input.
14437 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14439 * paragraph.C (getFont): split into...
14440 (getLabelFont): this
14441 (getLayoutFont): and this
14442 * paragraph_pimpl.C (realizeFont): calling this
14444 * text2.C (getFont): split into...
14445 (getLayoutFont): this
14446 (getLabelFont): and this
14447 (realizeFont): all three calling this
14449 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14452 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14454 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14456 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14458 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14459 layouts from the Quote inset insertion.
14461 2001-08-03 Juergen Vigna <jug@sad.it>
14463 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14465 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14466 only if status not is already CHANGED_IN_DRAW (second level).
14468 * text.C (draw): don't set the need_break_row when inside an
14471 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14473 * buffer.C (parseSingleLyXformat2Token): handle more latex
14476 * bufferview_funcs.[hC]: change function names to
14477 begin with small char, adjust other files.
14479 2001-08-02 André Pönitz <poenitz@gmx.net>
14482 BufferView_pimpl.C: remove broken special code for math-greek
14484 2001-08-02 Juergen Vigna <jug@sad.it>
14486 * BufferView_pimpl.C (update): redone this function so that we
14487 update the text again if there was a CHANGE_IN_DRAW.
14489 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14490 (drawFromTo): added a new internal bool which is used by draw() and
14492 (general): some cursor drawing problems fixed.
14494 2001-08-01 Juergen Vigna <jug@sad.it>
14496 * lyxfind.C (LyXFind): fixed
14497 (SearchForward): ditto
14498 (SearchBackward): ditto
14500 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14501 spurius drawing of the cursor in the main area.
14503 * text2.C (status): small fix which could lead to a segfault!
14504 (clearSelection): remove unneeded BufferView param.
14506 2001-08-01 André Pönitz <poenitz@gmx.net>
14508 * lyxfunc.C: small change due to changed mathed interface
14510 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14512 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14514 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14516 * lyxfunc.c: fail gracefully if file doesn't exist
14521 * BufferView_pimpl.C: IsDirWriteable() proto changed
14523 * LyXView.C: fix updateWindowTitle() to store the last title
14525 2001-07-31 Juergen Vigna <jug@sad.it>
14527 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14528 the font (wrong since using of Paragraph::highestFontInRange).
14530 * paragraph.C (highestFontInRange): added a default_size parameter.
14532 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14533 (setHeightOfRow): reformat
14535 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14537 * converter.[hC] + affected files: move to (inital-char)lowercase
14540 * ParagraphParameters.C (ParagraphParameters): remove commented code
14542 * PainterBase.[Ch]: remove commented code
14544 * LaTeXFeatures.h: add "bool floats" for float.sty
14546 * LaTeXFeatures.C (LaTeXFeatures): init floats
14547 (require): handle float
14548 (getPackages): do it with floats
14550 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14552 * BufferView_pimpl.C (Dispatch): improve handling of
14553 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14555 * commandtags.h: #include lyxfont.h here temporarily to avoid
14558 * bufferlist.h: include LString.h here.
14560 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14562 * text2.C (getStringToIndex): new method.
14564 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14566 * *: Reduced header file dependencies all over.
14568 2001-07-30 Baruch Even <baruch@lyx.org>
14570 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14572 2001-07-29 Baruch Even <baruch@lyx.org>
14574 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14576 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14578 * ParameterStruct.h (endif): add a default constructor to make
14579 sure that all variables is initialized.
14581 * ParagraphParameters.C (ParagraphParameters): adjust
14583 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14585 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14586 index; also, check that there is something to index, and that it
14587 does not span over several paragraphs.
14588 (doubleClick): use WHOLE_WORD_STRICT for double click.
14590 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14592 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14595 2001-07-26 Baruch Even <baruch@lyx.org>
14597 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14598 an InsetFig figure, backwards compatible reading of old figure code.
14600 2001-07-27 Juergen Vigna <jug@sad.it>
14602 * text2.C: font.realize function adaption.
14604 * text.C (draw): add a warnings lyxerr text if needed.
14606 * layout.C: font.realize function adaption.
14608 * language.C: add inherit_language and implement it's handlings
14610 * bufferview_funcs.C (StyleReset): remove language parameter from
14611 font creation (should be language_inherit now).
14613 * bufferparams.C (writeFile): handle ignore_language.
14615 * paragraph.C (getFontSettings): the language has to be resolved
14616 otherwise we have problems in LyXFont!
14618 * lyxfont.C (lyxWriteChanges): added document_language parameter
14619 (update): removed unneeded language parameter
14621 * paragraph.C (validate): fixed wrong output of color-package when
14622 using interface colors for certain fonts in certain environments,
14623 which should not seen as that on the final output.
14625 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14627 * BufferView_pimpl.C:
14632 * LyXAction.C: add thesaurus support
14635 * lyxfind.C: add "once" parameter, for thesaurus, to not
14636 move to the next match
14638 2001-07-26 Juergen Vigna <jug@sad.it>
14640 * lyxfont.C (realize): honor ignore_language too!
14643 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14645 * text.C (draw): one place more for ignore_language to not draw
14648 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14650 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14652 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14654 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14655 the minipage conversion problem.
14657 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14659 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14662 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14664 * BufferView.h: don't forward declare WorkArea
14666 * BufferView.C: don't include WorkArea.h
14668 2001-07-25 André Pönitz <poenitz@gmx.net>
14672 * lyxfunc.C: new LFUN 'math-space'
14674 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14676 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14678 * text2.C (toggleInset): call open/close
14680 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14682 * lyxfunc.C (dispatch): add debug for the disabled case
14684 * font.C (buttonText): make similar to rectText
14686 * buffer.C (readInset): comment out parsing of insetlist and
14689 * PainterBase.C (rectText): small correction
14691 * BufferView_pimpl.C: comment out insettheorem and insetlist
14692 * LyXAction.C: ditto
14693 * commandtags.h: ditto
14695 2001-07-24 Juergen Vigna <jug@sad.it>
14697 * text.C (draw): honor the ignore_language.
14699 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14701 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14706 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14708 * lyxtext.h: remove unused (and unimplemented) methods
14710 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14712 * text.C (getVisibleRow): honor background color
14715 * Painter.h: remove default color argument for fillRectangle
14717 * text.C (backgroundColor): new method
14719 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14721 * text.C (getVisibleRow): adjust
14723 * font.[Ch] (rectText): new method, metrics
14724 (buttonText): new method, metrics
14726 * PainterBase.[hC]: make rectText and buttonText always draw and take
14729 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14731 * ToolbarDefaults.C (read):
14732 * MenuBackend.C (read): allow escaping in all strings
14734 * BufferView_pimpl.C (insertAndEditInset): new method.
14735 (Dispatch): use insertAndEditInset whenever appropriate.
14737 * BufferView_pimpl.C (insertNote): removed
14739 * BufferView_pimpl.C (smartQuote): new method, moved from
14740 BufferView; if an insetquote cannot be inserted, insert a '"'
14743 * BufferView2.C: remove insertCorrectQuote();
14745 * lyxfunc.C (getStatus): Add support for all remaingin
14746 inset-insert lfuns.
14748 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14750 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14751 command (necessary to pass " as parameter of self-insert.
14753 * text.C (selectWordWhenUnderCursor):
14754 (selectWord): add word_location parameter
14755 (selectWordWhenUnderCursor): same + remove special code for word
14757 (selectNextWord): use kind() to guess type of insetspecialchar,
14760 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14761 (insertErtContents): create ert insets as collapsed.
14762 (readInset): better compatibility code for Info inset.
14764 2001-07-20 Juergen Vigna <jug@sad.it>
14766 * lyxfunc.C (dispatch): use always LyXFind now!
14768 * text2.C (init): add a reinit flag so that the LyXText can be
14769 reinited instead of deleted and reallocated (used in InsetText).
14771 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14777 2001-07-18 Juergen Vigna <jug@sad.it>
14779 * text.C (selectNextWord): handle insets inside inset by calling
14780 always the bv->text functions so that we can go up the_locking_inset!
14782 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14783 in strange locations when inside an inset!
14785 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14786 handling to include insets.
14788 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14790 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14792 * LyXAction.C (init):
14794 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14795 LIGATURE_BREAK, since the name is so stupid.
14797 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14799 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14802 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14804 * sp_form.[Ch]: remove.
14806 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14808 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14811 * src/buffer.C (readInset): ditto.
14813 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14815 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14816 menuSeparator(), endOfSentenceDot(), ldots() and
14817 hyphenationPoint(), which are therefore removed.
14818 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14820 * LyXAction.C (init):
14821 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14823 * paragraph.C (getWord): removed.
14825 * BufferView_pimpl.C (Dispatch): use last word or selection for
14826 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14828 * lyx_main.C (queryUserLyXDir): do not ask before creating
14829 user_dir, except if it has been named explicitely.
14831 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14833 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14834 a document of zero size.
14836 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14838 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14839 approriately in the c-tor and in require().
14840 (getPackages): output the appropriate LaTeX for natbib support.
14842 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14843 variables "use_natbib" and "use_numerical_citations" when reading the
14845 (readInset): read the various natbib cite commands.
14846 (validate): white-space change.
14848 * bufferparams.[Ch]: new variables "bool use_natbib" and
14849 "bool use_numerical_citations".
14850 (writeFile): output them in the LyX file.
14852 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14854 * lyxfunc.C (getStatus): add support for all the inset insertion
14857 * text2.C (insertInset):
14858 * paragraph.C (insetAllowed):
14859 * BufferView_pimpl.C (insertInset): update to take in account the
14860 renaming of insertInsetAllowed
14862 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14864 * text2.C (getInset): new method. returns inset at cursor position.
14866 * BufferView_pimpl.C (Dispatch): changes because of this.
14868 * LyXAction.C (init): rename open-stuff to inset-toggle.
14870 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14872 * text2.C (toggleInset): renamed from openStuff; use
14875 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14877 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14879 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14881 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14883 * buffer.C (readLyXformat2): Add filename to the error dialog
14885 2001-07-18 Juergen Vigna <jug@sad.it>
14887 * tabular.C (GetCellNumber): put an assert here instead of the check!
14889 2001-07-17 Juergen Vigna <jug@sad.it>
14891 * BufferView_pimpl.C (toggleSelection): adapted too.
14893 * text.C (selectNextWord): adapted for use with insets.
14894 (selectSelectedWord): ditto
14896 2001-07-17 Juergen Vigna <jug@sad.it>
14898 * sp_spell.C (PSpell): fix initialitation order.
14900 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14902 * paragraph.C: spacing
14904 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14906 * sp_spell.C: repair language selection for pspell
14908 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14910 * lyxfunc.h: change more methods to begin with lower char.
14912 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14914 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14915 for unknown layouts.
14917 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14919 * buffer.C (readLyXformat2): Generate an error dialog if there are
14922 2001-07-16 Juergen Vigna <jug@sad.it>
14924 * sp_spell.C: always compile ISpell part.
14926 * lyxrc.C: added use_pspell entry and it's handling.
14928 2001-07-13 Juergen Vigna <jug@sad.it>
14930 * sp_spell.C: removed double includes.
14932 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14934 Consistent use of Lsstream.h:
14935 * Lsstream.h: added using std::stringstream for consistencies sake.
14937 * buffer.C: removed using std::stringstream
14939 * lyxfont.C (stateText):
14940 * paragraph.C (asString):
14941 * text.C (selectNextWord, selectSelectedWord):
14942 * text2.C (setCounter):
14943 * vspace.C (asString, asLatexString):
14944 std::ostringstream -> ostringstream.
14946 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14948 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14949 * commandtags.h: add LFUN_HELP_ABOUTLYX
14950 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14952 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14954 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14956 * lyx_gui_misc.C: remove spellchecker
14957 * lyxfunc.C: showSpellchecker
14959 * sp_ispell.h: added
14960 * sp_pspell.h: added
14961 * sp_spell.C: added
14962 * sp_form.[Ch]: removed
14963 * spellchecker.[Ch]: removed
14965 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14967 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14969 (simpleTeXSpecialChars): Simply print the input character without
14970 any special translation if pass_thru is set.
14972 * layout.h: Added bool pass_thru to layout class for being able to
14973 implement pass through of a paragraph for Literate Programming.
14975 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14976 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14977 * layout.C (Read): add "passthru" to list of layout tags and add
14978 code to set the pass_thru boolean when it is read.
14980 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14982 * trans_decl.h: remove allowed from KmodInfo
14984 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14985 remove allowed code
14988 * paragraph_pimpl.C (erase): use boost::prior
14990 * Painter.C (text): use data() instead of c_str() when length is
14992 * WorkArea.C (putClipboard): ditto
14993 * font.h (width): ditto
14995 * BufferView2.C: use it-> instead of (*it). for iterators
14997 * paragraph_pimpl.C: ditto
14998 * paragraph.C: ditto
14999 * minibuffer.C: ditto
15000 * language.C: ditto
15002 * encoding.C: ditto
15003 * counters.C: ditto
15004 * converter.C: ditto
15006 * Variables.C: ditto
15007 * TextCache.C: ditto
15008 * MenuBackend.C: ditto
15009 * LyXAction.C: ditto
15011 * FloatList.C: ditto
15012 * DepTable.C: ditto
15013 * ColorHandler.C (LyXColorHandler): ditto
15015 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15017 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15019 * text2.C (openStuff): reintroduce this method (which had been
15020 nuked in NEW_INSETS frenzy).
15022 * lyxfunc.C (Dispatch): when an action has not been handled, use
15023 its name in the error message, not its number.
15025 * paragraph.C (inInset): change method name to begin with lowercase.
15028 * text2.C: updates because of this.
15030 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * ToolbarDefaults.C (add): add spaces in error message
15034 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15037 (readLyXformat2): rename return_par to first_par, use lyxlex's
15038 pushToken and remove the manual push handling.
15039 (parseSingleLyXformat2Token): add another ert comp. variable:
15040 in_tabular, rename return_par to first_par. handle newlines better
15042 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15044 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15046 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15048 * text2.C (getParFromID): removed
15050 * buffer.C (getParFromID): new method moved form lyxtext.
15051 * BufferView2.C (insertErrors): adjust
15052 (setCursorFromRow): adjust
15053 * BufferView_pimpl.C (restorePosition): adjust
15054 * lyxfunc.C (Dispatch): adjust
15055 * undo_funcs.C (textUndo): adjust
15057 (textHandleUndo): adjust
15058 (textHandleUndo): adjust
15060 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15062 * buffer.C: up' the LYX_FORMAT
15064 * lyxfont.h: turn NO_LATEX on as default
15066 * buffer.C (insertErtContents): new methods of tex style compability.
15067 (parseSingleLyXformat2Token): use it several places.
15068 * tabular.C (OldFormatRead): and here
15070 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15072 * text2.C: remove some commented code.
15075 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15076 * trans.C: changes because of the above.
15078 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15080 * text2.C (setCounter): Fix counters bug with bibliography layout.
15082 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15084 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15085 own member functions
15086 (simpleTeXSpecialChars): ditto
15088 2001-07-06 Juergen Vigna <jug@sad.it>
15090 * a lot of files: changed the access to LyXText::status and the
15091 call of undo-functions.
15093 * undo.[Ch]: added a inset_id to the undo informations.
15095 * undo_funcs.[Ch]: added and moved here all undo functions.
15097 * lyxtext.h: give the status enum a weight, made status_ a private
15098 variable and made accessor functions for it, removed the whole bunch
15099 of undo-functions as they are now in their own file, make some
15100 functions publically available. Added function ownerParagraph with
15103 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15104 made InInset() a const function, added getParFromID() function.
15106 * buffer.[Ch]: added const version for inset_iterator functions,
15107 added getInsetFromID() function.
15109 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15110 changed undo functions for new version.
15112 2001-07-05 Juergen Vigna <jug@sad.it>
15114 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15115 unknow mechanism does not call the proper constructor but only this
15116 one also if I request the other!?
15118 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15120 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15122 * text2.C (LyXText): use initialization lists.
15124 * lyxtext.h (Selection): initialize set_ and mark_
15125 (init): remove method
15127 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15129 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15131 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * screen.[Ch]: change method names to begin with lowercase
15135 * BufferView_pimpl.C (updateScrollbar): simplify further and
15136 hopefully make it a bit faster.
15138 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15140 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15141 calling directly xforms functions.
15143 * Painter.C (Painter):
15144 * lyx_cb.C (MenuWrite):
15145 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15148 * lyx_gui.C: remove bogus guiruntime extern declaration.
15150 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15152 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15154 (redoDrawingOfParagraph): ditto
15155 (redoParagraphs): ditto
15156 (cutSelection): don't create a object for CutAndPaste use the
15157 static method directly
15158 (pasteSelection): ditto
15160 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15163 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15165 * modifications to some other files because of this.
15167 * Makefile.am (lyx_SOURCES): add XFormsView
15169 * XFormsView.[Ch]: new files
15171 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15172 the main window. Move the gui dependent stuff to XFormsView
15174 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15176 * tabular.C (GetCellInset): update cur_cell also in the row/col
15177 version of this function.
15179 * lyxfunc.C: no need to include figure_form.h here.
15185 * lyxvc.C: no need to include forms.h here.
15187 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15189 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15191 * lyxfunc.C (Dispatch):
15193 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15194 constructor argument.
15196 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15198 * paragraph.C (Paragraph): dont't clear, and just set layout.
15199 (makeSameLayout): use params's copy contructor.
15201 * ParagraphParameters.[Ch] (makeSame): delete method
15203 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15205 * Variables.[Ch]: fix indentation, rename set to isSet
15207 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15209 * lyxfunc.C (Dispatch): fix typo
15211 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15213 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15216 * bufferlist.C: include assert.h for emergencyWrite().
15218 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15220 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15221 give up at last (bug #425202) !
15223 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15229 * spellchecker.C: strip spellchecker options and bring up
15230 preferences tab instead
15232 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15234 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15235 the istringstream constructor
15237 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15239 * paragraph.C (getLayout): fix return value
15241 * paragraph.h: do not declare getLayout as inline.
15243 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15245 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * lyxcursor.h (operator<): new func
15248 (operator>): new func
15249 (operator>=): new func
15250 (operator<=): new func
15252 * text.C (changeCase): use selection.start and selection.end
15253 (changeRegionCase): require from to be <= to. Require par to be a
15256 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15258 2001-06-27 Juergen Vigna <jug@sad.it>
15260 * text.C (cursorLeftOneWord): changed to return the cursor and added
15261 overlay with BufferView * parameter which calls this one.
15263 (selectWord): use new getWord function.
15264 (changeCase): renamed from changeWordCase as and extended to work
15265 also on selections.
15267 * lyxtext.h: added enum word_location
15269 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15270 changeCase as this operates now also on selections.
15272 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15274 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15276 * many files: send debug output to Debug::INFO instead of
15279 * converter.C (View):
15281 (Move): send debug output to Debug::FILES instead of console.
15283 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15285 * lyxfunc.C (getStatus): use func_status
15287 * func_status.h: new header, describing the results of
15288 LyXFunc::getStatus;
15290 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15293 2001-06-25 The LyX Project <jug@sad.it>
15295 * buffer.C (sgmlOpenTag):
15297 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15299 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15301 * text2.C: remove some dead code
15303 * tabular.C (GetCellInset): store the last cell checked (gotten)
15305 * tabular.h: add the helper for the speedup
15307 * lyxtext.h: remove some dead code
15309 2001-06-26 The LyX Project <Asger>
15311 * paragraph.C: Change export to LaTeX of alignment to
15312 \begin{center} and family for better roundtrip work with reLyX.
15314 * Tune the math drawing a bit.
15316 2001-06-25 The LyX Project <Asger>
15318 * LColor.C (LColor): New color for math background. New color
15321 2001-06-25 The LyX Project <jug@sad.it>
15323 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15325 * lyxfunc.C (Open):
15326 * bufferlist.C (newFile): do not restrict to files ending with
15329 * BufferView_pimpl.C (MenuInsertLyXFile):
15331 2001-06-24 The LyX Project <jug@sad.it>
15333 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15336 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15338 * lyxtext.h: rename most methods to begin with a small char.
15339 Lots of changes because of this.
15341 * paragraph.C (Paragraph): do not call fitToSize
15342 (erase): call Pimpl::erase
15343 (insertChar): call Pimpl::insertChar
15344 (insertInset): call Pipl::insertInset
15345 (breakParagraph): do not call fitToSize
15346 (breakParagraphConservative): do not call fitToSize
15347 (fitToSize): remove method
15349 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15351 2001-06-24 The LyX Project <Asger>
15353 * Fix Qt compilation^2
15355 2001-06-24 The LyX Project <jug@sad.it>
15357 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15358 depthHook(getDepth()-1).
15361 * ParagraphParameters.h:
15362 * ParameterStruct.h: change type of depth to unsigned int ==
15363 depth_type. Many adaptations to other files before of that.
15365 2001-06-24 The LyX Project <Asger>
15367 * Fix Qt compilation.
15369 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15371 * paragraph.h: renamed several methods to begin with small letter.
15372 several changes to many parts of the code because of this.
15374 2001-06-23 The LyX Project <jug@sad.it>
15376 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15377 rewritten to discard all double spaces when KeepEmpty is off
15378 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15379 to only handle newlines but not fiddle with spaces and friends.
15381 * lyxfunc.C (MenuNew): when doing 'new from template', use
15382 template_path as default directory
15384 2001-06-23 The LyX Project <Asger>
15386 * Clean-up of header file includes all over
15387 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15389 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15391 * paragraph.h: renamed from lyxparagraph.h
15393 2001-06-23 Asger <lyx@violet.home.sad.it>
15395 * Buffer.h: Removed Buffer::resize
15396 * BufferList.h: Removed BufferList::resize
15397 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15398 the document lazily when we change the width, or the font settings.
15400 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15402 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15404 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15406 * buffer.h: remove out of date comment
15408 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15411 * screen.C: fix "theoretical" GC leak
15413 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * LaTeX.C (scanAuxFile):
15416 (deplog): remove trailing \r when reading stream (useful under
15419 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15421 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15422 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15423 and BufferView::theLockingInset(Inset*), so should use them and not
15424 access bv_->text->the_locking_inset directly.
15426 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15428 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15431 * tex-defs.h: remove old unused file
15433 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15435 * BufferView_pimpl.C: fix typo, remove minibuffer message
15436 when buffer has loaded
15438 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15440 * lyxfunc.C (Dispatch): use stringstream
15441 (MenuNew): use stringstream
15442 (Open): use stringstream
15444 * importer.C (Import): use stringstream
15446 * bufferview_funcs.C (CurrentState): use stringstream
15448 * LaTeX.C (run): use stringstream
15450 * BufferView_pimpl.C (savePosition): use stringstream
15451 (restorePosition): use stringstream
15452 (MenuInsertLyXFile): use stringstream
15454 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15467 * vspace.C: removed // -*- C++ -*- as first line.
15470 * version.h: added // -*- C++ -*- as first line.
15472 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15474 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15476 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15479 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15481 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15484 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15486 * gettext.C: include LString.h even when --disable-nls is on.
15488 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15490 * converter.h (Get): changed argument type from int to
15491 FormatList::size_type to avoid unnecessary conversion.
15493 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15496 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15498 * gettext.h: include LString.h even when --disable-nls is on.
15500 2001-06-07 Juergen Vigna <jug@sad.it>
15502 * text.C (BreakAgain): subst spaces with tabs.
15504 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15505 (resizeInsetsLyXText): set force on resizeLyXText.
15507 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15509 * gettext.h (gettext_init):
15510 (locale_init): use a real definition instead of a macro
15512 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15514 * Bufferview_pimpl.C:
15516 * LColor.C: further lcolor tidies
15518 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15520 * BufferView_pimpl.C (updateScrollbar): simplify.
15522 * BufferView2.C: don't include insets/insetinfo.h, change
15523 prototype for insertInset and call the Pimpl version. let
15524 updateInset call Pimpl version.
15526 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15527 gotoInset to BufferView::Pimpl
15529 2001-06-01 Juergen Vigna <jug@sad.it>
15531 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15532 inside a LockingInset (is the update needed at all?).
15534 2001-05-31 Juergen Vigna <jug@sad.it>
15536 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15537 here not the old one otherwise how should we compare it afterwards
15540 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * FontInfo.C: bring C functions into global namespace when
15548 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15550 * LString.h: make sure config.h has been loaded before LString.h.
15552 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15553 (one for each char read by EatLine!).
15555 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15558 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15560 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15561 to the same as the par we break from
15563 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15565 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15567 * MenuBackend.C (expand): also create menu entries for wide
15568 versions of the floats.
15570 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15572 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15574 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15575 frontends/Makefile.am
15581 * tabular.C (getTokenValue): add std::
15583 * tabular-old.C (getTokenValue): add std::
15584 (getTokenValue): ditto
15585 (getTokenValue): ditto
15587 * screen.C (ToggleSelection): adjust
15589 * lyxtext.h: put selection cursors inside a Selection struct.
15591 * lyxfunc.C (moveCursorUpdate): adjust
15593 * lyxfont.C (latexWriteStartChanges): add std::
15595 * lyxfind.C: adjust
15597 * font.h: delete with(char const *, LyXFont const &)
15599 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15601 * FontInfo.C (getFontname): add std::
15603 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15604 (workAreaButtonPress): adjust
15605 (tripleClick): adjust
15607 (moveCursorUpdate): adjust
15610 * BufferView2.C (gotoInset): adjust
15612 2001-05-30 Juergen Vigna <jug@sad.it>
15614 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15615 to check pspell I add this as default as I now have new pspell
15616 libraries and they seem to use this.
15618 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15620 * text2.C (CutSelection): make the cursor valid before the call to
15623 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15625 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15626 relied on 0 terminated strings and other horrors. Bug found due to
15627 the new assert in lyxstring!
15629 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15632 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15634 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15637 * lyxfunc.C (processKeySym): change method of getting to the
15640 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15641 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15642 * BufferView_pimpl.[Ch]: here as private methods.
15644 2001-05-28 Juergen Vigna <jug@sad.it>
15646 * text.C (SetHeightOfRow): added the update() call again as it is
15647 needed to initialize inset dimensions!
15649 2001-05-16 Juergen Vigna <jug@sad.it>
15651 * text2.C (SetCharFont): Add new function with BufferView * and
15652 bool toggleall parameters for setting insets internal fonts.
15653 (SetFont): Freeze the undo as we may change fonts in Insets and
15654 all this change should be inside only one Undo!
15656 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15657 setting font's in insets as for them we have the SetFont function!
15659 2001-05-15 Juergen Vigna <jug@sad.it>
15661 * text2.C (ClearSelection): to be sure we REALLY don't have any
15664 * tabular.C (TeXCellPreamble): fixed the left border problem for
15667 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15669 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15672 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15674 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15675 LFUN_BREAKPARAGRAPH.
15677 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15678 help test to "internal only", similar for LFUN_INSERT_URL
15680 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15681 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15682 auto_region_delete and deadkeys.
15684 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15687 * LColor.C: remove some dead entries, tidy a little
15689 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15691 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15693 (Dispatch): implement LFUN_ESCAPE
15695 * commandtags.h: add LFUN_ESCAPE
15697 * LyXAction.C (init): add entry for LFUN_ESCAPE
15699 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15700 Remove commented code.
15701 (insertNote): moved here
15702 (open_new_inset): moved here
15704 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15707 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15709 * kbmap.C (findbinding): clean it up and make it work correctly.
15711 * lyx_main.C (init): do not pass argc and argv as parameters
15713 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15715 * buffer.C: fix path for OS/2 & Win32
15719 * lyx_main.C: Added os:: class.
15721 * os2_defines.h: update
15723 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15725 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15726 better by trying again with reduced state.
15728 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15730 * lyxrc.C (read): print error about invalid key sequence only when
15731 debugging (because not all latinX keysyms are known to some X
15734 * kbsequence.C (getiso): add a few std:: qualifiers
15735 (getiso): comment out extra return statement.
15737 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15739 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15741 (Dispatch): enhance the accent inset a bit. (not perfect)
15743 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15745 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15747 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15749 * bufferlist.C (emergencyWrite): fix assert() call
15751 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15753 * text.C (InsertChar): Added trivial patch to only send the "you
15754 can not do multiple spaces this way" message once during a
15757 2001-05-08 Baruch Even <baruch@lyx.org>
15759 * Makefile.am: Changed order of libraries to get LyX to link properly
15760 with the gnome frontend.
15762 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15764 * LaTeXFeatures.h: add a std:: qualifier
15766 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15768 * paragraph.C (String): use stringstream
15770 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15772 * paragraph.C (writeFile): remove footflag arg
15774 * buffer.C (makeLaTeXFile): use stringstream
15775 (latexParagraphs): remove footnot gurba
15777 * LaTeXFeatures.C (getPackages): use stringstream
15778 (getMacros): likewise
15779 (getTClassPreamble): likewise
15780 (getFloatDefinitions): new method
15782 * paragraph.C (writeFile): reindent
15785 * WorkArea.h: revert the xpos + etc changes.
15787 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15789 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15791 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15792 (pasteSelection): likewise
15793 * text2.C (CreateUndo): likewise
15795 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15797 * minibuffer.C (peek_event): temporarily reduce the functionality
15798 of the minibuffer (to allow args on lfuns)
15800 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15801 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15803 * buffer.C (readInset): add compability reading of old float
15804 lists, add reading of new style float list.
15805 (readInset): avoid reevaluation of inscmd.getCmdName()
15806 (getLists): reindent
15808 * MenuBackend.C (MenuItem): implement parsing of
15809 md_floatlistinsert and md_floatinsert.
15810 (expand::LastFiles): move initalizaton of iterators out of loop,
15811 avoid reevaluation.
15812 (expand::Documents): introduce typdedef vector<string> Strings,
15814 (expand::ExportFormats): introduce typedef vector<Format const *>
15815 Formats, and use it.
15816 (expand): implement FloatListInsert and FloatInsert.
15818 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15819 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15820 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15822 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15824 (Dispatch::LFUN_FLOAT_LIST): implement
15826 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15828 * LaTeX.C (run): Fix problem with --export code.
15830 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15832 * BufferView.[Ch] (workarea): removed.
15833 (getClipboard) new method; wrapper for workarea()->getClipboard()
15835 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15838 * WorkArea.h (width, height, xpos, ypos): These methods all
15839 returned the dimensions of the work_area sub-area of WorkArea,
15840 resulting in a position error if the WorkArea were resized. Now
15841 return the dimensions of the entire WorkArea.
15843 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15845 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15847 * LaTeX.C (deplog): correct the syntax of regex reg1
15849 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15851 * undo.C: remove !NEW_INSETS cruft
15853 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15855 * text2.C: remove !NEW_INSETS cruft
15857 * text.C: remove !NEW_INSETS cruft
15859 * tabular.C: remove !NEW_INSETS cruft
15861 * spellchecker.C: remove !NEW_INSETS cruft
15863 * lyxtext.h: remove !NEW_INSETS cruft
15865 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15867 * lyxfunc.C: remove !NEW_INSETS cruft
15869 * lyxfind.C: remove !NEW_INSETS cruft
15871 * lyx_cb.C: remove !NEW_INSETS cruft
15873 * figureForm.C: remove !NEW_INSETS cruft
15875 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15877 * buffer.[Ch]: remove !NEW_INSETS cruft
15879 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15881 * CutAndPaste.C: remove !NEW_INSETS cruft
15883 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15885 * BufferView2.C: remove !NEW_INSETS cruft
15887 * BufferView.h: remove !NEW_INSETS cruft
15889 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15891 * Lsstream.h: include LString.h before the sstream headers to
15892 fix problem with gcc 2.95.3 and lyxstring
15894 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15896 * lyx_main.C: add using directives when needed for C functions
15897 declared in std:: namespace.
15899 2001-04-27 Juergen Vigna <jug@sad.it>
15901 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15902 (SetHeightOfRow): comment out the update call should not be needed!
15904 2001-04-13 Juergen Vigna <jug@sad.it>
15906 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15907 (LyXTabular): tried to minimize operator= operations (and realized
15908 hopfully Lars wish).
15910 2001-04-27 Juergen Vigna <jug@sad.it>
15912 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15914 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15916 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15918 * buffer.C (readInset): hack to make listof algorithm work
15920 * BufferView_pimpl.C: hack to make listof algorithm work
15922 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15924 * LyXAction.C: removed all !NEW_INSETS cruft
15925 (init): moved lfun_item in method
15927 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15929 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15931 * BufferView2.C (theLockingInset): white space.
15933 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15935 * minibuffer.C: include <iostream>
15937 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15939 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15941 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15943 * text.[Ch] (TransposeChars): new method
15945 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15947 * call message directly through LyXView instead of through LyXFunc
15948 * BufferView2.C: adjust
15949 * BufferView_pimpl.C: adjust
15950 * FontLoader.C: adjust
15952 * bufferview_funcs.C: adjust
15953 * converter.C: adjust
15954 * figureForm.C: adjust
15955 * importer.C: adjust
15957 * lyx_gui_misc.C: adjust
15958 * lyxfunc.C: adjust
15961 + more files in subdirs
15963 * lyxparagraph.h (size): move up int file
15966 * adjust all uses of Assert to lyx::Assert.
15968 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15969 lyxfunctional in namespace lyx
15970 * layout.C (hasLayout): ditto
15973 (delete_layout): ditto
15974 (NumberOfClass): ditto
15975 * converter.C (GetFormat): ditto
15980 * bufferlist.C (getFileNames): ditto
15981 (emergencyWriteAll): ditto
15984 * MenuBackend.C (hasSubmenu): ditto
15987 * BufferView_pimpl.C (getInsetByCode): ditto
15989 2001-04-18 Juergen Vigna <jug@sad.it>
15991 * vspace.C (asLatexString): fixed the 100% problem.
15993 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15995 * lyxfunc.C (Dispatch):
15997 * minibuffer.h: add a few std:: qualifiers
15999 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16001 * minibuffer.[Ch]: reimplement so that commands is initiated and
16002 run from lyxfunc, simplified som handling, and made the completion
16003 and history code for complete. wip.
16005 * lyxfunc.C (processKeySym): call message
16006 (miniDispatch): new temporary method
16007 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16008 (LFUN_MESSAGE): implement
16009 (LFUN_MESSAGE_PUSH): implement
16010 (LFUN_MESSAGE_POP): implement
16011 (initMiniBuffer): the initial/defualt minibuffer message.
16013 * lyxfont.[Ch]: inline some more getters
16015 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16017 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16019 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16020 (AutoSave): use LFUN_MESSAGE
16021 (Reconfigure): ditto
16023 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16025 * figureForm.C: use LFUN_MESSAGE
16027 * converter.C (runLaTeX): use LFUN_MESSAGE
16029 * bufferview_funcs.C: use LFUN_MESSAGE
16031 (changeDepth): ditto
16033 * bufferparams.h: use boost::
16035 * bufferlist.h: inherit privately from noncopyable
16037 * bufferlist.C (loadLyXFile): remove some commented code.
16039 * buffer.C (runChktex): use LFUN_MESSAGE
16041 * ShareContainer.h: inherit privately from noncopyable
16043 * ParagraphParameters.[hC] (depth): inline it.
16045 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16047 (message): new method
16048 (messagePush): ditto
16049 (messagePop): ditto
16050 (show): init minibuffer
16051 (showState): direct call
16053 * LaTeX.[Ch]: inherit privately from noncopyable
16054 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16055 instead of WriteStatus.
16057 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16059 * BufferView_pimpl.C (buffer): don't init minibuffer
16060 (workAreaButtonPress): use LFUN_MESSAGE
16061 (workAreaButtonRelease): ditto
16062 (savePosition): ditto
16063 (restorePosition): ditto
16064 (MenuInsertLyXFile): ditto
16065 (workAreaExpose): don't init minibuffer
16066 (update): remove commented code, simplify
16068 * BufferView2.C (openStuff): use LFUN_MESSAGE
16069 (toggleFloat): ditto
16072 (copyEnvironment): ditto
16073 (pasteEnvironment): ditto
16078 (updateInset): remove some commented code
16080 * lastfiles.h: inherit privately from noncopyable
16083 * lyx_main.h: ditto
16085 * lyxlex_pimpl.h: ditto
16087 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16088 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16089 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16091 * LyXAction.h: inherit privately from noncopyable, add methods
16092 func_begin, func_end, returning iterators to the func map.
16094 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16095 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16096 (func_begin): new method
16097 (func_end): new method
16099 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16101 (copySelection): ditto
16102 (pasteSelection): ditto
16104 * BufferView.C: whitespace change
16105 * BufferView.h: inherit privately from noncopyable
16107 2001-04-16 Allan Rae <rae@lyx.org>
16109 * tabular-old.C (l_getline):
16110 * spellchecker.C (sc_check_word):
16111 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16112 an unrecognised preprocessor directive. So ensure they're wrapped.
16114 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16116 * src/exporter.C (Export): Give an error message when path to file
16119 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16121 * LaTeX.C (deplog): Always check that foundfile exists.
16123 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16126 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16128 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16130 * tabular.[Ch] (getLabelList): implement new method
16132 * minibuffer.h: comment ouf setTiimer
16134 * minibuffer.C (ExecutingCB): constify res
16135 (peek_event): constify s
16136 (Set): constify ntext
16137 (Init): constify nicename
16139 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16141 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16142 (savePosition): use two params to Minibuffer::Set
16143 (restorePosition): ditto
16145 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16147 * lyx_main.C: include language.h
16149 * Makefile.am (lyx_main.o): add language.h
16151 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16157 * CutAndPaste.C: include gettext.h
16159 * lyxfont.h: remove old hack with ON and OFF.
16162 * lyxfont.h: do not include language.h...
16167 * bufferview_funcs.C:
16173 * paragraph.C: ... but do it here instead
16175 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16177 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16179 * tabular.C: small reformat
16181 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16184 (BreakParagraph): ditto
16185 (SetOnlyLayout): ditto
16188 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16191 * lastfiles.C: removed most using decl, add std:: where needed
16193 * buffer.C: ws changes
16195 * MenuBackend.C (class compare_format): put into anon namespace
16196 (expand): constify label, names, action, action2
16199 * text.C (SingleWidth): constify font
16200 (IsBoundary): constify rtl2
16201 (GetVisibleRow): constify ww
16203 * LaTeX.C (deplog): constify logfile
16205 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16207 (workAreaExpose): constify widthChange, heightChange
16209 * lyxrow.C (par): moved
16212 * lyxrow.h: as inlines here
16214 * lyxfont.h (shape): moved from lyxfont.C
16215 (emph): moved from lyxfont.C
16217 * lyxfont.C (LyXFont): use initialization list for all
16219 (shape): move to lyxfont.h as inline
16220 (emph): move to lyxfont.h as inline
16223 2001-04-04 Juergen Vigna <jug@sad.it>
16225 * vspace.C: had to include stdio.h for use of sscanf
16227 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16230 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16231 independent of xforms.
16233 2001-04-02 Juergen Vigna <jug@sad.it>
16235 * spellchecker.C: fixed namespace placing!
16237 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16239 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16240 the LyXParagraph * is 0.
16242 2001-03-29 Juergen Vigna <jug@sad.it>
16244 * vspace.C: added support for %, c%, p%, l%.
16245 (stringFromUnit): added helper function.
16246 (asLatexString): changed to give right results for the %-values.
16248 * buffer.C: convert the widthp in a width%.
16250 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16252 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16255 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16256 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16258 * lyx_cb.[Ch]: see above.
16260 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16264 * lyx.[Ch]: replaced by figure_form.[Ch].
16268 * lyxfunc.C: changed headers associated with above changes.
16270 2001-03-27 Juergen Vigna <jug@sad.it>
16272 * BufferView_pimpl.C: set the temporary cursor right!
16274 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16276 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16278 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16280 * LString.h: removed "using std::getline"!
16282 * BufferView_pimpl.C (Dispatch): changes due to changes in
16283 InsetInclude::Params.
16285 * buffer.C (tag_name): removed redundant break statements as they were
16286 producing lots of warnings with my compiler.
16288 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16290 * LString.h: add "using std::getline" when using the real <string>.
16292 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16294 * buffer.C: removed bitset usage.
16295 PAR_TAG moved to an anonymous name space.
16296 (tag_name): new funtion, also in the anonymous namespace.
16297 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16298 (makeDocBookFile): clean code. Completed transition from string arrays
16300 (SimpleDocBookOnePar): code clean.
16302 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16304 * tabular.C: add some comments.
16306 2001-03-22 Juergen Vigna <jug@sad.it>
16308 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16309 compatibility read a bit and fixed bug with minipage in different
16312 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16314 * buffer.C (pop_tag): removed.
16315 (push_tag): removed.
16316 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16317 array replaced with vector. Added support for CDATA sections.
16318 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16320 (makeDocBookFile): XML conformant declaration of CDATA section,
16321 fixed bug related to <emphasis> in the first paragraph char.
16322 (sgmlOpenTag): exclude empty tags.
16323 (sgmlCloseTag): ditto.
16325 * buffer.h (pop_tag): removed.
16326 (push_tag): removed.
16328 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16330 * language.h (Languages): added size_type and size().
16332 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16334 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16335 response on compability reading of minipages. One probliem is that
16336 the old usage of minipages was «flertydig»
16338 * several files here and in subdirs: don't use static at file
16339 scope use anon namespaces instead.
16341 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16343 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16344 LaTeX output. This is necessary for Literate document
16347 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16349 * buffer.C: insert hfill when needed.
16351 * tabular.C (l_getline): use string::erase, small whitespace change.
16353 * BufferView_pimpl.C: try the anon namespace.
16354 * WorkArea.C: ditto
16356 2001-03-16 Juergen Vigna <jug@sad.it>
16358 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16359 otherwise it won't open options-dialogs.
16361 * buffer.C: honor pextraWidth(p) on converting minipages.
16363 * tabular.C (l_getline): changed the functions to strip trailing \r.
16365 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16367 * BufferView_pimpl.C:
16368 * minibuffer..C: added "using SigC::slot" declaration.
16370 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16372 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16378 * paragraph.C: ditto
16380 * lyxtext.h: NO_PEXTRA
16382 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16384 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16385 * ParameterStruct.h: ditto
16386 * ParagraphParameters.h: ditto
16387 * lyxparagraph.h: ditto
16389 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16391 * buffer.C: add compability for minipage alignment.
16392 (latexParagraphs): remove unwanted pextra check.
16394 * several files: remove CXX_WORKING_NAMESPACES
16396 * buffer.C (pop_tag): tie is in namespace boost
16398 * BufferView.h: noncopyable is in namespace boost
16400 * lyx_main.h: ditto
16403 * lastfiles.h: ditto
16404 * bufferlist.h: ditto
16405 * ShareContainer.h: ditto
16407 * LyXAction.h: ditto
16410 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16412 * Merging changes from BRANCH_MVC back into HEAD.
16414 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16416 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16418 * BufferView_pimpl.C: change from intl.C
16422 * Makefile.am: move combox.*
16428 * intl.C: remove dialog (covered by prefs)
16430 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16432 * lyxfunc.C (Dispatch): removed redundant break statement.
16434 2001-03-14 Juergen Vigna <jug@sad.it>
16436 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16438 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16440 * buffer.C: add hack to fix compability reading of minipages.
16442 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16444 * buffer.C (getLists): Cleanup.
16446 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16448 * lyxfont.C (update): don't honor toggleall on font size.
16450 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16454 * Makefile.am: moved to frontends/xforms/
16458 * BufferView_pimpl.C: changes for moved mathpanel
16460 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16462 * gettext.h: fix gettext_init() in --disable-nls
16464 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16466 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16468 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16471 * lyx.h: strip external form
16473 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16475 * BufferView_pimpl.C: add comment, destroySplash()
16477 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16479 * BufferView_pimpl.C:
16483 * lyxfunc.C: use re-worked insetinclude
16485 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16487 * buffer.C: add using std::stringstream.
16489 * lyx_cb.C: readd using std::ios.
16491 * buffer.C: add using std::map.
16493 * BufferView_pimpl.C: add using std::vector.
16495 * ShareContainer.h: add std:: to swap.
16497 * buffer.h: add some typedefs
16498 * buffer.C (getLists): use them
16499 (getLists): renamed from getTocList.
16500 add a counter for the different float types and use it in the
16502 (getLists): use the same counter for the NEW_INSETS and the "non"
16505 * lyx_cb.h: remove unused items, includes, using etc.
16507 * ShareContainer.h: remove some commented code, add more comments
16508 and "documentation".
16510 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16512 * buffer.C (getTocList): make the list also when NEW_INSETS is
16515 * buffer.h: remove TocType
16517 * buffer.C (getTocList): change to return a map<string,
16518 vector<TocItem> >, implement for dynamic number of list.
16520 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16521 * text2.C (PasteSelection): adjust
16522 * CutAndPaste.C (pasteSelection): adjust
16524 * FloatList.C (FloatList): update from the new_insets branch.
16525 * Floating.[Ch]: ditto
16526 * LaTeXFeatures.C: ditto
16528 * lyxlex_pimpl.C: ditto
16530 * paragraph.C (Last): remove when NEW_INSETS is defined.
16532 * other file: changes because of the above.
16534 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16536 * lyxparagraph.h: rename next to next_, previous to previous_,
16537 make them private for NEW_INSETS. Rename Next() to next(),
16538 Previous() to previous().
16540 * other files: changes because of the above.
16542 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16545 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16548 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16550 * main.C (main): pass lyx_localedir to gettext_init().
16552 * gettext.h: remove locale_init and gettext_init macros
16554 * gettext.C (locale_init): new function
16555 (gettext_init): new function
16557 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16560 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16562 * Moved credits to frontends:
16563 * credits.[Ch]: removed
16564 * credits_form.[Ch]: removed
16565 * lyx_gui_misc.C: remove credits stuff
16568 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16570 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16572 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16573 unneeded destructor.
16575 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16576 a standalone pointer again.
16578 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16580 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16586 * ToolbarDefaults.C:
16595 * BufferView_pimpl.C: use new file dialog in GUII
16598 * lyx_cb.C: remove LayoutsCB to Toolbar
16600 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16602 * ShareContainer.h (get): add std:: qualifier
16604 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16606 * ShareContainer.h: define a proper ShareContainer::value_type
16607 type (and use typename to please compaq cxx)
16609 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16611 * lyxparagraph.h: move serveral local vars to
16612 ParameterStruct/ParagraphParameters., use ShareContainer in
16613 FontTable., make vars in FontTable private and add getter and
16616 * paragraph.C: changes because of the above.
16618 * lyxfont.h: remove copy constructor and copy assignment. (the
16619 default ones is ok), move number inside FontBits. move inlines to
16622 * lyxfont.C: add number to initializaton of statics, move several
16623 inlines here. constify several local vars. some whitespace
16624 cleanup. Dont hide outerscope variables.
16626 * Spacing.h: add two new constructors to match the set methods.
16628 * ShareContainer.h: new file, will perhaps be moved to support
16630 * ParameterStruct.h: new file
16632 * ParagraphParameters.h: new file
16634 * ParagraphParameters.C: new file
16636 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16637 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16639 * BufferView_pimpl.C: ParagraphParameter changes.
16640 * buffer.C: Likewise.
16641 * bufferview_funcs.C: Likewise.
16642 * text.C: Likewise.
16643 * text2.C: Likewise.
16645 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16647 * lyxfind.C (LyXReplace): do not redefine default argument in
16649 (IsStringInText): ditto
16650 (SearchForward): ditto
16651 (SearchBackward): ditto
16653 2001-03-06 Juergen Vigna <jug@sad.it>
16655 * lyxfind.C (IsStringInText): put parentes around expressions.
16657 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16659 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16661 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16663 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16665 * stl_string_fwd.h: add comment
16667 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16670 * tabular.C: remove unused DocBook methods
16676 killed DO_USE_DEFAULT_LANGUAGE
16678 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16680 * lyx_gui.C: do not include language.h.
16682 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16683 arguments in function implementation.
16685 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16687 * BufferView_pimpl.C: add <ctime>
16689 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16691 * BufferView_pimpl.C: add using std::find_if
16693 2001-02-27 José Matos <jamatos@fep.up.pt>
16695 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16698 2001-02-11 José Matos <jamatos@fep.up.pt>
16700 * buffer.C (makeDocBookFile): command styles now have a parameter as
16701 "title" by default.
16703 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16705 * layout_forms.[Ch]: removed
16706 * lyx_cb.[Ch]: out character
16707 * lyx_gui.C: out character
16708 * lyx_gui_misc.C: out character
16709 * bufferview_funcs.C: : out character,
16710 added toggleall as parameter in ToggleAndShow
16712 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16714 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16716 * text2.C (SetCurrentFont): Disable number property at boundary.
16718 2001-02-26 Juergen Vigna <jug@sad.it>
16720 * lyxfunc.C (getStatus): added a string argument override function so
16721 that this is correctly called from LyXFunc::Dispatch if it contains a
16722 do_not_use_argument which is used!
16723 (Dispatch): added check for "custom" export and call appropriate func.
16725 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16727 * lyxrc.C: Add language_command_local, language_use_babel and
16728 language_global_options.
16730 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16732 * buffer.C (makeLaTeXFile): Use language_use_babel and
16733 language_global_options.
16735 2001-02-23 Juergen Vigna <jug@sad.it>
16737 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16738 which works with LyXText and putted it inside BufferView. Here now we
16739 only call for that part the BufferView::Dispatch() function.
16741 * BufferView.C (Dispatch): added.
16743 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16744 functions which needs to use a LyXText over from LyXFunc.
16745 (MenuInsertLyXFile): added
16746 (getInsetByCode): added
16747 (moveCursorUpdate): added
16748 (static TEXT): added
16750 2001-02-22 Juergen Vigna <jug@sad.it>
16752 * BufferView_pimpl.C (update): call a status update to see if LyXText
16755 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16757 * vc-backend.C (revert): implement for CVS
16758 (getLog): implement for CVS
16760 2001-02-20 Juergen Vigna <jug@sad.it>
16762 * text2.C (ClearSelection): added BufferView param for inset_owner call
16764 * lyxfunc.C (TEXT): added this function and use it instead of
16765 directly owner->view()-text of getLyXText().
16767 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16769 * src/layout_forms.C: out preamble
16770 * src/layout_forms.h: out preamble
16771 * src/lyx_cb.C: out preamble
16772 * src/lyx_cb.h: out preamble
16773 * src/lyx_gui.C: out preamble
16774 * src/lyx_gui_misc.C: out preamble
16775 * src/lyxfunc.C: connect with guii preamble
16777 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16779 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16781 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16783 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16784 whether to run bibtex.
16786 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16788 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16790 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16792 * Makefile.am (lyx_SOURCES): removed bibforms.h
16794 * vspace.h: doxygen
16796 * text.C (GetVisibleRow): make several local vars const
16798 * tabular.C: small cleanup.
16800 * lyxserver.C (callback): use compare instead of strncmp
16802 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16803 inlines to after class or to paragraph.C
16805 * lyxfont.h: remove friend operator!=
16807 * converter.h: move friend bool operator< to non friend and after
16810 * combox.h: small cleanup
16812 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16813 to inlines after class def.
16815 * buffer.C (pop_tag): use string operations instead of strcmp
16817 * bmtable.c: doxygen, small cleanup
16819 * LaTeX.h: remove friend operator==
16821 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16833 * BufferView_pimpl.C:
16834 * BufferView.[Ch]: remove cruft
16836 2001-02-14 Juergen Vigna <jug@sad.it>
16838 * lyxfunc.C: removed #if 0 unused code
16840 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16842 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16844 * text2.C (SetSelection): added a BufferView * parameter
16846 2001-02-13 Juergen Vigna <jug@sad.it>
16848 * lyxfunc.C (Dispatch): fixed protected blank problem.
16849 * BufferView2.C (protectedBlank): added LyxText * parameter.
16851 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16852 (AppendColumn): same as above for column_info.
16854 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16855 (moveCursorUpdate): use a LyXText param for support of InsetText.
16857 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16858 (tripleClick): ditto
16860 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16862 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16864 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16866 * text2.C (SetSelection): set correct update status if inset_owner
16867 (ToggleFree): ditto
16869 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16871 * tabular.C: remove some commented code.
16873 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16875 * BufferView_pimpl.C: call hideSplash()
16877 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16880 * bibforms.h: remove
16883 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16884 add LFUN_CHILD_CREATE
16886 * counters.h: fix tiny typo
16891 * lyx.C: move splash to frontends/xforms/
16893 * lyx_gui_misc.C: move Include and Bibform to frontends
16895 * lyxvc.h: clarify comment
16897 * vspace.C: tiny housekeeping
16899 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16901 * text.C (PrepareToPrint): RTL Fix.
16903 * paragraph.C (GetUChar): New method.
16904 (String): Use GetUChar.
16906 * buffer.C (asciiParagraph): Use GetUChar.
16908 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16910 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16912 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16915 * buffer.C: rename to getLogName(), handle
16916 build log / latex log nicely
16918 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16921 * MenuBackend.h: remove support for reference menuitem type.
16923 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16925 * BufferView_pimpl.C: housekeeping
16926 * BufferView_pimpl.h:
16931 * minibuffer.h: move Timeout GUI-I
16933 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16935 * lyxrc.C (read): Update converters data-structures.
16937 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16939 * LaTeX.h (operator!=): add operator != for Aux_Info
16941 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16943 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16945 * LaTeXLog.C: deleted, useful code moved to Buffer
16948 * buffer.C: new function getLatexLogName()
16954 * lyxfunc.C: use frontends for LaTeX and VC logs
16956 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16958 * LaTeX.h: yet another std:: that Allan forgot.
16960 * Variables.C (set): renamed from isset(), because this clashes
16961 with some HP-UX macros (grr).
16963 2001-02-06 Allan Rae <rae@lyx.org>
16965 * LaTeX.h: Another bug fix. Missing std:: this time.
16967 2001-02-04 Allan Rae <rae@lyx.org>
16969 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16970 floats problem. I've left it commented out because it's not quite
16971 correct. It should also test that the current object is a table or
16972 figure inset. But I haven't gotten around to figuring out how to do
16973 that. I *think* it'll be something like: "table" == inset.type()
16975 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16978 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16980 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16981 all the citation/databases/styles in the auxilary file.
16982 (run): Rerun latex if there was a babel language error.
16984 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16986 * text.C (Backspace): Preserve the font when changing newline char
16988 (BreakParagraph): If the cursor is before a space, delete the space.
16990 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16992 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16994 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16995 new argument (code).
16996 (ChangeCitationsIfUnique): New method.
16998 * paragraph.C (GetPositionOfInset): Handle bibkey.
17000 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17002 * BufferView_pimpl.h: change type of Position::par_pos to
17003 LyXParagraph::size_type.
17005 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17007 * BufferView_pimpl.C (savePosition, restorePosition): Write
17008 messages to minibuffer.
17010 2001-01-28 José Matos <jamatos@fep.up.pt>
17012 * buffer.C (makeDocBookFile): adds support for document language.
17013 A silly restriction on the name of LatexCommand types where removed.
17014 Added support for CDATA sections, allows to chars unescaped, used
17015 among others in code, to avoid escape < and >.
17017 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17019 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17020 saved positions instrad of a stack. Furthermore, a position is
17021 stored using paragraph id/paragraph position.
17023 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17024 Remove LFUN_REF_BACK.
17026 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17028 * converter.C (dvipdfm_options): New method.
17030 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17032 * vspace.C (isValidLength): Fix for empty input string.
17034 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17036 * LyXAction.C (init): change description of LFUN_FIGURE to
17039 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17041 * LaTeX.C: add using directive
17043 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17045 * MenuBackend.C (expand): Fix the sorting of the formats.
17047 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17049 * lyx_main.C: tiny error message fix
17051 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17053 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17054 calling fl_initialize(). This fixes the problem with ',' as
17055 decimal separator in text files.
17057 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17059 * trans.C (process): Fix the keymap bug.
17061 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17063 * LaTeX.C (scanAuxFiles): New method. Provides support for
17064 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17065 (scanLogFile) Scan for "run BibTeX" messages.
17067 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17068 OT1 font encoding. Also, load the aecompl package if the ae
17071 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17073 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17075 * texrow.C (increasePos): turn two error messages into debug
17078 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17080 * LaTeX.C (scanAux): Handle the \@input macro.
17081 (runBibTeX): Use scanAux().
17083 * language.C (latex_options_): New field.
17085 * LaTeXFeatures.C (getMacros): Add language macros.
17087 * buffer.C (makeLaTeXFile): Small fix.
17089 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17091 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17093 * text2.C: add a using directive.
17095 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17100 * lyxfunc.C: kill LyXBell.
17102 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17104 * text.C (IsBoundary): Remove the error message
17106 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17108 * lyxrc.C (setDefaults): Correct initialization value for
17111 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17113 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17116 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17117 and GotoNextNote().
17119 * src/LyXAction.C: Added reference-next.
17121 * text.C (InsertChar): Use contains instead of strchr.
17123 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17125 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17127 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17128 alignment commands (when needed).
17130 * text.C (InsertChar): Add ':' to number separator chars.